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.
Files changed (109) hide show
  1. package/README.md +13 -3
  2. package/ada/ada2012/AdaLexer.js +486 -316
  3. package/ada/ada2012/AdaLexerBase.js +25 -0
  4. package/ada/ada2012/AdaParser.js +4547 -3823
  5. package/ada/ada2012/AdaParserBase.js +682 -0
  6. package/ada/ada2012/AdaParserListener.js +36 -0
  7. package/ada/ada2012/AdaParserVisitor.js +24 -0
  8. package/ada/ada2012/Symbol.js +20 -0
  9. package/ada/ada2012/SymbolTable.js +144 -0
  10. package/ada/ada2012/TypeClassification.js +15 -0
  11. package/ada/ada2022/AdaLexer.js +699 -0
  12. package/ada/ada2022/AdaLexerBase.js +25 -0
  13. package/ada/ada2022/AdaParser.js +37818 -0
  14. package/ada/ada2022/AdaParserBase.js +686 -0
  15. package/ada/ada2022/AdaParserListener.js +3024 -0
  16. package/ada/ada2022/AdaParserVisitor.js +2020 -0
  17. package/ada/ada2022/Symbol.js +20 -0
  18. package/ada/ada2022/SymbolTable.js +144 -0
  19. package/ada/ada2022/TypeClassification.js +15 -0
  20. package/c/CLexer.js +918 -0
  21. package/c/CLexerBase.js +96 -0
  22. package/c/CParser.js +14878 -0
  23. package/c/CParserBase.js +617 -0
  24. package/c/CParserListener.js +1062 -0
  25. package/c/CParserVisitor.js +712 -0
  26. package/c/ErrorListener.js +50 -0
  27. package/c/Symbol.js +28 -0
  28. package/c/SymbolTable.js +220 -0
  29. package/c/TypeClassification.js +21 -0
  30. package/cpp/CPP14Parser.js +630 -619
  31. package/cpp/CPP14ParserListener.js +56 -56
  32. package/cpp/CPP14ParserVisitor.js +28 -28
  33. package/csharp/v7/CSharpLexer.js +1339 -0
  34. package/csharp/v7/CSharpLexerBase.js +332 -0
  35. package/csharp/v7/CSharpParser.js +29239 -0
  36. package/csharp/v7/CSharpParserBase.js +48 -0
  37. package/csharp/v7/CSharpParserListener.js +2304 -0
  38. package/csharp/v7/CSharpParserVisitor.js +1540 -0
  39. package/csharp/v8-spec/CSharpLexer.js +1549 -0
  40. package/csharp/v8-spec/CSharpLexerBase.js +296 -0
  41. package/csharp/v8-spec/CSharpParser.js +45055 -0
  42. package/csharp/v8-spec/CSharpParserBase.js +587 -0
  43. package/csharp/v8-spec/CSharpParserListener.js +3582 -0
  44. package/csharp/v8-spec/CSharpParserVisitor.js +2392 -0
  45. package/cypher/CypherParser.js +1171 -780
  46. package/cypher/CypherParserListener.js +27 -0
  47. package/cypher/CypherParserVisitor.js +18 -0
  48. package/geekcode/geekcodeLexer.js +232 -0
  49. package/geekcode/geekcodeListener.js +81 -0
  50. package/geekcode/geekcodeParser.js +1516 -0
  51. package/geekcode/geekcodeVisitor.js +58 -0
  52. package/gql/GQLLexer.js +2203 -0
  53. package/gql/GQLListener.js +5499 -0
  54. package/gql/GQLParser.js +58653 -0
  55. package/gql/GQLVisitor.js +3670 -0
  56. package/kotlin/kotlin/KotlinLexer.js +1257 -1247
  57. package/kotlin/kotlin/KotlinParser.js +3991 -3425
  58. package/kotlin/kotlin/KotlinParserListener.js +36 -0
  59. package/kotlin/kotlin/KotlinParserVisitor.js +24 -0
  60. package/maml/MAMLLexer.js +116 -0
  61. package/maml/MAMLListener.js +72 -0
  62. package/maml/MAMLParser.js +935 -0
  63. package/maml/MAMLVisitor.js +52 -0
  64. package/odin/odinLexer.js +739 -0
  65. package/odin/odinListener.js +882 -0
  66. package/odin/odinParser.js +12189 -0
  67. package/odin/odinVisitor.js +592 -0
  68. package/package.json +1 -1
  69. package/plantUML/PlantUMLLexer.js +215 -316
  70. package/plantUML/PlantUMLParser.js +1045 -2393
  71. package/plantUML/PlantUMLParserListener.js +171 -0
  72. package/plantUML/PlantUMLParserVisitor.js +118 -0
  73. package/sql/mysql/Oracle/MySQLLexer.js +3689 -3668
  74. package/sql/mysql/Oracle/MySQLParser.js +4383 -4399
  75. package/sql/plsql/PlSqlLexer.js +13604 -13587
  76. package/sql/plsql/PlSqlParser.js +51622 -64188
  77. package/sql/plsql/PlSqlParserBase.js +30 -0
  78. package/sql/plsql/PlSqlParserListener.js +36 -9
  79. package/sql/plsql/PlSqlParserVisitor.js +24 -6
  80. package/sql/postgresql/PostgreSQLParser.js +91 -91
  81. package/sql/snowflake/SnowflakeLexer.js +5675 -5497
  82. package/sql/snowflake/SnowflakeParser.js +27252 -22655
  83. package/sql/snowflake/SnowflakeParserListener.js +278 -8
  84. package/sql/snowflake/SnowflakeParserVisitor.js +184 -4
  85. package/sql/sqlite/SQLiteParser.js +2638 -2301
  86. package/sql/sqlite/SQLiteParserListener.js +9 -9
  87. package/sql/sqlite/SQLiteParserVisitor.js +6 -6
  88. package/sysml-v2/SysMLv2Lexer.js +1047 -0
  89. package/sysml-v2/SysMLv2Parser.js +51339 -0
  90. package/sysml-v2/SysMLv2ParserListener.js +4464 -0
  91. package/sysml-v2/SysMLv2ParserVisitor.js +2980 -0
  92. package/turtle/TURTLELexer.js +155 -156
  93. package/vba/vba7_1/vbaLexer.js +1689 -0
  94. package/vba/vba7_1/vbaParser.js +42797 -0
  95. package/vba/vba7_1/vbaParserListener.js +3267 -0
  96. package/vba/vba7_1/vbaParserVisitor.js +2182 -0
  97. package/vhdl/vhdl2008/vhdl2008Listener.js +9 -0
  98. package/vhdl/vhdl2008/vhdl2008Parser.js +2840 -2705
  99. package/vhdl/vhdl2008/vhdl2008Visitor.js +6 -0
  100. package/wkt/wktLexer.js +177 -148
  101. package/wkt/wktListener.js +123 -60
  102. package/wkt/wktParser.js +1802 -1125
  103. package/wkt/wktVisitor.js +72 -30
  104. package/plantUML/PlantUMLListener.js +0 -279
  105. package/plantUML/PlantUMLVisitor.js +0 -190
  106. /package/scala/{ScalaLexer.js → scala2/ScalaLexer.js} +0 -0
  107. /package/scala/{ScalaListener.js → scala2/ScalaListener.js} +0 -0
  108. /package/scala/{ScalaParser.js → scala2/ScalaParser.js} +0 -0
  109. /package/scala/{ScalaVisitor.js → scala2/ScalaVisitor.js} +0 -0
@@ -509,6 +509,33 @@ export default class CypherParserListener extends antlr4.tree.ParseTreeListener
509
509
  }
510
510
 
511
511
 
512
+ // Enter a parse tree produced by CypherParser#qppElemChain.
513
+ enterQppElemChain(ctx) {
514
+ }
515
+
516
+ // Exit a parse tree produced by CypherParser#qppElemChain.
517
+ exitQppElemChain(ctx) {
518
+ }
519
+
520
+
521
+ // Enter a parse tree produced by CypherParser#qppQuantifier.
522
+ enterQppQuantifier(ctx) {
523
+ }
524
+
525
+ // Exit a parse tree produced by CypherParser#qppQuantifier.
526
+ exitQppQuantifier(ctx) {
527
+ }
528
+
529
+
530
+ // Enter a parse tree produced by CypherParser#qppInt.
531
+ enterQppInt(ctx) {
532
+ }
533
+
534
+ // Exit a parse tree produced by CypherParser#qppInt.
535
+ exitQppInt(ctx) {
536
+ }
537
+
538
+
512
539
  // Enter a parse tree produced by CypherParser#properties.
513
540
  enterProperties(ctx) {
514
541
  }
@@ -342,6 +342,24 @@ export default class CypherParserVisitor extends antlr4.tree.ParseTreeVisitor {
342
342
  }
343
343
 
344
344
 
