Class: Duby::AST::Print
- Inherits:
-
Object
- Object
- Duby::AST::Print
- Defined in:
- lib/duby/compiler.rb
Instance Method Summary collapse
Instance Method Details
#compile(compiler, expression) ⇒ Object
99 100 101 102 103 |
# File 'lib/duby/compiler.rb', line 99 def compile(compiler, expression) # TODO: what does it mean for printline to be an expression? compiler.line(line_number) compiler.print(self) end |