Fix parser bug with JSON items. Refactor grouping variable ebnf rule according to the latest W3C spec.
This commit is contained in:
parent
aea9a21bd6
commit
53c83a79d5
2 changed files with 33493 additions and 33294 deletions
|
|
@ -177,7 +177,9 @@ GroupByClause
|
||||||
GroupingSpecList
|
GroupingSpecList
|
||||||
::= GroupingSpec ( ',' GroupingSpec )*
|
::= GroupingSpec ( ',' GroupingSpec )*
|
||||||
GroupingSpec
|
GroupingSpec
|
||||||
::= '$' VarName ( TypeDeclaration? ':=' ExprSingle )? ( 'collation' URILiteral )?
|
::= GroupingVariable ( TypeDeclaration? ':=' ExprSingle )? ( 'collation' URILiteral )?
|
||||||
|
GroupingVariable
|
||||||
|
::= '$' VarName
|
||||||
OrderByClause
|
OrderByClause
|
||||||
::= ( 'order' 'by' | 'stable' 'order' 'by' ) OrderSpecList
|
::= ( 'order' 'by' | 'stable' 'order' 'by' ) OrderSpecList
|
||||||
OrderSpecList
|
OrderSpecList
|
||||||
|
|
@ -773,6 +775,9 @@ FunctionName
|
||||||
| 'constraint'
|
| 'constraint'
|
||||||
| 'loop'
|
| 'loop'
|
||||||
| 'returning'
|
| 'returning'
|
||||||
|
| 'object'
|
||||||
|
| 'json-item'
|
||||||
|
| 'array'
|
||||||
NCName ::= NCName^Token
|
NCName ::= NCName^Token
|
||||||
| 'after'
|
| 'after'
|
||||||
| 'and'
|
| 'and'
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue