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,null:22, and:36, or:38, where:48, limit:52, select:66, as:70, render:74, each:76, all:78}
|
|
export const parser = LRParser.deserialize({
|
|
version: 14,
|
|
states: ",fOYQPOOOOQO'#Cc'#CcO!WQPO'#ChOOQO'#C`'#C`Q!_QQOOOOQO'#Ck'#CkOYQPO'#ClO#iQSO'#D]OYQPO'#DVO%UQQO'#C_OOQO'#C_'#C_O&OQQO'#DhO&]QPO,59SOOQO,59S,59SO&bQPO,59UOYQPO,59sOYQPO,59sOYQPO,59sOYQPO,59uOYQPO,59XOYQPO,59XO&gQQO,59WO'PQPO'#CqO'WQPO,59[O']QPO'#D^O'bQPO'#ESO'jQPO,59wOOQO,59w,59wO'oQQO,59qO)rQPO,59vOYQPO'#D_O)yQPO,5:SOOQO1G.n1G.nOOQO1G.p1G.pO,RQQO1G/_O.VQQO1G/_O.dQQO1G/_O.nQQO1G/aO0uQQO1G.sO0|QQO1G.sOOQO1G.r1G.rOYQPO'#CwOOQO'#D`'#D`O1TQPO,59]OYQPO'#CsOYQPO'#CuO1[QPO'#C|O2YQPO'#DQOOQO1G.v1G.vOYQPO,59xO2eQPO'#DcO2jQPO,5:nOOQO1G/c1G/cO2rQPO1G/bOOQO1G/b1G/bO2wQQO,59yOOQO-E7]-E7]OYQPO7+${O3UQQO'#CyO3rQPO'#DoOOQO,59c,59cOOQO-E7^-E7^O4ZQQO,59_O4qQQO,59aO5XQQO'#DOO5`QQO'#DOO5yQPO'#DpOOQO,59h,59hOOQO,59l,59lO6bQPO,59lO6gQQO1G/dOOQO,59},59}OOQO-E7a-E7aOOQO7+$|7+$|O6qQQO<<HgOOQO'#Cz'#CzOOQO,59e,59eOYQPO'#DaO8tQPO,5:ZO9]QPO,59jO1[QPO'#DbO9bQPO,5:[OOQO1G/W1G/WOOQO,59{,59{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a!Ra~P!_Oo!mOhmXjmXlmXqmXumX!]mX!emX~P!_O!]!oOh!cXj!cXl!cXq!cXu!cX!e!cX~Ohgajgalgaqgauga!ega~P!_Ohiajialiaqiauia!eia~P!_Os!qO~P!_OhrXjrXlrXqrXurX!]rX!erX~P#tO!]!rOh!dXj!dXl!dXq!dXu!dX!e!dX~Ox!tO~O!]!Qi!e!Qi~P!_O|_O!_^O!g_O!h_O!i_O!j_O!k_O!l_O!m_O!n_O!o`O!p`O!q`O!raO!saOb}yc}y!W}y!t}y!]}y!^}y!a}y!u}yh}yj}yl}yo}yq}yu}y!e}ys}y~O!]!oOh!caj!cal!caq!cau!ca!e!ca~OY!wO~O!]!rOh!daj!dal!daq!dau!da!e!da~OlW|ozYTo~",
|
|
goto: "&k!wPPP!x$QPP$hPPPP$hP$Q$Q$Q$QPP$Q%OP%RP%RP%RP%V%]P%RP%`P%RPPPP$QP$QP$Q$Q$Q%f%l%r%x&O&UPPPP&[PPPPPP&b&ePPPPPPPPPPPPPPPPP&hQSOSZQmQeUQlWQr_Qs`QtaQubQvcQwdQ!XnS![y!oQ!`|Q!a}S!b!O!rQ!h!RR!l!ZyYOQUW_`abcdmny|}!O!R!Z!o!ryROQUW_`abcdmny|}!O!R!Z!o!rRgVTzf{Q!]yR!u!oR!n![Q!d!OR!x!rQiVR!i!SQoZR!YoQ{fR!_{Q!p!]R!v!pQ!s!dR!y!sQ!TiR!j!TQ[QR!VmR!^yR!e!ORjV",
|
|
nodeNames: "⚠ LineComment Program Expression Value Number String Bool BooleanKW Regex Identifier null List GlobalIdentifier Attribute TopLevelVal ParenthesizedExpression LogicalExpression and or QueryExpression Query TagIdentifier WhereClause where LimitClause limit OrderClause Order OrderBy OrderDirection OrderKW SelectClause select Select as RenderClause render each all PageRef UnaryExpression NotKW BinExpression InKW TernaryExpression Call Object KeyVal",
|
|
maxTerm: 84,
|
|
skippedNodes: [0,1],
|
|
repeatNodeCount: 5,
|
|
tokenData: "=Z~R!RX^$[pq$[q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