Class: SbuilderSexp::IdentifierList

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

Overview


Node lists

Direct Known Subclasses

Parameters, ProcVariables

Instance Method Summary collapse

Methods inherited from Treetop::Runtime::SyntaxNode

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

Instance Method Details

#identifier_nodesObject



68
69
70
# File 'lib/parser/parser_nodes.rb', line 68

def identifier_nodes
  recursive_select( SbuilderSexp::Identifier)
end

#identifiersObject



71
72
73
# File 'lib/parser/parser_nodes.rb', line 71

def identifiers
  identifier_nodes.map{ |r| r.value }
end

#node_valueObject



74
75
76
# File 'lib/parser/parser_nodes.rb', line 74

def node_value
  identifiers
end