dummy-link

AccessMacro

This repo provides a macro that automatically creates access functions

Readme

AccessMacro

Build Status

Coverage Status

codecov.io

This package provides a convenience macro that automatically creates access functions. They, for example, can be used to abstract from the internal representation of an object.

Usage

julia> using AccessMacro

julia> @access struct Foo{S, T}
           x :: S
           y :: T
       end
Foo

julia> x(Foo(1, "2"))
1

julia> y(Foo(1, "2"))
"2"

First Commit

03/02/2018

Last Touched

over 3 years ago

Commits

6 commits