Class: SbuilderSexp::RecordExceptField

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

#lvalue_expressionObject



520
521
522
# File 'lib/parser/parser_nodes.rb', line 520

def lvalue_expression
  recursive_select( SbuilderSexp::LValue ).first
end

#rvalue_expressionObject



523
524
525
526
# File 'lib/parser/parser_nodes.rb', line 523

def rvalue_expression
  # first is expression for lvalue
  recursive_select( SbuilderSexp::Expression ).last
end