cariboujs 2.0.3 → 2.0.5
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 +330 -324
- 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 +846 -603
- package/c/CLexerBase.js +96 -0
- package/c/CParser.js +8798 -4776
- package/c/CParserBase.js +591 -0
- package/c/{CListener.js → CParserListener.js} +382 -112
- package/c/{CVisitor.js → CParserVisitor.js} +252 -72
- package/c/ErrorListener.js +50 -0
- package/c/Symbol.js +28 -0
- package/c/SymbolTable.js +215 -0
- package/c/TypeClassification.js +21 -0
- package/cpp/CPP14Parser.js +215 -215
- package/cpp/CPP14ParserListener.js +56 -56
- package/cpp/CPP14ParserVisitor.js +28 -28
- package/cql3/CqlLexer.js +708 -692
- package/cql3/CqlParser.js +3356 -2802
- package/cql3/CqlParserListener.js +36 -0
- package/cql3/CqlParserVisitor.js +24 -0
- 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 +45044 -0
- package/csharp/v8-spec/CSharpParserBase.js +569 -0
- package/csharp/v8-spec/CSharpParserListener.js +3582 -0
- package/csharp/v8-spec/CSharpParserVisitor.js +2392 -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/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/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/cockroachdb/CockroachDBLexer.js +3865 -0
- package/sql/cockroachdb/CockroachDBParser.js +123259 -0
- package/sql/cockroachdb/CockroachDBParserListener.js +7281 -0
- package/sql/cockroachdb/CockroachDBParserVisitor.js +4858 -0
- package/sql/plsql/PlSqlParser.js +27187 -42911
- package/sql/plsql/PlSqlParserBase.js +30 -0
- package/sql/plsql/PlSqlParserListener.js +0 -9
- package/sql/plsql/PlSqlParserVisitor.js +0 -6
- package/sql/snowflake/SnowflakeLexer.js +5675 -5497
- package/sql/snowflake/SnowflakeParser.js +27230 -22653
- package/sql/snowflake/SnowflakeParserListener.js +278 -8
- package/sql/snowflake/SnowflakeParserVisitor.js +184 -4
- package/sql/sqlite/SQLiteParser.js +1115 -1115
- 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/plantUML/PlantUMLListener.js +0 -279
- package/plantUML/PlantUMLVisitor.js +0 -190
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
// Generated from PlantUMLParser.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 PlantUMLParser.
|
|
6
|
+
export default class PlantUMLParserListener extends antlr4.tree.ParseTreeListener {
|
|
7
|
+
|
|
8
|
+
// Enter a parse tree produced by PlantUMLParser#entry_.
|
|
9
|
+
enterEntry_(ctx) {
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// Exit a parse tree produced by PlantUMLParser#entry_.
|
|
13
|
+
exitEntry_(ctx) {
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
// Enter a parse tree produced by PlantUMLParser#uml.
|
|
18
|
+
enterUml(ctx) {
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Exit a parse tree produced by PlantUMLParser#uml.
|
|
22
|
+
exitUml(ctx) {
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
// Enter a parse tree produced by PlantUMLParser#class_dclr.
|
|
27
|
+
enterClass_dclr(ctx) {
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Exit a parse tree produced by PlantUMLParser#class_dclr.
|
|
31
|
+
exitClass_dclr(ctx) {
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
// Enter a parse tree produced by PlantUMLParser#class_body.
|
|
36
|
+
enterClass_body(ctx) {
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// Exit a parse tree produced by PlantUMLParser#class_body.
|
|
40
|
+
exitClass_body(ctx) {
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
// Enter a parse tree produced by PlantUMLParser#body_content.
|
|
45
|
+
enterBody_content(ctx) {
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Exit a parse tree produced by PlantUMLParser#body_content.
|
|
49
|
+
exitBody_content(ctx) {
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
// Enter a parse tree produced by PlantUMLParser#nested_body.
|
|
54
|
+
enterNested_body(ctx) {
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Exit a parse tree produced by PlantUMLParser#nested_body.
|
|
58
|
+
exitNested_body(ctx) {
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
// Enter a parse tree produced by PlantUMLParser#class_type.
|
|
63
|
+
enterClass_type(ctx) {
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// Exit a parse tree produced by PlantUMLParser#class_type.
|
|
67
|
+
exitClass_type(ctx) {
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
// Enter a parse tree produced by PlantUMLParser#stereotype.
|
|
72
|
+
enterStereotype(ctx) {
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// Exit a parse tree produced by PlantUMLParser#stereotype.
|
|
76
|
+
exitStereotype(ctx) {
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
// Enter a parse tree produced by PlantUMLParser#extension_dclr.
|
|
81
|
+
enterExtension_dclr(ctx) {
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// Exit a parse tree produced by PlantUMLParser#extension_dclr.
|
|
85
|
+
exitExtension_dclr(ctx) {
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
// Enter a parse tree produced by PlantUMLParser#ident.
|
|
90
|
+
enterIdent(ctx) {
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// Exit a parse tree produced by PlantUMLParser#ident.
|
|
94
|
+
exitIdent(ctx) {
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
// Enter a parse tree produced by PlantUMLParser#enum_dclr.
|
|
99
|
+
enterEnum_dclr(ctx) {
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// Exit a parse tree produced by PlantUMLParser#enum_dclr.
|
|
103
|
+
exitEnum_dclr(ctx) {
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
// Enter a parse tree produced by PlantUMLParser#association_dclr.
|
|
108
|
+
enterAssociation_dclr(ctx) {
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// Exit a parse tree produced by PlantUMLParser#association_dclr.
|
|
112
|
+
exitAssociation_dclr(ctx) {
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
// Enter a parse tree produced by PlantUMLParser#relation.
|
|
117
|
+
enterRelation(ctx) {
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// Exit a parse tree produced by PlantUMLParser#relation.
|
|
121
|
+
exitRelation(ctx) {
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
// Enter a parse tree produced by PlantUMLParser#association_left.
|
|
126
|
+
enterAssociation_left(ctx) {
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// Exit a parse tree produced by PlantUMLParser#association_left.
|
|
130
|
+
exitAssociation_left(ctx) {
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
// Enter a parse tree produced by PlantUMLParser#association_right.
|
|
135
|
+
enterAssociation_right(ctx) {
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// Exit a parse tree produced by PlantUMLParser#association_right.
|
|
139
|
+
exitAssociation_right(ctx) {
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
// Enter a parse tree produced by PlantUMLParser#association_detail.
|
|
144
|
+
enterAssociation_detail(ctx) {
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// Exit a parse tree produced by PlantUMLParser#association_detail.
|
|
148
|
+
exitAssociation_detail(ctx) {
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
// Enter a parse tree produced by PlantUMLParser#association_name.
|
|
153
|
+
enterAssociation_name(ctx) {
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
// Exit a parse tree produced by PlantUMLParser#association_name.
|
|
157
|
+
exitAssociation_name(ctx) {
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
// Enter a parse tree produced by PlantUMLParser#associative_class_dclr.
|
|
162
|
+
enterAssociative_class_dclr(ctx) {
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// Exit a parse tree produced by PlantUMLParser#associative_class_dclr.
|
|
166
|
+
exitAssociative_class_dclr(ctx) {
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
// Generated from PlantUMLParser.g4 by ANTLR 4.13.2
|
|
2
|
+
// jshint ignore: start
|
|
3
|
+
import antlr4 from 'antlr4';
|
|
4
|
+
|
|
5
|
+
// This class defines a complete generic visitor for a parse tree produced by PlantUMLParser.
|
|
6
|
+
|
|
7
|
+
export default class PlantUMLParserVisitor extends antlr4.tree.ParseTreeVisitor {
|
|
8
|
+
|
|
9
|
+
// Visit a parse tree produced by PlantUMLParser#entry_.
|
|
10
|
+
visitEntry_(ctx) {
|
|
11
|
+
return this.visitChildren(ctx);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
// Visit a parse tree produced by PlantUMLParser#uml.
|
|
16
|
+
visitUml(ctx) {
|
|
17
|
+
return this.visitChildren(ctx);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
// Visit a parse tree produced by PlantUMLParser#class_dclr.
|
|
22
|
+
visitClass_dclr(ctx) {
|
|
23
|
+
return this.visitChildren(ctx);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
// Visit a parse tree produced by PlantUMLParser#class_body.
|
|
28
|
+
visitClass_body(ctx) {
|
|
29
|
+
return this.visitChildren(ctx);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
// Visit a parse tree produced by PlantUMLParser#body_content.
|
|
34
|
+
visitBody_content(ctx) {
|
|
35
|
+
return this.visitChildren(ctx);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
// Visit a parse tree produced by PlantUMLParser#nested_body.
|
|
40
|
+
visitNested_body(ctx) {
|
|
41
|
+
return this.visitChildren(ctx);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
// Visit a parse tree produced by PlantUMLParser#class_type.
|
|
46
|
+
visitClass_type(ctx) {
|
|
47
|
+
return this.visitChildren(ctx);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
// Visit a parse tree produced by PlantUMLParser#stereotype.
|
|
52
|
+
visitStereotype(ctx) {
|
|
53
|
+
return this.visitChildren(ctx);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
// Visit a parse tree produced by PlantUMLParser#extension_dclr.
|
|
58
|
+
visitExtension_dclr(ctx) {
|
|
59
|
+
return this.visitChildren(ctx);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
// Visit a parse tree produced by PlantUMLParser#ident.
|
|
64
|
+
visitIdent(ctx) {
|
|
65
|
+
return this.visitChildren(ctx);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
// Visit a parse tree produced by PlantUMLParser#enum_dclr.
|
|
70
|
+
visitEnum_dclr(ctx) {
|
|
71
|
+
return this.visitChildren(ctx);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
// Visit a parse tree produced by PlantUMLParser#association_dclr.
|
|
76
|
+
visitAssociation_dclr(ctx) {
|
|
77
|
+
return this.visitChildren(ctx);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
// Visit a parse tree produced by PlantUMLParser#relation.
|
|
82
|
+
visitRelation(ctx) {
|
|
83
|
+
return this.visitChildren(ctx);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
// Visit a parse tree produced by PlantUMLParser#association_left.
|
|
88
|
+
visitAssociation_left(ctx) {
|
|
89
|
+
return this.visitChildren(ctx);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
// Visit a parse tree produced by PlantUMLParser#association_right.
|
|
94
|
+
visitAssociation_right(ctx) {
|
|
95
|
+
return this.visitChildren(ctx);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
// Visit a parse tree produced by PlantUMLParser#association_detail.
|
|
100
|
+
visitAssociation_detail(ctx) {
|
|
101
|
+
return this.visitChildren(ctx);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
// Visit a parse tree produced by PlantUMLParser#association_name.
|
|
106
|
+
visitAssociation_name(ctx) {
|
|
107
|
+
return this.visitChildren(ctx);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
// Visit a parse tree produced by PlantUMLParser#associative_class_dclr.
|
|
112
|
+
visitAssociative_class_dclr(ctx) {
|
|
113
|
+
return this.visitChildren(ctx);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
}
|