Class: Query::Parser::Part

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

Instance Method Summary collapse

Instance Method Details

#rootObject



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

def root
  (
    Statement.aka(:left) << LogicOperator.aka(:operator) <<
      Part.aka(:right)
  ) | Statement
end