cariboujs 2.0.7 → 2.0.9
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 +6 -4
- package/asm/asm8080/asm8080Lexer.js +253 -152
- package/asm/asm8080/asm8080Listener.js +72 -0
- package/asm/asm8080/asm8080Parser.js +1307 -289
- package/asm/asm8080/asm8080Visitor.js +48 -0
- package/asm/asmZ80/asmZ80Lexer.js +152 -128
- package/asm/asmZ80/asmZ80Listener.js +9 -0
- package/asm/asmZ80/asmZ80Parser.js +316 -170
- package/asm/asmZ80/asmZ80Visitor.js +6 -0
- package/c/CParser.js +1352 -1344
- package/clif/CLIFLexer.js +173 -0
- package/clif/CLIFListener.js +198 -0
- package/clif/CLIFParser.js +2440 -0
- package/clif/CLIFVisitor.js +136 -0
- package/cypher/CypherLexer.js +208 -205
- package/cypher/CypherParser.js +1180 -984
- package/cypher/CypherParserListener.js +18 -0
- package/cypher/CypherParserVisitor.js +12 -0
- package/javascript/javascript/JavaScriptParser.js +607 -658
- package/javascript/javascript/JavaScriptParserListener.js +0 -9
- package/javascript/javascript/JavaScriptParserVisitor.js +0 -6
- package/package.json +1 -1
- package/promql/PromQLLexer.js +147 -142
- package/python/python3_14/PythonLexer.js +1238 -0
- package/python/python3_14/PythonLexerBase.js +819 -0
- package/python/{python3_13 → python3_14}/PythonParser.js +4141 -3347
- package/python/{python3_13 → python3_14}/PythonParserListener.js +81 -0
- package/python/{python3_13 → python3_14}/PythonParserVisitor.js +54 -0
- package/sql/mysql/Oracle/MySQLParser.js +3934 -3927
- package/sql/plsql/PlSqlLexer.js +12212 -12202
- package/sql/plsql/PlSqlParser.js +45094 -39280
- package/sql/plsql/PlSqlParserBase.js +31 -0
- package/sql/plsql/PlSqlParserListener.js +76 -4
- package/sql/plsql/PlSqlParserVisitor.js +50 -2
- package/sysml-v2/SysMLv2Lexer.js +617 -605
- package/sysml-v2/SysMLv2Parser.js +7135 -10083
- package/sysml-v2/SysMLv2ParserListener.js +45 -423
- package/sysml-v2/SysMLv2ParserVisitor.js +30 -282
- package/wkt/wktLexer.js +502 -173
- package/wkt/wktParser.js +7220 -1311
- package/wkt/wktParserListener.js +756 -0
- package/wkt/wktParserVisitor.js +508 -0
- package/xpath/xpath4/XPath4Lexer.js +667 -0
- package/xpath/xpath4/XPath4Parser.js +17424 -0
- package/xpath/xpath4/XPath4ParserBase.js +34 -0
- package/xpath/xpath4/XPath4ParserListener.js +1521 -0
- package/xpath/xpath4/XPath4ParserVisitor.js +1018 -0
- package/xquery/xquery4/XQuery4Lexer.js +1396 -0
- package/xquery/xquery4/XQuery4LexerBase.js +42 -0
- package/xquery/xquery4/XQuery4Parser.js +27899 -0
- package/xquery/xquery4/XQuery4ParserBase.js +38 -0
- package/xquery/xquery4/XQuery4ParserListener.js +2322 -0
- package/xquery/xquery4/XQuery4ParserVisitor.js +1552 -0
- package/awk/awkLexer.js +0 -317
- package/awk/awkListener.js +0 -378
- package/awk/awkParser.js +0 -5859
- package/awk/awkVisitor.js +0 -256
- package/python/python3_13/PythonLexer.js +0 -974
- package/python/python3_13/PythonLexerBase.js +0 -676
- package/wkt/wktListener.js +0 -261
- package/wkt/wktVisitor.js +0 -178
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
// Generated from CLIF.g4 by ANTLR 4.13.2
|
|
2
|
+
// jshint ignore: start
|
|
3
|
+
import antlr4 from 'antlr4';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
const serializedATN = [4,0,28,304,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,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,7,1,7,1,8,
|
|
12
|
+
1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,3,8,104,8,8,
|
|
13
|
+
1,9,1,9,1,10,1,10,1,11,1,11,1,12,4,12,113,8,12,11,12,12,12,114,1,13,1,13,
|
|
14
|
+
1,13,1,13,1,13,5,13,122,8,13,10,13,12,13,125,9,13,1,14,1,14,1,14,1,14,1,
|
|
15
|
+
14,1,14,1,14,1,14,1,14,5,14,136,8,14,10,14,12,14,139,9,14,1,14,1,14,1,15,
|
|
16
|
+
1,15,1,15,1,15,1,15,1,15,1,15,1,15,5,15,151,8,15,10,15,12,15,154,9,15,1,
|
|
17
|
+
15,1,15,1,16,1,16,1,17,1,17,1,17,1,17,1,18,1,18,1,18,1,19,1,19,1,19,1,19,
|
|
18
|
+
1,20,1,20,1,20,1,21,1,21,1,21,1,21,1,21,1,21,1,21,1,22,1,22,1,22,1,22,1,
|
|
19
|
+
22,1,22,1,22,1,23,1,23,1,23,1,23,1,24,1,24,1,24,1,24,1,24,1,24,1,24,1,24,
|
|
20
|
+
1,24,1,24,1,24,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,25,1,26,1,26,1,26,1,
|
|
21
|
+
26,1,26,1,26,1,26,1,26,1,26,1,26,1,26,1,27,1,27,1,27,1,27,1,27,1,27,1,27,
|
|
22
|
+
1,27,1,27,1,27,1,27,1,27,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,28,1,
|
|
23
|
+
28,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,29,1,30,1,30,1,30,
|
|
24
|
+
1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,31,1,31,1,31,1,31,1,31,5,31,270,8,31,
|
|
25
|
+
10,31,12,31,273,9,31,1,32,1,32,1,32,1,32,1,33,1,33,1,33,1,33,1,33,5,33,284,
|
|
26
|
+
8,33,10,33,12,33,287,9,33,1,33,1,33,1,33,1,33,1,33,1,34,1,34,1,34,1,34,5,
|
|
27
|
+
34,298,8,34,10,34,12,34,301,9,34,1,34,1,34,1,285,0,35,1,1,3,2,5,3,7,4,9,
|
|
28
|
+
5,11,0,13,0,15,0,17,0,19,0,21,0,23,0,25,6,27,7,29,8,31,9,33,10,35,11,37,
|
|
29
|
+
12,39,13,41,14,43,15,45,16,47,17,49,18,51,19,53,20,55,21,57,22,59,23,61,
|
|
30
|
+
24,63,25,65,26,67,27,69,28,1,0,5,5,0,33,33,35,38,42,63,65,91,93,126,1,0,
|
|
31
|
+
48,57,3,0,48,57,65,70,97,102,3,0,9,11,13,13,32,32,2,0,10,10,13,13,321,0,
|
|
32
|
+
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,0,0,0,25,1,0,0,0,0,
|
|
33
|
+
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,0,0,0,37,1,0,
|
|
34
|
+
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,1,0,0,0,0,49,
|
|
35
|
+
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,0,59,1,0,0,0,
|
|
36
|
+
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,0,0,0,1,71,1,
|
|
37
|
+
0,0,0,3,73,1,0,0,0,5,75,1,0,0,0,7,77,1,0,0,0,9,79,1,0,0,0,11,81,1,0,0,0,
|
|
38
|
+
13,83,1,0,0,0,15,85,1,0,0,0,17,103,1,0,0,0,19,105,1,0,0,0,21,107,1,0,0,0,
|
|
39
|
+
23,109,1,0,0,0,25,112,1,0,0,0,27,116,1,0,0,0,29,126,1,0,0,0,31,142,1,0,0,
|
|
40
|
+
0,33,157,1,0,0,0,35,159,1,0,0,0,37,163,1,0,0,0,39,166,1,0,0,0,41,170,1,0,
|
|
41
|
+
0,0,43,173,1,0,0,0,45,180,1,0,0,0,47,187,1,0,0,0,49,191,1,0,0,0,51,202,1,
|
|
42
|
+
0,0,0,53,210,1,0,0,0,55,221,1,0,0,0,57,233,1,0,0,0,59,243,1,0,0,0,61,254,
|
|
43
|
+
1,0,0,0,63,264,1,0,0,0,65,274,1,0,0,0,67,278,1,0,0,0,69,293,1,0,0,0,71,72,
|
|
44
|
+
5,40,0,0,72,2,1,0,0,0,73,74,5,41,0,0,74,4,1,0,0,0,75,76,5,39,0,0,76,6,1,
|
|
45
|
+
0,0,0,77,78,5,34,0,0,78,8,1,0,0,0,79,80,5,92,0,0,80,10,1,0,0,0,81,82,7,0,
|
|
46
|
+
0,0,82,12,1,0,0,0,83,84,7,1,0,0,84,14,1,0,0,0,85,86,7,2,0,0,86,16,1,0,0,
|
|
47
|
+
0,87,88,5,92,0,0,88,89,5,117,0,0,89,90,3,15,7,0,90,91,3,15,7,0,91,92,3,15,
|
|
48
|
+
7,0,92,93,3,15,7,0,93,104,1,0,0,0,94,95,5,92,0,0,95,96,5,85,0,0,96,97,3,
|
|
49
|
+
15,7,0,97,98,3,15,7,0,98,99,3,15,7,0,99,100,3,15,7,0,100,101,3,15,7,0,101,
|
|
50
|
+
102,3,15,7,0,102,104,1,0,0,0,103,87,1,0,0,0,103,94,1,0,0,0,104,18,1,0,0,
|
|
51
|
+
0,105,106,5,39,0,0,106,20,1,0,0,0,107,108,5,34,0,0,108,22,1,0,0,0,109,110,
|
|
52
|
+
5,92,0,0,110,24,1,0,0,0,111,113,3,13,6,0,112,111,1,0,0,0,113,114,1,0,0,0,
|
|
53
|
+
114,112,1,0,0,0,114,115,1,0,0,0,115,26,1,0,0,0,116,117,5,46,0,0,117,118,
|
|
54
|
+
5,46,0,0,118,119,5,46,0,0,119,123,1,0,0,0,120,122,3,11,5,0,121,120,1,0,0,
|
|
55
|
+
0,122,125,1,0,0,0,123,121,1,0,0,0,123,124,1,0,0,0,124,28,1,0,0,0,125,123,
|
|
56
|
+
1,0,0,0,126,137,3,5,2,0,127,136,3,65,32,0,128,136,3,1,0,0,129,136,3,3,1,
|
|
57
|
+
0,130,136,3,11,5,0,131,136,3,17,8,0,132,136,3,7,3,0,133,136,3,19,9,0,134,
|
|
58
|
+
136,3,23,11,0,135,127,1,0,0,0,135,128,1,0,0,0,135,129,1,0,0,0,135,130,1,
|
|
59
|
+
0,0,0,135,131,1,0,0,0,135,132,1,0,0,0,135,133,1,0,0,0,135,134,1,0,0,0,136,
|
|
60
|
+
139,1,0,0,0,137,135,1,0,0,0,137,138,1,0,0,0,138,140,1,0,0,0,139,137,1,0,
|
|
61
|
+
0,0,140,141,3,5,2,0,141,30,1,0,0,0,142,152,3,7,3,0,143,151,3,65,32,0,144,
|
|
62
|
+
151,3,1,0,0,145,151,3,3,1,0,146,151,3,11,5,0,147,151,3,17,8,0,148,151,3,
|
|
63
|
+
5,2,0,149,151,3,21,10,0,150,143,1,0,0,0,150,144,1,0,0,0,150,145,1,0,0,0,
|
|
64
|
+
150,146,1,0,0,0,150,147,1,0,0,0,150,148,1,0,0,0,150,149,1,0,0,0,151,154,
|
|
65
|
+
1,0,0,0,152,150,1,0,0,0,152,153,1,0,0,0,153,155,1,0,0,0,154,152,1,0,0,0,
|
|
66
|
+
155,156,3,7,3,0,156,32,1,0,0,0,157,158,5,61,0,0,158,34,1,0,0,0,159,160,5,
|
|
67
|
+
97,0,0,160,161,5,110,0,0,161,162,5,100,0,0,162,36,1,0,0,0,163,164,5,111,
|
|
68
|
+
0,0,164,165,5,114,0,0,165,38,1,0,0,0,166,167,5,105,0,0,167,168,5,102,0,0,
|
|
69
|
+
168,169,5,102,0,0,169,40,1,0,0,0,170,171,5,105,0,0,171,172,5,102,0,0,172,
|
|
70
|
+
42,1,0,0,0,173,174,5,102,0,0,174,175,5,111,0,0,175,176,5,114,0,0,176,177,
|
|
71
|
+
5,97,0,0,177,178,5,108,0,0,178,179,5,108,0,0,179,44,1,0,0,0,180,181,5,101,
|
|
72
|
+
0,0,181,182,5,120,0,0,182,183,5,105,0,0,183,184,5,115,0,0,184,185,5,116,
|
|
73
|
+
0,0,185,186,5,115,0,0,186,46,1,0,0,0,187,188,5,110,0,0,188,189,5,111,0,0,
|
|
74
|
+
189,190,5,116,0,0,190,48,1,0,0,0,191,192,5,99,0,0,192,193,5,108,0,0,193,
|
|
75
|
+
194,5,45,0,0,194,195,5,114,0,0,195,196,5,111,0,0,196,197,5,108,0,0,197,198,
|
|
76
|
+
5,101,0,0,198,199,5,115,0,0,199,200,5,101,0,0,200,201,5,116,0,0,201,50,1,
|
|
77
|
+
0,0,0,202,203,5,99,0,0,203,204,5,108,0,0,204,205,5,45,0,0,205,206,5,116,
|
|
78
|
+
0,0,206,207,5,101,0,0,207,208,5,120,0,0,208,209,5,116,0,0,209,52,1,0,0,0,
|
|
79
|
+
210,211,5,99,0,0,211,212,5,108,0,0,212,213,5,45,0,0,213,214,5,105,0,0,214,
|
|
80
|
+
215,5,109,0,0,215,216,5,112,0,0,216,217,5,111,0,0,217,218,5,114,0,0,218,
|
|
81
|
+
219,5,116,0,0,219,220,5,115,0,0,220,54,1,0,0,0,221,222,5,99,0,0,222,223,
|
|
82
|
+
5,108,0,0,223,224,5,45,0,0,224,225,5,101,0,0,225,226,5,120,0,0,226,227,5,
|
|
83
|
+
99,0,0,227,228,5,108,0,0,228,229,5,117,0,0,229,230,5,100,0,0,230,231,5,101,
|
|
84
|
+
0,0,231,232,5,115,0,0,232,56,1,0,0,0,233,234,5,99,0,0,234,235,5,108,0,0,
|
|
85
|
+
235,236,5,45,0,0,236,237,5,109,0,0,237,238,5,111,0,0,238,239,5,100,0,0,239,
|
|
86
|
+
240,5,117,0,0,240,241,5,108,0,0,241,242,5,101,0,0,242,58,1,0,0,0,243,244,
|
|
87
|
+
5,99,0,0,244,245,5,108,0,0,245,246,5,45,0,0,246,247,5,99,0,0,247,248,5,111,
|
|
88
|
+
0,0,248,249,5,109,0,0,249,250,5,109,0,0,250,251,5,101,0,0,251,252,5,110,
|
|
89
|
+
0,0,252,253,5,116,0,0,253,60,1,0,0,0,254,255,5,99,0,0,255,256,5,108,0,0,
|
|
90
|
+
256,257,5,45,0,0,257,258,5,112,0,0,258,259,5,114,0,0,259,260,5,101,0,0,260,
|
|
91
|
+
261,5,102,0,0,261,262,5,105,0,0,262,263,5,120,0,0,263,62,1,0,0,0,264,271,
|
|
92
|
+
3,11,5,0,265,270,3,11,5,0,266,270,3,5,2,0,267,270,3,7,3,0,268,270,3,9,4,
|
|
93
|
+
0,269,265,1,0,0,0,269,266,1,0,0,0,269,267,1,0,0,0,269,268,1,0,0,0,270,273,
|
|
94
|
+
1,0,0,0,271,269,1,0,0,0,271,272,1,0,0,0,272,64,1,0,0,0,273,271,1,0,0,0,274,
|
|
95
|
+
275,7,3,0,0,275,276,1,0,0,0,276,277,6,32,0,0,277,66,1,0,0,0,278,279,5,47,
|
|
96
|
+
0,0,279,280,5,42,0,0,280,285,1,0,0,0,281,284,3,67,33,0,282,284,9,0,0,0,283,
|
|
97
|
+
281,1,0,0,0,283,282,1,0,0,0,284,287,1,0,0,0,285,286,1,0,0,0,285,283,1,0,
|
|
98
|
+
0,0,286,288,1,0,0,0,287,285,1,0,0,0,288,289,5,42,0,0,289,290,5,47,0,0,290,
|
|
99
|
+
291,1,0,0,0,291,292,6,33,0,0,292,68,1,0,0,0,293,294,5,47,0,0,294,295,5,47,
|
|
100
|
+
0,0,295,299,1,0,0,0,296,298,8,4,0,0,297,296,1,0,0,0,298,301,1,0,0,0,299,
|
|
101
|
+
297,1,0,0,0,299,300,1,0,0,0,300,302,1,0,0,0,301,299,1,0,0,0,302,303,6,34,
|
|
102
|
+
0,0,303,70,1,0,0,0,13,0,103,114,123,135,137,150,152,269,271,283,285,299,
|
|
103
|
+
1,6,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 CLIFLexer extends antlr4.Lexer {
|
|
111
|
+
|
|
112
|
+
static grammarFileName = "CLIF.g4";
|
|
113
|
+
static channelNames = [ "DEFAULT_TOKEN_CHANNEL", "HIDDEN" ];
|
|
114
|
+
static modeNames = [ "DEFAULT_MODE" ];
|
|
115
|
+
static literalNames = [ null, "'('", "')'", "'''", "'\"'", "'\\'", null,
|
|
116
|
+
null, null, null, "'='", "'and'", "'or'", "'iff'",
|
|
117
|
+
"'if'", "'forall'", "'exists'", "'not'", "'cl-roleset'",
|
|
118
|
+
"'cl-text'", "'cl-imports'", "'cl-excludes'", "'cl-module'",
|
|
119
|
+
"'cl-comment'", "'cl-prefix'" ];
|
|
120
|
+
static symbolicNames = [ null, "OPEN", "CLOSE", "STRINGQUOTE", "NAMEQUOTE",
|
|
121
|
+
"BACKSLASH", "NUMERAL", "SEQMARK", "QUOTEDSTRING",
|
|
122
|
+
"ENCLOSEDNAME", "EQUAL", "AND", "OR", "IFF", "IF",
|
|
123
|
+
"FORALL", "EXISTS", "NOT", "CL_ROLESET", "CL_TEXT",
|
|
124
|
+
"CL_IMPORTS", "CL_EXCLUDES", "CL_MODULE", "CL_COMMENT",
|
|
125
|
+
"CL_PREFIX", "NAMECHARSEQUENCE", "WHITE", "BLOCKCOMMENT",
|
|
126
|
+
"LineComment" ];
|
|
127
|
+
static ruleNames = [ "OPEN", "CLOSE", "STRINGQUOTE", "NAMEQUOTE", "BACKSLASH",
|
|
128
|
+
"CHAR", "DIGIT", "HEXA", "NONASCII", "INNERSTRINGQUOTE",
|
|
129
|
+
"INNERNAMEQUOTE", "INNERBACKSLASH", "NUMERAL", "SEQMARK",
|
|
130
|
+
"QUOTEDSTRING", "ENCLOSEDNAME", "EQUAL", "AND", "OR",
|
|
131
|
+
"IFF", "IF", "FORALL", "EXISTS", "NOT", "CL_ROLESET",
|
|
132
|
+
"CL_TEXT", "CL_IMPORTS", "CL_EXCLUDES", "CL_MODULE",
|
|
133
|
+
"CL_COMMENT", "CL_PREFIX", "NAMECHARSEQUENCE", "WHITE",
|
|
134
|
+
"BLOCKCOMMENT", "LineComment" ];
|
|
135
|
+
|
|
136
|
+
constructor(input) {
|
|
137
|
+
super(input)
|
|
138
|
+
this._interp = new antlr4.atn.LexerATNSimulator(this, atn, decisionsToDFA, new antlr4.atn.PredictionContextCache());
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
CLIFLexer.EOF = antlr4.Token.EOF;
|
|
143
|
+
CLIFLexer.OPEN = 1;
|
|
144
|
+
CLIFLexer.CLOSE = 2;
|
|
145
|
+
CLIFLexer.STRINGQUOTE = 3;
|
|
146
|
+
CLIFLexer.NAMEQUOTE = 4;
|
|
147
|
+
CLIFLexer.BACKSLASH = 5;
|
|
148
|
+
CLIFLexer.NUMERAL = 6;
|
|
149
|
+
CLIFLexer.SEQMARK = 7;
|
|
150
|
+
CLIFLexer.QUOTEDSTRING = 8;
|
|
151
|
+
CLIFLexer.ENCLOSEDNAME = 9;
|
|
152
|
+
CLIFLexer.EQUAL = 10;
|
|
153
|
+
CLIFLexer.AND = 11;
|
|
154
|
+
CLIFLexer.OR = 12;
|
|
155
|
+
CLIFLexer.IFF = 13;
|
|
156
|
+
CLIFLexer.IF = 14;
|
|
157
|
+
CLIFLexer.FORALL = 15;
|
|
158
|
+
CLIFLexer.EXISTS = 16;
|
|
159
|
+
CLIFLexer.NOT = 17;
|
|
160
|
+
CLIFLexer.CL_ROLESET = 18;
|
|
161
|
+
CLIFLexer.CL_TEXT = 19;
|
|
162
|
+
CLIFLexer.CL_IMPORTS = 20;
|
|
163
|
+
CLIFLexer.CL_EXCLUDES = 21;
|
|
164
|
+
CLIFLexer.CL_MODULE = 22;
|
|
165
|
+
CLIFLexer.CL_COMMENT = 23;
|
|
166
|
+
CLIFLexer.CL_PREFIX = 24;
|
|
167
|
+
CLIFLexer.NAMECHARSEQUENCE = 25;
|
|
168
|
+
CLIFLexer.WHITE = 26;
|
|
169
|
+
CLIFLexer.BLOCKCOMMENT = 27;
|
|
170
|
+
CLIFLexer.LineComment = 28;
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
// Generated from CLIF.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 CLIFParser.
|
|
6
|
+
export default class CLIFListener extends antlr4.tree.ParseTreeListener {
|
|
7
|
+
|
|
8
|
+
// Enter a parse tree produced by CLIFParser#start_.
|
|
9
|
+
enterStart_(ctx) {
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// Exit a parse tree produced by CLIFParser#start_.
|
|
13
|
+
exitStart_(ctx) {
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
// Enter a parse tree produced by CLIFParser#termseq.
|
|
18
|
+
enterTermseq(ctx) {
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Exit a parse tree produced by CLIFParser#termseq.
|
|
22
|
+
exitTermseq(ctx) {
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
// Enter a parse tree produced by CLIFParser#interpretedname.
|
|
27
|
+
enterInterpretedname(ctx) {
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Exit a parse tree produced by CLIFParser#interpretedname.
|
|
31
|
+
exitInterpretedname(ctx) {
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
// Enter a parse tree produced by CLIFParser#interpretablename.
|
|
36
|
+
enterInterpretablename(ctx) {
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// Exit a parse tree produced by CLIFParser#interpretablename.
|
|
40
|
+
exitInterpretablename(ctx) {
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
// Enter a parse tree produced by CLIFParser#name.
|
|
45
|
+
enterName(ctx) {
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Exit a parse tree produced by CLIFParser#name.
|
|
49
|
+
exitName(ctx) {
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
// Enter a parse tree produced by CLIFParser#term.
|
|
54
|
+
enterTerm(ctx) {
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Exit a parse tree produced by CLIFParser#term.
|
|
58
|
+
exitTerm(ctx) {
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
// Enter a parse tree produced by CLIFParser#operator_.
|
|
63
|
+
enterOperator_(ctx) {
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Exit a parse tree produced by CLIFParser#operator_.
|
|
67
|
+
exitOperator_(ctx) {
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
// Enter a parse tree produced by CLIFParser#equation.
|
|
72
|
+
enterEquation(ctx) {
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// Exit a parse tree produced by CLIFParser#equation.
|
|
76
|
+
exitEquation(ctx) {
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
// Enter a parse tree produced by CLIFParser#sentence.
|
|
81
|
+
enterSentence(ctx) {
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// Exit a parse tree produced by CLIFParser#sentence.
|
|
85
|
+
exitSentence(ctx) {
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
// Enter a parse tree produced by CLIFParser#atomsent.
|
|
90
|
+
enterAtomsent(ctx) {
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// Exit a parse tree produced by CLIFParser#atomsent.
|
|
94
|
+
exitAtomsent(ctx) {
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
// Enter a parse tree produced by CLIFParser#atom.
|
|
99
|
+
enterAtom(ctx) {
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// Exit a parse tree produced by CLIFParser#atom.
|
|
103
|
+
exitAtom(ctx) {
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
// Enter a parse tree produced by CLIFParser#predicate.
|
|
108
|
+
enterPredicate(ctx) {
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// Exit a parse tree produced by CLIFParser#predicate.
|
|
112
|
+
exitPredicate(ctx) {
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
// Enter a parse tree produced by CLIFParser#boolsent.
|
|
117
|
+
enterBoolsent(ctx) {
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// Exit a parse tree produced by CLIFParser#boolsent.
|
|
121
|
+
exitBoolsent(ctx) {
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
// Enter a parse tree produced by CLIFParser#quantsent.
|
|
126
|
+
enterQuantsent(ctx) {
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// Exit a parse tree produced by CLIFParser#quantsent.
|
|
130
|
+
exitQuantsent(ctx) {
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
// Enter a parse tree produced by CLIFParser#boundlist.
|
|
135
|
+
enterBoundlist(ctx) {
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// Exit a parse tree produced by CLIFParser#boundlist.
|
|
139
|
+
exitBoundlist(ctx) {
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
// Enter a parse tree produced by CLIFParser#commentsent.
|
|
144
|
+
enterCommentsent(ctx) {
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// Exit a parse tree produced by CLIFParser#commentsent.
|
|
148
|
+
exitCommentsent(ctx) {
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
// Enter a parse tree produced by CLIFParser#module.
|
|
153
|
+
enterModule(ctx) {
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
// Exit a parse tree produced by CLIFParser#module.
|
|
157
|
+
exitModule(ctx) {
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
// Enter a parse tree produced by CLIFParser#phrase.
|
|
162
|
+
enterPhrase(ctx) {
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// Exit a parse tree produced by CLIFParser#phrase.
|
|
166
|
+
exitPhrase(ctx) {
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
// Enter a parse tree produced by CLIFParser#text_.
|
|
171
|
+
enterText_(ctx) {
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
// Exit a parse tree produced by CLIFParser#text_.
|
|
175
|
+
exitText_(ctx) {
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
// Enter a parse tree produced by CLIFParser#cltext.
|
|
180
|
+
enterCltext(ctx) {
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
// Exit a parse tree produced by CLIFParser#cltext.
|
|
184
|
+
exitCltext(ctx) {
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
// Enter a parse tree produced by CLIFParser#namedtext.
|
|
189
|
+
enterNamedtext(ctx) {
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
// Exit a parse tree produced by CLIFParser#namedtext.
|
|
193
|
+
exitNamedtext(ctx) {
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
}
|