PropertyMethods.jl

Author MarkNahabedian
Popularity
0 Stars
Updated Last
7 Months Ago
Started In
February 2024

PropertyMethods

Stable Dev Build Status Coverage CompatHelper

PropertyMethods is a small package that allows one to add computed properties to a struct by defining a Val specialized method for each property. Unrelated properties no longer need to be enumerated in the conditioonal tree of a single getproperty method.

Properties defined in this way will automatically be recognized by the struct's propertynames and hasproperty methods.

This mackage also provide a macro to generate trampoline methods for the Delegation pattern.

See the documentation linked above for details.