345
+ // Visit a parse tree produced by CypherParser#qppElemChain.
346
+ visitQppElemChain(ctx) {
347
+ return this.visitChildren(ctx);
348
+ }
349
+
350
+
351
+ // Visit a parse tree produced by CypherParser#qppQuantifier.
352
+ visitQppQuantifier(ctx) {
353
+ return this.visitChildren(ctx);
354
+ }
355
+
356
+
357
+ // Visit a parse tree produced by CypherParser#qppInt.
358
+ visitQppInt(ctx) {
359
+ return this.visitChildren(ctx);
360
+ }
361
+
362
+
345
363
  // Visit a parse tree produced by CypherParser#properties.
346
364
  visitProperties(ctx) {
347
365
  return this.visitChildren(ctx);
@@ -0,0 +1,232 @@
1
+ // Generated from geekcode.g4 by ANTLR 4.13.2
2
+ // jshint ignore: start
3
+ import antlr4 from 'antlr4';
4
+
5
+
6
+ const serializedATN = [4,0,70,318,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,2,21,7,21,2,22,7,22,2,23,7,23,2,24,7,24,2,25,7,25,2,26,7,26,2,
10
+ 27,7,27,2,28,7,28,2,29,7,29,2,30,7,30,2,31,7,31,2,32,7,32,2,33,7,33,2,34,
11
+ 7,34,2,35,7,35,2,36,7,36,2,37,7,37,2,38,7,38,2,39,7,39,2,40,7,40,2,41,7,
12
+ 41,2,42,7,42,2,43,7,43,2,44,7,44,2,45,7,45,2,46,7,46,2,47,7,47,2,48,7,48,
13
+ 2,49,7,49,2,50,7,50,2,51,7,51,2,52,7,52,2,53,7,53,2,54,7,54,2,55,7,55,2,
14
+ 56,7,56,2,57,7,57,2,58,7,58,2,59,7,59,2,60,7,60,2,61,7,61,2,62,7,62,2,63,
15
+ 7,63,2,64,7,64,2,65,7,65,2,66,7,66,2,67,7,67,2,68,7,68,2,69,7,69,1,0,1,0,
16
+ 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,7,1,7,1,8,1,8,1,9,1,9,
17
+ 1,10,1,10,1,11,1,11,1,12,1,12,1,12,1,13,1,13,1,13,1,14,1,14,1,14,1,15,1,
18
+ 15,1,15,1,16,1,16,1,16,1,17,1,17,1,17,1,18,1,18,1,18,1,19,1,19,1,19,1,20,
19
+ 1,20,1,20,1,21,1,21,1,21,1,22,1,22,1,23,1,23,1,24,1,24,1,25,1,25,1,26,1,
20
+ 26,1,27,1,27,1,28,1,28,1,29,1,29,1,30,1,30,1,31,1,31,1,32,1,32,1,33,1,33,
21
+ 1,34,1,34,1,35,1,35,1,36,1,36,1,36,1,37,1,37,1,37,1,38,1,38,1,39,1,39,1,
22
+ 39,1,39,1,40,1,40,1,41,1,41,1,42,1,42,1,43,1,43,1,44,1,44,1,44,1,45,1,45,
23
+ 1,46,1,46,1,46,1,47,1,47,1,48,1,48,1,49,1,49,1,50,1,50,1,51,1,51,1,52,1,
24
+ 52,1,53,1,53,1,54,1,54,1,55,1,55,1,56,1,56,1,57,1,57,1,57,1,58,1,58,1,59,
25
+ 1,59,1,60,1,60,1,61,1,61,1,62,1,62,1,63,1,63,1,64,1,64,1,65,1,65,1,66,1,
26
+ 66,1,67,1,67,4,67,295,8,67,11,67,12,67,296,1,67,1,67,4,67,301,8,67,11,67,
27
+ 12,67,302,5,67,305,8,67,10,67,12,67,308,9,67,1,68,1,68,1,69,4,69,313,8,69,
28
+ 11,69,12,69,314,1,69,1,69,0,0,70,1,1,3,2,5,3,7,4,9,5,11,6,13,7,15,8,17,9,
29
+ 19,10,21,11,23,12,25,13,27,14,29,15,31,16,33,17,35,18,37,19,39,20,41,21,
30
+ 43,22,45,23,47,24,49,25,51,26,53,27,55,28,57,29,59,30,61,31,63,32,65,33,
31
+ 67,34,69,35,71,36,73,37,75,38,77,39,79,40,81,41,83,42,85,43,87,44,89,45,
32
+ 91,46,93,47,95,48,97,49,99,50,101,51,103,52,105,53,107,54,109,55,111,56,
33
+ 113,57,115,58,117,59,119,60,121,61,123,62,125,63,127,64,129,65,131,66,133,
34
+ 67,135,68,137,69,139,70,1,0,2,1,0,65,90,3,0,9,10,13,13,32,32,321,0,1,1,0,
35
+ 0,0,0,3,1,0,0,0,0,5,1,0,0,0,0,7,1,0,0,0,0,9,1,0,0,0,0,11,1,0,0,0,0,13,1,
36
+ 0,0,0,0,15,1,0,0,0,0,17,1,0,0,0,0,19,1,0,0,0,0,21,1,0,0,0,0,23,1,0,0,0,0,
37
+ 25,1,0,0,0,0,27,1,0,0,0,0,29,1,0,0,0,0,31,1,0,0,0,0,33,1,0,0,0,0,35,1,0,
38
+ 0,0,0,37,1,0,0,0,0,39,1,0,0,0,0,41,1,0,0,0,0,43,1,0,0,0,0,45,1,0,0,0,0,47,
39
+ 1,0,0,0,0,49,1,0,0,0,0,51,1,0,0,0,0,53,1,0,0,0,0,55,1,0,0,0,0,57,1,0,0,0,
40
+ 0,59,1,0,0,0,0,61,1,0,0,0,0,63,1,0,0,0,0,65,1,0,0,0,0,67,1,0,0,0,0,69,1,
41
+ 0,0,0,0,71,1,0,0,0,0,73,1,0,0,0,0,75,1,0,0,0,0,77,1,0,0,0,0,79,1,0,0,0,0,
42
+ 81,1,0,0,0,0,83,1,0,0,0,0,85,1,0,0,0,0,87,1,0,0,0,0,89,1,0,0,0,0,91,1,0,
43
+ 0,0,0,93,1,0,0,0,0,95,1,0,0,0,0,97,1,0,0,0,0,99,1,0,0,0,0,101,1,0,0,0,0,
44
+ 103,1,0,0,0,0,105,1,0,0,0,0,107,1,0,0,0,0,109,1,0,0,0,0,111,1,0,0,0,0,113,
45
+ 1,0,0,0,0,115,1,0,0,0,0,117,1,0,0,0,0,119,1,0,0,0,0,121,1,0,0,0,0,123,1,
46
+ 0,0,0,0,125,1,0,0,0,0,127,1,0,0,0,0,129,1,0,0,0,0,131,1,0,0,0,0,133,1,0,
47
+ 0,0,0,135,1,0,0,0,0,137,1,0,0,0,0,139,1,0,0,0,1,141,1,0,0,0,3,143,1,0,0,
48
+ 0,5,145,1,0,0,0,7,147,1,0,0,0,9,149,1,0,0,0,11,151,1,0,0,0,13,153,1,0,0,
49
+ 0,15,155,1,0,0,0,17,157,1,0,0,0,19,159,1,0,0,0,21,161,1,0,0,0,23,163,1,0,
50
+ 0,0,25,165,1,0,0,0,27,168,1,0,0,0,29,171,1,0,0,0,31,174,1,0,0,0,33,177,1,
51
+ 0,0,0,35,180,1,0,0,0,37,183,1,0,0,0,39,186,1,0,0,0,41,189,1,0,0,0,43,192,
52
+ 1,0,0,0,45,195,1,0,0,0,47,197,1,0,0,0,49,199,1,0,0,0,51,201,1,0,0,0,53,203,
53
+ 1,0,0,0,55,205,1,0,0,0,57,207,1,0,0,0,59,209,1,0,0,0,61,211,1,0,0,0,63,213,
54
+ 1,0,0,0,65,215,1,0,0,0,67,217,1,0,0,0,69,219,1,0,0,0,71,221,1,0,0,0,73,223,
55
+ 1,0,0,0,75,226,1,0,0,0,77,229,1,0,0,0,79,231,1,0,0,0,81,235,1,0,0,0,83,237,
56
+ 1,0,0,0,85,239,1,0,0,0,87,241,1,0,0,0,89,243,1,0,0,0,91,246,1,0,0,0,93,248,
57
+ 1,0,0,0,95,251,1,0,0,0,97,253,1,0,0,0,99,255,1,0,0,0,101,257,1,0,0,0,103,
58
+ 259,1,0,0,0,105,261,1,0,0,0,107,263,1,0,0,0,109,265,1,0,0,0,111,267,1,0,
59
+ 0,0,113,269,1,0,0,0,115,271,1,0,0,0,117,274,1,0,0,0,119,276,1,0,0,0,121,
60
+ 278,1,0,0,0,123,280,1,0,0,0,125,282,1,0,0,0,127,284,1,0,0,0,129,286,1,0,
61
+ 0,0,131,288,1,0,0,0,133,290,1,0,0,0,135,292,1,0,0,0,137,309,1,0,0,0,139,
62
+ 312,1,0,0,0,141,142,5,45,0,0,142,2,1,0,0,0,143,144,5,43,0,0,144,4,1,0,0,
63
+ 0,145,146,5,42,0,0,146,6,1,0,0,0,147,148,5,58,0,0,148,8,1,0,0,0,149,150,
64
+ 5,64,0,0,150,10,1,0,0,0,151,152,5,62,0,0,152,12,1,0,0,0,153,154,5,36,0,0,
65
+ 154,14,1,0,0,0,155,156,5,63,0,0,156,16,1,0,0,0,157,158,5,33,0,0,158,18,1,
66
+ 0,0,0,159,160,5,40,0,0,160,20,1,0,0,0,161,162,5,41,0,0,162,22,1,0,0,0,163,
67
+ 164,5,85,0,0,164,24,1,0,0,0,165,166,5,85,0,0,166,167,5,66,0,0,167,26,1,0,
68
+ 0,0,168,169,5,85,0,0,169,170,5,85,0,0,170,28,1,0,0,0,171,172,5,85,0,0,172,
69
+ 173,5,65,0,0,173,30,1,0,0,0,174,175,5,85,0,0,175,176,5,86,0,0,176,32,1,0,
70
+ 0,0,177,178,5,85,0,0,178,179,5,72,0,0,179,34,1,0,0,0,180,181,5,85,0,0,181,
71
+ 182,5,73,0,0,182,36,1,0,0,0,183,184,5,85,0,0,184,185,5,79,0,0,185,38,1,0,
72
+ 0,0,186,187,5,85,0,0,187,188,5,83,0,0,188,40,1,0,0,0,189,190,5,85,0,0,190,
73
+ 191,5,67,0,0,191,42,1,0,0,0,192,193,5,85,0,0,193,194,5,88,0,0,194,44,1,0,
74
+ 0,0,195,196,5,100,0,0,196,46,1,0,0,0,197,198,5,115,0,0,198,48,1,0,0,0,199,
75
+ 200,5,97,0,0,200,50,1,0,0,0,201,202,5,67,0,0,202,52,1,0,0,0,203,204,5,80,
76
+ 0,0,204,54,1,0,0,0,205,206,5,76,0,0,206,56,1,0,0,0,207,208,5,69,0,0,208,
77
+ 58,1,0,0,0,209,210,5,87,0,0,210,60,1,0,0,0,211,212,5,78,0,0,212,62,1,0,0,
78
+ 0,213,214,5,111,0,0,214,64,1,0,0,0,215,216,5,75,0,0,216,66,1,0,0,0,217,218,
79
+ 5,79,0,0,218,68,1,0,0,0,219,220,5,77,0,0,220,70,1,0,0,0,221,222,5,86,0,0,
80
+ 222,72,1,0,0,0,223,224,5,80,0,0,224,225,5,83,0,0,225,74,1,0,0,0,226,227,
81
+ 5,80,0,0,227,228,5,69,0,0,228,76,1,0,0,0,229,230,5,89,0,0,230,78,1,0,0,0,
82
+ 231,232,5,80,0,0,232,233,5,71,0,0,233,234,5,80,0,0,234,80,1,0,0,0,235,236,
83
+ 5,116,0,0,236,82,1,0,0,0,237,238,5,53,0,0,238,84,1,0,0,0,239,240,5,88,0,
84
+ 0,240,86,1,0,0,0,241,242,5,82,0,0,242,88,1,0,0,0,243,244,5,116,0,0,244,245,
85
+ 5,118,0,0,245,90,1,0,0,0,246,247,5,98,0,0,247,92,1,0,0,0,248,249,5,68,0,
86
+ 0,249,250,5,73,0,0,250,94,1,0,0,0,251,252,5,68,0,0,252,96,1,0,0,0,253,254,
87
+ 5,101,0,0,254,98,1,0,0,0,255,256,5,104,0,0,256,100,1,0,0,0,257,258,5,114,
88
+ 0,0,258,102,1,0,0,0,259,260,5,121,0,0,260,104,1,0,0,0,261,262,5,122,0,0,
89
+ 262,106,1,0,0,0,263,264,5,120,0,0,264,108,1,0,0,0,265,266,5,72,0,0,266,110,
90
+ 1,0,0,0,267,268,5,103,0,0,268,112,1,0,0,0,269,270,5,112,0,0,270,114,1,0,
91
+ 0,0,271,272,5,97,0,0,272,273,5,117,0,0,273,116,1,0,0,0,274,275,5,119,0,0,
92
+ 275,118,1,0,0,0,276,277,5,118,0,0,277,120,1,0,0,0,278,279,5,51,0,0,279,122,
93
+ 1,0,0,0,280,281,5,106,0,0,281,124,1,0,0,0,282,283,5,71,0,0,283,126,1,0,0,
94
+ 0,284,285,5,66,0,0,285,128,1,0,0,0,286,287,5,117,0,0,287,130,1,0,0,0,288,
95
+ 289,5,102,0,0,289,132,1,0,0,0,290,291,5,110,0,0,291,134,1,0,0,0,292,294,
96
+ 5,71,0,0,293,295,3,137,68,0,294,293,1,0,0,0,295,296,1,0,0,0,296,294,1,0,
97
+ 0,0,296,297,1,0,0,0,297,306,1,0,0,0,298,300,5,47,0,0,299,301,3,137,68,0,
98
+ 300,299,1,0,0,0,301,302,1,0,0,0,302,300,1,0,0,0,302,303,1,0,0,0,303,305,
99
+ 1,0,0,0,304,298,1,0,0,0,305,308,1,0,0,0,306,304,1,0,0,0,306,307,1,0,0,0,
100
+ 307,136,1,0,0,0,308,306,1,0,0,0,309,310,7,0,0,0,310,138,1,0,0,0,311,313,
101
+ 7,1,0,0,312,311,1,0,0,0,313,314,1,0,0,0,314,312,1,0,0,0,314,315,1,0,0,0,
102
+ 315,316,1,0,0,0,316,317,6,69,0,0,317,140,1,0,0,0,5,0,296,302,306,314,1,6,
103
+ 0,0];
104
+
105
+
106
+ const atn = new antlr4.atn.ATNDeserializer().deserialize(serializedATN);
107
+
108
+ const decisionsToDFA = atn.decisionToState.map( (ds, index) => new antlr4.dfa.DFA(ds, index) );
109
+
110
+ export default class geekcodeLexer extends antlr4.Lexer {
111
+
112
+ static grammarFileName = "geekcode.g4";
113
+ static channelNames = [ "DEFAULT_TOKEN_CHANNEL", "HIDDEN" ];
114
+ static modeNames = [ "DEFAULT_MODE" ];
115
+ static literalNames = [ null, "'-'", "'+'", "'*'", "':'", "'@'", "'>'",
116
+ "'$'", "'?'", "'!'", "'('", "')'", "'U'", "'UB'",
117
+ "'UU'", "'UA'", "'UV'", "'UH'", "'UI'", "'UO'",
118
+ "'US'", "'UC'", "'UX'", "'d'", "'s'", "'a'", "'C'",
119
+ "'P'", "'L'", "'E'", "'W'", "'N'", "'o'", "'K'",
120
+ "'O'", "'M'", "'V'", "'PS'", "'PE'", "'Y'", "'PGP'",
121
+ "'t'", "'5'", "'X'", "'R'", "'tv'", "'b'", "'DI'",
122
+ "'D'", "'e'", "'h'", "'r'", "'y'", "'z'", "'x'",
123
+ "'H'", "'g'", "'p'", "'au'", "'w'", "'v'", "'3'",
124
+ "'j'", "'G'", "'B'", "'u'", "'f'", "'n'" ];
125
+ static symbolicNames = [ null, null, null, null, null, "NOTRIGID", "WANNABE",
126
+ "FORLIVING", "NOKNOWLEDGE", "REFUSE", "LPAREN",
127
+ "RPAREN", "UNIX", "BSD", "ULTRIX", "AIX", "SYSV",
128
+ "HPUX", "IRIX", "OSF1", "SOLARIS", "SCO", "NEXT",
129
+ "DRESS", "SHAPE", "AGE", "COMPUTERS", "PERL",
130
+ "LINUX", "EMACS", "WWW", "USENET", "USENET_ORACLE",
131
+ "KIBO", "OS2", "MACINTOSH", "VMS", "POLITCALSOCIAL",
132
+ "POLITICSECONOMIC", "CYPHERPUNKS", "PGP", "STARTREK",
133
+ "BABYLON5", "XFILES", "ROLEPLAYING", "TELEVISION",
134
+ "BOOKS", "DILBERT", "DOOM", "EDUCATION", "HOUSEING",
135
+ "RELATIONSHIPS", "SEXU", "SEXM", "SEXF", "HAIR",
136
+ "GLASSES", "PENS", "AUTO", "WEIRDNESS", "VERBAGE",
137
+ "BSD386", "JEOPARDY", "MAGIC", "BARNEY", "MUSIC",
138
+ "FRIENDS", "NUTRITION", "GCODE", "ALPHA", "WS" ];
139
+ static ruleNames = [ "T__0", "T__1", "T__2", "T__3", "NOTRIGID", "WANNABE",
140
+ "FORLIVING", "NOKNOWLEDGE", "REFUSE", "LPAREN", "RPAREN",
141
+ "UNIX", "BSD", "ULTRIX", "AIX", "SYSV", "HPUX", "IRIX",
142
+ "OSF1", "SOLARIS", "SCO", "NEXT", "DRESS", "SHAPE",
143
+ "AGE", "COMPUTERS", "PERL", "LINUX", "EMACS", "WWW",
144
+ "USENET", "USENET_ORACLE", "KIBO", "OS2", "MACINTOSH",
145
+ "VMS", "POLITCALSOCIAL", "POLITICSECONOMIC", "CYPHERPUNKS",
146
+ "PGP", "STARTREK", "BABYLON5", "XFILES", "ROLEPLAYING",
147
+ "TELEVISION", "BOOKS", "DILBERT", "DOOM", "EDUCATION",
148
+ "HOUSEING", "RELATIONSHIPS", "SEXU", "SEXM", "SEXF",
149
+ "HAIR", "GLASSES", "PENS", "AUTO", "WEIRDNESS", "VERBAGE",
150
+ "BSD386", "JEOPARDY", "MAGIC", "BARNEY", "MUSIC",
151
+ "FRIENDS", "NUTRITION", "GCODE", "ALPHA", "WS" ];
152
+
153
+ constructor(input) {
154
+ super(input)
155
+ this._interp = new antlr4.atn.LexerATNSimulator(this, atn, decisionsToDFA, new antlr4.atn.PredictionContextCache());
156
+ }
157
+ }
158
+
159
+ geekcodeLexer.EOF = antlr4.Token.EOF;
160
+ geekcodeLexer.T__0 = 1;
161
+ geekcodeLexer.T__1 = 2;
162
+ geekcodeLexer.T__2 = 3;
163
+ geekcodeLexer.T__3 = 4;
164
+ geekcodeLexer.NOTRIGID = 5;
165
+ geekcodeLexer.WANNABE = 6;
166
+ geekcodeLexer.FORLIVING = 7;
167
+ geekcodeLexer.NOKNOWLEDGE = 8;
168
+ geekcodeLexer.REFUSE = 9;
169
+ geekcodeLexer.LPAREN = 10;
170
+ geekcodeLexer.RPAREN = 11;
171
+ geekcodeLexer.UNIX = 12;
172
+ geekcodeLexer.BSD = 13;
173
+ geekcodeLexer.ULTRIX = 14;
174
+ geekcodeLexer.AIX = 15;
175
+ geekcodeLexer.SYSV = 16;
176
+ geekcodeLexer.HPUX = 17;
177
+ geekcodeLexer.IRIX = 18;
178
+ geekcodeLexer.OSF1 = 19;
179
+ geekcodeLexer.SOLARIS = 20;
180
+ geekcodeLexer.SCO = 21;
181
+ geekcodeLexer.NEXT = 22;
182
+ geekcodeLexer.DRESS = 23;
183
+ geekcodeLexer.SHAPE = 24;
184
+ geekcodeLexer.AGE = 25;
185
+ geekcodeLexer.COMPUTERS = 26;
186
+ geekcodeLexer.PERL = 27;
187
+ geekcodeLexer.LINUX = 28;
188
+ geekcodeLexer.EMACS = 29;
189
+ geekcodeLexer.WWW = 30;
190
+ geekcodeLexer.USENET = 31;
191
+ geekcodeLexer.USENET_ORACLE = 32;
192
+ geekcodeLexer.KIBO = 33;
193
+ geekcodeLexer.OS2 = 34;
194
+ geekcodeLexer.MACINTOSH = 35;
195
+ geekcodeLexer.VMS = 36;
196
+ geekcodeLexer.POLITCALSOCIAL = 37;
197
+ geekcodeLexer.POLITICSECONOMIC = 38;
198
+ geekcodeLexer.CYPHERPUNKS = 39;
199
+ geekcodeLexer.PGP = 40;
200
+ geekcodeLexer.STARTREK = 41;
201
+ geekcodeLexer.BABYLON5 = 42;
202
+ geekcodeLexer.XFILES = 43;
203
+ geekcodeLexer.ROLEPLAYING = 44;
204
+ geekcodeLexer.TELEVISION = 45;
205
+ geekcodeLexer.BOOKS = 46;
206
+ geekcodeLexer.DILBERT = 47;
207
+ geekcodeLexer.DOOM = 48;
208
+ geekcodeLexer.EDUCATION = 49;
209
+ geekcodeLexer.HOUSEING = 50;
210
+ geekcodeLexer.RELATIONSHIPS = 51;
211
+ geekcodeLexer.SEXU = 52;
212
+ geekcodeLexer.SEXM = 53;
213
+ geekcodeLexer.SEXF = 54;
214
+ geekcodeLexer.HAIR = 55;
215
+ geekcodeLexer.GLASSES = 56;
216
+ geekcodeLexer.PENS = 57;
217
+ geekcodeLexer.AUTO = 58;
218
+ geekcodeLexer.WEIRDNESS = 59;
219
+ geekcodeLexer.VERBAGE = 60;
220
+ geekcodeLexer.BSD386 = 61;
221
+ geekcodeLexer.JEOPARDY = 62;
222
+ geekcodeLexer.MAGIC = 63;
223
+ geekcodeLexer.BARNEY = 64;
224
+ geekcodeLexer.MUSIC = 65;
225
+ geekcodeLexer.FRIENDS = 66;
226
+ geekcodeLexer.NUTRITION = 67;
227
+ geekcodeLexer.GCODE = 68;
228
+ geekcodeLexer.ALPHA = 69;
229
+ geekcodeLexer.WS = 70;
230
+
231
+
232
+
@@ -0,0 +1,81 @@
1
+ // Generated from geekcode.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 geekcodeParser.
6
+ export default class geekcodeListener extends antlr4.tree.ParseTreeListener {
7
+
8
+ // Enter a parse tree produced by geekcodeParser#file_.
9
+ enterFile_(ctx) {
10
+ }
11
+
12
+ // Exit a parse tree produced by geekcodeParser#file_.
13
+ exitFile_(ctx) {
14
+ }
15
+
16
+
17
+ // Enter a parse tree produced by geekcodeParser#tuple.
18
+ enterTuple(ctx) {
19
+ }
20
+
21
+ // Exit a parse tree produced by geekcodeParser#tuple.
22
+ exitTuple(ctx) {
23
+ }
24
+
25
+
26
+ // Enter a parse tree produced by geekcodeParser#crossover.
27
+ enterCrossover(ctx) {
28
+ }
29
+
30
+ // Exit a parse tree produced by geekcodeParser#crossover.
31
+ exitCrossover(ctx) {
32
+ }
33
+
34
+
35
+ // Enter a parse tree produced by geekcodeParser#sizing.
36
+ enterSizing(ctx) {
37
+ }
38
+
39
+ // Exit a parse tree produced by geekcodeParser#sizing.
40
+ exitSizing(ctx) {
41
+ }
42
+
43
+
44
+ // Enter a parse tree produced by geekcodeParser#tupletyepe.
45
+ enterTupletyepe(ctx) {
46
+ }
47
+
48
+ // Exit a parse tree produced by geekcodeParser#tupletyepe.
49
+ exitTupletyepe(ctx) {
50
+ }
51
+
52
+
53
+ // Enter a parse tree produced by geekcodeParser#unixtuple.
54
+ enterUnixtuple(ctx) {
55
+ }
56
+
57
+ // Exit a parse tree produced by geekcodeParser#unixtuple.
58
+ exitUnixtuple(ctx) {
59
+ }
60
+
61
+
62
+ // Enter a parse tree produced by geekcodeParser#shapetuple.
63
+ enterShapetuple(ctx) {
64
+ }
65
+
66
+ // Exit a parse tree produced by geekcodeParser#shapetuple.
67
+ exitShapetuple(ctx) {
68
+ }
69
+
70
+
71
+ // Enter a parse tree produced by geekcodeParser#qualifier.
72
+ enterQualifier(ctx) {
73
+ }
74
+
75
+ // Exit a parse tree produced by geekcodeParser#qualifier.
76
+ exitQualifier(ctx) {
77
+ }
78
+
79
+
80
+
81
+ }