cariboujs 2.0.4 → 2.0.6
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 +13 -3
- package/ada/ada2012/AdaLexer.js +486 -316
- package/ada/ada2012/AdaLexerBase.js +25 -0
- package/ada/ada2012/AdaParser.js +4547 -3823
- package/ada/ada2012/AdaParserBase.js +682 -0
- package/ada/ada2012/AdaParserListener.js +36 -0
- package/ada/ada2012/AdaParserVisitor.js +24 -0
- package/ada/ada2012/Symbol.js +20 -0
- package/ada/ada2012/SymbolTable.js +144 -0
- package/ada/ada2012/TypeClassification.js +15 -0
- package/ada/ada2022/AdaLexer.js +699 -0
- package/ada/ada2022/AdaLexerBase.js +25 -0
- package/ada/ada2022/AdaParser.js +37818 -0
- package/ada/ada2022/AdaParserBase.js +686 -0
- package/ada/ada2022/AdaParserListener.js +3024 -0
- package/ada/ada2022/AdaParserVisitor.js +2020 -0
- package/ada/ada2022/Symbol.js +20 -0
- package/ada/ada2022/SymbolTable.js +144 -0
- package/ada/ada2022/TypeClassification.js +15 -0
- package/c/CLexer.js +918 -0
- package/c/CLexerBase.js +96 -0
- package/c/CParser.js +14878 -0
- package/c/CParserBase.js +617 -0
- package/c/CParserListener.js +1062 -0
- package/c/CParserVisitor.js +712 -0
- package/c/ErrorListener.js +50 -0
- package/c/Symbol.js +28 -0
- package/c/SymbolTable.js +220 -0
- package/c/TypeClassification.js +21 -0
- package/cpp/CPP14Parser.js +630 -619
- package/cpp/CPP14ParserListener.js +56 -56
- package/cpp/CPP14ParserVisitor.js +28 -28
- package/csharp/v7/CSharpLexer.js +1339 -0
- package/csharp/v7/CSharpLexerBase.js +332 -0
- package/csharp/v7/CSharpParser.js +29239 -0
- package/csharp/v7/CSharpParserBase.js +48 -0
- package/csharp/v7/CSharpParserListener.js +2304 -0
- package/csharp/v7/CSharpParserVisitor.js +1540 -0
- package/csharp/v8-spec/CSharpLexer.js +1549 -0
- package/csharp/v8-spec/CSharpLexerBase.js +296 -0
- package/csharp/v8-spec/CSharpParser.js +45055 -0
- package/csharp/v8-spec/CSharpParserBase.js +587 -0
- package/csharp/v8-spec/CSharpParserListener.js +3582 -0
- package/csharp/v8-spec/CSharpParserVisitor.js +2392 -0
- package/cypher/CypherParser.js +1171 -780
- package/cypher/CypherParserListener.js +27 -0
- package/cypher/CypherParserVisitor.js +18 -0
- package/geekcode/geekcodeLexer.js +232 -0
- package/geekcode/geekcodeListener.js +81 -0
- package/geekcode/geekcodeParser.js +1516 -0
- package/geekcode/geekcodeVisitor.js +58 -0
- package/gql/GQLLexer.js +2203 -0
- package/gql/GQLListener.js +5499 -0
- package/gql/GQLParser.js +58653 -0
- package/gql/GQLVisitor.js +3670 -0
- package/kotlin/kotlin/KotlinLexer.js +1257 -1247
- package/kotlin/kotlin/KotlinParser.js +3991 -3425
- package/kotlin/kotlin/KotlinParserListener.js +36 -0
- package/kotlin/kotlin/KotlinParserVisitor.js +24 -0
- package/maml/MAMLLexer.js +116 -0
- package/maml/MAMLListener.js +72 -0
- package/maml/MAMLParser.js +935 -0
- package/maml/MAMLVisitor.js +52 -0
- package/odin/odinLexer.js +739 -0
- package/odin/odinListener.js +882 -0
- package/odin/odinParser.js +12189 -0
- package/odin/odinVisitor.js +592 -0
- package/package.json +1 -1
- package/plantUML/PlantUMLLexer.js +215 -316
- package/plantUML/PlantUMLParser.js +1045 -2393
- package/plantUML/PlantUMLParserListener.js +171 -0
- package/plantUML/PlantUMLParserVisitor.js +118 -0
- package/sql/mysql/Oracle/MySQLLexer.js +3689 -3668
- package/sql/mysql/Oracle/MySQLParser.js +4383 -4399
- package/sql/plsql/PlSqlLexer.js +13604 -13587
- package/sql/plsql/PlSqlParser.js +51622 -64188
- package/sql/plsql/PlSqlParserBase.js +30 -0
- package/sql/plsql/PlSqlParserListener.js +36 -9
- package/sql/plsql/PlSqlParserVisitor.js +24 -6
- package/sql/postgresql/PostgreSQLParser.js +91 -91
- package/sql/snowflake/SnowflakeLexer.js +5675 -5497
- package/sql/snowflake/SnowflakeParser.js +27252 -22655
- package/sql/snowflake/SnowflakeParserListener.js +278 -8
- package/sql/snowflake/SnowflakeParserVisitor.js +184 -4
- package/sql/sqlite/SQLiteParser.js +2638 -2301
- package/sql/sqlite/SQLiteParserListener.js +9 -9
- package/sql/sqlite/SQLiteParserVisitor.js +6 -6
- package/sysml-v2/SysMLv2Lexer.js +1047 -0
- package/sysml-v2/SysMLv2Parser.js +51339 -0
- package/sysml-v2/SysMLv2ParserListener.js +4464 -0
- package/sysml-v2/SysMLv2ParserVisitor.js +2980 -0
- package/turtle/TURTLELexer.js +155 -156
- package/vba/vba7_1/vbaLexer.js +1689 -0
- package/vba/vba7_1/vbaParser.js +42797 -0
- package/vba/vba7_1/vbaParserListener.js +3267 -0
- package/vba/vba7_1/vbaParserVisitor.js +2182 -0
- package/vhdl/vhdl2008/vhdl2008Listener.js +9 -0
- package/vhdl/vhdl2008/vhdl2008Parser.js +2840 -2705
- package/vhdl/vhdl2008/vhdl2008Visitor.js +6 -0
- package/wkt/wktLexer.js +177 -148
- package/wkt/wktListener.js +123 -60
- package/wkt/wktParser.js +1802 -1125
- package/wkt/wktVisitor.js +72 -30
- package/plantUML/PlantUMLListener.js +0 -279
- package/plantUML/PlantUMLVisitor.js +0 -190
- /package/scala/{ScalaLexer.js → scala2/ScalaLexer.js} +0 -0
- /package/scala/{ScalaListener.js → scala2/ScalaListener.js} +0 -0
- /package/scala/{ScalaParser.js → scala2/ScalaParser.js} +0 -0
- /package/scala/{ScalaVisitor.js → scala2/ScalaVisitor.js} +0 -0
|
@@ -320,6 +320,15 @@ export default class KotlinParserListener extends antlr4.tree.ParseTreeListener
|
|
|
320
320
|
}
|
|
321
321
|
|
|
322
322
|
|
|
323
|
+
// Enter a parse tree produced by KotlinParser#explicitBackingField.
|
|
324
|
+
enterExplicitBackingField(ctx) {
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
// Exit a parse tree produced by KotlinParser#explicitBackingField.
|
|
328
|
+
exitExplicitBackingField(ctx) {
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
|
|
323
332
|
// Enter a parse tree produced by KotlinParser#multiVariableDeclaration.
|
|
324
333
|
enterMultiVariableDeclaration(ctx) {
|
|
325
334
|
}
|
|
@@ -1148,6 +1157,33 @@ export default class KotlinParserListener extends antlr4.tree.ParseTreeListener
|
|
|
1148
1157
|
}
|
|
1149
1158
|
|
|
1150
1159
|
|
|
1160
|
+
// Enter a parse tree produced by KotlinParser#functionModifierList.
|
|
1161
|
+
enterFunctionModifierList(ctx) {
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
// Exit a parse tree produced by KotlinParser#functionModifierList.
|
|
1165
|
+
exitFunctionModifierList(ctx) {
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
// Enter a parse tree produced by KotlinParser#contextParameters.
|
|
1170
|
+
enterContextParameters(ctx) {
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
// Exit a parse tree produced by KotlinParser#contextParameters.
|
|
1174
|
+
exitContextParameters(ctx) {
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
|
|
1178
|
+
// Enter a parse tree produced by KotlinParser#contextModifier.
|
|
1179
|
+
enterContextModifier(ctx) {
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
// Exit a parse tree produced by KotlinParser#contextModifier.
|
|
1183
|
+
exitContextModifier(ctx) {
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
|
|
1151
1187
|
// Enter a parse tree produced by KotlinParser#modifier.
|
|
1152
1188
|
enterModifier(ctx) {
|
|
1153
1189
|
}
|
|
@@ -216,6 +216,12 @@ export default class KotlinParserVisitor extends antlr4.tree.ParseTreeVisitor {
|
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
|
|
219
|
+
// Visit a parse tree produced by KotlinParser#explicitBackingField.
|
|
220
|
+
visitExplicitBackingField(ctx) {
|
|
221
|
+
return this.visitChildren(ctx);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
|
|
219
225
|
// Visit a parse tree produced by KotlinParser#multiVariableDeclaration.
|
|
220
226
|
visitMultiVariableDeclaration(ctx) {
|
|
221
227
|
return this.visitChildren(ctx);
|
|
@@ -768,6 +774,24 @@ export default class KotlinParserVisitor extends antlr4.tree.ParseTreeVisitor {
|
|
|
768
774
|
}
|
|
769
775
|
|
|
770
776
|
|
|
777
|
+
// Visit a parse tree produced by KotlinParser#functionModifierList.
|
|
778
|
+
visitFunctionModifierList(ctx) {
|
|
779
|
+
return this.visitChildren(ctx);
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
// Visit a parse tree produced by KotlinParser#contextParameters.
|
|
784
|
+
visitContextParameters(ctx) {
|
|
785
|
+
return this.visitChildren(ctx);
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
// Visit a parse tree produced by KotlinParser#contextModifier.
|
|
790
|
+
visitContextModifier(ctx) {
|
|
791
|
+
return this.visitChildren(ctx);
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
|
|
771
795
|
// Visit a parse tree produced by KotlinParser#modifier.
|
|
772
796
|
visitModifier(ctx) {
|
|
773
797
|
return this.visitChildren(ctx);
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
// Generated from MAML.g4 by ANTLR 4.13.2
|
|
2
|
+
// jshint ignore: start
|
|
3
|
+
import antlr4 from 'antlr4';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
const serializedATN = [4,0,16,189,6,-1,2,0,7,0,2,1,7,1,2,2,7,2,2,3,7,3,2,
|
|
7
|
+
4,7,4,2,5,7,5,2,6,7,6,2,7,7,7,2,8,7,8,2,9,7,9,2,10,7,10,2,11,7,11,2,12,7,
|
|
8
|
+
12,2,13,7,13,2,14,7,14,2,15,7,15,2,16,7,16,2,17,7,17,2,18,7,18,2,19,7,19,
|
|
9
|
+
2,20,7,20,1,0,1,0,1,1,1,1,1,2,1,2,1,3,1,3,1,4,1,4,1,5,1,5,1,6,1,6,1,6,1,
|
|
10
|
+
6,1,6,1,7,1,7,1,7,1,7,1,7,1,7,1,8,1,8,1,8,1,8,1,8,1,9,1,9,5,9,74,8,9,10,
|
|
11
|
+
9,12,9,77,9,9,1,9,1,9,1,10,1,10,1,10,1,10,1,10,1,10,5,10,87,8,10,10,10,12,
|
|
12
|
+
10,90,9,10,1,10,1,10,1,10,1,10,1,11,1,11,5,11,98,8,11,10,11,12,11,101,9,
|
|
13
|
+
11,1,11,1,11,1,12,1,12,3,12,107,8,12,1,13,1,13,1,13,1,13,1,13,1,13,1,13,
|
|
14
|
+
3,13,116,8,13,1,13,3,13,119,8,13,1,13,3,13,122,8,13,1,13,3,13,125,8,13,1,
|
|
15
|
+
13,3,13,128,8,13,1,13,1,13,3,13,132,8,13,1,14,3,14,135,8,14,1,14,1,14,1,
|
|
16
|
+
14,4,14,140,8,14,11,14,12,14,141,3,14,144,8,14,1,14,3,14,147,8,14,1,15,1,
|
|
17
|
+
15,1,15,5,15,152,8,15,10,15,12,15,155,9,15,3,15,157,8,15,1,16,1,16,3,16,
|
|
18
|
+
161,8,16,1,16,4,16,164,8,16,11,16,12,16,165,1,17,1,17,1,18,4,18,171,8,18,
|
|
19
|
+
11,18,12,18,172,1,19,3,19,176,8,19,1,19,4,19,179,8,19,11,19,12,19,180,1,
|
|
20
|
+
20,4,20,184,8,20,11,20,12,20,185,1,20,1,20,1,88,0,21,1,1,3,2,5,3,7,4,9,5,
|
|
21
|
+
11,6,13,7,15,8,17,9,19,10,21,11,23,12,25,0,27,0,29,13,31,0,33,0,35,0,37,
|
|
22
|
+
14,39,15,41,16,1,0,10,2,0,10,10,13,13,4,0,0,8,10,31,34,34,92,92,5,0,34,34,
|
|
23
|
+
92,92,110,110,114,114,116,116,1,0,48,57,1,0,49,57,2,0,69,69,101,101,2,0,
|
|
24
|
+
43,43,45,45,3,0,48,57,65,70,97,102,5,0,45,45,48,57,65,90,95,95,97,122,2,
|
|
25
|
+
0,9,9,32,32,205,0,1,1,0,0,0,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,
|
|
26
|
+
0,0,0,11,1,0,0,0,0,13,1,0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,
|
|
27
|
+
1,0,0,0,0,23,1,0,0,0,0,29,1,0,0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,
|
|
28
|
+
1,43,1,0,0,0,3,45,1,0,0,0,5,47,1,0,0,0,7,49,1,0,0,0,9,51,1,0,0,0,11,53,1,
|
|
29
|
+
0,0,0,13,55,1,0,0,0,15,60,1,0,0,0,17,66,1,0,0,0,19,71,1,0,0,0,21,80,1,0,
|
|
30
|
+
0,0,23,95,1,0,0,0,25,106,1,0,0,0,27,108,1,0,0,0,29,134,1,0,0,0,31,156,1,
|
|
31
|
+
0,0,0,33,158,1,0,0,0,35,167,1,0,0,0,37,170,1,0,0,0,39,178,1,0,0,0,41,183,
|
|
32
|
+
1,0,0,0,43,44,5,123,0,0,44,2,1,0,0,0,45,46,5,125,0,0,46,4,1,0,0,0,47,48,
|
|
33
|
+
5,58,0,0,48,6,1,0,0,0,49,50,5,91,0,0,50,8,1,0,0,0,51,52,5,93,0,0,52,10,1,
|
|
34
|
+
0,0,0,53,54,5,44,0,0,54,12,1,0,0,0,55,56,5,116,0,0,56,57,5,114,0,0,57,58,
|
|
35
|
+
5,117,0,0,58,59,5,101,0,0,59,14,1,0,0,0,60,61,5,102,0,0,61,62,5,97,0,0,62,
|
|
36
|
+
63,5,108,0,0,63,64,5,115,0,0,64,65,5,101,0,0,65,16,1,0,0,0,66,67,5,110,0,
|
|
37
|
+
0,67,68,5,117,0,0,68,69,5,108,0,0,69,70,5,108,0,0,70,18,1,0,0,0,71,75,5,
|
|
38
|
+
35,0,0,72,74,8,0,0,0,73,72,1,0,0,0,74,77,1,0,0,0,75,73,1,0,0,0,75,76,1,0,
|
|
39
|
+
0,0,76,78,1,0,0,0,77,75,1,0,0,0,78,79,6,9,0,0,79,20,1,0,0,0,80,81,5,34,0,
|
|
40
|
+
0,81,82,5,34,0,0,82,83,5,34,0,0,83,84,1,0,0,0,84,88,9,0,0,0,85,87,9,0,0,
|
|
41
|
+
0,86,85,1,0,0,0,87,90,1,0,0,0,88,89,1,0,0,0,88,86,1,0,0,0,89,91,1,0,0,0,
|
|
42
|
+
90,88,1,0,0,0,91,92,5,34,0,0,92,93,5,34,0,0,93,94,5,34,0,0,94,22,1,0,0,0,
|
|
43
|
+
95,99,5,34,0,0,96,98,3,25,12,0,97,96,1,0,0,0,98,101,1,0,0,0,99,97,1,0,0,
|
|
44
|
+
0,99,100,1,0,0,0,100,102,1,0,0,0,101,99,1,0,0,0,102,103,5,34,0,0,103,24,
|
|
45
|
+
1,0,0,0,104,107,3,27,13,0,105,107,8,1,0,0,106,104,1,0,0,0,106,105,1,0,0,
|
|
46
|
+
0,107,26,1,0,0,0,108,131,5,92,0,0,109,132,7,2,0,0,110,111,5,117,0,0,111,
|
|
47
|
+
112,5,123,0,0,112,113,1,0,0,0,113,115,3,35,17,0,114,116,3,35,17,0,115,114,
|
|
48
|
+
1,0,0,0,115,116,1,0,0,0,116,118,1,0,0,0,117,119,3,35,17,0,118,117,1,0,0,
|
|
49
|
+
0,118,119,1,0,0,0,119,121,1,0,0,0,120,122,3,35,17,0,121,120,1,0,0,0,121,
|
|
50
|
+
122,1,0,0,0,122,124,1,0,0,0,123,125,3,35,17,0,124,123,1,0,0,0,124,125,1,
|
|
51
|
+
0,0,0,125,127,1,0,0,0,126,128,3,35,17,0,127,126,1,0,0,0,127,128,1,0,0,0,
|
|
52
|
+
128,129,1,0,0,0,129,130,5,125,0,0,130,132,1,0,0,0,131,109,1,0,0,0,131,110,
|
|
53
|
+
1,0,0,0,132,28,1,0,0,0,133,135,5,45,0,0,134,133,1,0,0,0,134,135,1,0,0,0,
|
|
54
|
+
135,136,1,0,0,0,136,143,3,31,15,0,137,139,5,46,0,0,138,140,7,3,0,0,139,138,
|
|
55
|
+
1,0,0,0,140,141,1,0,0,0,141,139,1,0,0,0,141,142,1,0,0,0,142,144,1,0,0,0,
|
|
56
|
+
143,137,1,0,0,0,143,144,1,0,0,0,144,146,1,0,0,0,145,147,3,33,16,0,146,145,
|
|
57
|
+
1,0,0,0,146,147,1,0,0,0,147,30,1,0,0,0,148,157,5,48,0,0,149,153,7,4,0,0,
|
|
58
|
+
150,152,7,3,0,0,151,150,1,0,0,0,152,155,1,0,0,0,153,151,1,0,0,0,153,154,
|
|
59
|
+
1,0,0,0,154,157,1,0,0,0,155,153,1,0,0,0,156,148,1,0,0,0,156,149,1,0,0,0,
|
|
60
|
+
157,32,1,0,0,0,158,160,7,5,0,0,159,161,7,6,0,0,160,159,1,0,0,0,160,161,1,
|
|
61
|
+
0,0,0,161,163,1,0,0,0,162,164,7,3,0,0,163,162,1,0,0,0,164,165,1,0,0,0,165,
|
|
62
|
+
163,1,0,0,0,165,166,1,0,0,0,166,34,1,0,0,0,167,168,7,7,0,0,168,36,1,0,0,
|
|
63
|
+
0,169,171,7,8,0,0,170,169,1,0,0,0,171,172,1,0,0,0,172,170,1,0,0,0,172,173,
|
|
64
|
+
1,0,0,0,173,38,1,0,0,0,174,176,5,13,0,0,175,174,1,0,0,0,175,176,1,0,0,0,
|
|
65
|
+
176,177,1,0,0,0,177,179,5,10,0,0,178,175,1,0,0,0,179,180,1,0,0,0,180,178,
|
|
66
|
+
1,0,0,0,180,181,1,0,0,0,181,40,1,0,0,0,182,184,7,9,0,0,183,182,1,0,0,0,184,
|
|
67
|
+
185,1,0,0,0,185,183,1,0,0,0,185,186,1,0,0,0,186,187,1,0,0,0,187,188,6,20,
|
|
68
|
+
0,0,188,42,1,0,0,0,23,0,75,88,99,106,115,118,121,124,127,131,134,141,143,
|
|
69
|
+
146,153,156,160,165,172,175,180,185,1,0,1,0];
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
const atn = new antlr4.atn.ATNDeserializer().deserialize(serializedATN);
|
|
73
|
+
|
|
74
|
+
const decisionsToDFA = atn.decisionToState.map( (ds, index) => new antlr4.dfa.DFA(ds, index) );
|
|
75
|
+
|
|
76
|
+
export default class MAMLLexer extends antlr4.Lexer {
|
|
77
|
+
|
|
78
|
+
static grammarFileName = "MAML.g4";
|
|
79
|
+
static channelNames = [ "DEFAULT_TOKEN_CHANNEL", "HIDDEN" ];
|
|
80
|
+
static modeNames = [ "DEFAULT_MODE" ];
|
|
81
|
+
static literalNames = [ null, "'{'", "'}'", "':'", "'['", "']'", "','",
|
|
82
|
+
"'true'", "'false'", "'null'" ];
|
|
83
|
+
static symbolicNames = [ null, null, null, null, null, null, null, "TRUE",
|
|
84
|
+
"FALSE", "NULL", "COMMENT", "RAW_STRING", "STRING",
|
|
85
|
+
"NUMBER", "IDENTIFIER", "NL", "WS" ];
|
|
86
|
+
static ruleNames = [ "T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "TRUE",
|
|
87
|
+
"FALSE", "NULL", "COMMENT", "RAW_STRING", "STRING",
|
|
88
|
+
"CHAR", "ESCAPE", "NUMBER", "INT", "EXP", "HEX", "IDENTIFIER",
|
|
89
|
+
"NL", "WS" ];
|
|
90
|
+
|
|
91
|
+
constructor(input) {
|
|
92
|
+
super(input)
|
|
93
|
+
this._interp = new antlr4.atn.LexerATNSimulator(this, atn, decisionsToDFA, new antlr4.atn.PredictionContextCache());
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
MAMLLexer.EOF = antlr4.Token.EOF;
|
|
98
|
+
MAMLLexer.T__0 = 1;
|
|
99
|
+
MAMLLexer.T__1 = 2;
|
|
100
|
+
MAMLLexer.T__2 = 3;
|
|
101
|
+
MAMLLexer.T__3 = 4;
|
|
102
|
+
MAMLLexer.T__4 = 5;
|
|
103
|
+
MAMLLexer.T__5 = 6;
|
|
104
|
+
MAMLLexer.TRUE = 7;
|
|
105
|
+
MAMLLexer.FALSE = 8;
|
|
106
|
+
MAMLLexer.NULL = 9;
|
|
107
|
+
MAMLLexer.COMMENT = 10;
|
|
108
|
+
MAMLLexer.RAW_STRING = 11;
|
|
109
|
+
MAMLLexer.STRING = 12;
|
|
110
|
+
MAMLLexer.NUMBER = 13;
|
|
111
|
+
MAMLLexer.IDENTIFIER = 14;
|
|
112
|
+
MAMLLexer.NL = 15;
|
|
113
|
+
MAMLLexer.WS = 16;
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// Generated from MAML.g4 by ANTLR 4.13.2
|
|
2
|
+
// jshint ignore: start
|
|
3
|
+
import antlr4 from 'antlr4';
|
|
4
|
+
|
|
5
|
+
// This class defines a complete listener for a parse tree produced by MAMLParser.
|
|
6
|
+
export default class MAMLListener extends antlr4.tree.ParseTreeListener {
|
|
7
|
+
|
|
8
|
+
// Enter a parse tree produced by MAMLParser#maml.
|
|
9
|
+
enterMaml(ctx) {
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// Exit a parse tree produced by MAMLParser#maml.
|
|
13
|
+
exitMaml(ctx) {
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
// Enter a parse tree produced by MAMLParser#value.
|
|
18
|
+
enterValue(ctx) {
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Exit a parse tree produced by MAMLParser#value.
|
|
22
|
+
exitValue(ctx) {
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
// Enter a parse tree produced by MAMLParser#object.
|
|
27
|
+
enterObject(ctx) {
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Exit a parse tree produced by MAMLParser#object.
|
|
31
|
+
exitObject(ctx) {
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
// Enter a parse tree produced by MAMLParser#member.
|
|
36
|
+
enterMember(ctx) {
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// Exit a parse tree produced by MAMLParser#member.
|
|
40
|
+
exitMember(ctx) {
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
// Enter a parse tree produced by MAMLParser#key.
|
|
45
|
+
enterKey(ctx) {
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Exit a parse tree produced by MAMLParser#key.
|
|
49
|
+
exitKey(ctx) {
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
// Enter a parse tree produced by MAMLParser#array.
|
|
54
|
+
enterArray(ctx) {
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Exit a parse tree produced by MAMLParser#array.
|
|
58
|
+
exitArray(ctx) {
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
// Enter a parse tree produced by MAMLParser#separator.
|
|
63
|
+
enterSeparator(ctx) {
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Exit a parse tree produced by MAMLParser#separator.
|
|
67
|
+
exitSeparator(ctx) {
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
}
|