class SyntaxTree::CLI::AST
An action of the CLI
that prints out the AST
for the given source.
Public Instance Methods
Source
# File lib/syntax_tree/cli.rb, line 127 def run(item) pp item.handler.parse(item.source) end
An action of the CLI
that prints out the AST
for the given source.
# File lib/syntax_tree/cli.rb, line 127 def run(item) pp item.handler.parse(item.source) end