Skip to main content

ast_node

Attribute Macro ast_node 

Source
#[ast_node]
Expand description

Adds the standard AST node derives and serialization metadata.

Structs derive PartialEq by default. Pass no_partial_eq after the node tag when the type provides a manual implementation: #[ast_node("CustomNode", no_partial_eq)].