Module mun_syntax::ast
source · Structs
An iterator over
SyntaxNode
children of a particular AST type.Enums
Represents the kind of memory management a struct uses.
Traits
The main trait to go from untyped
SyntaxNode
to a typed ast. The conversion itself has zero
runtime cost; ast and syntax nodes have exactly the same representation; a pointer to the tree
root and a pointer to the node itself.Like an
AstNode
, but wraps tokens rather than interior nodes.