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
package/cpp/CPP14Parser.js
CHANGED
|
@@ -856,7 +856,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
856
856
|
"unqualifiedId", "qualifiedId", "nestedNameSpecifier",
|
|
857
857
|
"lambdaExpression", "lambdaIntroducer", "lambdaCapture",
|
|
858
858
|
"captureDefault", "captureList", "capture", "simpleCapture",
|
|
859
|
-
"
|
|
859
|
+
"initCapture", "lambdaDeclarator", "postfixExpression",
|
|
860
860
|
"typeIdOfTheTypeId", "expressionList", "pseudoDestructorName",
|
|
861
861
|
"unaryExpression", "unaryOperator", "newExpression_",
|
|
862
862
|
"newPlacement", "newTypeId", "newDeclarator_",
|
|
@@ -872,7 +872,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
872
872
|
"expressionStatement", "compoundStatement", "statementSeq",
|
|
873
873
|
"selectionStatement", "condition", "iterationStatement",
|
|
874
874
|
"forInitStatement", "forRangeDeclaration", "forRangeInitializer",
|
|
875
|
-
"jumpStatement", "declarationStatement", "
|
|
875
|
+
"jumpStatement", "declarationStatement", "declarationSeq",
|
|
876
876
|
"declaration", "blockDeclaration", "aliasDeclaration",
|
|
877
877
|
"simpleDeclaration", "staticAssertDeclaration",
|
|
878
878
|
"emptyDeclaration_", "attributeDeclaration", "declSpecifier",
|
|
@@ -882,20 +882,20 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
882
882
|
"simpleTypeLengthModifier", "simpleTypeSignednessModifier",
|
|
883
883
|
"simpleTypeSpecifier", "theTypeName", "decltypeSpecifier",
|
|
884
884
|
"elaboratedTypeSpecifier", "enumName", "enumSpecifier",
|
|
885
|
-
"enumHead", "opaqueEnumDeclaration", "
|
|
886
|
-
"
|
|
885
|
+
"enumHead", "opaqueEnumDeclaration", "enumKey",
|
|
886
|
+
"enumBase", "enumeratorList", "enumeratorDefinition",
|
|
887
887
|
"enumerator", "namespaceName", "originalNamespaceName",
|
|
888
888
|
"namespaceDefinition", "namespaceAlias", "namespaceAliasDefinition",
|
|
889
|
-
"
|
|
889
|
+
"qualifiedNamespaceSpecifier", "usingDeclaration",
|
|
890
890
|
"usingDirective", "asmDefinition", "linkageSpecification",
|
|
891
891
|
"attributeSpecifierSeq", "attributeSpecifier",
|
|
892
|
-
"
|
|
892
|
+
"alignmentSpecifier", "attributeList", "attribute",
|
|
893
893
|
"attributeNamespace", "attributeArgumentClause",
|
|
894
|
-
"balancedTokenSeq", "
|
|
894
|
+
"balancedTokenSeq", "balancedToken", "initDeclaratorList",
|
|
895
895
|
"initDeclarator", "declarator", "pointerDeclarator",
|
|
896
896
|
"noPointerDeclarator", "parametersAndQualifiers",
|
|
897
|
-
"trailingReturnType", "pointerOperator", "
|
|
898
|
-
"cvQualifier", "
|
|
897
|
+
"trailingReturnType", "pointerOperator", "cvQualifierSeq",
|
|
898
|
+
"cvQualifier", "refQualifier", "declaratorId",
|
|
899
899
|
"theTypeId", "abstractDeclarator", "pointerAbstractDeclarator",
|
|
900
900
|
"noPointerAbstractDeclarator", "abstractPackDeclarator",
|
|
901
901
|
"noPointerAbstractPackDeclarator", "parameterDeclarationClause",
|
|
@@ -905,21 +905,21 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
905
905
|
"initializerList", "bracedInitList", "className",
|
|
906
906
|
"classSpecifier", "classHead", "classHeadName",
|
|
907
907
|
"classVirtSpecifier", "classKey", "memberSpecification",
|
|
908
|
-
"
|
|
908
|
+
"memberDeclaration", "memberDeclaratorList", "memberDeclarator",
|
|
909
909
|
"virtualSpecifierSeq", "virtualSpecifier", "pureSpecifier",
|
|
910
910
|
"baseClause", "baseSpecifierList", "baseSpecifier",
|
|
911
911
|
"classOrDeclType", "baseTypeSpecifier", "accessSpecifier",
|
|
912
912
|
"conversionFunctionId", "conversionTypeId", "conversionDeclarator",
|
|
913
913
|
"constructorInitializer", "memInitializerList",
|
|
914
|
-
"memInitializer", "
|
|
915
|
-
"literalOperatorId", "templateDeclaration", "
|
|
914
|
+
"memInitializer", "memInitializerId", "operatorFunctionId",
|
|
915
|
+
"literalOperatorId", "templateDeclaration", "templateParameterList",
|
|
916
916
|
"templateParameter", "typeParameter", "simpleTemplateId",
|
|
917
917
|
"templateId", "templateName", "templateArgumentList",
|
|
918
918
|
"templateArgument", "typeNameSpecifier", "explicitInstantiation",
|
|
919
919
|
"explicitSpecialization", "tryBlock", "functionTryBlock",
|
|
920
920
|
"handlerSeq", "handler", "exceptionDeclaration",
|
|
921
921
|
"throwExpression", "exceptionSpecification", "dynamicExceptionSpecification",
|
|
922
|
-
"typeIdList", "
|
|
922
|
+
"typeIdList", "noExceptSpecification", "theOperator",
|
|
923
923
|
"literal" ];
|
|
924
924
|
|
|
925
925
|
constructor(input) {
|
|
@@ -1014,7 +1014,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
1014
1014
|
_la = this._input.LA(1);
|
|
1015
1015
|
if(((((_la - 10)) & ~0x1f) === 0 && ((1 << (_la - 10)) & 2777759517) !== 0) || ((((_la - 44)) & ~0x1f) === 0 && ((1 << (_la - 44)) & 1163600159) !== 0) || ((((_la - 76)) & ~0x1f) === 0 && ((1 << (_la - 76)) & 10619647) !== 0) || ((((_la - 118)) & ~0x1f) === 0 && ((1 << (_la - 118)) & 26113) !== 0)) {
|
|
1016
1016
|
this.state = 382;
|
|
1017
|
-
this.
|
|
1017
|
+
this.declarationSeq();
|
|
1018
1018
|
}
|
|
1019
1019
|
|
|
1020
1020
|
this.state = 385;
|
|
@@ -1561,7 +1561,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
1561
1561
|
case 2:
|
|
1562
1562
|
this.enterOuterAlt(localctx, 2);
|
|
1563
1563
|
this.state = 479;
|
|
1564
|
-
this.
|
|
1564
|
+
this.initCapture();
|
|
1565
1565
|
break;
|
|
1566
1566
|
|
|
1567
1567
|
}
|
|
@@ -1627,9 +1627,9 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
1627
1627
|
|
|
1628
1628
|
|
|
1629
1629
|
|
|
1630
|
-
|
|
1631
|
-
let localctx = new
|
|
1632
|
-
this.enterRule(localctx, 26, CPP14Parser.
|
|
1630
|
+
initCapture() {
|
|
1631
|
+
let localctx = new InitCaptureContext(this, this._ctx, this.state);
|
|
1632
|
+
this.enterRule(localctx, 26, CPP14Parser.RULE_initCapture);
|
|
1633
1633
|
var _la = 0;
|
|
1634
1634
|
try {
|
|
1635
1635
|
this.enterOuterAlt(localctx, 1);
|
|
@@ -4217,9 +4217,9 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
4217
4217
|
|
|
4218
4218
|
|
|
4219
4219
|
|
|
4220
|
-
|
|
4221
|
-
let localctx = new
|
|
4222
|
-
this.enterRule(localctx, 120, CPP14Parser.
|
|
4220
|
+
declarationSeq() {
|
|
4221
|
+
let localctx = new DeclarationSeqContext(this, this._ctx, this.state);
|
|
4222
|
+
this.enterRule(localctx, 120, CPP14Parser.RULE_declarationSeq);
|
|
4223
4223
|
var _la = 0;
|
|
4224
4224
|
try {
|
|
4225
4225
|
this.enterOuterAlt(localctx, 1);
|
|
@@ -5511,7 +5511,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
5511
5511
|
try {
|
|
5512
5512
|
this.enterOuterAlt(localctx, 1);
|
|
5513
5513
|
this.state = 1165;
|
|
5514
|
-
this.
|
|
5514
|
+
this.enumKey();
|
|
5515
5515
|
this.state = 1167;
|
|
5516
5516
|
this._errHandler.sync(this);
|
|
5517
5517
|
_la = this._input.LA(1);
|
|
@@ -5541,7 +5541,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
5541
5541
|
_la = this._input.LA(1);
|
|
5542
5542
|
if(_la===126) {
|
|
5543
5543
|
this.state = 1175;
|
|
5544
|
-
this.
|
|
5544
|
+
this.enumBase();
|
|
5545
5545
|
}
|
|
5546
5546
|
|
|
5547
5547
|
} catch (re) {
|
|
@@ -5567,7 +5567,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
5567
5567
|
try {
|
|
5568
5568
|
this.enterOuterAlt(localctx, 1);
|
|
5569
5569
|
this.state = 1178;
|
|
5570
|
-
this.
|
|
5570
|
+
this.enumKey();
|
|
5571
5571
|
this.state = 1180;
|
|
5572
5572
|
this._errHandler.sync(this);
|
|
5573
5573
|
_la = this._input.LA(1);
|
|
@@ -5583,7 +5583,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
5583
5583
|
_la = this._input.LA(1);
|
|
5584
5584
|
if(_la===126) {
|
|
5585
5585
|
this.state = 1183;
|
|
5586
|
-
this.
|
|
5586
|
+
this.enumBase();
|
|
5587
5587
|
}
|
|
5588
5588
|
|
|
5589
5589
|
this.state = 1186;
|
|
@@ -5604,9 +5604,9 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
5604
5604
|
|
|
5605
5605
|
|
|
5606
5606
|
|
|
5607
|
-
|
|
5608
|
-
let localctx = new
|
|
5609
|
-
this.enterRule(localctx, 174, CPP14Parser.
|
|
5607
|
+
enumKey() {
|
|
5608
|
+
let localctx = new EnumKeyContext(this, this._ctx, this.state);
|
|
5609
|
+
this.enterRule(localctx, 174, CPP14Parser.RULE_enumKey);
|
|
5610
5610
|
var _la = 0;
|
|
5611
5611
|
try {
|
|
5612
5612
|
this.enterOuterAlt(localctx, 1);
|
|
@@ -5643,9 +5643,9 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
5643
5643
|
|
|
5644
5644
|
|
|
5645
5645
|
|
|
5646
|
-
|
|
5647
|
-
let localctx = new
|
|
5648
|
-
this.enterRule(localctx, 176, CPP14Parser.
|
|
5646
|
+
enumBase() {
|
|
5647
|
+
let localctx = new EnumBaseContext(this, this._ctx, this.state);
|
|
5648
|
+
this.enterRule(localctx, 176, CPP14Parser.RULE_enumBase);
|
|
5649
5649
|
try {
|
|
5650
5650
|
this.enterOuterAlt(localctx, 1);
|
|
5651
5651
|
this.state = 1192;
|
|
@@ -5858,7 +5858,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
5858
5858
|
_la = this._input.LA(1);
|
|
5859
5859
|
if(((((_la - 10)) & ~0x1f) === 0 && ((1 << (_la - 10)) & 2777759517) !== 0) || ((((_la - 44)) & ~0x1f) === 0 && ((1 << (_la - 44)) & 1163600159) !== 0) || ((((_la - 76)) & ~0x1f) === 0 && ((1 << (_la - 76)) & 10619647) !== 0) || ((((_la - 118)) & ~0x1f) === 0 && ((1 << (_la - 118)) & 26113) !== 0)) {
|
|
5860
5860
|
this.state = 1225;
|
|
5861
|
-
localctx.namespaceBody = this.
|
|
5861
|
+
localctx.namespaceBody = this.declarationSeq();
|
|
5862
5862
|
}
|
|
5863
5863
|
|
|
5864
5864
|
this.state = 1228;
|
|
@@ -5914,7 +5914,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
5914
5914
|
this.state = 1234;
|
|
5915
5915
|
this.match(CPP14Parser.Assign);
|
|
5916
5916
|
this.state = 1235;
|
|
5917
|
-
this.
|
|
5917
|
+
this.qualifiedNamespaceSpecifier();
|
|
5918
5918
|
this.state = 1236;
|
|
5919
5919
|
this.match(CPP14Parser.Semi);
|
|
5920
5920
|
} catch (re) {
|
|
@@ -5933,9 +5933,9 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
5933
5933
|
|
|
5934
5934
|
|
|
5935
5935
|
|
|
5936
|
-
|
|
5937
|
-
let localctx = new
|
|
5938
|
-
this.enterRule(localctx, 194, CPP14Parser.
|
|
5936
|
+
qualifiedNamespaceSpecifier() {
|
|
5937
|
+
let localctx = new QualifiedNamespaceSpecifierContext(this, this._ctx, this.state);
|
|
5938
|
+
this.enterRule(localctx, 194, CPP14Parser.RULE_qualifiedNamespaceSpecifier);
|
|
5939
5939
|
try {
|
|
5940
5940
|
this.enterOuterAlt(localctx, 1);
|
|
5941
5941
|
this.state = 1239;
|
|
@@ -6113,7 +6113,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
6113
6113
|
_la = this._input.LA(1);
|
|
6114
6114
|
if(((((_la - 10)) & ~0x1f) === 0 && ((1 << (_la - 10)) & 2777759517) !== 0) || ((((_la - 44)) & ~0x1f) === 0 && ((1 << (_la - 44)) & 1163600159) !== 0) || ((((_la - 76)) & ~0x1f) === 0 && ((1 << (_la - 76)) & 10619647) !== 0) || ((((_la - 118)) & ~0x1f) === 0 && ((1 << (_la - 118)) & 26113) !== 0)) {
|
|
6115
6115
|
this.state = 1274;
|
|
6116
|
-
this.
|
|
6116
|
+
this.declarationSeq();
|
|
6117
6117
|
}
|
|
6118
6118
|
|
|
6119
6119
|
this.state = 1277;
|
|
@@ -6258,7 +6258,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
6258
6258
|
case 10:
|
|
6259
6259
|
this.enterOuterAlt(localctx, 2);
|
|
6260
6260
|
this.state = 1293;
|
|
6261
|
-
this.
|
|
6261
|
+
this.alignmentSpecifier();
|
|
6262
6262
|
break;
|
|
6263
6263
|
default:
|
|
6264
6264
|
throw new antlr4.error.NoViableAltException(this);
|
|
@@ -6279,9 +6279,9 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
6279
6279
|
|
|
6280
6280
|
|
|
6281
6281
|
|
|
6282
|
-
|
|
6283
|
-
let localctx = new
|
|
6284
|
-
this.enterRule(localctx, 208, CPP14Parser.
|
|
6282
|
+
alignmentSpecifier() {
|
|
6283
|
+
let localctx = new AlignmentSpecifierContext(this, this._ctx, this.state);
|
|
6284
|
+
this.enterRule(localctx, 208, CPP14Parser.RULE_alignmentSpecifier);
|
|
6285
6285
|
var _la = 0;
|
|
6286
6286
|
try {
|
|
6287
6287
|
this.enterOuterAlt(localctx, 1);
|
|
@@ -6484,7 +6484,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
6484
6484
|
_la = this._input.LA(1);
|
|
6485
6485
|
do {
|
|
6486
6486
|
this.state = 1335;
|
|
6487
|
-
this.
|
|
6487
|
+
this.balancedToken();
|
|
6488
6488
|
this.state = 1338;
|
|
6489
6489
|
this._errHandler.sync(this);
|
|
6490
6490
|
_la = this._input.LA(1);
|
|
@@ -6505,9 +6505,9 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
6505
6505
|
|
|
6506
6506
|
|
|
6507
6507
|
|
|
6508
|
-
|
|
6509
|
-
let localctx = new
|
|
6510
|
-
this.enterRule(localctx, 220, CPP14Parser.
|
|
6508
|
+
balancedToken() {
|
|
6509
|
+
let localctx = new BalancedTokenContext(this, this._ctx, this.state);
|
|
6510
|
+
this.enterRule(localctx, 220, CPP14Parser.RULE_balancedToken);
|
|
6511
6511
|
var _la = 0;
|
|
6512
6512
|
try {
|
|
6513
6513
|
this.state = 1357;
|
|
@@ -6899,7 +6899,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
6899
6899
|
case 131:
|
|
6900
6900
|
case 132:
|
|
6901
6901
|
this.state = 1390;
|
|
6902
|
-
this.
|
|
6902
|
+
this.declaratorId();
|
|
6903
6903
|
this.state = 1392;
|
|
6904
6904
|
this._errHandler.sync(this);
|
|
6905
6905
|
var la_ = this._interp.adaptivePredict(this._input,162,this._ctx);
|
|
@@ -7013,7 +7013,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
7013
7013
|
var la_ = this._interp.adaptivePredict(this._input,169,this._ctx);
|
|
7014
7014
|
if(la_===1) {
|
|
7015
7015
|
this.state = 1422;
|
|
7016
|
-
this.
|
|
7016
|
+
this.cvQualifierSeq();
|
|
7017
7017
|
|
|
7018
7018
|
}
|
|
7019
7019
|
this.state = 1426;
|
|
@@ -7021,7 +7021,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
7021
7021
|
var la_ = this._interp.adaptivePredict(this._input,170,this._ctx);
|
|
7022
7022
|
if(la_===1) {
|
|
7023
7023
|
this.state = 1425;
|
|
7024
|
-
this.
|
|
7024
|
+
this.refQualifier();
|
|
7025
7025
|
|
|
7026
7026
|
}
|
|
7027
7027
|
this.state = 1429;
|
|
@@ -7146,7 +7146,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
7146
7146
|
var la_ = this._interp.adaptivePredict(this._input,177,this._ctx);
|
|
7147
7147
|
if(la_===1) {
|
|
7148
7148
|
this.state = 1450;
|
|
7149
|
-
this.
|
|
7149
|
+
this.cvQualifierSeq();
|
|
7150
7150
|
|
|
7151
7151
|
}
|
|
7152
7152
|
break;
|
|
@@ -7169,9 +7169,9 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
7169
7169
|
|
|
7170
7170
|
|
|
7171
7171
|
|
|
7172
|
-
|
|
7173
|
-
let localctx = new
|
|
7174
|
-
this.enterRule(localctx, 238, CPP14Parser.
|
|
7172
|
+
cvQualifierSeq() {
|
|
7173
|
+
let localctx = new CvQualifierSeqContext(this, this._ctx, this.state);
|
|
7174
|
+
this.enterRule(localctx, 238, CPP14Parser.RULE_cvQualifierSeq);
|
|
7175
7175
|
try {
|
|
7176
7176
|
this.enterOuterAlt(localctx, 1);
|
|
7177
7177
|
this.state = 1456;
|
|
@@ -7237,9 +7237,9 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
7237
7237
|
|
|
7238
7238
|
|
|
7239
7239
|
|
|
7240
|
-
|
|
7241
|
-
let localctx = new
|
|
7242
|
-
this.enterRule(localctx, 242, CPP14Parser.
|
|
7240
|
+
refQualifier() {
|
|
7241
|
+
let localctx = new RefQualifierContext(this, this._ctx, this.state);
|
|
7242
|
+
this.enterRule(localctx, 242, CPP14Parser.RULE_refQualifier);
|
|
7243
7243
|
var _la = 0;
|
|
7244
7244
|
try {
|
|
7245
7245
|
this.enterOuterAlt(localctx, 1);
|
|
@@ -7268,9 +7268,9 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
7268
7268
|
|
|
7269
7269
|
|
|
7270
7270
|
|
|
7271
|
-
|
|
7272
|
-
let localctx = new
|
|
7273
|
-
this.enterRule(localctx, 244, CPP14Parser.
|
|
7271
|
+
declaratorId() {
|
|
7272
|
+
let localctx = new DeclaratorIdContext(this, this._ctx, this.state);
|
|
7273
|
+
this.enterRule(localctx, 244, CPP14Parser.RULE_declaratorId);
|
|
7274
7274
|
var _la = 0;
|
|
7275
7275
|
try {
|
|
7276
7276
|
this.enterOuterAlt(localctx, 1);
|
|
@@ -8450,7 +8450,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
8450
8450
|
case 131:
|
|
8451
8451
|
case 132:
|
|
8452
8452
|
this.state = 1672;
|
|
8453
|
-
this.
|
|
8453
|
+
this.memberDeclaration();
|
|
8454
8454
|
break;
|
|
8455
8455
|
case 54:
|
|
8456
8456
|
case 55:
|
|
@@ -8483,9 +8483,9 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
8483
8483
|
|
|
8484
8484
|
|
|
8485
8485
|
|
|
8486
|
-
|
|
8487
|
-
let localctx = new
|
|
8488
|
-
this.enterRule(localctx, 292, CPP14Parser.
|
|
8486
|
+
memberDeclaration() {
|
|
8487
|
+
let localctx = new MemberDeclarationContext(this, this._ctx, this.state);
|
|
8488
|
+
this.enterRule(localctx, 292, CPP14Parser.RULE_memberDeclaration);
|
|
8489
8489
|
var _la = 0;
|
|
8490
8490
|
try {
|
|
8491
8491
|
this.state = 1696;
|
|
@@ -9215,7 +9215,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
9215
9215
|
try {
|
|
9216
9216
|
this.enterOuterAlt(localctx, 1);
|
|
9217
9217
|
this.state = 1811;
|
|
9218
|
-
this.
|
|
9218
|
+
this.memInitializerId();
|
|
9219
9219
|
this.state = 1818;
|
|
9220
9220
|
this._errHandler.sync(this);
|
|
9221
9221
|
switch(this._input.LA(1)) {
|
|
@@ -9256,9 +9256,9 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
9256
9256
|
|
|
9257
9257
|
|
|
9258
9258
|
|
|
9259
|
-
|
|
9260
|
-
let localctx = new
|
|
9261
|
-
this.enterRule(localctx, 328, CPP14Parser.
|
|
9259
|
+
memInitializerId() {
|
|
9260
|
+
let localctx = new MemInitializerIdContext(this, this._ctx, this.state);
|
|
9261
|
+
this.enterRule(localctx, 328, CPP14Parser.RULE_memInitializerId);
|
|
9262
9262
|
try {
|
|
9263
9263
|
this.state = 1822;
|
|
9264
9264
|
this._errHandler.sync(this);
|
|
@@ -9367,7 +9367,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
9367
9367
|
this.state = 1834;
|
|
9368
9368
|
this.match(CPP14Parser.Less);
|
|
9369
9369
|
this.state = 1835;
|
|
9370
|
-
this.
|
|
9370
|
+
this.templateParameterList();
|
|
9371
9371
|
this.state = 1836;
|
|
9372
9372
|
this.match(CPP14Parser.Greater);
|
|
9373
9373
|
this.state = 1837;
|
|
@@ -9388,9 +9388,9 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
9388
9388
|
|
|
9389
9389
|
|
|
9390
9390
|
|
|
9391
|
-
|
|
9392
|
-
let localctx = new
|
|
9393
|
-
this.enterRule(localctx, 336, CPP14Parser.
|
|
9391
|
+
templateParameterList() {
|
|
9392
|
+
let localctx = new TemplateParameterListContext(this, this._ctx, this.state);
|
|
9393
|
+
this.enterRule(localctx, 336, CPP14Parser.RULE_templateParameterList);
|
|
9394
9394
|
var _la = 0;
|
|
9395
9395
|
try {
|
|
9396
9396
|
this.enterOuterAlt(localctx, 1);
|
|
@@ -9481,7 +9481,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
9481
9481
|
this.state = 1852;
|
|
9482
9482
|
this.match(CPP14Parser.Less);
|
|
9483
9483
|
this.state = 1853;
|
|
9484
|
-
this.
|
|
9484
|
+
this.templateParameterList();
|
|
9485
9485
|
this.state = 1854;
|
|
9486
9486
|
this.match(CPP14Parser.Greater);
|
|
9487
9487
|
}
|
|
@@ -10134,7 +10134,7 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
10134
10134
|
case 50:
|
|
10135
10135
|
this.enterOuterAlt(localctx, 2);
|
|
10136
10136
|
this.state = 1974;
|
|
10137
|
-
this.
|
|
10137
|
+
this.noExceptSpecification();
|
|
10138
10138
|
break;
|
|
10139
10139
|
default:
|
|
10140
10140
|
throw new antlr4.error.NoViableAltException(this);
|
|
@@ -10243,9 +10243,9 @@ export default class CPP14Parser extends CPP14ParserBase {
|
|
|
10243
10243
|
|
|
10244
10244
|
|
|
10245
10245
|
|
|
10246
|
-
|
|
10247
|
-
let localctx = new
|
|
10248
|
-
this.enterRule(localctx, 376, CPP14Parser.
|
|
10246
|
+
noExceptSpecification() {
|
|
10247
|
+
let localctx = new NoExceptSpecificationContext(this, this._ctx, this.state);
|
|
10248
|
+
this.enterRule(localctx, 376, CPP14Parser.RULE_noExceptSpecification);
|
|
10249
10249
|
try {
|
|
10250
10250
|
this.state = 2004;
|
|
10251
10251
|
this._errHandler.sync(this);
|
|
@@ -10765,7 +10765,7 @@ CPP14Parser.RULE_captureDefault = 9;
|
|
|
10765
10765
|
CPP14Parser.RULE_captureList = 10;
|
|
10766
10766
|
CPP14Parser.RULE_capture = 11;
|
|
10767
10767
|
CPP14Parser.RULE_simpleCapture = 12;
|
|
10768
|
-
CPP14Parser.
|
|
10768
|
+
CPP14Parser.RULE_initCapture = 13;
|
|
10769
10769
|
CPP14Parser.RULE_lambdaDeclarator = 14;
|
|
10770
10770
|
CPP14Parser.RULE_postfixExpression = 15;
|
|
10771
10771
|
CPP14Parser.RULE_typeIdOfTheTypeId = 16;
|
|
@@ -10812,7 +10812,7 @@ CPP14Parser.RULE_forRangeDeclaration = 56;
|
|
|
10812
10812
|
CPP14Parser.RULE_forRangeInitializer = 57;
|
|
10813
10813
|
CPP14Parser.RULE_jumpStatement = 58;
|
|
10814
10814
|
CPP14Parser.RULE_declarationStatement = 59;
|
|
10815
|
-
CPP14Parser.
|
|
10815
|
+
CPP14Parser.RULE_declarationSeq = 60;
|
|
10816
10816
|
CPP14Parser.RULE_declaration = 61;
|
|
10817
10817
|
CPP14Parser.RULE_blockDeclaration = 62;
|
|
10818
10818
|
CPP14Parser.RULE_aliasDeclaration = 63;
|
|
@@ -10839,8 +10839,8 @@ CPP14Parser.RULE_enumName = 83;
|
|
|
10839
10839
|
CPP14Parser.RULE_enumSpecifier = 84;
|
|
10840
10840
|
CPP14Parser.RULE_enumHead = 85;
|
|
10841
10841
|
CPP14Parser.RULE_opaqueEnumDeclaration = 86;
|
|
10842
|
-
CPP14Parser.
|
|
10843
|
-
CPP14Parser.
|
|
10842
|
+
CPP14Parser.RULE_enumKey = 87;
|
|
10843
|
+
CPP14Parser.RULE_enumBase = 88;
|
|
10844
10844
|
CPP14Parser.RULE_enumeratorList = 89;
|
|
10845
10845
|
CPP14Parser.RULE_enumeratorDefinition = 90;
|
|
10846
10846
|
CPP14Parser.RULE_enumerator = 91;
|
|
@@ -10849,20 +10849,20 @@ CPP14Parser.RULE_originalNamespaceName = 93;
|
|
|
10849
10849
|
CPP14Parser.RULE_namespaceDefinition = 94;
|
|
10850
10850
|
CPP14Parser.RULE_namespaceAlias = 95;
|
|
10851
10851
|
CPP14Parser.RULE_namespaceAliasDefinition = 96;
|
|
10852
|
-
CPP14Parser.
|
|
10852
|
+
CPP14Parser.RULE_qualifiedNamespaceSpecifier = 97;
|
|
10853
10853
|
CPP14Parser.RULE_usingDeclaration = 98;
|
|
10854
10854
|
CPP14Parser.RULE_usingDirective = 99;
|
|
10855
10855
|
CPP14Parser.RULE_asmDefinition = 100;
|
|
10856
10856
|
CPP14Parser.RULE_linkageSpecification = 101;
|
|
10857
10857
|
CPP14Parser.RULE_attributeSpecifierSeq = 102;
|
|
10858
10858
|
CPP14Parser.RULE_attributeSpecifier = 103;
|
|
10859
|
-
CPP14Parser.
|
|
10859
|
+
CPP14Parser.RULE_alignmentSpecifier = 104;
|
|
10860
10860
|
CPP14Parser.RULE_attributeList = 105;
|
|
10861
10861
|
CPP14Parser.RULE_attribute = 106;
|
|
10862
10862
|
CPP14Parser.RULE_attributeNamespace = 107;
|
|
10863
10863
|
CPP14Parser.RULE_attributeArgumentClause = 108;
|
|
10864
10864
|
CPP14Parser.RULE_balancedTokenSeq = 109;
|
|
10865
|
-
CPP14Parser.
|
|
10865
|
+
CPP14Parser.RULE_balancedToken = 110;
|
|
10866
10866
|
CPP14Parser.RULE_initDeclaratorList = 111;
|
|
10867
10867
|
CPP14Parser.RULE_initDeclarator = 112;
|
|
10868
10868
|
CPP14Parser.RULE_declarator = 113;
|
|
@@ -10871,10 +10871,10 @@ CPP14Parser.RULE_noPointerDeclarator = 115;
|
|
|
10871
10871
|
CPP14Parser.RULE_parametersAndQualifiers = 116;
|
|
10872
10872
|
CPP14Parser.RULE_trailingReturnType = 117;
|
|
10873
10873
|
CPP14Parser.RULE_pointerOperator = 118;
|
|
10874
|
-
CPP14Parser.
|
|
10874
|
+
CPP14Parser.RULE_cvQualifierSeq = 119;
|
|
10875
10875
|
CPP14Parser.RULE_cvQualifier = 120;
|
|
10876
|
-
CPP14Parser.
|
|
10877
|
-
CPP14Parser.
|
|
10876
|
+
CPP14Parser.RULE_refQualifier = 121;
|
|
10877
|
+
CPP14Parser.RULE_declaratorId = 122;
|
|
10878
10878
|
CPP14Parser.RULE_theTypeId = 123;
|
|
10879
10879
|
CPP14Parser.RULE_abstractDeclarator = 124;
|
|
10880
10880
|
CPP14Parser.RULE_pointerAbstractDeclarator = 125;
|
|
@@ -10898,7 +10898,7 @@ CPP14Parser.RULE_classHeadName = 142;
|
|
|
10898
10898
|
CPP14Parser.RULE_classVirtSpecifier = 143;
|
|
10899
10899
|
CPP14Parser.RULE_classKey = 144;
|
|
10900
10900
|
CPP14Parser.RULE_memberSpecification = 145;
|
|
10901
|
-
CPP14Parser.
|
|
10901
|
+
CPP14Parser.RULE_memberDeclaration = 146;
|
|
10902
10902
|
CPP14Parser.RULE_memberDeclaratorList = 147;
|
|
10903
10903
|
CPP14Parser.RULE_memberDeclarator = 148;
|
|
10904
10904
|
CPP14Parser.RULE_virtualSpecifierSeq = 149;
|
|
@@ -10916,11 +10916,11 @@ CPP14Parser.RULE_conversionDeclarator = 160;
|
|
|
10916
10916
|
CPP14Parser.RULE_constructorInitializer = 161;
|
|
10917
10917
|
CPP14Parser.RULE_memInitializerList = 162;
|
|
10918
10918
|
CPP14Parser.RULE_memInitializer = 163;
|
|
10919
|
-
CPP14Parser.
|
|
10919
|
+
CPP14Parser.RULE_memInitializerId = 164;
|
|
10920
10920
|
CPP14Parser.RULE_operatorFunctionId = 165;
|
|
10921
10921
|
CPP14Parser.RULE_literalOperatorId = 166;
|
|
10922
10922
|
CPP14Parser.RULE_templateDeclaration = 167;
|
|
10923
|
-
CPP14Parser.
|
|
10923
|
+
CPP14Parser.RULE_templateParameterList = 168;
|
|
10924
10924
|
CPP14Parser.RULE_templateParameter = 169;
|
|
10925
10925
|
CPP14Parser.RULE_typeParameter = 170;
|
|
10926
10926
|
CPP14Parser.RULE_simpleTemplateId = 171;
|
|
@@ -10940,7 +10940,7 @@ CPP14Parser.RULE_throwExpression = 184;
|
|
|
10940
10940
|
CPP14Parser.RULE_exceptionSpecification = 185;
|
|
10941
10941
|
CPP14Parser.RULE_dynamicExceptionSpecification = 186;
|
|
10942
10942
|
CPP14Parser.RULE_typeIdList = 187;
|
|
10943
|
-
CPP14Parser.
|
|
10943
|
+
CPP14Parser.RULE_noExceptSpecification = 188;
|
|
10944
10944
|
CPP14Parser.RULE_theOperator = 189;
|
|
10945
10945
|
CPP14Parser.RULE_literal = 190;
|
|
10946
10946
|
|
|
@@ -10962,8 +10962,8 @@ class TranslationUnitContext extends antlr4.ParserRuleContext {
|
|
|
10962
10962
|
return this.getToken(CPP14Parser.EOF, 0);
|
|
10963
10963
|
};
|
|
10964
10964
|
|
|
10965
|
-
|
|
10966
|
-
return this.getTypedRuleContext(
|
|
10965
|
+
declarationSeq() {
|
|
10966
|
+
return this.getTypedRuleContext(DeclarationSeqContext,0);
|
|
10967
10967
|
};
|
|
10968
10968
|
|
|
10969
10969
|
enterRule(listener) {
|
|
@@ -11589,8 +11589,8 @@ class CaptureContext extends antlr4.ParserRuleContext {
|
|
|
11589
11589
|
return this.getTypedRuleContext(SimpleCaptureContext,0);
|
|
11590
11590
|
};
|
|
11591
11591
|
|
|
11592
|
-
|
|
11593
|
-
return this.getTypedRuleContext(
|
|
11592
|
+
initCapture() {
|
|
11593
|
+
return this.getTypedRuleContext(InitCaptureContext,0);
|
|
11594
11594
|
};
|
|
11595
11595
|
|
|
11596
11596
|
enterRule(listener) {
|
|
@@ -11669,7 +11669,7 @@ class SimpleCaptureContext extends antlr4.ParserRuleContext {
|
|
|
11669
11669
|
|
|
11670
11670
|
|
|
11671
11671
|
|
|
11672
|
-
class
|
|
11672
|
+
class InitCaptureContext extends antlr4.ParserRuleContext {
|
|
11673
11673
|
|
|
11674
11674
|
constructor(parser, parent, invokingState) {
|
|
11675
11675
|
if(parent===undefined) {
|
|
@@ -11680,7 +11680,7 @@ class InitcaptureContext extends antlr4.ParserRuleContext {
|
|
|
11680
11680
|
}
|
|
11681
11681
|
super(parent, invokingState);
|
|
11682
11682
|
this.parser = parser;
|
|
11683
|
-
this.ruleIndex = CPP14Parser.
|
|
11683
|
+
this.ruleIndex = CPP14Parser.RULE_initCapture;
|
|
11684
11684
|
}
|
|
11685
11685
|
|
|
11686
11686
|
Identifier() {
|
|
@@ -11697,19 +11697,19 @@ class InitcaptureContext extends antlr4.ParserRuleContext {
|
|
|
11697
11697
|
|
|
11698
11698
|
enterRule(listener) {
|
|
11699
11699
|
if(listener instanceof CPP14ParserListener ) {
|
|
11700
|
-
listener.
|
|
11700
|
+
listener.enterInitCapture(this);
|
|
11701
11701
|
}
|
|
11702
11702
|
}
|
|
11703
11703
|
|
|
11704
11704
|
exitRule(listener) {
|
|
11705
11705
|
if(listener instanceof CPP14ParserListener ) {
|
|
11706
|
-
listener.
|
|
11706
|
+
listener.exitInitCapture(this);
|
|
11707
11707
|
}
|
|
11708
11708
|
}
|
|
11709
11709
|
|
|
11710
11710
|
accept(visitor) {
|
|
11711
11711
|
if ( visitor instanceof CPP14ParserVisitor ) {
|
|
11712
|
-
return visitor.
|
|
11712
|
+
return visitor.visitInitCapture(this);
|
|
11713
11713
|
} else {
|
|
11714
11714
|
return visitor.visitChildren(this);
|
|
11715
11715
|
}
|
|
@@ -14694,7 +14694,7 @@ class DeclarationStatementContext extends antlr4.ParserRuleContext {
|
|
|
14694
14694
|
|
|
14695
14695
|
|
|
14696
14696
|
|
|
14697
|
-
class
|
|
14697
|
+
class DeclarationSeqContext extends antlr4.ParserRuleContext {
|
|
14698
14698
|
|
|
14699
14699
|
constructor(parser, parent, invokingState) {
|
|
14700
14700
|
if(parent===undefined) {
|
|
@@ -14705,7 +14705,7 @@ class DeclarationseqContext extends antlr4.ParserRuleContext {
|
|
|
14705
14705
|
}
|
|
14706
14706
|
super(parent, invokingState);
|
|
14707
14707
|
this.parser = parser;
|
|
14708
|
-
this.ruleIndex = CPP14Parser.
|
|
14708
|
+
this.ruleIndex = CPP14Parser.RULE_declarationSeq;
|
|
14709
14709
|
}
|
|
14710
14710
|
|
|
14711
14711
|
declaration = function(i) {
|
|
@@ -14721,19 +14721,19 @@ class DeclarationseqContext extends antlr4.ParserRuleContext {
|
|
|
14721
14721
|
|
|
14722
14722
|
enterRule(listener) {
|
|
14723
14723
|
if(listener instanceof CPP14ParserListener ) {
|
|
14724
|
-
listener.
|
|
14724
|
+
listener.enterDeclarationSeq(this);
|
|
14725
14725
|
}
|
|
14726
14726
|
}
|
|
14727
14727
|
|
|
14728
14728
|
exitRule(listener) {
|
|
14729
14729
|
if(listener instanceof CPP14ParserListener ) {
|
|
14730
|
-
listener.
|
|
14730
|
+
listener.exitDeclarationSeq(this);
|
|
14731
14731
|
}
|
|
14732
14732
|
}
|
|
14733
14733
|
|
|
14734
14734
|
accept(visitor) {
|
|
14735
14735
|
if ( visitor instanceof CPP14ParserVisitor ) {
|
|
14736
|
-
return visitor.
|
|
14736
|
+
return visitor.visitDeclarationSeq(this);
|
|
14737
14737
|
} else {
|
|
14738
14738
|
return visitor.visitChildren(this);
|
|
14739
14739
|
}
|
|
@@ -16155,8 +16155,8 @@ class EnumHeadContext extends antlr4.ParserRuleContext {
|
|
|
16155
16155
|
this.ruleIndex = CPP14Parser.RULE_enumHead;
|
|
16156
16156
|
}
|
|
16157
16157
|
|
|
16158
|
-
|
|
16159
|
-
return this.getTypedRuleContext(
|
|
16158
|
+
enumKey() {
|
|
16159
|
+
return this.getTypedRuleContext(EnumKeyContext,0);
|
|
16160
16160
|
};
|
|
16161
16161
|
|
|
16162
16162
|
attributeSpecifierSeq() {
|
|
@@ -16167,8 +16167,8 @@ class EnumHeadContext extends antlr4.ParserRuleContext {
|
|
|
16167
16167
|
return this.getToken(CPP14Parser.Identifier, 0);
|
|
16168
16168
|
};
|
|
16169
16169
|
|
|
16170
|
-
|
|
16171
|
-
return this.getTypedRuleContext(
|
|
16170
|
+
enumBase() {
|
|
16171
|
+
return this.getTypedRuleContext(EnumBaseContext,0);
|
|
16172
16172
|
};
|
|
16173
16173
|
|
|
16174
16174
|
nestedNameSpecifier() {
|
|
@@ -16214,8 +16214,8 @@ class OpaqueEnumDeclarationContext extends antlr4.ParserRuleContext {
|
|
|
16214
16214
|
this.ruleIndex = CPP14Parser.RULE_opaqueEnumDeclaration;
|
|
16215
16215
|
}
|
|
16216
16216
|
|
|
16217
|
-
|
|
16218
|
-
return this.getTypedRuleContext(
|
|
16217
|
+
enumKey() {
|
|
16218
|
+
return this.getTypedRuleContext(EnumKeyContext,0);
|
|
16219
16219
|
};
|
|
16220
16220
|
|
|
16221
16221
|
Identifier() {
|
|
@@ -16230,8 +16230,8 @@ class OpaqueEnumDeclarationContext extends antlr4.ParserRuleContext {
|
|
|
16230
16230
|
return this.getTypedRuleContext(AttributeSpecifierSeqContext,0);
|
|
16231
16231
|
};
|
|
16232
16232
|
|
|
16233
|
-
|
|
16234
|
-
return this.getTypedRuleContext(
|
|
16233
|
+
enumBase() {
|
|
16234
|
+
return this.getTypedRuleContext(EnumBaseContext,0);
|
|
16235
16235
|
};
|
|
16236
16236
|
|
|
16237
16237
|
enterRule(listener) {
|
|
@@ -16259,7 +16259,7 @@ class OpaqueEnumDeclarationContext extends antlr4.ParserRuleContext {
|
|
|
16259
16259
|
|
|
16260
16260
|
|
|
16261
16261
|
|
|
16262
|
-
class
|
|
16262
|
+
class EnumKeyContext extends antlr4.ParserRuleContext {
|
|
16263
16263
|
|
|
16264
16264
|
constructor(parser, parent, invokingState) {
|
|
16265
16265
|
if(parent===undefined) {
|
|
@@ -16270,7 +16270,7 @@ class EnumkeyContext extends antlr4.ParserRuleContext {
|
|
|
16270
16270
|
}
|
|
16271
16271
|
super(parent, invokingState);
|
|
16272
16272
|
this.parser = parser;
|
|
16273
|
-
this.ruleIndex = CPP14Parser.
|
|
16273
|
+
this.ruleIndex = CPP14Parser.RULE_enumKey;
|
|
16274
16274
|
}
|
|
16275
16275
|
|
|
16276
16276
|
Enum() {
|
|
@@ -16287,19 +16287,19 @@ class EnumkeyContext extends antlr4.ParserRuleContext {
|
|
|
16287
16287
|
|
|
16288
16288
|
enterRule(listener) {
|
|
16289
16289
|
if(listener instanceof CPP14ParserListener ) {
|
|
16290
|
-
listener.
|
|
16290
|
+
listener.enterEnumKey(this);
|
|
16291
16291
|
}
|
|
16292
16292
|
}
|
|
16293
16293
|
|
|
16294
16294
|
exitRule(listener) {
|
|
16295
16295
|
if(listener instanceof CPP14ParserListener ) {
|
|
16296
|
-
listener.
|
|
16296
|
+
listener.exitEnumKey(this);
|
|
16297
16297
|
}
|
|
16298
16298
|
}
|
|
16299
16299
|
|
|
16300
16300
|
accept(visitor) {
|
|
16301
16301
|
if ( visitor instanceof CPP14ParserVisitor ) {
|
|
16302
|
-
return visitor.
|
|
16302
|
+
return visitor.visitEnumKey(this);
|
|
16303
16303
|
} else {
|
|
16304
16304
|
return visitor.visitChildren(this);
|
|
16305
16305
|
}
|
|
@@ -16310,7 +16310,7 @@ class EnumkeyContext extends antlr4.ParserRuleContext {
|
|
|
16310
16310
|
|
|
16311
16311
|
|
|
16312
16312
|
|
|
16313
|
-
class
|
|
16313
|
+
class EnumBaseContext extends antlr4.ParserRuleContext {
|
|
16314
16314
|
|
|
16315
16315
|
constructor(parser, parent, invokingState) {
|
|
16316
16316
|
if(parent===undefined) {
|
|
@@ -16321,7 +16321,7 @@ class EnumbaseContext extends antlr4.ParserRuleContext {
|
|
|
16321
16321
|
}
|
|
16322
16322
|
super(parent, invokingState);
|
|
16323
16323
|
this.parser = parser;
|
|
16324
|
-
this.ruleIndex = CPP14Parser.
|
|
16324
|
+
this.ruleIndex = CPP14Parser.RULE_enumBase;
|
|
16325
16325
|
}
|
|
16326
16326
|
|
|
16327
16327
|
Colon() {
|
|
@@ -16334,19 +16334,19 @@ class EnumbaseContext extends antlr4.ParserRuleContext {
|
|
|
16334
16334
|
|
|
16335
16335
|
enterRule(listener) {
|
|
16336
16336
|
if(listener instanceof CPP14ParserListener ) {
|
|
16337
|
-
listener.
|
|
16337
|
+
listener.enterEnumBase(this);
|
|
16338
16338
|
}
|
|
16339
16339
|
}
|
|
16340
16340
|
|
|
16341
16341
|
exitRule(listener) {
|
|
16342
16342
|
if(listener instanceof CPP14ParserListener ) {
|
|
16343
|
-
listener.
|
|
16343
|
+
listener.exitEnumBase(this);
|
|
16344
16344
|
}
|
|
16345
16345
|
}
|
|
16346
16346
|
|
|
16347
16347
|
accept(visitor) {
|
|
16348
16348
|
if ( visitor instanceof CPP14ParserVisitor ) {
|
|
16349
|
-
return visitor.
|
|
16349
|
+
return visitor.visitEnumBase(this);
|
|
16350
16350
|
} else {
|
|
16351
16351
|
return visitor.visitChildren(this);
|
|
16352
16352
|
}
|
|
@@ -16642,8 +16642,8 @@ class NamespaceDefinitionContext extends antlr4.ParserRuleContext {
|
|
|
16642
16642
|
return this.getTypedRuleContext(OriginalNamespaceNameContext,0);
|
|
16643
16643
|
};
|
|
16644
16644
|
|
|
16645
|
-
|
|
16646
|
-
return this.getTypedRuleContext(
|
|
16645
|
+
declarationSeq() {
|
|
16646
|
+
return this.getTypedRuleContext(DeclarationSeqContext,0);
|
|
16647
16647
|
};
|
|
16648
16648
|
|
|
16649
16649
|
enterRule(listener) {
|
|
@@ -16740,8 +16740,8 @@ class NamespaceAliasDefinitionContext extends antlr4.ParserRuleContext {
|
|
|
16740
16740
|
return this.getToken(CPP14Parser.Assign, 0);
|
|
16741
16741
|
};
|
|
16742
16742
|
|
|
16743
|
-
|
|
16744
|
-
return this.getTypedRuleContext(
|
|
16743
|
+
qualifiedNamespaceSpecifier() {
|
|
16744
|
+
return this.getTypedRuleContext(QualifiedNamespaceSpecifierContext,0);
|
|
16745
16745
|
};
|
|
16746
16746
|
|
|
16747
16747
|
Semi() {
|
|
@@ -16773,7 +16773,7 @@ class NamespaceAliasDefinitionContext extends antlr4.ParserRuleContext {
|
|
|
16773
16773
|
|
|
16774
16774
|
|
|
16775
16775
|
|
|
16776
|
-
class
|
|
16776
|
+
class QualifiedNamespaceSpecifierContext extends antlr4.ParserRuleContext {
|
|
16777
16777
|
|
|
16778
16778
|
constructor(parser, parent, invokingState) {
|
|
16779
16779
|
if(parent===undefined) {
|
|
@@ -16784,7 +16784,7 @@ class QualifiednamespacespecifierContext extends antlr4.ParserRuleContext {
|
|
|
16784
16784
|
}
|
|
16785
16785
|
super(parent, invokingState);
|
|
16786
16786
|
this.parser = parser;
|
|
16787
|
-
this.ruleIndex = CPP14Parser.
|
|
16787
|
+
this.ruleIndex = CPP14Parser.RULE_qualifiedNamespaceSpecifier;
|
|
16788
16788
|
}
|
|
16789
16789
|
|
|
16790
16790
|
namespaceName() {
|
|
@@ -16797,19 +16797,19 @@ class QualifiednamespacespecifierContext extends antlr4.ParserRuleContext {
|
|
|
16797
16797
|
|
|
16798
16798
|
enterRule(listener) {
|
|
16799
16799
|
if(listener instanceof CPP14ParserListener ) {
|
|
16800
|
-
listener.
|
|
16800
|
+
listener.enterQualifiedNamespaceSpecifier(this);
|
|
16801
16801
|
}
|
|
16802
16802
|
}
|
|
16803
16803
|
|
|
16804
16804
|
exitRule(listener) {
|
|
16805
16805
|
if(listener instanceof CPP14ParserListener ) {
|
|
16806
|
-
listener.
|
|
16806
|
+
listener.exitQualifiedNamespaceSpecifier(this);
|
|
16807
16807
|
}
|
|
16808
16808
|
}
|
|
16809
16809
|
|
|
16810
16810
|
accept(visitor) {
|
|
16811
16811
|
if ( visitor instanceof CPP14ParserVisitor ) {
|
|
16812
|
-
return visitor.
|
|
16812
|
+
return visitor.visitQualifiedNamespaceSpecifier(this);
|
|
16813
16813
|
} else {
|
|
16814
16814
|
return visitor.visitChildren(this);
|
|
16815
16815
|
}
|
|
@@ -17039,8 +17039,8 @@ class LinkageSpecificationContext extends antlr4.ParserRuleContext {
|
|
|
17039
17039
|
return this.getTypedRuleContext(DeclarationContext,0);
|
|
17040
17040
|
};
|
|
17041
17041
|
|
|
17042
|
-
|
|
17043
|
-
return this.getTypedRuleContext(
|
|
17042
|
+
declarationSeq() {
|
|
17043
|
+
return this.getTypedRuleContext(DeclarationSeqContext,0);
|
|
17044
17044
|
};
|
|
17045
17045
|
|
|
17046
17046
|
enterRule(listener) {
|
|
@@ -17160,8 +17160,8 @@ class AttributeSpecifierContext extends antlr4.ParserRuleContext {
|
|
|
17160
17160
|
return this.getTypedRuleContext(AttributeListContext,0);
|
|
17161
17161
|
};
|
|
17162
17162
|
|
|
17163
|
-
|
|
17164
|
-
return this.getTypedRuleContext(
|
|
17163
|
+
alignmentSpecifier() {
|
|
17164
|
+
return this.getTypedRuleContext(AlignmentSpecifierContext,0);
|
|
17165
17165
|
};
|
|
17166
17166
|
|
|
17167
17167
|
enterRule(listener) {
|
|
@@ -17189,7 +17189,7 @@ class AttributeSpecifierContext extends antlr4.ParserRuleContext {
|
|
|
17189
17189
|
|
|
17190
17190
|
|
|
17191
17191
|
|
|
17192
|
-
class
|
|
17192
|
+
class AlignmentSpecifierContext extends antlr4.ParserRuleContext {
|
|
17193
17193
|
|
|
17194
17194
|
constructor(parser, parent, invokingState) {
|
|
17195
17195
|
if(parent===undefined) {
|
|
@@ -17200,7 +17200,7 @@ class AlignmentspecifierContext extends antlr4.ParserRuleContext {
|
|
|
17200
17200
|
}
|
|
17201
17201
|
super(parent, invokingState);
|
|
17202
17202
|
this.parser = parser;
|
|
17203
|
-
this.ruleIndex = CPP14Parser.
|
|
17203
|
+
this.ruleIndex = CPP14Parser.RULE_alignmentSpecifier;
|
|
17204
17204
|
}
|
|
17205
17205
|
|
|
17206
17206
|
Alignas() {
|
|
@@ -17229,19 +17229,19 @@ class AlignmentspecifierContext extends antlr4.ParserRuleContext {
|
|
|
17229
17229
|
|
|
17230
17230
|
enterRule(listener) {
|
|
17231
17231
|
if(listener instanceof CPP14ParserListener ) {
|
|
17232
|
-
listener.
|
|
17232
|
+
listener.enterAlignmentSpecifier(this);
|
|
17233
17233
|
}
|
|
17234
17234
|
}
|
|
17235
17235
|
|
|
17236
17236
|
exitRule(listener) {
|
|
17237
17237
|
if(listener instanceof CPP14ParserListener ) {
|
|
17238
|
-
listener.
|
|
17238
|
+
listener.exitAlignmentSpecifier(this);
|
|
17239
17239
|
}
|
|
17240
17240
|
}
|
|
17241
17241
|
|
|
17242
17242
|
accept(visitor) {
|
|
17243
17243
|
if ( visitor instanceof CPP14ParserVisitor ) {
|
|
17244
|
-
return visitor.
|
|
17244
|
+
return visitor.visitAlignmentSpecifier(this);
|
|
17245
17245
|
} else {
|
|
17246
17246
|
return visitor.visitChildren(this);
|
|
17247
17247
|
}
|
|
@@ -17481,14 +17481,14 @@ class BalancedTokenSeqContext extends antlr4.ParserRuleContext {
|
|
|
17481
17481
|
this.ruleIndex = CPP14Parser.RULE_balancedTokenSeq;
|
|
17482
17482
|
}
|
|
17483
17483
|
|
|
17484
|
-
|
|
17484
|
+
balancedToken = function(i) {
|
|
17485
17485
|
if(i===undefined) {
|
|
17486
17486
|
i = null;
|
|
17487
17487
|
}
|
|
17488
17488
|
if(i===null) {
|
|
17489
|
-
return this.getTypedRuleContexts(
|
|
17489
|
+
return this.getTypedRuleContexts(BalancedTokenContext);
|
|
17490
17490
|
} else {
|
|
17491
|
-
return this.getTypedRuleContext(
|
|
17491
|
+
return this.getTypedRuleContext(BalancedTokenContext,i);
|
|
17492
17492
|
}
|
|
17493
17493
|
};
|
|
17494
17494
|
|
|
@@ -17517,7 +17517,7 @@ class BalancedTokenSeqContext extends antlr4.ParserRuleContext {
|
|
|
17517
17517
|
|
|
17518
17518
|
|
|
17519
17519
|
|
|
17520
|
-
class
|
|
17520
|
+
class BalancedTokenContext extends antlr4.ParserRuleContext {
|
|
17521
17521
|
|
|
17522
17522
|
constructor(parser, parent, invokingState) {
|
|
17523
17523
|
if(parent===undefined) {
|
|
@@ -17528,7 +17528,7 @@ class BalancedtokenContext extends antlr4.ParserRuleContext {
|
|
|
17528
17528
|
}
|
|
17529
17529
|
super(parent, invokingState);
|
|
17530
17530
|
this.parser = parser;
|
|
17531
|
-
this.ruleIndex = CPP14Parser.
|
|
17531
|
+
this.ruleIndex = CPP14Parser.RULE_balancedToken;
|
|
17532
17532
|
}
|
|
17533
17533
|
|
|
17534
17534
|
LeftParen = function(i) {
|
|
@@ -17609,19 +17609,19 @@ class BalancedtokenContext extends antlr4.ParserRuleContext {
|
|
|
17609
17609
|
|
|
17610
17610
|
enterRule(listener) {
|
|
17611
17611
|
if(listener instanceof CPP14ParserListener ) {
|
|
17612
|
-
listener.
|
|
17612
|
+
listener.enterBalancedToken(this);
|
|
17613
17613
|
}
|
|
17614
17614
|
}
|
|
17615
17615
|
|
|
17616
17616
|
exitRule(listener) {
|
|
17617
17617
|
if(listener instanceof CPP14ParserListener ) {
|
|
17618
|
-
listener.
|
|
17618
|
+
listener.exitBalancedToken(this);
|
|
17619
17619
|
}
|
|
17620
17620
|
}
|
|
17621
17621
|
|
|
17622
17622
|
accept(visitor) {
|
|
17623
17623
|
if ( visitor instanceof CPP14ParserVisitor ) {
|
|
17624
|
-
return visitor.
|
|
17624
|
+
return visitor.visitBalancedToken(this);
|
|
17625
17625
|
} else {
|
|
17626
17626
|
return visitor.visitChildren(this);
|
|
17627
17627
|
}
|
|
@@ -17876,8 +17876,8 @@ class NoPointerDeclaratorContext extends antlr4.ParserRuleContext {
|
|
|
17876
17876
|
this.ruleIndex = CPP14Parser.RULE_noPointerDeclarator;
|
|
17877
17877
|
}
|
|
17878
17878
|
|
|
17879
|
-
|
|
17880
|
-
return this.getTypedRuleContext(
|
|
17879
|
+
declaratorId() {
|
|
17880
|
+
return this.getTypedRuleContext(DeclaratorIdContext,0);
|
|
17881
17881
|
};
|
|
17882
17882
|
|
|
17883
17883
|
attributeSpecifierSeq() {
|
|
@@ -17967,12 +17967,12 @@ class ParametersAndQualifiersContext extends antlr4.ParserRuleContext {
|
|
|
17967
17967
|
return this.getTypedRuleContext(ParameterDeclarationClauseContext,0);
|
|
17968
17968
|
};
|
|
17969
17969
|
|
|
17970
|
-
|
|
17971
|
-
return this.getTypedRuleContext(
|
|
17970
|
+
cvQualifierSeq() {
|
|
17971
|
+
return this.getTypedRuleContext(CvQualifierSeqContext,0);
|
|
17972
17972
|
};
|
|
17973
17973
|
|
|
17974
|
-
|
|
17975
|
-
return this.getTypedRuleContext(
|
|
17974
|
+
refQualifier() {
|
|
17975
|
+
return this.getTypedRuleContext(RefQualifierContext,0);
|
|
17976
17976
|
};
|
|
17977
17977
|
|
|
17978
17978
|
exceptionSpecification() {
|
|
@@ -18093,8 +18093,8 @@ class PointerOperatorContext extends antlr4.ParserRuleContext {
|
|
|
18093
18093
|
return this.getTypedRuleContext(NestedNameSpecifierContext,0);
|
|
18094
18094
|
};
|
|
18095
18095
|
|
|
18096
|
-
|
|
18097
|
-
return this.getTypedRuleContext(
|
|
18096
|
+
cvQualifierSeq() {
|
|
18097
|
+
return this.getTypedRuleContext(CvQualifierSeqContext,0);
|
|
18098
18098
|
};
|
|
18099
18099
|
|
|
18100
18100
|
enterRule(listener) {
|
|
@@ -18122,7 +18122,7 @@ class PointerOperatorContext extends antlr4.ParserRuleContext {
|
|
|
18122
18122
|
|
|
18123
18123
|
|
|
18124
18124
|
|
|
18125
|
-
class
|
|
18125
|
+
class CvQualifierSeqContext extends antlr4.ParserRuleContext {
|
|
18126
18126
|
|
|
18127
18127
|
constructor(parser, parent, invokingState) {
|
|
18128
18128
|
if(parent===undefined) {
|
|
@@ -18133,7 +18133,7 @@ class CvqualifierseqContext extends antlr4.ParserRuleContext {
|
|
|
18133
18133
|
}
|
|
18134
18134
|
super(parent, invokingState);
|
|
18135
18135
|
this.parser = parser;
|
|
18136
|
-
this.ruleIndex = CPP14Parser.
|
|
18136
|
+
this.ruleIndex = CPP14Parser.RULE_cvQualifierSeq;
|
|
18137
18137
|
}
|
|
18138
18138
|
|
|
18139
18139
|
cvQualifier = function(i) {
|
|
@@ -18149,19 +18149,19 @@ class CvqualifierseqContext extends antlr4.ParserRuleContext {
|
|
|
18149
18149
|
|
|
18150
18150
|
enterRule(listener) {
|
|
18151
18151
|
if(listener instanceof CPP14ParserListener ) {
|
|
18152
|
-
listener.
|
|
18152
|
+
listener.enterCvQualifierSeq(this);
|
|
18153
18153
|
}
|
|
18154
18154
|
}
|
|
18155
18155
|
|
|
18156
18156
|
exitRule(listener) {
|
|
18157
18157
|
if(listener instanceof CPP14ParserListener ) {
|
|
18158
|
-
listener.
|
|
18158
|
+
listener.exitCvQualifierSeq(this);
|
|
18159
18159
|
}
|
|
18160
18160
|
}
|
|
18161
18161
|
|
|
18162
18162
|
accept(visitor) {
|
|
18163
18163
|
if ( visitor instanceof CPP14ParserVisitor ) {
|
|
18164
|
-
return visitor.
|
|
18164
|
+
return visitor.visitCvQualifierSeq(this);
|
|
18165
18165
|
} else {
|
|
18166
18166
|
return visitor.visitChildren(this);
|
|
18167
18167
|
}
|
|
@@ -18219,7 +18219,7 @@ class CvQualifierContext extends antlr4.ParserRuleContext {
|
|
|
18219
18219
|
|
|
18220
18220
|
|
|
18221
18221
|
|
|
18222
|
-
class
|
|
18222
|
+
class RefQualifierContext extends antlr4.ParserRuleContext {
|
|
18223
18223
|
|
|
18224
18224
|
constructor(parser, parent, invokingState) {
|
|
18225
18225
|
if(parent===undefined) {
|
|
@@ -18230,7 +18230,7 @@ class RefqualifierContext extends antlr4.ParserRuleContext {
|
|
|
18230
18230
|
}
|
|
18231
18231
|
super(parent, invokingState);
|
|
18232
18232
|
this.parser = parser;
|
|
18233
|
-
this.ruleIndex = CPP14Parser.
|
|
18233
|
+
this.ruleIndex = CPP14Parser.RULE_refQualifier;
|
|
18234
18234
|
}
|
|
18235
18235
|
|
|
18236
18236
|
And() {
|
|
@@ -18243,19 +18243,19 @@ class RefqualifierContext extends antlr4.ParserRuleContext {
|
|
|
18243
18243
|
|
|
18244
18244
|
enterRule(listener) {
|
|
18245
18245
|
if(listener instanceof CPP14ParserListener ) {
|
|
18246
|
-
listener.
|
|
18246
|
+
listener.enterRefQualifier(this);
|
|
18247
18247
|
}
|
|
18248
18248
|
}
|
|
18249
18249
|
|
|
18250
18250
|
exitRule(listener) {
|
|
18251
18251
|
if(listener instanceof CPP14ParserListener ) {
|
|
18252
|
-
listener.
|
|
18252
|
+
listener.exitRefQualifier(this);
|
|
18253
18253
|
}
|
|
18254
18254
|
}
|
|
18255
18255
|
|
|
18256
18256
|
accept(visitor) {
|
|
18257
18257
|
if ( visitor instanceof CPP14ParserVisitor ) {
|
|
18258
|
-
return visitor.
|
|
18258
|
+
return visitor.visitRefQualifier(this);
|
|
18259
18259
|
} else {
|
|
18260
18260
|
return visitor.visitChildren(this);
|
|
18261
18261
|
}
|
|
@@ -18266,7 +18266,7 @@ class RefqualifierContext extends antlr4.ParserRuleContext {
|
|
|
18266
18266
|
|
|
18267
18267
|
|
|
18268
18268
|
|
|
18269
|
-
class
|
|
18269
|
+
class DeclaratorIdContext extends antlr4.ParserRuleContext {
|
|
18270
18270
|
|
|
18271
18271
|
constructor(parser, parent, invokingState) {
|
|
18272
18272
|
if(parent===undefined) {
|
|
@@ -18277,7 +18277,7 @@ class DeclaratoridContext extends antlr4.ParserRuleContext {
|
|
|
18277
18277
|
}
|
|
18278
18278
|
super(parent, invokingState);
|
|
18279
18279
|
this.parser = parser;
|
|
18280
|
-
this.ruleIndex = CPP14Parser.
|
|
18280
|
+
this.ruleIndex = CPP14Parser.RULE_declaratorId;
|
|
18281
18281
|
}
|
|
18282
18282
|
|
|
18283
18283
|
idExpression() {
|
|
@@ -18290,19 +18290,19 @@ class DeclaratoridContext extends antlr4.ParserRuleContext {
|
|
|
18290
18290
|
|
|
18291
18291
|
enterRule(listener) {
|
|
18292
18292
|
if(listener instanceof CPP14ParserListener ) {
|
|
18293
|
-
listener.
|
|
18293
|
+
listener.enterDeclaratorId(this);
|
|
18294
18294
|
}
|
|
18295
18295
|
}
|
|
18296
18296
|
|
|
18297
18297
|
exitRule(listener) {
|
|
18298
18298
|
if(listener instanceof CPP14ParserListener ) {
|
|
18299
|
-
listener.
|
|
18299
|
+
listener.exitDeclaratorId(this);
|
|
18300
18300
|
}
|
|
18301
18301
|
}
|
|
18302
18302
|
|
|
18303
18303
|
accept(visitor) {
|
|
18304
18304
|
if ( visitor instanceof CPP14ParserVisitor ) {
|
|
18305
|
-
return visitor.
|
|
18305
|
+
return visitor.visitDeclaratorId(this);
|
|
18306
18306
|
} else {
|
|
18307
18307
|
return visitor.visitChildren(this);
|
|
18308
18308
|
}
|
|
@@ -19635,14 +19635,14 @@ class MemberSpecificationContext extends antlr4.ParserRuleContext {
|
|
|
19635
19635
|
this.ruleIndex = CPP14Parser.RULE_memberSpecification;
|
|
19636
19636
|
}
|
|
19637
19637
|
|
|
19638
|
-
|
|
19638
|
+
memberDeclaration = function(i) {
|
|
19639
19639
|
if(i===undefined) {
|
|
19640
19640
|
i = null;
|
|
19641
19641
|
}
|
|
19642
19642
|
if(i===null) {
|
|
19643
|
-
return this.getTypedRuleContexts(
|
|
19643
|
+
return this.getTypedRuleContexts(MemberDeclarationContext);
|
|
19644
19644
|
} else {
|
|
19645
|
-
return this.getTypedRuleContext(
|
|
19645
|
+
return this.getTypedRuleContext(MemberDeclarationContext,i);
|
|
19646
19646
|
}
|
|
19647
19647
|
};
|
|
19648
19648
|
|
|
@@ -19694,7 +19694,7 @@ class MemberSpecificationContext extends antlr4.ParserRuleContext {
|
|
|
19694
19694
|
|
|
19695
19695
|
|
|
19696
19696
|
|
|
19697
|
-
class
|
|
19697
|
+
class MemberDeclarationContext extends antlr4.ParserRuleContext {
|
|
19698
19698
|
|
|
19699
19699
|
constructor(parser, parent, invokingState) {
|
|
19700
19700
|
if(parent===undefined) {
|
|
@@ -19705,7 +19705,7 @@ class MemberdeclarationContext extends antlr4.ParserRuleContext {
|
|
|
19705
19705
|
}
|
|
19706
19706
|
super(parent, invokingState);
|
|
19707
19707
|
this.parser = parser;
|
|
19708
|
-
this.ruleIndex = CPP14Parser.
|
|
19708
|
+
this.ruleIndex = CPP14Parser.RULE_memberDeclaration;
|
|
19709
19709
|
}
|
|
19710
19710
|
|
|
19711
19711
|
Semi() {
|
|
@@ -19750,19 +19750,19 @@ class MemberdeclarationContext extends antlr4.ParserRuleContext {
|
|
|
19750
19750
|
|
|
19751
19751
|
enterRule(listener) {
|
|
19752
19752
|
if(listener instanceof CPP14ParserListener ) {
|
|
19753
|
-
listener.
|
|
19753
|
+
listener.enterMemberDeclaration(this);
|
|
19754
19754
|
}
|
|
19755
19755
|
}
|
|
19756
19756
|
|
|
19757
19757
|
exitRule(listener) {
|
|
19758
19758
|
if(listener instanceof CPP14ParserListener ) {
|
|
19759
|
-
listener.
|
|
19759
|
+
listener.exitMemberDeclaration(this);
|
|
19760
19760
|
}
|
|
19761
19761
|
}
|
|
19762
19762
|
|
|
19763
19763
|
accept(visitor) {
|
|
19764
19764
|
if ( visitor instanceof CPP14ParserVisitor ) {
|
|
19765
|
-
return visitor.
|
|
19765
|
+
return visitor.visitMemberDeclaration(this);
|
|
19766
19766
|
} else {
|
|
19767
19767
|
return visitor.visitChildren(this);
|
|
19768
19768
|
}
|
|
@@ -20647,8 +20647,8 @@ class MemInitializerContext extends antlr4.ParserRuleContext {
|
|
|
20647
20647
|
this.ruleIndex = CPP14Parser.RULE_memInitializer;
|
|
20648
20648
|
}
|
|
20649
20649
|
|
|
20650
|
-
|
|
20651
|
-
return this.getTypedRuleContext(
|
|
20650
|
+
memInitializerId() {
|
|
20651
|
+
return this.getTypedRuleContext(MemInitializerIdContext,0);
|
|
20652
20652
|
};
|
|
20653
20653
|
|
|
20654
20654
|
LeftParen() {
|
|
@@ -20692,7 +20692,7 @@ class MemInitializerContext extends antlr4.ParserRuleContext {
|
|
|
20692
20692
|
|
|
20693
20693
|
|
|
20694
20694
|
|
|
20695
|
-
class
|
|
20695
|
+
class MemInitializerIdContext extends antlr4.ParserRuleContext {
|
|
20696
20696
|
|
|
20697
20697
|
constructor(parser, parent, invokingState) {
|
|
20698
20698
|
if(parent===undefined) {
|
|
@@ -20703,7 +20703,7 @@ class MeminitializeridContext extends antlr4.ParserRuleContext {
|
|
|
20703
20703
|
}
|
|
20704
20704
|
super(parent, invokingState);
|
|
20705
20705
|
this.parser = parser;
|
|
20706
|
-
this.ruleIndex = CPP14Parser.
|
|
20706
|
+
this.ruleIndex = CPP14Parser.RULE_memInitializerId;
|
|
20707
20707
|
}
|
|
20708
20708
|
|
|
20709
20709
|
classOrDeclType() {
|
|
@@ -20716,19 +20716,19 @@ class MeminitializeridContext extends antlr4.ParserRuleContext {
|
|
|
20716
20716
|
|
|
20717
20717
|
enterRule(listener) {
|
|
20718
20718
|
if(listener instanceof CPP14ParserListener ) {
|
|
20719
|
-
listener.
|
|
20719
|
+
listener.enterMemInitializerId(this);
|
|
20720
20720
|
}
|
|
20721
20721
|
}
|
|
20722
20722
|
|
|
20723
20723
|
exitRule(listener) {
|
|
20724
20724
|
if(listener instanceof CPP14ParserListener ) {
|
|
20725
|
-
listener.
|
|
20725
|
+
listener.exitMemInitializerId(this);
|
|
20726
20726
|
}
|
|
20727
20727
|
}
|
|
20728
20728
|
|
|
20729
20729
|
accept(visitor) {
|
|
20730
20730
|
if ( visitor instanceof CPP14ParserVisitor ) {
|
|
20731
|
-
return visitor.
|
|
20731
|
+
return visitor.visitMemInitializerId(this);
|
|
20732
20732
|
} else {
|
|
20733
20733
|
return visitor.visitChildren(this);
|
|
20734
20734
|
}
|
|
@@ -20863,8 +20863,8 @@ class TemplateDeclarationContext extends antlr4.ParserRuleContext {
|
|
|
20863
20863
|
return this.getToken(CPP14Parser.Less, 0);
|
|
20864
20864
|
};
|
|
20865
20865
|
|
|
20866
|
-
|
|
20867
|
-
return this.getTypedRuleContext(
|
|
20866
|
+
templateParameterList() {
|
|
20867
|
+
return this.getTypedRuleContext(TemplateParameterListContext,0);
|
|
20868
20868
|
};
|
|
20869
20869
|
|
|
20870
20870
|
Greater() {
|
|
@@ -20900,7 +20900,7 @@ class TemplateDeclarationContext extends antlr4.ParserRuleContext {
|
|
|
20900
20900
|
|
|
20901
20901
|
|
|
20902
20902
|
|
|
20903
|
-
class
|
|
20903
|
+
class TemplateParameterListContext extends antlr4.ParserRuleContext {
|
|
20904
20904
|
|
|
20905
20905
|
constructor(parser, parent, invokingState) {
|
|
20906
20906
|
if(parent===undefined) {
|
|
@@ -20911,7 +20911,7 @@ class TemplateparameterListContext extends antlr4.ParserRuleContext {
|
|
|
20911
20911
|
}
|
|
20912
20912
|
super(parent, invokingState);
|
|
20913
20913
|
this.parser = parser;
|
|
20914
|
-
this.ruleIndex = CPP14Parser.
|
|
20914
|
+
this.ruleIndex = CPP14Parser.RULE_templateParameterList;
|
|
20915
20915
|
}
|
|
20916
20916
|
|
|
20917
20917
|
templateParameter = function(i) {
|
|
@@ -20939,19 +20939,19 @@ class TemplateparameterListContext extends antlr4.ParserRuleContext {
|
|
|
20939
20939
|
|
|
20940
20940
|
enterRule(listener) {
|
|
20941
20941
|
if(listener instanceof CPP14ParserListener ) {
|
|
20942
|
-
listener.
|
|
20942
|
+
listener.enterTemplateParameterList(this);
|
|
20943
20943
|
}
|
|
20944
20944
|
}
|
|
20945
20945
|
|
|
20946
20946
|
exitRule(listener) {
|
|
20947
20947
|
if(listener instanceof CPP14ParserListener ) {
|
|
20948
|
-
listener.
|
|
20948
|
+
listener.exitTemplateParameterList(this);
|
|
20949
20949
|
}
|
|
20950
20950
|
}
|
|
20951
20951
|
|
|
20952
20952
|
accept(visitor) {
|
|
20953
20953
|
if ( visitor instanceof CPP14ParserVisitor ) {
|
|
20954
|
-
return visitor.
|
|
20954
|
+
return visitor.visitTemplateParameterList(this);
|
|
20955
20955
|
} else {
|
|
20956
20956
|
return visitor.visitChildren(this);
|
|
20957
20957
|
}
|
|
@@ -21047,8 +21047,8 @@ class TypeParameterContext extends antlr4.ParserRuleContext {
|
|
|
21047
21047
|
return this.getToken(CPP14Parser.Less, 0);
|
|
21048
21048
|
};
|
|
21049
21049
|
|
|
21050
|
-
|
|
21051
|
-
return this.getTypedRuleContext(
|
|
21050
|
+
templateParameterList() {
|
|
21051
|
+
return this.getTypedRuleContext(TemplateParameterListContext,0);
|
|
21052
21052
|
};
|
|
21053
21053
|
|
|
21054
21054
|
Greater() {
|
|
@@ -21878,8 +21878,8 @@ class ExceptionSpecificationContext extends antlr4.ParserRuleContext {
|
|
|
21878
21878
|
return this.getTypedRuleContext(DynamicExceptionSpecificationContext,0);
|
|
21879
21879
|
};
|
|
21880
21880
|
|
|
21881
|
-
|
|
21882
|
-
return this.getTypedRuleContext(
|
|
21881
|
+
noExceptSpecification() {
|
|
21882
|
+
return this.getTypedRuleContext(NoExceptSpecificationContext,0);
|
|
21883
21883
|
};
|
|
21884
21884
|
|
|
21885
21885
|
enterRule(listener) {
|
|
@@ -22036,7 +22036,7 @@ class TypeIdListContext extends antlr4.ParserRuleContext {
|
|
|
22036
22036
|
|
|
22037
22037
|
|
|
22038
22038
|
|
|
22039
|
-
class
|
|
22039
|
+
class NoExceptSpecificationContext extends antlr4.ParserRuleContext {
|
|
22040
22040
|
|
|
22041
22041
|
constructor(parser, parent, invokingState) {
|
|
22042
22042
|
if(parent===undefined) {
|
|
@@ -22047,7 +22047,7 @@ class NoeExceptSpecificationContext extends antlr4.ParserRuleContext {
|
|
|
22047
22047
|
}
|
|
22048
22048
|
super(parent, invokingState);
|
|
22049
22049
|
this.parser = parser;
|
|
22050
|
-
this.ruleIndex = CPP14Parser.
|
|
22050
|
+
this.ruleIndex = CPP14Parser.RULE_noExceptSpecification;
|
|
22051
22051
|
}
|
|
22052
22052
|
|
|
22053
22053
|
Noexcept() {
|
|
@@ -22068,19 +22068,19 @@ class NoeExceptSpecificationContext extends antlr4.ParserRuleContext {
|
|
|
22068
22068
|
|
|
22069
22069
|
enterRule(listener) {
|
|
22070
22070
|
if(listener instanceof CPP14ParserListener ) {
|
|
22071
|
-
listener.
|
|
22071
|
+
listener.enterNoExceptSpecification(this);
|
|
22072
22072
|
}
|
|
22073
22073
|
}
|
|
22074
22074
|
|
|
22075
22075
|
exitRule(listener) {
|
|
22076
22076
|
if(listener instanceof CPP14ParserListener ) {
|
|
22077
|
-
listener.
|
|
22077
|
+
listener.exitNoExceptSpecification(this);
|
|
22078
22078
|
}
|
|
22079
22079
|
}
|
|
22080
22080
|
|
|
22081
22081
|
accept(visitor) {
|
|
22082
22082
|
if ( visitor instanceof CPP14ParserVisitor ) {
|
|
22083
|
-
return visitor.
|
|
22083
|
+
return visitor.visitNoExceptSpecification(this);
|
|
22084
22084
|
} else {
|
|
22085
22085
|
return visitor.visitChildren(this);
|
|
22086
22086
|
}
|
|
@@ -22383,7 +22383,7 @@ CPP14Parser.CaptureDefaultContext = CaptureDefaultContext;
|
|
|
22383
22383
|
CPP14Parser.CaptureListContext = CaptureListContext;
|
|
22384
22384
|
CPP14Parser.CaptureContext = CaptureContext;
|
|
22385
22385
|
CPP14Parser.SimpleCaptureContext = SimpleCaptureContext;
|
|
22386
|
-
CPP14Parser.
|
|
22386
|
+
CPP14Parser.InitCaptureContext = InitCaptureContext;
|
|
22387
22387
|
CPP14Parser.LambdaDeclaratorContext = LambdaDeclaratorContext;
|
|
22388
22388
|
CPP14Parser.PostfixExpressionContext = PostfixExpressionContext;
|
|
22389
22389
|
CPP14Parser.TypeIdOfTheTypeIdContext = TypeIdOfTheTypeIdContext;
|
|
@@ -22430,7 +22430,7 @@ CPP14Parser.ForRangeDeclarationContext = ForRangeDeclarationContext;
|
|
|
22430
22430
|
CPP14Parser.ForRangeInitializerContext = ForRangeInitializerContext;
|
|
22431
22431
|
CPP14Parser.JumpStatementContext = JumpStatementContext;
|
|
22432
22432
|
CPP14Parser.DeclarationStatementContext = DeclarationStatementContext;
|
|
22433
|
-
CPP14Parser.
|
|
22433
|
+
CPP14Parser.DeclarationSeqContext = DeclarationSeqContext;
|
|
22434
22434
|
CPP14Parser.DeclarationContext = DeclarationContext;
|
|
22435
22435
|
CPP14Parser.BlockDeclarationContext = BlockDeclarationContext;
|
|
22436
22436
|
CPP14Parser.AliasDeclarationContext = AliasDeclarationContext;
|
|
@@ -22457,8 +22457,8 @@ CPP14Parser.EnumNameContext = EnumNameContext;
|
|
|
22457
22457
|
CPP14Parser.EnumSpecifierContext = EnumSpecifierContext;
|
|
22458
22458
|
CPP14Parser.EnumHeadContext = EnumHeadContext;
|
|
22459
22459
|
CPP14Parser.OpaqueEnumDeclarationContext = OpaqueEnumDeclarationContext;
|
|
22460
|
-
CPP14Parser.
|
|
22461
|
-
CPP14Parser.
|
|
22460
|
+
CPP14Parser.EnumKeyContext = EnumKeyContext;
|
|
22461
|
+
CPP14Parser.EnumBaseContext = EnumBaseContext;
|
|
22462
22462
|
CPP14Parser.EnumeratorListContext = EnumeratorListContext;
|
|
22463
22463
|
CPP14Parser.EnumeratorDefinitionContext = EnumeratorDefinitionContext;
|
|
22464
22464
|
CPP14Parser.EnumeratorContext = EnumeratorContext;
|
|
@@ -22467,20 +22467,20 @@ CPP14Parser.OriginalNamespaceNameContext = OriginalNamespaceNameContext;
|
|
|
22467
22467
|
CPP14Parser.NamespaceDefinitionContext = NamespaceDefinitionContext;
|
|
22468
22468
|
CPP14Parser.NamespaceAliasContext = NamespaceAliasContext;
|
|
22469
22469
|
CPP14Parser.NamespaceAliasDefinitionContext = NamespaceAliasDefinitionContext;
|
|
22470
|
-
CPP14Parser.
|
|
22470
|
+
CPP14Parser.QualifiedNamespaceSpecifierContext = QualifiedNamespaceSpecifierContext;
|
|
22471
22471
|
CPP14Parser.UsingDeclarationContext = UsingDeclarationContext;
|
|
22472
22472
|
CPP14Parser.UsingDirectiveContext = UsingDirectiveContext;
|
|
22473
22473
|
CPP14Parser.AsmDefinitionContext = AsmDefinitionContext;
|
|
22474
22474
|
CPP14Parser.LinkageSpecificationContext = LinkageSpecificationContext;
|
|
22475
22475
|
CPP14Parser.AttributeSpecifierSeqContext = AttributeSpecifierSeqContext;
|
|
22476
22476
|
CPP14Parser.AttributeSpecifierContext = AttributeSpecifierContext;
|
|
22477
|
-
CPP14Parser.
|
|
22477
|
+
CPP14Parser.AlignmentSpecifierContext = AlignmentSpecifierContext;
|
|
22478
22478
|
CPP14Parser.AttributeListContext = AttributeListContext;
|
|
22479
22479
|
CPP14Parser.AttributeContext = AttributeContext;
|
|
22480
22480
|
CPP14Parser.AttributeNamespaceContext = AttributeNamespaceContext;
|
|
22481
22481
|
CPP14Parser.AttributeArgumentClauseContext = AttributeArgumentClauseContext;
|
|
22482
22482
|
CPP14Parser.BalancedTokenSeqContext = BalancedTokenSeqContext;
|
|
22483
|
-
CPP14Parser.
|
|
22483
|
+
CPP14Parser.BalancedTokenContext = BalancedTokenContext;
|
|
22484
22484
|
CPP14Parser.InitDeclaratorListContext = InitDeclaratorListContext;
|
|
22485
22485
|
CPP14Parser.InitDeclaratorContext = InitDeclaratorContext;
|
|
22486
22486
|
CPP14Parser.DeclaratorContext = DeclaratorContext;
|
|
@@ -22489,10 +22489,10 @@ CPP14Parser.NoPointerDeclaratorContext = NoPointerDeclaratorContext;
|
|
|
22489
22489
|
CPP14Parser.ParametersAndQualifiersContext = ParametersAndQualifiersContext;
|
|
22490
22490
|
CPP14Parser.TrailingReturnTypeContext = TrailingReturnTypeContext;
|
|
22491
22491
|
CPP14Parser.PointerOperatorContext = PointerOperatorContext;
|
|
22492
|
-
CPP14Parser.
|
|
22492
|
+
CPP14Parser.CvQualifierSeqContext = CvQualifierSeqContext;
|
|
22493
22493
|
CPP14Parser.CvQualifierContext = CvQualifierContext;
|
|
22494
|
-
CPP14Parser.
|
|
22495
|
-
CPP14Parser.
|
|
22494
|
+
CPP14Parser.RefQualifierContext = RefQualifierContext;
|
|
22495
|
+
CPP14Parser.DeclaratorIdContext = DeclaratorIdContext;
|
|
22496
22496
|
CPP14Parser.TheTypeIdContext = TheTypeIdContext;
|
|
22497
22497
|
CPP14Parser.AbstractDeclaratorContext = AbstractDeclaratorContext;
|
|
22498
22498
|
CPP14Parser.PointerAbstractDeclaratorContext = PointerAbstractDeclaratorContext;
|
|
@@ -22516,7 +22516,7 @@ CPP14Parser.ClassHeadNameContext = ClassHeadNameContext;
|
|
|
22516
22516
|
CPP14Parser.ClassVirtSpecifierContext = ClassVirtSpecifierContext;
|
|
22517
22517
|
CPP14Parser.ClassKeyContext = ClassKeyContext;
|
|
22518
22518
|
CPP14Parser.MemberSpecificationContext = MemberSpecificationContext;
|
|
22519
|
-
CPP14Parser.
|
|
22519
|
+
CPP14Parser.MemberDeclarationContext = MemberDeclarationContext;
|
|
22520
22520
|
CPP14Parser.MemberDeclaratorListContext = MemberDeclaratorListContext;
|
|
22521
22521
|
CPP14Parser.MemberDeclaratorContext = MemberDeclaratorContext;
|
|
22522
22522
|
CPP14Parser.VirtualSpecifierSeqContext = VirtualSpecifierSeqContext;
|
|
@@ -22534,11 +22534,11 @@ CPP14Parser.ConversionDeclaratorContext = ConversionDeclaratorContext;
|
|
|
22534
22534
|
CPP14Parser.ConstructorInitializerContext = ConstructorInitializerContext;
|
|
22535
22535
|
CPP14Parser.MemInitializerListContext = MemInitializerListContext;
|
|
22536
22536
|
CPP14Parser.MemInitializerContext = MemInitializerContext;
|
|
22537
|
-
CPP14Parser.
|
|
22537
|
+
CPP14Parser.MemInitializerIdContext = MemInitializerIdContext;
|
|
22538
22538
|
CPP14Parser.OperatorFunctionIdContext = OperatorFunctionIdContext;
|
|
22539
22539
|
CPP14Parser.LiteralOperatorIdContext = LiteralOperatorIdContext;
|
|
22540
22540
|
CPP14Parser.TemplateDeclarationContext = TemplateDeclarationContext;
|
|
22541
|
-
CPP14Parser.
|
|
22541
|
+
CPP14Parser.TemplateParameterListContext = TemplateParameterListContext;
|
|
22542
22542
|
CPP14Parser.TemplateParameterContext = TemplateParameterContext;
|
|
22543
22543
|
CPP14Parser.TypeParameterContext = TypeParameterContext;
|
|
22544
22544
|
CPP14Parser.SimpleTemplateIdContext = SimpleTemplateIdContext;
|
|
@@ -22558,6 +22558,6 @@ CPP14Parser.ThrowExpressionContext = ThrowExpressionContext;
|
|
|
22558
22558
|
CPP14Parser.ExceptionSpecificationContext = ExceptionSpecificationContext;
|
|
22559
22559
|
CPP14Parser.DynamicExceptionSpecificationContext = DynamicExceptionSpecificationContext;
|
|
22560
22560
|
CPP14Parser.TypeIdListContext = TypeIdListContext;
|
|
22561
|
-
CPP14Parser.
|
|
22561
|
+
CPP14Parser.NoExceptSpecificationContext = NoExceptSpecificationContext;
|
|
22562
22562
|
CPP14Parser.TheOperatorContext = TheOperatorContext;
|
|
22563
22563
|
CPP14Parser.LiteralContext = LiteralContext;
|