Skip to main content

dump_ast

Function dump_ast 

Source
pub fn dump_ast(command: &str) -> String
Expand description

Dump the tree-sitter AST and parsed pipeline for a command string.

Returns a human-readable diagnostic string showing the raw AST tree, the segments and operators produced by the walker, and any extracted substitutions. Used by --dump-ast CLI flag.