Class: Query::Parser::Statement

Inherits:
Language
  • Object
show all
Defined in:
lib/query/parser/statement.rb

Instance Method Summary collapse

Instance Method Details

#rootObject



6
7
8
9
10
# File 'lib/query/parser/statement.rb', line 6

def root
  (
    Whitespace.maybe << NotOperator.aka(:not) << Whitespace.maybe
  ).maybe << (Group | KeyValue | String)
end