Sha256: 4c68a741c6ade3884f8ce886d42ef910ca62a0653605119e4cdd39ed608241c7
Contents?: true
Size: 1.54 KB
Versions: 7
Compression:
Stored size: 1.54 KB
Contents
grammar SearchCopGrammar rule complex_expression space? (boolean_expression / expression) space? <ComplexExpression> end rule boolean_expression and_expression end rule and_expression or_expression space? ('AND' / 'and') space? complex_expression <AndExpression> / or_expression space !('OR' / 'or') complex_expression <AndOrExpression> / or_expression end rule or_expression expression space? ('OR' / 'or') space? (or_expression / expression) <OrExpression> / expression end rule expression parentheses_expression / not_expression / comparative_expression / anywhere_expression end rule parentheses_expression '(' complex_expression ')' <ParenthesesExpression> end rule not_expression ('NOT' space / 'not' space / '-') (comparative_expression / anywhere_expression) <NotExpression> end rule comparative_expression simple_column space? comparison_operator space? value <ComparativeExpression> end rule comparison_operator ':' <IncludesOperator> / '=' <EqualOperator> / '!=' <UnequalOperator> / '>=' <GreaterEqualOperator> / '>' <GreaterOperator> / '<=' <LessEqualOperator> / '<' <LessOperator> end rule anywhere_expression "'" [^\']* "'" <SingleQuotedAnywhereExpression> / '"' [^\"]* '"' <DoubleQuotedAnywhereExpression> / [^[:blank:]()]+ <AnywhereExpression> end rule simple_column [a-zA-Z0-9_.]+ <Column> end rule value "'" [^\']* "'" <SingleQuotedValue> / '"' [^\"]* '"' <DoubleQuotedValue> / [^[:blank:]()]+ <Value> end rule space [[:blank:]]+ end end
Version data entries
7 entries across 7 versions & 1 rubygems