@streamline-pulse/formkrafter-wc 0.3.0 → 0.5.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/README.md +23 -9
- package/dist/components/fk-brick-actions.js +1 -1
- package/dist/components/fk-brick-list.js +1 -1
- package/dist/components/fk-brick-mold-item.js +1 -1
- package/dist/components/fk-brick-render.js +1 -1
- package/dist/components/fk-code-editor.js +1 -1
- package/dist/components/fk-data-grid.js +1 -1
- package/dist/components/fk-drop-area.js +1 -1
- package/dist/components/fk-empty-form.js +1 -1
- package/dist/components/fk-file-input.js +1 -1
- package/dist/components/fk-form-builder.js +1 -1
- package/dist/components/fk-form-render.js +1 -1
- package/dist/components/fk-property-panel.js +1 -1
- package/dist/components/fk-rules-editor.js +1 -1
- package/dist/components/fk-select-input.js +1 -1
- package/dist/components/fk-signature-input.js +1 -1
- package/dist/components/fk-stepper.js +1 -1
- package/dist/components/fk-tabs.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-DYchD23x.js → p-BerMKKKo.js} +1 -1
- package/dist/components/p-Bey6yx4S.js +1 -0
- package/dist/{formkrafter-wc/p-C-wnqV3i.js → components/p-BietHxaT.js} +1 -1
- package/dist/components/p-Bj48EXdM.js +1 -0
- package/dist/components/p-BkqqQX6U.js +1 -0
- package/dist/components/p-BnxDCFjv.js +1 -0
- package/dist/components/p-BpkKcCCr.js +1 -0
- package/dist/components/p-C0Y8qh8R.js +1 -0
- package/dist/components/{p-BGkZP87K.js → p-CIzLjMz0.js} +1 -1
- package/dist/components/{p--vL6GR31.js → p-C_8wUoZ4.js} +1 -1
- package/dist/components/p-CeeVZgCr.js +1 -0
- package/dist/components/{p-4COASNrZ.js → p-CehxuHtl.js} +1 -1
- package/dist/components/{p-D6n74M9d.js → p-CjnF4RZI.js} +1 -1
- package/dist/components/{p-CIfjRTky.js → p-CsHWN99R.js} +1 -1
- package/dist/components/p-CyZA17qf.js +1 -0
- package/dist/components/p-DlqnIm46.js +1 -0
- package/dist/components/{p-v7LxwCAc.js → p-DwN4nM7G.js} +1 -1
- package/dist/components/{p-DMCkrZqi.js → p-RzeBwfwG.js} +1 -1
- package/dist/components/{p-BWdm2a6q.js → p-_64WINOr.js} +1 -1
- package/dist/components/p-bZPtT8wr.js +1 -0
- package/dist/components/{p-fDJP6whN.js → p-hELMtJ9v.js} +1 -1
- package/dist/components/{p-CKMHMpID.js → p-l7ULqDJ3.js} +4 -4
- package/dist/components/{p-wuC5rVU7.js → p-tSZpD5I-.js} +1 -1
- package/dist/components/p-tTJg_I4V.js +1 -0
- package/dist/formkrafter-wc/formkrafter-wc.css +1 -1
- package/dist/formkrafter-wc/formkrafter-wc.esm.js +1 -1
- package/dist/formkrafter-wc/index.esm.js +1 -1
- package/dist/{components/p-C-wnqV3i.js → formkrafter-wc/p-BietHxaT.js} +1 -1
- package/dist/formkrafter-wc/p-C0Y8qh8R.js +1 -0
- package/dist/formkrafter-wc/p-C5tYszq2.js +12 -0
- package/dist/formkrafter-wc/{p-4COASNrZ.js → p-CehxuHtl.js} +1 -1
- package/dist/formkrafter-wc/p-DYsf28oe.js +1 -0
- package/dist/formkrafter-wc/p-DlqnIm46.js +1 -0
- package/dist/formkrafter-wc/{p-DMCkrZqi.js → p-RzeBwfwG.js} +1 -1
- package/dist/formkrafter-wc/p-WWmY5Z05.js +1 -0
- package/dist/formkrafter-wc/p-bf962b94.entry.js +1 -0
- package/dist/formkrafter-wc/p-ca200eec.entry.js +1 -0
- package/dist/types/components/fk-code-editor/fk-code-editor.d.ts +1 -0
- package/dist/types/components/fk-data-grid/fk-data-grid.d.ts +1 -0
- package/dist/types/components/fk-drop-area/fk-drop-area.d.ts +1 -0
- package/dist/types/components/fk-form-render/fk-form-render.d.ts +7 -1
- package/dist/types/components/fk-select-input/fk-select-input.d.ts +5 -1
- package/dist/types/components.d.ts +17 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/registry/default-bricks.d.ts +36 -0
- package/dist/types/utils/mask.d.ts +1 -0
- package/package.json +10 -15
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
- package/dist/cjs/fk-brick-actions_18.cjs.entry.js +0 -4224
- package/dist/cjs/formkrafter-wc.cjs.js +0 -25
- package/dist/cjs/index-Bhy1RJMV.js +0 -3042
- package/dist/cjs/index-CImTe9BG.js +0 -2126
- package/dist/cjs/index-CdaT3-qx.js +0 -5444
- package/dist/cjs/index-CkPPRg03.js +0 -17548
- package/dist/cjs/index-DHgK3reD.js +0 -12233
- package/dist/cjs/index-Ds0sDbXV.js +0 -4019
- package/dist/cjs/index-c9BL7y3N.js +0 -1922
- package/dist/cjs/index.cjs.js +0 -48
- package/dist/cjs/loader.cjs.js +0 -13
- package/dist/collection/collection-manifest.json +0 -30
- package/dist/collection/components/fk-brick-actions/fk-brick-actions.css +0 -78
- package/dist/collection/components/fk-brick-actions/fk-brick-actions.js +0 -215
- package/dist/collection/components/fk-brick-list/fk-brick-list.css +0 -71
- package/dist/collection/components/fk-brick-list/fk-brick-list.js +0 -55
- package/dist/collection/components/fk-brick-mold-item/fk-brick-mold-item.css +0 -33
- package/dist/collection/components/fk-brick-mold-item/fk-brick-mold-item.js +0 -73
- package/dist/collection/components/fk-brick-not-found/fk-brick-not-found.css +0 -8
- package/dist/collection/components/fk-brick-not-found/fk-brick-not-found.js +0 -18
- package/dist/collection/components/fk-brick-render/fk-brick-render.js +0 -447
- package/dist/collection/components/fk-code-editor/fk-code-editor.css +0 -26
- package/dist/collection/components/fk-code-editor/fk-code-editor.js +0 -145
- package/dist/collection/components/fk-data-grid/fk-data-grid.css +0 -75
- package/dist/collection/components/fk-data-grid/fk-data-grid.js +0 -300
- package/dist/collection/components/fk-drop-area/fk-drop-area.css +0 -18
- package/dist/collection/components/fk-drop-area/fk-drop-area.js +0 -98
- package/dist/collection/components/fk-empty-form/fk-empty-form.css +0 -22
- package/dist/collection/components/fk-empty-form/fk-empty-form.js +0 -19
- package/dist/collection/components/fk-file-input/fk-file-input.css +0 -95
- package/dist/collection/components/fk-file-input/fk-file-input.js +0 -239
- package/dist/collection/components/fk-form-builder/fk-form-builder.css +0 -112
- package/dist/collection/components/fk-form-builder/fk-form-builder.js +0 -431
- package/dist/collection/components/fk-form-render/fk-form-render.css +0 -7
- package/dist/collection/components/fk-form-render/fk-form-render.js +0 -352
- package/dist/collection/components/fk-property-panel/fk-property-panel.css +0 -153
- package/dist/collection/components/fk-property-panel/fk-property-panel.js +0 -388
- package/dist/collection/components/fk-rules-editor/fk-rules-editor.css +0 -166
- package/dist/collection/components/fk-rules-editor/fk-rules-editor.js +0 -250
- package/dist/collection/components/fk-select-input/fk-select-input.css +0 -153
- package/dist/collection/components/fk-select-input/fk-select-input.js +0 -454
- package/dist/collection/components/fk-signature-input/fk-signature-input.css +0 -42
- package/dist/collection/components/fk-signature-input/fk-signature-input.js +0 -158
- package/dist/collection/components/fk-stepper/fk-stepper.css +0 -99
- package/dist/collection/components/fk-stepper/fk-stepper.js +0 -285
- package/dist/collection/components/fk-tabs/fk-tabs.css +0 -38
- package/dist/collection/components/fk-tabs/fk-tabs.js +0 -249
- package/dist/collection/i18n/i18n.js +0 -265
- package/dist/collection/index.js +0 -5
- package/dist/collection/registry/create-brick.js +0 -34
- package/dist/collection/registry/default-bricks.js +0 -564
- package/dist/collection/registry/registry.js +0 -44
- package/dist/collection/utils/brick-data.js +0 -16
- package/dist/collection/utils/drop.js +0 -14
- package/dist/collection/utils/events.js +0 -1
- package/dist/collection/utils/options.js +0 -21
- package/dist/collection/utils/remote.js +0 -27
- package/dist/collection/utils/rule-condition.js +0 -72
- package/dist/collection/utils/style.js +0 -11
- package/dist/components/p-BOmBVgfJ.js +0 -1
- package/dist/components/p-B_-x-GlA.js +0 -1
- package/dist/components/p-Br1s4Ujx.js +0 -1
- package/dist/components/p-CUF31e-P.js +0 -1
- package/dist/components/p-CWQX0sXS.js +0 -1
- package/dist/components/p-DFe3zZCI.js +0 -1
- package/dist/components/p-DOInQkG6.js +0 -1
- package/dist/components/p-PAr7WoWG.js +0 -1
- package/dist/components/p-YyGnQmX-.js +0 -1
- package/dist/components/p-swxZqinH.js +0 -1
- package/dist/esm/app-globals-DQuL1Twl.js +0 -3
- package/dist/esm/fk-brick-actions_18.entry.js +0 -4205
- package/dist/esm/formkrafter-wc.js +0 -21
- package/dist/esm/index-BAcz7b5u.js +0 -5416
- package/dist/esm/index-BkRMoLXK.js +0 -3029
- package/dist/esm/index-CGMDfZ5m.js +0 -1808
- package/dist/esm/index-D7Cta1UB.js +0 -17488
- package/dist/esm/index-DtcM1yw5.js +0 -3991
- package/dist/esm/index-DuVf3NlP.js +0 -12222
- package/dist/esm/index-qLZlXROB.js +0 -2117
- package/dist/esm/index.js +0 -2
- package/dist/esm/loader.js +0 -11
- package/dist/formkrafter-wc/p-6d29555b.entry.js +0 -1
- package/dist/formkrafter-wc/p-DOInQkG6.js +0 -1
- package/dist/formkrafter-wc/p-Ddu6BquK.js +0 -12
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/stencil.config.js +0 -34
- package/loader/cdn.js +0 -1
- package/loader/index.cjs.js +0 -1
- package/loader/index.d.ts +0 -24
- package/loader/index.es2017.js +0 -1
- package/loader/index.js +0 -2
|
@@ -1,3042 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('./index-CdaT3-qx.js');
|
|
4
|
-
var index$1 = require('./index-Ds0sDbXV.js');
|
|
5
|
-
var index$2 = require('./index-DHgK3reD.js');
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
A parse stack. These are used internally by the parser to track
|
|
9
|
-
parsing progress. They also provide some properties and methods
|
|
10
|
-
that external code such as a tokenizer can use to get information
|
|
11
|
-
about the parse state.
|
|
12
|
-
*/
|
|
13
|
-
class Stack {
|
|
14
|
-
/**
|
|
15
|
-
@internal
|
|
16
|
-
*/
|
|
17
|
-
constructor(
|
|
18
|
-
/**
|
|
19
|
-
The parse that this stack is part of @internal
|
|
20
|
-
*/
|
|
21
|
-
p,
|
|
22
|
-
/**
|
|
23
|
-
Holds state, input pos, buffer index triplets for all but the
|
|
24
|
-
top state @internal
|
|
25
|
-
*/
|
|
26
|
-
stack,
|
|
27
|
-
/**
|
|
28
|
-
The current parse state @internal
|
|
29
|
-
*/
|
|
30
|
-
state,
|
|
31
|
-
// The position at which the next reduce should take place. This
|
|
32
|
-
// can be less than `this.pos` when skipped expressions have been
|
|
33
|
-
// added to the stack (which should be moved outside of the next
|
|
34
|
-
// reduction)
|
|
35
|
-
/**
|
|
36
|
-
@internal
|
|
37
|
-
*/
|
|
38
|
-
reducePos,
|
|
39
|
-
/**
|
|
40
|
-
The input position up to which this stack has parsed.
|
|
41
|
-
*/
|
|
42
|
-
pos,
|
|
43
|
-
/**
|
|
44
|
-
The dynamic score of the stack, including dynamic precedence
|
|
45
|
-
and error-recovery penalties
|
|
46
|
-
@internal
|
|
47
|
-
*/
|
|
48
|
-
score,
|
|
49
|
-
// The output buffer. Holds (type, start, end, size) quads
|
|
50
|
-
// representing nodes created by the parser, where `size` is
|
|
51
|
-
// amount of buffer array entries covered by this node.
|
|
52
|
-
/**
|
|
53
|
-
@internal
|
|
54
|
-
*/
|
|
55
|
-
buffer,
|
|
56
|
-
// The base offset of the buffer. When stacks are split, the split
|
|
57
|
-
// instance shared the buffer history with its parent up to
|
|
58
|
-
// `bufferBase`, which is the absolute offset (including the
|
|
59
|
-
// offset of previous splits) into the buffer at which this stack
|
|
60
|
-
// starts writing.
|
|
61
|
-
/**
|
|
62
|
-
@internal
|
|
63
|
-
*/
|
|
64
|
-
bufferBase,
|
|
65
|
-
/**
|
|
66
|
-
@internal
|
|
67
|
-
*/
|
|
68
|
-
curContext,
|
|
69
|
-
/**
|
|
70
|
-
@internal
|
|
71
|
-
*/
|
|
72
|
-
lookAhead = 0,
|
|
73
|
-
// A parent stack from which this was split off, if any. This is
|
|
74
|
-
// set up so that it always points to a stack that has some
|
|
75
|
-
// additional buffer content, never to a stack with an equal
|
|
76
|
-
// `bufferBase`.
|
|
77
|
-
/**
|
|
78
|
-
@internal
|
|
79
|
-
*/
|
|
80
|
-
parent) {
|
|
81
|
-
this.p = p;
|
|
82
|
-
this.stack = stack;
|
|
83
|
-
this.state = state;
|
|
84
|
-
this.reducePos = reducePos;
|
|
85
|
-
this.pos = pos;
|
|
86
|
-
this.score = score;
|
|
87
|
-
this.buffer = buffer;
|
|
88
|
-
this.bufferBase = bufferBase;
|
|
89
|
-
this.curContext = curContext;
|
|
90
|
-
this.lookAhead = lookAhead;
|
|
91
|
-
this.parent = parent;
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
@internal
|
|
95
|
-
*/
|
|
96
|
-
toString() {
|
|
97
|
-
return `[${this.stack.filter((_, i) => i % 3 == 0).concat(this.state)}]@${this.pos}${this.score ? "!" + this.score : ""}`;
|
|
98
|
-
}
|
|
99
|
-
// Start an empty stack
|
|
100
|
-
/**
|
|
101
|
-
@internal
|
|
102
|
-
*/
|
|
103
|
-
static start(p, state, pos = 0) {
|
|
104
|
-
let cx = p.parser.context;
|
|
105
|
-
return new Stack(p, [], state, pos, pos, 0, [], 0, cx ? new StackContext(cx, cx.start) : null, 0, null);
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
The stack's current [context](#lr.ContextTracker) value, if
|
|
109
|
-
any. Its type will depend on the context tracker's type
|
|
110
|
-
parameter, or it will be `null` if there is no context
|
|
111
|
-
tracker.
|
|
112
|
-
*/
|
|
113
|
-
get context() { return this.curContext ? this.curContext.context : null; }
|
|
114
|
-
// Push a state onto the stack, tracking its start position as well
|
|
115
|
-
// as the buffer base at that point.
|
|
116
|
-
/**
|
|
117
|
-
@internal
|
|
118
|
-
*/
|
|
119
|
-
pushState(state, start) {
|
|
120
|
-
this.stack.push(this.state, start, this.bufferBase + this.buffer.length);
|
|
121
|
-
this.state = state;
|
|
122
|
-
}
|
|
123
|
-
// Apply a reduce action
|
|
124
|
-
/**
|
|
125
|
-
@internal
|
|
126
|
-
*/
|
|
127
|
-
reduce(action) {
|
|
128
|
-
var _a;
|
|
129
|
-
let depth = action >> 19 /* Action.ReduceDepthShift */, type = action & 65535 /* Action.ValueMask */;
|
|
130
|
-
let { parser } = this.p;
|
|
131
|
-
let lookaheadRecord = this.reducePos < this.pos - 25 /* Lookahead.Margin */ && this.setLookAhead(this.pos);
|
|
132
|
-
let dPrec = parser.dynamicPrecedence(type);
|
|
133
|
-
if (dPrec)
|
|
134
|
-
this.score += dPrec;
|
|
135
|
-
if (depth == 0) {
|
|
136
|
-
if (type < parser.minRepeatTerm && this.reducePos < this.pos)
|
|
137
|
-
this.reducePos = this.pos;
|
|
138
|
-
this.pushState(parser.getGoto(this.state, type, true), this.reducePos);
|
|
139
|
-
// Zero-depth reductions are a special case—they add stuff to
|
|
140
|
-
// the stack without popping anything off.
|
|
141
|
-
if (type < parser.minRepeatTerm)
|
|
142
|
-
this.storeNode(type, this.reducePos, this.reducePos, lookaheadRecord ? 8 : 4, true);
|
|
143
|
-
this.reduceContext(type, this.reducePos);
|
|
144
|
-
return;
|
|
145
|
-
}
|
|
146
|
-
// Find the base index into `this.stack`, content after which will
|
|
147
|
-
// be dropped. Note that with `StayFlag` reductions we need to
|
|
148
|
-
// consume two extra frames (the dummy parent node for the skipped
|
|
149
|
-
// expression and the state that we'll be staying in, which should
|
|
150
|
-
// be moved to `this.state`).
|
|
151
|
-
let base = this.stack.length - ((depth - 1) * 3) - (action & 262144 /* Action.StayFlag */ ? 6 : 0);
|
|
152
|
-
let start = base ? this.stack[base - 2] : this.p.ranges[0].from;
|
|
153
|
-
if (type < parser.minRepeatTerm && start == this.reducePos && this.reducePos < this.pos)
|
|
154
|
-
this.reducePos = this.pos;
|
|
155
|
-
let size = this.reducePos - start;
|
|
156
|
-
// This is a kludge to try and detect overly deep left-associative
|
|
157
|
-
// trees, which will not increase the parse stack depth and thus
|
|
158
|
-
// won't be caught by the regular stack-depth limit check.
|
|
159
|
-
if (size >= 2000 /* Recover.MinBigReduction */ && !((_a = this.p.parser.nodeSet.types[type]) === null || _a === void 0 ? void 0 : _a.isAnonymous)) {
|
|
160
|
-
if (start == this.p.lastBigReductionStart) {
|
|
161
|
-
this.p.bigReductionCount++;
|
|
162
|
-
this.p.lastBigReductionSize = size;
|
|
163
|
-
}
|
|
164
|
-
else if (this.p.lastBigReductionSize < size) {
|
|
165
|
-
this.p.bigReductionCount = 1;
|
|
166
|
-
this.p.lastBigReductionStart = start;
|
|
167
|
-
this.p.lastBigReductionSize = size;
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
let bufferBase = base ? this.stack[base - 1] : 0, count = this.bufferBase + this.buffer.length - bufferBase;
|
|
171
|
-
// Store normal terms or `R -> R R` repeat reductions
|
|
172
|
-
if (type < parser.minRepeatTerm || (action & 131072 /* Action.RepeatFlag */)) {
|
|
173
|
-
let pos = parser.stateFlag(this.state, 1 /* StateFlag.Skipped */) ? this.pos : this.reducePos;
|
|
174
|
-
this.storeNode(type, start, pos, count + 4, true);
|
|
175
|
-
}
|
|
176
|
-
if (action & 262144 /* Action.StayFlag */) {
|
|
177
|
-
this.state = this.stack[base];
|
|
178
|
-
}
|
|
179
|
-
else {
|
|
180
|
-
let baseStateID = this.stack[base - 3];
|
|
181
|
-
this.state = parser.getGoto(baseStateID, type, true);
|
|
182
|
-
}
|
|
183
|
-
while (this.stack.length > base)
|
|
184
|
-
this.stack.pop();
|
|
185
|
-
this.reduceContext(type, start);
|
|
186
|
-
}
|
|
187
|
-
// Shift a value into the buffer
|
|
188
|
-
/**
|
|
189
|
-
@internal
|
|
190
|
-
*/
|
|
191
|
-
storeNode(term, start, end, size = 4, mustSink = false) {
|
|
192
|
-
if (term == 0 /* Term.Err */ &&
|
|
193
|
-
(!this.stack.length || this.stack[this.stack.length - 1] < this.buffer.length + this.bufferBase)) {
|
|
194
|
-
// Try to omit/merge adjacent error nodes
|
|
195
|
-
let top = this.buffer.length;
|
|
196
|
-
if (top > 0 && this.buffer[top - 4] == 0 /* Term.Err */ && this.buffer[top - 1] > -1) {
|
|
197
|
-
if (start == end)
|
|
198
|
-
return;
|
|
199
|
-
if (this.buffer[top - 2] >= start) {
|
|
200
|
-
this.buffer[top - 2] = end;
|
|
201
|
-
return;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
if (!mustSink || this.pos == end) { // Simple case, just append
|
|
206
|
-
this.buffer.push(term, start, end, size);
|
|
207
|
-
}
|
|
208
|
-
else { // There may be skipped nodes that have to be moved forward
|
|
209
|
-
let index = this.buffer.length;
|
|
210
|
-
if (index > 0 && (this.buffer[index - 4] != 0 /* Term.Err */ || this.buffer[index - 1] < 0)) {
|
|
211
|
-
let mustMove = false;
|
|
212
|
-
for (let scan = index; scan > 0 && this.buffer[scan - 2] > end; scan -= 4) {
|
|
213
|
-
if (this.buffer[scan - 1] >= 0) {
|
|
214
|
-
mustMove = true;
|
|
215
|
-
break;
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
if (mustMove)
|
|
219
|
-
while (index > 0 && this.buffer[index - 2] > end) {
|
|
220
|
-
// Move this record forward
|
|
221
|
-
this.buffer[index] = this.buffer[index - 4];
|
|
222
|
-
this.buffer[index + 1] = this.buffer[index - 3];
|
|
223
|
-
this.buffer[index + 2] = this.buffer[index - 2];
|
|
224
|
-
this.buffer[index + 3] = this.buffer[index - 1];
|
|
225
|
-
index -= 4;
|
|
226
|
-
if (size > 4)
|
|
227
|
-
size -= 4;
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
this.buffer[index] = term;
|
|
231
|
-
this.buffer[index + 1] = start;
|
|
232
|
-
this.buffer[index + 2] = end;
|
|
233
|
-
this.buffer[index + 3] = size;
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
// Apply a shift action
|
|
237
|
-
/**
|
|
238
|
-
@internal
|
|
239
|
-
*/
|
|
240
|
-
shift(action, type, start, end) {
|
|
241
|
-
if (action & 131072 /* Action.GotoFlag */) {
|
|
242
|
-
this.pushState(action & 65535 /* Action.ValueMask */, this.pos);
|
|
243
|
-
}
|
|
244
|
-
else if ((action & 262144 /* Action.StayFlag */) == 0) { // Regular shift
|
|
245
|
-
let nextState = action, { parser } = this.p;
|
|
246
|
-
this.pos = end;
|
|
247
|
-
let skipped = parser.stateFlag(nextState, 1 /* StateFlag.Skipped */);
|
|
248
|
-
// Skipped or zero-length non-tree tokens don't move reducePos
|
|
249
|
-
if (!skipped && (end > start || type <= parser.maxNode))
|
|
250
|
-
this.reducePos = end;
|
|
251
|
-
this.pushState(nextState, skipped ? start : Math.min(start, this.reducePos));
|
|
252
|
-
this.shiftContext(type, start);
|
|
253
|
-
if (type <= parser.maxNode)
|
|
254
|
-
this.buffer.push(type, start, end, 4);
|
|
255
|
-
}
|
|
256
|
-
else { // Shift-and-stay, which means this is a skipped token
|
|
257
|
-
this.pos = end;
|
|
258
|
-
this.shiftContext(type, start);
|
|
259
|
-
if (type <= this.p.parser.maxNode)
|
|
260
|
-
this.buffer.push(type, start, end, 4);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
// Apply an action
|
|
264
|
-
/**
|
|
265
|
-
@internal
|
|
266
|
-
*/
|
|
267
|
-
apply(action, next, nextStart, nextEnd) {
|
|
268
|
-
if (action & 65536 /* Action.ReduceFlag */)
|
|
269
|
-
this.reduce(action);
|
|
270
|
-
else
|
|
271
|
-
this.shift(action, next, nextStart, nextEnd);
|
|
272
|
-
}
|
|
273
|
-
// Add a prebuilt (reused) node into the buffer.
|
|
274
|
-
/**
|
|
275
|
-
@internal
|
|
276
|
-
*/
|
|
277
|
-
useNode(value, next) {
|
|
278
|
-
let index = this.p.reused.length - 1;
|
|
279
|
-
if (index < 0 || this.p.reused[index] != value) {
|
|
280
|
-
this.p.reused.push(value);
|
|
281
|
-
index++;
|
|
282
|
-
}
|
|
283
|
-
let start = this.pos;
|
|
284
|
-
this.reducePos = this.pos = start + value.length;
|
|
285
|
-
this.pushState(next, start);
|
|
286
|
-
this.buffer.push(index, start, this.reducePos, -1 /* size == -1 means this is a reused value */);
|
|
287
|
-
if (this.curContext)
|
|
288
|
-
this.updateContext(this.curContext.tracker.reuse(this.curContext.context, value, this, this.p.stream.reset(this.pos - value.length)));
|
|
289
|
-
}
|
|
290
|
-
// Split the stack. Due to the buffer sharing and the fact
|
|
291
|
-
// that `this.stack` tends to stay quite shallow, this isn't very
|
|
292
|
-
// expensive.
|
|
293
|
-
/**
|
|
294
|
-
@internal
|
|
295
|
-
*/
|
|
296
|
-
split() {
|
|
297
|
-
let parent = this;
|
|
298
|
-
let off = parent.buffer.length;
|
|
299
|
-
// Leave off top error node, if there, because that might be
|
|
300
|
-
// merged with other nodes.
|
|
301
|
-
if (off && parent.buffer[off - 4] == 0 /* Term.Err */)
|
|
302
|
-
off -= 4;
|
|
303
|
-
// Because the top of the buffer (after this.pos) may be mutated
|
|
304
|
-
// to reorder reductions and skipped tokens, and shared buffers
|
|
305
|
-
// should be immutable, this copies any outstanding skipped tokens
|
|
306
|
-
// to the new buffer, and puts the base pointer before them.
|
|
307
|
-
while (off > 0 && parent.buffer[off - 2] > parent.reducePos)
|
|
308
|
-
off -= 4;
|
|
309
|
-
let buffer = parent.buffer.slice(off), base = parent.bufferBase + off;
|
|
310
|
-
// Make sure parent points to an actual parent with content, if there is such a parent.
|
|
311
|
-
while (parent && base == parent.bufferBase)
|
|
312
|
-
parent = parent.parent;
|
|
313
|
-
return new Stack(this.p, this.stack.slice(), this.state, this.reducePos, this.pos, this.score, buffer, base, this.curContext, this.lookAhead, parent);
|
|
314
|
-
}
|
|
315
|
-
// Try to recover from an error by 'deleting' (ignoring) one token.
|
|
316
|
-
/**
|
|
317
|
-
@internal
|
|
318
|
-
*/
|
|
319
|
-
recoverByDelete(next, nextEnd) {
|
|
320
|
-
let isNode = next <= this.p.parser.maxNode;
|
|
321
|
-
if (isNode)
|
|
322
|
-
this.storeNode(next, this.pos, nextEnd, 4);
|
|
323
|
-
this.storeNode(0 /* Term.Err */, this.pos, nextEnd, isNode ? 8 : 4);
|
|
324
|
-
this.pos = this.reducePos = nextEnd;
|
|
325
|
-
this.score -= 190 /* Recover.Delete */;
|
|
326
|
-
}
|
|
327
|
-
/**
|
|
328
|
-
Check if the given term would be able to be shifted (optionally
|
|
329
|
-
after some reductions) on this stack. This can be useful for
|
|
330
|
-
external tokenizers that want to make sure they only provide a
|
|
331
|
-
given token when it applies.
|
|
332
|
-
*/
|
|
333
|
-
canShift(term) {
|
|
334
|
-
for (let sim = new SimulatedStack(this);;) {
|
|
335
|
-
let action = this.p.parser.stateSlot(sim.state, 4 /* ParseState.DefaultReduce */) || this.p.parser.hasAction(sim.state, term);
|
|
336
|
-
if (action == 0)
|
|
337
|
-
return false;
|
|
338
|
-
if ((action & 65536 /* Action.ReduceFlag */) == 0)
|
|
339
|
-
return true;
|
|
340
|
-
sim.reduce(action);
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
// Apply up to Recover.MaxNext recovery actions that conceptually
|
|
344
|
-
// inserts some missing token or rule.
|
|
345
|
-
/**
|
|
346
|
-
@internal
|
|
347
|
-
*/
|
|
348
|
-
recoverByInsert(next) {
|
|
349
|
-
if (this.stack.length >= 300 /* Recover.MaxInsertStackDepth */)
|
|
350
|
-
return [];
|
|
351
|
-
let nextStates = this.p.parser.nextStates(this.state);
|
|
352
|
-
if (nextStates.length > 4 /* Recover.MaxNext */ << 1 || this.stack.length >= 120 /* Recover.DampenInsertStackDepth */) {
|
|
353
|
-
let best = [];
|
|
354
|
-
for (let i = 0, s; i < nextStates.length; i += 2) {
|
|
355
|
-
if ((s = nextStates[i + 1]) != this.state && this.p.parser.hasAction(s, next))
|
|
356
|
-
best.push(nextStates[i], s);
|
|
357
|
-
}
|
|
358
|
-
if (this.stack.length < 120 /* Recover.DampenInsertStackDepth */)
|
|
359
|
-
for (let i = 0; best.length < 4 /* Recover.MaxNext */ << 1 && i < nextStates.length; i += 2) {
|
|
360
|
-
let s = nextStates[i + 1];
|
|
361
|
-
if (!best.some((v, i) => (i & 1) && v == s))
|
|
362
|
-
best.push(nextStates[i], s);
|
|
363
|
-
}
|
|
364
|
-
nextStates = best;
|
|
365
|
-
}
|
|
366
|
-
let result = [];
|
|
367
|
-
for (let i = 0; i < nextStates.length && result.length < 4 /* Recover.MaxNext */; i += 2) {
|
|
368
|
-
let s = nextStates[i + 1];
|
|
369
|
-
if (s == this.state)
|
|
370
|
-
continue;
|
|
371
|
-
let stack = this.split();
|
|
372
|
-
stack.pushState(s, this.pos);
|
|
373
|
-
stack.storeNode(0 /* Term.Err */, stack.pos, stack.pos, 4, true);
|
|
374
|
-
stack.shiftContext(nextStates[i], this.pos);
|
|
375
|
-
stack.reducePos = this.pos;
|
|
376
|
-
stack.score -= 200 /* Recover.Insert */;
|
|
377
|
-
result.push(stack);
|
|
378
|
-
}
|
|
379
|
-
return result;
|
|
380
|
-
}
|
|
381
|
-
// Force a reduce, if possible. Return false if that can't
|
|
382
|
-
// be done.
|
|
383
|
-
/**
|
|
384
|
-
@internal
|
|
385
|
-
*/
|
|
386
|
-
forceReduce() {
|
|
387
|
-
let { parser } = this.p;
|
|
388
|
-
let reduce = parser.stateSlot(this.state, 5 /* ParseState.ForcedReduce */);
|
|
389
|
-
if ((reduce & 65536 /* Action.ReduceFlag */) == 0)
|
|
390
|
-
return false;
|
|
391
|
-
if (!parser.validAction(this.state, reduce)) {
|
|
392
|
-
let depth = reduce >> 19 /* Action.ReduceDepthShift */, term = reduce & 65535 /* Action.ValueMask */;
|
|
393
|
-
let target = this.stack.length - depth * 3;
|
|
394
|
-
if (target < 0 || parser.getGoto(this.stack[target], term, false) < 0) {
|
|
395
|
-
let backup = this.findForcedReduction();
|
|
396
|
-
if (backup == null)
|
|
397
|
-
return false;
|
|
398
|
-
reduce = backup;
|
|
399
|
-
}
|
|
400
|
-
this.storeNode(0 /* Term.Err */, this.pos, this.pos, 4, true);
|
|
401
|
-
this.score -= 100 /* Recover.Reduce */;
|
|
402
|
-
}
|
|
403
|
-
this.reducePos = this.pos;
|
|
404
|
-
this.reduce(reduce);
|
|
405
|
-
return true;
|
|
406
|
-
}
|
|
407
|
-
/**
|
|
408
|
-
Try to scan through the automaton to find some kind of reduction
|
|
409
|
-
that can be applied. Used when the regular ForcedReduce field
|
|
410
|
-
isn't a valid action. @internal
|
|
411
|
-
*/
|
|
412
|
-
findForcedReduction() {
|
|
413
|
-
let { parser } = this.p, seen = [];
|
|
414
|
-
let explore = (state, depth) => {
|
|
415
|
-
if (seen.includes(state))
|
|
416
|
-
return;
|
|
417
|
-
seen.push(state);
|
|
418
|
-
return parser.allActions(state, (action) => {
|
|
419
|
-
if (action & (262144 /* Action.StayFlag */ | 131072 /* Action.GotoFlag */)) ;
|
|
420
|
-
else if (action & 65536 /* Action.ReduceFlag */) {
|
|
421
|
-
let rDepth = (action >> 19 /* Action.ReduceDepthShift */) - depth;
|
|
422
|
-
if (rDepth > 1) {
|
|
423
|
-
let term = action & 65535 /* Action.ValueMask */, target = this.stack.length - rDepth * 3;
|
|
424
|
-
if (target >= 0 && parser.getGoto(this.stack[target], term, false) >= 0)
|
|
425
|
-
return (rDepth << 19 /* Action.ReduceDepthShift */) | 65536 /* Action.ReduceFlag */ | term;
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
else {
|
|
429
|
-
let found = explore(action, depth + 1);
|
|
430
|
-
if (found != null)
|
|
431
|
-
return found;
|
|
432
|
-
}
|
|
433
|
-
});
|
|
434
|
-
};
|
|
435
|
-
return explore(this.state, 0);
|
|
436
|
-
}
|
|
437
|
-
/**
|
|
438
|
-
@internal
|
|
439
|
-
*/
|
|
440
|
-
forceAll() {
|
|
441
|
-
while (!this.p.parser.stateFlag(this.state, 2 /* StateFlag.Accepting */)) {
|
|
442
|
-
if (!this.forceReduce()) {
|
|
443
|
-
this.storeNode(0 /* Term.Err */, this.pos, this.pos, 4, true);
|
|
444
|
-
break;
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
return this;
|
|
448
|
-
}
|
|
449
|
-
/**
|
|
450
|
-
Check whether this state has no further actions (assumed to be a direct descendant of the
|
|
451
|
-
top state, since any other states must be able to continue
|
|
452
|
-
somehow). @internal
|
|
453
|
-
*/
|
|
454
|
-
get deadEnd() {
|
|
455
|
-
if (this.stack.length != 3)
|
|
456
|
-
return false;
|
|
457
|
-
let { parser } = this.p;
|
|
458
|
-
return parser.data[parser.stateSlot(this.state, 1 /* ParseState.Actions */)] == 65535 /* Seq.End */ &&
|
|
459
|
-
!parser.stateSlot(this.state, 4 /* ParseState.DefaultReduce */);
|
|
460
|
-
}
|
|
461
|
-
/**
|
|
462
|
-
Restart the stack (put it back in its start state). Only safe
|
|
463
|
-
when this.stack.length == 3 (state is directly below the top
|
|
464
|
-
state). @internal
|
|
465
|
-
*/
|
|
466
|
-
restart() {
|
|
467
|
-
this.storeNode(0 /* Term.Err */, this.pos, this.pos, 4, true);
|
|
468
|
-
this.state = this.stack[0];
|
|
469
|
-
this.stack.length = 0;
|
|
470
|
-
}
|
|
471
|
-
/**
|
|
472
|
-
@internal
|
|
473
|
-
*/
|
|
474
|
-
sameState(other) {
|
|
475
|
-
if (this.state != other.state || this.stack.length != other.stack.length)
|
|
476
|
-
return false;
|
|
477
|
-
for (let i = 0; i < this.stack.length; i += 3)
|
|
478
|
-
if (this.stack[i] != other.stack[i])
|
|
479
|
-
return false;
|
|
480
|
-
return true;
|
|
481
|
-
}
|
|
482
|
-
/**
|
|
483
|
-
Get the parser used by this stack.
|
|
484
|
-
*/
|
|
485
|
-
get parser() { return this.p.parser; }
|
|
486
|
-
/**
|
|
487
|
-
Test whether a given dialect (by numeric ID, as exported from
|
|
488
|
-
the terms file) is enabled.
|
|
489
|
-
*/
|
|
490
|
-
dialectEnabled(dialectID) { return this.p.parser.dialect.flags[dialectID]; }
|
|
491
|
-
shiftContext(term, start) {
|
|
492
|
-
if (this.curContext)
|
|
493
|
-
this.updateContext(this.curContext.tracker.shift(this.curContext.context, term, this, this.p.stream.reset(start)));
|
|
494
|
-
}
|
|
495
|
-
reduceContext(term, start) {
|
|
496
|
-
if (this.curContext)
|
|
497
|
-
this.updateContext(this.curContext.tracker.reduce(this.curContext.context, term, this, this.p.stream.reset(start)));
|
|
498
|
-
}
|
|
499
|
-
/**
|
|
500
|
-
@internal
|
|
501
|
-
*/
|
|
502
|
-
emitContext() {
|
|
503
|
-
let last = this.buffer.length - 1;
|
|
504
|
-
if (last < 0 || this.buffer[last] != -3)
|
|
505
|
-
this.buffer.push(this.curContext.hash, this.pos, this.pos, -3);
|
|
506
|
-
}
|
|
507
|
-
/**
|
|
508
|
-
@internal
|
|
509
|
-
*/
|
|
510
|
-
emitLookAhead() {
|
|
511
|
-
let last = this.buffer.length - 1;
|
|
512
|
-
if (last < 0 || this.buffer[last] != -4)
|
|
513
|
-
this.buffer.push(this.lookAhead, this.pos, this.pos, -4);
|
|
514
|
-
}
|
|
515
|
-
updateContext(context) {
|
|
516
|
-
if (context != this.curContext.context) {
|
|
517
|
-
let newCx = new StackContext(this.curContext.tracker, context);
|
|
518
|
-
if (newCx.hash != this.curContext.hash)
|
|
519
|
-
this.emitContext();
|
|
520
|
-
this.curContext = newCx;
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
/**
|
|
524
|
-
@internal
|
|
525
|
-
*/
|
|
526
|
-
setLookAhead(lookAhead) {
|
|
527
|
-
if (lookAhead <= this.lookAhead)
|
|
528
|
-
return false;
|
|
529
|
-
this.emitLookAhead();
|
|
530
|
-
this.lookAhead = lookAhead;
|
|
531
|
-
return true;
|
|
532
|
-
}
|
|
533
|
-
/**
|
|
534
|
-
@internal
|
|
535
|
-
*/
|
|
536
|
-
close() {
|
|
537
|
-
if (this.curContext && this.curContext.tracker.strict)
|
|
538
|
-
this.emitContext();
|
|
539
|
-
if (this.lookAhead > 0)
|
|
540
|
-
this.emitLookAhead();
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
class StackContext {
|
|
544
|
-
constructor(tracker, context) {
|
|
545
|
-
this.tracker = tracker;
|
|
546
|
-
this.context = context;
|
|
547
|
-
this.hash = tracker.strict ? tracker.hash(context) : 0;
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
// Used to cheaply run some reductions to scan ahead without mutating
|
|
551
|
-
// an entire stack
|
|
552
|
-
class SimulatedStack {
|
|
553
|
-
constructor(start) {
|
|
554
|
-
this.start = start;
|
|
555
|
-
this.state = start.state;
|
|
556
|
-
this.stack = start.stack;
|
|
557
|
-
this.base = this.stack.length;
|
|
558
|
-
}
|
|
559
|
-
reduce(action) {
|
|
560
|
-
let term = action & 65535 /* Action.ValueMask */, depth = action >> 19 /* Action.ReduceDepthShift */;
|
|
561
|
-
if (depth == 0) {
|
|
562
|
-
if (this.stack == this.start.stack)
|
|
563
|
-
this.stack = this.stack.slice();
|
|
564
|
-
this.stack.push(this.state, 0, 0);
|
|
565
|
-
this.base += 3;
|
|
566
|
-
}
|
|
567
|
-
else {
|
|
568
|
-
this.base -= (depth - 1) * 3;
|
|
569
|
-
}
|
|
570
|
-
let goto = this.start.p.parser.getGoto(this.stack[this.base - 3], term, true);
|
|
571
|
-
this.state = goto;
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
// This is given to `Tree.build` to build a buffer, and encapsulates
|
|
575
|
-
// the parent-stack-walking necessary to read the nodes.
|
|
576
|
-
class StackBufferCursor {
|
|
577
|
-
constructor(stack, pos, index) {
|
|
578
|
-
this.stack = stack;
|
|
579
|
-
this.pos = pos;
|
|
580
|
-
this.index = index;
|
|
581
|
-
this.buffer = stack.buffer;
|
|
582
|
-
if (this.index == 0)
|
|
583
|
-
this.maybeNext();
|
|
584
|
-
}
|
|
585
|
-
static create(stack, pos = stack.bufferBase + stack.buffer.length) {
|
|
586
|
-
return new StackBufferCursor(stack, pos, pos - stack.bufferBase);
|
|
587
|
-
}
|
|
588
|
-
maybeNext() {
|
|
589
|
-
let next = this.stack.parent;
|
|
590
|
-
if (next != null) {
|
|
591
|
-
this.index = this.stack.bufferBase - next.bufferBase;
|
|
592
|
-
this.stack = next;
|
|
593
|
-
this.buffer = next.buffer;
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
get id() { return this.buffer[this.index - 4]; }
|
|
597
|
-
get start() { return this.buffer[this.index - 3]; }
|
|
598
|
-
get end() { return this.buffer[this.index - 2]; }
|
|
599
|
-
get size() { return this.buffer[this.index - 1]; }
|
|
600
|
-
next() {
|
|
601
|
-
this.index -= 4;
|
|
602
|
-
this.pos -= 4;
|
|
603
|
-
if (this.index == 0)
|
|
604
|
-
this.maybeNext();
|
|
605
|
-
}
|
|
606
|
-
fork() {
|
|
607
|
-
return new StackBufferCursor(this.stack, this.pos, this.index);
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
// See lezer-generator/src/encode.ts for comments about the encoding
|
|
612
|
-
// used here
|
|
613
|
-
function decodeArray(input, Type = Uint16Array) {
|
|
614
|
-
if (typeof input != "string")
|
|
615
|
-
return input;
|
|
616
|
-
let array = null;
|
|
617
|
-
for (let pos = 0, out = 0; pos < input.length;) {
|
|
618
|
-
let value = 0;
|
|
619
|
-
for (;;) {
|
|
620
|
-
let next = input.charCodeAt(pos++), stop = false;
|
|
621
|
-
if (next == 126 /* Encode.BigValCode */) {
|
|
622
|
-
value = 65535 /* Encode.BigVal */;
|
|
623
|
-
break;
|
|
624
|
-
}
|
|
625
|
-
if (next >= 92 /* Encode.Gap2 */)
|
|
626
|
-
next--;
|
|
627
|
-
if (next >= 34 /* Encode.Gap1 */)
|
|
628
|
-
next--;
|
|
629
|
-
let digit = next - 32 /* Encode.Start */;
|
|
630
|
-
if (digit >= 46 /* Encode.Base */) {
|
|
631
|
-
digit -= 46 /* Encode.Base */;
|
|
632
|
-
stop = true;
|
|
633
|
-
}
|
|
634
|
-
value += digit;
|
|
635
|
-
if (stop)
|
|
636
|
-
break;
|
|
637
|
-
value *= 46 /* Encode.Base */;
|
|
638
|
-
}
|
|
639
|
-
if (array)
|
|
640
|
-
array[out++] = value;
|
|
641
|
-
else
|
|
642
|
-
array = new Type(value);
|
|
643
|
-
}
|
|
644
|
-
return array;
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
class CachedToken {
|
|
648
|
-
constructor() {
|
|
649
|
-
this.start = -1;
|
|
650
|
-
this.value = -1;
|
|
651
|
-
this.end = -1;
|
|
652
|
-
this.extended = -1;
|
|
653
|
-
this.lookAhead = 0;
|
|
654
|
-
this.mask = 0;
|
|
655
|
-
this.context = 0;
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
const nullToken = new CachedToken;
|
|
659
|
-
/**
|
|
660
|
-
[Tokenizers](#lr.ExternalTokenizer) interact with the input
|
|
661
|
-
through this interface. It presents the input as a stream of
|
|
662
|
-
characters, tracking lookahead and hiding the complexity of
|
|
663
|
-
[ranges](#common.Parser.parse^ranges) from tokenizer code.
|
|
664
|
-
*/
|
|
665
|
-
class InputStream {
|
|
666
|
-
/**
|
|
667
|
-
@internal
|
|
668
|
-
*/
|
|
669
|
-
constructor(
|
|
670
|
-
/**
|
|
671
|
-
@internal
|
|
672
|
-
*/
|
|
673
|
-
input,
|
|
674
|
-
/**
|
|
675
|
-
@internal
|
|
676
|
-
*/
|
|
677
|
-
ranges) {
|
|
678
|
-
this.input = input;
|
|
679
|
-
this.ranges = ranges;
|
|
680
|
-
/**
|
|
681
|
-
@internal
|
|
682
|
-
*/
|
|
683
|
-
this.chunk = "";
|
|
684
|
-
/**
|
|
685
|
-
@internal
|
|
686
|
-
*/
|
|
687
|
-
this.chunkOff = 0;
|
|
688
|
-
/**
|
|
689
|
-
Backup chunk
|
|
690
|
-
*/
|
|
691
|
-
this.chunk2 = "";
|
|
692
|
-
this.chunk2Pos = 0;
|
|
693
|
-
/**
|
|
694
|
-
The character code of the next code unit in the input, or -1
|
|
695
|
-
when the stream is at the end of the input.
|
|
696
|
-
*/
|
|
697
|
-
this.next = -1;
|
|
698
|
-
/**
|
|
699
|
-
@internal
|
|
700
|
-
*/
|
|
701
|
-
this.token = nullToken;
|
|
702
|
-
this.rangeIndex = 0;
|
|
703
|
-
this.pos = this.chunkPos = ranges[0].from;
|
|
704
|
-
this.range = ranges[0];
|
|
705
|
-
this.end = ranges[ranges.length - 1].to;
|
|
706
|
-
this.readNext();
|
|
707
|
-
}
|
|
708
|
-
/**
|
|
709
|
-
@internal
|
|
710
|
-
*/
|
|
711
|
-
resolveOffset(offset, assoc) {
|
|
712
|
-
let range = this.range, index = this.rangeIndex;
|
|
713
|
-
let pos = this.pos + offset;
|
|
714
|
-
while (pos < range.from) {
|
|
715
|
-
if (!index)
|
|
716
|
-
return null;
|
|
717
|
-
let next = this.ranges[--index];
|
|
718
|
-
pos -= range.from - next.to;
|
|
719
|
-
range = next;
|
|
720
|
-
}
|
|
721
|
-
while (assoc < 0 ? pos > range.to : pos >= range.to) {
|
|
722
|
-
if (index == this.ranges.length - 1)
|
|
723
|
-
return null;
|
|
724
|
-
let next = this.ranges[++index];
|
|
725
|
-
pos += next.from - range.to;
|
|
726
|
-
range = next;
|
|
727
|
-
}
|
|
728
|
-
return pos;
|
|
729
|
-
}
|
|
730
|
-
/**
|
|
731
|
-
@internal
|
|
732
|
-
*/
|
|
733
|
-
clipPos(pos) {
|
|
734
|
-
if (pos >= this.range.from && pos < this.range.to)
|
|
735
|
-
return pos;
|
|
736
|
-
for (let range of this.ranges)
|
|
737
|
-
if (range.to > pos)
|
|
738
|
-
return Math.max(pos, range.from);
|
|
739
|
-
return this.end;
|
|
740
|
-
}
|
|
741
|
-
/**
|
|
742
|
-
Look at a code unit near the stream position. `.peek(0)` equals
|
|
743
|
-
`.next`, `.peek(-1)` gives you the previous character, and so
|
|
744
|
-
on.
|
|
745
|
-
|
|
746
|
-
Note that looking around during tokenizing creates dependencies
|
|
747
|
-
on potentially far-away content, which may reduce the
|
|
748
|
-
effectiveness incremental parsing—when looking forward—or even
|
|
749
|
-
cause invalid reparses when looking backward more than 25 code
|
|
750
|
-
units, since the library does not track lookbehind.
|
|
751
|
-
*/
|
|
752
|
-
peek(offset) {
|
|
753
|
-
let idx = this.chunkOff + offset, pos, result;
|
|
754
|
-
if (idx >= 0 && idx < this.chunk.length) {
|
|
755
|
-
pos = this.pos + offset;
|
|
756
|
-
result = this.chunk.charCodeAt(idx);
|
|
757
|
-
}
|
|
758
|
-
else {
|
|
759
|
-
let resolved = this.resolveOffset(offset, 1);
|
|
760
|
-
if (resolved == null)
|
|
761
|
-
return -1;
|
|
762
|
-
pos = resolved;
|
|
763
|
-
if (pos >= this.chunk2Pos && pos < this.chunk2Pos + this.chunk2.length) {
|
|
764
|
-
result = this.chunk2.charCodeAt(pos - this.chunk2Pos);
|
|
765
|
-
}
|
|
766
|
-
else {
|
|
767
|
-
let i = this.rangeIndex, range = this.range;
|
|
768
|
-
while (range.to <= pos)
|
|
769
|
-
range = this.ranges[++i];
|
|
770
|
-
this.chunk2 = this.input.chunk(this.chunk2Pos = pos);
|
|
771
|
-
if (pos + this.chunk2.length > range.to)
|
|
772
|
-
this.chunk2 = this.chunk2.slice(0, range.to - pos);
|
|
773
|
-
result = this.chunk2.charCodeAt(0);
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
if (pos >= this.token.lookAhead)
|
|
777
|
-
this.token.lookAhead = pos + 1;
|
|
778
|
-
return result;
|
|
779
|
-
}
|
|
780
|
-
/**
|
|
781
|
-
Accept a token. By default, the end of the token is set to the
|
|
782
|
-
current stream position, but you can pass an offset (relative to
|
|
783
|
-
the stream position) to change that.
|
|
784
|
-
*/
|
|
785
|
-
acceptToken(token, endOffset = 0) {
|
|
786
|
-
let end = endOffset ? this.resolveOffset(endOffset, -1) : this.pos;
|
|
787
|
-
if (end == null || end < this.token.start)
|
|
788
|
-
throw new RangeError("Token end out of bounds");
|
|
789
|
-
this.token.value = token;
|
|
790
|
-
this.token.end = end;
|
|
791
|
-
}
|
|
792
|
-
/**
|
|
793
|
-
Accept a token ending at a specific given position.
|
|
794
|
-
*/
|
|
795
|
-
acceptTokenTo(token, endPos) {
|
|
796
|
-
this.token.value = token;
|
|
797
|
-
this.token.end = endPos;
|
|
798
|
-
}
|
|
799
|
-
getChunk() {
|
|
800
|
-
if (this.pos >= this.chunk2Pos && this.pos < this.chunk2Pos + this.chunk2.length) {
|
|
801
|
-
let { chunk, chunkPos } = this;
|
|
802
|
-
this.chunk = this.chunk2;
|
|
803
|
-
this.chunkPos = this.chunk2Pos;
|
|
804
|
-
this.chunk2 = chunk;
|
|
805
|
-
this.chunk2Pos = chunkPos;
|
|
806
|
-
this.chunkOff = this.pos - this.chunkPos;
|
|
807
|
-
}
|
|
808
|
-
else {
|
|
809
|
-
this.chunk2 = this.chunk;
|
|
810
|
-
this.chunk2Pos = this.chunkPos;
|
|
811
|
-
let nextChunk = this.input.chunk(this.pos);
|
|
812
|
-
let end = this.pos + nextChunk.length;
|
|
813
|
-
this.chunk = end > this.range.to ? nextChunk.slice(0, this.range.to - this.pos) : nextChunk;
|
|
814
|
-
this.chunkPos = this.pos;
|
|
815
|
-
this.chunkOff = 0;
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
readNext() {
|
|
819
|
-
if (this.chunkOff >= this.chunk.length) {
|
|
820
|
-
this.getChunk();
|
|
821
|
-
if (this.chunkOff == this.chunk.length)
|
|
822
|
-
return this.next = -1;
|
|
823
|
-
}
|
|
824
|
-
return this.next = this.chunk.charCodeAt(this.chunkOff);
|
|
825
|
-
}
|
|
826
|
-
/**
|
|
827
|
-
Move the stream forward N (defaults to 1) code units. Returns
|
|
828
|
-
the new value of [`next`](#lr.InputStream.next).
|
|
829
|
-
*/
|
|
830
|
-
advance(n = 1) {
|
|
831
|
-
this.chunkOff += n;
|
|
832
|
-
while (this.pos + n >= this.range.to) {
|
|
833
|
-
if (this.rangeIndex == this.ranges.length - 1)
|
|
834
|
-
return this.setDone();
|
|
835
|
-
n -= this.range.to - this.pos;
|
|
836
|
-
this.range = this.ranges[++this.rangeIndex];
|
|
837
|
-
this.pos = this.range.from;
|
|
838
|
-
}
|
|
839
|
-
this.pos += n;
|
|
840
|
-
if (this.pos >= this.token.lookAhead)
|
|
841
|
-
this.token.lookAhead = this.pos + 1;
|
|
842
|
-
return this.readNext();
|
|
843
|
-
}
|
|
844
|
-
setDone() {
|
|
845
|
-
this.pos = this.chunkPos = this.end;
|
|
846
|
-
this.range = this.ranges[this.rangeIndex = this.ranges.length - 1];
|
|
847
|
-
this.chunk = "";
|
|
848
|
-
return this.next = -1;
|
|
849
|
-
}
|
|
850
|
-
/**
|
|
851
|
-
@internal
|
|
852
|
-
*/
|
|
853
|
-
reset(pos, token) {
|
|
854
|
-
if (token) {
|
|
855
|
-
this.token = token;
|
|
856
|
-
token.start = pos;
|
|
857
|
-
token.lookAhead = pos + 1;
|
|
858
|
-
token.value = token.extended = -1;
|
|
859
|
-
}
|
|
860
|
-
else {
|
|
861
|
-
this.token = nullToken;
|
|
862
|
-
}
|
|
863
|
-
if (this.pos != pos) {
|
|
864
|
-
this.pos = pos;
|
|
865
|
-
if (pos == this.end) {
|
|
866
|
-
this.setDone();
|
|
867
|
-
return this;
|
|
868
|
-
}
|
|
869
|
-
while (pos < this.range.from)
|
|
870
|
-
this.range = this.ranges[--this.rangeIndex];
|
|
871
|
-
while (pos >= this.range.to)
|
|
872
|
-
this.range = this.ranges[++this.rangeIndex];
|
|
873
|
-
if (pos >= this.chunkPos && pos < this.chunkPos + this.chunk.length) {
|
|
874
|
-
this.chunkOff = pos - this.chunkPos;
|
|
875
|
-
}
|
|
876
|
-
else {
|
|
877
|
-
this.chunk = "";
|
|
878
|
-
this.chunkOff = 0;
|
|
879
|
-
}
|
|
880
|
-
this.readNext();
|
|
881
|
-
}
|
|
882
|
-
return this;
|
|
883
|
-
}
|
|
884
|
-
/**
|
|
885
|
-
@internal
|
|
886
|
-
*/
|
|
887
|
-
read(from, to) {
|
|
888
|
-
if (from >= this.chunkPos && to <= this.chunkPos + this.chunk.length)
|
|
889
|
-
return this.chunk.slice(from - this.chunkPos, to - this.chunkPos);
|
|
890
|
-
if (from >= this.chunk2Pos && to <= this.chunk2Pos + this.chunk2.length)
|
|
891
|
-
return this.chunk2.slice(from - this.chunk2Pos, to - this.chunk2Pos);
|
|
892
|
-
if (from >= this.range.from && to <= this.range.to)
|
|
893
|
-
return this.input.read(from, to);
|
|
894
|
-
let result = "";
|
|
895
|
-
for (let r of this.ranges) {
|
|
896
|
-
if (r.from >= to)
|
|
897
|
-
break;
|
|
898
|
-
if (r.to > from)
|
|
899
|
-
result += this.input.read(Math.max(r.from, from), Math.min(r.to, to));
|
|
900
|
-
}
|
|
901
|
-
return result;
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
/**
|
|
905
|
-
@internal
|
|
906
|
-
*/
|
|
907
|
-
class TokenGroup {
|
|
908
|
-
constructor(data, id) {
|
|
909
|
-
this.data = data;
|
|
910
|
-
this.id = id;
|
|
911
|
-
}
|
|
912
|
-
token(input, stack) {
|
|
913
|
-
let { parser } = stack.p;
|
|
914
|
-
readToken(this.data, input, stack, this.id, parser.data, parser.tokenPrecTable);
|
|
915
|
-
}
|
|
916
|
-
}
|
|
917
|
-
TokenGroup.prototype.contextual = TokenGroup.prototype.fallback = TokenGroup.prototype.extend = false;
|
|
918
|
-
/**
|
|
919
|
-
@hide
|
|
920
|
-
*/
|
|
921
|
-
class LocalTokenGroup {
|
|
922
|
-
constructor(data, precTable, elseToken) {
|
|
923
|
-
this.precTable = precTable;
|
|
924
|
-
this.elseToken = elseToken;
|
|
925
|
-
this.data = typeof data == "string" ? decodeArray(data) : data;
|
|
926
|
-
}
|
|
927
|
-
token(input, stack) {
|
|
928
|
-
let start = input.pos, skipped = 0;
|
|
929
|
-
for (;;) {
|
|
930
|
-
let atEof = input.next < 0, nextPos = input.resolveOffset(1, 1);
|
|
931
|
-
readToken(this.data, input, stack, 0, this.data, this.precTable);
|
|
932
|
-
if (input.token.value > -1)
|
|
933
|
-
break;
|
|
934
|
-
if (this.elseToken == null)
|
|
935
|
-
return;
|
|
936
|
-
if (!atEof)
|
|
937
|
-
skipped++;
|
|
938
|
-
if (nextPos == null)
|
|
939
|
-
break;
|
|
940
|
-
input.reset(nextPos, input.token);
|
|
941
|
-
}
|
|
942
|
-
if (skipped) {
|
|
943
|
-
input.reset(start, input.token);
|
|
944
|
-
input.acceptToken(this.elseToken, skipped);
|
|
945
|
-
}
|
|
946
|
-
}
|
|
947
|
-
}
|
|
948
|
-
LocalTokenGroup.prototype.contextual = TokenGroup.prototype.fallback = TokenGroup.prototype.extend = false;
|
|
949
|
-
/**
|
|
950
|
-
`@external tokens` declarations in the grammar should resolve to
|
|
951
|
-
an instance of this class.
|
|
952
|
-
*/
|
|
953
|
-
class ExternalTokenizer {
|
|
954
|
-
/**
|
|
955
|
-
Create a tokenizer. The first argument is the function that,
|
|
956
|
-
given an input stream, scans for the types of tokens it
|
|
957
|
-
recognizes at the stream's position, and calls
|
|
958
|
-
[`acceptToken`](#lr.InputStream.acceptToken) when it finds
|
|
959
|
-
one.
|
|
960
|
-
*/
|
|
961
|
-
constructor(
|
|
962
|
-
/**
|
|
963
|
-
@internal
|
|
964
|
-
*/
|
|
965
|
-
token, options = {}) {
|
|
966
|
-
this.token = token;
|
|
967
|
-
this.contextual = !!options.contextual;
|
|
968
|
-
this.fallback = !!options.fallback;
|
|
969
|
-
this.extend = !!options.extend;
|
|
970
|
-
}
|
|
971
|
-
}
|
|
972
|
-
// Tokenizer data is stored a big uint16 array containing, for each
|
|
973
|
-
// state:
|
|
974
|
-
//
|
|
975
|
-
// - A group bitmask, indicating what token groups are reachable from
|
|
976
|
-
// this state, so that paths that can only lead to tokens not in
|
|
977
|
-
// any of the current groups can be cut off early.
|
|
978
|
-
//
|
|
979
|
-
// - The position of the end of the state's sequence of accepting
|
|
980
|
-
// tokens
|
|
981
|
-
//
|
|
982
|
-
// - The number of outgoing edges for the state
|
|
983
|
-
//
|
|
984
|
-
// - The accepting tokens, as (token id, group mask) pairs
|
|
985
|
-
//
|
|
986
|
-
// - The outgoing edges, as (start character, end character, state
|
|
987
|
-
// index) triples, with end character being exclusive
|
|
988
|
-
//
|
|
989
|
-
// This function interprets that data, running through a stream as
|
|
990
|
-
// long as new states with the a matching group mask can be reached,
|
|
991
|
-
// and updating `input.token` when it matches a token.
|
|
992
|
-
function readToken(data, input, stack, group, precTable, precOffset) {
|
|
993
|
-
let state = 0, groupMask = 1 << group, { dialect } = stack.p.parser;
|
|
994
|
-
scan: for (;;) {
|
|
995
|
-
if ((groupMask & data[state]) == 0)
|
|
996
|
-
break;
|
|
997
|
-
let accEnd = data[state + 1];
|
|
998
|
-
// Check whether this state can lead to a token in the current group
|
|
999
|
-
// Accept tokens in this state, possibly overwriting
|
|
1000
|
-
// lower-precedence / shorter tokens
|
|
1001
|
-
for (let i = state + 3; i < accEnd; i += 2)
|
|
1002
|
-
if ((data[i + 1] & groupMask) > 0) {
|
|
1003
|
-
let term = data[i];
|
|
1004
|
-
if (dialect.allows(term) &&
|
|
1005
|
-
(input.token.value == -1 || input.token.value == term ||
|
|
1006
|
-
overrides(term, input.token.value, precTable, precOffset))) {
|
|
1007
|
-
input.acceptToken(term);
|
|
1008
|
-
break;
|
|
1009
|
-
}
|
|
1010
|
-
}
|
|
1011
|
-
let next = input.next, low = 0, high = data[state + 2];
|
|
1012
|
-
// Special case for EOF
|
|
1013
|
-
if (input.next < 0 && high > low && data[accEnd + high * 3 - 3] == 65535 /* Seq.End */) {
|
|
1014
|
-
state = data[accEnd + high * 3 - 1];
|
|
1015
|
-
continue scan;
|
|
1016
|
-
}
|
|
1017
|
-
// Do a binary search on the state's edges
|
|
1018
|
-
for (; low < high;) {
|
|
1019
|
-
let mid = (low + high) >> 1;
|
|
1020
|
-
let index = accEnd + mid + (mid << 1);
|
|
1021
|
-
let from = data[index], to = data[index + 1] || 0x10000;
|
|
1022
|
-
if (next < from)
|
|
1023
|
-
high = mid;
|
|
1024
|
-
else if (next >= to)
|
|
1025
|
-
low = mid + 1;
|
|
1026
|
-
else {
|
|
1027
|
-
state = data[index + 2];
|
|
1028
|
-
input.advance();
|
|
1029
|
-
continue scan;
|
|
1030
|
-
}
|
|
1031
|
-
}
|
|
1032
|
-
break;
|
|
1033
|
-
}
|
|
1034
|
-
}
|
|
1035
|
-
function findOffset(data, start, term) {
|
|
1036
|
-
for (let i = start, next; (next = data[i]) != 65535 /* Seq.End */; i++)
|
|
1037
|
-
if (next == term)
|
|
1038
|
-
return i - start;
|
|
1039
|
-
return -1;
|
|
1040
|
-
}
|
|
1041
|
-
function overrides(token, prev, tableData, tableOffset) {
|
|
1042
|
-
let iPrev = findOffset(tableData, tableOffset, prev);
|
|
1043
|
-
return iPrev < 0 || findOffset(tableData, tableOffset, token) < iPrev;
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
// Environment variable used to control console output
|
|
1047
|
-
const verbose = typeof process != "undefined" && process.env && /\bparse\b/.test(process.env.LOG);
|
|
1048
|
-
let stackIDs = null;
|
|
1049
|
-
function cutAt(tree, pos, side) {
|
|
1050
|
-
let cursor = tree.cursor(index.IterMode.IncludeAnonymous);
|
|
1051
|
-
cursor.moveTo(pos);
|
|
1052
|
-
for (;;) {
|
|
1053
|
-
if (!(side < 0 ? cursor.childBefore(pos) : cursor.childAfter(pos)))
|
|
1054
|
-
for (;;) {
|
|
1055
|
-
if ((side < 0 ? cursor.to < pos : cursor.from > pos) && !cursor.type.isError)
|
|
1056
|
-
return side < 0 ? Math.max(0, Math.min(cursor.to - 1, pos - 25 /* Lookahead.Margin */))
|
|
1057
|
-
: Math.min(tree.length, Math.max(cursor.from + 1, pos + 25 /* Lookahead.Margin */));
|
|
1058
|
-
if (side < 0 ? cursor.prevSibling() : cursor.nextSibling())
|
|
1059
|
-
break;
|
|
1060
|
-
if (!cursor.parent())
|
|
1061
|
-
return side < 0 ? 0 : tree.length;
|
|
1062
|
-
}
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
class FragmentCursor {
|
|
1066
|
-
constructor(fragments, nodeSet) {
|
|
1067
|
-
this.fragments = fragments;
|
|
1068
|
-
this.nodeSet = nodeSet;
|
|
1069
|
-
this.i = 0;
|
|
1070
|
-
this.fragment = null;
|
|
1071
|
-
this.safeFrom = -1;
|
|
1072
|
-
this.safeTo = -1;
|
|
1073
|
-
this.trees = [];
|
|
1074
|
-
this.start = [];
|
|
1075
|
-
this.index = [];
|
|
1076
|
-
this.nextFragment();
|
|
1077
|
-
}
|
|
1078
|
-
nextFragment() {
|
|
1079
|
-
let fr = this.fragment = this.i == this.fragments.length ? null : this.fragments[this.i++];
|
|
1080
|
-
if (fr) {
|
|
1081
|
-
this.safeFrom = fr.openStart ? cutAt(fr.tree, fr.from + fr.offset, 1) - fr.offset : fr.from;
|
|
1082
|
-
this.safeTo = fr.openEnd ? cutAt(fr.tree, fr.to + fr.offset, -1) - fr.offset : fr.to;
|
|
1083
|
-
while (this.trees.length) {
|
|
1084
|
-
this.trees.pop();
|
|
1085
|
-
this.start.pop();
|
|
1086
|
-
this.index.pop();
|
|
1087
|
-
}
|
|
1088
|
-
this.trees.push(fr.tree);
|
|
1089
|
-
this.start.push(-fr.offset);
|
|
1090
|
-
this.index.push(0);
|
|
1091
|
-
this.nextStart = this.safeFrom;
|
|
1092
|
-
}
|
|
1093
|
-
else {
|
|
1094
|
-
this.nextStart = 1e9;
|
|
1095
|
-
}
|
|
1096
|
-
}
|
|
1097
|
-
// `pos` must be >= any previously given `pos` for this cursor
|
|
1098
|
-
nodeAt(pos) {
|
|
1099
|
-
if (pos < this.nextStart)
|
|
1100
|
-
return null;
|
|
1101
|
-
while (this.fragment && this.safeTo <= pos)
|
|
1102
|
-
this.nextFragment();
|
|
1103
|
-
if (!this.fragment)
|
|
1104
|
-
return null;
|
|
1105
|
-
for (;;) {
|
|
1106
|
-
let last = this.trees.length - 1;
|
|
1107
|
-
if (last < 0) { // End of tree
|
|
1108
|
-
this.nextFragment();
|
|
1109
|
-
return null;
|
|
1110
|
-
}
|
|
1111
|
-
let top = this.trees[last], index$1 = this.index[last];
|
|
1112
|
-
if (index$1 == top.children.length) {
|
|
1113
|
-
this.trees.pop();
|
|
1114
|
-
this.start.pop();
|
|
1115
|
-
this.index.pop();
|
|
1116
|
-
continue;
|
|
1117
|
-
}
|
|
1118
|
-
let next = top.children[index$1];
|
|
1119
|
-
let start = this.start[last] + top.positions[index$1];
|
|
1120
|
-
if (start > pos) {
|
|
1121
|
-
this.nextStart = start;
|
|
1122
|
-
return null;
|
|
1123
|
-
}
|
|
1124
|
-
if (next instanceof index.Tree) {
|
|
1125
|
-
if (start == pos) {
|
|
1126
|
-
if (start < this.safeFrom)
|
|
1127
|
-
return null;
|
|
1128
|
-
let end = start + next.length;
|
|
1129
|
-
if (end <= this.safeTo) {
|
|
1130
|
-
let lookAhead = next.prop(index.NodeProp.lookAhead);
|
|
1131
|
-
if (!lookAhead || end + lookAhead < this.fragment.to)
|
|
1132
|
-
return next;
|
|
1133
|
-
}
|
|
1134
|
-
}
|
|
1135
|
-
this.index[last]++;
|
|
1136
|
-
if (start + next.length >= Math.max(this.safeFrom, pos)) { // Enter this node
|
|
1137
|
-
this.trees.push(next);
|
|
1138
|
-
this.start.push(start);
|
|
1139
|
-
this.index.push(0);
|
|
1140
|
-
}
|
|
1141
|
-
}
|
|
1142
|
-
else {
|
|
1143
|
-
this.index[last]++;
|
|
1144
|
-
this.nextStart = start + next.length;
|
|
1145
|
-
}
|
|
1146
|
-
}
|
|
1147
|
-
}
|
|
1148
|
-
}
|
|
1149
|
-
class TokenCache {
|
|
1150
|
-
constructor(parser, stream) {
|
|
1151
|
-
this.stream = stream;
|
|
1152
|
-
this.tokens = [];
|
|
1153
|
-
this.mainToken = null;
|
|
1154
|
-
this.actions = [];
|
|
1155
|
-
this.tokens = parser.tokenizers.map(_ => new CachedToken);
|
|
1156
|
-
}
|
|
1157
|
-
getActions(stack) {
|
|
1158
|
-
let actionIndex = 0;
|
|
1159
|
-
let main = null;
|
|
1160
|
-
let { parser } = stack.p, { tokenizers } = parser;
|
|
1161
|
-
let mask = parser.stateSlot(stack.state, 3 /* ParseState.TokenizerMask */);
|
|
1162
|
-
let context = stack.curContext ? stack.curContext.hash : 0;
|
|
1163
|
-
let lookAhead = 0;
|
|
1164
|
-
for (let i = 0; i < tokenizers.length; i++) {
|
|
1165
|
-
if (((1 << i) & mask) == 0)
|
|
1166
|
-
continue;
|
|
1167
|
-
let tokenizer = tokenizers[i], token = this.tokens[i];
|
|
1168
|
-
if (main && !tokenizer.fallback)
|
|
1169
|
-
continue;
|
|
1170
|
-
if (tokenizer.contextual || token.start != stack.pos || token.mask != mask || token.context != context) {
|
|
1171
|
-
this.updateCachedToken(token, tokenizer, stack);
|
|
1172
|
-
token.mask = mask;
|
|
1173
|
-
token.context = context;
|
|
1174
|
-
}
|
|
1175
|
-
if (token.lookAhead > token.end + 25 /* Lookahead.Margin */)
|
|
1176
|
-
lookAhead = Math.max(token.lookAhead, lookAhead);
|
|
1177
|
-
if (token.value != 0 /* Term.Err */) {
|
|
1178
|
-
let startIndex = actionIndex;
|
|
1179
|
-
if (token.extended > -1)
|
|
1180
|
-
actionIndex = this.addActions(stack, token.extended, token.end, actionIndex);
|
|
1181
|
-
actionIndex = this.addActions(stack, token.value, token.end, actionIndex);
|
|
1182
|
-
if (!tokenizer.extend) {
|
|
1183
|
-
main = token;
|
|
1184
|
-
if (actionIndex > startIndex)
|
|
1185
|
-
break;
|
|
1186
|
-
}
|
|
1187
|
-
}
|
|
1188
|
-
}
|
|
1189
|
-
while (this.actions.length > actionIndex)
|
|
1190
|
-
this.actions.pop();
|
|
1191
|
-
if (lookAhead)
|
|
1192
|
-
stack.setLookAhead(lookAhead);
|
|
1193
|
-
if (!main && stack.pos == this.stream.end) {
|
|
1194
|
-
main = new CachedToken;
|
|
1195
|
-
main.value = stack.p.parser.eofTerm;
|
|
1196
|
-
main.start = main.end = stack.pos;
|
|
1197
|
-
actionIndex = this.addActions(stack, main.value, main.end, actionIndex);
|
|
1198
|
-
}
|
|
1199
|
-
this.mainToken = main;
|
|
1200
|
-
return this.actions;
|
|
1201
|
-
}
|
|
1202
|
-
getMainToken(stack) {
|
|
1203
|
-
if (this.mainToken)
|
|
1204
|
-
return this.mainToken;
|
|
1205
|
-
let main = new CachedToken, { pos, p } = stack;
|
|
1206
|
-
main.start = pos;
|
|
1207
|
-
main.end = Math.min(pos + 1, p.stream.end);
|
|
1208
|
-
main.value = pos == p.stream.end ? p.parser.eofTerm : 0 /* Term.Err */;
|
|
1209
|
-
return main;
|
|
1210
|
-
}
|
|
1211
|
-
updateCachedToken(token, tokenizer, stack) {
|
|
1212
|
-
let start = this.stream.clipPos(stack.pos);
|
|
1213
|
-
tokenizer.token(this.stream.reset(start, token), stack);
|
|
1214
|
-
if (token.value > -1) {
|
|
1215
|
-
let { parser } = stack.p;
|
|
1216
|
-
for (let i = 0; i < parser.specialized.length; i++)
|
|
1217
|
-
if (parser.specialized[i] == token.value) {
|
|
1218
|
-
let result = parser.specializers[i](this.stream.read(token.start, token.end), stack);
|
|
1219
|
-
if (result >= 0 && stack.p.parser.dialect.allows(result >> 1)) {
|
|
1220
|
-
if ((result & 1) == 0 /* Specialize.Specialize */)
|
|
1221
|
-
token.value = result >> 1;
|
|
1222
|
-
else
|
|
1223
|
-
token.extended = result >> 1;
|
|
1224
|
-
break;
|
|
1225
|
-
}
|
|
1226
|
-
}
|
|
1227
|
-
}
|
|
1228
|
-
else {
|
|
1229
|
-
token.value = 0 /* Term.Err */;
|
|
1230
|
-
token.end = this.stream.clipPos(start + 1);
|
|
1231
|
-
}
|
|
1232
|
-
}
|
|
1233
|
-
putAction(action, token, end, index) {
|
|
1234
|
-
// Don't add duplicate actions
|
|
1235
|
-
for (let i = 0; i < index; i += 3)
|
|
1236
|
-
if (this.actions[i] == action)
|
|
1237
|
-
return index;
|
|
1238
|
-
this.actions[index++] = action;
|
|
1239
|
-
this.actions[index++] = token;
|
|
1240
|
-
this.actions[index++] = end;
|
|
1241
|
-
return index;
|
|
1242
|
-
}
|
|
1243
|
-
addActions(stack, token, end, index) {
|
|
1244
|
-
let { state } = stack, { parser } = stack.p, { data } = parser;
|
|
1245
|
-
for (let set = 0; set < 2; set++) {
|
|
1246
|
-
for (let i = parser.stateSlot(state, set ? 2 /* ParseState.Skip */ : 1 /* ParseState.Actions */);; i += 3) {
|
|
1247
|
-
if (data[i] == 65535 /* Seq.End */) {
|
|
1248
|
-
if (data[i + 1] == 1 /* Seq.Next */) {
|
|
1249
|
-
i = pair(data, i + 2);
|
|
1250
|
-
}
|
|
1251
|
-
else {
|
|
1252
|
-
if (index == 0 && data[i + 1] == 2 /* Seq.Other */)
|
|
1253
|
-
index = this.putAction(pair(data, i + 2), token, end, index);
|
|
1254
|
-
break;
|
|
1255
|
-
}
|
|
1256
|
-
}
|
|
1257
|
-
if (data[i] == token)
|
|
1258
|
-
index = this.putAction(pair(data, i + 1), token, end, index);
|
|
1259
|
-
}
|
|
1260
|
-
}
|
|
1261
|
-
return index;
|
|
1262
|
-
}
|
|
1263
|
-
}
|
|
1264
|
-
class Parse {
|
|
1265
|
-
constructor(parser, input, fragments, ranges) {
|
|
1266
|
-
this.parser = parser;
|
|
1267
|
-
this.input = input;
|
|
1268
|
-
this.ranges = ranges;
|
|
1269
|
-
this.recovering = 0;
|
|
1270
|
-
this.nextStackID = 0x2654; // ♔, ♕, ♖, ♗, ♘, ♙, ♠, ♡, ♢, ♣, ♤, ♥, ♦, ♧
|
|
1271
|
-
this.minStackPos = 0;
|
|
1272
|
-
this.reused = [];
|
|
1273
|
-
this.stoppedAt = null;
|
|
1274
|
-
this.lastBigReductionStart = -1;
|
|
1275
|
-
this.lastBigReductionSize = 0;
|
|
1276
|
-
this.bigReductionCount = 0;
|
|
1277
|
-
this.stream = new InputStream(input, ranges);
|
|
1278
|
-
this.tokens = new TokenCache(parser, this.stream);
|
|
1279
|
-
this.topTerm = parser.top[1];
|
|
1280
|
-
let { from } = ranges[0];
|
|
1281
|
-
this.stacks = [Stack.start(this, parser.top[0], from)];
|
|
1282
|
-
this.fragments = fragments.length && this.stream.end - from > parser.bufferLength * 4
|
|
1283
|
-
? new FragmentCursor(fragments, parser.nodeSet) : null;
|
|
1284
|
-
}
|
|
1285
|
-
get parsedPos() {
|
|
1286
|
-
return this.minStackPos;
|
|
1287
|
-
}
|
|
1288
|
-
// Move the parser forward. This will process all parse stacks at
|
|
1289
|
-
// `this.pos` and try to advance them to a further position. If no
|
|
1290
|
-
// stack for such a position is found, it'll start error-recovery.
|
|
1291
|
-
//
|
|
1292
|
-
// When the parse is finished, this will return a syntax tree. When
|
|
1293
|
-
// not, it returns `null`.
|
|
1294
|
-
advance() {
|
|
1295
|
-
let stacks = this.stacks, pos = this.minStackPos;
|
|
1296
|
-
// This will hold stacks beyond `pos`.
|
|
1297
|
-
let newStacks = this.stacks = [];
|
|
1298
|
-
let stopped, stoppedTokens;
|
|
1299
|
-
// If a large amount of reductions happened with the same start
|
|
1300
|
-
// position, force the stack out of that production in order to
|
|
1301
|
-
// avoid creating a tree too deep to recurse through.
|
|
1302
|
-
// (This is an ugly kludge, because unfortunately there is no
|
|
1303
|
-
// straightforward, cheap way to check for this happening, due to
|
|
1304
|
-
// the history of reductions only being available in an
|
|
1305
|
-
// expensive-to-access format in the stack buffers.)
|
|
1306
|
-
if (this.bigReductionCount > 300 /* Rec.MaxLeftAssociativeReductionCount */ && stacks.length == 1) {
|
|
1307
|
-
let [s] = stacks;
|
|
1308
|
-
while (s.forceReduce() && s.stack.length && s.stack[s.stack.length - 2] >= this.lastBigReductionStart) { }
|
|
1309
|
-
this.bigReductionCount = this.lastBigReductionSize = 0;
|
|
1310
|
-
}
|
|
1311
|
-
// Keep advancing any stacks at `pos` until they either move
|
|
1312
|
-
// forward or can't be advanced. Gather stacks that can't be
|
|
1313
|
-
// advanced further in `stopped`.
|
|
1314
|
-
for (let i = 0; i < stacks.length; i++) {
|
|
1315
|
-
let stack = stacks[i];
|
|
1316
|
-
for (;;) {
|
|
1317
|
-
this.tokens.mainToken = null;
|
|
1318
|
-
if (stack.pos > pos) {
|
|
1319
|
-
newStacks.push(stack);
|
|
1320
|
-
}
|
|
1321
|
-
else if (this.advanceStack(stack, newStacks, stacks)) {
|
|
1322
|
-
continue;
|
|
1323
|
-
}
|
|
1324
|
-
else {
|
|
1325
|
-
if (!stopped) {
|
|
1326
|
-
stopped = [];
|
|
1327
|
-
stoppedTokens = [];
|
|
1328
|
-
}
|
|
1329
|
-
stopped.push(stack);
|
|
1330
|
-
let tok = this.tokens.getMainToken(stack);
|
|
1331
|
-
stoppedTokens.push(tok.value, tok.end);
|
|
1332
|
-
}
|
|
1333
|
-
break;
|
|
1334
|
-
}
|
|
1335
|
-
}
|
|
1336
|
-
if (!newStacks.length) {
|
|
1337
|
-
let finished = stopped && findFinished(stopped);
|
|
1338
|
-
if (finished) {
|
|
1339
|
-
if (verbose)
|
|
1340
|
-
console.log("Finish with " + this.stackID(finished));
|
|
1341
|
-
return this.stackToTree(finished);
|
|
1342
|
-
}
|
|
1343
|
-
if (this.parser.strict) {
|
|
1344
|
-
if (verbose && stopped)
|
|
1345
|
-
console.log("Stuck with token " + (this.tokens.mainToken ? this.parser.getName(this.tokens.mainToken.value) : "none"));
|
|
1346
|
-
throw new SyntaxError("No parse at " + pos);
|
|
1347
|
-
}
|
|
1348
|
-
if (!this.recovering)
|
|
1349
|
-
this.recovering = 5 /* Rec.Distance */;
|
|
1350
|
-
}
|
|
1351
|
-
if (this.recovering && stopped) {
|
|
1352
|
-
let finished = this.stoppedAt != null && stopped[0].pos > this.stoppedAt ? stopped[0]
|
|
1353
|
-
: this.runRecovery(stopped, stoppedTokens, newStacks);
|
|
1354
|
-
if (finished) {
|
|
1355
|
-
if (verbose)
|
|
1356
|
-
console.log("Force-finish " + this.stackID(finished));
|
|
1357
|
-
return this.stackToTree(finished.forceAll());
|
|
1358
|
-
}
|
|
1359
|
-
}
|
|
1360
|
-
if (this.recovering) {
|
|
1361
|
-
let maxRemaining = this.recovering == 1 ? 1 : this.recovering * 3 /* Rec.MaxRemainingPerStep */;
|
|
1362
|
-
if (newStacks.length > maxRemaining) {
|
|
1363
|
-
newStacks.sort((a, b) => b.score - a.score);
|
|
1364
|
-
while (newStacks.length > maxRemaining)
|
|
1365
|
-
newStacks.pop();
|
|
1366
|
-
}
|
|
1367
|
-
if (newStacks.some(s => s.reducePos > pos))
|
|
1368
|
-
this.recovering--;
|
|
1369
|
-
}
|
|
1370
|
-
else if (newStacks.length > 1) {
|
|
1371
|
-
// Prune stacks that are in the same state, or that have been
|
|
1372
|
-
// running without splitting for a while, to avoid getting stuck
|
|
1373
|
-
// with multiple successful stacks running endlessly on.
|
|
1374
|
-
outer: for (let i = 0; i < newStacks.length - 1; i++) {
|
|
1375
|
-
let stack = newStacks[i];
|
|
1376
|
-
for (let j = i + 1; j < newStacks.length; j++) {
|
|
1377
|
-
let other = newStacks[j];
|
|
1378
|
-
if (stack.sameState(other) ||
|
|
1379
|
-
stack.buffer.length > 500 /* Rec.MinBufferLengthPrune */ && other.buffer.length > 500 /* Rec.MinBufferLengthPrune */) {
|
|
1380
|
-
if (((stack.score - other.score) || (stack.buffer.length - other.buffer.length)) > 0) {
|
|
1381
|
-
newStacks.splice(j--, 1);
|
|
1382
|
-
}
|
|
1383
|
-
else {
|
|
1384
|
-
newStacks.splice(i--, 1);
|
|
1385
|
-
continue outer;
|
|
1386
|
-
}
|
|
1387
|
-
}
|
|
1388
|
-
}
|
|
1389
|
-
}
|
|
1390
|
-
if (newStacks.length > 12 /* Rec.MaxStackCount */) {
|
|
1391
|
-
newStacks.sort((a, b) => b.score - a.score);
|
|
1392
|
-
newStacks.splice(12 /* Rec.MaxStackCount */, newStacks.length - 12 /* Rec.MaxStackCount */);
|
|
1393
|
-
}
|
|
1394
|
-
}
|
|
1395
|
-
this.minStackPos = newStacks[0].pos;
|
|
1396
|
-
for (let i = 1; i < newStacks.length; i++)
|
|
1397
|
-
if (newStacks[i].pos < this.minStackPos)
|
|
1398
|
-
this.minStackPos = newStacks[i].pos;
|
|
1399
|
-
return null;
|
|
1400
|
-
}
|
|
1401
|
-
stopAt(pos) {
|
|
1402
|
-
if (this.stoppedAt != null && this.stoppedAt < pos)
|
|
1403
|
-
throw new RangeError("Can't move stoppedAt forward");
|
|
1404
|
-
this.stoppedAt = pos;
|
|
1405
|
-
}
|
|
1406
|
-
// Returns an updated version of the given stack, or null if the
|
|
1407
|
-
// stack can't advance normally. When `split` and `stacks` are
|
|
1408
|
-
// given, stacks split off by ambiguous operations will be pushed to
|
|
1409
|
-
// `split`, or added to `stacks` if they move `pos` forward.
|
|
1410
|
-
advanceStack(stack, stacks, split) {
|
|
1411
|
-
let start = stack.pos, { parser } = this;
|
|
1412
|
-
let base = verbose ? this.stackID(stack) + " -> " : "";
|
|
1413
|
-
if (this.stoppedAt != null && start > this.stoppedAt)
|
|
1414
|
-
return stack.forceReduce() ? stack : null;
|
|
1415
|
-
if (this.fragments) {
|
|
1416
|
-
let strictCx = stack.curContext && stack.curContext.tracker.strict, cxHash = strictCx ? stack.curContext.hash : 0;
|
|
1417
|
-
for (let cached = this.fragments.nodeAt(start); cached;) {
|
|
1418
|
-
let match = this.parser.nodeSet.types[cached.type.id] == cached.type ? parser.getGoto(stack.state, cached.type.id) : -1;
|
|
1419
|
-
if (match > -1 && cached.length && (!strictCx || (cached.prop(index.NodeProp.contextHash) || 0) == cxHash)) {
|
|
1420
|
-
stack.useNode(cached, match);
|
|
1421
|
-
if (verbose)
|
|
1422
|
-
console.log(base + this.stackID(stack) + ` (via reuse of ${parser.getName(cached.type.id)})`);
|
|
1423
|
-
return true;
|
|
1424
|
-
}
|
|
1425
|
-
if (!(cached instanceof index.Tree) || cached.children.length == 0 || cached.positions[0] > 0)
|
|
1426
|
-
break;
|
|
1427
|
-
let inner = cached.children[0];
|
|
1428
|
-
if (inner instanceof index.Tree && cached.positions[0] == 0)
|
|
1429
|
-
cached = inner;
|
|
1430
|
-
else
|
|
1431
|
-
break;
|
|
1432
|
-
}
|
|
1433
|
-
}
|
|
1434
|
-
let defaultReduce = parser.stateSlot(stack.state, 4 /* ParseState.DefaultReduce */);
|
|
1435
|
-
if (defaultReduce > 0) {
|
|
1436
|
-
stack.reduce(defaultReduce);
|
|
1437
|
-
if (verbose)
|
|
1438
|
-
console.log(base + this.stackID(stack) + ` (via always-reduce ${parser.getName(defaultReduce & 65535 /* Action.ValueMask */)})`);
|
|
1439
|
-
return true;
|
|
1440
|
-
}
|
|
1441
|
-
if (stack.stack.length >= 8400 /* Rec.CutDepth */) {
|
|
1442
|
-
while (stack.stack.length > 6000 /* Rec.CutTo */ && stack.forceReduce()) { }
|
|
1443
|
-
}
|
|
1444
|
-
let actions = this.tokens.getActions(stack);
|
|
1445
|
-
for (let i = 0; i < actions.length;) {
|
|
1446
|
-
let action = actions[i++], term = actions[i++], end = actions[i++];
|
|
1447
|
-
let last = i == actions.length || !split;
|
|
1448
|
-
let localStack = last ? stack : stack.split();
|
|
1449
|
-
let main = this.tokens.mainToken;
|
|
1450
|
-
localStack.apply(action, term, main ? main.start : localStack.pos, end);
|
|
1451
|
-
if (verbose)
|
|
1452
|
-
console.log(base + this.stackID(localStack) + ` (via ${(action & 65536 /* Action.ReduceFlag */) == 0 ? "shift"
|
|
1453
|
-
: `reduce of ${parser.getName(action & 65535 /* Action.ValueMask */)}`} for ${parser.getName(term)} @ ${start}${localStack == stack ? "" : ", split"})`);
|
|
1454
|
-
if (last)
|
|
1455
|
-
return true;
|
|
1456
|
-
else if (localStack.pos > start)
|
|
1457
|
-
stacks.push(localStack);
|
|
1458
|
-
else
|
|
1459
|
-
split.push(localStack);
|
|
1460
|
-
}
|
|
1461
|
-
return false;
|
|
1462
|
-
}
|
|
1463
|
-
// Advance a given stack forward as far as it will go. Returns the
|
|
1464
|
-
// (possibly updated) stack if it got stuck, or null if it moved
|
|
1465
|
-
// forward and was given to `pushStackDedup`.
|
|
1466
|
-
advanceFully(stack, newStacks) {
|
|
1467
|
-
let pos = stack.pos;
|
|
1468
|
-
for (;;) {
|
|
1469
|
-
if (!this.advanceStack(stack, null, null))
|
|
1470
|
-
return false;
|
|
1471
|
-
if (stack.pos > pos) {
|
|
1472
|
-
pushStackDedup(stack, newStacks);
|
|
1473
|
-
return true;
|
|
1474
|
-
}
|
|
1475
|
-
}
|
|
1476
|
-
}
|
|
1477
|
-
runRecovery(stacks, tokens, newStacks) {
|
|
1478
|
-
let finished = null, restarted = false;
|
|
1479
|
-
for (let i = 0; i < stacks.length; i++) {
|
|
1480
|
-
let stack = stacks[i], token = tokens[i << 1], tokenEnd = tokens[(i << 1) + 1];
|
|
1481
|
-
let base = verbose ? this.stackID(stack) + " -> " : "";
|
|
1482
|
-
if (stack.deadEnd) {
|
|
1483
|
-
if (restarted)
|
|
1484
|
-
continue;
|
|
1485
|
-
restarted = true;
|
|
1486
|
-
stack.restart();
|
|
1487
|
-
if (verbose)
|
|
1488
|
-
console.log(base + this.stackID(stack) + " (restarted)");
|
|
1489
|
-
let done = this.advanceFully(stack, newStacks);
|
|
1490
|
-
if (done)
|
|
1491
|
-
continue;
|
|
1492
|
-
}
|
|
1493
|
-
let force = stack.split(), forceBase = base;
|
|
1494
|
-
for (let j = 0; j < 10 /* Rec.ForceReduceLimit */ && force.forceReduce(); j++) {
|
|
1495
|
-
if (verbose)
|
|
1496
|
-
console.log(forceBase + this.stackID(force) + " (via force-reduce)");
|
|
1497
|
-
let done = this.advanceFully(force, newStacks);
|
|
1498
|
-
if (done)
|
|
1499
|
-
break;
|
|
1500
|
-
if (verbose)
|
|
1501
|
-
forceBase = this.stackID(force) + " -> ";
|
|
1502
|
-
}
|
|
1503
|
-
for (let insert of stack.recoverByInsert(token)) {
|
|
1504
|
-
if (verbose)
|
|
1505
|
-
console.log(base + this.stackID(insert) + " (via recover-insert)");
|
|
1506
|
-
this.advanceFully(insert, newStacks);
|
|
1507
|
-
}
|
|
1508
|
-
if (this.stream.end > stack.pos) {
|
|
1509
|
-
if (tokenEnd == stack.pos) {
|
|
1510
|
-
tokenEnd++;
|
|
1511
|
-
token = 0 /* Term.Err */;
|
|
1512
|
-
}
|
|
1513
|
-
stack.recoverByDelete(token, tokenEnd);
|
|
1514
|
-
if (verbose)
|
|
1515
|
-
console.log(base + this.stackID(stack) + ` (via recover-delete ${this.parser.getName(token)})`);
|
|
1516
|
-
pushStackDedup(stack, newStacks);
|
|
1517
|
-
}
|
|
1518
|
-
else if (!finished || finished.score < force.score) {
|
|
1519
|
-
finished = force;
|
|
1520
|
-
}
|
|
1521
|
-
}
|
|
1522
|
-
return finished;
|
|
1523
|
-
}
|
|
1524
|
-
// Convert the stack's buffer to a syntax tree.
|
|
1525
|
-
stackToTree(stack) {
|
|
1526
|
-
stack.close();
|
|
1527
|
-
return index.Tree.build({ buffer: StackBufferCursor.create(stack),
|
|
1528
|
-
nodeSet: this.parser.nodeSet,
|
|
1529
|
-
topID: this.topTerm,
|
|
1530
|
-
maxBufferLength: this.parser.bufferLength,
|
|
1531
|
-
reused: this.reused,
|
|
1532
|
-
start: this.ranges[0].from,
|
|
1533
|
-
length: stack.pos - this.ranges[0].from,
|
|
1534
|
-
minRepeatType: this.parser.minRepeatTerm });
|
|
1535
|
-
}
|
|
1536
|
-
stackID(stack) {
|
|
1537
|
-
let id = (stackIDs || (stackIDs = new WeakMap)).get(stack);
|
|
1538
|
-
if (!id)
|
|
1539
|
-
stackIDs.set(stack, id = String.fromCodePoint(this.nextStackID++));
|
|
1540
|
-
return id + stack;
|
|
1541
|
-
}
|
|
1542
|
-
}
|
|
1543
|
-
function pushStackDedup(stack, newStacks) {
|
|
1544
|
-
for (let i = 0; i < newStacks.length; i++) {
|
|
1545
|
-
let other = newStacks[i];
|
|
1546
|
-
if (other.pos == stack.pos && other.sameState(stack)) {
|
|
1547
|
-
if (newStacks[i].score < stack.score)
|
|
1548
|
-
newStacks[i] = stack;
|
|
1549
|
-
return;
|
|
1550
|
-
}
|
|
1551
|
-
}
|
|
1552
|
-
newStacks.push(stack);
|
|
1553
|
-
}
|
|
1554
|
-
class Dialect {
|
|
1555
|
-
constructor(source, flags, disabled) {
|
|
1556
|
-
this.source = source;
|
|
1557
|
-
this.flags = flags;
|
|
1558
|
-
this.disabled = disabled;
|
|
1559
|
-
}
|
|
1560
|
-
allows(term) { return !this.disabled || this.disabled[term] == 0; }
|
|
1561
|
-
}
|
|
1562
|
-
const id = x => x;
|
|
1563
|
-
/**
|
|
1564
|
-
Context trackers are used to track stateful context (such as
|
|
1565
|
-
indentation in the Python grammar, or parent elements in the XML
|
|
1566
|
-
grammar) needed by external tokenizers. You declare them in a
|
|
1567
|
-
grammar file as `@context exportName from "module"`.
|
|
1568
|
-
|
|
1569
|
-
Context values should be immutable, and can be updated (replaced)
|
|
1570
|
-
on shift or reduce actions.
|
|
1571
|
-
|
|
1572
|
-
The export used in a `@context` declaration should be of this
|
|
1573
|
-
type.
|
|
1574
|
-
*/
|
|
1575
|
-
class ContextTracker {
|
|
1576
|
-
/**
|
|
1577
|
-
Define a context tracker.
|
|
1578
|
-
*/
|
|
1579
|
-
constructor(spec) {
|
|
1580
|
-
this.start = spec.start;
|
|
1581
|
-
this.shift = spec.shift || id;
|
|
1582
|
-
this.reduce = spec.reduce || id;
|
|
1583
|
-
this.reuse = spec.reuse || id;
|
|
1584
|
-
this.hash = spec.hash || (() => 0);
|
|
1585
|
-
this.strict = spec.strict !== false;
|
|
1586
|
-
}
|
|
1587
|
-
}
|
|
1588
|
-
/**
|
|
1589
|
-
Holds the parse tables for a given grammar, as generated by
|
|
1590
|
-
`lezer-generator`, and provides [methods](#common.Parser) to parse
|
|
1591
|
-
content with.
|
|
1592
|
-
*/
|
|
1593
|
-
class LRParser extends index.Parser {
|
|
1594
|
-
/**
|
|
1595
|
-
@internal
|
|
1596
|
-
*/
|
|
1597
|
-
constructor(spec) {
|
|
1598
|
-
super();
|
|
1599
|
-
/**
|
|
1600
|
-
@internal
|
|
1601
|
-
*/
|
|
1602
|
-
this.wrappers = [];
|
|
1603
|
-
if (spec.version != 14 /* File.Version */)
|
|
1604
|
-
throw new RangeError(`Parser version (${spec.version}) doesn't match runtime version (${14 /* File.Version */})`);
|
|
1605
|
-
let nodeNames = spec.nodeNames.split(" ");
|
|
1606
|
-
this.minRepeatTerm = nodeNames.length;
|
|
1607
|
-
for (let i = 0; i < spec.repeatNodeCount; i++)
|
|
1608
|
-
nodeNames.push("");
|
|
1609
|
-
let topTerms = Object.keys(spec.topRules).map(r => spec.topRules[r][1]);
|
|
1610
|
-
let nodeProps = [];
|
|
1611
|
-
for (let i = 0; i < nodeNames.length; i++)
|
|
1612
|
-
nodeProps.push([]);
|
|
1613
|
-
function setProp(nodeID, prop, value) {
|
|
1614
|
-
nodeProps[nodeID].push([prop, prop.deserialize(String(value))]);
|
|
1615
|
-
}
|
|
1616
|
-
if (spec.nodeProps)
|
|
1617
|
-
for (let propSpec of spec.nodeProps) {
|
|
1618
|
-
let prop = propSpec[0];
|
|
1619
|
-
if (typeof prop == "string")
|
|
1620
|
-
prop = index.NodeProp[prop];
|
|
1621
|
-
for (let i = 1; i < propSpec.length;) {
|
|
1622
|
-
let next = propSpec[i++];
|
|
1623
|
-
if (next >= 0) {
|
|
1624
|
-
setProp(next, prop, propSpec[i++]);
|
|
1625
|
-
}
|
|
1626
|
-
else {
|
|
1627
|
-
let value = propSpec[i + -next];
|
|
1628
|
-
for (let j = -next; j > 0; j--)
|
|
1629
|
-
setProp(propSpec[i++], prop, value);
|
|
1630
|
-
i++;
|
|
1631
|
-
}
|
|
1632
|
-
}
|
|
1633
|
-
}
|
|
1634
|
-
this.nodeSet = new index.NodeSet(nodeNames.map((name, i) => index.NodeType.define({
|
|
1635
|
-
name: i >= this.minRepeatTerm ? undefined : name,
|
|
1636
|
-
id: i,
|
|
1637
|
-
props: nodeProps[i],
|
|
1638
|
-
top: topTerms.indexOf(i) > -1,
|
|
1639
|
-
error: i == 0,
|
|
1640
|
-
skipped: spec.skippedNodes && spec.skippedNodes.indexOf(i) > -1
|
|
1641
|
-
})));
|
|
1642
|
-
if (spec.propSources)
|
|
1643
|
-
this.nodeSet = this.nodeSet.extend(...spec.propSources);
|
|
1644
|
-
this.strict = false;
|
|
1645
|
-
this.bufferLength = index.DefaultBufferLength;
|
|
1646
|
-
let tokenArray = decodeArray(spec.tokenData);
|
|
1647
|
-
this.context = spec.context;
|
|
1648
|
-
this.specializerSpecs = spec.specialized || [];
|
|
1649
|
-
this.specialized = new Uint16Array(this.specializerSpecs.length);
|
|
1650
|
-
for (let i = 0; i < this.specializerSpecs.length; i++)
|
|
1651
|
-
this.specialized[i] = this.specializerSpecs[i].term;
|
|
1652
|
-
this.specializers = this.specializerSpecs.map(getSpecializer);
|
|
1653
|
-
this.states = decodeArray(spec.states, Uint32Array);
|
|
1654
|
-
this.data = decodeArray(spec.stateData);
|
|
1655
|
-
this.goto = decodeArray(spec.goto);
|
|
1656
|
-
this.maxTerm = spec.maxTerm;
|
|
1657
|
-
this.tokenizers = spec.tokenizers.map(value => typeof value == "number" ? new TokenGroup(tokenArray, value) : value);
|
|
1658
|
-
this.topRules = spec.topRules;
|
|
1659
|
-
this.dialects = spec.dialects || {};
|
|
1660
|
-
this.dynamicPrecedences = spec.dynamicPrecedences || null;
|
|
1661
|
-
this.tokenPrecTable = spec.tokenPrec;
|
|
1662
|
-
this.termNames = spec.termNames || null;
|
|
1663
|
-
this.maxNode = this.nodeSet.types.length - 1;
|
|
1664
|
-
this.dialect = this.parseDialect();
|
|
1665
|
-
this.top = this.topRules[Object.keys(this.topRules)[0]];
|
|
1666
|
-
}
|
|
1667
|
-
createParse(input, fragments, ranges) {
|
|
1668
|
-
let parse = new Parse(this, input, fragments, ranges);
|
|
1669
|
-
for (let w of this.wrappers)
|
|
1670
|
-
parse = w(parse, input, fragments, ranges);
|
|
1671
|
-
return parse;
|
|
1672
|
-
}
|
|
1673
|
-
/**
|
|
1674
|
-
Get a goto table entry @internal
|
|
1675
|
-
*/
|
|
1676
|
-
getGoto(state, term, loose = false) {
|
|
1677
|
-
let table = this.goto;
|
|
1678
|
-
if (term >= table[0])
|
|
1679
|
-
return -1;
|
|
1680
|
-
for (let pos = table[term + 1];;) {
|
|
1681
|
-
let groupTag = table[pos++], last = groupTag & 1;
|
|
1682
|
-
let target = table[pos++];
|
|
1683
|
-
if (last && loose)
|
|
1684
|
-
return target;
|
|
1685
|
-
for (let end = pos + (groupTag >> 1); pos < end; pos++)
|
|
1686
|
-
if (table[pos] == state)
|
|
1687
|
-
return target;
|
|
1688
|
-
if (last)
|
|
1689
|
-
return -1;
|
|
1690
|
-
}
|
|
1691
|
-
}
|
|
1692
|
-
/**
|
|
1693
|
-
Check if this state has an action for a given terminal @internal
|
|
1694
|
-
*/
|
|
1695
|
-
hasAction(state, terminal) {
|
|
1696
|
-
let data = this.data;
|
|
1697
|
-
for (let set = 0; set < 2; set++) {
|
|
1698
|
-
for (let i = this.stateSlot(state, set ? 2 /* ParseState.Skip */ : 1 /* ParseState.Actions */), next;; i += 3) {
|
|
1699
|
-
if ((next = data[i]) == 65535 /* Seq.End */) {
|
|
1700
|
-
if (data[i + 1] == 1 /* Seq.Next */)
|
|
1701
|
-
next = data[i = pair(data, i + 2)];
|
|
1702
|
-
else if (data[i + 1] == 2 /* Seq.Other */)
|
|
1703
|
-
return pair(data, i + 2);
|
|
1704
|
-
else
|
|
1705
|
-
break;
|
|
1706
|
-
}
|
|
1707
|
-
if (next == terminal || next == 0 /* Term.Err */)
|
|
1708
|
-
return pair(data, i + 1);
|
|
1709
|
-
}
|
|
1710
|
-
}
|
|
1711
|
-
return 0;
|
|
1712
|
-
}
|
|
1713
|
-
/**
|
|
1714
|
-
@internal
|
|
1715
|
-
*/
|
|
1716
|
-
stateSlot(state, slot) {
|
|
1717
|
-
return this.states[(state * 6 /* ParseState.Size */) + slot];
|
|
1718
|
-
}
|
|
1719
|
-
/**
|
|
1720
|
-
@internal
|
|
1721
|
-
*/
|
|
1722
|
-
stateFlag(state, flag) {
|
|
1723
|
-
return (this.stateSlot(state, 0 /* ParseState.Flags */) & flag) > 0;
|
|
1724
|
-
}
|
|
1725
|
-
/**
|
|
1726
|
-
@internal
|
|
1727
|
-
*/
|
|
1728
|
-
validAction(state, action) {
|
|
1729
|
-
return !!this.allActions(state, a => a == action ? true : null);
|
|
1730
|
-
}
|
|
1731
|
-
/**
|
|
1732
|
-
@internal
|
|
1733
|
-
*/
|
|
1734
|
-
allActions(state, action) {
|
|
1735
|
-
let deflt = this.stateSlot(state, 4 /* ParseState.DefaultReduce */);
|
|
1736
|
-
let result = deflt ? action(deflt) : undefined;
|
|
1737
|
-
for (let i = this.stateSlot(state, 1 /* ParseState.Actions */); result == null; i += 3) {
|
|
1738
|
-
if (this.data[i] == 65535 /* Seq.End */) {
|
|
1739
|
-
if (this.data[i + 1] == 1 /* Seq.Next */)
|
|
1740
|
-
i = pair(this.data, i + 2);
|
|
1741
|
-
else
|
|
1742
|
-
break;
|
|
1743
|
-
}
|
|
1744
|
-
result = action(pair(this.data, i + 1));
|
|
1745
|
-
}
|
|
1746
|
-
return result;
|
|
1747
|
-
}
|
|
1748
|
-
/**
|
|
1749
|
-
Get the states that can follow this one through shift actions or
|
|
1750
|
-
goto jumps. @internal
|
|
1751
|
-
*/
|
|
1752
|
-
nextStates(state) {
|
|
1753
|
-
let result = [];
|
|
1754
|
-
for (let i = this.stateSlot(state, 1 /* ParseState.Actions */);; i += 3) {
|
|
1755
|
-
if (this.data[i] == 65535 /* Seq.End */) {
|
|
1756
|
-
if (this.data[i + 1] == 1 /* Seq.Next */)
|
|
1757
|
-
i = pair(this.data, i + 2);
|
|
1758
|
-
else
|
|
1759
|
-
break;
|
|
1760
|
-
}
|
|
1761
|
-
if ((this.data[i + 2] & (65536 /* Action.ReduceFlag */ >> 16)) == 0) {
|
|
1762
|
-
let value = this.data[i + 1];
|
|
1763
|
-
if (!result.some((v, i) => (i & 1) && v == value))
|
|
1764
|
-
result.push(this.data[i], value);
|
|
1765
|
-
}
|
|
1766
|
-
}
|
|
1767
|
-
return result;
|
|
1768
|
-
}
|
|
1769
|
-
/**
|
|
1770
|
-
Configure the parser. Returns a new parser instance that has the
|
|
1771
|
-
given settings modified. Settings not provided in `config` are
|
|
1772
|
-
kept from the original parser.
|
|
1773
|
-
*/
|
|
1774
|
-
configure(config) {
|
|
1775
|
-
// Hideous reflection-based kludge to make it easy to create a
|
|
1776
|
-
// slightly modified copy of a parser.
|
|
1777
|
-
let copy = Object.assign(Object.create(LRParser.prototype), this);
|
|
1778
|
-
if (config.props)
|
|
1779
|
-
copy.nodeSet = this.nodeSet.extend(...config.props);
|
|
1780
|
-
if (config.top) {
|
|
1781
|
-
let info = this.topRules[config.top];
|
|
1782
|
-
if (!info)
|
|
1783
|
-
throw new RangeError(`Invalid top rule name ${config.top}`);
|
|
1784
|
-
copy.top = info;
|
|
1785
|
-
}
|
|
1786
|
-
if (config.tokenizers)
|
|
1787
|
-
copy.tokenizers = this.tokenizers.map(t => {
|
|
1788
|
-
let found = config.tokenizers.find(r => r.from == t);
|
|
1789
|
-
return found ? found.to : t;
|
|
1790
|
-
});
|
|
1791
|
-
if (config.specializers) {
|
|
1792
|
-
copy.specializers = this.specializers.slice();
|
|
1793
|
-
copy.specializerSpecs = this.specializerSpecs.map((s, i) => {
|
|
1794
|
-
let found = config.specializers.find(r => r.from == s.external);
|
|
1795
|
-
if (!found)
|
|
1796
|
-
return s;
|
|
1797
|
-
let spec = Object.assign(Object.assign({}, s), { external: found.to });
|
|
1798
|
-
copy.specializers[i] = getSpecializer(spec);
|
|
1799
|
-
return spec;
|
|
1800
|
-
});
|
|
1801
|
-
}
|
|
1802
|
-
if (config.contextTracker)
|
|
1803
|
-
copy.context = config.contextTracker;
|
|
1804
|
-
if (config.dialect)
|
|
1805
|
-
copy.dialect = this.parseDialect(config.dialect);
|
|
1806
|
-
if (config.strict != null)
|
|
1807
|
-
copy.strict = config.strict;
|
|
1808
|
-
if (config.wrap)
|
|
1809
|
-
copy.wrappers = copy.wrappers.concat(config.wrap);
|
|
1810
|
-
if (config.bufferLength != null)
|
|
1811
|
-
copy.bufferLength = config.bufferLength;
|
|
1812
|
-
return copy;
|
|
1813
|
-
}
|
|
1814
|
-
/**
|
|
1815
|
-
Tells you whether any [parse wrappers](#lr.ParserConfig.wrap)
|
|
1816
|
-
are registered for this parser.
|
|
1817
|
-
*/
|
|
1818
|
-
hasWrappers() {
|
|
1819
|
-
return this.wrappers.length > 0;
|
|
1820
|
-
}
|
|
1821
|
-
/**
|
|
1822
|
-
Returns the name associated with a given term. This will only
|
|
1823
|
-
work for all terms when the parser was generated with the
|
|
1824
|
-
`--names` option. By default, only the names of tagged terms are
|
|
1825
|
-
stored.
|
|
1826
|
-
*/
|
|
1827
|
-
getName(term) {
|
|
1828
|
-
return this.termNames ? this.termNames[term] : String(term <= this.maxNode && this.nodeSet.types[term].name || term);
|
|
1829
|
-
}
|
|
1830
|
-
/**
|
|
1831
|
-
The eof term id is always allocated directly after the node
|
|
1832
|
-
types. @internal
|
|
1833
|
-
*/
|
|
1834
|
-
get eofTerm() { return this.maxNode + 1; }
|
|
1835
|
-
/**
|
|
1836
|
-
The type of top node produced by the parser.
|
|
1837
|
-
*/
|
|
1838
|
-
get topNode() { return this.nodeSet.types[this.top[1]]; }
|
|
1839
|
-
/**
|
|
1840
|
-
@internal
|
|
1841
|
-
*/
|
|
1842
|
-
dynamicPrecedence(term) {
|
|
1843
|
-
let prec = this.dynamicPrecedences;
|
|
1844
|
-
return prec == null ? 0 : prec[term] || 0;
|
|
1845
|
-
}
|
|
1846
|
-
/**
|
|
1847
|
-
@internal
|
|
1848
|
-
*/
|
|
1849
|
-
parseDialect(dialect) {
|
|
1850
|
-
let values = Object.keys(this.dialects), flags = values.map(() => false);
|
|
1851
|
-
if (dialect)
|
|
1852
|
-
for (let part of dialect.split(" ")) {
|
|
1853
|
-
let id = values.indexOf(part);
|
|
1854
|
-
if (id >= 0)
|
|
1855
|
-
flags[id] = true;
|
|
1856
|
-
}
|
|
1857
|
-
let disabled = null;
|
|
1858
|
-
for (let i = 0; i < values.length; i++)
|
|
1859
|
-
if (!flags[i]) {
|
|
1860
|
-
for (let j = this.dialects[values[i]], id; (id = this.data[j++]) != 65535 /* Seq.End */;)
|
|
1861
|
-
(disabled || (disabled = new Uint8Array(this.maxTerm + 1)))[id] = 1;
|
|
1862
|
-
}
|
|
1863
|
-
return new Dialect(dialect, flags, disabled);
|
|
1864
|
-
}
|
|
1865
|
-
/**
|
|
1866
|
-
Used by the output of the parser generator. Not available to
|
|
1867
|
-
user code. @hide
|
|
1868
|
-
*/
|
|
1869
|
-
static deserialize(spec) {
|
|
1870
|
-
return new LRParser(spec);
|
|
1871
|
-
}
|
|
1872
|
-
}
|
|
1873
|
-
function pair(data, off) { return data[off] | (data[off + 1] << 16); }
|
|
1874
|
-
function findFinished(stacks) {
|
|
1875
|
-
let best = null;
|
|
1876
|
-
for (let stack of stacks) {
|
|
1877
|
-
let stopped = stack.p.stoppedAt;
|
|
1878
|
-
if ((stack.pos == stack.p.stream.end || stopped != null && stack.pos > stopped) &&
|
|
1879
|
-
stack.p.parser.stateFlag(stack.state, 2 /* StateFlag.Accepting */) &&
|
|
1880
|
-
(!best || best.score < stack.score))
|
|
1881
|
-
best = stack;
|
|
1882
|
-
}
|
|
1883
|
-
return best;
|
|
1884
|
-
}
|
|
1885
|
-
function getSpecializer(spec) {
|
|
1886
|
-
if (spec.external) {
|
|
1887
|
-
let mask = spec.extend ? 1 /* Specialize.Extend */ : 0 /* Specialize.Specialize */;
|
|
1888
|
-
return (value, stack) => (spec.external(value, stack) << 1) | mask;
|
|
1889
|
-
}
|
|
1890
|
-
return spec.get;
|
|
1891
|
-
}
|
|
1892
|
-
|
|
1893
|
-
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
1894
|
-
const noSemi = 316,
|
|
1895
|
-
noSemiType = 317,
|
|
1896
|
-
incdec = 1,
|
|
1897
|
-
incdecPrefix = 2,
|
|
1898
|
-
questionDot = 3,
|
|
1899
|
-
JSXStartTag = 4,
|
|
1900
|
-
insertSemi = 318,
|
|
1901
|
-
spaces = 320,
|
|
1902
|
-
newline = 321,
|
|
1903
|
-
LineComment = 5,
|
|
1904
|
-
BlockComment = 6,
|
|
1905
|
-
Dialect_jsx = 0;
|
|
1906
|
-
|
|
1907
|
-
/* Hand-written tokenizers for JavaScript tokens that can't be
|
|
1908
|
-
expressed by lezer's built-in tokenizer. */
|
|
1909
|
-
|
|
1910
|
-
const space = [9, 10, 11, 12, 13, 32, 133, 160, 5760, 8192, 8193, 8194, 8195, 8196, 8197, 8198, 8199, 8200,
|
|
1911
|
-
8201, 8202, 8232, 8233, 8239, 8287, 12288];
|
|
1912
|
-
|
|
1913
|
-
const braceR = 125, semicolon = 59, slash = 47, star = 42, plus = 43, minus = 45, lt = 60, comma = 44,
|
|
1914
|
-
question = 63, dot = 46, bracketL = 91;
|
|
1915
|
-
|
|
1916
|
-
const trackNewline = new ContextTracker({
|
|
1917
|
-
start: false,
|
|
1918
|
-
shift(context, term) {
|
|
1919
|
-
return term == LineComment || term == BlockComment || term == spaces ? context : term == newline
|
|
1920
|
-
},
|
|
1921
|
-
strict: false
|
|
1922
|
-
});
|
|
1923
|
-
|
|
1924
|
-
const insertSemicolon = new ExternalTokenizer((input, stack) => {
|
|
1925
|
-
let {next} = input;
|
|
1926
|
-
if (next == braceR || next == -1 || stack.context)
|
|
1927
|
-
input.acceptToken(insertSemi);
|
|
1928
|
-
}, {contextual: true, fallback: true});
|
|
1929
|
-
|
|
1930
|
-
const noSemicolon = new ExternalTokenizer((input, stack) => {
|
|
1931
|
-
let {next} = input, after;
|
|
1932
|
-
if (space.indexOf(next) > -1) return
|
|
1933
|
-
if (next == slash && ((after = input.peek(1)) == slash || after == star)) return
|
|
1934
|
-
if (next != braceR && next != semicolon && next != -1 && !stack.context)
|
|
1935
|
-
input.acceptToken(noSemi);
|
|
1936
|
-
}, {contextual: true});
|
|
1937
|
-
|
|
1938
|
-
const noSemicolonType = new ExternalTokenizer((input, stack) => {
|
|
1939
|
-
if (input.next == bracketL && !stack.context) input.acceptToken(noSemiType);
|
|
1940
|
-
}, {contextual: true});
|
|
1941
|
-
|
|
1942
|
-
const operatorToken = new ExternalTokenizer((input, stack) => {
|
|
1943
|
-
let {next} = input;
|
|
1944
|
-
if (next == plus || next == minus) {
|
|
1945
|
-
input.advance();
|
|
1946
|
-
if (next == input.next) {
|
|
1947
|
-
input.advance();
|
|
1948
|
-
let mayPostfix = !stack.context && stack.canShift(incdec);
|
|
1949
|
-
input.acceptToken(mayPostfix ? incdec : incdecPrefix);
|
|
1950
|
-
}
|
|
1951
|
-
} else if (next == question && input.peek(1) == dot) {
|
|
1952
|
-
input.advance(); input.advance();
|
|
1953
|
-
if (input.next < 48 || input.next > 57) // No digit after
|
|
1954
|
-
input.acceptToken(questionDot);
|
|
1955
|
-
}
|
|
1956
|
-
}, {contextual: true});
|
|
1957
|
-
|
|
1958
|
-
function identifierChar(ch, start) {
|
|
1959
|
-
return ch >= 65 && ch <= 90 || ch >= 97 && ch <= 122 || ch == 95 || ch >= 192 ||
|
|
1960
|
-
!start && ch >= 48 && ch <= 57
|
|
1961
|
-
}
|
|
1962
|
-
|
|
1963
|
-
const jsx = new ExternalTokenizer((input, stack) => {
|
|
1964
|
-
if (input.next != lt || !stack.dialectEnabled(Dialect_jsx)) return
|
|
1965
|
-
input.advance();
|
|
1966
|
-
if (input.next == slash) return
|
|
1967
|
-
// Scan for an identifier followed by a comma or 'extends', don't
|
|
1968
|
-
// treat this as a start tag if present.
|
|
1969
|
-
let back = 0;
|
|
1970
|
-
while (space.indexOf(input.next) > -1) { input.advance(); back++; }
|
|
1971
|
-
if (identifierChar(input.next, true)) {
|
|
1972
|
-
input.advance();
|
|
1973
|
-
back++;
|
|
1974
|
-
while (identifierChar(input.next, false)) { input.advance(); back++; }
|
|
1975
|
-
while (space.indexOf(input.next) > -1) { input.advance(); back++; }
|
|
1976
|
-
if (input.next == comma) return
|
|
1977
|
-
for (let i = 0;; i++) {
|
|
1978
|
-
if (i == 7) {
|
|
1979
|
-
if (!identifierChar(input.next, true)) return
|
|
1980
|
-
break
|
|
1981
|
-
}
|
|
1982
|
-
if (input.next != "extends".charCodeAt(i)) break
|
|
1983
|
-
input.advance();
|
|
1984
|
-
back++;
|
|
1985
|
-
}
|
|
1986
|
-
}
|
|
1987
|
-
input.acceptToken(JSXStartTag, -back);
|
|
1988
|
-
});
|
|
1989
|
-
|
|
1990
|
-
const jsHighlight = index.styleTags({
|
|
1991
|
-
"get set async static": index.tags.modifier,
|
|
1992
|
-
"for while do if else switch try catch finally return throw break continue default case defer": index.tags.controlKeyword,
|
|
1993
|
-
"in of await yield void typeof delete instanceof as satisfies": index.tags.operatorKeyword,
|
|
1994
|
-
"let var const using function class extends": index.tags.definitionKeyword,
|
|
1995
|
-
"import export from": index.tags.moduleKeyword,
|
|
1996
|
-
"with debugger new": index.tags.keyword,
|
|
1997
|
-
TemplateString: index.tags.special(index.tags.string),
|
|
1998
|
-
super: index.tags.atom,
|
|
1999
|
-
BooleanLiteral: index.tags.bool,
|
|
2000
|
-
this: index.tags.self,
|
|
2001
|
-
null: index.tags.null,
|
|
2002
|
-
Star: index.tags.modifier,
|
|
2003
|
-
VariableName: index.tags.variableName,
|
|
2004
|
-
"CallExpression/VariableName TaggedTemplateExpression/VariableName": index.tags.function(index.tags.variableName),
|
|
2005
|
-
VariableDefinition: index.tags.definition(index.tags.variableName),
|
|
2006
|
-
Label: index.tags.labelName,
|
|
2007
|
-
PropertyName: index.tags.propertyName,
|
|
2008
|
-
PrivatePropertyName: index.tags.special(index.tags.propertyName),
|
|
2009
|
-
"CallExpression/MemberExpression/PropertyName": index.tags.function(index.tags.propertyName),
|
|
2010
|
-
"FunctionDeclaration/VariableDefinition": index.tags.function(index.tags.definition(index.tags.variableName)),
|
|
2011
|
-
"ClassDeclaration/VariableDefinition": index.tags.definition(index.tags.className),
|
|
2012
|
-
"NewExpression/VariableName": index.tags.className,
|
|
2013
|
-
PropertyDefinition: index.tags.definition(index.tags.propertyName),
|
|
2014
|
-
PrivatePropertyDefinition: index.tags.definition(index.tags.special(index.tags.propertyName)),
|
|
2015
|
-
UpdateOp: index.tags.updateOperator,
|
|
2016
|
-
"LineComment Hashbang": index.tags.lineComment,
|
|
2017
|
-
BlockComment: index.tags.blockComment,
|
|
2018
|
-
Number: index.tags.number,
|
|
2019
|
-
String: index.tags.string,
|
|
2020
|
-
Escape: index.tags.escape,
|
|
2021
|
-
ArithOp: index.tags.arithmeticOperator,
|
|
2022
|
-
LogicOp: index.tags.logicOperator,
|
|
2023
|
-
BitOp: index.tags.bitwiseOperator,
|
|
2024
|
-
CompareOp: index.tags.compareOperator,
|
|
2025
|
-
RegExp: index.tags.regexp,
|
|
2026
|
-
Equals: index.tags.definitionOperator,
|
|
2027
|
-
Arrow: index.tags.function(index.tags.punctuation),
|
|
2028
|
-
": Spread": index.tags.punctuation,
|
|
2029
|
-
"( )": index.tags.paren,
|
|
2030
|
-
"[ ]": index.tags.squareBracket,
|
|
2031
|
-
"{ }": index.tags.brace,
|
|
2032
|
-
"InterpolationStart InterpolationEnd": index.tags.special(index.tags.brace),
|
|
2033
|
-
".": index.tags.derefOperator,
|
|
2034
|
-
", ;": index.tags.separator,
|
|
2035
|
-
"@": index.tags.meta,
|
|
2036
|
-
|
|
2037
|
-
TypeName: index.tags.typeName,
|
|
2038
|
-
TypeDefinition: index.tags.definition(index.tags.typeName),
|
|
2039
|
-
"type enum interface implements namespace module declare": index.tags.definitionKeyword,
|
|
2040
|
-
"abstract global Privacy readonly override": index.tags.modifier,
|
|
2041
|
-
"is keyof unique infer asserts": index.tags.operatorKeyword,
|
|
2042
|
-
|
|
2043
|
-
JSXAttributeValue: index.tags.attributeValue,
|
|
2044
|
-
JSXText: index.tags.content,
|
|
2045
|
-
"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag": index.tags.angleBracket,
|
|
2046
|
-
"JSXIdentifier JSXNameSpacedName": index.tags.tagName,
|
|
2047
|
-
"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName": index.tags.attributeName,
|
|
2048
|
-
"JSXBuiltin/JSXIdentifier": index.tags.standard(index.tags.tagName)
|
|
2049
|
-
});
|
|
2050
|
-
|
|
2051
|
-
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
2052
|
-
const spec_identifier = {__proto__:null,export:20, as:25, from:33, default:36, async:41, function:42, in:52, out:55, const:56, extends:60, this:64, true:72, false:72, null:84, void:88, typeof:92, super:108, new:142, delete:154, yield:163, await:167, class:172, public:235, private:235, protected:235, readonly:237, instanceof:256, satisfies:259, import:292, keyof:349, unique:353, infer:359, asserts:395, is:397, abstract:417, implements:419, type:421, let:424, var:426, using:429, interface:435, enum:439, namespace:445, module:447, declare:451, global:455, defer:471, for:476, of:485, while:488, with:492, do:496, if:500, else:502, switch:506, case:512, try:518, catch:522, finally:526, return:530, throw:534, break:538, continue:542, debugger:546};
|
|
2053
|
-
const spec_word = {__proto__:null,async:129, get:131, set:133, declare:195, public:197, private:197, protected:197, static:199, abstract:201, override:203, readonly:209, accessor:211, new:401};
|
|
2054
|
-
const spec_LessThan = {__proto__:null,"<":193};
|
|
2055
|
-
const parser = LRParser.deserialize({
|
|
2056
|
-
version: 14,
|
|
2057
|
-
states: "$F|Q%TQlOOO%[QlOOO'_QpOOP(lO`OOO*zQ!0MxO'#CiO+RO#tO'#CjO+aO&jO'#CjO+oO#@ItO'#DaO.QQlO'#DgO.bQlO'#DrO%[QlO'#DzO0fQlO'#ESOOQ!0Lf'#E['#E[O1PQ`O'#EXOOQO'#Ep'#EpOOQO'#Il'#IlO1XQ`O'#GsO1dQ`O'#EoO1iQ`O'#EoO3hQ!0MxO'#JrO6[Q!0MxO'#JsO6uQ`O'#F]O6zQ,UO'#FtOOQ!0Lf'#Ff'#FfO7VO7dO'#FfO9XQMhO'#F|O9`Q`O'#F{OOQ!0Lf'#Js'#JsOOQ!0Lb'#Jr'#JrO9eQ`O'#GwOOQ['#K_'#K_O9pQ`O'#IYO9uQ!0LrO'#IZOOQ['#J`'#J`OOQ['#I_'#I_Q`QlOOQ`QlOOO9}Q!L^O'#DvO:UQlO'#EOO:]QlO'#E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-v'nR3T-uT#kZ%eS#jZ%eS%km,oU(g#h#i#lS.Y(h(iQ.^(jQ0t+^Q3Y.ZU3Z.[.]._S7S3[3]R9`7Td#^W#W#Z%h(T(^*Y+Z.T/mr#gZm#h#i#l%e(h(i(j+^.Z.[.]._3[3]7TS*]$x*bQ/t*^Q2U,oQ2l-VQ4`/pQ6q2dQ7s4aQ9W6rT=m'X+[V#aW%h*YU#`W%h*YS(U#W(^U(Z#Z+Z/mS-['X+[T.O(T.TV'^!e%i*ZQ$lfR)x$qT)m$l)nR4V/UT*_$x*bT*h${*YQ0w+fQ1g,VQ3_.fQ5t1iQ6P1qQ7X3cQ8r6SQ9c7WQ:^8qQ:p9bQ;Z:`Q;c:rQ;n;[R;q;dnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&l!VR,h&itmOXst!U!V!Z#d%m&i&r&t&u&w,s,x2[2_R,o&oT%lm,oR1k,XR,g&gQ&U|S+}&V&WR1^,OR+s&PT&p!W&sT&q!W&sT2^,x2_",
|
|
2060
|
-
nodeNames: "⚠ ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList in out const TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast < ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate asserts is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration defer ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",
|
|
2061
|
-
maxTerm: 380,
|
|
2062
|
-
context: trackNewline,
|
|
2063
|
-
nodeProps: [
|
|
2064
|
-
["isolate", -8,5,6,14,37,39,51,53,55,""],
|
|
2065
|
-
["group", -26,9,17,19,68,207,211,215,216,218,221,224,234,237,243,245,247,249,252,258,264,266,268,270,272,274,275,"Statement",-34,13,14,32,35,36,42,51,54,55,57,62,70,72,76,80,82,84,85,110,111,120,121,136,139,141,142,143,144,145,147,148,167,169,171,"Expression",-23,31,33,37,41,43,45,173,175,177,178,180,181,182,184,185,186,188,189,190,201,203,205,206,"Type",-3,88,103,109,"ClassItem"],
|
|
2066
|
-
["openedBy", 23,"<",38,"InterpolationStart",56,"[",60,"{",73,"(",160,"JSXStartCloseTag"],
|
|
2067
|
-
["closedBy", -2,24,168,">",40,"InterpolationEnd",50,"]",61,"}",74,")",165,"JSXEndTag"]
|
|
2068
|
-
],
|
|
2069
|
-
propSources: [jsHighlight],
|
|
2070
|
-
skippedNodes: [0,5,6,278],
|
|
2071
|
-
repeatNodeCount: 37,
|
|
2072
|
-
tokenData: "$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$i&j(Wp(Z!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$i&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$i&j(Z!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}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noSemicolon, noSemicolonType, operatorToken, jsx, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, insertSemicolon, new LocalTokenGroup("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!U~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(c~~", 141, 340), new LocalTokenGroup("j~RQYZXz{^~^O(Q~~aP!P!Qd~iO(R~~", 25, 323)],
|
|
2074
|
-
topRules: {"Script":[0,7],"SingleExpression":[1,276],"SingleClassItem":[2,277]},
|
|
2075
|
-
dialects: {jsx: 0, ts: 15175},
|
|
2076
|
-
dynamicPrecedences: {"80":1,"82":1,"94":1,"169":1,"199":1},
|
|
2077
|
-
specialized: [{term: 327, get: (value) => spec_identifier[value] || -1},{term: 343, get: (value) => spec_word[value] || -1},{term: 95, get: (value) => spec_LessThan[value] || -1}],
|
|
2078
|
-
tokenPrec: 15201
|
|
2079
|
-
});
|
|
2080
|
-
|
|
2081
|
-
function toSet(chars) {
|
|
2082
|
-
let flat = Object.keys(chars).join("");
|
|
2083
|
-
let words = /\w/.test(flat);
|
|
2084
|
-
if (words)
|
|
2085
|
-
flat = flat.replace(/\w/g, "");
|
|
2086
|
-
return `[${words ? "\\w" : ""}${flat.replace(/[^\w\s]/g, "\\$&")}]`;
|
|
2087
|
-
}
|
|
2088
|
-
function prefixMatch(options) {
|
|
2089
|
-
let first = Object.create(null), rest = Object.create(null);
|
|
2090
|
-
for (let { label } of options) {
|
|
2091
|
-
first[label[0]] = true;
|
|
2092
|
-
for (let i = 1; i < label.length; i++)
|
|
2093
|
-
rest[label[i]] = true;
|
|
2094
|
-
}
|
|
2095
|
-
let source = toSet(first) + toSet(rest) + "*$";
|
|
2096
|
-
return [new RegExp("^" + source), new RegExp(source)];
|
|
2097
|
-
}
|
|
2098
|
-
/**
|
|
2099
|
-
Given a a fixed array of options, return an autocompleter that
|
|
2100
|
-
completes them.
|
|
2101
|
-
*/
|
|
2102
|
-
function completeFromList(list) {
|
|
2103
|
-
let options = list.map(o => typeof o == "string" ? { label: o } : o);
|
|
2104
|
-
let [validFor, match] = options.every(o => /^\w+$/.test(o.label)) ? [/\w*$/, /\w+$/] : prefixMatch(options);
|
|
2105
|
-
return (context) => {
|
|
2106
|
-
let token = context.matchBefore(match);
|
|
2107
|
-
return token || context.explicit ? { from: token ? token.from : context.pos, options, validFor } : null;
|
|
2108
|
-
};
|
|
2109
|
-
}
|
|
2110
|
-
/**
|
|
2111
|
-
Wrap the given completion source so that it will not fire when the
|
|
2112
|
-
cursor is in a syntax node with one of the given names.
|
|
2113
|
-
*/
|
|
2114
|
-
function ifNotIn(nodes, source) {
|
|
2115
|
-
return (context) => {
|
|
2116
|
-
for (let pos = index.syntaxTree(context.state).resolveInner(context.pos, -1); pos; pos = pos.parent) {
|
|
2117
|
-
if (nodes.indexOf(pos.name) > -1)
|
|
2118
|
-
return null;
|
|
2119
|
-
if (pos.type.isTop)
|
|
2120
|
-
break;
|
|
2121
|
-
}
|
|
2122
|
-
return source(context);
|
|
2123
|
-
};
|
|
2124
|
-
}
|
|
2125
|
-
/**
|
|
2126
|
-
This annotation is added to transactions that are produced by
|
|
2127
|
-
picking a completion.
|
|
2128
|
-
*/
|
|
2129
|
-
const pickedCompletion = /*@__PURE__*/index$1.Annotation.define();
|
|
2130
|
-
|
|
2131
|
-
const baseTheme = /*@__PURE__*/index$2.EditorView.baseTheme({
|
|
2132
|
-
".cm-tooltip.cm-tooltip-autocomplete": {
|
|
2133
|
-
"& > ul": {
|
|
2134
|
-
fontFamily: "monospace",
|
|
2135
|
-
whiteSpace: "nowrap",
|
|
2136
|
-
overflow: "hidden auto",
|
|
2137
|
-
maxWidth_fallback: "700px",
|
|
2138
|
-
maxWidth: "min(700px, 95vw)",
|
|
2139
|
-
minWidth: "250px",
|
|
2140
|
-
maxHeight: "10em",
|
|
2141
|
-
height: "100%",
|
|
2142
|
-
listStyle: "none",
|
|
2143
|
-
margin: 0,
|
|
2144
|
-
padding: 0,
|
|
2145
|
-
"& > li, & > completion-section": {
|
|
2146
|
-
padding: "1px 3px",
|
|
2147
|
-
lineHeight: 1.2
|
|
2148
|
-
},
|
|
2149
|
-
"& > li": {
|
|
2150
|
-
overflowX: "hidden",
|
|
2151
|
-
textOverflow: "ellipsis",
|
|
2152
|
-
cursor: "pointer"
|
|
2153
|
-
},
|
|
2154
|
-
"& > completion-section": {
|
|
2155
|
-
display: "list-item",
|
|
2156
|
-
borderBottom: "1px solid silver",
|
|
2157
|
-
paddingLeft: "0.5em",
|
|
2158
|
-
opacity: 0.7
|
|
2159
|
-
}
|
|
2160
|
-
}
|
|
2161
|
-
},
|
|
2162
|
-
"&light .cm-tooltip-autocomplete ul li[aria-selected]": {
|
|
2163
|
-
background: "#17c",
|
|
2164
|
-
color: "white",
|
|
2165
|
-
},
|
|
2166
|
-
"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]": {
|
|
2167
|
-
background: "#777",
|
|
2168
|
-
},
|
|
2169
|
-
"&dark .cm-tooltip-autocomplete ul li[aria-selected]": {
|
|
2170
|
-
background: "#347",
|
|
2171
|
-
color: "white",
|
|
2172
|
-
},
|
|
2173
|
-
"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]": {
|
|
2174
|
-
background: "#444",
|
|
2175
|
-
},
|
|
2176
|
-
".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after": {
|
|
2177
|
-
content: '"···"',
|
|
2178
|
-
opacity: 0.5,
|
|
2179
|
-
display: "block",
|
|
2180
|
-
textAlign: "center",
|
|
2181
|
-
cursor: "pointer",
|
|
2182
|
-
},
|
|
2183
|
-
".cm-tooltip.cm-completionInfo": {
|
|
2184
|
-
position: "absolute",
|
|
2185
|
-
padding: "3px 9px",
|
|
2186
|
-
width: "max-content",
|
|
2187
|
-
maxWidth: `${400 /* Info.Width */}px`,
|
|
2188
|
-
boxSizing: "border-box",
|
|
2189
|
-
whiteSpace: "pre-line"
|
|
2190
|
-
},
|
|
2191
|
-
".cm-completionInfo.cm-completionInfo-left": { right: "100%" },
|
|
2192
|
-
".cm-completionInfo.cm-completionInfo-right": { left: "100%" },
|
|
2193
|
-
".cm-completionInfo.cm-completionInfo-left-narrow": { right: `${30 /* Info.Margin */}px` },
|
|
2194
|
-
".cm-completionInfo.cm-completionInfo-right-narrow": { left: `${30 /* Info.Margin */}px` },
|
|
2195
|
-
"&light .cm-snippetField": { backgroundColor: "#00000022" },
|
|
2196
|
-
"&dark .cm-snippetField": { backgroundColor: "#ffffff22" },
|
|
2197
|
-
".cm-snippetFieldPosition": {
|
|
2198
|
-
verticalAlign: "text-top",
|
|
2199
|
-
width: 0,
|
|
2200
|
-
height: "1.15em",
|
|
2201
|
-
display: "inline-block",
|
|
2202
|
-
margin: "0 -0.7px -.7em",
|
|
2203
|
-
borderLeft: "1.4px dotted #888"
|
|
2204
|
-
},
|
|
2205
|
-
".cm-completionMatchedText": {
|
|
2206
|
-
textDecoration: "underline"
|
|
2207
|
-
},
|
|
2208
|
-
".cm-completionDetail": {
|
|
2209
|
-
marginLeft: "0.5em",
|
|
2210
|
-
fontStyle: "italic"
|
|
2211
|
-
},
|
|
2212
|
-
".cm-completionIcon": {
|
|
2213
|
-
fontSize: "90%",
|
|
2214
|
-
width: ".8em",
|
|
2215
|
-
display: "inline-block",
|
|
2216
|
-
textAlign: "center",
|
|
2217
|
-
paddingRight: ".6em",
|
|
2218
|
-
opacity: "0.6",
|
|
2219
|
-
boxSizing: "content-box"
|
|
2220
|
-
},
|
|
2221
|
-
".cm-completionIcon-function, .cm-completionIcon-method": {
|
|
2222
|
-
"&:after": { content: "'ƒ'" }
|
|
2223
|
-
},
|
|
2224
|
-
".cm-completionIcon-class": {
|
|
2225
|
-
"&:after": { content: "'○'" }
|
|
2226
|
-
},
|
|
2227
|
-
".cm-completionIcon-interface": {
|
|
2228
|
-
"&:after": { content: "'◌'" }
|
|
2229
|
-
},
|
|
2230
|
-
".cm-completionIcon-variable": {
|
|
2231
|
-
"&:after": { content: "'𝑥'" }
|
|
2232
|
-
},
|
|
2233
|
-
".cm-completionIcon-constant": {
|
|
2234
|
-
"&:after": { content: "'𝐶'" }
|
|
2235
|
-
},
|
|
2236
|
-
".cm-completionIcon-type": {
|
|
2237
|
-
"&:after": { content: "'𝑡'" }
|
|
2238
|
-
},
|
|
2239
|
-
".cm-completionIcon-enum": {
|
|
2240
|
-
"&:after": { content: "'∪'" }
|
|
2241
|
-
},
|
|
2242
|
-
".cm-completionIcon-property": {
|
|
2243
|
-
"&:after": { content: "'□'" }
|
|
2244
|
-
},
|
|
2245
|
-
".cm-completionIcon-keyword": {
|
|
2246
|
-
"&:after": { content: "'🔑\uFE0E'" } // Disable emoji rendering
|
|
2247
|
-
},
|
|
2248
|
-
".cm-completionIcon-namespace": {
|
|
2249
|
-
"&:after": { content: "'▢'" }
|
|
2250
|
-
},
|
|
2251
|
-
".cm-completionIcon-text": {
|
|
2252
|
-
"&:after": { content: "'abc'", fontSize: "50%", verticalAlign: "middle" }
|
|
2253
|
-
}
|
|
2254
|
-
});
|
|
2255
|
-
|
|
2256
|
-
class FieldPos {
|
|
2257
|
-
constructor(field, line, from, to) {
|
|
2258
|
-
this.field = field;
|
|
2259
|
-
this.line = line;
|
|
2260
|
-
this.from = from;
|
|
2261
|
-
this.to = to;
|
|
2262
|
-
}
|
|
2263
|
-
}
|
|
2264
|
-
class FieldRange {
|
|
2265
|
-
constructor(field, from, to) {
|
|
2266
|
-
this.field = field;
|
|
2267
|
-
this.from = from;
|
|
2268
|
-
this.to = to;
|
|
2269
|
-
}
|
|
2270
|
-
map(changes) {
|
|
2271
|
-
let from = changes.mapPos(this.from, -1, index$1.MapMode.TrackDel);
|
|
2272
|
-
let to = changes.mapPos(this.to, 1, index$1.MapMode.TrackDel);
|
|
2273
|
-
return from == null || to == null ? null : new FieldRange(this.field, from, to);
|
|
2274
|
-
}
|
|
2275
|
-
}
|
|
2276
|
-
class Snippet {
|
|
2277
|
-
constructor(lines, fieldPositions) {
|
|
2278
|
-
this.lines = lines;
|
|
2279
|
-
this.fieldPositions = fieldPositions;
|
|
2280
|
-
}
|
|
2281
|
-
instantiate(state, pos) {
|
|
2282
|
-
let text = [], lineStart = [pos];
|
|
2283
|
-
let lineObj = state.doc.lineAt(pos), baseIndent = /^\s*/.exec(lineObj.text)[0];
|
|
2284
|
-
for (let line of this.lines) {
|
|
2285
|
-
if (text.length) {
|
|
2286
|
-
let indent = baseIndent, tabs = /^\t*/.exec(line)[0].length;
|
|
2287
|
-
for (let i = 0; i < tabs; i++)
|
|
2288
|
-
indent += state.facet(index.indentUnit);
|
|
2289
|
-
lineStart.push(pos + indent.length - tabs);
|
|
2290
|
-
line = indent + line.slice(tabs);
|
|
2291
|
-
}
|
|
2292
|
-
text.push(line);
|
|
2293
|
-
pos += line.length + 1;
|
|
2294
|
-
}
|
|
2295
|
-
let ranges = this.fieldPositions.map(pos => new FieldRange(pos.field, lineStart[pos.line] + pos.from, lineStart[pos.line] + pos.to));
|
|
2296
|
-
return { text, ranges };
|
|
2297
|
-
}
|
|
2298
|
-
static parse(template) {
|
|
2299
|
-
let fields = [];
|
|
2300
|
-
let lines = [], positions = [], m;
|
|
2301
|
-
for (let line of template.split(/\r\n?|\n/)) {
|
|
2302
|
-
while (m = /[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/.exec(line)) {
|
|
2303
|
-
let seq = m[1] ? +m[1] : null, rawName = m[2] || m[3] || "", found = -1;
|
|
2304
|
-
// `${0}` is the cursor's final position, after every other tab stop.
|
|
2305
|
-
if (seq === 0)
|
|
2306
|
-
seq = 1e9;
|
|
2307
|
-
let name = rawName.replace(/\\[{}]/g, m => m[1]);
|
|
2308
|
-
for (let i = 0; i < fields.length; i++) {
|
|
2309
|
-
if (seq != null ? fields[i].seq == seq : name ? fields[i].name == name : false)
|
|
2310
|
-
found = i;
|
|
2311
|
-
}
|
|
2312
|
-
if (found < 0) {
|
|
2313
|
-
let i = 0;
|
|
2314
|
-
while (i < fields.length && (seq == null || (fields[i].seq != null && fields[i].seq < seq)))
|
|
2315
|
-
i++;
|
|
2316
|
-
fields.splice(i, 0, { seq, name });
|
|
2317
|
-
found = i;
|
|
2318
|
-
for (let pos of positions)
|
|
2319
|
-
if (pos.field >= found)
|
|
2320
|
-
pos.field++;
|
|
2321
|
-
}
|
|
2322
|
-
for (let pos of positions)
|
|
2323
|
-
if (pos.line == lines.length && pos.from > m.index) {
|
|
2324
|
-
let snip = m[2] ? 3 + (m[1] || "").length : 2;
|
|
2325
|
-
pos.from -= snip;
|
|
2326
|
-
pos.to -= snip;
|
|
2327
|
-
}
|
|
2328
|
-
positions.push(new FieldPos(found, lines.length, m.index, m.index + name.length));
|
|
2329
|
-
line = line.slice(0, m.index) + rawName + line.slice(m.index + m[0].length);
|
|
2330
|
-
}
|
|
2331
|
-
line = line.replace(/\\([{}])/g, (_, brace, index) => {
|
|
2332
|
-
for (let pos of positions)
|
|
2333
|
-
if (pos.line == lines.length && pos.from > index) {
|
|
2334
|
-
pos.from--;
|
|
2335
|
-
pos.to--;
|
|
2336
|
-
}
|
|
2337
|
-
return brace;
|
|
2338
|
-
});
|
|
2339
|
-
lines.push(line);
|
|
2340
|
-
}
|
|
2341
|
-
return new Snippet(lines, positions);
|
|
2342
|
-
}
|
|
2343
|
-
}
|
|
2344
|
-
let fieldMarker = /*@__PURE__*/index$2.Decoration.widget({ widget: /*@__PURE__*/new class extends index$2.WidgetType {
|
|
2345
|
-
toDOM() {
|
|
2346
|
-
let span = document.createElement("span");
|
|
2347
|
-
span.className = "cm-snippetFieldPosition";
|
|
2348
|
-
return span;
|
|
2349
|
-
}
|
|
2350
|
-
ignoreEvent() { return false; }
|
|
2351
|
-
} });
|
|
2352
|
-
let fieldRange = /*@__PURE__*/index$2.Decoration.mark({ class: "cm-snippetField" });
|
|
2353
|
-
class ActiveSnippet {
|
|
2354
|
-
constructor(ranges, active) {
|
|
2355
|
-
this.ranges = ranges;
|
|
2356
|
-
this.active = active;
|
|
2357
|
-
this.deco = index$2.Decoration.set(ranges.map(r => (r.from == r.to ? fieldMarker : fieldRange).range(r.from, r.to)), true);
|
|
2358
|
-
}
|
|
2359
|
-
map(changes) {
|
|
2360
|
-
let ranges = [];
|
|
2361
|
-
for (let r of this.ranges) {
|
|
2362
|
-
let mapped = r.map(changes);
|
|
2363
|
-
if (!mapped)
|
|
2364
|
-
return null;
|
|
2365
|
-
ranges.push(mapped);
|
|
2366
|
-
}
|
|
2367
|
-
return new ActiveSnippet(ranges, this.active);
|
|
2368
|
-
}
|
|
2369
|
-
selectionInsideField(sel) {
|
|
2370
|
-
return sel.ranges.every(range => this.ranges.some(r => r.field == this.active && r.from <= range.from && r.to >= range.to));
|
|
2371
|
-
}
|
|
2372
|
-
}
|
|
2373
|
-
const setActive = /*@__PURE__*/index$1.StateEffect.define({
|
|
2374
|
-
map(value, changes) { return value && value.map(changes); }
|
|
2375
|
-
});
|
|
2376
|
-
const moveToField = /*@__PURE__*/index$1.StateEffect.define();
|
|
2377
|
-
const snippetState = /*@__PURE__*/index$1.StateField.define({
|
|
2378
|
-
create() { return null; },
|
|
2379
|
-
update(value, tr) {
|
|
2380
|
-
for (let effect of tr.effects) {
|
|
2381
|
-
if (effect.is(setActive))
|
|
2382
|
-
return effect.value;
|
|
2383
|
-
if (effect.is(moveToField) && value)
|
|
2384
|
-
return new ActiveSnippet(value.ranges, effect.value);
|
|
2385
|
-
}
|
|
2386
|
-
if (value && tr.docChanged)
|
|
2387
|
-
value = value.map(tr.changes);
|
|
2388
|
-
if (value && tr.selection && !value.selectionInsideField(tr.selection))
|
|
2389
|
-
value = null;
|
|
2390
|
-
return value;
|
|
2391
|
-
},
|
|
2392
|
-
provide: f => index$2.EditorView.decorations.from(f, val => val ? val.deco : index$2.Decoration.none)
|
|
2393
|
-
});
|
|
2394
|
-
function fieldSelection(ranges, field) {
|
|
2395
|
-
return index$1.EditorSelection.create(ranges.filter(r => r.field == field).map(r => index$1.EditorSelection.range(r.from, r.to)));
|
|
2396
|
-
}
|
|
2397
|
-
/**
|
|
2398
|
-
Convert a snippet template to a function that can
|
|
2399
|
-
[apply](https://codemirror.net/6/docs/ref/#autocomplete.Completion.apply) it. Snippets are written
|
|
2400
|
-
using syntax like this:
|
|
2401
|
-
|
|
2402
|
-
"for (let ${index} = 0; ${index} < ${end}; ${index}++) {\n\t${}\n}"
|
|
2403
|
-
|
|
2404
|
-
Each `${}` placeholder (you may also use `#{}`) indicates a field
|
|
2405
|
-
that the user can fill in. Its name, if any, will be the default
|
|
2406
|
-
content for the field.
|
|
2407
|
-
|
|
2408
|
-
When the snippet is activated by calling the returned function,
|
|
2409
|
-
the code is inserted at the given position. Newlines in the
|
|
2410
|
-
template are indented by the indentation of the start line, plus
|
|
2411
|
-
one [indent unit](https://codemirror.net/6/docs/ref/#language.indentUnit) per tab character after
|
|
2412
|
-
the newline.
|
|
2413
|
-
|
|
2414
|
-
On activation, (all instances of) the first field are selected.
|
|
2415
|
-
The user can move between fields with Tab and Shift-Tab as long as
|
|
2416
|
-
the fields are active. Moving to the last field or moving the
|
|
2417
|
-
cursor out of the current field deactivates the fields.
|
|
2418
|
-
|
|
2419
|
-
The order of fields defaults to textual order, but you can add
|
|
2420
|
-
numbers to placeholders (`${1}` or `${1:defaultText}`) to provide
|
|
2421
|
-
a custom order. `${0}` is special—it is always the last stop, where
|
|
2422
|
-
the cursor ends up after tabbing through the other fields.
|
|
2423
|
-
|
|
2424
|
-
To include a literal `{` or `}` in your template, put a backslash
|
|
2425
|
-
in front of it. This will be removed and the brace will not be
|
|
2426
|
-
interpreted as indicating a placeholder.
|
|
2427
|
-
*/
|
|
2428
|
-
function snippet(template) {
|
|
2429
|
-
let snippet = Snippet.parse(template);
|
|
2430
|
-
return (editor, completion, from, to) => {
|
|
2431
|
-
let { text, ranges } = snippet.instantiate(editor.state, from);
|
|
2432
|
-
let { main } = editor.state.selection;
|
|
2433
|
-
let spec = {
|
|
2434
|
-
changes: { from, to: to == main.from ? main.to : to, insert: index$1.Text.of(text) },
|
|
2435
|
-
scrollIntoView: true,
|
|
2436
|
-
annotations: completion ? [pickedCompletion.of(completion), index$1.Transaction.userEvent.of("input.complete")] : undefined
|
|
2437
|
-
};
|
|
2438
|
-
if (ranges.length)
|
|
2439
|
-
spec.selection = fieldSelection(ranges, 0);
|
|
2440
|
-
if (ranges.some(r => r.field > 0)) {
|
|
2441
|
-
let active = new ActiveSnippet(ranges, 0);
|
|
2442
|
-
let effects = spec.effects = [setActive.of(active)];
|
|
2443
|
-
if (editor.state.field(snippetState, false) === undefined)
|
|
2444
|
-
effects.push(index$1.StateEffect.appendConfig.of([snippetState, addSnippetKeymap, snippetPointerHandler, baseTheme]));
|
|
2445
|
-
}
|
|
2446
|
-
editor.dispatch(editor.state.update(spec));
|
|
2447
|
-
};
|
|
2448
|
-
}
|
|
2449
|
-
function moveField(dir) {
|
|
2450
|
-
return ({ state, dispatch }) => {
|
|
2451
|
-
let active = state.field(snippetState, false);
|
|
2452
|
-
if (!active || dir < 0 && active.active == 0)
|
|
2453
|
-
return false;
|
|
2454
|
-
let next = active.active + dir, last = dir > 0 && !active.ranges.some(r => r.field == next + dir);
|
|
2455
|
-
dispatch(state.update({
|
|
2456
|
-
selection: fieldSelection(active.ranges, next),
|
|
2457
|
-
effects: setActive.of(last ? null : new ActiveSnippet(active.ranges, next)),
|
|
2458
|
-
scrollIntoView: true
|
|
2459
|
-
}));
|
|
2460
|
-
return true;
|
|
2461
|
-
};
|
|
2462
|
-
}
|
|
2463
|
-
/**
|
|
2464
|
-
A command that clears the active snippet, if any.
|
|
2465
|
-
*/
|
|
2466
|
-
const clearSnippet = ({ state, dispatch }) => {
|
|
2467
|
-
let active = state.field(snippetState, false);
|
|
2468
|
-
if (!active)
|
|
2469
|
-
return false;
|
|
2470
|
-
dispatch(state.update({ effects: setActive.of(null) }));
|
|
2471
|
-
return true;
|
|
2472
|
-
};
|
|
2473
|
-
/**
|
|
2474
|
-
Move to the next snippet field, if available.
|
|
2475
|
-
*/
|
|
2476
|
-
const nextSnippetField = /*@__PURE__*/moveField(1);
|
|
2477
|
-
/**
|
|
2478
|
-
Move to the previous snippet field, if available.
|
|
2479
|
-
*/
|
|
2480
|
-
const prevSnippetField = /*@__PURE__*/moveField(-1);
|
|
2481
|
-
const defaultSnippetKeymap = [
|
|
2482
|
-
{ key: "Tab", run: nextSnippetField, shift: prevSnippetField },
|
|
2483
|
-
{ key: "Escape", run: clearSnippet }
|
|
2484
|
-
];
|
|
2485
|
-
/**
|
|
2486
|
-
A facet that can be used to configure the key bindings used by
|
|
2487
|
-
snippets. The default binds Tab to
|
|
2488
|
-
[`nextSnippetField`](https://codemirror.net/6/docs/ref/#autocomplete.nextSnippetField), Shift-Tab to
|
|
2489
|
-
[`prevSnippetField`](https://codemirror.net/6/docs/ref/#autocomplete.prevSnippetField), and Escape
|
|
2490
|
-
to [`clearSnippet`](https://codemirror.net/6/docs/ref/#autocomplete.clearSnippet).
|
|
2491
|
-
*/
|
|
2492
|
-
const snippetKeymap = /*@__PURE__*/index$1.Facet.define({
|
|
2493
|
-
combine(maps) { return maps.length ? maps[0] : defaultSnippetKeymap; }
|
|
2494
|
-
});
|
|
2495
|
-
const addSnippetKeymap = /*@__PURE__*/index$1.Prec.highest(/*@__PURE__*/index$2.keymap.compute([snippetKeymap], state => state.facet(snippetKeymap)));
|
|
2496
|
-
/**
|
|
2497
|
-
Create a completion from a snippet. Returns an object with the
|
|
2498
|
-
properties from `completion`, plus an `apply` function that
|
|
2499
|
-
applies the snippet.
|
|
2500
|
-
*/
|
|
2501
|
-
function snippetCompletion(template, completion) {
|
|
2502
|
-
return { ...completion, apply: snippet(template) };
|
|
2503
|
-
}
|
|
2504
|
-
const snippetPointerHandler = /*@__PURE__*/index$2.EditorView.domEventHandlers({
|
|
2505
|
-
mousedown(event, view) {
|
|
2506
|
-
let active = view.state.field(snippetState, false), pos;
|
|
2507
|
-
if (!active || (pos = view.posAtCoords({ x: event.clientX, y: event.clientY })) == null)
|
|
2508
|
-
return false;
|
|
2509
|
-
let match = active.ranges.find(r => r.from <= pos && r.to >= pos);
|
|
2510
|
-
if (!match || match.field == active.active)
|
|
2511
|
-
return false;
|
|
2512
|
-
view.dispatch({
|
|
2513
|
-
selection: fieldSelection(active.ranges, match.field),
|
|
2514
|
-
effects: setActive.of(active.ranges.some(r => r.field > match.field)
|
|
2515
|
-
? new ActiveSnippet(active.ranges, match.field) : null),
|
|
2516
|
-
scrollIntoView: true
|
|
2517
|
-
});
|
|
2518
|
-
return true;
|
|
2519
|
-
}
|
|
2520
|
-
});
|
|
2521
|
-
const closedBracket = /*@__PURE__*/new class extends index$1.RangeValue {
|
|
2522
|
-
};
|
|
2523
|
-
closedBracket.startSide = 1;
|
|
2524
|
-
closedBracket.endSide = -1;
|
|
2525
|
-
|
|
2526
|
-
/**
|
|
2527
|
-
A collection of JavaScript-related
|
|
2528
|
-
[snippets](https://codemirror.net/6/docs/ref/#autocomplete.snippet).
|
|
2529
|
-
*/
|
|
2530
|
-
const snippets = [
|
|
2531
|
-
/*@__PURE__*/snippetCompletion("function ${name}(${params}) {\n\t${}\n}", {
|
|
2532
|
-
label: "function",
|
|
2533
|
-
detail: "definition",
|
|
2534
|
-
type: "keyword"
|
|
2535
|
-
}),
|
|
2536
|
-
/*@__PURE__*/snippetCompletion("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}", {
|
|
2537
|
-
label: "for",
|
|
2538
|
-
detail: "loop",
|
|
2539
|
-
type: "keyword"
|
|
2540
|
-
}),
|
|
2541
|
-
/*@__PURE__*/snippetCompletion("for (let ${name} of ${collection}) {\n\t${}\n}", {
|
|
2542
|
-
label: "for",
|
|
2543
|
-
detail: "of loop",
|
|
2544
|
-
type: "keyword"
|
|
2545
|
-
}),
|
|
2546
|
-
/*@__PURE__*/snippetCompletion("do {\n\t${}\n} while (${})", {
|
|
2547
|
-
label: "do",
|
|
2548
|
-
detail: "loop",
|
|
2549
|
-
type: "keyword"
|
|
2550
|
-
}),
|
|
2551
|
-
/*@__PURE__*/snippetCompletion("while (${}) {\n\t${}\n}", {
|
|
2552
|
-
label: "while",
|
|
2553
|
-
detail: "loop",
|
|
2554
|
-
type: "keyword"
|
|
2555
|
-
}),
|
|
2556
|
-
/*@__PURE__*/snippetCompletion("try {\n\t${}\n} catch (${error}) {\n\t${}\n}", {
|
|
2557
|
-
label: "try",
|
|
2558
|
-
detail: "/ catch block",
|
|
2559
|
-
type: "keyword"
|
|
2560
|
-
}),
|
|
2561
|
-
/*@__PURE__*/snippetCompletion("if (${}) {\n\t${}\n}", {
|
|
2562
|
-
label: "if",
|
|
2563
|
-
detail: "block",
|
|
2564
|
-
type: "keyword"
|
|
2565
|
-
}),
|
|
2566
|
-
/*@__PURE__*/snippetCompletion("if (${}) {\n\t${}\n} else {\n\t${}\n}", {
|
|
2567
|
-
label: "if",
|
|
2568
|
-
detail: "/ else block",
|
|
2569
|
-
type: "keyword"
|
|
2570
|
-
}),
|
|
2571
|
-
/*@__PURE__*/snippetCompletion("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}", {
|
|
2572
|
-
label: "class",
|
|
2573
|
-
detail: "definition",
|
|
2574
|
-
type: "keyword"
|
|
2575
|
-
}),
|
|
2576
|
-
/*@__PURE__*/snippetCompletion("import {${names}} from \"${module}\"\n${}", {
|
|
2577
|
-
label: "import",
|
|
2578
|
-
detail: "named",
|
|
2579
|
-
type: "keyword"
|
|
2580
|
-
}),
|
|
2581
|
-
/*@__PURE__*/snippetCompletion("import ${name} from \"${module}\"\n${}", {
|
|
2582
|
-
label: "import",
|
|
2583
|
-
detail: "default",
|
|
2584
|
-
type: "keyword"
|
|
2585
|
-
})
|
|
2586
|
-
];
|
|
2587
|
-
/**
|
|
2588
|
-
A collection of snippet completions for TypeScript. Includes the
|
|
2589
|
-
JavaScript [snippets](https://codemirror.net/6/docs/ref/#lang-javascript.snippets).
|
|
2590
|
-
*/
|
|
2591
|
-
const typescriptSnippets = /*@__PURE__*/snippets.concat([
|
|
2592
|
-
/*@__PURE__*/snippetCompletion("interface ${name} {\n\t${}\n}", {
|
|
2593
|
-
label: "interface",
|
|
2594
|
-
detail: "definition",
|
|
2595
|
-
type: "keyword"
|
|
2596
|
-
}),
|
|
2597
|
-
/*@__PURE__*/snippetCompletion("type ${name} = ${type}", {
|
|
2598
|
-
label: "type",
|
|
2599
|
-
detail: "definition",
|
|
2600
|
-
type: "keyword"
|
|
2601
|
-
}),
|
|
2602
|
-
/*@__PURE__*/snippetCompletion("enum ${name} {\n\t${}\n}", {
|
|
2603
|
-
label: "enum",
|
|
2604
|
-
detail: "definition",
|
|
2605
|
-
type: "keyword"
|
|
2606
|
-
})
|
|
2607
|
-
]);
|
|
2608
|
-
|
|
2609
|
-
const cache = /*@__PURE__*/new index.NodeWeakMap();
|
|
2610
|
-
const ScopeNodes = /*@__PURE__*/new Set([
|
|
2611
|
-
"Script", "Block",
|
|
2612
|
-
"FunctionExpression", "FunctionDeclaration", "ArrowFunction", "MethodDeclaration",
|
|
2613
|
-
"ForStatement"
|
|
2614
|
-
]);
|
|
2615
|
-
function defID(type) {
|
|
2616
|
-
return (node, def) => {
|
|
2617
|
-
let id = node.node.getChild("VariableDefinition");
|
|
2618
|
-
if (id)
|
|
2619
|
-
def(id, type);
|
|
2620
|
-
return true;
|
|
2621
|
-
};
|
|
2622
|
-
}
|
|
2623
|
-
const functionContext = ["FunctionDeclaration"];
|
|
2624
|
-
const gatherCompletions = {
|
|
2625
|
-
FunctionDeclaration: /*@__PURE__*/defID("function"),
|
|
2626
|
-
ClassDeclaration: /*@__PURE__*/defID("class"),
|
|
2627
|
-
ClassExpression: () => true,
|
|
2628
|
-
EnumDeclaration: /*@__PURE__*/defID("constant"),
|
|
2629
|
-
TypeAliasDeclaration: /*@__PURE__*/defID("type"),
|
|
2630
|
-
NamespaceDeclaration: /*@__PURE__*/defID("namespace"),
|
|
2631
|
-
VariableDefinition(node, def) { if (!node.matchContext(functionContext))
|
|
2632
|
-
def(node, "variable"); },
|
|
2633
|
-
TypeDefinition(node, def) { def(node, "type"); },
|
|
2634
|
-
__proto__: null
|
|
2635
|
-
};
|
|
2636
|
-
function getScope(doc, node) {
|
|
2637
|
-
let cached = cache.get(node);
|
|
2638
|
-
if (cached)
|
|
2639
|
-
return cached;
|
|
2640
|
-
let completions = [], top = true;
|
|
2641
|
-
function def(node, type) {
|
|
2642
|
-
let name = doc.sliceString(node.from, node.to);
|
|
2643
|
-
completions.push({ label: name, type });
|
|
2644
|
-
}
|
|
2645
|
-
node.cursor(index.IterMode.IncludeAnonymous).iterate(node => {
|
|
2646
|
-
if (top) {
|
|
2647
|
-
top = false;
|
|
2648
|
-
}
|
|
2649
|
-
else if (node.name) {
|
|
2650
|
-
let gather = gatherCompletions[node.name];
|
|
2651
|
-
if (gather && gather(node, def) || ScopeNodes.has(node.name))
|
|
2652
|
-
return false;
|
|
2653
|
-
}
|
|
2654
|
-
else if (node.to - node.from > 8192) {
|
|
2655
|
-
// Allow caching for bigger internal nodes
|
|
2656
|
-
for (let c of getScope(doc, node.node))
|
|
2657
|
-
completions.push(c);
|
|
2658
|
-
return false;
|
|
2659
|
-
}
|
|
2660
|
-
});
|
|
2661
|
-
cache.set(node, completions);
|
|
2662
|
-
return completions;
|
|
2663
|
-
}
|
|
2664
|
-
const Identifier = /^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/;
|
|
2665
|
-
const dontComplete = [
|
|
2666
|
-
"TemplateString", "String", "RegExp",
|
|
2667
|
-
"LineComment", "BlockComment",
|
|
2668
|
-
"VariableDefinition", "TypeDefinition", "Label",
|
|
2669
|
-
"PropertyDefinition", "PropertyName",
|
|
2670
|
-
"PrivatePropertyDefinition", "PrivatePropertyName",
|
|
2671
|
-
"JSXText", "JSXAttributeValue", "JSXOpenTag", "JSXCloseTag", "JSXSelfClosingTag",
|
|
2672
|
-
".", "?."
|
|
2673
|
-
];
|
|
2674
|
-
/**
|
|
2675
|
-
Completion source that looks up locally defined names in
|
|
2676
|
-
JavaScript code.
|
|
2677
|
-
*/
|
|
2678
|
-
function localCompletionSource(context) {
|
|
2679
|
-
let inner = index.syntaxTree(context.state).resolveInner(context.pos, -1);
|
|
2680
|
-
if (dontComplete.indexOf(inner.name) > -1)
|
|
2681
|
-
return null;
|
|
2682
|
-
let isWord = inner.name == "VariableName" ||
|
|
2683
|
-
inner.to - inner.from < 20 && Identifier.test(context.state.sliceDoc(inner.from, inner.to));
|
|
2684
|
-
if (!isWord && !context.explicit)
|
|
2685
|
-
return null;
|
|
2686
|
-
let options = [];
|
|
2687
|
-
for (let pos = inner; pos; pos = pos.parent) {
|
|
2688
|
-
if (ScopeNodes.has(pos.name))
|
|
2689
|
-
options = options.concat(getScope(context.state.doc, pos));
|
|
2690
|
-
}
|
|
2691
|
-
return {
|
|
2692
|
-
options,
|
|
2693
|
-
from: isWord ? inner.from : context.pos,
|
|
2694
|
-
validFor: Identifier
|
|
2695
|
-
};
|
|
2696
|
-
}
|
|
2697
|
-
function pathFor(read, member, name) {
|
|
2698
|
-
var _a;
|
|
2699
|
-
let path = [];
|
|
2700
|
-
for (;;) {
|
|
2701
|
-
let obj = member.firstChild, prop;
|
|
2702
|
-
if ((obj === null || obj === void 0 ? void 0 : obj.name) == "VariableName") {
|
|
2703
|
-
path.push(read(obj));
|
|
2704
|
-
return { path: path.reverse(), name };
|
|
2705
|
-
}
|
|
2706
|
-
else if ((obj === null || obj === void 0 ? void 0 : obj.name) == "MemberExpression" && ((_a = (prop = obj.lastChild)) === null || _a === void 0 ? void 0 : _a.name) == "PropertyName") {
|
|
2707
|
-
path.push(read(prop));
|
|
2708
|
-
member = obj;
|
|
2709
|
-
}
|
|
2710
|
-
else {
|
|
2711
|
-
return null;
|
|
2712
|
-
}
|
|
2713
|
-
}
|
|
2714
|
-
}
|
|
2715
|
-
/**
|
|
2716
|
-
Helper function for defining JavaScript completion sources. It
|
|
2717
|
-
returns the completable name and object path for a completion
|
|
2718
|
-
context, or null if no name/property completion should happen at
|
|
2719
|
-
that position. For example, when completing after `a.b.c` it will
|
|
2720
|
-
return `{path: ["a", "b"], name: "c"}`. When completing after `x`
|
|
2721
|
-
it will return `{path: [], name: "x"}`. When not in a property or
|
|
2722
|
-
name, it will return null if `context.explicit` is false, and
|
|
2723
|
-
`{path: [], name: ""}` otherwise.
|
|
2724
|
-
*/
|
|
2725
|
-
function completionPath(context) {
|
|
2726
|
-
let read = (node) => context.state.doc.sliceString(node.from, node.to);
|
|
2727
|
-
let inner = index.syntaxTree(context.state).resolveInner(context.pos, -1);
|
|
2728
|
-
if (inner.name == "PropertyName") {
|
|
2729
|
-
return pathFor(read, inner.parent, read(inner));
|
|
2730
|
-
}
|
|
2731
|
-
else if ((inner.name == "." || inner.name == "?.") && inner.parent.name == "MemberExpression") {
|
|
2732
|
-
return pathFor(read, inner.parent, "");
|
|
2733
|
-
}
|
|
2734
|
-
else if (dontComplete.indexOf(inner.name) > -1) {
|
|
2735
|
-
return null;
|
|
2736
|
-
}
|
|
2737
|
-
else if (inner.name == "VariableName" || inner.to - inner.from < 20 && Identifier.test(read(inner))) {
|
|
2738
|
-
return { path: [], name: read(inner) };
|
|
2739
|
-
}
|
|
2740
|
-
else if (inner.name == "MemberExpression") {
|
|
2741
|
-
return pathFor(read, inner, "");
|
|
2742
|
-
}
|
|
2743
|
-
else {
|
|
2744
|
-
return context.explicit ? { path: [], name: "" } : null;
|
|
2745
|
-
}
|
|
2746
|
-
}
|
|
2747
|
-
function enumeratePropertyCompletions(obj, top) {
|
|
2748
|
-
let originalObj = obj;
|
|
2749
|
-
let options = [], seen = new Set;
|
|
2750
|
-
for (let depth = 0;; depth++) {
|
|
2751
|
-
for (let name of (Object.getOwnPropertyNames || Object.keys)(obj)) {
|
|
2752
|
-
if (!/^[a-zA-Z_$\xaa-\uffdc][\w$\xaa-\uffdc]*$/.test(name) || seen.has(name))
|
|
2753
|
-
continue;
|
|
2754
|
-
seen.add(name);
|
|
2755
|
-
let value;
|
|
2756
|
-
try {
|
|
2757
|
-
value = originalObj[name];
|
|
2758
|
-
}
|
|
2759
|
-
catch (_) {
|
|
2760
|
-
continue;
|
|
2761
|
-
}
|
|
2762
|
-
options.push({
|
|
2763
|
-
label: name,
|
|
2764
|
-
type: typeof value == "function" ? (/^[A-Z]/.test(name) ? "class" : top ? "function" : "method")
|
|
2765
|
-
: top ? "variable" : "property",
|
|
2766
|
-
boost: -depth
|
|
2767
|
-
});
|
|
2768
|
-
}
|
|
2769
|
-
let next = Object.getPrototypeOf(obj);
|
|
2770
|
-
if (!next)
|
|
2771
|
-
return options;
|
|
2772
|
-
obj = next;
|
|
2773
|
-
}
|
|
2774
|
-
}
|
|
2775
|
-
/**
|
|
2776
|
-
Defines a [completion source](https://codemirror.net/6/docs/ref/#autocomplete.CompletionSource) that
|
|
2777
|
-
completes from the given scope object (for example `globalThis`).
|
|
2778
|
-
Will enter properties of the object when completing properties on
|
|
2779
|
-
a directly-named path.
|
|
2780
|
-
*/
|
|
2781
|
-
function scopeCompletionSource(scope) {
|
|
2782
|
-
let cache = new Map;
|
|
2783
|
-
return (context) => {
|
|
2784
|
-
let path = completionPath(context);
|
|
2785
|
-
if (!path)
|
|
2786
|
-
return null;
|
|
2787
|
-
let target = scope;
|
|
2788
|
-
for (let step of path.path) {
|
|
2789
|
-
target = target[step];
|
|
2790
|
-
if (!target)
|
|
2791
|
-
return null;
|
|
2792
|
-
}
|
|
2793
|
-
let options = cache.get(target);
|
|
2794
|
-
if (!options)
|
|
2795
|
-
cache.set(target, options = enumeratePropertyCompletions(target, !path.path.length));
|
|
2796
|
-
return {
|
|
2797
|
-
from: context.pos - path.name.length,
|
|
2798
|
-
options,
|
|
2799
|
-
validFor: Identifier
|
|
2800
|
-
};
|
|
2801
|
-
};
|
|
2802
|
-
}
|
|
2803
|
-
|
|
2804
|
-
/**
|
|
2805
|
-
A language provider based on the [Lezer JavaScript
|
|
2806
|
-
parser](https://github.com/lezer-parser/javascript), extended with
|
|
2807
|
-
highlighting and indentation information.
|
|
2808
|
-
*/
|
|
2809
|
-
const javascriptLanguage = /*@__PURE__*/index.LRLanguage.define({
|
|
2810
|
-
name: "javascript",
|
|
2811
|
-
parser: /*@__PURE__*/parser.configure({
|
|
2812
|
-
props: [
|
|
2813
|
-
/*@__PURE__*/index.indentNodeProp.add({
|
|
2814
|
-
IfStatement: /*@__PURE__*/index.continuedIndent({ except: /^\s*({|else\b)/ }),
|
|
2815
|
-
TryStatement: /*@__PURE__*/index.continuedIndent({ except: /^\s*({|catch\b|finally\b)/ }),
|
|
2816
|
-
LabeledStatement: index.flatIndent,
|
|
2817
|
-
SwitchBody: context => {
|
|
2818
|
-
let after = context.textAfter, closed = /^\s*\}/.test(after), isCase = /^\s*(case|default)\b/.test(after);
|
|
2819
|
-
return context.baseIndent + (closed ? 0 : isCase ? 1 : 2) * context.unit;
|
|
2820
|
-
},
|
|
2821
|
-
Block: /*@__PURE__*/index.delimitedIndent({ closing: "}" }),
|
|
2822
|
-
ArrowFunction: cx => cx.baseIndent + cx.unit,
|
|
2823
|
-
"TemplateString BlockComment": () => null,
|
|
2824
|
-
"Statement Property": /*@__PURE__*/index.continuedIndent({ except: /^\s*{/ }),
|
|
2825
|
-
JSXElement(context) {
|
|
2826
|
-
let closed = /^\s*<\//.test(context.textAfter);
|
|
2827
|
-
return context.lineIndent(context.node.from) + (closed ? 0 : context.unit);
|
|
2828
|
-
},
|
|
2829
|
-
JSXEscape(context) {
|
|
2830
|
-
let closed = /\s*\}/.test(context.textAfter);
|
|
2831
|
-
return context.lineIndent(context.node.from) + (closed ? 0 : context.unit);
|
|
2832
|
-
},
|
|
2833
|
-
"JSXOpenTag JSXSelfClosingTag"(context) {
|
|
2834
|
-
return context.column(context.node.from) + context.unit;
|
|
2835
|
-
}
|
|
2836
|
-
}),
|
|
2837
|
-
/*@__PURE__*/index.foldNodeProp.add({
|
|
2838
|
-
"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType": index.foldInside,
|
|
2839
|
-
BlockComment(tree) { return { from: tree.from + 2, to: tree.to - 2 }; },
|
|
2840
|
-
JSXElement(tree) {
|
|
2841
|
-
let open = tree.firstChild;
|
|
2842
|
-
if (!open || open.name == "JSXSelfClosingTag")
|
|
2843
|
-
return null;
|
|
2844
|
-
let close = tree.lastChild;
|
|
2845
|
-
return { from: open.to, to: close.type.isError ? tree.to : close.from };
|
|
2846
|
-
},
|
|
2847
|
-
"JSXSelfClosingTag JSXOpenTag"(tree) {
|
|
2848
|
-
var _a;
|
|
2849
|
-
let name = (_a = tree.firstChild) === null || _a === void 0 ? void 0 : _a.nextSibling, close = tree.lastChild;
|
|
2850
|
-
if (!name || name.type.isError)
|
|
2851
|
-
return null;
|
|
2852
|
-
return { from: name.to, to: close.type.isError ? tree.to : close.from };
|
|
2853
|
-
}
|
|
2854
|
-
})
|
|
2855
|
-
]
|
|
2856
|
-
}),
|
|
2857
|
-
languageData: {
|
|
2858
|
-
closeBrackets: { brackets: ["(", "[", "{", "'", '"', "`"] },
|
|
2859
|
-
commentTokens: { line: "//", block: { open: "/*", close: "*/" } },
|
|
2860
|
-
indentOnInput: /^\s*(?:case |default:|\{|\}|<\/)$/,
|
|
2861
|
-
wordChars: "$"
|
|
2862
|
-
}
|
|
2863
|
-
});
|
|
2864
|
-
const jsxSublanguage = {
|
|
2865
|
-
test: node => /^JSX/.test(node.name),
|
|
2866
|
-
facet: /*@__PURE__*/index.defineLanguageFacet({ commentTokens: { block: { open: "{/*", close: "*/}" } } })
|
|
2867
|
-
};
|
|
2868
|
-
/**
|
|
2869
|
-
A language provider for TypeScript.
|
|
2870
|
-
*/
|
|
2871
|
-
const typescriptLanguage = /*@__PURE__*/javascriptLanguage.configure({ dialect: "ts" }, "typescript");
|
|
2872
|
-
/**
|
|
2873
|
-
Language provider for JSX.
|
|
2874
|
-
*/
|
|
2875
|
-
const jsxLanguage = /*@__PURE__*/javascriptLanguage.configure({
|
|
2876
|
-
dialect: "jsx",
|
|
2877
|
-
props: [/*@__PURE__*/index.sublanguageProp.add(n => n.isTop ? [jsxSublanguage] : undefined)]
|
|
2878
|
-
});
|
|
2879
|
-
/**
|
|
2880
|
-
Language provider for JSX + TypeScript.
|
|
2881
|
-
*/
|
|
2882
|
-
const tsxLanguage = /*@__PURE__*/javascriptLanguage.configure({
|
|
2883
|
-
dialect: "jsx ts",
|
|
2884
|
-
props: [/*@__PURE__*/index.sublanguageProp.add(n => n.isTop ? [jsxSublanguage] : undefined)]
|
|
2885
|
-
}, "typescript");
|
|
2886
|
-
let kwCompletion = (name) => ({ label: name, type: "keyword" });
|
|
2887
|
-
const keywords = /*@__PURE__*/"break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(kwCompletion);
|
|
2888
|
-
const typescriptKeywords = /*@__PURE__*/keywords.concat(/*@__PURE__*/["declare", "implements", "private", "protected", "public"].map(kwCompletion));
|
|
2889
|
-
/**
|
|
2890
|
-
JavaScript support. Includes [snippet](https://codemirror.net/6/docs/ref/#lang-javascript.snippets)
|
|
2891
|
-
and local variable completion.
|
|
2892
|
-
*/
|
|
2893
|
-
function javascript(config = {}) {
|
|
2894
|
-
let lang = config.jsx ? (config.typescript ? tsxLanguage : jsxLanguage)
|
|
2895
|
-
: config.typescript ? typescriptLanguage : javascriptLanguage;
|
|
2896
|
-
let completions = config.typescript ? typescriptSnippets.concat(typescriptKeywords) : snippets.concat(keywords);
|
|
2897
|
-
return new index.LanguageSupport(lang, [
|
|
2898
|
-
javascriptLanguage.data.of({
|
|
2899
|
-
autocomplete: ifNotIn(dontComplete, completeFromList(completions))
|
|
2900
|
-
}),
|
|
2901
|
-
javascriptLanguage.data.of({
|
|
2902
|
-
autocomplete: localCompletionSource
|
|
2903
|
-
}),
|
|
2904
|
-
config.jsx ? autoCloseTags : [],
|
|
2905
|
-
]);
|
|
2906
|
-
}
|
|
2907
|
-
function findOpenTag(node) {
|
|
2908
|
-
for (;;) {
|
|
2909
|
-
if (node.name == "JSXOpenTag" || node.name == "JSXSelfClosingTag" || node.name == "JSXFragmentTag")
|
|
2910
|
-
return node;
|
|
2911
|
-
if (node.name == "JSXEscape" || !node.parent)
|
|
2912
|
-
return null;
|
|
2913
|
-
node = node.parent;
|
|
2914
|
-
}
|
|
2915
|
-
}
|
|
2916
|
-
function elementName(doc, tree, max = doc.length) {
|
|
2917
|
-
for (let ch = tree === null || tree === void 0 ? void 0 : tree.firstChild; ch; ch = ch.nextSibling) {
|
|
2918
|
-
if (ch.name == "JSXIdentifier" || ch.name == "JSXBuiltin" || ch.name == "JSXNamespacedName" ||
|
|
2919
|
-
ch.name == "JSXMemberExpression")
|
|
2920
|
-
return doc.sliceString(ch.from, Math.min(ch.to, max));
|
|
2921
|
-
}
|
|
2922
|
-
return "";
|
|
2923
|
-
}
|
|
2924
|
-
const android = typeof navigator == "object" && /*@__PURE__*//Android\b/.test(navigator.userAgent);
|
|
2925
|
-
/**
|
|
2926
|
-
Extension that will automatically insert JSX close tags when a `>` or
|
|
2927
|
-
`/` is typed.
|
|
2928
|
-
*/
|
|
2929
|
-
const autoCloseTags = /*@__PURE__*/index$2.EditorView.inputHandler.of((view, from, to, text, defaultInsert) => {
|
|
2930
|
-
if ((android ? view.composing : view.compositionStarted) || view.state.readOnly ||
|
|
2931
|
-
from != to || (text != ">" && text != "/") ||
|
|
2932
|
-
!javascriptLanguage.isActiveAt(view.state, from, -1))
|
|
2933
|
-
return false;
|
|
2934
|
-
let base = defaultInsert(), { state } = base;
|
|
2935
|
-
let closeTags = state.changeByRange(range => {
|
|
2936
|
-
var _a;
|
|
2937
|
-
let { head } = range, around = index.syntaxTree(state).resolveInner(head - 1, -1), name;
|
|
2938
|
-
if (around.name == "JSXStartTag")
|
|
2939
|
-
around = around.parent;
|
|
2940
|
-
if (state.doc.sliceString(head - 1, head) != text || around.name == "JSXAttributeValue" && around.to > head) ;
|
|
2941
|
-
else if (text == ">" && around.name == "JSXFragmentTag") {
|
|
2942
|
-
return { range, changes: { from: head, insert: `</>` } };
|
|
2943
|
-
}
|
|
2944
|
-
else if (text == "/" && around.name == "JSXStartCloseTag") {
|
|
2945
|
-
let empty = around.parent, base = empty.parent;
|
|
2946
|
-
if (base && empty.from == head - 2 &&
|
|
2947
|
-
((name = elementName(state.doc, base.firstChild, head)) || ((_a = base.firstChild) === null || _a === void 0 ? void 0 : _a.name) == "JSXFragmentTag")) {
|
|
2948
|
-
let insert = `${name}>`;
|
|
2949
|
-
return { range: index$1.EditorSelection.cursor(head + insert.length, -1), changes: { from: head, insert } };
|
|
2950
|
-
}
|
|
2951
|
-
}
|
|
2952
|
-
else if (text == ">") {
|
|
2953
|
-
let openTag = findOpenTag(around);
|
|
2954
|
-
if (openTag && openTag.name == "JSXOpenTag" &&
|
|
2955
|
-
!/^\/?>|^<\//.test(state.doc.sliceString(head, head + 2)) &&
|
|
2956
|
-
(name = elementName(state.doc, openTag, head)))
|
|
2957
|
-
return { range, changes: { from: head, insert: `</${name}>` } };
|
|
2958
|
-
}
|
|
2959
|
-
return { range };
|
|
2960
|
-
});
|
|
2961
|
-
if (closeTags.changes.empty)
|
|
2962
|
-
return false;
|
|
2963
|
-
view.dispatch([
|
|
2964
|
-
base,
|
|
2965
|
-
state.update(closeTags, { userEvent: "input.complete", scrollIntoView: true })
|
|
2966
|
-
]);
|
|
2967
|
-
return true;
|
|
2968
|
-
});
|
|
2969
|
-
|
|
2970
|
-
/**
|
|
2971
|
-
Connects an [ESLint](https://eslint.org/) linter to CodeMirror's
|
|
2972
|
-
[lint](https://codemirror.net/6/docs/ref/#lint) integration. `eslint` should be an instance of the
|
|
2973
|
-
[`Linter`](https://eslint.org/docs/developer-guide/nodejs-api#linter)
|
|
2974
|
-
class, and `config` an optional ESLint configuration. The return
|
|
2975
|
-
value of this function can be passed to [`linter`](https://codemirror.net/6/docs/ref/#lint.linter)
|
|
2976
|
-
to create a JavaScript linting extension.
|
|
2977
|
-
|
|
2978
|
-
Note that ESLint targets node, and is tricky to run in the
|
|
2979
|
-
browser. The
|
|
2980
|
-
[eslint-linter-browserify](https://github.com/UziTech/eslint-linter-browserify)
|
|
2981
|
-
package may help with that (see
|
|
2982
|
-
[example](https://github.com/UziTech/eslint-linter-browserify/blob/master/example/script.js)).
|
|
2983
|
-
*/
|
|
2984
|
-
function esLint(eslint, config) {
|
|
2985
|
-
if (!config) {
|
|
2986
|
-
config = {
|
|
2987
|
-
parserOptions: { ecmaVersion: 2019, sourceType: "module" },
|
|
2988
|
-
env: { browser: true, node: true, es6: true, es2015: true, es2017: true, es2020: true },
|
|
2989
|
-
rules: {}
|
|
2990
|
-
};
|
|
2991
|
-
eslint.getRules().forEach((desc, name) => {
|
|
2992
|
-
var _a;
|
|
2993
|
-
if ((_a = desc.meta.docs) === null || _a === void 0 ? void 0 : _a.recommended)
|
|
2994
|
-
config.rules[name] = 2;
|
|
2995
|
-
});
|
|
2996
|
-
}
|
|
2997
|
-
return (view) => {
|
|
2998
|
-
let { state } = view, found = [];
|
|
2999
|
-
for (let { from, to } of javascriptLanguage.findRegions(state)) {
|
|
3000
|
-
let fromLine = state.doc.lineAt(from), offset = { line: fromLine.number - 1, col: from - fromLine.from, pos: from };
|
|
3001
|
-
for (let d of eslint.verify(state.sliceDoc(from, to), config))
|
|
3002
|
-
found.push(translateDiagnostic(d, state.doc, offset));
|
|
3003
|
-
}
|
|
3004
|
-
return found;
|
|
3005
|
-
};
|
|
3006
|
-
}
|
|
3007
|
-
function mapPos(line, col, doc, offset) {
|
|
3008
|
-
return doc.line(line + offset.line).from + col + (line == 1 ? offset.col - 1 : -1);
|
|
3009
|
-
}
|
|
3010
|
-
function translateDiagnostic(input, doc, offset) {
|
|
3011
|
-
let start = mapPos(input.line, input.column, doc, offset);
|
|
3012
|
-
let result = {
|
|
3013
|
-
from: start,
|
|
3014
|
-
to: input.endLine != null && input.endColumn != 1 ? mapPos(input.endLine, input.endColumn, doc, offset) : start,
|
|
3015
|
-
message: input.message,
|
|
3016
|
-
source: input.ruleId ? "eslint:" + input.ruleId : "eslint",
|
|
3017
|
-
severity: input.severity == 1 ? "warning" : "error",
|
|
3018
|
-
};
|
|
3019
|
-
if (input.fix) {
|
|
3020
|
-
let { range, text } = input.fix, from = range[0] + offset.pos - start, to = range[1] + offset.pos - start;
|
|
3021
|
-
result.actions = [{
|
|
3022
|
-
name: "fix",
|
|
3023
|
-
apply(view, start) {
|
|
3024
|
-
view.dispatch({ changes: { from: start + from, to: start + to, insert: text }, scrollIntoView: true });
|
|
3025
|
-
}
|
|
3026
|
-
}];
|
|
3027
|
-
}
|
|
3028
|
-
return result;
|
|
3029
|
-
}
|
|
3030
|
-
|
|
3031
|
-
exports.autoCloseTags = autoCloseTags;
|
|
3032
|
-
exports.completionPath = completionPath;
|
|
3033
|
-
exports.esLint = esLint;
|
|
3034
|
-
exports.javascript = javascript;
|
|
3035
|
-
exports.javascriptLanguage = javascriptLanguage;
|
|
3036
|
-
exports.jsxLanguage = jsxLanguage;
|
|
3037
|
-
exports.localCompletionSource = localCompletionSource;
|
|
3038
|
-
exports.scopeCompletionSource = scopeCompletionSource;
|
|
3039
|
-
exports.snippets = snippets;
|
|
3040
|
-
exports.tsxLanguage = tsxLanguage;
|
|
3041
|
-
exports.typescriptLanguage = typescriptLanguage;
|
|
3042
|
-
exports.typescriptSnippets = typescriptSnippets;
|