Class: Shades::QueryGrammar::IdentifierListNode

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/shades/queryparser.rb

Instance Method Summary collapse

Instance Method Details

#to_aObject



32
33
34
35
36
# File 'lib/shades/queryparser.rb', line 32

def to_a
  [identifier] + rest_identifiers.elements.map do |comma_and_identifier|
    comma_and_identifier.identifier
  end
end