An action of the CLI that prints out the doc tree IR for the given source.
#failure, #success
116 117 118 119 120
# File 'lib/syntax_tree/cli.rb', line 116 def run(handler, filepath, source) formatter = Formatter.new([]) handler.parse(source).format(formatter) pp formatter.groups.first end