Crate lemon_tree_derive[][src]

Helper crate for lemon-tree. Rust-way parser builder.

Attribute Macros

lem_fn

Makes module-global public function an action for specified Lemon parser expression.

Derive Macros

LemonTree

Makes enum/struct a start symbol of current parser. Must appear the last parser attribute in file.

LemonTreeNode

Makes enum/struct a regular nonterminal symbol. Must appear before #[derive(LemonTree)] and #[lem_fn()] in the same rust file.