You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using macro is a better solution because it gives us the ability to put the macro between the fields, and insert the code even in between the XML/HTML operations.
@amlmutable struct Foo
@amlcreator b =0# start of amlcreator
a::Int64, "~"@amlcreator b = a *2# middle of amlcreator
b::String, "~"@amlcreator b = a # end of amlcreatorend
It is very useful to be able to get custom code from user and use them later for defining the extractor, creator, etc methods.
Two ways to do that:
@aml
structure, that is a Dict, and can store different codes@aml
The text was updated successfully, but these errors were encountered: