@@ -49,8 +49,8 @@ letEntityGroupDeclaration:
4949
5050
5151letFunctionParameterList :
52- TabularParameters+=tabularParameter (' ,' TabularParameters+=tabularParameter) (' ,' ScalarParameters+=scalarParameter)
53- | ScalarParameters+= scalarParameter (' ,' ScalarParameters+=scalarParameter)
52+ TabularParameters+=tabularParameter (' ,' TabularParameters+=tabularParameter)* (' ,' ScalarParameters+=scalarParameter)*
53+ | ScalarParameters+= scalarParameter (' ,' ScalarParameters+=scalarParameter)*
5454 ;
5555
5656scalarParameter :
@@ -372,7 +372,7 @@ graphMarkComponentsOperator:
372372graphMatchOperator :
373373 GRAPHMATCH
374374 (Parameters+=relaxedQueryOperatorParameter)*
375- Patterns+=graphMatchPattern (' ,' Patterns+=graphMatchPattern)
375+ Patterns+=graphMatchPattern (' ,' Patterns+=graphMatchPattern)*
376376 (WhereClause=graphMatchWhereClause)?
377377 (ProjectClause=graphMatchProjectClause)?
378378 ;
@@ -405,7 +405,7 @@ graphMatchProjectClause:
405405 PROJECT Expressions+=namedExpression (' ,' Expressions+=namedExpression)*;
406406
407407graphToTableOperator :
408- GRAPHTOTABLE Outputs+=graphToTableOutput (' ,' Outputs+=graphToTableOutput);
408+ GRAPHTOTABLE Outputs+=graphToTableOutput (' ,' Outputs+=graphToTableOutput)* ;
409409
410410graphToTableOutput :
411411 Keyword=(NODES | EDGES ) (AsClause=graphToTableAsClause)? (Parameters+=relaxedQueryOperatorParameter)*;
@@ -416,7 +416,7 @@ graphToTableAsClause:
416416graphShortestPathsOperator :
417417 GRAPHSHORTESTPATHS
418418 (Parameters+=relaxedQueryOperatorParameter)*
419- Patterns+=graphMatchPattern (' ,' Patterns+=graphMatchPattern)
419+ Patterns+=graphMatchPattern (' ,' Patterns+=graphMatchPattern)*
420420 (WhereClause=graphMatchWhereClause)?
421421 (ProjectClause=graphMatchProjectClause)?
422422 ;
@@ -685,7 +685,7 @@ scanOperator:
685685 ;
686686
687687scanOperatorOrderByClause :
688- ORDER BY Expressions+=orderedExpression (' ,' Expressions+=orderedExpression);
688+ ORDER BY Expressions+=orderedExpression (' ,' Expressions+=orderedExpression)* ;
689689
690690scanOperatorPartitionByClause :
691691 PARTITION BY Expressions+=unnamedExpression (' ,' Expressions+=unnamedExpression)*;
0 commit comments