Class: Riml::Compiler::ExplicitCallNodeVisitor
- Inherits:
-
CallNodeVisitor
- Object
- Visitor
- ScopedVisitor
- CallNodeVisitor
- Riml::Compiler::ExplicitCallNodeVisitor
- Defined in:
- lib/riml/compiler.rb
Instance Method Summary collapse
Methods inherited from CallNodeVisitor
Methods inherited from Visitor
Constructor Details
This class inherits a constructor from Riml::Compiler::Visitor
Instance Method Details
#compile(node) ⇒ Object
587 588 589 590 591 592 593 594 595 |
# File 'lib/riml/compiler.rb', line 587 def compile(node) if node.scope_modifier || node.name node.compiled_output = "call " << super else node.compiled_output = "call" compile_arguments(node) end node.compiled_output end |