Expand description

Procedural macros for the moore compiler.


Generate a AllNode enum.

Generate an arena struct.

Generate a compiler query database.

Generate a Visitor trait.

Attribute Macros

Mark a node to be included in the AllNode enum.

Mark an item to be allocatable in an arena.

Wrap a struct or enum in a Node.

Mark a function as a compiler query.

Convenience macro to derive AcceptVisitorAndForeach and walk_visitor.

Convenience macro to derive AcceptVisitor and walk_visitor.

Generate corresponding *_visit_* functions in a visitor.

Derive Macros

Generate an AcceptVisitor implementation.

Generate an AcceptVisitor, ForEachNode, and ForEachChild implementation.

Generate an AnyNodeData implementation.