Diesel.Parser behaviour (diesel v0.7.2)
A parser is a DSL tranformation step before code generation
Example:
def parse({:music, attrs, children}, _opts) do
# eg return some struct here
end
Parsing a definition is an optional step.
Summary
Functions
Returns a built-in parser, given its name
Callbacks
Link to this callback
parse(definition, opts)
Functions
Link to this function
named(other)
Returns a built-in parser, given its name
Supported names:
strip_root