ast
for debug
Print the abstract syntax tree (ast) for a pipeline.
Signature
> ast (pipeline)
Parameters
pipeline
: the pipeline to print the ast for
Examples
Print the ast of a string
> ast 'hello'
Print the ast of a pipeline
> ast 'ls | where name =~ README'
Print the ast of a pipeline with an error
> ast 'for x in 1..10 { echo $x '