@yorz/cli 0.8.2 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/index.js +134 -59
- package/dist/gui/assets/abnfDiagram-VRR7QNED-CvFCe3r_.js +1 -0
- package/dist/gui/assets/arc-BR65Sp8N.js +1 -0
- package/dist/gui/assets/architectureDiagram-ZJ3FMSHR-AiVGAt8P.js +36 -0
- package/dist/gui/assets/blockDiagram-677ZJIJ3-HuFROz1l.js +132 -0
- package/dist/gui/assets/c4Diagram-LMCZKHZV-Cgt15wDO.js +10 -0
- package/dist/gui/assets/channel-DWjIfFiO.js +1 -0
- package/dist/gui/assets/chunk-2Q5K7J3B-ByMpzo_7.js +1 -0
- package/dist/gui/assets/chunk-32BRIVSS-LHwTDCaD.js +1 -0
- package/dist/gui/assets/chunk-5VM5RSS4-CXrS6z-4.js +15 -0
- package/dist/gui/assets/chunk-EX3LRPZG-Bw7a0zH3.js +231 -0
- package/dist/gui/assets/chunk-JWPE2WC7-wFaiogOx.js +1 -0
- package/dist/gui/assets/chunk-MOJQB5TN-CC4tXc_1.js +88 -0
- package/dist/gui/assets/chunk-RYQCIY6F-BzMRf9sh.js +1 -0
- package/dist/gui/assets/chunk-V7JOEXUC-DXF9bAuV.js +206 -0
- package/dist/gui/assets/chunk-VR4S4FIN-DlTRKb1a.js +1 -0
- package/dist/gui/assets/chunk-XXDRQBXY-kVTuzkcL.js +1 -0
- package/dist/gui/assets/classDiagram-OUVF2IWQ-I21k2As-.js +1 -0
- package/dist/gui/assets/classDiagram-v2-EOCWNBFH-I21k2As-.js +1 -0
- package/dist/gui/assets/cose-bilkent-JH36ORCC-BAqcUvRT.js +1 -0
- package/dist/gui/assets/cynefin-VYW2F7L2-BKxPBlKv.js +178 -0
- package/dist/gui/assets/cynefinDiagram-TSTJHNR4-B30nmSKx.js +62 -0
- package/dist/gui/assets/dagre-VKFMJZFB-B_6xJi_I.js +4 -0
- package/dist/gui/assets/diagram-FQU43EPY-DSPwTKxt.js +3 -0
- package/dist/gui/assets/diagram-G47NLZAW-CE6kku8E.js +24 -0
- package/dist/gui/assets/diagram-NH7WQ7WH-Dz_3pmyJ.js +24 -0
- package/dist/gui/assets/diagram-OA4YK3LP-9K6njZVx.js +30 -0
- package/dist/gui/assets/diagram-WEI45ONY-Dq-7pg1u.js +41 -0
- package/dist/gui/assets/ebnfDiagram-CCIWWBDH-DqkXLemr.js +1 -0
- package/dist/gui/assets/erDiagram-Q63AITRT-DwCKeJjN.js +85 -0
- package/dist/gui/assets/flowDiagram-23GEKE2U-BItXJm0z.js +156 -0
- package/dist/gui/assets/ganttDiagram-NO4QXBWP-B7F8aBqd.js +292 -0
- package/dist/gui/assets/gitGraphDiagram-IHSO6WYX-DOTmWDXD.js +106 -0
- package/dist/gui/assets/index-CkGO8Fpq.js +34 -0
- package/dist/gui/assets/index-e5JFp5J1.css +1 -0
- package/dist/gui/assets/infoDiagram-FWYZ7A6U-CH94-RWl.js +2 -0
- package/dist/gui/assets/ishikawaDiagram-FXEZZL3T-DnPsPjhE.js +70 -0
- package/dist/gui/assets/journeyDiagram-5HDEW3XC-IxNPj9DL.js +139 -0
- package/dist/gui/assets/kanban-definition-HUTT4EX6-CnEFBR_5.js +89 -0
- package/dist/gui/assets/linear-C76lB0Op.js +1 -0
- package/dist/gui/assets/mermaid.core-rkuoyu1Y.js +314 -0
- package/dist/gui/assets/mindmap-definition-LN4V7U3C-Cp4m5M8t.js +96 -0
- package/dist/gui/assets/pegDiagram-2B236MQR-OpqvRJRn.js +1 -0
- package/dist/gui/assets/pieDiagram-ENE6RG2P-CA2NTDmg.js +39 -0
- package/dist/gui/assets/quadrantDiagram-ABIIQ3AL-1wgAkd5_.js +7 -0
- package/dist/gui/assets/railroadDiagram-RFXS5EU6-D8sNxc-D.js +1 -0
- package/dist/gui/assets/requirementDiagram-TGXJPOKE-B_BAewjP.js +84 -0
- package/dist/gui/assets/sankeyDiagram-HTMAVEWB-D5yRszAY.js +40 -0
- package/dist/gui/assets/sequenceDiagram-DBY2YBRQ-xLRttR6a.js +162 -0
- package/dist/gui/assets/sizeCapture-X5ZJPWSS-uA8UtQtp.js +1 -0
- package/dist/gui/assets/stateDiagram-2N3HPSRC-JLfWMf-y.js +1 -0
- package/dist/gui/assets/stateDiagram-v2-6OUMAXLB-m9lGgZDF.js +1 -0
- package/dist/gui/assets/swimlanes-5IMT3BWC-DzNlggdg.js +2 -0
- package/dist/gui/assets/swimlanesDiagram-G3AALYLV-67oDFDZ3.js +8 -0
- package/dist/gui/assets/timeline-definition-FHXFAJF6-DisxBENp.js +120 -0
- package/dist/gui/assets/vennDiagram-L72KCM5P-B29R19dw.js +34 -0
- package/dist/gui/assets/wardleyDiagram-EHGQE667-B5eqpyg8.js +78 -0
- package/dist/gui/assets/xychartDiagram-FW5EYKEG-BFhk2kj2.js +7 -0
- package/dist/gui/index.html +2 -2
- package/dist/{gui/assets/abnfDiagram-VRR7QNED-gKm9Q_A3.js → gui-mobile/assets/abnfDiagram-VRR7QNED-dO2fe8On.js} +1 -1
- package/dist/{gui/assets/arc-CrUCh7Vt.js → gui-mobile/assets/arc-BBWQwcOX.js} +1 -1
- package/dist/{gui/assets/architectureDiagram-ZJ3FMSHR-CMSfijC7.js → gui-mobile/assets/architectureDiagram-ZJ3FMSHR-BdDouhRk.js} +1 -1
- package/dist/{gui/assets/blockDiagram-677ZJIJ3-p05lGQvB.js → gui-mobile/assets/blockDiagram-677ZJIJ3-CyfQcEAp.js} +1 -1
- package/dist/{gui/assets/c4Diagram-LMCZKHZV-Bv-YyQUO.js → gui-mobile/assets/c4Diagram-LMCZKHZV-BDwCd8AJ.js} +1 -1
- package/dist/gui-mobile/assets/channel-BH91jO0g.js +1 -0
- package/dist/{gui/assets/chunk-2Q5K7J3B-k4bjrCUS.js → gui-mobile/assets/chunk-2Q5K7J3B-C21jFDT7.js} +1 -1
- package/dist/{gui/assets/chunk-32BRIVSS-kWhk22-t.js → gui-mobile/assets/chunk-32BRIVSS-DYcgMwLC.js} +1 -1
- package/dist/{gui/assets/chunk-5VM5RSS4-CQ-OF-jm.js → gui-mobile/assets/chunk-5VM5RSS4-DHUChIkE.js} +1 -1
- package/dist/{gui/assets/chunk-EX3LRPZG-BCGCkTIr.js → gui-mobile/assets/chunk-EX3LRPZG-BsiOO0cg.js} +1 -1
- package/dist/{gui/assets/chunk-JWPE2WC7-BxQu3HdL.js → gui-mobile/assets/chunk-JWPE2WC7-DwRFcp8M.js} +1 -1
- package/dist/{gui/assets/chunk-MOJQB5TN-DkB3CKU9.js → gui-mobile/assets/chunk-MOJQB5TN-CZAIa8xj.js} +1 -1
- package/dist/{gui/assets/chunk-RYQCIY6F-62-xl5oz.js → gui-mobile/assets/chunk-RYQCIY6F-CjiSByKd.js} +1 -1
- package/dist/{gui/assets/chunk-V7JOEXUC-DLidRBp5.js → gui-mobile/assets/chunk-V7JOEXUC-C5X5gobg.js} +1 -1
- package/dist/{gui/assets/chunk-VR4S4FIN-CelmZEAj.js → gui-mobile/assets/chunk-VR4S4FIN-BG4Ho3oM.js} +1 -1
- package/dist/{gui/assets/chunk-XXDRQBXY-CZXSrEO5.js → gui-mobile/assets/chunk-XXDRQBXY-Cy55QGn1.js} +1 -1
- package/dist/gui-mobile/assets/classDiagram-OUVF2IWQ-DI_HWJF7.js +1 -0
- package/dist/gui-mobile/assets/classDiagram-v2-EOCWNBFH-DI_HWJF7.js +1 -0
- package/dist/{gui/assets/cose-bilkent-JH36ORCC-BJZADzHX.js → gui-mobile/assets/cose-bilkent-JH36ORCC-k5DcB7wy.js} +1 -1
- package/dist/{gui/assets/cynefin-VYW2F7L2-2kv3gQiJ.js → gui-mobile/assets/cynefin-VYW2F7L2-D0zs5vNv.js} +1 -1
- package/dist/{gui/assets/cynefinDiagram-TSTJHNR4-BJrGGRZT.js → gui-mobile/assets/cynefinDiagram-TSTJHNR4-CfH5z8jt.js} +1 -1
- package/dist/gui-mobile/assets/cytoscape.esm-OyMbaexL.js +331 -0
- package/dist/{gui/assets/dagre-VKFMJZFB-C2Eq7ks1.js → gui-mobile/assets/dagre-VKFMJZFB-WliPW3Tx.js} +1 -1
- package/dist/gui-mobile/assets/defaultLocale-DX6XiGOO.js +1 -0
- package/dist/{gui/assets/diagram-FQU43EPY-DrIQap5j.js → gui-mobile/assets/diagram-FQU43EPY-CdurYY3r.js} +1 -1
- package/dist/{gui/assets/diagram-G47NLZAW-D3qrZmEa.js → gui-mobile/assets/diagram-G47NLZAW-CJFcYT7j.js} +1 -1
- package/dist/{gui/assets/diagram-NH7WQ7WH-BiV6-mMS.js → gui-mobile/assets/diagram-NH7WQ7WH-Covs7EOO.js} +1 -1
- package/dist/{gui/assets/diagram-OA4YK3LP-zJhDVFfZ.js → gui-mobile/assets/diagram-OA4YK3LP-c_vARYuP.js} +1 -1
- package/dist/{gui/assets/diagram-WEI45ONY-CDimAYs_.js → gui-mobile/assets/diagram-WEI45ONY-B8DLNiMy.js} +1 -1
- package/dist/{gui/assets/ebnfDiagram-CCIWWBDH-CCcf1QsU.js → gui-mobile/assets/ebnfDiagram-CCIWWBDH-dOuQRK-3.js} +1 -1
- package/dist/{gui/assets/erDiagram-Q63AITRT-Q8tGhvrZ.js → gui-mobile/assets/erDiagram-Q63AITRT-BosAgKfh.js} +1 -1
- package/dist/{gui/assets/flowDiagram-23GEKE2U-3alKs_Q2.js → gui-mobile/assets/flowDiagram-23GEKE2U-HWFThTdv.js} +1 -1
- package/dist/{gui/assets/ganttDiagram-NO4QXBWP-UwtLj5mp.js → gui-mobile/assets/ganttDiagram-NO4QXBWP-CJGUZTqX.js} +1 -1
- package/dist/{gui/assets/gitGraphDiagram-IHSO6WYX-BkdZNrvw.js → gui-mobile/assets/gitGraphDiagram-IHSO6WYX-D1j9Ff_z.js} +1 -1
- package/dist/gui-mobile/assets/graph-DOmOIIwC.js +1 -0
- package/dist/gui-mobile/assets/index-BABBu2VR.css +1 -0
- package/dist/gui-mobile/assets/index-BWC60m5U.js +33 -0
- package/dist/{gui/assets/infoDiagram-FWYZ7A6U-AtNZOkv_.js → gui-mobile/assets/infoDiagram-FWYZ7A6U-5Gq_R5ny.js} +1 -1
- package/dist/gui-mobile/assets/init-Gi6I4Gst.js +1 -0
- package/dist/{gui/assets/ishikawaDiagram-FXEZZL3T-fzZ3wFB-.js → gui-mobile/assets/ishikawaDiagram-FXEZZL3T-DZAckb0K.js} +1 -1
- package/dist/gui-mobile/assets/jetbrains-mono-latin-400-normal-6-qcROiO.woff +0 -0
- package/dist/gui-mobile/assets/jetbrains-mono-latin-400-normal-V6pRDFza.woff2 +0 -0
- package/dist/gui-mobile/assets/jetbrains-mono-latin-500-normal-BWZEU5yA.woff2 +0 -0
- package/dist/gui-mobile/assets/jetbrains-mono-latin-500-normal-CJOVTJB7.woff +0 -0
- package/dist/gui-mobile/assets/jetbrains-mono-latin-700-normal-BYuf6tUa.woff2 +0 -0
- package/dist/gui-mobile/assets/jetbrains-mono-latin-700-normal-D3wTyLJW.woff +0 -0
- package/dist/{gui/assets/journeyDiagram-5HDEW3XC-CaInQL3L.js → gui-mobile/assets/journeyDiagram-5HDEW3XC-B4ejke91.js} +1 -1
- package/dist/{gui/assets/kanban-definition-HUTT4EX6-BzazGxe7.js → gui-mobile/assets/kanban-definition-HUTT4EX6-CKIlESkz.js} +1 -1
- package/dist/gui-mobile/assets/katex-HP8lGamR.js +257 -0
- package/dist/gui-mobile/assets/layout-D-LzfAck.js +1 -0
- package/dist/{gui/assets/linear-FkI6GUdc.js → gui-mobile/assets/linear-DjghM5B6.js} +1 -1
- package/dist/gui-mobile/assets/map-DxJ2ADlA.js +1 -0
- package/dist/{gui/assets/mermaid.core-Dy3NGXqh.js → gui-mobile/assets/mermaid.core-Cery4OJZ.js} +4 -4
- package/dist/{gui/assets/mindmap-definition-LN4V7U3C-BkD5gUUF.js → gui-mobile/assets/mindmap-definition-LN4V7U3C-Bb9PmQcE.js} +1 -1
- package/dist/gui-mobile/assets/ordinal-Cboi1Yqb.js +1 -0
- package/dist/{gui/assets/pegDiagram-2B236MQR-DrzL8aNW.js → gui-mobile/assets/pegDiagram-2B236MQR-Dk6yxZPA.js} +1 -1
- package/dist/{gui/assets/pieDiagram-ENE6RG2P-BrrJjIcV.js → gui-mobile/assets/pieDiagram-ENE6RG2P-9qPsJCKZ.js} +1 -1
- package/dist/{gui/assets/quadrantDiagram-ABIIQ3AL-BvfIaaXh.js → gui-mobile/assets/quadrantDiagram-ABIIQ3AL-CpOioe7x.js} +1 -1
- package/dist/{gui/assets/railroadDiagram-RFXS5EU6-uDh6Eejs.js → gui-mobile/assets/railroadDiagram-RFXS5EU6-CYnrq0_H.js} +1 -1
- package/dist/{gui/assets/requirementDiagram-TGXJPOKE-mq71nhz4.js → gui-mobile/assets/requirementDiagram-TGXJPOKE-Dan1m7mP.js} +1 -1
- package/dist/{gui/assets/sankeyDiagram-HTMAVEWB-hXTichtO.js → gui-mobile/assets/sankeyDiagram-HTMAVEWB-6gqAXG6C.js} +1 -1
- package/dist/{gui/assets/sequenceDiagram-DBY2YBRQ-CgITKOd_.js → gui-mobile/assets/sequenceDiagram-DBY2YBRQ-D-7-OUF6.js} +1 -1
- package/dist/{gui/assets/sizeCapture-X5ZJPWSS-Bg4phjBx.js → gui-mobile/assets/sizeCapture-X5ZJPWSS-Cf4atOsc.js} +1 -1
- package/dist/{gui/assets/stateDiagram-2N3HPSRC-DKBi1ceK.js → gui-mobile/assets/stateDiagram-2N3HPSRC-CBem3dqE.js} +1 -1
- package/dist/gui-mobile/assets/stateDiagram-v2-6OUMAXLB-BQUCaoqO.js +1 -0
- package/dist/{gui/assets/swimlanes-5IMT3BWC-BotNlXJq.js → gui-mobile/assets/swimlanes-5IMT3BWC-CTxpjyu6.js} +2 -2
- package/dist/gui-mobile/assets/swimlanesDiagram-G3AALYLV-B6OThFgb.js +8 -0
- package/dist/{gui/assets/timeline-definition-FHXFAJF6-xPORA673.js → gui-mobile/assets/timeline-definition-FHXFAJF6-sxn38dUp.js} +1 -1
- package/dist/{gui/assets/vennDiagram-L72KCM5P-9lcR-L8Q.js → gui-mobile/assets/vennDiagram-L72KCM5P-BI_Xsfbx.js} +1 -1
- package/dist/{gui/assets/wardleyDiagram-EHGQE667-CLRUHnek.js → gui-mobile/assets/wardleyDiagram-EHGQE667-1DzhpDmv.js} +1 -1
- package/dist/gui-mobile/assets/workbox-window.prod.es5-BBnX5xw4.js +2 -0
- package/dist/{gui/assets/xychartDiagram-FW5EYKEG-C-oJxiEj.js → gui-mobile/assets/xychartDiagram-FW5EYKEG-AmEku7SD.js} +1 -1
- package/dist/gui-mobile/icons/apple-touch-icon.png +0 -0
- package/dist/gui-mobile/icons/favicon-32.png +0 -0
- package/dist/gui-mobile/icons/icon-192.png +0 -0
- package/dist/gui-mobile/icons/icon-512.png +0 -0
- package/dist/gui-mobile/icons/maskable-512.png +0 -0
- package/dist/gui-mobile/index.html +74 -0
- package/dist/gui-mobile/manifest.webmanifest +1 -0
- package/dist/gui-mobile/sw.js +1 -0
- package/dist/gui-mobile/workbox-9c191d2f.js +1 -0
- package/package.json +9 -3
- package/dist/gui/assets/channel-DjP6myfL.js +0 -1
- package/dist/gui/assets/classDiagram-OUVF2IWQ-CqIEE3-0.js +0 -1
- package/dist/gui/assets/classDiagram-v2-EOCWNBFH-CqIEE3-0.js +0 -1
- package/dist/gui/assets/index-DakqmUCD.js +0 -40
- package/dist/gui/assets/index-bzRYB8_7.css +0 -1
- package/dist/gui/assets/stateDiagram-v2-6OUMAXLB-DSkELjnp.js +0 -1
- package/dist/gui/assets/swimlanesDiagram-G3AALYLV-_zGHZ8dn.js +0 -8
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as a,l as s,D as o,e as i}from"./mermaid.core-
|
|
1
|
+
import{_ as a,l as s,D as o,e as i}from"./mermaid.core-Cery4OJZ.js";import{p as g}from"./cynefin-VYW2F7L2-D0zs5vNv.js";import"./index-BWC60m5U.js";var p={parse:a(async r=>{const e=await g("info",r);s.debug(e)},"parse")},v={version:"11.16.0"},d=a(()=>v.version,"getVersion"),m={getVersion:d},c=a((r,e,n)=>{s.debug(`rendering info diagram
|
|
2
2
|
`+r);const t=o(e);i(t,100,400,!0),t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${n}`)},"draw"),l={draw:c},b={parser:p,db:m,renderer:l};export{b as diagram};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(e,a){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(a).domain(e);break}return this}export{t as i};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as l,c as lt,K as ct,D as ut,al as dt,p as yt,k as ft,n as et,a as pt,b as gt,g as kt,s as mt,o as wt,e as _t}from"./mermaid.core-
|
|
1
|
+
import{_ as l,c as lt,K as ct,D as ut,al as dt,p as yt,k as ft,n as et,a as pt,b as gt,g as kt,s as mt,o as wt,e as _t}from"./mermaid.core-Cery4OJZ.js";import"./index-BWC60m5U.js";var Q=(function(){var t=l(function(T,e,s,i){for(s=s||{},i=T.length;i--;s[T[i]]=e);return s},"o"),d=[1,4],n=[1,14],a=[1,12],o=[1,13],y=[6,7,8],p=[1,20],u=[1,18],m=[1,19],c=[6,7,11],k=[1,6,13,14],g=[1,23],_=[1,24],x=[1,6,7,11,13,14],D={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:l(function(e,s,i,h,f,r,v){var w=r.length-1;switch(f){case 6:case 7:return h;case 15:h.addNode(r[w-1].length,r[w].trim());break;case 16:h.addNode(0,r[w].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:d},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:d},{6:n,7:[1,10],9:9,12:11,13:a,14:o},t(y,[2,3]),{1:[2,2]},t(y,[2,4]),t(y,[2,5]),{1:[2,6],6:n,12:15,13:a,14:o},{6:n,9:16,12:11,13:a,14:o},{6:p,7:u,10:17,11:m},t(c,[2,18],{14:[1,21]}),t(c,[2,16]),t(c,[2,17]),{6:p,7:u,10:22,11:m},{1:[2,7],6:n,12:15,13:a,14:o},t(k,[2,14],{7:g,11:_}),t(x,[2,8]),t(x,[2,9]),t(x,[2,10]),t(c,[2,15]),t(k,[2,13],{7:g,11:_}),t(x,[2,11]),t(x,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:l(function(e,s){if(s.recoverable)this.trace(e);else{var i=new Error(e);throw i.hash=s,i}},"parseError"),parse:l(function(e){var s=this,i=[0],h=[],f=[null],r=[],v=this.table,w="",I=0,$=0,L=2,A=1,C=r.slice.call(arguments,1),b=Object.create(this.lexer),S={yy:{}};for(var P in this.yy)Object.prototype.hasOwnProperty.call(this.yy,P)&&(S.yy[P]=this.yy[P]);b.setInput(e,S.yy),S.yy.lexer=b,S.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var R=b.yylloc;r.push(R);var H=b.options&&b.options.ranges;typeof S.yy.parseError=="function"?this.parseError=S.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function K(B){i.length=i.length-2*B,f.length=f.length-B,r.length=r.length-B}l(K,"popStack");function J(){var B;return B=h.pop()||b.lex()||A,typeof B!="number"&&(B instanceof Array&&(h=B,B=h.pop()),B=s.symbols_[B]||B),B}l(J,"lex");for(var M,W,N,X,F={},G,V,tt,U;;){if(W=i[i.length-1],this.defaultActions[W]?N=this.defaultActions[W]:((M===null||typeof M>"u")&&(M=J()),N=v[W]&&v[W][M]),typeof N>"u"||!N.length||!N[0]){var Y="";U=[];for(G in v[W])this.terminals_[G]&&G>L&&U.push("'"+this.terminals_[G]+"'");b.showPosition?Y="Parse error on line "+(I+1)+`:
|
|
2
2
|
`+b.showPosition()+`
|
|
3
3
|
Expecting `+U.join(", ")+", got '"+(this.terminals_[M]||M)+"'":Y="Parse error on line "+(I+1)+": Unexpected "+(M==A?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(Y,{text:b.match,token:this.terminals_[M]||M,line:b.yylineno,loc:R,expected:U})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+M);switch(N[0]){case 1:i.push(M),f.push(b.yytext),r.push(b.yylloc),i.push(N[1]),M=null,$=b.yyleng,w=b.yytext,I=b.yylineno,R=b.yylloc;break;case 2:if(V=this.productions_[N[1]][1],F.$=f[f.length-V],F._$={first_line:r[r.length-(V||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(V||1)].first_column,last_column:r[r.length-1].last_column},H&&(F._$.range=[r[r.length-(V||1)].range[0],r[r.length-1].range[1]]),X=this.performAction.apply(F,[w,$,I,S.yy,N[1],f,r].concat(C)),typeof X<"u")return X;V&&(i=i.slice(0,-1*V*2),f=f.slice(0,-1*V),r=r.slice(0,-1*V)),i.push(this.productions_[N[1]][0]),f.push(F.$),r.push(F._$),tt=v[i[i.length-2]][i[i.length-1]],i.push(tt);break;case 3:return!0}}return!0},"parse")},O=(function(){var T={EOF:1,parseError:l(function(s,i){if(this.yy.parser)this.yy.parser.parseError(s,i);else throw new Error(s)},"parseError"),setInput:l(function(e,s){return this.yy=s||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:l(function(){var e=this._input[0];this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e;var s=e.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:l(function(e){var s=e.length,i=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var h=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var f=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===h.length?this.yylloc.first_column:0)+h[h.length-i.length].length-i[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},"unput"),more:l(function(){return this._more=!0,this},"more"),reject:l(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:l(function(e){this.unput(this.match.slice(e))},"less"),pastInput:l(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var e=this.pastInput(),s=new Array(e.length+1).join("-");return e+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as gt}from"./chunk-5VM5RSS4-
|
|
1
|
+
import{g as gt}from"./chunk-5VM5RSS4-DHUChIkE.js";import{a as mt,g as lt,h as xt,d as kt}from"./chunk-32BRIVSS-DYcgMwLC.js";import{g as _t,s as vt,a as bt,b as wt,o as Tt,n as St,_ as s,c as R,d as X,e as $t,p as Mt}from"./mermaid.core-Cery4OJZ.js";import{d as it}from"./arc-BBWQwcOX.js";import"./index-BWC60m5U.js";var U=(function(){var t=s(function(h,r,n,l){for(n=n||{},l=h.length;l--;n[h[l]]=r);return n},"o"),e=[6,8,10,11,12,14,16,17,18],a=[1,9],f=[1,10],i=[1,11],u=[1,12],p=[1,13],o=[1,14],g={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:s(function(r,n,l,y,d,c,v){var k=c.length-1;switch(d){case 1:return c[k-1];case 2:this.$=[];break;case 3:c[k-1].push(c[k]),this.$=c[k-1];break;case 4:case 5:this.$=c[k];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 9:this.$=c[k].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=c[k].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 13:y.addTask(c[k-1],c[k]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:a,12:f,14:i,16:u,17:p,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:s(function(r,n){if(n.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=n,l}},"parseError"),parse:s(function(r){var n=this,l=[0],y=[],d=[null],c=[],v=this.table,k="",C=0,Q=0,yt=2,D=1,dt=c.slice.call(arguments,1),_=Object.create(this.lexer),I={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(I.yy[O]=this.yy[O]);_.setInput(r,I.yy),I.yy.lexer=_,I.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Y=_.yylloc;c.push(Y);var ft=_.options&&_.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(w){l.length=l.length-2*w,d.length=d.length-w,c.length=c.length-w}s(pt,"popStack");function tt(){var w;return w=y.pop()||_.lex()||D,typeof w!="number"&&(w instanceof Array&&(y=w,w=y.pop()),w=n.symbols_[w]||w),w}s(tt,"lex");for(var b,A,T,q,F={},N,M,et,z;;){if(A=l[l.length-1],this.defaultActions[A]?T=this.defaultActions[A]:((b===null||typeof b>"u")&&(b=tt()),T=v[A]&&v[A][b]),typeof T>"u"||!T.length||!T[0]){var H="";z=[];for(N in v[A])this.terminals_[N]&&N>yt&&z.push("'"+this.terminals_[N]+"'");_.showPosition?H="Parse error on line "+(C+1)+`:
|
|
2
2
|
`+_.showPosition()+`
|
|
3
3
|
Expecting `+z.join(", ")+", got '"+(this.terminals_[b]||b)+"'":H="Parse error on line "+(C+1)+": Unexpected "+(b==D?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(H,{text:_.match,token:this.terminals_[b]||b,line:_.yylineno,loc:Y,expected:z})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+b);switch(T[0]){case 1:l.push(b),d.push(_.yytext),c.push(_.yylloc),l.push(T[1]),b=null,Q=_.yyleng,k=_.yytext,C=_.yylineno,Y=_.yylloc;break;case 2:if(M=this.productions_[T[1]][1],F.$=d[d.length-M],F._$={first_line:c[c.length-(M||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(M||1)].first_column,last_column:c[c.length-1].last_column},ft&&(F._$.range=[c[c.length-(M||1)].range[0],c[c.length-1].range[1]]),q=this.performAction.apply(F,[k,Q,C,I.yy,T[1],d,c].concat(dt)),typeof q<"u")return q;M&&(l=l.slice(0,-1*M*2),d=d.slice(0,-1*M),c=c.slice(0,-1*M)),l.push(this.productions_[T[1]][0]),d.push(F.$),c.push(F._$),et=v[l[l.length-2]][l[l.length-1]],l.push(et);break;case 3:return!0}}return!0},"parse")},m=(function(){var h={EOF:1,parseError:s(function(n,l){if(this.yy.parser)this.yy.parser.parseError(n,l);else throw new Error(n)},"parseError"),setInput:s(function(r,n){return this.yy=n||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:s(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var n=r.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:s(function(r){var n=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===y.length?this.yylloc.first_column:0)+y[y.length-l.length].length-l[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:s(function(r){this.unput(this.match.slice(r))},"less"),pastInput:s(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var r=this.pastInput(),n=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as o,l as te,c as H,D as fe,ad as ye,ae as be,af as me,W as _e,B as K,i as j,G as ke,J as Ee,T as Se,U as ce,V as le}from"./mermaid.core-
|
|
1
|
+
import{_ as o,l as te,c as H,D as fe,ad as ye,ae as be,af as me,W as _e,B as K,i as j,G as ke,J as Ee,T as Se,U as ce,V as le}from"./mermaid.core-Cery4OJZ.js";import{g as Ne}from"./chunk-5VM5RSS4-DHUChIkE.js";import"./index-BWC60m5U.js";var $=(function(){var e=o(function(O,i,n,r){for(n=n||{},r=O.length;r--;n[O[r]]=i);return n},"o"),h=[1,4],p=[1,13],s=[1,12],d=[1,15],_=[1,16],m=[1,20],l=[1,19],D=[6,7,8],I=[1,26],g=[1,24],w=[1,25],k=[6,7,11],F=[1,31],N=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],A=[1,36],L=[1,6,7,11,13,16,17,20,23],U=[1,38],T={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(i,n,r,a,u,t,M){var c=t.length-1;switch(u){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:s,14:14,16:d,17:_,18:17,19:18,20:m,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:s,14:14,16:d,17:_,18:17,19:18,20:m,23:l},{6:p,9:22,12:11,13:s,14:14,16:d,17:_,18:17,19:18,20:m,23:l},{6:I,7:g,10:23,11:w},e(k,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:m,23:l}),e(k,[2,19]),e(k,[2,21],{15:30,24:F}),e(k,[2,22]),e(k,[2,23]),e(N,[2,25]),e(N,[2,26]),e(N,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:g,10:34,11:w},{1:[2,7],6:p,12:21,13:s,14:14,16:d,17:_,18:17,19:18,20:m,23:l},e(V,[2,14],{7:f,11:A}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(k,[2,16],{15:37,24:F}),e(k,[2,17]),e(k,[2,18]),e(k,[2,20],{24:U}),e(N,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:A}),e(L,[2,11]),e(L,[2,12]),e(k,[2,15],{24:U}),e(N,[2,30]),{22:[1,41]},e(N,[2,27]),e(N,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(i,n){if(n.recoverable)this.trace(i);else{var r=new Error(i);throw r.hash=n,r}},"parseError"),parse:o(function(i){var n=this,r=[0],a=[],u=[null],t=[],M=this.table,c="",W=0,se=0,ue=2,re=1,ge=t.slice.call(arguments,1),b=Object.create(this.lexer),R={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(R.yy[J]=this.yy[J]);b.setInput(i,R.yy),R.yy.lexer=b,R.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var q=b.yylloc;t.push(q);var de=b.options&&b.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){r.length=r.length-2*S,u.length=u.length-S,t.length=t.length-S}o(pe,"popStack");function ae(){var S;return S=a.pop()||b.lex()||re,typeof S!="number"&&(S instanceof Array&&(a=S,S=a.pop()),S=n.symbols_[S]||S),S}o(ae,"lex");for(var E,P,x,Q,G={},z,C,oe,X;;){if(P=r[r.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=ae()),x=M[P]&&M[P][E]),typeof x>"u"||!x.length||!x[0]){var Z="";X=[];for(z in M[P])this.terminals_[z]&&z>ue&&X.push("'"+this.terminals_[z]+"'");b.showPosition?Z="Parse error on line "+(W+1)+`:
|
|
2
2
|
`+b.showPosition()+`
|
|
3
3
|
Expecting `+X.join(", ")+", got '"+(this.terminals_[E]||E)+"'":Z="Parse error on line "+(W+1)+": Unexpected "+(E==re?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(Z,{text:b.match,token:this.terminals_[E]||E,line:b.yylineno,loc:q,expected:X})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+E);switch(x[0]){case 1:r.push(E),u.push(b.yytext),t.push(b.yylloc),r.push(x[1]),E=null,se=b.yyleng,c=b.yytext,W=b.yylineno,q=b.yylloc;break;case 2:if(C=this.productions_[x[1]][1],G.$=u[u.length-C],G._$={first_line:t[t.length-(C||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(C||1)].first_column,last_column:t[t.length-1].last_column},de&&(G._$.range=[t[t.length-(C||1)].range[0],t[t.length-1].range[1]]),Q=this.performAction.apply(G,[c,se,W,R.yy,x[1],u,t].concat(ge)),typeof Q<"u")return Q;C&&(r=r.slice(0,-1*C*2),u=u.slice(0,-1*C),t=t.slice(0,-1*C)),r.push(this.productions_[x[1]][0]),u.push(G.$),t.push(G._$),oe=M[r[r.length-2]][r[r.length-1]],r.push(oe);break;case 3:return!0}}return!0},"parse")},Y=(function(){var O={EOF:1,parseError:o(function(n,r){if(this.yy.parser)this.yy.parser.parseError(n,r);else throw new Error(n)},"parseError"),setInput:o(function(i,n){return this.yy=n||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:o(function(i){var n=i.length,r=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(i){this.unput(this.match.slice(i))},"less"),pastInput:o(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|