Class: SyntaxTree::CLI::AST
Overview
An action of the CLI that prints out the AST for the given source.
Instance Method Summary collapse
Methods inherited from Action
Instance Method Details
#run(handler, filepath, source) ⇒ Object
60 61 62 |
# File 'lib/syntax_tree/cli.rb', line 60 def run(handler, filepath, source) pp handler.parse(source) end |