Crate mun_syntax
source ·Expand description
Re-exports
Modules
Macros
Structs
Like
SyntaxNodePtr
, but remembers the type of nodeParse
is the result of the parsing: a syntax tree and a collection of errors.A
SmolStr
is a string type that has the following properties:SourceFile
represents a parse tree for a single Mun file.A pointer to a syntax node inside a file. It can be used to remember a
specific node across reparses of the same file.
A measure of text length. Also, equivalently, an index into text.
A token of Mun source
Enums
The kind of syntax node, e.g.
IDENT
, USE_KW
, or STRUCT_DEF
.WalkEvent
describes tree walking process.Functions
Break a string up into its component tokens