Class: Electr::ASTPrinter
- Inherits:
-
Object
- Object
- Electr::ASTPrinter
- Defined in:
- lib/electr/repl/ast_printer.rb
Overview
Prints the abstract syntax tree.
Class Method Summary collapse
Class Method Details
.run(ast) ⇒ Object
6 7 8 |
# File 'lib/electr/repl/ast_printer.rb', line 6 def self.run(ast) ast.display end |