Class: ORB::AST::RootNode

Inherits:
AbstractNode show all
Defined in:
lib/orb/ast/root_node.rb

Instance Attribute Summary

Attributes inherited from AbstractNode

#attributes, #children, #errors

Instance Method Summary collapse

Methods inherited from AbstractNode

#==, #add_child, #initialize

Constructor Details

This class inherits a constructor from ORB::AST::AbstractNode

Instance Method Details

#render(context = {}) ⇒ Object



6
7
8
# File 'lib/orb/ast/root_node.rb', line 6

def render(context = {})
  @children.map { |child| child.render(context) }.join
end