Module util

Module util 

Source

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