class SyntaxTree::CLI::AST

An action of the CLI that prints out the AST for the given source.

Public Instance Methods

run(item) click to toggle source
# File lib/syntax_tree/cli.rb, line 122
def run(item)
  pp item.handler.parse(item.source)
end