Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
// AUTO-GENERATED by scripts/build_mermaid_grammars.mts from the grammar in this directory.
// This file was generated by lezer-generator. You probably shouldn't edit it.
import {LRParser} from "@lezer/lr"
import {titleText} from "./tokens.js"
import {vennHighlighting} from "./highlight.js"
const spec_identifier = {__proto__:null,"venn-beta":66, title:12, set:16, union:32, text:38, style:42}
export const parser = LRParser.deserialize({
version: 14,
states: "'OOYQQOOOOQO'#C`'#C`Q_QQOOOOQO'#DO'#DOOOQO'#Cu'#CuQ_QQOOOpQRO'#CaO!XQQO'#CcO!XQQO'#CkO!XQQO'#CnO!XQQO'#CpOOQO-E6s-E6sOOQO,58{,58{OOQO'#Ce'#CeOOQO'#DP'#DPO!aQQO,58}O!{QQO'#DQO#pQQO,59VO$[QQO,59YO$yQQO,59[O%OQQO'#ChOOQO1G.i1G.iO%TQQO1G.iO!XQQO'#CvO%lQQO,59lOOQO1G.q1G.qO&aQQO1G.qOOQO1G.t1G.tO&xQQO1G.tOOQO'#Cs'#CsO'aQQO'#CrO'fQQO1G.vOOQO,59S,59SOOQO7+$T7+$TOOQO,59b,59bOOQO-E6t-E6tOOQO7+$]7+$]OOQO7+$`7+$`O'}QQO,59^O$yQQO'#CxO(]QQO7+$bOOQO'#Cw'#CwO(tQQO1G.xOOQO,59d,59dOOQO-E6v-E6vOOQO-E6u-E6u",
stateData: ")l~OoOSQOS~OqPO~OUUOWVO`WOcXOeYO~OP[OUTXWTX`TXcTXeTXmTX~OY^Op]O~OZfO]dOUVaWVa`VacVaeVamVa~OagOUtXWtXZtX]tX`tXctXetXmtXYtXptX~OZjO]dOU_aW_a`_ac_ae_am_a~OY^OZkOp]OUbaWba`bacbaebamba~OpmO~O^pO~O]dOUViWVi`VicVieVimVi~OagOUtaWtaZta]ta`tactaetamtaYtapta~O]dOU_iW_i`_ic_ie_im_i~OZuOUbiWbi`bicbiebimbi~O]vO~OawOUdiWdi`dicdiedimdi~OYyO^yOhyOp]O~OawOUdqWdq`dqcdqedqmdq~OYyO^yOhyOp]OUfiWfi`fiaficfiefimfi~Ohp~",
goto: "#vuPPPPvyPyP}PP!ZPPyPPyPyP!g!mP!q!w!}#TPPPPP#Z#_#mRQOTRQT[^VWXYbgTyvzQe_QiaQqfRtjQocR{wTncwQTQRZTQh`RshQzvR}zQxoR|xTSQTQ_VU`WXYQlbRrgQaWQbXRcY",
nodeNames: "⚠ TitleText LineComment VennDiagram DiagramName Title Keyword Set Keyword Name String Label Size : Number Union Keyword , Text Keyword Style Keyword StyleField Property Color",
maxTerm: 36,
propSources: [vennHighlighting],
skippedNodes: [0,2],
repeatNodeCount: 4,
tokenData: "*n~RcXY!^YZ!^]^!^pq!^rs!ost#auv#{{|$j|}%^}!O$j!O!P$s!Q![%R![!]%c!c!}%h!}#O%|#R#S%h#T#f%h#f#g's#g#o%h~!cSo~XY!^YZ!^]^!^pq!^~!rUOY!oZr!ors#Us;'S!o;'S;=`#Z<%lO!o~#ZOY~~#^P;=`<%l!o~#dR!Q![#m!c!i#m#T#Z#m~#rRh~!Q![#m!c!i#m#T#Z#m~$OPuv$R~$WSQ~OY$RZ;'S$R;'S;=`$d<%lO$R~$gP;=`<%l$R~$mQ!O!P$s!Q![%R~$vP!Q![$y~%OP^~!Q![$y~%WQ^~!O!P$s!Q![%R~%cOa~~%hO]~~%mTp~}!O%h!Q![%h!c!}%h#R#S%h#T#o%h~&PUOr&crs'Ts#P&c#Q;'S&c;'S;=`&}<%lO&c~&fUOr&cs#P&c#P#Q&x#Q;'S&c;'S;=`&}<%lO&c~&}OZ~~'QP;=`<%l&c~'WTOr'Trs'gs;'S'T;'S;=`'m<%lO'T~'jP#P#Q&x~'pP;=`<%l'T~'xVp~}!O%h!Q![%h!c!}%h#R#S%h#T#Z%h#Z#[(_#[#o%h~(dVp~}!O%h!Q![%h!c!}%h#R#S%h#T#U%h#U#V(y#V#o%h~)OVp~xy)e}!O%h!Q![%h!c!}%h#R#S%h#T#U*V#U#o%h~)hUOY)eZy)eyz)zz;'S)e;'S;=`*P<%lO)e~*POh~~*SP;=`<%l)e~*[Up~xy)e}!O%h!Q![%h!c!}%h#R#S%h#T#o%h",
tokenizers: [titleText, 0],
topRules: {"VennDiagram":[0,3]},
specialized: [{term: 32, get: (value: keyof typeof spec_identifier) => spec_identifier[value] || -1}],
tokenPrec: 393
})