rule!() { /* proc-macro */ }
Expand description
Accepts a single grammar rule. This macro will generate a parser and data structure for the grammar specification inputted to it.
Example:
use tree_builder::rule;
rule!{
Digit => #d
}
rule!() { /* proc-macro */ }
Accepts a single grammar rule. This macro will generate a parser and data structure for the grammar specification inputted to it.
Example:
use tree_builder::rule;
rule!{
Digit => #d
}