Skip to main content

Module util

Module util 

Source

Structs§

ParseContext
Context for parsing, containing shared state passed through parser functions.

Enums§

TypecheckingContext

Functions§

get_metavars
Get all meta-variable names in a node
get_tree
Parse the given source code into a syntax tree using tree-sitter.
named_children
Get the named children of a node
node_is_expression
query_toplevel
Get all top-level nodes that match the given predicate