Skip to content

Commit

Permalink
Fixed tests for scripting grammar changes
Browse files Browse the repository at this point in the history
Fixing tests for grammar update

Fixed tests for scripting grammar
  • Loading branch information
DavidBuzatu-Marian committed Mar 7, 2024
1 parent fbd0445 commit bf13ff2
Show file tree
Hide file tree
Showing 27 changed files with 5,846 additions and 5,080 deletions.
18 changes: 9 additions & 9 deletions gen/Jsoniq.interp

Large diffs are not rendered by default.

322 changes: 162 additions & 160 deletions gen/Jsoniq.tokens
Original file line number Diff line number Diff line change
Expand Up @@ -57,90 +57,91 @@ T__55=56
T__56=57
T__57=58
T__58=59
Kfor=60
Klet=61
Kwhere=62
Kgroup=63
Kby=64
Korder=65
Kreturn=66
Kif=67
Kin=68
Kas=69
Kat=70
Kallowing=71
Kempty=72
Kcount=73
Kstable=74
Kascending=75
Kdescending=76
Ksome=77
Kevery=78
Ksatisfies=79
Kcollation=80
Kgreatest=81
Kleast=82
Kswitch=83
Kcase=84
Ktry=85
Kcatch=86
Kdefault=87
Kthen=88
Kelse=89
Ktypeswitch=90
Kor=91
Kand=92
Knot=93
Kto=94
Kinstance=95
Kof=96
Kstatically=97
Kis=98
Ktreat=99
Kcast=100
Kcastable=101
Kversion=102
Kjsoniq=103
Kunordered=104
Ktrue=105
Kfalse=106
Ktype=107
Kvalidate=108
Kannotate=109
Kdeclare=110
Kcontext=111
Kitem=112
Kvariable=113
Kinsert=114
Kdelete=115
Krename=116
Kreplace=117
Kcopy=118
Kmodify=119
Kappend=120
Kinto=121
Kvalue=122
Kjson=123
Kwith=124
Kposition=125
STRING=126
ArgumentPlaceholder=127
NullLiteral=128
Literal=129
NumericLiteral=130
IntegerLiteral=131
DecimalLiteral=132
DoubleLiteral=133
WS=134
NCName=135
XQComment=136
ContentChar=137
Kbreak=138
Kloop=139
Kcontinue=140
Kexit=141
Kreturning=142
Kwhile=143
T__59=60
Kfor=61
Klet=62
Kwhere=63
Kgroup=64
Kby=65
Korder=66
Kreturn=67
Kif=68
Kin=69
Kas=70
Kat=71
Kallowing=72
Kempty=73
Kcount=74
Kstable=75
Kascending=76
Kdescending=77
Ksome=78
Kevery=79
Ksatisfies=80
Kcollation=81
Kgreatest=82
Kleast=83
Kswitch=84
Kcase=85
Ktry=86
Kcatch=87
Kdefault=88
Kthen=89
Kelse=90
Ktypeswitch=91
Kor=92
Kand=93
Knot=94
Kto=95
Kinstance=96
Kof=97
Kstatically=98
Kis=99
Ktreat=100
Kcast=101
Kcastable=102
Kversion=103
Kjsoniq=104
Kunordered=105
Ktrue=106
Kfalse=107
Ktype=108
Kvalidate=109
Kannotate=110
Kdeclare=111
Kcontext=112
Kitem=113
Kvariable=114
Kinsert=115
Kdelete=116
Krename=117
Kreplace=118
Kcopy=119
Kmodify=120
Kappend=121
Kinto=122
Kvalue=123
Kjson=124
Kwith=125
Kposition=126
STRING=127
ArgumentPlaceholder=128
NullLiteral=129
Literal=130
NumericLiteral=131
IntegerLiteral=132
DecimalLiteral=133
DoubleLiteral=134
WS=135
NCName=136
XQComment=137
ContentChar=138
Kbreak=139
Kloop=140
Kcontinue=141
Kexit=142
Kreturning=143
Kwhile=144
';'=1
'module'=2
'namespace'=3
Expand Down Expand Up @@ -198,79 +199,80 @@ Kwhile=143
'.'=55
'$$'=56
'#'=57
'{|'=58
'|}'=59
'for'=60
'let'=61
'where'=62
'group'=63
'by'=64
'order'=65
'return'=66
'if'=67
'in'=68
'as'=69
'at'=70
'allowing'=71
'empty'=72
'count'=73
'stable'=74
'ascending'=75
'descending'=76
'some'=77
'every'=78
'satisfies'=79
'collation'=80
'greatest'=81
'least'=82
'switch'=83
'case'=84
'try'=85
'catch'=86
'default'=87
'then'=88
'else'=89
'typeswitch'=90
'or'=91
'and'=92
'not'=93
'to'=94
'instance'=95
'of'=96
'statically'=97
'is'=98
'treat'=99
'cast'=100
'castable'=101
'version'=102
'jsoniq'=103
'unordered'=104
'true'=105
'false'=106
'type'=107
'validate'=108
'annotate'=109
'declare'=110
'context'=111
'item'=112
'variable'=113
'insert'=114
'delete'=115
'rename'=116
'replace'=117
'copy'=118
'modify'=119
'append'=120
'into'=121
'value'=122
'json'=123
'with'=124
'position'=125
'?'=127
'null'=128
'break'=138
'loop'=139
'continue'=140
'exit'=141
'returning'=142
'while'=143
'%'=58
'{|'=59
'|}'=60
'for'=61
'let'=62
'where'=63
'group'=64
'by'=65
'order'=66
'return'=67
'if'=68
'in'=69
'as'=70
'at'=71
'allowing'=72
'empty'=73
'count'=74
'stable'=75
'ascending'=76
'descending'=77
'some'=78
'every'=79
'satisfies'=80
'collation'=81
'greatest'=82
'least'=83
'switch'=84
'case'=85
'try'=86
'catch'=87
'default'=88
'then'=89
'else'=90
'typeswitch'=91
'or'=92
'and'=93
'not'=94
'to'=95
'instance'=96
'of'=97
'statically'=98
'is'=99
'treat'=100
'cast'=101
'castable'=102
'version'=103
'jsoniq'=104
'unordered'=105
'true'=106
'false'=107
'type'=108
'validate'=109
'annotate'=110
'declare'=111
'context'=112
'item'=113
'variable'=114
'insert'=115
'delete'=116
'rename'=117
'replace'=118
'copy'=119
'modify'=120
'append'=121
'into'=122
'value'=123
'json'=124
'with'=125
'position'=126
'?'=128
'null'=129
'break'=139
'loop'=140
'continue'=141
'exit'=142
'returning'=143
'while'=144
Loading

0 comments on commit bf13ff2

Please sign in to comment.