@layers-app/editor 0.2.3-specific.3 → 0.3.0
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/index.cjs +2 -2
- package/dist/index.d.ts +19 -9
- package/dist/index.js +6 -6
- package/dist/{layers.D6GqnIoL.js → layers.2sOFsgpt.js} +1 -1
- package/dist/{layers.bO7reum0.js → layers.46Oaqi6S.js} +1 -1
- package/dist/{layers.Dak7KYhU.js → layers.4wMwkbzz.js} +1 -1
- package/dist/{layers.wPulzLKc.js → layers.5Fc-eDz_.js} +1 -1
- package/dist/{layers.DsN20L5c.js → layers.5Tm9dPWa.js} +1 -1
- package/dist/{layers.C3zBVCP6.js → layers.5VVP7KN3.js} +7 -8
- package/dist/{layers.FwQD7xoc.js → layers.5h2RcPii.js} +1 -1
- package/dist/{layers.Bzispk1K.js → layers.62fLihH9.js} +1 -1
- package/dist/{layers.Bx-Pnjsp.js → layers.7tkYogen.js} +1 -1
- package/dist/{layers.B40AXz_d.js → layers.8HVSVFE-.js} +1 -1
- package/dist/{layers.DJH3Oczu.js → layers.AZC4YUu_.js} +1 -1
- package/dist/{layers.BFoLPJdJ.js → layers.B1WO8gEK.js} +6 -7
- package/dist/layers.B2tTj5km.js +8 -0
- package/dist/{layers.X4bGPYCi.js → layers.B3eNZiVS.js} +1 -1
- package/dist/{layers.CN_BnwwD.js → layers.B4pYlpG5.js} +8 -9
- package/dist/{layers.Cz3gSlPy.js → layers.B6FBBhIq.js} +6 -7
- package/dist/{layers.BNGBGByI.js → layers.B88Tq9fq.js} +1 -1
- package/dist/{layers.DVO3a2vq.js → layers.B9QOa-CF.js} +1 -1
- package/dist/layers.B9ZnHHGd.js +244 -0
- package/dist/{layers.BXOU2J78.js → layers.BAAAIQgL.js} +4 -5
- package/dist/{layers.BufGvmxX.js → layers.BD0kudED.js} +1 -1
- package/dist/{layers.CXYEnmSC.js → layers.BD5cjyof.js} +1 -1
- package/dist/layers.BDUl16pn.js +1 -0
- package/dist/{layers.CZ2AJtwz.js → layers.BE9kQeZe.js} +1 -1
- package/dist/{layers.gnUyo71v.js → layers.BEKEkSeG.js} +7544 -7306
- package/dist/{layers.C5Pm8xjh.js → layers.BFT6OtgR.js} +1 -1
- package/dist/{layers.BHz2rBwA.js → layers.BH4W4xK9.js} +1 -1
- package/dist/{layers.DP3zcVgG.js → layers.BIj1UrA0.js} +1 -1
- package/dist/{layers.BxEduspa.js → layers.BKytuiiB.js} +2 -2
- package/dist/{layers.BOf-_Cqh.js → layers.BL-Apcgs.js} +5 -6
- package/dist/{layers.DgZDULhU.js → layers.BM0PIwPm.js} +1 -1
- package/dist/{layers.D579n8t3.js → layers.BNkMUXgY.js} +1 -1
- package/dist/{layers.Cmp1tFvN.js → layers.BRg8Z6Fg.js} +4 -4
- package/dist/{layers.DtPnbqA_.js → layers.BSij2zBh.js} +4 -5
- package/dist/{layers.DTS_agg7.js → layers.BT47r9lw.js} +1 -1
- package/dist/{layers.67ca8P_a.js → layers.BUQI8TYR.js} +3 -3
- package/dist/{layers.g4vZ2joo.js → layers.BXD95e_q.js} +5 -6
- package/dist/{layers.B-VxCmsL.js → layers.BXcxE02s.js} +1 -1
- package/dist/{layers.D6Ix71Ra.js → layers.BYJgHe0j.js} +1 -1
- package/dist/{layers.DyG07hWC.js → layers.BZKrOb4j.js} +1 -1
- package/dist/layers.BZsELoBg.js +2 -0
- package/dist/{layers.Dv1cLqRb.js → layers.BZyLsPlK.js} +4 -5
- package/dist/{layers.p0CwMc0K.js → layers.BaHA4Shj.js} +1 -1
- package/dist/{layers.CEC2YCPP.js → layers.Be-cU_ws.js} +1 -1
- package/dist/{layers.bTgkZ1EB.js → layers.BehKr7r4.js} +1 -1
- package/dist/{layers.CYt3zJxQ.js → layers.BfBuL2KB.js} +1 -1
- package/dist/{layers.Dz9O0u7I.js → layers.BfgAhPID.js} +1 -1
- package/dist/{layers.CV14jVb0.js → layers.Bh65sv3c.js} +1 -1
- package/dist/{layers.CjVMlnTi.js → layers.Biiuyvk3.js} +1 -1
- package/dist/{layers.DWOw64KV.js → layers.Bipv0RrA.js} +1 -1
- package/dist/{layers.C240qOel.js → layers.BjA5a3oW.js} +1 -1
- package/dist/{layers.DYVmwncl.js → layers.BkDTMrUN.js} +1 -1
- package/dist/{layers.tYj-c3Ws.js → layers.BlFR1qtc.js} +1 -1
- package/dist/{layers.B5wdUajd.js → layers.BnB_ZCKf.js} +1 -1
- package/dist/{layers.CFhiEE4Y.js → layers.BnRpAAlF.js} +1 -1
- package/dist/{layers.COdw8QXK.js → layers.Bne778y0.js} +1 -1
- package/dist/{layers.D7Khtjje.js → layers.BoWIpGHq.js} +1 -1
- package/dist/{layers.C3odUqou.js → layers.Brjl1KT8.js} +1 -1
- package/dist/{layers.BVgNh-Iw.js → layers.BrwveTp_.js} +13 -14
- package/dist/{layers.vBuM8mOc.js → layers.Bs3nM_3m.js} +1 -1
- package/dist/{layers.sDxsitBJ.js → layers.Bs80VeaG.js} +1 -1
- package/dist/{layers.BAMCe6rY.js → layers.Btw6v4iY.js} +1 -1
- package/dist/{layers.bSgBzs1_.js → layers.BuJcmKuG.js} +1 -1
- package/dist/layers.BubVFU4w.js +1 -0
- package/dist/{layers.BKSyEprl.js → layers.BudVqxFc.js} +1 -1
- package/dist/{layers.CApp6i1s.js → layers.BwDZF6jP.js} +1 -1
- package/dist/{layers.6K1YWQS0.js → layers.BwSoDZk1.js} +1 -1
- package/dist/{layers.B3LgVn5Z.js → layers.Bx1ePve8.js} +1 -1
- package/dist/{layers.BTcFviQh.js → layers.BxzIRQ9I.js} +1 -1
- package/dist/{layers.DIZsGqOX.js → layers.By1Q71yL.js} +1 -1
- package/dist/{layers.BFmC5_Wb.js → layers.Bzzte71n.js} +1 -1
- package/dist/{layers.DesK2flG.js → layers.C-JonM7I.js} +1 -1
- package/dist/{layers.CHDyP1EC.js → layers.C07EEzls.js} +1 -1
- package/dist/{layers.BaiiBfxE.js → layers.C1VtSMXU.js} +1 -1
- package/dist/{layers.CtJGY-ER.js → layers.C1mH2Dk9.js} +1 -1
- package/dist/{layers.BwDMEphM.js → layers.C23xliFJ.js} +1 -1
- package/dist/layers.C6an3iNY.js +8 -0
- package/dist/{layers.BJ0VhEcO.js → layers.C7hSyuhy.js} +1 -1
- package/dist/{layers.qYBhj__-.js → layers.C8YnAQyz.js} +1 -1
- package/dist/{layers.B8CugQhG.js → layers.CAf30VQc.js} +1 -1
- package/dist/{layers.CrR6Cu1_.js → layers.CC0Hhj9e.js} +1 -1
- package/dist/{layers.B29f2yzi.js → layers.CDdlABmL.js} +1 -1
- package/dist/{layers.Bwmv62Hw.js → layers.CEF0QmMB.js} +79 -79
- package/dist/{layers.B7VS62Ai.js → layers.CG8R0qJB.js} +1 -1
- package/dist/{layers.F62HSS8f.js → layers.CI3uwpYk.js} +1 -1
- package/dist/{layers.B5hGu_pV.js → layers.CIBcP2_G.js} +1 -1
- package/dist/{layers.Cg05q7cN.js → layers.CIkLs05n.js} +1 -1
- package/dist/{layers.CMeT89Fo.js → layers.CJEJ4X7s.js} +1 -1
- package/dist/{layers.DA9THp9O.js → layers.CKILpQg6.js} +1 -1
- package/dist/{layers.B8teKozD.js → layers.CLAkkTQF.js} +1 -1
- package/dist/{layers.Ce1gP42h.js → layers.CLf-0Sch.js} +1 -1
- package/dist/{layers.DpdibG49.js → layers.CMsdH6MZ.js} +1 -1
- package/dist/{layers.DyACarL0.js → layers.COzBijJ2.js} +1 -1
- package/dist/{layers.BTntB4FK.js → layers.CPJF7wyf.js} +2 -2
- package/dist/{layers.Bt7i4Yqd.js → layers.CPtyJjDZ.js} +1 -1
- package/dist/{layers.BUvw1WA0.js → layers.CWSqO_Rm.js} +1 -1
- package/dist/layers.CXeLnAYi.js +1 -0
- package/dist/{layers.CQBViyhP.js → layers.CXh6lA3a.js} +1 -1
- package/dist/{layers.itHqlX_Y.js → layers.CYBOlxgn.js} +8 -9
- package/dist/{layers.Da1EGaKb.js → layers.C__5h4aS.js} +1 -1
- package/dist/{layers.BS8sCd2S.js → layers.Cct8dVnE.js} +3 -3
- package/dist/{layers.DzvQ_Q9L.js → layers.CeEElame.js} +1 -1
- package/dist/{layers.BrV5pl2N.js → layers.CkEhdEMJ.js} +1 -1
- package/dist/{layers.snesJ3F3.js → layers.CmU-4IOd.js} +1 -1
- package/dist/layers.CmjlfzqR.js +1 -0
- package/dist/{layers.D06KQS8I.js → layers.CpcqVX72.js} +1 -1
- package/dist/layers.CsJaFpQS.js +285 -0
- package/dist/{layers.DNmSTlRj.js → layers.CuVGCSqO.js} +1 -1
- package/dist/{layers.D62qPJec.js → layers.Cwwx9dqL.js} +1 -1
- package/dist/{layers.DT41qoQi.js → layers.CxGQnE2E.js} +1 -1
- package/dist/{layers.L_R1KTk3.js → layers.Cy6OFGbS.js} +1 -1
- package/dist/{layers.BrMeCTSV.js → layers.Cy9Nv6Fr.js} +1 -1
- package/dist/{layers.6nEef2mA.js → layers.CyEIletN.js} +1 -1
- package/dist/{layers.R9fxh70q.js → layers.CzAXXTsc.js} +1 -1
- package/dist/{layers.lP9cqdkO.js → layers.CzRAqMwS.js} +1 -1
- package/dist/{layers.DgtEgUTm.js → layers.D-Q4XxS7.js} +3520 -2994
- package/dist/{layers.6X1wsse9.js → layers.D-ai8yBe.js} +5 -6
- package/dist/{layers.B_CLw8Z8.js → layers.D0mYhnD_.js} +1 -1
- package/dist/{layers.A4kPz8X8.js → layers.D0snKWX1.js} +1 -1
- package/dist/{layers.Q5fX-Pjx.js → layers.D12qRcsu.js} +1 -1
- package/dist/{layers.B9WqMfzG.js → layers.D48A_dlx.js} +5 -6
- package/dist/{layers.DhSQxY92.js → layers.D4T2Soqk.js} +1 -1
- package/dist/{layers.D5uU7nYF.js → layers.D6a0mAc6.js} +1 -1
- package/dist/{layers.CoJ1A7GX.js → layers.DAwYVZQ2.js} +1 -1
- package/dist/{layers.DTd2aka4.js → layers.DDZEzjTB.js} +1 -1
- package/dist/{layers.BUYdBxSq.js → layers.DEj_-Grg.js} +1 -1
- package/dist/{layers.2oa5MOVJ.js → layers.DGBJxH-i.js} +1 -1
- package/dist/{layers.J9BUarSz.js → layers.DGE3E7fO.js} +1 -1
- package/dist/{layers.Cjpd_JEC.js → layers.DIinupg_.js} +6 -7
- package/dist/{layers.cf7sbt5I.js → layers.DJ29FJsN.js} +1 -1
- package/dist/{layers.Cm36nD0R.js → layers.DJw4J3iL.js} +1 -1
- package/dist/{layers.5M-g3cqt.js → layers.DMfyflRv.js} +3 -3
- package/dist/{layers.Be0EwoHz.js → layers.DONU4DiH.js} +6 -7
- package/dist/layers.DPJY4HYM.js +1 -0
- package/dist/{layers.DipH4XIT.js → layers.DPJYTRtA.js} +1 -1
- package/dist/{layers.DZi5IBK7.js → layers.DPj1fZP9.js} +7 -8
- package/dist/{layers.DimPFg1y.js → layers.DQAUau8M.js} +1 -1
- package/dist/{layers.DHVFuixE.js → layers.DQDnK58Z.js} +1 -1
- package/dist/{layers.aF5Se60W.js → layers.DS9XrncL.js} +1 -1
- package/dist/{layers.CBQXX09F.js → layers.DWJeFUzg.js} +1 -1
- package/dist/{layers.BQMPPC0D.js → layers.DWjc_eMo.js} +1 -1
- package/dist/{layers.CoCXJNYR.js → layers.DWkisZo-.js} +1 -1
- package/dist/{layers.BlUn-Ykk.js → layers.DYKoL1v7.js} +5 -6
- package/dist/{layers.vPlrYm6B.js → layers.D_7_4U6H.js} +1 -1
- package/dist/{layers.RsxQaMxf.js → layers.D_duxQPK.js} +1 -1
- package/dist/{layers.C5AgHcnL.js → layers.Dc17KGUJ.js} +1 -1
- package/dist/{layers.D-P7pnJi.js → layers.DclYra1-.js} +1 -1
- package/dist/{layers.SajCBg7m.js → layers.Dcv9yczD.js} +1 -1
- package/dist/{layers.DlHIiPlW.js → layers.DdJlEJId.js} +1 -1
- package/dist/{layers.B_FfhtCZ.js → layers.DhVu4iGF.js} +14117 -13708
- package/dist/layers.DjOFnT8v.js +1 -0
- package/dist/{layers.Dbu8jxbu.js → layers.Dngs5OpP.js} +1 -1
- package/dist/{layers.CCDH1QbA.js → layers.DooAEuei.js} +1 -1
- package/dist/{layers.BiAsLcrG.js → layers.DqNkUvmt.js} +1 -1
- package/dist/{layers.CypoJKqx.js → layers.Dql9KEZr.js} +5 -6
- package/dist/{layers.C75id8jo.js → layers.DuEB1Y-T.js} +1 -1
- package/dist/{layers.v16TTnnM.js → layers.DuiJZjBm.js} +1 -1
- package/dist/layers.Dz3X0MlG.js +161 -0
- package/dist/{layers.CXZF-cit.js → layers.DzLp1nNI.js} +1 -1
- package/dist/{layers.CQRSWYsV.js → layers.DzOX-fH0.js} +1 -1
- package/dist/layers.DzVuFvx3.js +2 -0
- package/dist/{layers.BJbU5BHe.js → layers.DzrKg1RQ.js} +1 -1
- package/dist/{layers.BOPOoqtR.js → layers.F84K5xXI.js} +1 -1
- package/dist/{layers.cZLcSaSP.js → layers.K2uXkFD_.js} +1 -1
- package/dist/{layers.CMditKLe.js → layers.KB-lMlC4.js} +1 -1
- package/dist/layers.LQullGbk.js +1 -0
- package/dist/{layers.Hw42nr2F.js → layers.MOxoSbw2.js} +1 -1
- package/dist/{layers.CIlTGlgv.js → layers.NWZBwKEK.js} +1 -1
- package/dist/layers.O0NSmzEc.js +73 -0
- package/dist/{layers.DX7oWSsD.js → layers.R_5lXX8D.js} +1 -1
- package/dist/{layers.Bb5IdU8_.js → layers.UJU8qQAn.js} +1 -1
- package/dist/{layers.B1pfFQf9.js → layers.XPl1C4Xv.js} +1 -1
- package/dist/{layers.eI740swO.js → layers.XcKE2JQ1.js} +1 -1
- package/dist/{layers.pKUI0IrX.js → layers.YXQx_NJy.js} +3 -3
- package/dist/{layers.kRQL9_1_.js → layers.Y_OQ_zog.js} +1 -1
- package/dist/{layers.RzIbYXxC.js → layers.Z4o2OOf5.js} +4 -4
- package/dist/{layers.xNB6wmTq.js → layers._VwDTgZW.js} +1 -1
- package/dist/{layers.BxNRVvib.js → layers._mYyPoAM.js} +1 -1
- package/dist/{layers.Bi1qwPs0.js → layers.aZknhRkQ.js} +1 -1
- package/dist/{layers.DHr_lDCA.js → layers.dFLqx2yF.js} +1 -1
- package/dist/{layers.BBGjXC9z.js → layers.dk1FdSQs.js} +1 -1
- package/dist/{layers.ClUKnJ7m.js → layers.hXK5MQUI.js} +1 -1
- package/dist/{layers.BfUQ73dN.js → layers.iSI2Ixu0.js} +1 -1
- package/dist/{layers.bV_yms4N.js → layers.ijvnT6-f.js} +1 -1
- package/dist/{layers.Cmju9J_z.js → layers.iuKQqbaH.js} +11 -12
- package/dist/{layers.C6ecF1iT.js → layers.kb3mM5t_.js} +6 -6
- package/dist/{layers.Be9qa7Ny.js → layers.lmIdYb5_.js} +1 -1
- package/dist/layers.mwHjQPRu.js +257 -0
- package/dist/{layers.B2mx50Di.js → layers.n7qcjq92.js} +1 -1
- package/dist/{layers.CDQZM8kz.js → layers.oTwVbcUa.js} +2 -2
- package/dist/{layers.DrvC6QMD.js → layers.pL-8PKFv.js} +1 -1
- package/dist/{layers.Bm-u79Al.js → layers.rD_yeisW.js} +1 -1
- package/dist/{layers.B-AxwAIy.js → layers.rXaivo1G.js} +89 -90
- package/dist/layers.s7jiwsxb.js +96 -0
- package/dist/{layers.C5R-uiPA.js → layers.sDmQeN5H.js} +6 -7
- package/dist/{layers.CJcnFprP.js → layers.tAblKoS0.js} +1 -1
- package/dist/layers.u7Ns5vGH.js +230 -0
- package/dist/{layers.CwObcDUF.js → layers.x9pj1ZgJ.js} +1 -1
- package/dist/layers.xKmy9hl8.js +6 -0
- package/dist/layers.xSKkAVrl.js +1 -0
- package/dist/{layers.BcPMpL_X.js → layers.xrnbA0Hx.js} +1 -1
- package/dist/{layers.gi1xszBh.js → layers.xuA-KjdM.js} +6 -7
- package/package.json +3 -2
- package/dist/layers.B4G8aOjk.js +0 -342
- package/dist/layers.BGjURAUC.js +0 -8
- package/dist/layers.BOXXovpq.js +0 -1
- package/dist/layers.BWe8pZzH.js +0 -1
- package/dist/layers.BXNFflBM.js +0 -1
- package/dist/layers.BY3QhcjO.js +0 -1
- package/dist/layers.BcSLF4Xt.js +0 -159
- package/dist/layers.BrQ3tjNS.js +0 -52846
- package/dist/layers.Bwc5zYGw.js +0 -1
- package/dist/layers.C1C8Dy24.js +0 -137
- package/dist/layers.C8NfZMN7.js +0 -2
- package/dist/layers.CGfsiFou.js +0 -257
- package/dist/layers.D3jhkMKI.js +0 -230
- package/dist/layers.EGafIndU.js +0 -8
- package/dist/layers.E_D59Yym.js +0 -285
- package/dist/layers.GHnZTJ9O.js +0 -2
- package/dist/layers.JnHNUJic.js +0 -6
- package/dist/layers.K8XDZTme.js +0 -1
- package/dist/layers.RGOSJmZU.js +0 -1
- package/dist/layers.dleF6oa5.js +0 -95
- package/dist/layers.eYFoHPwR.js +0 -528
- package/dist/layers.pPLY34nb.js +0 -2
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { a as Ce, s as Fe, b as Me, c as De, g as Te, d as oe, e as Pe, q as Ye, l as Ne, j as ke } from "./layers.
|
|
1
|
+
import { a as Ce, s as Fe, b as Me, c as De, g as Te, d as oe, e as Pe, q as Ye, l as Ne, j as ke } from "./layers.D-Q4XxS7.js";
|
|
2
2
|
import "lodash-es";
|
|
3
3
|
import { l as Ue } from "./layers.D4fGb2cV.js";
|
|
4
4
|
import { G as Be } from "./layers.C7lIplJU.js";
|
|
5
|
-
import "./layers.
|
|
6
|
-
import "./layers.
|
|
7
|
-
import { l as Qe } from "./layers.D5uU7nYF.js";
|
|
5
|
+
import "./layers.BEKEkSeG.js";
|
|
6
|
+
import { l as Qe } from "./layers.D6a0mAc6.js";
|
|
8
7
|
var ce = (function() {
|
|
9
|
-
var e = function(V, i,
|
|
10
|
-
for (
|
|
8
|
+
var e = function(V, i, r, a) {
|
|
9
|
+
for (r = r || {}, a = V.length; a--; r[V[a]] = i)
|
|
11
10
|
;
|
|
12
|
-
return
|
|
11
|
+
return r;
|
|
13
12
|
}, t = [1, 3], l = [1, 4], c = [1, 5], u = [1, 6], d = [5, 6, 8, 9, 11, 13, 31, 32, 33, 34, 35, 36, 44, 62, 63], p = [1, 18], h = [2, 7], o = [1, 22], g = [1, 23], R = [1, 24], A = [1, 25], T = [1, 26], N = [1, 27], v = [1, 20], k = [1, 28], x = [1, 29], F = [62, 63], de = [5, 8, 9, 11, 13, 31, 32, 33, 34, 35, 36, 44, 51, 53, 62, 63], pe = [1, 47], fe = [1, 48], ye = [1, 49], _e = [1, 50], ge = [1, 51], Ee = [1, 52], Re = [1, 53], O = [53, 54], M = [1, 64], D = [1, 60], P = [1, 61], Y = [1, 62], U = [1, 63], B = [1, 65], j = [1, 69], z = [1, 70], X = [1, 67], J = [1, 68], m = [5, 8, 9, 11, 13, 31, 32, 33, 34, 35, 36, 44, 62, 63], ie = {
|
|
14
13
|
trace: function() {
|
|
15
14
|
},
|
|
@@ -17,125 +16,125 @@ var ce = (function() {
|
|
|
17
16
|
symbols_: { error: 2, start: 3, directive: 4, NEWLINE: 5, RD: 6, diagram: 7, EOF: 8, acc_title: 9, acc_title_value: 10, acc_descr: 11, acc_descr_value: 12, acc_descr_multiline_value: 13, requirementDef: 14, elementDef: 15, relationshipDef: 16, requirementType: 17, requirementName: 18, STRUCT_START: 19, requirementBody: 20, ID: 21, COLONSEP: 22, id: 23, TEXT: 24, text: 25, RISK: 26, riskLevel: 27, VERIFYMTHD: 28, verifyType: 29, STRUCT_STOP: 30, REQUIREMENT: 31, FUNCTIONAL_REQUIREMENT: 32, INTERFACE_REQUIREMENT: 33, PERFORMANCE_REQUIREMENT: 34, PHYSICAL_REQUIREMENT: 35, DESIGN_CONSTRAINT: 36, LOW_RISK: 37, MED_RISK: 38, HIGH_RISK: 39, VERIFY_ANALYSIS: 40, VERIFY_DEMONSTRATION: 41, VERIFY_INSPECTION: 42, VERIFY_TEST: 43, ELEMENT: 44, elementName: 45, elementBody: 46, TYPE: 47, type: 48, DOCREF: 49, ref: 50, END_ARROW_L: 51, relationship: 52, LINE: 53, END_ARROW_R: 54, CONTAINS: 55, COPIES: 56, DERIVES: 57, SATISFIES: 58, VERIFIES: 59, REFINES: 60, TRACES: 61, unqString: 62, qString: 63, $accept: 0, $end: 1 },
|
|
18
17
|
terminals_: { 2: "error", 5: "NEWLINE", 6: "RD", 8: "EOF", 9: "acc_title", 10: "acc_title_value", 11: "acc_descr", 12: "acc_descr_value", 13: "acc_descr_multiline_value", 19: "STRUCT_START", 21: "ID", 22: "COLONSEP", 24: "TEXT", 26: "RISK", 28: "VERIFYMTHD", 30: "STRUCT_STOP", 31: "REQUIREMENT", 32: "FUNCTIONAL_REQUIREMENT", 33: "INTERFACE_REQUIREMENT", 34: "PERFORMANCE_REQUIREMENT", 35: "PHYSICAL_REQUIREMENT", 36: "DESIGN_CONSTRAINT", 37: "LOW_RISK", 38: "MED_RISK", 39: "HIGH_RISK", 40: "VERIFY_ANALYSIS", 41: "VERIFY_DEMONSTRATION", 42: "VERIFY_INSPECTION", 43: "VERIFY_TEST", 44: "ELEMENT", 47: "TYPE", 49: "DOCREF", 51: "END_ARROW_L", 53: "LINE", 54: "END_ARROW_R", 55: "CONTAINS", 56: "COPIES", 57: "DERIVES", 58: "SATISFIES", 59: "VERIFIES", 60: "REFINES", 61: "TRACES", 62: "unqString", 63: "qString" },
|
|
19
18
|
productions_: [0, [3, 3], [3, 2], [3, 4], [4, 2], [4, 2], [4, 1], [7, 0], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [14, 5], [20, 5], [20, 5], [20, 5], [20, 5], [20, 2], [20, 1], [17, 1], [17, 1], [17, 1], [17, 1], [17, 1], [17, 1], [27, 1], [27, 1], [27, 1], [29, 1], [29, 1], [29, 1], [29, 1], [15, 5], [46, 5], [46, 5], [46, 2], [46, 1], [16, 5], [16, 5], [52, 1], [52, 1], [52, 1], [52, 1], [52, 1], [52, 1], [52, 1], [18, 1], [18, 1], [23, 1], [23, 1], [25, 1], [25, 1], [45, 1], [45, 1], [48, 1], [48, 1], [50, 1], [50, 1]],
|
|
20
|
-
performAction: function(i,
|
|
19
|
+
performAction: function(i, r, a, n, f, s, W) {
|
|
21
20
|
var _ = s.length - 1;
|
|
22
21
|
switch (f) {
|
|
23
22
|
case 4:
|
|
24
|
-
this.$ = s[_].trim(),
|
|
23
|
+
this.$ = s[_].trim(), n.setAccTitle(this.$);
|
|
25
24
|
break;
|
|
26
25
|
case 5:
|
|
27
26
|
case 6:
|
|
28
|
-
this.$ = s[_].trim(),
|
|
27
|
+
this.$ = s[_].trim(), n.setAccDescription(this.$);
|
|
29
28
|
break;
|
|
30
29
|
case 7:
|
|
31
30
|
this.$ = [];
|
|
32
31
|
break;
|
|
33
32
|
case 13:
|
|
34
|
-
|
|
33
|
+
n.addRequirement(s[_ - 3], s[_ - 4]);
|
|
35
34
|
break;
|
|
36
35
|
case 14:
|
|
37
|
-
|
|
36
|
+
n.setNewReqId(s[_ - 2]);
|
|
38
37
|
break;
|
|
39
38
|
case 15:
|
|
40
|
-
|
|
39
|
+
n.setNewReqText(s[_ - 2]);
|
|
41
40
|
break;
|
|
42
41
|
case 16:
|
|
43
|
-
|
|
42
|
+
n.setNewReqRisk(s[_ - 2]);
|
|
44
43
|
break;
|
|
45
44
|
case 17:
|
|
46
|
-
|
|
45
|
+
n.setNewReqVerifyMethod(s[_ - 2]);
|
|
47
46
|
break;
|
|
48
47
|
case 20:
|
|
49
|
-
this.$ =
|
|
48
|
+
this.$ = n.RequirementType.REQUIREMENT;
|
|
50
49
|
break;
|
|
51
50
|
case 21:
|
|
52
|
-
this.$ =
|
|
51
|
+
this.$ = n.RequirementType.FUNCTIONAL_REQUIREMENT;
|
|
53
52
|
break;
|
|
54
53
|
case 22:
|
|
55
|
-
this.$ =
|
|
54
|
+
this.$ = n.RequirementType.INTERFACE_REQUIREMENT;
|
|
56
55
|
break;
|
|
57
56
|
case 23:
|
|
58
|
-
this.$ =
|
|
57
|
+
this.$ = n.RequirementType.PERFORMANCE_REQUIREMENT;
|
|
59
58
|
break;
|
|
60
59
|
case 24:
|
|
61
|
-
this.$ =
|
|
60
|
+
this.$ = n.RequirementType.PHYSICAL_REQUIREMENT;
|
|
62
61
|
break;
|
|
63
62
|
case 25:
|
|
64
|
-
this.$ =
|
|
63
|
+
this.$ = n.RequirementType.DESIGN_CONSTRAINT;
|
|
65
64
|
break;
|
|
66
65
|
case 26:
|
|
67
|
-
this.$ =
|
|
66
|
+
this.$ = n.RiskLevel.LOW_RISK;
|
|
68
67
|
break;
|
|
69
68
|
case 27:
|
|
70
|
-
this.$ =
|
|
69
|
+
this.$ = n.RiskLevel.MED_RISK;
|
|
71
70
|
break;
|
|
72
71
|
case 28:
|
|
73
|
-
this.$ =
|
|
72
|
+
this.$ = n.RiskLevel.HIGH_RISK;
|
|
74
73
|
break;
|
|
75
74
|
case 29:
|
|
76
|
-
this.$ =
|
|
75
|
+
this.$ = n.VerifyType.VERIFY_ANALYSIS;
|
|
77
76
|
break;
|
|
78
77
|
case 30:
|
|
79
|
-
this.$ =
|
|
78
|
+
this.$ = n.VerifyType.VERIFY_DEMONSTRATION;
|
|
80
79
|
break;
|
|
81
80
|
case 31:
|
|
82
|
-
this.$ =
|
|
81
|
+
this.$ = n.VerifyType.VERIFY_INSPECTION;
|
|
83
82
|
break;
|
|
84
83
|
case 32:
|
|
85
|
-
this.$ =
|
|
84
|
+
this.$ = n.VerifyType.VERIFY_TEST;
|
|
86
85
|
break;
|
|
87
86
|
case 33:
|
|
88
|
-
|
|
87
|
+
n.addElement(s[_ - 3]);
|
|
89
88
|
break;
|
|
90
89
|
case 34:
|
|
91
|
-
|
|
90
|
+
n.setNewElementType(s[_ - 2]);
|
|
92
91
|
break;
|
|
93
92
|
case 35:
|
|
94
|
-
|
|
93
|
+
n.setNewElementDocRef(s[_ - 2]);
|
|
95
94
|
break;
|
|
96
95
|
case 38:
|
|
97
|
-
|
|
96
|
+
n.addRelationship(s[_ - 2], s[_], s[_ - 4]);
|
|
98
97
|
break;
|
|
99
98
|
case 39:
|
|
100
|
-
|
|
99
|
+
n.addRelationship(s[_ - 2], s[_ - 4], s[_]);
|
|
101
100
|
break;
|
|
102
101
|
case 40:
|
|
103
|
-
this.$ =
|
|
102
|
+
this.$ = n.Relationships.CONTAINS;
|
|
104
103
|
break;
|
|
105
104
|
case 41:
|
|
106
|
-
this.$ =
|
|
105
|
+
this.$ = n.Relationships.COPIES;
|
|
107
106
|
break;
|
|
108
107
|
case 42:
|
|
109
|
-
this.$ =
|
|
108
|
+
this.$ = n.Relationships.DERIVES;
|
|
110
109
|
break;
|
|
111
110
|
case 43:
|
|
112
|
-
this.$ =
|
|
111
|
+
this.$ = n.Relationships.SATISFIES;
|
|
113
112
|
break;
|
|
114
113
|
case 44:
|
|
115
|
-
this.$ =
|
|
114
|
+
this.$ = n.Relationships.VERIFIES;
|
|
116
115
|
break;
|
|
117
116
|
case 45:
|
|
118
|
-
this.$ =
|
|
117
|
+
this.$ = n.Relationships.REFINES;
|
|
119
118
|
break;
|
|
120
119
|
case 46:
|
|
121
|
-
this.$ =
|
|
120
|
+
this.$ = n.Relationships.TRACES;
|
|
122
121
|
break;
|
|
123
122
|
}
|
|
124
123
|
},
|
|
125
124
|
table: [{ 3: 1, 4: 2, 6: t, 9: l, 11: c, 13: u }, { 1: [3] }, { 3: 8, 4: 2, 5: [1, 7], 6: t, 9: l, 11: c, 13: u }, { 5: [1, 9] }, { 10: [1, 10] }, { 12: [1, 11] }, e(d, [2, 6]), { 3: 12, 4: 2, 6: t, 9: l, 11: c, 13: u }, { 1: [2, 2] }, { 4: 17, 5: p, 7: 13, 8: h, 9: l, 11: c, 13: u, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: o, 32: g, 33: R, 34: A, 35: T, 36: N, 44: v, 62: k, 63: x }, e(d, [2, 4]), e(d, [2, 5]), { 1: [2, 1] }, { 8: [1, 30] }, { 4: 17, 5: p, 7: 31, 8: h, 9: l, 11: c, 13: u, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: o, 32: g, 33: R, 34: A, 35: T, 36: N, 44: v, 62: k, 63: x }, { 4: 17, 5: p, 7: 32, 8: h, 9: l, 11: c, 13: u, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: o, 32: g, 33: R, 34: A, 35: T, 36: N, 44: v, 62: k, 63: x }, { 4: 17, 5: p, 7: 33, 8: h, 9: l, 11: c, 13: u, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: o, 32: g, 33: R, 34: A, 35: T, 36: N, 44: v, 62: k, 63: x }, { 4: 17, 5: p, 7: 34, 8: h, 9: l, 11: c, 13: u, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: o, 32: g, 33: R, 34: A, 35: T, 36: N, 44: v, 62: k, 63: x }, { 4: 17, 5: p, 7: 35, 8: h, 9: l, 11: c, 13: u, 14: 14, 15: 15, 16: 16, 17: 19, 23: 21, 31: o, 32: g, 33: R, 34: A, 35: T, 36: N, 44: v, 62: k, 63: x }, { 18: 36, 62: [1, 37], 63: [1, 38] }, { 45: 39, 62: [1, 40], 63: [1, 41] }, { 51: [1, 42], 53: [1, 43] }, e(F, [2, 20]), e(F, [2, 21]), e(F, [2, 22]), e(F, [2, 23]), e(F, [2, 24]), e(F, [2, 25]), e(de, [2, 49]), e(de, [2, 50]), { 1: [2, 3] }, { 8: [2, 8] }, { 8: [2, 9] }, { 8: [2, 10] }, { 8: [2, 11] }, { 8: [2, 12] }, { 19: [1, 44] }, { 19: [2, 47] }, { 19: [2, 48] }, { 19: [1, 45] }, { 19: [2, 53] }, { 19: [2, 54] }, { 52: 46, 55: pe, 56: fe, 57: ye, 58: _e, 59: ge, 60: Ee, 61: Re }, { 52: 54, 55: pe, 56: fe, 57: ye, 58: _e, 59: ge, 60: Ee, 61: Re }, { 5: [1, 55] }, { 5: [1, 56] }, { 53: [1, 57] }, e(O, [2, 40]), e(O, [2, 41]), e(O, [2, 42]), e(O, [2, 43]), e(O, [2, 44]), e(O, [2, 45]), e(O, [2, 46]), { 54: [1, 58] }, { 5: M, 20: 59, 21: D, 24: P, 26: Y, 28: U, 30: B }, { 5: j, 30: z, 46: 66, 47: X, 49: J }, { 23: 71, 62: k, 63: x }, { 23: 72, 62: k, 63: x }, e(m, [2, 13]), { 22: [1, 73] }, { 22: [1, 74] }, { 22: [1, 75] }, { 22: [1, 76] }, { 5: M, 20: 77, 21: D, 24: P, 26: Y, 28: U, 30: B }, e(m, [2, 19]), e(m, [2, 33]), { 22: [1, 78] }, { 22: [1, 79] }, { 5: j, 30: z, 46: 80, 47: X, 49: J }, e(m, [2, 37]), e(m, [2, 38]), e(m, [2, 39]), { 23: 81, 62: k, 63: x }, { 25: 82, 62: [1, 83], 63: [1, 84] }, { 27: 85, 37: [1, 86], 38: [1, 87], 39: [1, 88] }, { 29: 89, 40: [1, 90], 41: [1, 91], 42: [1, 92], 43: [1, 93] }, e(m, [2, 18]), { 48: 94, 62: [1, 95], 63: [1, 96] }, { 50: 97, 62: [1, 98], 63: [1, 99] }, e(m, [2, 36]), { 5: [1, 100] }, { 5: [1, 101] }, { 5: [2, 51] }, { 5: [2, 52] }, { 5: [1, 102] }, { 5: [2, 26] }, { 5: [2, 27] }, { 5: [2, 28] }, { 5: [1, 103] }, { 5: [2, 29] }, { 5: [2, 30] }, { 5: [2, 31] }, { 5: [2, 32] }, { 5: [1, 104] }, { 5: [2, 55] }, { 5: [2, 56] }, { 5: [1, 105] }, { 5: [2, 57] }, { 5: [2, 58] }, { 5: M, 20: 106, 21: D, 24: P, 26: Y, 28: U, 30: B }, { 5: M, 20: 107, 21: D, 24: P, 26: Y, 28: U, 30: B }, { 5: M, 20: 108, 21: D, 24: P, 26: Y, 28: U, 30: B }, { 5: M, 20: 109, 21: D, 24: P, 26: Y, 28: U, 30: B }, { 5: j, 30: z, 46: 110, 47: X, 49: J }, { 5: j, 30: z, 46: 111, 47: X, 49: J }, e(m, [2, 14]), e(m, [2, 15]), e(m, [2, 16]), e(m, [2, 17]), e(m, [2, 34]), e(m, [2, 35])],
|
|
126
125
|
defaultActions: { 8: [2, 2], 12: [2, 1], 30: [2, 3], 31: [2, 8], 32: [2, 9], 33: [2, 10], 34: [2, 11], 35: [2, 12], 37: [2, 47], 38: [2, 48], 40: [2, 53], 41: [2, 54], 83: [2, 51], 84: [2, 52], 86: [2, 26], 87: [2, 27], 88: [2, 28], 90: [2, 29], 91: [2, 30], 92: [2, 31], 93: [2, 32], 95: [2, 55], 96: [2, 56], 98: [2, 57], 99: [2, 58] },
|
|
127
|
-
parseError: function(i,
|
|
128
|
-
if (
|
|
126
|
+
parseError: function(i, r) {
|
|
127
|
+
if (r.recoverable)
|
|
129
128
|
this.trace(i);
|
|
130
129
|
else {
|
|
131
130
|
var a = new Error(i);
|
|
132
|
-
throw a.hash =
|
|
131
|
+
throw a.hash = r, a;
|
|
133
132
|
}
|
|
134
133
|
},
|
|
135
134
|
parse: function(i) {
|
|
136
|
-
var
|
|
137
|
-
for (var
|
|
138
|
-
Object.prototype.hasOwnProperty.call(this.yy,
|
|
135
|
+
var r = this, a = [0], n = [], f = [null], s = [], W = this.table, _ = "", Z = 0, me = 0, Ve = 2, Ie = 1, qe = s.slice.call(arguments, 1), E = Object.create(this.lexer), L = { yy: {} };
|
|
136
|
+
for (var re in this.yy)
|
|
137
|
+
Object.prototype.hasOwnProperty.call(this.yy, re) && (L.yy[re] = this.yy[re]);
|
|
139
138
|
E.setInput(i, L.yy), L.yy.lexer = E, L.yy.parser = this, typeof E.yylloc > "u" && (E.yylloc = {});
|
|
140
139
|
var se = E.yylloc;
|
|
141
140
|
s.push(se);
|
|
@@ -143,7 +142,7 @@ var ce = (function() {
|
|
|
143
142
|
typeof L.yy.parseError == "function" ? this.parseError = L.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
144
143
|
function Le() {
|
|
145
144
|
var $;
|
|
146
|
-
return $ =
|
|
145
|
+
return $ = n.pop() || E.lex() || Ie, typeof $ != "number" && ($ instanceof Array && (n = $, $ = n.pop()), $ = r.symbols_[$] || $), $;
|
|
147
146
|
}
|
|
148
147
|
for (var I, C, S, ae, Q = {}, ee, w, be, te; ; ) {
|
|
149
148
|
if (C = a[a.length - 1], this.defaultActions[C] ? S = this.defaultActions[C] : ((I === null || typeof I > "u") && (I = Le()), S = W[C] && W[C][I]), typeof S > "u" || !S.length || !S[0]) {
|
|
@@ -197,15 +196,15 @@ Expecting ` + te.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : le =
|
|
|
197
196
|
}, $e = /* @__PURE__ */ (function() {
|
|
198
197
|
var V = {
|
|
199
198
|
EOF: 1,
|
|
200
|
-
parseError: function(
|
|
199
|
+
parseError: function(r, a) {
|
|
201
200
|
if (this.yy.parser)
|
|
202
|
-
this.yy.parser.parseError(
|
|
201
|
+
this.yy.parser.parseError(r, a);
|
|
203
202
|
else
|
|
204
|
-
throw new Error(
|
|
203
|
+
throw new Error(r);
|
|
205
204
|
},
|
|
206
205
|
// resets the lexer, sets new input
|
|
207
|
-
setInput: function(i,
|
|
208
|
-
return this.yy =
|
|
206
|
+
setInput: function(i, r) {
|
|
207
|
+
return this.yy = r || 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 = {
|
|
209
208
|
first_line: 1,
|
|
210
209
|
first_column: 0,
|
|
211
210
|
last_line: 1,
|
|
@@ -216,22 +215,22 @@ Expecting ` + te.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : le =
|
|
|
216
215
|
input: function() {
|
|
217
216
|
var i = this._input[0];
|
|
218
217
|
this.yytext += i, this.yyleng++, this.offset++, this.match += i, this.matched += i;
|
|
219
|
-
var
|
|
220
|
-
return
|
|
218
|
+
var r = i.match(/(?:\r\n?|\n).*/g);
|
|
219
|
+
return r ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), i;
|
|
221
220
|
},
|
|
222
221
|
// unshifts one char (or a string) into the input
|
|
223
222
|
unput: function(i) {
|
|
224
|
-
var
|
|
225
|
-
this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length -
|
|
226
|
-
var
|
|
223
|
+
var r = i.length, a = i.split(/(?:\r\n?|\n)/g);
|
|
224
|
+
this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - r), this.offset -= r;
|
|
225
|
+
var n = this.match.split(/(?:\r\n?|\n)/g);
|
|
227
226
|
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), a.length - 1 && (this.yylineno -= a.length - 1);
|
|
228
227
|
var f = this.yylloc.range;
|
|
229
228
|
return this.yylloc = {
|
|
230
229
|
first_line: this.yylloc.first_line,
|
|
231
230
|
last_line: this.yylineno + 1,
|
|
232
231
|
first_column: this.yylloc.first_column,
|
|
233
|
-
last_column: a ? (a.length ===
|
|
234
|
-
}, this.options.ranges && (this.yylloc.range = [f[0], f[0] + this.yyleng -
|
|
232
|
+
last_column: a ? (a.length === n.length ? this.yylloc.first_column : 0) + n[n.length - a.length].length - a[0].length : this.yylloc.first_column - r
|
|
233
|
+
}, this.options.ranges && (this.yylloc.range = [f[0], f[0] + this.yyleng - r]), this.yyleng = this.yytext.length, this;
|
|
235
234
|
},
|
|
236
235
|
// When called from action, caches matched text and appends it on next action
|
|
237
236
|
more: function() {
|
|
@@ -266,13 +265,13 @@ Expecting ` + te.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : le =
|
|
|
266
265
|
},
|
|
267
266
|
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
268
267
|
showPosition: function() {
|
|
269
|
-
var i = this.pastInput(),
|
|
268
|
+
var i = this.pastInput(), r = new Array(i.length + 1).join("-");
|
|
270
269
|
return i + this.upcomingInput() + `
|
|
271
|
-
` +
|
|
270
|
+
` + r + "^";
|
|
272
271
|
},
|
|
273
272
|
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
274
|
-
test_match: function(i,
|
|
275
|
-
var a,
|
|
273
|
+
test_match: function(i, r) {
|
|
274
|
+
var a, n, f;
|
|
276
275
|
if (this.options.backtrack_lexer && (f = {
|
|
277
276
|
yylineno: this.yylineno,
|
|
278
277
|
yylloc: {
|
|
@@ -292,12 +291,12 @@ Expecting ` + te.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : le =
|
|
|
292
291
|
yy: this.yy,
|
|
293
292
|
conditionStack: this.conditionStack.slice(0),
|
|
294
293
|
done: this.done
|
|
295
|
-
}, this.options.ranges && (f.yylloc.range = this.yylloc.range.slice(0))),
|
|
294
|
+
}, this.options.ranges && (f.yylloc.range = this.yylloc.range.slice(0))), n = i[0].match(/(?:\r\n?|\n).*/g), n && (this.yylineno += n.length), this.yylloc = {
|
|
296
295
|
first_line: this.yylloc.last_line,
|
|
297
296
|
last_line: this.yylineno + 1,
|
|
298
297
|
first_column: this.yylloc.last_column,
|
|
299
|
-
last_column:
|
|
300
|
-
}, this.yytext += i[0], this.match += i[0], this.matches = i, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(i[0].length), this.matched += i[0], a = this.performAction.call(this, this.yy, this,
|
|
298
|
+
last_column: n ? n[n.length - 1].length - n[n.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + i[0].length
|
|
299
|
+
}, this.yytext += i[0], this.match += i[0], this.matches = i, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(i[0].length), this.matched += i[0], a = this.performAction.call(this, this.yy, this, r, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), a)
|
|
301
300
|
return a;
|
|
302
301
|
if (this._backtrack) {
|
|
303
302
|
for (var s in f)
|
|
@@ -311,22 +310,22 @@ Expecting ` + te.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : le =
|
|
|
311
310
|
if (this.done)
|
|
312
311
|
return this.EOF;
|
|
313
312
|
this._input || (this.done = !0);
|
|
314
|
-
var i,
|
|
313
|
+
var i, r, a, n;
|
|
315
314
|
this._more || (this.yytext = "", this.match = "");
|
|
316
315
|
for (var f = this._currentRules(), s = 0; s < f.length; s++)
|
|
317
|
-
if (a = this._input.match(this.rules[f[s]]), a && (!
|
|
318
|
-
if (
|
|
316
|
+
if (a = this._input.match(this.rules[f[s]]), a && (!r || a[0].length > r[0].length)) {
|
|
317
|
+
if (r = a, n = s, this.options.backtrack_lexer) {
|
|
319
318
|
if (i = this.test_match(a, f[s]), i !== !1)
|
|
320
319
|
return i;
|
|
321
320
|
if (this._backtrack) {
|
|
322
|
-
|
|
321
|
+
r = !1;
|
|
323
322
|
continue;
|
|
324
323
|
} else
|
|
325
324
|
return !1;
|
|
326
325
|
} else if (!this.options.flex)
|
|
327
326
|
break;
|
|
328
327
|
}
|
|
329
|
-
return
|
|
328
|
+
return r ? (i = this.test_match(r, f[n]), i !== !1 ? i : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
330
329
|
` + this.showPosition(), {
|
|
331
330
|
text: "",
|
|
332
331
|
token: null,
|
|
@@ -335,37 +334,37 @@ Expecting ` + te.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : le =
|
|
|
335
334
|
},
|
|
336
335
|
// return next match that has a token
|
|
337
336
|
lex: function() {
|
|
338
|
-
var
|
|
339
|
-
return
|
|
337
|
+
var r = this.next();
|
|
338
|
+
return r || this.lex();
|
|
340
339
|
},
|
|
341
340
|
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
342
|
-
begin: function(
|
|
343
|
-
this.conditionStack.push(
|
|
341
|
+
begin: function(r) {
|
|
342
|
+
this.conditionStack.push(r);
|
|
344
343
|
},
|
|
345
344
|
// pop the previously active lexer condition state off the condition stack
|
|
346
345
|
popState: function() {
|
|
347
|
-
var
|
|
348
|
-
return
|
|
346
|
+
var r = this.conditionStack.length - 1;
|
|
347
|
+
return r > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
349
348
|
},
|
|
350
349
|
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
351
350
|
_currentRules: function() {
|
|
352
351
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
353
352
|
},
|
|
354
353
|
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
355
|
-
topState: function(
|
|
356
|
-
return
|
|
354
|
+
topState: function(r) {
|
|
355
|
+
return r = this.conditionStack.length - 1 - Math.abs(r || 0), r >= 0 ? this.conditionStack[r] : "INITIAL";
|
|
357
356
|
},
|
|
358
357
|
// alias for begin(condition)
|
|
359
|
-
pushState: function(
|
|
360
|
-
this.begin(
|
|
358
|
+
pushState: function(r) {
|
|
359
|
+
this.begin(r);
|
|
361
360
|
},
|
|
362
361
|
// return the number of states currently on the stack
|
|
363
362
|
stateStackSize: function() {
|
|
364
363
|
return this.conditionStack.length;
|
|
365
364
|
},
|
|
366
365
|
options: { "case-insensitive": !0 },
|
|
367
|
-
performAction: function(
|
|
368
|
-
switch (
|
|
366
|
+
performAction: function(r, a, n, f) {
|
|
367
|
+
switch (n) {
|
|
369
368
|
case 0:
|
|
370
369
|
return "title";
|
|
371
370
|
case 1:
|
|
@@ -480,10 +479,10 @@ Expecting ` + te.join(", ") + ", got '" + (this.terminals_[I] || I) + "'" : le =
|
|
|
480
479
|
return V;
|
|
481
480
|
})();
|
|
482
481
|
ie.lexer = $e;
|
|
483
|
-
function
|
|
482
|
+
function ne() {
|
|
484
483
|
this.yy = {};
|
|
485
484
|
}
|
|
486
|
-
return
|
|
485
|
+
return ne.prototype = ie, ie.Parser = ne, new ne();
|
|
487
486
|
})();
|
|
488
487
|
ce.parser = ce;
|
|
489
488
|
const He = ce;
|
|
@@ -531,7 +530,7 @@ const We = {
|
|
|
531
530
|
name: e,
|
|
532
531
|
type: q.type,
|
|
533
532
|
docRef: q.docRef
|
|
534
|
-
}, Ne.info("Added new requirement: ", e)), q = {}, G[e]),
|
|
533
|
+
}, Ne.info("Added new requirement: ", e)), q = {}, G[e]), nt = () => G, rt = (e) => {
|
|
535
534
|
q !== void 0 && (q.type = e);
|
|
536
535
|
}, st = (e) => {
|
|
537
536
|
q !== void 0 && (q.docRef = e);
|
|
@@ -560,8 +559,8 @@ const We = {
|
|
|
560
559
|
setAccDescription: Fe,
|
|
561
560
|
getAccDescription: Ce,
|
|
562
561
|
addElement: it,
|
|
563
|
-
getElements:
|
|
564
|
-
setNewElementType:
|
|
562
|
+
getElements: nt,
|
|
563
|
+
setNewElementType: rt,
|
|
565
564
|
setNewElementDocRef: st,
|
|
566
565
|
addRelationship: at,
|
|
567
566
|
getRelationships: lt,
|
|
@@ -759,12 +758,12 @@ const Ae = (e, t) => e.insert("rect", "#" + t).attr("class", "req reqBox").attr(
|
|
|
759
758
|
Pe(h, k, v, y.useMaxWidth), h.attr("viewBox", `${N.x - T} ${N.y - T} ${v} ${k}`);
|
|
760
759
|
}, mt = {
|
|
761
760
|
draw: Rt
|
|
762
|
-
},
|
|
761
|
+
}, xt = {
|
|
763
762
|
parser: He,
|
|
764
763
|
db: ct,
|
|
765
764
|
renderer: mt,
|
|
766
765
|
styles: ut
|
|
767
766
|
};
|
|
768
767
|
export {
|
|
769
|
-
|
|
768
|
+
xt as diagram
|
|
770
769
|
};
|