@flock/wirespec 0.10.10 → 0.10.11
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/arrow-arrow-annotations.js +3 -3
- package/arrow-arrow-atomic.js +17 -17
- package/arrow-arrow-continuations.js +5 -5
- package/arrow-arrow-core.js +82 -81
- package/arrow-arrow-core.js.map +1 -1
- package/clikt-clikt.js +351 -262
- package/clikt-clikt.js.map +1 -1
- package/colormath-root-colormath.js +156 -180
- package/colormath-root-colormath.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +1490 -1461
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-kotlin-test.js +3 -3
- package/kotlin-openapi-bindings.js +4696 -4696
- package/kotlin-rgxgen.js +163 -118
- package/kotlin-rgxgen.js.map +1 -1
- package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +3 -3
- package/kotlinx-serialization-kotlinx-serialization-core.js +1729 -1729
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1465 -1461
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/markdown.js +191 -181
- package/markdown.js.map +1 -1
- package/mordant-mordant.js +311 -251
- package/mordant-mordant.js.map +1 -1
- package/package.json +2 -2
- package/resources-library.js +3 -3
- package/wirespec-src-compiler-core.js +1599 -1467
- package/wirespec-src-compiler-core.js.map +1 -1
- package/wirespec-src-compiler-lib.js +406 -406
- package/wirespec-src-compiler-lib.js.map +1 -1
- package/wirespec-src-converter-openapi.js +809 -805
- package/wirespec-src-converter-openapi.js.map +1 -1
- package/wirespec-src-plugin-arguments.js +98 -98
- package/wirespec-src-plugin-cli.js +136 -130
- package/wirespec-src-plugin-cli.js.map +1 -1
- package/wirespec-src-plugin-npm.js +44 -45
- package/wirespec-src-plugin-npm.js.map +1 -1
- package/wirespec-src-tools-generator.js +54 -50
- package/wirespec-src-tools-generator.js.map +1 -1
package/markdown.js
CHANGED
|
@@ -1,116 +1,116 @@
|
|
|
1
|
-
(function (
|
|
1
|
+
(function (factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
3
|
define(['exports', './kotlin-kotlin-stdlib.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
5
|
factory(module.exports, require('./kotlin-kotlin-stdlib.js'));
|
|
6
6
|
else {
|
|
7
|
-
if (typeof
|
|
7
|
+
if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'markdown'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'markdown'.");
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
globalThis.markdown = factory(typeof markdown === 'undefined' ? {} : markdown, globalThis['kotlin-kotlin-stdlib']);
|
|
11
11
|
}
|
|
12
|
-
}(
|
|
12
|
+
}(function (_, kotlin_kotlin) {
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
15
|
var imul = Math.imul;
|
|
16
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
17
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
16
|
+
var protoOf = kotlin_kotlin.$_$.xa;
|
|
17
|
+
var initMetadataForClass = kotlin_kotlin.$_$.x9;
|
|
18
18
|
var VOID = kotlin_kotlin.$_$.g;
|
|
19
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
20
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
19
|
+
var initMetadataForObject = kotlin_kotlin.$_$.ca;
|
|
20
|
+
var IllegalStateException = kotlin_kotlin.$_$.bf;
|
|
21
21
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.k1;
|
|
22
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
23
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
24
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
25
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
22
|
+
var captureStack = kotlin_kotlin.$_$.i9;
|
|
23
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.y9;
|
|
24
|
+
var objectCreate = kotlin_kotlin.$_$.wa;
|
|
25
|
+
var charSequenceGet = kotlin_kotlin.$_$.l9;
|
|
26
26
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
27
27
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.v1;
|
|
28
28
|
var Unit_instance = kotlin_kotlin.$_$.g4;
|
|
29
|
-
var equals = kotlin_kotlin.$_$.
|
|
29
|
+
var equals = kotlin_kotlin.$_$.q9;
|
|
30
30
|
var listOf = kotlin_kotlin.$_$.g7;
|
|
31
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
31
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.n9;
|
|
32
32
|
var firstOrNull = kotlin_kotlin.$_$.g6;
|
|
33
33
|
var lastOrNull = kotlin_kotlin.$_$.z6;
|
|
34
34
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
|
|
35
35
|
var LazyThreadSafetyMode_NONE_getInstance = kotlin_kotlin.$_$.i;
|
|
36
|
-
var lazy = kotlin_kotlin.$_$.
|
|
36
|
+
var lazy = kotlin_kotlin.$_$.cg;
|
|
37
37
|
var listOf_0 = kotlin_kotlin.$_$.h7;
|
|
38
38
|
var lastOrNull_0 = kotlin_kotlin.$_$.a7;
|
|
39
|
-
var Char = kotlin_kotlin.$_$.
|
|
40
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
39
|
+
var Char = kotlin_kotlin.$_$.se;
|
|
40
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.ra;
|
|
41
41
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.y1;
|
|
42
|
-
var numberToChar = kotlin_kotlin.$_$.
|
|
43
|
-
var charArray = kotlin_kotlin.$_$.
|
|
44
|
-
var booleanArray = kotlin_kotlin.$_$.
|
|
42
|
+
var numberToChar = kotlin_kotlin.$_$.sa;
|
|
43
|
+
var charArray = kotlin_kotlin.$_$.k9;
|
|
44
|
+
var booleanArray = kotlin_kotlin.$_$.h9;
|
|
45
45
|
var plus = kotlin_kotlin.$_$.r7;
|
|
46
|
-
var indexOf = kotlin_kotlin.$_$.
|
|
47
|
-
var Exception = kotlin_kotlin.$_$.
|
|
46
|
+
var indexOf = kotlin_kotlin.$_$.sc;
|
|
47
|
+
var Exception = kotlin_kotlin.$_$.ze;
|
|
48
48
|
var Error_init_$Create$ = kotlin_kotlin.$_$.e1;
|
|
49
|
-
var toString = kotlin_kotlin.$_$.
|
|
50
|
-
var indexOf_0 = kotlin_kotlin.$_$.
|
|
51
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
52
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
53
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
49
|
+
var toString = kotlin_kotlin.$_$.bb;
|
|
50
|
+
var indexOf_0 = kotlin_kotlin.$_$.rc;
|
|
51
|
+
var charSequenceLength = kotlin_kotlin.$_$.m9;
|
|
52
|
+
var ensureNotNull = kotlin_kotlin.$_$.yf;
|
|
53
|
+
var isBlank = kotlin_kotlin.$_$.tc;
|
|
54
54
|
var get_lastIndex = kotlin_kotlin.$_$.w6;
|
|
55
|
-
var contains = kotlin_kotlin.$_$.
|
|
56
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
55
|
+
var contains = kotlin_kotlin.$_$.jc;
|
|
56
|
+
var coerceAtLeast = kotlin_kotlin.$_$.ib;
|
|
57
57
|
var first = kotlin_kotlin.$_$.h6;
|
|
58
58
|
var last = kotlin_kotlin.$_$.c7;
|
|
59
59
|
var emptyList = kotlin_kotlin.$_$.b6;
|
|
60
60
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.i5;
|
|
61
61
|
var checkIndexOverflow = kotlin_kotlin.$_$.h5;
|
|
62
62
|
var Collection = kotlin_kotlin.$_$.k4;
|
|
63
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
63
|
+
var isInterface = kotlin_kotlin.$_$.la;
|
|
64
64
|
var checkCountOverflow = kotlin_kotlin.$_$.g5;
|
|
65
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
66
|
-
var to = kotlin_kotlin.$_$.
|
|
65
|
+
var THROW_CCE = kotlin_kotlin.$_$.if;
|
|
66
|
+
var to = kotlin_kotlin.$_$.hg;
|
|
67
67
|
var hashMapOf = kotlin_kotlin.$_$.n6;
|
|
68
|
-
var toInt = kotlin_kotlin.$_$.
|
|
69
|
-
var toInt_0 = kotlin_kotlin.$_$.
|
|
68
|
+
var toInt = kotlin_kotlin.$_$.de;
|
|
69
|
+
var toInt_0 = kotlin_kotlin.$_$.ce;
|
|
70
70
|
var toString_0 = kotlin_kotlin.$_$.z1;
|
|
71
71
|
var mapOf = kotlin_kotlin.$_$.j7;
|
|
72
72
|
var Regex_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
73
|
-
var charArrayOf = kotlin_kotlin.$_$.
|
|
74
|
-
var concatToString = kotlin_kotlin.$_$.
|
|
73
|
+
var charArrayOf = kotlin_kotlin.$_$.j9;
|
|
74
|
+
var concatToString = kotlin_kotlin.$_$.gc;
|
|
75
75
|
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.m1;
|
|
76
|
-
var isLowSurrogate = kotlin_kotlin.$_$.
|
|
77
|
-
var isHighSurrogate = kotlin_kotlin.$_$.
|
|
76
|
+
var isLowSurrogate = kotlin_kotlin.$_$.xc;
|
|
77
|
+
var isHighSurrogate = kotlin_kotlin.$_$.vc;
|
|
78
78
|
var KtMutableList = kotlin_kotlin.$_$.u4;
|
|
79
79
|
var removeLast = kotlin_kotlin.$_$.t7;
|
|
80
80
|
var setOf = kotlin_kotlin.$_$.v7;
|
|
81
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
82
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
81
|
+
var toString_1 = kotlin_kotlin.$_$.gg;
|
|
82
|
+
var hashCode = kotlin_kotlin.$_$.w9;
|
|
83
83
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.p1;
|
|
84
84
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.o;
|
|
85
85
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.c1;
|
|
86
86
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
87
|
-
var split = kotlin_kotlin.$_$.
|
|
87
|
+
var split = kotlin_kotlin.$_$.nd;
|
|
88
88
|
var sort = kotlin_kotlin.$_$.c8;
|
|
89
|
-
var Comparable = kotlin_kotlin.$_$.
|
|
90
|
-
var Pair = kotlin_kotlin.$_$.
|
|
89
|
+
var Comparable = kotlin_kotlin.$_$.ue;
|
|
90
|
+
var Pair = kotlin_kotlin.$_$.ff;
|
|
91
91
|
var AssertionError_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
92
92
|
var copyOf = kotlin_kotlin.$_$.w5;
|
|
93
93
|
var copyOf_0 = kotlin_kotlin.$_$.r5;
|
|
94
94
|
var copyOf_1 = kotlin_kotlin.$_$.q5;
|
|
95
95
|
var Char__hashCode_impl_otmys = kotlin_kotlin.$_$.w1;
|
|
96
96
|
var lastOrNull_1 = kotlin_kotlin.$_$.b7;
|
|
97
|
-
var until = kotlin_kotlin.$_$.
|
|
97
|
+
var until = kotlin_kotlin.$_$.pb;
|
|
98
98
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.h1;
|
|
99
99
|
var UnsupportedOperationException_init_$Create$ = kotlin_kotlin.$_$.t1;
|
|
100
|
-
var Enum = kotlin_kotlin.$_$.
|
|
101
|
-
var isWhitespace = kotlin_kotlin.$_$.
|
|
102
|
-
var IntRange = kotlin_kotlin.$_$.
|
|
103
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
100
|
+
var Enum = kotlin_kotlin.$_$.ye;
|
|
101
|
+
var isWhitespace = kotlin_kotlin.$_$.ad;
|
|
102
|
+
var IntRange = kotlin_kotlin.$_$.gb;
|
|
103
|
+
var getStringHashCode = kotlin_kotlin.$_$.v9;
|
|
104
104
|
var RegexOption_IGNORE_CASE_getInstance = kotlin_kotlin.$_$.h;
|
|
105
105
|
var Regex_init_$Create$_0 = kotlin_kotlin.$_$.a1;
|
|
106
|
-
var replace = kotlin_kotlin.$_$.
|
|
106
|
+
var replace = kotlin_kotlin.$_$.jd;
|
|
107
107
|
var joinToString = kotlin_kotlin.$_$.s6;
|
|
108
108
|
var lastOrNull_2 = kotlin_kotlin.$_$.y6;
|
|
109
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
110
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
109
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.s9;
|
|
110
|
+
var fillArrayVal = kotlin_kotlin.$_$.r9;
|
|
111
111
|
var getOrNull = kotlin_kotlin.$_$.l6;
|
|
112
112
|
var plus_0 = kotlin_kotlin.$_$.s7;
|
|
113
|
-
var matches = kotlin_kotlin.$_$.
|
|
113
|
+
var matches = kotlin_kotlin.$_$.dd;
|
|
114
114
|
//endregion
|
|
115
115
|
//region block: pre-declaration
|
|
116
116
|
initMetadataForClass(IElementType, 'IElementType');
|
|
@@ -432,7 +432,7 @@
|
|
|
432
432
|
this.v2l_1 = endOffset;
|
|
433
433
|
this.w2l_1 = null;
|
|
434
434
|
}
|
|
435
|
-
protoOf(ASTNodeImpl).
|
|
435
|
+
protoOf(ASTNodeImpl).a2d = function () {
|
|
436
436
|
return this.t2l_1;
|
|
437
437
|
};
|
|
438
438
|
protoOf(ASTNodeImpl).x2l = function () {
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
while (tmp0_iterator.h()) {
|
|
450
450
|
var element = tmp0_iterator.i();
|
|
451
451
|
// Inline function 'org.intellij.markdown.ast.findChildOfType.<anonymous>' call
|
|
452
|
-
if (equals(element.
|
|
452
|
+
if (equals(element.a2d(), type)) {
|
|
453
453
|
tmp$ret$1 = element;
|
|
454
454
|
break $l$block;
|
|
455
455
|
}
|
|
@@ -503,7 +503,7 @@
|
|
|
503
503
|
var tmp0_iterator = node.z2l().g();
|
|
504
504
|
while (tmp0_iterator.h()) {
|
|
505
505
|
var child = tmp0_iterator.i();
|
|
506
|
-
var tmp1_subject = child.
|
|
506
|
+
var tmp1_subject = child.a2d();
|
|
507
507
|
if (equals(tmp1_subject, Companion_getInstance().o2k_1)) {
|
|
508
508
|
newlines = newlines + 1 | 0;
|
|
509
509
|
} else if (!((equals(tmp1_subject, Companion_getInstance().y2k_1) ? true : equals(tmp1_subject, Companion_getInstance().b2l_1)) ? true : equals(tmp1_subject, Companion_getInstance().l2l_1))) {
|
|
@@ -523,7 +523,7 @@
|
|
|
523
523
|
var tmp0_iterator = $this.e2m_1.g();
|
|
524
524
|
while (tmp0_iterator.h()) {
|
|
525
525
|
var child = tmp0_iterator.i();
|
|
526
|
-
if (equals(child.
|
|
526
|
+
if (equals(child.a2d(), MarkdownElementTypes_getInstance().y2i_1) && hasLooseContent(Companion_instance_2, child)) {
|
|
527
527
|
return true;
|
|
528
528
|
}
|
|
529
529
|
}
|
|
@@ -833,7 +833,7 @@
|
|
|
833
833
|
DelimiterParser.call(this);
|
|
834
834
|
}
|
|
835
835
|
protoOf(StrikeThroughDelimiterParser).s2q = function (tokens, iterator, delimiters) {
|
|
836
|
-
if (!equals(iterator.
|
|
836
|
+
if (!equals(iterator.a2d(), GFMTokenTypes_getInstance().v2p_1)) {
|
|
837
837
|
return 0;
|
|
838
838
|
}
|
|
839
839
|
var stepsToAdvance = 1;
|
|
@@ -851,8 +851,8 @@
|
|
|
851
851
|
}
|
|
852
852
|
while (inductionVariable < 50);
|
|
853
853
|
var tmp1_container = this.x2q(tokens, iterator, rightIterator, true);
|
|
854
|
-
var canOpen = tmp1_container.
|
|
855
|
-
var canClose = tmp1_container.
|
|
854
|
+
var canOpen = tmp1_container.qd();
|
|
855
|
+
var canClose = tmp1_container.rd();
|
|
856
856
|
var inductionVariable_0 = 0;
|
|
857
857
|
var last = stepsToAdvance;
|
|
858
858
|
if (inductionVariable_0 < last)
|
|
@@ -1826,14 +1826,14 @@
|
|
|
1826
1826
|
}
|
|
1827
1827
|
function EntityConverter$replaceEntities$lambda($processEntities) {
|
|
1828
1828
|
return function (match) {
|
|
1829
|
-
var g = match.
|
|
1829
|
+
var g = match.ec();
|
|
1830
1830
|
var tmp;
|
|
1831
1831
|
if (g.j() > 5 && !(g.k(5) == null)) {
|
|
1832
|
-
var char = charSequenceGet(ensureNotNull(g.k(5)).
|
|
1832
|
+
var char = charSequenceGet(ensureNotNull(g.k(5)).dc_1, 0);
|
|
1833
1833
|
var tmp0_elvis_lhs = EntityConverter_getInstance().j2v_1.f2(new Char(char));
|
|
1834
1834
|
tmp = tmp0_elvis_lhs == null ? toString_0(char) : tmp0_elvis_lhs;
|
|
1835
1835
|
} else if (!(g.k(4) == null)) {
|
|
1836
|
-
var tmp1_elvis_lhs = EntityConverter_getInstance().j2v_1.f2(new Char(charSequenceGet(ensureNotNull(g.k(4)).
|
|
1836
|
+
var tmp1_elvis_lhs = EntityConverter_getInstance().j2v_1.f2(new Char(charSequenceGet(ensureNotNull(g.k(4)).dc_1, 0)));
|
|
1837
1837
|
tmp = tmp1_elvis_lhs == null ? match.b1() : tmp1_elvis_lhs;
|
|
1838
1838
|
} else {
|
|
1839
1839
|
var tmp_0;
|
|
@@ -1842,9 +1842,9 @@
|
|
|
1842
1842
|
} else if (!(g.k(1) == null)) {
|
|
1843
1843
|
tmp_0 = Entities_getInstance().h2v_1.f2(match.b1());
|
|
1844
1844
|
} else if (!(g.k(2) == null)) {
|
|
1845
|
-
tmp_0 = toInt_0(ensureNotNull(g.k(2)).
|
|
1845
|
+
tmp_0 = toInt_0(ensureNotNull(g.k(2)).dc_1);
|
|
1846
1846
|
} else if (!(g.k(3) == null)) {
|
|
1847
|
-
tmp_0 = toInt(ensureNotNull(g.k(3)).
|
|
1847
|
+
tmp_0 = toInt(ensureNotNull(g.k(3)).dc_1, 16);
|
|
1848
1848
|
} else {
|
|
1849
1849
|
tmp_0 = null;
|
|
1850
1850
|
}
|
|
@@ -1872,11 +1872,11 @@
|
|
|
1872
1872
|
this.i2v_1 = '!"#\\$%&\'\\(\\)\\*\\+,\\-.\\/:;<=>\\?@\\[\\\\\\]\\^_`{\\|}~';
|
|
1873
1873
|
this.j2v_1 = mapOf([to(new Char(_Char___init__impl__6a9atx(34)), '"'), to(new Char(_Char___init__impl__6a9atx(38)), '&'), to(new Char(_Char___init__impl__6a9atx(60)), '<'), to(new Char(_Char___init__impl__6a9atx(62)), '>')]);
|
|
1874
1874
|
this.k2v_1 = Regex_init_$Create$('&(?:([a-zA-Z0-9]+)|#([0-9]{1,8})|#[xX]([a-fA-F0-9]{1,8}));|(["&<>])');
|
|
1875
|
-
this.l2v_1 = Regex_init_$Create$(this.k2v_1.
|
|
1875
|
+
this.l2v_1 = Regex_init_$Create$(this.k2v_1.lb_1 + '|\\\\([!"#\\$%&\'\\(\\)\\*\\+,\\-.\\/:;<=>\\?@\\[\\\\\\]\\^_`{\\|}~])');
|
|
1876
1876
|
}
|
|
1877
1877
|
protoOf(EntityConverter).m2v = function (text, processEntities, processEscapes) {
|
|
1878
1878
|
var tmp = processEscapes ? this.l2v_1 : this.k2v_1;
|
|
1879
|
-
return tmp.
|
|
1879
|
+
return tmp.xb(text, EntityConverter$replaceEntities$lambda(processEntities));
|
|
1880
1880
|
};
|
|
1881
1881
|
var EntityConverter_instance;
|
|
1882
1882
|
function EntityConverter_getInstance() {
|
|
@@ -2696,11 +2696,11 @@
|
|
|
2696
2696
|
var iterator = new Iterator(tokensCache, currentTokenPosition);
|
|
2697
2697
|
// Inline function 'org.intellij.markdown.lexer.Compat.assert' call
|
|
2698
2698
|
Compat_getInstance();
|
|
2699
|
-
if (!!(iterator.
|
|
2699
|
+
if (!!(iterator.a2d() == null)) {
|
|
2700
2700
|
// Inline function 'org.intellij.markdown.lexer.Compat.assert.<anonymous>' call
|
|
2701
2701
|
throw new MarkdownParsingException('');
|
|
2702
2702
|
}
|
|
2703
|
-
var nodes = $this.w2x_1.q2l(ensureNotNull(iterator.
|
|
2703
|
+
var nodes = $this.w2x_1.q2l(ensureNotNull(iterator.a2d()), iterator.u(), iterator.y2x());
|
|
2704
2704
|
var tmp0_iterator = nodes.g();
|
|
2705
2705
|
while (tmp0_iterator.h()) {
|
|
2706
2706
|
var node = tmp0_iterator.i();
|
|
@@ -2789,7 +2789,7 @@
|
|
|
2789
2789
|
RecursiveVisitor.call(this);
|
|
2790
2790
|
}
|
|
2791
2791
|
protoOf(LinkMap$Builder$buildLinkMap$1).m2l = function (node) {
|
|
2792
|
-
if (equals(node.
|
|
2792
|
+
if (equals(node.a2d(), MarkdownElementTypes_getInstance().h2j_1)) {
|
|
2793
2793
|
var tmp = Builder_getInstance();
|
|
2794
2794
|
var tmp$ret$1;
|
|
2795
2795
|
$l$block: {
|
|
@@ -2798,7 +2798,7 @@
|
|
|
2798
2798
|
while (tmp0_iterator.h()) {
|
|
2799
2799
|
var element = tmp0_iterator.i();
|
|
2800
2800
|
// Inline function 'org.intellij.markdown.parser.<no name provided>.visitNode.<anonymous>' call
|
|
2801
|
-
if (equals(element.
|
|
2801
|
+
if (equals(element.a2d(), MarkdownElementTypes_getInstance().i2j_1)) {
|
|
2802
2802
|
tmp$ret$1 = element;
|
|
2803
2803
|
break $l$block;
|
|
2804
2804
|
}
|
|
@@ -2821,13 +2821,13 @@
|
|
|
2821
2821
|
var c = numberToChar(code);
|
|
2822
2822
|
var tmp;
|
|
2823
2823
|
if (code === 32) {
|
|
2824
|
-
$sb.
|
|
2824
|
+
$sb.w7('%20');
|
|
2825
2825
|
tmp = Unit_instance;
|
|
2826
2826
|
} else if (code < 32 || code >= 128 || contains('".<>\\^_`{|}', c)) {
|
|
2827
|
-
$sb.
|
|
2827
|
+
$sb.w7(urlEncode(Compat_getInstance().o2v(code)));
|
|
2828
2828
|
tmp = Unit_instance;
|
|
2829
2829
|
} else {
|
|
2830
|
-
$sb.
|
|
2830
|
+
$sb.x7(c);
|
|
2831
2831
|
tmp = Unit_instance;
|
|
2832
2832
|
}
|
|
2833
2833
|
return Unit_instance;
|
|
@@ -2844,7 +2844,7 @@
|
|
|
2844
2844
|
while (tmp0_iterator.h()) {
|
|
2845
2845
|
var element = tmp0_iterator.i();
|
|
2846
2846
|
// Inline function 'org.intellij.markdown.parser.Companion.create.<anonymous>' call
|
|
2847
|
-
if (equals(element.
|
|
2847
|
+
if (equals(element.a2d(), MarkdownElementTypes_getInstance().j2j_1)) {
|
|
2848
2848
|
tmp$ret$1 = element;
|
|
2849
2849
|
break $l$block;
|
|
2850
2850
|
}
|
|
@@ -2859,7 +2859,7 @@
|
|
|
2859
2859
|
while (tmp0_iterator_0.h()) {
|
|
2860
2860
|
var element_0 = tmp0_iterator_0.i();
|
|
2861
2861
|
// Inline function 'org.intellij.markdown.parser.Companion.create.<anonymous>' call
|
|
2862
|
-
if (equals(element_0.
|
|
2862
|
+
if (equals(element_0.a2d(), MarkdownElementTypes_getInstance().k2j_1)) {
|
|
2863
2863
|
tmp$ret$3 = element_0;
|
|
2864
2864
|
break $l$block_0;
|
|
2865
2865
|
}
|
|
@@ -2891,7 +2891,7 @@
|
|
|
2891
2891
|
protoOf(Builder).q2y = function (label) {
|
|
2892
2892
|
// Inline function 'kotlin.text.lowercase' call
|
|
2893
2893
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2894
|
-
return this.p2y_1.
|
|
2894
|
+
return this.p2y_1.wb(label, ' ').toLowerCase();
|
|
2895
2895
|
};
|
|
2896
2896
|
protoOf(Builder).u2y = function (root, text) {
|
|
2897
2897
|
var map = HashMap_init_$Create$();
|
|
@@ -3569,7 +3569,7 @@
|
|
|
3569
3569
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3570
3570
|
this.x2x_1.r2l();
|
|
3571
3571
|
var event = events.k(i);
|
|
3572
|
-
this.e2y(event, markersStack.l() ? null : markersStack.q2v().
|
|
3572
|
+
this.e2y(event, markersStack.l() ? null : markersStack.q2v().de_1);
|
|
3573
3573
|
if (event.k30()) {
|
|
3574
3574
|
markersStack.h2t(new Pair(event, ArrayList_init_$Create$()));
|
|
3575
3575
|
} else {
|
|
@@ -3580,12 +3580,12 @@
|
|
|
3580
3580
|
var eventAndChildren = markersStack.k2t();
|
|
3581
3581
|
// Inline function 'org.intellij.markdown.lexer.Compat.assert' call
|
|
3582
3582
|
Compat_getInstance();
|
|
3583
|
-
if (!eventAndChildren.
|
|
3583
|
+
if (!eventAndChildren.ce_1.h2y_1.equals(event.h2y_1)) {
|
|
3584
3584
|
// Inline function 'org.intellij.markdown.parser.TreeBuilder.buildTree.<anonymous>' call
|
|
3585
|
-
var tmp$ret$3 = 'Intersecting parsed nodes detected: ' + eventAndChildren.
|
|
3585
|
+
var tmp$ret$3 = 'Intersecting parsed nodes detected: ' + eventAndChildren.ce_1.h2y_1.toString() + ' vs ' + event.h2y_1.toString();
|
|
3586
3586
|
throw new MarkdownParsingException(tmp$ret$3);
|
|
3587
3587
|
}
|
|
3588
|
-
tmp = eventAndChildren.
|
|
3588
|
+
tmp = eventAndChildren.de_1;
|
|
3589
3589
|
}
|
|
3590
3590
|
var currentNodeChildren = tmp;
|
|
3591
3591
|
var isTopmostNode = markersStack.l();
|
|
@@ -3599,7 +3599,7 @@
|
|
|
3599
3599
|
}
|
|
3600
3600
|
return newNode.j2y_1;
|
|
3601
3601
|
} else {
|
|
3602
|
-
markersStack.q2v().
|
|
3602
|
+
markersStack.q2v().de_1.e(newNode);
|
|
3603
3603
|
}
|
|
3604
3604
|
}
|
|
3605
3605
|
}
|
|
@@ -3884,15 +3884,20 @@
|
|
|
3884
3884
|
tmp$ret$0 = true;
|
|
3885
3885
|
break $l$block_0;
|
|
3886
3886
|
}
|
|
3887
|
-
var
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3887
|
+
var inductionVariable = this_0.d1_1;
|
|
3888
|
+
var last = this_0.e1_1;
|
|
3889
|
+
if (inductionVariable <= last)
|
|
3890
|
+
do {
|
|
3891
|
+
var element = inductionVariable;
|
|
3892
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
3893
|
+
// Inline function 'org.intellij.markdown.parser.constraints.CommonMarkdownConstraints.startsWith.<anonymous>' call
|
|
3894
|
+
var it = element;
|
|
3895
|
+
if (!(this.m2o()[it] === other.m2o()[it])) {
|
|
3896
|
+
tmp$ret$0 = false;
|
|
3897
|
+
break $l$block_0;
|
|
3898
|
+
}
|
|
3894
3899
|
}
|
|
3895
|
-
|
|
3900
|
+
while (!(element === last));
|
|
3896
3901
|
tmp$ret$0 = true;
|
|
3897
3902
|
}
|
|
3898
3903
|
return tmp$ret$0;
|
|
@@ -3912,15 +3917,20 @@
|
|
|
3912
3917
|
tmp$ret$0 = false;
|
|
3913
3918
|
break $l$block_0;
|
|
3914
3919
|
}
|
|
3915
|
-
var
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3920
|
+
var inductionVariable = this_0.d1_1;
|
|
3921
|
+
var last = this_0.e1_1;
|
|
3922
|
+
if (inductionVariable <= last)
|
|
3923
|
+
do {
|
|
3924
|
+
var element = inductionVariable;
|
|
3925
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
3926
|
+
// Inline function 'org.intellij.markdown.parser.constraints.CommonMarkdownConstraints.containsListMarkers.<anonymous>' call
|
|
3927
|
+
var it = element;
|
|
3928
|
+
if (!(this.m2o()[it] === _Char___init__impl__6a9atx(62)) && this.l2p()[it]) {
|
|
3929
|
+
tmp$ret$0 = true;
|
|
3930
|
+
break $l$block_0;
|
|
3931
|
+
}
|
|
3922
3932
|
}
|
|
3923
|
-
|
|
3933
|
+
while (!(element === last));
|
|
3924
3934
|
tmp$ret$0 = false;
|
|
3925
3935
|
}
|
|
3926
3936
|
return tmp$ret$0;
|
|
@@ -4387,7 +4397,7 @@
|
|
|
4387
4397
|
if (!(tailStartPos === endOfLinePos)) {
|
|
4388
4398
|
this_0.e(new Node(numberRangeToNumber(tailStartPos, endOfLinePos), Companion_getInstance().q2k_1));
|
|
4389
4399
|
}
|
|
4390
|
-
var nodes = this_0.
|
|
4400
|
+
var nodes = this_0.p5();
|
|
4391
4401
|
productionHolder.p2o(nodes);
|
|
4392
4402
|
this.k31_1 = calcNodeType(this, (headerRange.e1_1 - headerRange.d1_1 | 0) + 1 | 0);
|
|
4393
4403
|
}
|
|
@@ -4516,7 +4526,7 @@
|
|
|
4516
4526
|
return MarkdownElementTypes_getInstance().b2j_1;
|
|
4517
4527
|
};
|
|
4518
4528
|
function endsThisFence($this, line) {
|
|
4519
|
-
return $this.b32_1.
|
|
4529
|
+
return $this.b32_1.rb(line);
|
|
4520
4530
|
}
|
|
4521
4531
|
function CodeFenceMarkerBlock(myConstraints, productionHolder, fenceStart) {
|
|
4522
4532
|
MarkerBlockImpl.call(this, myConstraints, productionHolder.j2u());
|
|
@@ -4630,7 +4640,7 @@
|
|
|
4630
4640
|
}
|
|
4631
4641
|
if (this.m32_1 == null && MarkdownParserUtil_instance.n30(pos, this.x2t_1) >= 2) {
|
|
4632
4642
|
return Companion_getInstance_11().n2u_1;
|
|
4633
|
-
} else if (!(this.m32_1 == null) && !(this.m32_1.
|
|
4643
|
+
} else if (!(this.m32_1 == null) && !(this.m32_1.tb(prevLine) == null)) {
|
|
4634
4644
|
return Companion_getInstance_11().n2u_1;
|
|
4635
4645
|
}
|
|
4636
4646
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
@@ -4969,7 +4979,7 @@
|
|
|
4969
4979
|
return false;
|
|
4970
4980
|
};
|
|
4971
4981
|
function createNodesForFenceStart($this, pos, openingInfo, productionHolder) {
|
|
4972
|
-
var info = openingInfo.
|
|
4982
|
+
var info = openingInfo.rd();
|
|
4973
4983
|
var infoStartPosition = pos.l2o() - info.length | 0;
|
|
4974
4984
|
productionHolder.p2o(listOf(new Node(numberRangeToNumber(pos.k2o(), infoStartPosition), Companion_getInstance().d2l_1)));
|
|
4975
4985
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
@@ -4982,7 +4992,7 @@
|
|
|
4982
4992
|
this.n33_1 = delimiter;
|
|
4983
4993
|
this.o33_1 = info;
|
|
4984
4994
|
}
|
|
4985
|
-
protoOf(OpeningInfo).
|
|
4995
|
+
protoOf(OpeningInfo).rd = function () {
|
|
4986
4996
|
return this.o33_1;
|
|
4987
4997
|
};
|
|
4988
4998
|
protoOf(OpeningInfo).toString = function () {
|
|
@@ -5040,7 +5050,7 @@
|
|
|
5040
5050
|
if (!Companion_instance_12.a2o(pos, constraints)) {
|
|
5041
5051
|
return null;
|
|
5042
5052
|
}
|
|
5043
|
-
var tmp0_elvis_lhs = Companion_getInstance_13().p33_1.
|
|
5053
|
+
var tmp0_elvis_lhs = Companion_getInstance_13().p33_1.tb(pos.e2v());
|
|
5044
5054
|
var tmp;
|
|
5045
5055
|
if (tmp0_elvis_lhs == null) {
|
|
5046
5056
|
return null;
|
|
@@ -5048,10 +5058,10 @@
|
|
|
5048
5058
|
tmp = tmp0_elvis_lhs;
|
|
5049
5059
|
}
|
|
5050
5060
|
var matchResult = tmp;
|
|
5051
|
-
var tmp1_safe_receiver = matchResult.
|
|
5052
|
-
var tmp_0 = ensureNotNull(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
5053
|
-
var tmp2_safe_receiver = matchResult.
|
|
5054
|
-
return new OpeningInfo(tmp_0, ensureNotNull(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
5061
|
+
var tmp1_safe_receiver = matchResult.ec().k(1);
|
|
5062
|
+
var tmp_0 = ensureNotNull(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.dc_1);
|
|
5063
|
+
var tmp2_safe_receiver = matchResult.ec().k(2);
|
|
5064
|
+
return new OpeningInfo(tmp_0, ensureNotNull(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.dc_1));
|
|
5055
5065
|
};
|
|
5056
5066
|
function Companion_14() {
|
|
5057
5067
|
}
|
|
@@ -5115,7 +5125,7 @@
|
|
|
5115
5125
|
return Companion_instance_14.m30(pos.f2o_1, pos.h2o());
|
|
5116
5126
|
};
|
|
5117
5127
|
function HtmlBlockProvider$Companion$FIND_START_REGEX$lambda(it) {
|
|
5118
|
-
return '(' + it.
|
|
5128
|
+
return '(' + it.ce_1.lb_1 + ')';
|
|
5119
5129
|
}
|
|
5120
5130
|
function matches_1($this, pos, constraints) {
|
|
5121
5131
|
if (!Companion_instance_12.a2o(pos, constraints)) {
|
|
@@ -5130,7 +5140,7 @@
|
|
|
5130
5140
|
// Inline function 'kotlin.text.substring' call
|
|
5131
5141
|
var endIndex = charSequenceLength(text);
|
|
5132
5142
|
var tmp$ret$0 = toString(charSequenceSubSequence(text, offset, endIndex));
|
|
5133
|
-
var tmp0_elvis_lhs = tmp.
|
|
5143
|
+
var tmp0_elvis_lhs = tmp.tb(tmp$ret$0);
|
|
5134
5144
|
var tmp_0;
|
|
5135
5145
|
if (tmp0_elvis_lhs == null) {
|
|
5136
5146
|
return -1;
|
|
@@ -5140,7 +5150,7 @@
|
|
|
5140
5150
|
var matchResult = tmp_0;
|
|
5141
5151
|
// Inline function 'org.intellij.markdown.lexer.Compat.assert' call
|
|
5142
5152
|
Compat_getInstance();
|
|
5143
|
-
if (!(matchResult.
|
|
5153
|
+
if (!(matchResult.ec().j() === (Companion_getInstance_15().z33_1.j() + 2 | 0))) {
|
|
5144
5154
|
// Inline function 'org.intellij.markdown.parser.markerblocks.providers.HtmlBlockProvider.matches.<anonymous>' call
|
|
5145
5155
|
var tmp$ret$1 = 'There are some excess capturing groups probably!';
|
|
5146
5156
|
throw new MarkdownParsingException(tmp$ret$1);
|
|
@@ -5151,7 +5161,7 @@
|
|
|
5151
5161
|
do {
|
|
5152
5162
|
var i = inductionVariable;
|
|
5153
5163
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5154
|
-
if (!(matchResult.
|
|
5164
|
+
if (!(matchResult.ec().k(i + 2 | 0) == null)) {
|
|
5155
5165
|
return i;
|
|
5156
5166
|
}
|
|
5157
5167
|
}
|
|
@@ -5190,7 +5200,7 @@
|
|
|
5190
5200
|
protoOf(HtmlBlockProvider).d2v = function (pos, productionHolder, stateInfo) {
|
|
5191
5201
|
var matchingGroup = matches_1(this, pos, stateInfo.w2n_1);
|
|
5192
5202
|
if (!(matchingGroup === -1)) {
|
|
5193
|
-
return listOf(new HtmlBlockMarkerBlock(stateInfo.w2n_1, productionHolder, Companion_getInstance_15().z33_1.k(matchingGroup).
|
|
5203
|
+
return listOf(new HtmlBlockMarkerBlock(stateInfo.w2n_1, productionHolder, Companion_getInstance_15().z33_1.k(matchingGroup).de_1, pos));
|
|
5194
5204
|
}
|
|
5195
5205
|
return emptyList();
|
|
5196
5206
|
};
|
|
@@ -5636,7 +5646,7 @@
|
|
|
5636
5646
|
// Inline function 'kotlin.let' call
|
|
5637
5647
|
// Inline function 'kotlin.contracts.contract' call
|
|
5638
5648
|
// Inline function 'org.intellij.markdown.parser.markerblocks.providers.SetextHeaderProvider.createMarkerBlocks.<anonymous>' call
|
|
5639
|
-
tmp_0 = Companion_getInstance_17().h34_1.
|
|
5649
|
+
tmp_0 = Companion_getInstance_17().h34_1.rb(tmp0_safe_receiver);
|
|
5640
5650
|
}
|
|
5641
5651
|
tmp = tmp_0 === true;
|
|
5642
5652
|
} else {
|
|
@@ -5735,7 +5745,7 @@
|
|
|
5735
5745
|
// Inline function 'kotlin.collections.arrayListOf' call
|
|
5736
5746
|
var delimiters = ArrayList_init_$Create$();
|
|
5737
5747
|
var position = iterator;
|
|
5738
|
-
outer: while (!(position.
|
|
5748
|
+
outer: while (!(position.a2d() == null)) {
|
|
5739
5749
|
var iteratorMoved = 0;
|
|
5740
5750
|
var indexedObject = $this.m34_1;
|
|
5741
5751
|
var inductionVariable = 0;
|
|
@@ -5750,7 +5760,7 @@
|
|
|
5750
5760
|
do {
|
|
5751
5761
|
var step = inductionVariable_0;
|
|
5752
5762
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
5753
|
-
if (position.
|
|
5763
|
+
if (position.a2d() == null) {
|
|
5754
5764
|
break outer;
|
|
5755
5765
|
}
|
|
5756
5766
|
position = position.w2q();
|
|
@@ -5853,10 +5863,10 @@
|
|
|
5853
5863
|
this.o34_1 = cachedTokens;
|
|
5854
5864
|
this.p34_1 = filteredTokens;
|
|
5855
5865
|
}
|
|
5856
|
-
protoOf(ResultOfCaching).
|
|
5866
|
+
protoOf(ResultOfCaching).qd = function () {
|
|
5857
5867
|
return this.o34_1;
|
|
5858
5868
|
};
|
|
5859
|
-
protoOf(ResultOfCaching).
|
|
5869
|
+
protoOf(ResultOfCaching).rd = function () {
|
|
5860
5870
|
return this.p34_1;
|
|
5861
5871
|
};
|
|
5862
5872
|
protoOf(ResultOfCaching).toString = function () {
|
|
@@ -5902,8 +5912,8 @@
|
|
|
5902
5912
|
function LexerBasedTokensCache(lexer) {
|
|
5903
5913
|
TokensCache.call(this);
|
|
5904
5914
|
var tmp0_container = cacheTokens(Companion_instance_19, lexer);
|
|
5905
|
-
var _cachedTokens = tmp0_container.
|
|
5906
|
-
var _filteredTokens = tmp0_container.
|
|
5915
|
+
var _cachedTokens = tmp0_container.qd();
|
|
5916
|
+
var _filteredTokens = tmp0_container.rd();
|
|
5907
5917
|
this.s2z_1 = _cachedTokens;
|
|
5908
5918
|
this.t2z_1 = _filteredTokens;
|
|
5909
5919
|
this.u2z_1 = lexer.u2v_1;
|
|
@@ -6057,7 +6067,7 @@
|
|
|
6057
6067
|
do {
|
|
6058
6068
|
var i = inductionVariable;
|
|
6059
6069
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6060
|
-
if (equals((new Iterator(tokensCache, i)).
|
|
6070
|
+
if (equals((new Iterator(tokensCache, i)).a2d(), Companion_getInstance().b2k_1)) {
|
|
6061
6071
|
if (lastStart < i) {
|
|
6062
6072
|
result.e(numberRangeToNumber(lastStart, i - 1 | 0));
|
|
6063
6073
|
}
|
|
@@ -6090,7 +6100,7 @@
|
|
|
6090
6100
|
this.d35_1 = index;
|
|
6091
6101
|
this.e35_1 = index;
|
|
6092
6102
|
};
|
|
6093
|
-
protoOf(RangesListBuilder).
|
|
6103
|
+
protoOf(RangesListBuilder).rj = function () {
|
|
6094
6104
|
if (!(this.d35_1 === -239)) {
|
|
6095
6105
|
this.c35_1.e(numberRangeToNumber(this.d35_1, this.e35_1));
|
|
6096
6106
|
}
|
|
@@ -6160,7 +6170,7 @@
|
|
|
6160
6170
|
this.u2q_1 = $outer;
|
|
6161
6171
|
this.t2q_1 = index;
|
|
6162
6172
|
}
|
|
6163
|
-
protoOf(Iterator).
|
|
6173
|
+
protoOf(Iterator).a2d = function () {
|
|
6164
6174
|
return info(this, 0).d2w_1;
|
|
6165
6175
|
};
|
|
6166
6176
|
protoOf(Iterator).k34 = function () {
|
|
@@ -6199,7 +6209,7 @@
|
|
|
6199
6209
|
}
|
|
6200
6210
|
};
|
|
6201
6211
|
protoOf(Iterator).toString = function () {
|
|
6202
|
-
return 'Iterator: ' + this.t2q_1 + ': ' + toString_1(this.
|
|
6212
|
+
return 'Iterator: ' + this.t2q_1 + ': ' + toString_1(this.a2d());
|
|
6203
6213
|
};
|
|
6204
6214
|
function TokensCache() {
|
|
6205
6215
|
}
|
|
@@ -6247,9 +6257,9 @@
|
|
|
6247
6257
|
var result = new ParsingResultBuilder();
|
|
6248
6258
|
var delegateIndices = new RangesListBuilder();
|
|
6249
6259
|
var iterator = RangesListIterator_init_$Create$(tokens, rangesToGlue);
|
|
6250
|
-
while (!(iterator.
|
|
6260
|
+
while (!(iterator.a2d() == null)) {
|
|
6251
6261
|
var tmp;
|
|
6252
|
-
if (equals(iterator.
|
|
6262
|
+
if (equals(iterator.a2d(), Companion_getInstance().j2k_1)) {
|
|
6253
6263
|
// Inline function 'kotlin.let' call
|
|
6254
6264
|
// Inline function 'kotlin.contracts.contract' call
|
|
6255
6265
|
// Inline function 'org.intellij.markdown.parser.sequentialparsers.impl.AutolinkParser.parse.<anonymous>' call
|
|
@@ -6260,10 +6270,10 @@
|
|
|
6260
6270
|
}
|
|
6261
6271
|
if (tmp) {
|
|
6262
6272
|
var start = iterator.t2q_1;
|
|
6263
|
-
while (!equals(iterator.
|
|
6273
|
+
while (!equals(iterator.a2d(), Companion_getInstance().k2k_1) && !(iterator.a2d() == null)) {
|
|
6264
6274
|
iterator = iterator.w2q();
|
|
6265
6275
|
}
|
|
6266
|
-
if (equals(iterator.
|
|
6276
|
+
if (equals(iterator.a2d(), Companion_getInstance().k2k_1)) {
|
|
6267
6277
|
result.j2r(new Node(numberRangeToNumber(start, iterator.t2q_1 + 1 | 0), MarkdownElementTypes_getInstance().q2j_1));
|
|
6268
6278
|
}
|
|
6269
6279
|
} else {
|
|
@@ -6271,12 +6281,12 @@
|
|
|
6271
6281
|
}
|
|
6272
6282
|
iterator = iterator.w2q();
|
|
6273
6283
|
}
|
|
6274
|
-
return result.x34(delegateIndices.
|
|
6284
|
+
return result.x34(delegateIndices.rj());
|
|
6275
6285
|
};
|
|
6276
6286
|
function findOfSize($this, it, length) {
|
|
6277
6287
|
var iterator = it;
|
|
6278
|
-
while (!(iterator.
|
|
6279
|
-
if (equals(iterator.
|
|
6288
|
+
while (!(iterator.a2d() == null)) {
|
|
6289
|
+
if (equals(iterator.a2d(), Companion_getInstance().w2k_1) || equals(iterator.a2d(), Companion_getInstance().x2k_1)) {
|
|
6280
6290
|
if (getLength($this, iterator, false) === length) {
|
|
6281
6291
|
return iterator;
|
|
6282
6292
|
}
|
|
@@ -6287,7 +6297,7 @@
|
|
|
6287
6297
|
}
|
|
6288
6298
|
function getLength($this, info, canEscape) {
|
|
6289
6299
|
var toSubtract = 0;
|
|
6290
|
-
if (equals(info.
|
|
6300
|
+
if (equals(info.a2d(), Companion_getInstance().x2k_1)) {
|
|
6291
6301
|
if (canEscape) {
|
|
6292
6302
|
toSubtract = 2;
|
|
6293
6303
|
} else {
|
|
@@ -6302,8 +6312,8 @@
|
|
|
6302
6312
|
var result = new ParsingResultBuilder();
|
|
6303
6313
|
var delegateIndices = new RangesListBuilder();
|
|
6304
6314
|
var iterator = RangesListIterator_init_$Create$(tokens, rangesToGlue);
|
|
6305
|
-
$l$loop: while (!(iterator.
|
|
6306
|
-
if (equals(iterator.
|
|
6315
|
+
$l$loop: while (!(iterator.a2d() == null)) {
|
|
6316
|
+
if (equals(iterator.a2d(), Companion_getInstance().w2k_1) || equals(iterator.a2d(), Companion_getInstance().x2k_1)) {
|
|
6307
6317
|
var endIterator = findOfSize(this, iterator.w2q(), getLength(this, iterator, true));
|
|
6308
6318
|
if (!(endIterator == null)) {
|
|
6309
6319
|
result.j2r(new Node(numberRangeToNumber(iterator.t2q_1, endIterator.t2q_1 + 1 | 0), MarkdownElementTypes_getInstance().c2j_1));
|
|
@@ -6314,7 +6324,7 @@
|
|
|
6314
6324
|
delegateIndices.f35(iterator.t2q_1);
|
|
6315
6325
|
iterator = iterator.w2q();
|
|
6316
6326
|
}
|
|
6317
|
-
return result.x34(delegateIndices.
|
|
6327
|
+
return result.x34(delegateIndices.rj());
|
|
6318
6328
|
};
|
|
6319
6329
|
function Companion_21() {
|
|
6320
6330
|
}
|
|
@@ -6331,7 +6341,7 @@
|
|
|
6331
6341
|
DelimiterParser.call(this);
|
|
6332
6342
|
}
|
|
6333
6343
|
protoOf(EmphStrongDelimiterParser).s2q = function (tokens, iterator, delimiters) {
|
|
6334
|
-
if (!equals(iterator.
|
|
6344
|
+
if (!equals(iterator.a2d(), Companion_getInstance().v2k_1)) {
|
|
6335
6345
|
return 0;
|
|
6336
6346
|
}
|
|
6337
6347
|
var stepsToAdvance = 1;
|
|
@@ -6350,8 +6360,8 @@
|
|
|
6350
6360
|
}
|
|
6351
6361
|
while (inductionVariable < 50);
|
|
6352
6362
|
var tmp1_container = this.x2q(tokens, iterator, rightIterator, marker === _Char___init__impl__6a9atx(42));
|
|
6353
|
-
var canOpen = tmp1_container.
|
|
6354
|
-
var canClose = tmp1_container.
|
|
6363
|
+
var canOpen = tmp1_container.qd();
|
|
6364
|
+
var canClose = tmp1_container.rd();
|
|
6355
6365
|
var inductionVariable_0 = 0;
|
|
6356
6366
|
var last = stepsToAdvance;
|
|
6357
6367
|
if (inductionVariable_0 < last)
|
|
@@ -6392,8 +6402,8 @@
|
|
|
6392
6402
|
var result = new ParsingResultBuilder();
|
|
6393
6403
|
var delegateIndices = new RangesListBuilder();
|
|
6394
6404
|
var iterator = RangesListIterator_init_$Create$(tokens, rangesToGlue);
|
|
6395
|
-
$l$loop: while (!(iterator.
|
|
6396
|
-
if (equals(iterator.
|
|
6405
|
+
$l$loop: while (!(iterator.a2d() == null)) {
|
|
6406
|
+
if (equals(iterator.a2d(), Companion_getInstance().m2k_1) && equals(iterator.v2q(1), Companion_getInstance().h2k_1)) {
|
|
6397
6407
|
var tmp0_elvis_lhs = Companion_instance_22.m35(iterator.w2q());
|
|
6398
6408
|
var link = tmp0_elvis_lhs == null ? Companion_instance_24.n35(iterator.w2q()) : tmp0_elvis_lhs;
|
|
6399
6409
|
if (!(link == null)) {
|
|
@@ -6405,7 +6415,7 @@
|
|
|
6405
6415
|
delegateIndices.f35(iterator.t2q_1);
|
|
6406
6416
|
iterator = iterator.w2q();
|
|
6407
6417
|
}
|
|
6408
|
-
return result.x34(delegateIndices.
|
|
6418
|
+
return result.x34(delegateIndices.rj());
|
|
6409
6419
|
};
|
|
6410
6420
|
function Companion_22() {
|
|
6411
6421
|
}
|
|
@@ -6425,24 +6435,24 @@
|
|
|
6425
6435
|
return null;
|
|
6426
6436
|
}
|
|
6427
6437
|
it = it.w2q().w2q();
|
|
6428
|
-
if (equals(it.
|
|
6438
|
+
if (equals(it.a2d(), Companion_getInstance().o2k_1)) {
|
|
6429
6439
|
it = it.w2q();
|
|
6430
6440
|
}
|
|
6431
6441
|
var linkDestination = Companion_instance_23.p35(it);
|
|
6432
6442
|
if (!(linkDestination == null)) {
|
|
6433
6443
|
it = linkDestination.z34_1.w2q();
|
|
6434
|
-
if (equals(it.
|
|
6444
|
+
if (equals(it.a2d(), Companion_getInstance().o2k_1)) {
|
|
6435
6445
|
it = it.w2q();
|
|
6436
6446
|
}
|
|
6437
6447
|
}
|
|
6438
6448
|
var linkTitle = Companion_instance_23.q35(it);
|
|
6439
6449
|
if (!(linkTitle == null)) {
|
|
6440
6450
|
it = linkTitle.z34_1.w2q();
|
|
6441
|
-
if (equals(it.
|
|
6451
|
+
if (equals(it.a2d(), Companion_getInstance().o2k_1)) {
|
|
6442
6452
|
it = it.w2q();
|
|
6443
6453
|
}
|
|
6444
6454
|
}
|
|
6445
|
-
if (!equals(it.
|
|
6455
|
+
if (!equals(it.a2d(), Companion_getInstance().g2k_1)) {
|
|
6446
6456
|
return null;
|
|
6447
6457
|
}
|
|
6448
6458
|
var tmp_0 = it;
|
|
@@ -6461,8 +6471,8 @@
|
|
|
6461
6471
|
var result = new ParsingResultBuilder();
|
|
6462
6472
|
var delegateIndices = new RangesListBuilder();
|
|
6463
6473
|
var iterator = RangesListIterator_init_$Create$(tokens, rangesToGlue);
|
|
6464
|
-
$l$loop: while (!(iterator.
|
|
6465
|
-
if (equals(iterator.
|
|
6474
|
+
$l$loop: while (!(iterator.a2d() == null)) {
|
|
6475
|
+
if (equals(iterator.a2d(), Companion_getInstance().h2k_1)) {
|
|
6466
6476
|
var inlineLink = Companion_instance_22.m35(iterator);
|
|
6467
6477
|
if (!(inlineLink == null)) {
|
|
6468
6478
|
iterator = inlineLink.z34_1.w2q();
|
|
@@ -6473,26 +6483,26 @@
|
|
|
6473
6483
|
delegateIndices.f35(iterator.t2q_1);
|
|
6474
6484
|
iterator = iterator.w2q();
|
|
6475
6485
|
}
|
|
6476
|
-
return result.x34(delegateIndices.
|
|
6486
|
+
return result.x34(delegateIndices.rj());
|
|
6477
6487
|
};
|
|
6478
6488
|
function Companion_23() {
|
|
6479
6489
|
}
|
|
6480
6490
|
protoOf(Companion_23).p35 = function (iterator) {
|
|
6481
6491
|
var it = iterator;
|
|
6482
|
-
if (equals(it.
|
|
6492
|
+
if (equals(it.a2d(), Companion_getInstance().o2k_1) || equals(it.a2d(), Companion_getInstance().g2k_1)) {
|
|
6483
6493
|
return null;
|
|
6484
6494
|
}
|
|
6485
6495
|
var startIndex = it.t2q_1;
|
|
6486
|
-
var withBraces = equals(it.
|
|
6496
|
+
var withBraces = equals(it.a2d(), Companion_getInstance().j2k_1);
|
|
6487
6497
|
if (withBraces) {
|
|
6488
6498
|
it = it.w2q();
|
|
6489
6499
|
}
|
|
6490
6500
|
var hasOpenedParentheses = false;
|
|
6491
|
-
$l$loop_2: while (!(it.
|
|
6492
|
-
if (withBraces && equals(it.
|
|
6501
|
+
$l$loop_2: while (!(it.a2d() == null)) {
|
|
6502
|
+
if (withBraces && equals(it.a2d(), Companion_getInstance().k2k_1)) {
|
|
6493
6503
|
break $l$loop_2;
|
|
6494
6504
|
} else if (!withBraces) {
|
|
6495
|
-
if (equals(it.
|
|
6505
|
+
if (equals(it.a2d(), Companion_getInstance().f2k_1)) {
|
|
6496
6506
|
if (hasOpenedParentheses) {
|
|
6497
6507
|
break $l$loop_2;
|
|
6498
6508
|
}
|
|
@@ -6510,81 +6520,81 @@
|
|
|
6510
6520
|
}
|
|
6511
6521
|
it = it.w2q();
|
|
6512
6522
|
}
|
|
6513
|
-
if (!(it.
|
|
6523
|
+
if (!(it.a2d() == null) && !hasOpenedParentheses) {
|
|
6514
6524
|
return LocalParsingResult_init_$Create$_0(it, listOf(new Node(numberRangeToNumber(startIndex, it.t2q_1 + 1 | 0), MarkdownElementTypes_getInstance().j2j_1)));
|
|
6515
6525
|
}
|
|
6516
6526
|
return null;
|
|
6517
6527
|
};
|
|
6518
6528
|
protoOf(Companion_23).r35 = function (iterator) {
|
|
6519
6529
|
var it = iterator;
|
|
6520
|
-
if (!equals(it.
|
|
6530
|
+
if (!equals(it.a2d(), Companion_getInstance().h2k_1)) {
|
|
6521
6531
|
return null;
|
|
6522
6532
|
}
|
|
6523
6533
|
var startIndex = it.t2q_1;
|
|
6524
6534
|
var delegate = new RangesListBuilder();
|
|
6525
6535
|
it = it.w2q();
|
|
6526
|
-
$l$loop: while (!equals(it.
|
|
6536
|
+
$l$loop: while (!equals(it.a2d(), Companion_getInstance().i2k_1) && !(it.a2d() == null)) {
|
|
6527
6537
|
delegate.f35(it.t2q_1);
|
|
6528
|
-
if (equals(it.
|
|
6538
|
+
if (equals(it.a2d(), Companion_getInstance().h2k_1)) {
|
|
6529
6539
|
break $l$loop;
|
|
6530
6540
|
}
|
|
6531
6541
|
it = it.w2q();
|
|
6532
6542
|
}
|
|
6533
|
-
if (equals(it.
|
|
6543
|
+
if (equals(it.a2d(), Companion_getInstance().i2k_1)) {
|
|
6534
6544
|
var endIndex = it.t2q_1;
|
|
6535
6545
|
if (endIndex === (startIndex + 1 | 0)) {
|
|
6536
6546
|
return null;
|
|
6537
6547
|
}
|
|
6538
|
-
return LocalParsingResult_init_$Create$(it, listOf(new Node(numberRangeToNumber(startIndex, endIndex + 1 | 0), MarkdownElementTypes_getInstance().i2j_1)), delegate.
|
|
6548
|
+
return LocalParsingResult_init_$Create$(it, listOf(new Node(numberRangeToNumber(startIndex, endIndex + 1 | 0), MarkdownElementTypes_getInstance().i2j_1)), delegate.rj());
|
|
6539
6549
|
}
|
|
6540
6550
|
return null;
|
|
6541
6551
|
};
|
|
6542
6552
|
protoOf(Companion_23).o35 = function (iterator) {
|
|
6543
6553
|
var it = iterator;
|
|
6544
|
-
if (!equals(it.
|
|
6554
|
+
if (!equals(it.a2d(), Companion_getInstance().h2k_1)) {
|
|
6545
6555
|
return null;
|
|
6546
6556
|
}
|
|
6547
6557
|
var startIndex = it.t2q_1;
|
|
6548
6558
|
var delegate = new RangesListBuilder();
|
|
6549
6559
|
var bracketDepth = 1;
|
|
6550
6560
|
it = it.w2q();
|
|
6551
|
-
$l$loop: while (!(it.
|
|
6552
|
-
if (equals(it.
|
|
6561
|
+
$l$loop: while (!(it.a2d() == null)) {
|
|
6562
|
+
if (equals(it.a2d(), Companion_getInstance().i2k_1)) {
|
|
6553
6563
|
bracketDepth = bracketDepth - 1 | 0;
|
|
6554
6564
|
if (bracketDepth === 0) {
|
|
6555
6565
|
break $l$loop;
|
|
6556
6566
|
}
|
|
6557
6567
|
}
|
|
6558
6568
|
delegate.f35(it.t2q_1);
|
|
6559
|
-
if (equals(it.
|
|
6569
|
+
if (equals(it.a2d(), Companion_getInstance().h2k_1)) {
|
|
6560
6570
|
bracketDepth = bracketDepth + 1 | 0;
|
|
6561
6571
|
}
|
|
6562
6572
|
it = it.w2q();
|
|
6563
6573
|
}
|
|
6564
|
-
if (equals(it.
|
|
6565
|
-
return LocalParsingResult_init_$Create$(it, listOf(new Node(numberRangeToNumber(startIndex, it.t2q_1 + 1 | 0), MarkdownElementTypes_getInstance().l2j_1)), delegate.
|
|
6574
|
+
if (equals(it.a2d(), Companion_getInstance().i2k_1)) {
|
|
6575
|
+
return LocalParsingResult_init_$Create$(it, listOf(new Node(numberRangeToNumber(startIndex, it.t2q_1 + 1 | 0), MarkdownElementTypes_getInstance().l2j_1)), delegate.rj());
|
|
6566
6576
|
}
|
|
6567
6577
|
return null;
|
|
6568
6578
|
};
|
|
6569
6579
|
protoOf(Companion_23).q35 = function (iterator) {
|
|
6570
6580
|
var it = iterator;
|
|
6571
|
-
if (equals(it.
|
|
6581
|
+
if (equals(it.a2d(), Companion_getInstance().o2k_1)) {
|
|
6572
6582
|
return null;
|
|
6573
6583
|
}
|
|
6574
6584
|
var startIndex = it.t2q_1;
|
|
6575
6585
|
var closingType;
|
|
6576
|
-
if (equals(it.
|
|
6577
|
-
closingType = it.
|
|
6578
|
-
} else if (equals(it.
|
|
6586
|
+
if (equals(it.a2d(), Companion_getInstance().d2k_1) || equals(it.a2d(), Companion_getInstance().e2k_1)) {
|
|
6587
|
+
closingType = it.a2d();
|
|
6588
|
+
} else if (equals(it.a2d(), Companion_getInstance().f2k_1)) {
|
|
6579
6589
|
closingType = Companion_getInstance().g2k_1;
|
|
6580
6590
|
} else {
|
|
6581
6591
|
return null;
|
|
6582
6592
|
}
|
|
6583
6593
|
it = it.w2q();
|
|
6584
|
-
while (!(it.
|
|
6594
|
+
while (!(it.a2d() == null) && !equals(it.a2d(), closingType)) {
|
|
6585
6595
|
it = it.w2q();
|
|
6586
6596
|
}
|
|
6587
|
-
if (!(it.
|
|
6597
|
+
if (!(it.a2d() == null)) {
|
|
6588
6598
|
return LocalParsingResult_init_$Create$_0(it, listOf(new Node(numberRangeToNumber(startIndex, it.t2q_1 + 1 | 0), MarkdownElementTypes_getInstance().k2j_1)));
|
|
6589
6599
|
}
|
|
6590
6600
|
return null;
|
|
@@ -6595,8 +6605,8 @@
|
|
|
6595
6605
|
}
|
|
6596
6606
|
function findOfSize_0($this, it, length) {
|
|
6597
6607
|
var iterator = it;
|
|
6598
|
-
while (!(iterator.
|
|
6599
|
-
if (equals(iterator.
|
|
6608
|
+
while (!(iterator.a2d() == null)) {
|
|
6609
|
+
if (equals(iterator.a2d(), GFMTokenTypes_getInstance().a2q_1)) {
|
|
6600
6610
|
if (iterator.a() === length) {
|
|
6601
6611
|
return iterator;
|
|
6602
6612
|
}
|
|
@@ -6611,8 +6621,8 @@
|
|
|
6611
6621
|
var result = new ParsingResultBuilder();
|
|
6612
6622
|
var delegateIndices = new RangesListBuilder();
|
|
6613
6623
|
var iterator = RangesListIterator_init_$Create$(tokens, rangesToGlue);
|
|
6614
|
-
$l$loop: while (!(iterator.
|
|
6615
|
-
if (equals(iterator.
|
|
6624
|
+
$l$loop: while (!(iterator.a2d() == null)) {
|
|
6625
|
+
if (equals(iterator.a2d(), GFMTokenTypes_getInstance().a2q_1)) {
|
|
6616
6626
|
var endIterator = findOfSize_0(this, iterator.w2q(), iterator.a());
|
|
6617
6627
|
if (!(endIterator == null)) {
|
|
6618
6628
|
if (iterator.a() === 1) {
|
|
@@ -6627,7 +6637,7 @@
|
|
|
6627
6637
|
delegateIndices.f35(iterator.t2q_1);
|
|
6628
6638
|
iterator = iterator.w2q();
|
|
6629
6639
|
}
|
|
6630
|
-
return result.x34(delegateIndices.
|
|
6640
|
+
return result.x34(delegateIndices.rj());
|
|
6631
6641
|
};
|
|
6632
6642
|
function parseFullReferenceLink($this, iterator) {
|
|
6633
6643
|
var startIndex = iterator.t2q_1;
|
|
@@ -6640,7 +6650,7 @@
|
|
|
6640
6650
|
}
|
|
6641
6651
|
var linkText = tmp;
|
|
6642
6652
|
var it = linkText.z34_1.w2q();
|
|
6643
|
-
if (equals(it.
|
|
6653
|
+
if (equals(it.a2d(), Companion_getInstance().o2k_1)) {
|
|
6644
6654
|
it = it.w2q();
|
|
6645
6655
|
}
|
|
6646
6656
|
var tmp1_elvis_lhs = Companion_instance_23.r35(it);
|
|
@@ -6667,10 +6677,10 @@
|
|
|
6667
6677
|
var it = linkLabel.z34_1;
|
|
6668
6678
|
var shortcutLinkEnd = it;
|
|
6669
6679
|
it = it.w2q();
|
|
6670
|
-
if (equals(it.
|
|
6680
|
+
if (equals(it.a2d(), Companion_getInstance().o2k_1)) {
|
|
6671
6681
|
it = it.w2q();
|
|
6672
6682
|
}
|
|
6673
|
-
if (equals(it.
|
|
6683
|
+
if (equals(it.a2d(), Companion_getInstance().h2k_1) && equals(it.v2q(1), Companion_getInstance().i2k_1)) {
|
|
6674
6684
|
it = it.w2q();
|
|
6675
6685
|
} else {
|
|
6676
6686
|
it = shortcutLinkEnd;
|
|
@@ -6693,8 +6703,8 @@
|
|
|
6693
6703
|
var result = new ParsingResultBuilder();
|
|
6694
6704
|
var delegateIndices = new RangesListBuilder();
|
|
6695
6705
|
var iterator = RangesListIterator_init_$Create$(tokens, rangesToGlue);
|
|
6696
|
-
$l$loop: while (!(iterator.
|
|
6697
|
-
if (equals(iterator.
|
|
6706
|
+
$l$loop: while (!(iterator.a2d() == null)) {
|
|
6707
|
+
if (equals(iterator.a2d(), Companion_getInstance().h2k_1)) {
|
|
6698
6708
|
var referenceLink = Companion_instance_24.n35(iterator);
|
|
6699
6709
|
if (!(referenceLink == null)) {
|
|
6700
6710
|
iterator = referenceLink.z34_1.w2q();
|
|
@@ -6705,7 +6715,7 @@
|
|
|
6705
6715
|
delegateIndices.f35(iterator.t2q_1);
|
|
6706
6716
|
iterator = iterator.w2q();
|
|
6707
6717
|
}
|
|
6708
|
-
return result.x34(delegateIndices.
|
|
6718
|
+
return result.x34(delegateIndices.rj());
|
|
6709
6719
|
};
|
|
6710
6720
|
function urlEncode(str) {
|
|
6711
6721
|
var tmp = encodeURIComponent(str);
|