2023-10-03 20:16:33 +08:00
// This file was generated by lezer-generator. You probably shouldn't edit it.
import { LRParser } from "@lezer/lr"
2024-09-29 19:26:44 +08:00
const spec _Identifier = { _ _proto _ _ : null , true : 18 , false : 20 , null : 24 , and : 38 , or : 40 , where : 50 , limit : 54 , order : 60 , by : 62 , asc : 68 , desc : 70 , select : 74 , as : 78 , render : 82 , each : 84 , all : 86 , not : 92 , in : 96 }
2023-10-03 20:16:33 +08:00
export const parser = LRParser . deserialize ( {
version : 14 ,
2024-09-29 19:26:44 +08:00
states : "-OOYQPOOO!^QPO'#CiOOQO'#C`'#C`Q!eQQOOOOQO'#Cl'#ClOYQPO'#CmO#rQSO'#DaOYQPO'#DZO%bQQO'#C_OOQO'#C_'#C_OOQO'#Cc'#CcO&_QQO'#DlO&lQPO,59TOOQO,59T,59TO&qQPO,59VOYQPO,59wOYQPO,59wOYQPO,59wOYQPO,59wOYQPO,59yOYQPO,59YOYQPO,59YO&vQQO,59XO'`QPO'#CrO'gQPO,59]O'lQPO'#DbO'qQPO'#EXO'yQPO,59{OOQO,59{,59{O(OQQO,59uO*XQPO,59zOYQPO'#DcO*`QPO,5:WOOQO1G.o1G.oOOQO1G.q1G.qO,nQQO1G/cO.xQQO1G/cO/VQQO1G/cO0hQQO1G/cO1nQQO1G/eO3{QQO1G.tO4SQQO1G.tOOQO1G.s1G.sOYQPO'#CxOOQO'#Dd'#DdO4ZQPO,59^OYQPO'#CtOYQPO'#CvO4bQPO'#CyO4gQPO'#DQO5kQPO'#DUOOQO1G.w1G.wOYQPO,59|O5vQPO'#DgO5{QPO,5:sOOQO1G/g1G/gO6TQPO1G/fOOQO1G/f1G/fO6YQQO,59}OOQO-E7a-E7aOYQPO7+%PO6gQQO'#C|O7WQPO'#DsOOQO,59d,59dOOQO-E7b-E7bO7oQQO,59`O8VQQO,59bOOQO,59e,59eO8mQQO'#DSO8tQQO'#DSO9_QPO'#DtOOQO,59l,59lOOQO,59p,59pO9vQPO,59pO9{QQO1G/hOOQ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y%t%z&Q&W&^&dPPPP&jPPPPPP&p&sPPPPPPPPPPPPPPPPPP&vQROSZPnQfTQmVQs_Qt`QuaQvbQwcQxdQyeQ![oS!_{!sQ!c!OQ!d!PS!f!R!vQ!l!UR!p!^{XOPTV_`abcdeno{!O!P!R!U!^!s!v{QOPTV_`abcdeno{!O!P!R!U!^!s!vRhUT|g}T{g}Q!`{R!y!sR!q!_Q!h!RR!|!vQjUR!m!VQpZR!]pQ}gR!b}Q!t!`R!z!tQ!w!hR!}!wQ!WjR!n!WQ[PR!YnR!a{R!i!RRkU" ,
nodeNames : "⚠ LineComment Program Expression Value Number String Bool Identifier true false Regex null List GlobalIdentifier Attribute TopLevelVal ParenthesizedExpression LogicalExpression and or QueryExpression Query TagIdentifier WhereClause where LimitClause limit OrderClause Order order by OrderBy OrderDirection asc desc SelectClause select Select as RenderClause render each all PageRef UnaryExpression not BinExpression in TernaryExpression Call Object KeyVal" ,
maxTerm : 89 ,
2024-02-03 02:19:07 +08:00
skippedNodes : [ 0 , 1 ] ,
repeatNodeCount : 5 ,
2024-09-29 19:26:44 +08:00
tokenData : "/R~RuX^#fpq#fqr$Zrs$pst%_uv%vwx%{xy&eyz&jz{&o{|&t|}&y}!O'O!O!P'T!P!Q'Y!Q![)q![!]*[!^!_*a!_!`*n!`!a*{!a!b+Y!b!c+g!c!},U!}#O-W#P#Q.T#S#T.Y#T#o,U#o#p.w#q#r.|#y#z#f$f$g#f#BY#BZ#f$IS$I_#f$I|$JO#f$JT$JU#f$KV$KW#f&FU&FV#f~#kY!^~X^#fpq#f#y#z#f$f$g#f#BY#BZ#f$IS$I_#f$I|$JO#f$JT$JU#f$KV$KW#f&FU&FV#fR$`P!jP!_!`$cQ$hP!oQ#r#s$kQ$pO!sQ~$sTOr$prs%Ss;'S$p;'S;=`%X<%lO$p~%XOU~~%[P;=`<%l$p~%dSP~OY%_Z;'S%_;'S;=`%p<%lO%_~%sP;=`<%l%_~%{O!v~~&OTOw%{wx%Sx;'S%{;'S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