Skip to main content

sexp

Function sexp 

Source
pub fn sexp(node: &SyntaxNode) -> String
Expand description

Prints a tree as an s-expression: nodes as (KIND children...), tokens as their quoted text. For example {{ $x }} gives (ROOT (ECHO "{{" " $x " "}}")).