camunda-bpmn-js 5.3.0 → 5.4.1
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/base-modeler.development.js +235 -122
- package/dist/base-modeler.production.min.js +6 -6
- package/dist/camunda-cloud-modeler.development.js +292 -142
- package/dist/camunda-cloud-modeler.production.min.js +11 -11
- package/dist/camunda-platform-modeler.development.js +235 -122
- package/dist/camunda-platform-modeler.production.min.js +6 -6
- package/package.json +4 -4
|
@@ -68230,7 +68230,7 @@
|
|
|
68230
68230
|
return resolveNode(this, pos, side, true);
|
|
68231
68231
|
}
|
|
68232
68232
|
matchContext(context) {
|
|
68233
|
-
return matchNodeContext(this, context);
|
|
68233
|
+
return matchNodeContext(this.parent, context);
|
|
68234
68234
|
}
|
|
68235
68235
|
enterUnfinishedNodesBefore(pos) {
|
|
68236
68236
|
let scan = this.childBefore(pos), node = this;
|
|
@@ -68355,7 +68355,7 @@
|
|
|
68355
68355
|
}
|
|
68356
68356
|
}
|
|
68357
68357
|
function matchNodeContext(node, context, i = context.length - 1) {
|
|
68358
|
-
for (let p = node
|
|
68358
|
+
for (let p = node; i >= 0; p = p.parent) {
|
|
68359
68359
|
if (!p)
|
|
68360
68360
|
return false;
|
|
68361
68361
|
if (!p.type.isAnonymous) {
|
|
@@ -68691,7 +68691,7 @@
|
|
|
68691
68691
|
*/
|
|
68692
68692
|
next(enter = true) { return this.move(1, enter); }
|
|
68693
68693
|
/**
|
|
68694
|
-
Move to the next node in a last-to-first pre-order
|
|
68694
|
+
Move to the next node in a last-to-first pre-order traversal. A
|
|
68695
68695
|
node is followed by its last child or, if it has none, its
|
|
68696
68696
|
previous sibling or the previous sibling of the first parent
|
|
68697
68697
|
node that has one.
|
|
@@ -68767,10 +68767,10 @@
|
|
|
68767
68767
|
if (mustLeave && leave)
|
|
68768
68768
|
leave(this);
|
|
68769
68769
|
mustLeave = this.type.isAnonymous;
|
|
68770
|
-
if (this.nextSibling())
|
|
68771
|
-
break;
|
|
68772
68770
|
if (!depth)
|
|
68773
68771
|
return;
|
|
68772
|
+
if (this.nextSibling())
|
|
68773
|
+
break;
|
|
68774
68774
|
this.parent();
|
|
68775
68775
|
depth--;
|
|
68776
68776
|
mustLeave = true;
|
|
@@ -68784,11 +68784,11 @@
|
|
|
68784
68784
|
*/
|
|
68785
68785
|
matchContext(context) {
|
|
68786
68786
|
if (!this.buffer)
|
|
68787
|
-
return matchNodeContext(this.node, context);
|
|
68787
|
+
return matchNodeContext(this.node.parent, context);
|
|
68788
68788
|
let { buffer } = this.buffer, { types } = buffer.set;
|
|
68789
68789
|
for (let i = context.length - 1, d = this.stack.length - 1; i >= 0; d--) {
|
|
68790
68790
|
if (d < 0)
|
|
68791
|
-
return matchNodeContext(this.
|
|
68791
|
+
return matchNodeContext(this._tree, context, i);
|
|
68792
68792
|
let type = types[buffer.buffer[this.stack[d]]];
|
|
68793
68793
|
if (!type.isAnonymous) {
|
|
68794
68794
|
if (context[i] && context[i] != type.name)
|
|
@@ -68810,7 +68810,7 @@
|
|
|
68810
68810
|
let contextHash = 0, lookAhead = 0;
|
|
68811
68811
|
function takeNode(parentStart, minPos, children, positions, inRepeat, depth) {
|
|
68812
68812
|
let { id, start, end, size } = cursor;
|
|
68813
|
-
let lookAheadAtStart = lookAhead;
|
|
68813
|
+
let lookAheadAtStart = lookAhead, contextAtStart = contextHash;
|
|
68814
68814
|
while (size < 0) {
|
|
68815
68815
|
cursor.next();
|
|
68816
68816
|
if (size == -1 /* SpecialRecord.Reuse */) {
|
|
@@ -68851,7 +68851,7 @@
|
|
|
68851
68851
|
while (cursor.pos > endPos) {
|
|
68852
68852
|
if (localInRepeat >= 0 && cursor.id == localInRepeat && cursor.size >= 0) {
|
|
68853
68853
|
if (cursor.end <= lastEnd - maxBufferLength) {
|
|
68854
|
-
makeRepeatLeaf(localChildren, localPositions, start, lastGroup, cursor.end, lastEnd, localInRepeat, lookAheadAtStart);
|
|
68854
|
+
makeRepeatLeaf(localChildren, localPositions, start, lastGroup, cursor.end, lastEnd, localInRepeat, lookAheadAtStart, contextAtStart);
|
|
68855
68855
|
lastGroup = localChildren.length;
|
|
68856
68856
|
lastEnd = cursor.end;
|
|
68857
68857
|
}
|
|
@@ -68865,15 +68865,15 @@
|
|
|
68865
68865
|
}
|
|
68866
68866
|
}
|
|
68867
68867
|
if (localInRepeat >= 0 && lastGroup > 0 && lastGroup < localChildren.length)
|
|
68868
|
-
makeRepeatLeaf(localChildren, localPositions, start, lastGroup, start, lastEnd, localInRepeat, lookAheadAtStart);
|
|
68868
|
+
makeRepeatLeaf(localChildren, localPositions, start, lastGroup, start, lastEnd, localInRepeat, lookAheadAtStart, contextAtStart);
|
|
68869
68869
|
localChildren.reverse();
|
|
68870
68870
|
localPositions.reverse();
|
|
68871
68871
|
if (localInRepeat > -1 && lastGroup > 0) {
|
|
68872
|
-
let make = makeBalanced(type);
|
|
68872
|
+
let make = makeBalanced(type, contextAtStart);
|
|
68873
68873
|
node = balanceRange(type, localChildren, localPositions, 0, localChildren.length, 0, end - start, make, make);
|
|
68874
68874
|
}
|
|
68875
68875
|
else {
|
|
68876
|
-
node = makeTree(type, localChildren, localPositions, end - start, lookAheadAtStart - end);
|
|
68876
|
+
node = makeTree(type, localChildren, localPositions, end - start, lookAheadAtStart - end, contextAtStart);
|
|
68877
68877
|
}
|
|
68878
68878
|
}
|
|
68879
68879
|
children.push(node);
|
|
@@ -68911,7 +68911,7 @@
|
|
|
68911
68911
|
positions.push(start - parentStart);
|
|
68912
68912
|
}
|
|
68913
68913
|
}
|
|
68914
|
-
function makeBalanced(type) {
|
|
68914
|
+
function makeBalanced(type, contextHash) {
|
|
68915
68915
|
return (children, positions, length) => {
|
|
68916
68916
|
let lookAhead = 0, lastI = children.length - 1, last, lookAheadProp;
|
|
68917
68917
|
if (lastI >= 0 && (last = children[lastI]) instanceof Tree) {
|
|
@@ -68920,19 +68920,19 @@
|
|
|
68920
68920
|
if (lookAheadProp = last.prop(NodeProp.lookAhead))
|
|
68921
68921
|
lookAhead = positions[lastI] + last.length + lookAheadProp;
|
|
68922
68922
|
}
|
|
68923
|
-
return makeTree(type, children, positions, length, lookAhead);
|
|
68923
|
+
return makeTree(type, children, positions, length, lookAhead, contextHash);
|
|
68924
68924
|
};
|
|
68925
68925
|
}
|
|
68926
|
-
function makeRepeatLeaf(children, positions, base, i, from, to, type, lookAhead) {
|
|
68926
|
+
function makeRepeatLeaf(children, positions, base, i, from, to, type, lookAhead, contextHash) {
|
|
68927
68927
|
let localChildren = [], localPositions = [];
|
|
68928
68928
|
while (children.length > i) {
|
|
68929
68929
|
localChildren.push(children.pop());
|
|
68930
68930
|
localPositions.push(positions.pop() + base - from);
|
|
68931
68931
|
}
|
|
68932
|
-
children.push(makeTree(nodeSet.types[type], localChildren, localPositions, to - from, lookAhead - to));
|
|
68932
|
+
children.push(makeTree(nodeSet.types[type], localChildren, localPositions, to - from, lookAhead - to, contextHash));
|
|
68933
68933
|
positions.push(from - base);
|
|
68934
68934
|
}
|
|
68935
|
-
function makeTree(type, children, positions, length, lookAhead
|
|
68935
|
+
function makeTree(type, children, positions, length, lookAhead, contextHash, props) {
|
|
68936
68936
|
if (contextHash) {
|
|
68937
68937
|
let pair = [NodeProp.contextHash, contextHash];
|
|
68938
68938
|
props = props ? [pair].concat(props) : [pair];
|
|
@@ -69387,8 +69387,13 @@
|
|
|
69387
69387
|
else if (overlay && (range = overlay.predicate(cursor))) {
|
|
69388
69388
|
if (range === true)
|
|
69389
69389
|
range = new Range$1(cursor.from, cursor.to);
|
|
69390
|
-
if (range.from < range.to)
|
|
69391
|
-
overlay.ranges.
|
|
69390
|
+
if (range.from < range.to) {
|
|
69391
|
+
let last = overlay.ranges.length - 1;
|
|
69392
|
+
if (last >= 0 && overlay.ranges[last].to == range.from)
|
|
69393
|
+
overlay.ranges[last] = { from: overlay.ranges[last].from, to: range.to };
|
|
69394
|
+
else
|
|
69395
|
+
overlay.ranges.push(range);
|
|
69396
|
+
}
|
|
69392
69397
|
}
|
|
69393
69398
|
if (enter && cursor.firstChild()) {
|
|
69394
69399
|
if (overlay)
|
|
@@ -69772,7 +69777,8 @@
|
|
|
69772
69777
|
var _a;
|
|
69773
69778
|
let depth = action >> 19 /* Action.ReduceDepthShift */, type = action & 65535 /* Action.ValueMask */;
|
|
69774
69779
|
let { parser } = this.p;
|
|
69775
|
-
|
|
69780
|
+
let lookaheadRecord = this.reducePos < this.pos - 25 /* Lookahead.Margin */;
|
|
69781
|
+
if (lookaheadRecord)
|
|
69776
69782
|
this.setLookAhead(this.pos);
|
|
69777
69783
|
let dPrec = parser.dynamicPrecedence(type);
|
|
69778
69784
|
if (dPrec)
|
|
@@ -69782,7 +69788,7 @@
|
|
|
69782
69788
|
// Zero-depth reductions are a special case—they add stuff to
|
|
69783
69789
|
// the stack without popping anything off.
|
|
69784
69790
|
if (type < parser.minRepeatTerm)
|
|
69785
|
-
this.storeNode(type, this.reducePos, this.reducePos, 4, true);
|
|
69791
|
+
this.storeNode(type, this.reducePos, this.reducePos, lookaheadRecord ? 8 : 4, true);
|
|
69786
69792
|
this.reduceContext(type, this.reducePos);
|
|
69787
69793
|
return;
|
|
69788
69794
|
}
|
|
@@ -69828,7 +69834,7 @@
|
|
|
69828
69834
|
/**
|
|
69829
69835
|
@internal
|
|
69830
69836
|
*/
|
|
69831
|
-
storeNode(term, start, end, size = 4,
|
|
69837
|
+
storeNode(term, start, end, size = 4, mustSink = false) {
|
|
69832
69838
|
if (term == 0 /* Term.Err */ &&
|
|
69833
69839
|
(!this.stack.length || this.stack[this.stack.length - 1] < this.buffer.length + this.bufferBase)) {
|
|
69834
69840
|
// Try to omit/merge adjacent error nodes
|
|
@@ -69846,22 +69852,31 @@
|
|
|
69846
69852
|
}
|
|
69847
69853
|
}
|
|
69848
69854
|
}
|
|
69849
|
-
if (!
|
|
69855
|
+
if (!mustSink || this.pos == end) { // Simple case, just append
|
|
69850
69856
|
this.buffer.push(term, start, end, size);
|
|
69851
69857
|
}
|
|
69852
69858
|
else { // There may be skipped nodes that have to be moved forward
|
|
69853
69859
|
let index = this.buffer.length;
|
|
69854
|
-
if (index > 0 && this.buffer[index - 4] != 0 /* Term.Err */)
|
|
69855
|
-
|
|
69856
|
-
|
|
69857
|
-
|
|
69858
|
-
|
|
69859
|
-
|
|
69860
|
-
|
|
69861
|
-
index -= 4;
|
|
69862
|
-
if (size > 4)
|
|
69863
|
-
size -= 4;
|
|
69860
|
+
if (index > 0 && this.buffer[index - 4] != 0 /* Term.Err */) {
|
|
69861
|
+
let mustMove = false;
|
|
69862
|
+
for (let scan = index; scan > 0 && this.buffer[scan - 2] > end; scan -= 4) {
|
|
69863
|
+
if (this.buffer[scan - 1] >= 0) {
|
|
69864
|
+
mustMove = true;
|
|
69865
|
+
break;
|
|
69866
|
+
}
|
|
69864
69867
|
}
|
|
69868
|
+
if (mustMove)
|
|
69869
|
+
while (index > 0 && this.buffer[index - 2] > end) {
|
|
69870
|
+
// Move this record forward
|
|
69871
|
+
this.buffer[index] = this.buffer[index - 4];
|
|
69872
|
+
this.buffer[index + 1] = this.buffer[index - 3];
|
|
69873
|
+
this.buffer[index + 2] = this.buffer[index - 2];
|
|
69874
|
+
this.buffer[index + 3] = this.buffer[index - 1];
|
|
69875
|
+
index -= 4;
|
|
69876
|
+
if (size > 4)
|
|
69877
|
+
size -= 4;
|
|
69878
|
+
}
|
|
69879
|
+
}
|
|
69865
69880
|
this.buffer[index] = term;
|
|
69866
69881
|
this.buffer[index + 1] = start;
|
|
69867
69882
|
this.buffer[index + 2] = end;
|
|
@@ -71514,6 +71529,10 @@
|
|
|
71514
71529
|
*/
|
|
71515
71530
|
constructor(
|
|
71516
71531
|
/**
|
|
71532
|
+
The optional name of the base tag @internal
|
|
71533
|
+
*/
|
|
71534
|
+
name,
|
|
71535
|
+
/**
|
|
71517
71536
|
The set of this tag and all its parent tags, starting with
|
|
71518
71537
|
this one itself and sorted in order of decreasing specificity.
|
|
71519
71538
|
*/
|
|
@@ -71527,6 +71546,7 @@
|
|
|
71527
71546
|
The modifiers applied to this.base @internal
|
|
71528
71547
|
*/
|
|
71529
71548
|
modified) {
|
|
71549
|
+
this.name = name;
|
|
71530
71550
|
this.set = set;
|
|
71531
71551
|
this.base = base;
|
|
71532
71552
|
this.modified = modified;
|
|
@@ -71535,17 +71555,20 @@
|
|
|
71535
71555
|
*/
|
|
71536
71556
|
this.id = nextTagID++;
|
|
71537
71557
|
}
|
|
71538
|
-
|
|
71539
|
-
|
|
71540
|
-
|
|
71541
|
-
|
|
71542
|
-
|
|
71543
|
-
|
|
71544
|
-
|
|
71545
|
-
static define(parent) {
|
|
71558
|
+
toString() {
|
|
71559
|
+
let { name } = this;
|
|
71560
|
+
for (let mod of this.modified)
|
|
71561
|
+
if (mod.name)
|
|
71562
|
+
name = `${mod.name}(${name})`;
|
|
71563
|
+
return name;
|
|
71564
|
+
}
|
|
71565
|
+
static define(nameOrParent, parent) {
|
|
71566
|
+
let name = typeof nameOrParent == "string" ? nameOrParent : "?";
|
|
71567
|
+
if (nameOrParent instanceof Tag)
|
|
71568
|
+
parent = nameOrParent;
|
|
71546
71569
|
if (parent === null || parent === void 0 ? void 0 : parent.base)
|
|
71547
71570
|
throw new Error("Can not derive from a modified tag");
|
|
71548
|
-
let tag = new Tag([], null, []);
|
|
71571
|
+
let tag = new Tag(name, [], null, []);
|
|
71549
71572
|
tag.set.push(tag);
|
|
71550
71573
|
if (parent)
|
|
71551
71574
|
for (let t of parent.set)
|
|
@@ -71564,8 +71587,8 @@
|
|
|
71564
71587
|
example `m1(m2(m3(t1)))` is a subtype of `m1(m2(t1))`,
|
|
71565
71588
|
`m1(m3(t1)`, and so on.
|
|
71566
71589
|
*/
|
|
71567
|
-
static defineModifier() {
|
|
71568
|
-
let mod = new Modifier;
|
|
71590
|
+
static defineModifier(name) {
|
|
71591
|
+
let mod = new Modifier(name);
|
|
71569
71592
|
return (tag) => {
|
|
71570
71593
|
if (tag.modified.indexOf(mod) > -1)
|
|
71571
71594
|
return tag;
|
|
@@ -71575,7 +71598,8 @@
|
|
|
71575
71598
|
}
|
|
71576
71599
|
let nextModifierID = 0;
|
|
71577
71600
|
class Modifier {
|
|
71578
|
-
constructor() {
|
|
71601
|
+
constructor(name) {
|
|
71602
|
+
this.name = name;
|
|
71579
71603
|
this.instances = [];
|
|
71580
71604
|
this.id = nextModifierID++;
|
|
71581
71605
|
}
|
|
@@ -71585,7 +71609,7 @@
|
|
|
71585
71609
|
let exists = mods[0].instances.find(t => t.base == base && sameArray$1(mods, t.modified));
|
|
71586
71610
|
if (exists)
|
|
71587
71611
|
return exists;
|
|
71588
|
-
let set = [], tag = new Tag(set, base, mods);
|
|
71612
|
+
let set = [], tag = new Tag(base.name, set, base, mods);
|
|
71589
71613
|
for (let m of mods)
|
|
71590
71614
|
m.instances.push(tag);
|
|
71591
71615
|
let configs = powerSet(mods);
|
|
@@ -72157,7 +72181,7 @@
|
|
|
72157
72181
|
*/
|
|
72158
72182
|
heading6: t(heading),
|
|
72159
72183
|
/**
|
|
72160
|
-
A prose separator (such as a horizontal rule).
|
|
72184
|
+
A prose [content](#highlight.tags.content) separator (such as a horizontal rule).
|
|
72161
72185
|
*/
|
|
72162
72186
|
contentSeparator: t(content),
|
|
72163
72187
|
/**
|
|
@@ -72230,31 +72254,31 @@
|
|
|
72230
72254
|
given element is being defined. Expected to be used with the
|
|
72231
72255
|
various [name](#highlight.tags.name) tags.
|
|
72232
72256
|
*/
|
|
72233
|
-
definition: Tag.defineModifier(),
|
|
72257
|
+
definition: Tag.defineModifier("definition"),
|
|
72234
72258
|
/**
|
|
72235
72259
|
[Modifier](#highlight.Tag^defineModifier) that indicates that
|
|
72236
72260
|
something is constant. Mostly expected to be used with
|
|
72237
72261
|
[variable names](#highlight.tags.variableName).
|
|
72238
72262
|
*/
|
|
72239
|
-
constant: Tag.defineModifier(),
|
|
72263
|
+
constant: Tag.defineModifier("constant"),
|
|
72240
72264
|
/**
|
|
72241
72265
|
[Modifier](#highlight.Tag^defineModifier) used to indicate that
|
|
72242
72266
|
a [variable](#highlight.tags.variableName) or [property
|
|
72243
72267
|
name](#highlight.tags.propertyName) is being called or defined
|
|
72244
72268
|
as a function.
|
|
72245
72269
|
*/
|
|
72246
|
-
function: Tag.defineModifier(),
|
|
72270
|
+
function: Tag.defineModifier("function"),
|
|
72247
72271
|
/**
|
|
72248
72272
|
[Modifier](#highlight.Tag^defineModifier) that can be applied to
|
|
72249
72273
|
[names](#highlight.tags.name) to indicate that they belong to
|
|
72250
72274
|
the language's standard environment.
|
|
72251
72275
|
*/
|
|
72252
|
-
standard: Tag.defineModifier(),
|
|
72276
|
+
standard: Tag.defineModifier("standard"),
|
|
72253
72277
|
/**
|
|
72254
72278
|
[Modifier](#highlight.Tag^defineModifier) that indicates a given
|
|
72255
72279
|
[names](#highlight.tags.name) is local to some scope.
|
|
72256
72280
|
*/
|
|
72257
|
-
local: Tag.defineModifier(),
|
|
72281
|
+
local: Tag.defineModifier("local"),
|
|
72258
72282
|
/**
|
|
72259
72283
|
A generic variant [modifier](#highlight.Tag^defineModifier) that
|
|
72260
72284
|
can be used to tag language-specific alternative variants of
|
|
@@ -72263,8 +72287,13 @@
|
|
|
72263
72287
|
[variable name](#highlight.tags.variableName) tags, since those
|
|
72264
72288
|
come up a lot.
|
|
72265
72289
|
*/
|
|
72266
|
-
special: Tag.defineModifier()
|
|
72290
|
+
special: Tag.defineModifier("special")
|
|
72267
72291
|
};
|
|
72292
|
+
for (let name in tags) {
|
|
72293
|
+
let val = tags[name];
|
|
72294
|
+
if (val instanceof Tag)
|
|
72295
|
+
val.name = name;
|
|
72296
|
+
}
|
|
72268
72297
|
/**
|
|
72269
72298
|
This is a highlighter that adds stable, predictable classes to
|
|
72270
72299
|
tokens, for styling with external CSS.
|
|
@@ -72347,50 +72376,50 @@
|
|
|
72347
72376
|
]);
|
|
72348
72377
|
|
|
72349
72378
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
72350
|
-
const propertyIdentifier =
|
|
72351
|
-
identifier =
|
|
72352
|
-
nameIdentifier =
|
|
72353
|
-
insertSemi =
|
|
72354
|
-
expression0 =
|
|
72379
|
+
const propertyIdentifier = 121,
|
|
72380
|
+
identifier = 122,
|
|
72381
|
+
nameIdentifier = 123,
|
|
72382
|
+
insertSemi = 124,
|
|
72383
|
+
expression0 = 128,
|
|
72355
72384
|
ForExpression = 4,
|
|
72356
|
-
forExpressionStart =
|
|
72385
|
+
forExpressionStart = 131,
|
|
72357
72386
|
ForInExpression = 7,
|
|
72358
72387
|
Name = 8,
|
|
72359
72388
|
Identifier = 9,
|
|
72360
72389
|
AdditionalIdentifier = 10,
|
|
72361
|
-
forExpressionBodyStart =
|
|
72390
|
+
forExpressionBodyStart = 139,
|
|
72362
72391
|
IfExpression = 19,
|
|
72363
|
-
ifExpressionStart =
|
|
72392
|
+
ifExpressionStart = 140,
|
|
72364
72393
|
QuantifiedExpression = 23,
|
|
72365
|
-
quantifiedExpressionStart =
|
|
72394
|
+
quantifiedExpressionStart = 141,
|
|
72366
72395
|
QuantifiedInExpression = 27,
|
|
72367
72396
|
PositiveUnaryTest = 37,
|
|
72368
72397
|
ArithmeticExpression = 41,
|
|
72369
|
-
arithmeticPlusStart =
|
|
72370
|
-
arithmeticTimesStart =
|
|
72371
|
-
arithmeticExpStart =
|
|
72372
|
-
arithmeticUnaryStart =
|
|
72398
|
+
arithmeticPlusStart = 145,
|
|
72399
|
+
arithmeticTimesStart = 146,
|
|
72400
|
+
arithmeticExpStart = 147,
|
|
72401
|
+
arithmeticUnaryStart = 148,
|
|
72373
72402
|
VariableName = 47,
|
|
72374
|
-
PathExpression =
|
|
72375
|
-
pathExpressionStart =
|
|
72376
|
-
FilterExpression =
|
|
72377
|
-
filterExpressionStart =
|
|
72378
|
-
FunctionInvocation =
|
|
72379
|
-
functionInvocationStart =
|
|
72380
|
-
ParameterName =
|
|
72381
|
-
nil =
|
|
72382
|
-
NumericLiteral =
|
|
72383
|
-
StringLiteral =
|
|
72384
|
-
BooleanLiteral =
|
|
72385
|
-
listStart =
|
|
72386
|
-
List =
|
|
72387
|
-
FunctionDefinition =
|
|
72388
|
-
functionDefinitionStart =
|
|
72389
|
-
Context =
|
|
72390
|
-
contextStart =
|
|
72391
|
-
ContextEntry =
|
|
72392
|
-
PropertyName =
|
|
72393
|
-
PropertyIdentifier =
|
|
72403
|
+
PathExpression = 68,
|
|
72404
|
+
pathExpressionStart = 154,
|
|
72405
|
+
FilterExpression = 70,
|
|
72406
|
+
filterExpressionStart = 155,
|
|
72407
|
+
FunctionInvocation = 72,
|
|
72408
|
+
functionInvocationStart = 156,
|
|
72409
|
+
ParameterName = 76,
|
|
72410
|
+
nil = 161,
|
|
72411
|
+
NumericLiteral = 79,
|
|
72412
|
+
StringLiteral = 80,
|
|
72413
|
+
BooleanLiteral = 81,
|
|
72414
|
+
listStart = 167,
|
|
72415
|
+
List = 89,
|
|
72416
|
+
FunctionDefinition = 90,
|
|
72417
|
+
functionDefinitionStart = 169,
|
|
72418
|
+
Context = 97,
|
|
72419
|
+
contextStart = 171,
|
|
72420
|
+
ContextEntry = 98,
|
|
72421
|
+
PropertyName = 100,
|
|
72422
|
+
PropertyIdentifier = 101;
|
|
72394
72423
|
|
|
72395
72424
|
/* global console,process */
|
|
72396
72425
|
|
|
@@ -72502,7 +72531,6 @@
|
|
|
72502
72531
|
return spaceChars.includes(ch);
|
|
72503
72532
|
}
|
|
72504
72533
|
|
|
72505
|
-
// eslint-disable-next-line
|
|
72506
72534
|
function indent(str, spaces) {
|
|
72507
72535
|
return spaces.concat(
|
|
72508
72536
|
str.split(/\n/g).join('\n' + spaces)
|
|
@@ -72781,6 +72809,10 @@
|
|
|
72781
72809
|
[ ArithmeticExpression ]: 'ArithmeticExpression'
|
|
72782
72810
|
};
|
|
72783
72811
|
|
|
72812
|
+
/**
|
|
72813
|
+
* A simple producer that retrievs a value from
|
|
72814
|
+
* a given context. Used to lazily take things.
|
|
72815
|
+
*/
|
|
72784
72816
|
class ValueProducer {
|
|
72785
72817
|
|
|
72786
72818
|
/**
|
|
@@ -72823,7 +72855,7 @@
|
|
|
72823
72855
|
/**
|
|
72824
72856
|
* Creates a new context from a JavaScript object.
|
|
72825
72857
|
*
|
|
72826
|
-
* @param {any} value
|
|
72858
|
+
* @param {any} [value]
|
|
72827
72859
|
*/
|
|
72828
72860
|
constructor(value = {}) {
|
|
72829
72861
|
|
|
@@ -72881,6 +72913,22 @@
|
|
|
72881
72913
|
});
|
|
72882
72914
|
}
|
|
72883
72915
|
|
|
72916
|
+
/**
|
|
72917
|
+
* Non-destructively merge another context into this one,
|
|
72918
|
+
* and return the result.
|
|
72919
|
+
*
|
|
72920
|
+
* @param {ContextValue} other
|
|
72921
|
+
*
|
|
72922
|
+
* @return {VariableContext}
|
|
72923
|
+
*/
|
|
72924
|
+
merge(other) {
|
|
72925
|
+
const constructor = /** @type { typeof VariableContext } */ (this.constructor);
|
|
72926
|
+
|
|
72927
|
+
return new constructor(
|
|
72928
|
+
constructor.__merge(this.value, other)
|
|
72929
|
+
);
|
|
72930
|
+
}
|
|
72931
|
+
|
|
72884
72932
|
/**
|
|
72885
72933
|
* Wether the given value is atomic. Non-atomic values need to be wrapped in a
|
|
72886
72934
|
* context Class.
|
|
@@ -72896,47 +72944,98 @@
|
|
|
72896
72944
|
}
|
|
72897
72945
|
|
|
72898
72946
|
/**
|
|
72899
|
-
* Takes any number of Contexts and merges them into a single
|
|
72947
|
+
* Takes any number of Contexts and merges them into a single context.
|
|
72900
72948
|
*
|
|
72901
|
-
* @param
|
|
72902
|
-
* @returns {VariableContext}
|
|
72949
|
+
* @param { ...VariableContext } contexts
|
|
72950
|
+
* @returns { VariableContext }
|
|
72903
72951
|
*/
|
|
72904
72952
|
static of(...contexts) {
|
|
72905
|
-
|
|
72906
|
-
|
|
72907
|
-
|
|
72908
|
-
|
|
72953
|
+
return contexts.reduce((context, otherContext) => {
|
|
72954
|
+
return context.merge(otherContext);
|
|
72955
|
+
}, new this({}));
|
|
72956
|
+
}
|
|
72909
72957
|
|
|
72910
|
-
|
|
72911
|
-
|
|
72958
|
+
/**
|
|
72959
|
+
* Returns the raw representation of the given context.
|
|
72960
|
+
*
|
|
72961
|
+
* @param {VariableContext | any} context
|
|
72962
|
+
*
|
|
72963
|
+
* @return {any}
|
|
72964
|
+
*/
|
|
72965
|
+
static __unwrap(context) {
|
|
72966
|
+
if (!context) {
|
|
72967
|
+
return {};
|
|
72968
|
+
}
|
|
72969
|
+
|
|
72970
|
+
if (context instanceof this) {
|
|
72971
|
+
return context.value;
|
|
72972
|
+
}
|
|
72973
|
+
|
|
72974
|
+
if (typeof context !== 'object') {
|
|
72975
|
+
return {};
|
|
72976
|
+
}
|
|
72977
|
+
|
|
72978
|
+
return { ...context };
|
|
72979
|
+
}
|
|
72980
|
+
|
|
72981
|
+
/**
|
|
72982
|
+
* Non-destructively merges two contexts (or their values)
|
|
72983
|
+
* with each other, returning the result.
|
|
72984
|
+
*
|
|
72985
|
+
* @param {ContextValue} context
|
|
72986
|
+
* @param {ContextValue} other
|
|
72987
|
+
*
|
|
72988
|
+
* @return {any}
|
|
72989
|
+
*/
|
|
72990
|
+
static __merge(context, other) {
|
|
72991
|
+
|
|
72992
|
+
return reduce(this.__unwrap(other), (merged, value, key) => {
|
|
72993
|
+
if (value instanceof ValueProducer) {
|
|
72994
|
+
|
|
72995
|
+
// keep value producers in tact
|
|
72996
|
+
return {
|
|
72997
|
+
...merged,
|
|
72998
|
+
[key]: value
|
|
72999
|
+
};
|
|
72912
73000
|
}
|
|
72913
73001
|
|
|
72914
|
-
|
|
72915
|
-
|
|
73002
|
+
value = this.__unwrap(value);
|
|
73003
|
+
|
|
73004
|
+
if (has$1(merged, key)) {
|
|
73005
|
+
value = this.__merge(this.__unwrap(merged[key]), value);
|
|
73006
|
+
}
|
|
72916
73007
|
|
|
72917
|
-
const merged = contexts.reduce((merged, context) => {
|
|
72918
73008
|
return {
|
|
72919
73009
|
...merged,
|
|
72920
|
-
|
|
73010
|
+
[key]: value
|
|
72921
73011
|
};
|
|
72922
|
-
},
|
|
72923
|
-
|
|
72924
|
-
return new this(merged);
|
|
73012
|
+
}, this.__unwrap(context));
|
|
72925
73013
|
}
|
|
72926
73014
|
|
|
72927
73015
|
}
|
|
72928
73016
|
|
|
72929
73017
|
class Variables {
|
|
72930
73018
|
|
|
73019
|
+
/**
|
|
73020
|
+
* @param { {
|
|
73021
|
+
* name?: string,
|
|
73022
|
+
* tokens?: string[],
|
|
73023
|
+
* children?: Variables[],
|
|
73024
|
+
* parent: Variables | null
|
|
73025
|
+
* context: VariableContext,
|
|
73026
|
+
* value?: any,
|
|
73027
|
+
* raw?: any
|
|
73028
|
+
* } } options
|
|
73029
|
+
*/
|
|
72931
73030
|
constructor({
|
|
72932
73031
|
name = 'Expressions',
|
|
72933
73032
|
tokens = [],
|
|
72934
73033
|
children = [],
|
|
72935
73034
|
parent = null,
|
|
72936
|
-
context
|
|
72937
|
-
value
|
|
72938
|
-
raw
|
|
72939
|
-
}
|
|
73035
|
+
context,
|
|
73036
|
+
value,
|
|
73037
|
+
raw
|
|
73038
|
+
}) {
|
|
72940
73039
|
this.name = name;
|
|
72941
73040
|
this.tokens = tokens;
|
|
72942
73041
|
this.children = children;
|
|
@@ -73161,6 +73260,19 @@
|
|
|
73161
73260
|
});
|
|
73162
73261
|
}
|
|
73163
73262
|
|
|
73263
|
+
/**
|
|
73264
|
+
* @param { {
|
|
73265
|
+
* name?: string,
|
|
73266
|
+
* tokens?: string[],
|
|
73267
|
+
* children?: Variables[],
|
|
73268
|
+
* parent?: Variables | null
|
|
73269
|
+
* context: VariableContext,
|
|
73270
|
+
* value?: any,
|
|
73271
|
+
* raw?: any
|
|
73272
|
+
* } } options
|
|
73273
|
+
*
|
|
73274
|
+
* @return {Variables}
|
|
73275
|
+
*/
|
|
73164
73276
|
static of(options) {
|
|
73165
73277
|
|
|
73166
73278
|
const {
|
|
@@ -73554,29 +73666,30 @@
|
|
|
73554
73666
|
});
|
|
73555
73667
|
|
|
73556
73668
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
73557
|
-
const spec_identifier = {__proto__:null,for:10, in:32, return:36, if:40, then:42, else:44, some:48, every:50, satisfies:56, or:60, and:64, between:72, instance:86, of:89, days:
|
|
73669
|
+
const spec_identifier = {__proto__:null,for:10, in:32, return:36, if:40, then:42, else:44, some:48, every:50, satisfies:56, or:60, and:64, between:72, instance:86, of:89, days:101, time:103, duration:105, years:107, months:109, date:111, list:117, context:123, function:130, null:156, true:330, false:330, "?":170, external:186, not:211};
|
|
73558
73670
|
const parser$2 = LRParser.deserialize({
|
|
73559
73671
|
version: 14,
|
|
73560
|
-
states: "
|
|
73561
|
-
stateData: "
|
|
73562
|
-
goto: "
|
|
73563
|
-
nodeNames: "⚠ LineComment BlockComment Expression ForExpression for InExpressions InExpression Name Identifier Identifier ArithOp ArithOp ArithOp ArithOp ArithOp in IterationContext return IfExpression if then else QuantifiedExpression some every InExpressions InExpression satisfies Disjunction or Conjunction and Comparison CompareOp CompareOp between PositiveUnaryTest ( PositiveUnaryTests ) ArithmeticExpression InstanceOfExpression instance of Type QualifiedName VariableName SpecialType days time duration years months date > ListType list < ContextType context ContextEntryTypes ContextEntryType FunctionType function ArgumentTypes ArgumentType PathExpression ] FilterExpression [ FunctionInvocation SpecialFunctionName NamedParameters NamedParameter ParameterName PositionalParameters null NumericLiteral StringLiteral BooleanLiteral DateTimeLiteral DateTimeConstructor AtLiteral ? SimplePositiveUnaryTest Interval ParenthesizedExpression List FunctionDefinition FormalParameters FormalParameter external FunctionBody } { Context ContextEntry Key Name Identifier Expressions UnaryTests Wildcard not",
|
|
73564
|
-
maxTerm:
|
|
73672
|
+
states: "C|O`QYOOO`QYOOO$mQYOOOOQU'#Ce'#CeO$wQYO'#C`O&QQYO'#FQOOQQ'#Ff'#FfO&[QYO'#FfO`QYO'#DVOOQU'#En'#EnO'{Q^O'#D]OOQU'#D^'#D^OOQU'#D]'#D]OOQO'#Fn'#FnO)xQWO'#DvOOQQ'#D}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r$O$P$Y$^$_$b$q$}%X%d%y%zR#Oo",
|
|
73675
|
+
nodeNames: "⚠ LineComment BlockComment Expression ForExpression for InExpressions InExpression Name Identifier Identifier ArithOp ArithOp ArithOp ArithOp ArithOp in IterationContext return IfExpression if then else QuantifiedExpression some every InExpressions InExpression satisfies Disjunction or Conjunction and Comparison CompareOp CompareOp between PositiveUnaryTest ( PositiveUnaryTests ) ArithmeticExpression InstanceOfExpression instance of Type QualifiedName VariableName BacktickIdentifier SpecialType days time duration years months date > ListType list < ContextType context ContextEntryTypes ContextEntryType FunctionType function ArgumentTypes ArgumentType PathExpression ] FilterExpression [ FunctionInvocation SpecialFunctionName NamedParameters NamedParameter ParameterName PositionalParameters null NumericLiteral StringLiteral BooleanLiteral DateTimeLiteral DateTimeConstructor AtLiteral ? SimplePositiveUnaryTest Interval ParenthesizedExpression List FunctionDefinition FormalParameters FormalParameter external FunctionBody } { Context ContextEntry Key Name Identifier Expressions UnaryTests Wildcard not",
|
|
73676
|
+
maxTerm: 173,
|
|
73565
73677
|
context: variableTracker,
|
|
73566
73678
|
nodeProps: [
|
|
73567
|
-
["closedBy", 38,")",
|
|
73568
|
-
["openedBy", 40,"(",
|
|
73569
|
-
["group", -5,
|
|
73679
|
+
["closedBy", 38,")",71,"]",96,"}"],
|
|
73680
|
+
["openedBy", 40,"(",69,"[",95,"{"],
|
|
73681
|
+
["group", -5,78,79,80,81,82,"Literal"]
|
|
73570
73682
|
],
|
|
73571
73683
|
propSources: [feelHighlighting],
|
|
73572
73684
|
skippedNodes: [0,1,2],
|
|
73573
73685
|
repeatNodeCount: 14,
|
|
73574
|
-
tokenData: "
|
|
73686
|
+
tokenData: "-c~RvXY#iYZ$^Z[#i]^$^pq#iqr$crs$nwx&fxy&kyz&pz{&u{|'S|}'X}!O'^!O!P'k!P!Q(T!Q![*O![!]*a!]!^*f!^!_*k!_!`$i!`!a*z!b!c+U!}#O+Z#P#Q+`#Q#R&}#S#T+e#o#p-X#q#r-^$f$g#i#BY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103]},
|
|
73689
|
+
dialects: {camunda: 2532},
|
|
73690
|
+
dynamicPrecedences: {"31":-1,"68":1,"72":-1,"74":-1},
|
|
73691
|
+
specialized: [{term: 122, get: (value) => spec_identifier[value] || -1}],
|
|
73692
|
+
tokenPrec: 2534
|
|
73580
73693
|
});
|
|
73581
73694
|
|
|
73582
73695
|
/**
|