Expand description
Utilities to display the parser’s syntax tree in a readable ASCII/Unicode tree format.
Delegates to sipha’s grammar-agnostic format_syntax_tree
with a kind-name callback for LeekScript syntax kinds.
Structs§
- Tree
Display Options - Options for formatting the syntax tree (re-exported from sipha). Options for formatting the syntax tree.
Functions§
- format_
syntax_ tree - Format a syntax tree starting at
rootas a multi-line string. - print_
syntax_ tree - Print the syntax tree to stdout.