Skip to content

Commit

Permalink
Version 1.4.2.
Browse files Browse the repository at this point in the history
Support of the grammar rule ParenthesizedExpression.
  • Loading branch information
walter-weinmann committed Nov 18, 2017
1 parent 9b78657 commit 656d943
Show file tree
Hide file tree
Showing 3 changed files with 4,224 additions and 9,459 deletions.
6 changes: 2 additions & 4 deletions priv/BNF_Converter/ocparse.cf
Original file line number Diff line number Diff line change
Expand Up @@ -894,8 +894,7 @@ Atom11. Atom ::= "ANY" "(" FilterEx
Atom12. Atom ::= "NONE" "(" FilterExpression ")" ;
Atom13. Atom ::= "SINGLE" "(" FilterExpression ")" ;
Atom14. Atom ::= RelationshipsPattern ;
-- wwe
-- Atom15. Atom ::= ParenthesizedExpression ;
Atom15. Atom ::= ParenthesizedExpression ;
Atom16. Atom ::= FunctionInvocation ;
Atom17. Atom ::= Variable ;

Expand Down Expand Up @@ -941,8 +940,7 @@ PartialComparisonExpression06. PartialComparisonExpression ::=

-- parenthesized_expression -> '(' expression ')' : {parenthesizedExpression, '$2'}.

-- wwe
-- ParenthesizedExpression01. ParenthesizedExpression ::= "(" Expression ")" ;
ParenthesizedExpression01. ParenthesizedExpression ::= "(" Expression ")" ;

-- relationships_pattern -> node_pattern pattern_element_chain_list : {relationshipsPattern, '$1', '$2'}.

Expand Down
4 changes: 0 additions & 4 deletions priv/Railroad_Diagram_Generator/ocparse.ebnf
Original file line number Diff line number Diff line change
Expand Up @@ -522,9 +522,7 @@ atom ::= literal
| ( ( 'FILTER' | 'ALL' | 'ANY' | 'NONE' | 'SINGLE' ) '(' filterExpression ')' )
| ( 'EXTRACT' '(' filterExpression ( '|' expression )? ')' )
| relationshipsPattern
/* wwe
| parenthesizedExpression
*/
| functionInvocation
| variable

Expand All @@ -542,9 +540,7 @@ listLiteral ::= '[' ( expression ( ',' expression )* )? ']'

partialComparisonExpression ::= ( '=' | '<>' | '<' | '>' | '<=' | '>=' ) addOrSubtractExpression

/* wwe
parenthesizedExpression ::= '(' expression ')'
*/

relationshipsPattern ::= nodePattern patternElementChain+

Expand Down
Loading

0 comments on commit 656d943

Please sign in to comment.