Class: SbuilderSexp::RootContainer

Inherits:
Root show all
Defined in:
lib/parser/parser_nodes.rb

Direct Known Subclasses

Snippet, Snippets, VariableDeclaration

Instance Method Summary collapse

Methods inherited from Treetop::Runtime::SyntaxNode

#node_type, #node_value, #recursive_inject, #recursive_inject_parent, #recursive_select

Instance Method Details

#valueString

Returns of from sub-elements.

Returns:

  • (String)

    of from sub-elements



18
19
20
# File 'lib/parser/parser_nodes.rb', line 18

def value
  self.elements.map {|x| x.value }
end