Skip to main content

Module ast

Module ast 

Source
Expand description

AST of the runtime — the shape the tree-sitter CST lowers into (parse.rs), mirroring the reference implementation’s ast.ts.

Structs§

Decl
ForClause
ImportItem
Loc
a source range: zero-based rows and columns (UTF-16 units, as the reference reads them from web-tree-sitter), end exclusive
MatchArm
Param

Enums§

DeclBody
Expr
MemberAst
TPart
Tail
TypeAst

Functions§

expr_loc
expr_name
mentions_referrers
does an expression mention $referrers anywhere? (deferred slots)
set_expr_loc