Class: SbuilderSexp::RecordElement

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

Instance Method Summary collapse

Methods inherited from Treetop::Runtime::SyntaxNode

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

Instance Method Details

#element_expressionObject



1249
1250
1251
# File 'lib/parser/parser_nodes.rb', line 1249

def element_expression
  recursive_select( SbuilderSexp::Expression ).first
end

#element_nameObject



1246
1247
1248
# File 'lib/parser/parser_nodes.rb', line 1246

def element_name
  recursive_select( SbuilderSexp::Identifier ).first
end