Class: SbuilderSexp::BoundInExpression

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

#bind_setObject



475
476
477
# File 'lib/parser/parser_nodes.rb', line 475

def bind_set
  elements.select{ |e| e.is_a?( SbuilderSexp::Expression ) }.first
end

#bind_varObject



472
473
474
# File 'lib/parser/parser_nodes.rb', line 472

def bind_var
  elements.select{ |e| e.is_a?( SbuilderSexp::Identifier ) }.first
end