19 lines
5.9 KiB
JavaScript
19 lines
5.9 KiB
JavaScript
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
import {LRParser} from "@lezer/lr"
|
|
const spec_Identifier = {__proto__:null,where:14, null:30, and:44, or:46, limit:70, select:84, as:88, render:92, each:94, all:96}
|
|
export const parser = LRParser.deserialize({
|
|
version: 14,
|
|
states: ",fOYQPOOOpQQO'#C_QOQPOOOzQQO'#DQOOQO'#D_'#D_O!xQQO,58yOzQQO'#CaOzQQO'#DOO#SQQO'#DVO$QQQO'#DZOOQO'#Ch'#ChO$]QQO'#ClOOQO'#Ce'#CeO%nQSO'#DSOOQO'#Co'#CoOzQQO'#CpO&_QPO'#C|OzQQO'#CuO'zQSO'#CdOOQO'#Cd'#CdO(tQQO'#EROOQO,59l,59lOOQO-E7]-E7]O)`QSO,58{O)yQSO,59jO*dQSO'#DXO*kQSO'#CdO+XQQO'#ESOOQO,59q,59qOOQO,59u,59uO+sQPO,59uO+xQSO'#DhO,VQPO,59WOOQO,59W,59WO,[QQO,59YOzQQO,59cOzQQO,59cOzQQO,59cOzQQO,59eOOQO'#DT'#DTOOQO,59n,59nOzQQO,59]OzQQO,59]O,aQSO,59[O,hQPO,59`O,mQPO'#C}O,rQPO'#EQO,zQPO,59hOOQO,59h,59hO-PQSO,59aO/SQQO,59fOzQQO'#DbO/ZQQO,5:mO/uQQO,59sO#SQQO'#DcO/zQQO,5:nOOQO1G/a1G/aOzQQO'#D`O0fQPO,5:SOOQO1G.r1G.rOOQO1G.t1G.tO2nQSO1G.}O4rQSO1G.}O5PQSO1G.}O5ZQSO1G/PO7bQSO1G.wO7iQSO1G.wOOQO1G.v1G.vOOQO1G.z1G.zOzQQO,59iO7pQPO'#DaO7uQPO,5:lOOQO1G/S1G/SO7}QPO1G/QOOQO1G/Q1G/QOOQO,59|,59|OOQO-E7`-E7`OOQO1G/_1G/_OOQO,59},59}OOQO-E7a-E7aO8SQSO,59zOOQO-E7^-E7^OzQQO7+$kO8aQSO1G/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kilkiskiukixkizki!Oki!Wki!]ki!eki!fki!gki!hki!iki!jki!kki!lki!pki!qki!rki|ki!^ki!aki!ski!cki~O!mki!nki!oki~P2xO!pki!qki~P0qO!s!tO~P$dOlsO!_rO!esO!fsO!gsO!hsO!isO!jsO!ksO!lsO!mtO!ntO!otO!puO!quO!rvOVeigeiseiueixeizei!Oei!Wei!]ei|ei!^ei!aei!sei!cei~Ofei~P5bOfyO~P5bOZ}O~O!]!hO!c!ta~O!a!xO~O!]!Sa!^!Sa!a!Sa~P$dO!]qi!cqi~P$dOlsO!_rO!esO!fsO!gsO!hsO!isO!jsO!ksO!lsO!mtO!ntO!otO!puO!quOVmyfmygmysmyumyxmyzmy!Omy!Wmy!]my!rmy|my!^my!amy!smy!cmy~Ou]lxjUYx~",
|
|
goto: "&i!wPPP!xP#OPP#S$XPP$nPPP$nP$X$X$X$XPP$X$XP$XP$X$XP$X%T#OP#OP%Z%aP#OP%dP#OPPP%j%p%v%|&SPPPP&YPPPPPPPPPPPPPPPPPPPPPPP&`&c&fQQOR|`TSPTS]R!TQgUQhVSiW!WSoZ!SQ{_Q!RaQ!_sQ!`tQ!auQ!bvQ!cyQ!dzQ!r!ZQ!u!gR!y!twcRUVWZ_astuvyz!S!T!W!Z!g!tw[RUVWZ_astuvyz!S!T!W!Z!g!tQ!O`R!v!hQdRR!m!TRx]QkWR!p!WQTPRfTQ![oR!s![Q!i!OR!w!iQ!UdR!n!UQ!XkR!q!XQpZR!k!SR!P`ReRRlW",
|
|
nodeNames: "⚠ LineComment Program Query TagIdentifier WhereClause Identifier where Expression Value Number String Bool BooleanKW Regex null List GlobalIdentifier Attribute TopLevelVal ParenthesizedExpression LogicalExpression and or QueryExpression UnaryExpression NotKW BinExpression InKW TernaryExpression Call PageRef Object KeyVal LimitClause limit OrderClause Order OrderBy OrderDirection OrderKW SelectClause select Select as RenderClause render each all",
|
|
maxTerm: 84,
|
|
skippedNodes: [0,1],
|
|
repeatNodeCount: 5,
|
|
tokenData: "=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