Class: Riml::Compiler::MultiAssignNodeVisitor
- Defined in:
- lib/riml/compiler.rb
Instance Method Summary collapse
Methods inherited from Visitor
Constructor Details
This class inherits a constructor from Riml::Compiler::Visitor
Instance Method Details
#compile(node) ⇒ Object
329 330 331 332 333 334 335 |
# File 'lib/riml/compiler.rb', line 329 def compile(node) node.assigns.each do |assign| assign.force_newline = true assign.accept(visitor_for_node(assign)) end node.compiled_output end |