Skip to content

Commit 934bdb0

Browse files
committed
CQL parser formatting
1 parent 3543571 commit 934bdb0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

internal/cql/CQLParser.g4

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ options { tokenVocab=CqlLexer; contextSuperClass=CqlContext; }
1717

1818
cqlFilter : booleanExpression EOF;
1919
booleanExpression
20-
: LEFTPAREN booleanExpression RIGHTPAREN # BoolExprParen
21-
| left=booleanExpression AND right=booleanExpression # BoolExprAnd
22-
| left=booleanExpression OR right=booleanExpression # BoolExprOr
23-
| NOT booleanExpression # BoolExprNot
24-
| booleanTerm # BoolExprTerm
25-
;
20+
: LEFTPAREN booleanExpression RIGHTPAREN # BoolExprParen
21+
| left=booleanExpression AND right=booleanExpression # BoolExprAnd
22+
| left=booleanExpression OR right=booleanExpression # BoolExprOr
23+
| NOT booleanExpression # BoolExprNot
24+
| booleanTerm # BoolExprTerm
25+
;
2626
//booleanFactor : ( NOT )? booleanPrimary;
2727
booleanTerm : predicate
28-
| booleanLiteral
29-
;
28+
| booleanLiteral
29+
;
3030

3131
/*============================================================================
3232
# CQL supports scalar, spatial, temporal and existence predicates.

0 commit comments

Comments
 (0)