blend-kit 1.0.1
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/dist/helper/ApiHelper.js +0 -0
- package/dist/helper/BasicHelper.js +28 -0
- package/dist/helper/CommonHelper.js +10 -0
- package/dist/helper/DataHelper.js +241 -0
- package/dist/helper/ExpressHelper.js +728 -0
- package/dist/helper/FrontEndApiHelper.js +485 -0
- package/dist/helper/FrontEndReactApiHelper.js +483 -0
- package/dist/helper/MongoHelper.js +143 -0
- package/dist/helper/RNHelper.js +560 -0
- package/dist/helper/ReactHelper.js +524 -0
- package/dist/helper/SectionHelper.js +152 -0
- package/dist/helper/fileHelper.js +127 -0
- package/dist/helper/grammarHelper/BlendApiGrammarHelper.js +48 -0
- package/dist/helper/grammarHelper/BlendBasicGrammarHelper.js +98 -0
- package/dist/helper/grammarHelper/BlendDataGrammarHelper.js +47 -0
- package/dist/helper/grammarHelper/BlendMDPGrammarHelper.js +29 -0
- package/dist/helper/grammarHelper/BlendMongoGrammarHelper.js +51 -0
- package/dist/helper/grammarHelper/BlendRNGrammarHelper.js +56 -0
- package/dist/helper/grammarHelper/BlendReactGrammarHelper.js +55 -0
- package/dist/helper/grammarHelper/GrammarErrorHelper.js +16 -0
- package/dist/index.js +159 -0
- package/dist/parser/blendApi/src/grammar/BlendApiLexer.js +201 -0
- package/dist/parser/blendApi/src/grammar/BlendApiListener.js +3 -0
- package/dist/parser/blendApi/src/grammar/BlendApiParser.js +961 -0
- package/dist/parser/blendData/src/grammar/BlendDataLexer.js +154 -0
- package/dist/parser/blendData/src/grammar/BlendDataListener.js +3 -0
- package/dist/parser/blendData/src/grammar/BlendDataParser.js +641 -0
- package/dist/parser/blendMDP/src/grammar/BlendMDPLexer.js +151 -0
- package/dist/parser/blendMDP/src/grammar/BlendMDPListener.js +3 -0
- package/dist/parser/blendMDP/src/grammar/BlendMDPParser.js +490 -0
- package/dist/parser/blendMongo/src/grammar/BlendMongoLexer.js +187 -0
- package/dist/parser/blendMongo/src/grammar/BlendMongoListener.js +3 -0
- package/dist/parser/blendMongo/src/grammar/BlendMongoParser.js +848 -0
- package/dist/parser/blendRN/src/grammar/BlendRNLexer.js +172 -0
- package/dist/parser/blendRN/src/grammar/BlendRNListener.js +3 -0
- package/dist/parser/blendRN/src/grammar/BlendRNParser.js +657 -0
- package/dist/parser/blendReact/src/grammar/BlendReactLexer.js +159 -0
- package/dist/parser/blendReact/src/grammar/BlendReactListener.js +3 -0
- package/dist/parser/blendReact/src/grammar/BlendReactParser.js +644 -0
- package/dist/parser/blendbasic/src/grammar/BlendBasicLexer.js +147 -0
- package/dist/parser/blendbasic/src/grammar/BlendBasicListener.js +3 -0
- package/dist/parser/blendbasic/src/grammar/BlendBasicParser.js +747 -0
- package/dist/src/app.js +76 -0
- package/dist/src/app.ts +54 -0
- package/dist/types/apiOperationTypes.js +13 -0
- package/dist/types/basicOperationTypes.js +2 -0
- package/dist/types/dataOperationTypes.js +2 -0
- package/dist/types/frontendOperationTypes.js +4 -0
- package/dist/types/generalTypes.js +0 -0
- package/dist/types/mongoOperationTypes.js +12 -0
- package/package.json +29 -0
- package/src/grammar/.antlr/ApiModuleLexer.interp +71 -0
- package/src/grammar/.antlr/ApiModuleLexer.java +194 -0
- package/src/grammar/.antlr/ApiModuleLexer.tokens +32 -0
- package/src/grammar/.antlr/BlendApi.interp +70 -0
- package/src/grammar/.antlr/BlendApi.tokens +44 -0
- package/src/grammar/.antlr/BlendApiLexer.interp +89 -0
- package/src/grammar/.antlr/BlendApiLexer.java +237 -0
- package/src/grammar/.antlr/BlendApiLexer.tokens +44 -0
- package/src/grammar/.antlr/BlendApiParser.java +767 -0
- package/src/grammar/.antlr/BlendBasic.interp +41 -0
- package/src/grammar/.antlr/BlendBasic.tokens +20 -0
- package/src/grammar/.antlr/BlendBasicLexer.interp +50 -0
- package/src/grammar/.antlr/BlendBasicLexer.java +179 -0
- package/src/grammar/.antlr/BlendBasicLexer.tokens +20 -0
- package/src/grammar/.antlr/BlendBasicParser.java +599 -0
- package/src/grammar/.antlr/BlendData.interp +50 -0
- package/src/grammar/.antlr/BlendData.tokens +29 -0
- package/src/grammar/.antlr/BlendDataLexer.interp +65 -0
- package/src/grammar/.antlr/BlendDataLexer.java +181 -0
- package/src/grammar/.antlr/BlendDataLexer.tokens +29 -0
- package/src/grammar/.antlr/BlendDataParser.java +520 -0
- package/src/grammar/.antlr/BlendMDP.interp +45 -0
- package/src/grammar/.antlr/BlendMDP.tokens +25 -0
- package/src/grammar/.antlr/BlendMDPLexer.interp +59 -0
- package/src/grammar/.antlr/BlendMDPLexer.java +178 -0
- package/src/grammar/.antlr/BlendMDPLexer.tokens +25 -0
- package/src/grammar/.antlr/BlendMDPParser.java +386 -0
- package/src/grammar/.antlr/BlendMongo.interp +65 -0
- package/src/grammar/.antlr/BlendMongo.tokens +41 -0
- package/src/grammar/.antlr/BlendMongoLexer.interp +83 -0
- package/src/grammar/.antlr/BlendMongoLexer.java +219 -0
- package/src/grammar/.antlr/BlendMongoLexer.tokens +41 -0
- package/src/grammar/.antlr/BlendMongoParser.java +669 -0
- package/src/grammar/.antlr/BlendRN.interp +53 -0
- package/src/grammar/.antlr/BlendRN.tokens +31 -0
- package/src/grammar/.antlr/BlendRNLexer.interp +71 -0
- package/src/grammar/.antlr/BlendRNLexer.java +202 -0
- package/src/grammar/.antlr/BlendRNLexer.tokens +31 -0
- package/src/grammar/.antlr/BlendRNParser.java +542 -0
- package/src/grammar/.antlr/BlendReact.interp +49 -0
- package/src/grammar/.antlr/BlendReact.tokens +28 -0
- package/src/grammar/.antlr/BlendReactLexer.interp +65 -0
- package/src/grammar/.antlr/BlendReactLexer.java +188 -0
- package/src/grammar/.antlr/BlendReactLexer.tokens +28 -0
- package/src/grammar/.antlr/BlendReactParser.java +530 -0
- package/src/grammar/BlendApi.g4 +26 -0
- package/src/grammar/BlendBasic.g4 +16 -0
- package/src/grammar/BlendData.g4 +24 -0
- package/src/grammar/BlendMDP.g4 +12 -0
- package/src/grammar/BlendMongo.g4 +24 -0
- package/src/grammar/BlendRN.g4 +18 -0
- package/src/grammar/BlendReact.g4 +16 -0
- package/src/helper/BasicHelper.ts +35 -0
- package/src/helper/CommonHelper.ts +5 -0
- package/src/helper/DataHelper.ts +268 -0
- package/src/helper/ExpressHelper.ts +807 -0
- package/src/helper/FrontEndApiHelper.ts +526 -0
- package/src/helper/FrontEndReactApiHelper.ts +532 -0
- package/src/helper/MongoHelper.ts +165 -0
- package/src/helper/RNHelper.ts +651 -0
- package/src/helper/ReactHelper.ts +597 -0
- package/src/helper/SectionHelper.ts +154 -0
- package/src/helper/fileHelper.ts +111 -0
- package/src/helper/grammarHelper/BlendApiGrammarHelper.ts +45 -0
- package/src/helper/grammarHelper/BlendBasicGrammarHelper.ts +101 -0
- package/src/helper/grammarHelper/BlendDataGrammarHelper.ts +49 -0
- package/src/helper/grammarHelper/BlendMDPGrammarHelper.ts +33 -0
- package/src/helper/grammarHelper/BlendMongoGrammarHelper.ts +50 -0
- package/src/helper/grammarHelper/BlendRNGrammarHelper.ts +65 -0
- package/src/helper/grammarHelper/BlendReactGrammarHelper.ts +65 -0
- package/src/helper/grammarHelper/GrammarErrorHelper.ts +13 -0
- package/src/index.ts +168 -0
- package/src/parser/blendApi/src/grammar/BlendApi.interp +70 -0
- package/src/parser/blendApi/src/grammar/BlendApi.tokens +44 -0
- package/src/parser/blendApi/src/grammar/BlendApiLexer.interp +89 -0
- package/src/parser/blendApi/src/grammar/BlendApiLexer.tokens +44 -0
- package/src/parser/blendApi/src/grammar/BlendApiLexer.ts +193 -0
- package/src/parser/blendApi/src/grammar/BlendApiListener.ts +145 -0
- package/src/parser/blendApi/src/grammar/BlendApiParser.ts +968 -0
- package/src/parser/blendData/src/grammar/BlendData.interp +50 -0
- package/src/parser/blendData/src/grammar/BlendData.tokens +29 -0
- package/src/parser/blendData/src/grammar/BlendDataLexer.interp +65 -0
- package/src/parser/blendData/src/grammar/BlendDataLexer.tokens +29 -0
- package/src/parser/blendData/src/grammar/BlendDataLexer.ts +146 -0
- package/src/parser/blendData/src/grammar/BlendDataListener.ts +97 -0
- package/src/parser/blendData/src/grammar/BlendDataParser.ts +641 -0
- package/src/parser/blendMDP/src/grammar/BlendMDP.interp +45 -0
- package/src/parser/blendMDP/src/grammar/BlendMDP.tokens +25 -0
- package/src/parser/blendMDP/src/grammar/BlendMDPLexer.interp +59 -0
- package/src/parser/blendMDP/src/grammar/BlendMDPLexer.tokens +25 -0
- package/src/parser/blendMDP/src/grammar/BlendMDPLexer.ts +143 -0
- package/src/parser/blendMDP/src/grammar/BlendMDPListener.ts +85 -0
- package/src/parser/blendMDP/src/grammar/BlendMDPParser.ts +483 -0
- package/src/parser/blendMongo/src/grammar/BlendMongo.interp +65 -0
- package/src/parser/blendMongo/src/grammar/BlendMongo.tokens +41 -0
- package/src/parser/blendMongo/src/grammar/BlendMongoLexer.interp +83 -0
- package/src/parser/blendMongo/src/grammar/BlendMongoLexer.tokens +41 -0
- package/src/parser/blendMongo/src/grammar/BlendMongoLexer.ts +179 -0
- package/src/parser/blendMongo/src/grammar/BlendMongoListener.ts +133 -0
- package/src/parser/blendMongo/src/grammar/BlendMongoParser.ts +849 -0
- package/src/parser/blendRN/src/grammar/BlendRN.interp +53 -0
- package/src/parser/blendRN/src/grammar/BlendRN.tokens +31 -0
- package/src/parser/blendRN/src/grammar/BlendRNLexer.interp +71 -0
- package/src/parser/blendRN/src/grammar/BlendRNLexer.tokens +31 -0
- package/src/parser/blendRN/src/grammar/BlendRNLexer.ts +164 -0
- package/src/parser/blendRN/src/grammar/BlendRNListener.ts +85 -0
- package/src/parser/blendRN/src/grammar/BlendRNParser.ts +659 -0
- package/src/parser/blendReact/src/grammar/BlendReact.interp +49 -0
- package/src/parser/blendReact/src/grammar/BlendReact.tokens +28 -0
- package/src/parser/blendReact/src/grammar/BlendReactLexer.interp +65 -0
- package/src/parser/blendReact/src/grammar/BlendReactLexer.tokens +28 -0
- package/src/parser/blendReact/src/grammar/BlendReactLexer.ts +151 -0
- package/src/parser/blendReact/src/grammar/BlendReactListener.ts +85 -0
- package/src/parser/blendReact/src/grammar/BlendReactParser.ts +646 -0
- package/src/parser/blendbasic/src/grammar/BlendBasic.interp +41 -0
- package/src/parser/blendbasic/src/grammar/BlendBasic.tokens +20 -0
- package/src/parser/blendbasic/src/grammar/BlendBasicLexer.interp +50 -0
- package/src/parser/blendbasic/src/grammar/BlendBasicLexer.tokens +20 -0
- package/src/parser/blendbasic/src/grammar/BlendBasicLexer.ts +139 -0
- package/src/parser/blendbasic/src/grammar/BlendBasicListener.ts +109 -0
- package/src/parser/blendbasic/src/grammar/BlendBasicParser.ts +747 -0
- package/src/types/apiOperationTypes.ts +43 -0
- package/src/types/basicOperationTypes.ts +15 -0
- package/src/types/dataOperationTypes.ts +20 -0
- package/src/types/frontendOperationTypes.ts +92 -0
- package/src/types/generalTypes.ts +0 -0
- package/src/types/mongoOperationTypes.ts +36 -0
- package/template/.env.dev +1 -0
- package/template/package.json +36 -0
- package/template/src/app.js +76 -0
- package/template/src/app.ts +54 -0
- package/template/src/config/app.config.js +0 -0
- package/template/src/config/app.config.ts +0 -0
- package/template/src/config/database.config.js +6 -0
- package/template/src/config/database.config.ts +4 -0
- package/template/src/data/interfaces.js +2 -0
- package/template/src/data/interfaces.ts +23 -0
- package/template/src/middlewares/auth.js +22 -0
- package/template/src/middlewares/auth.ts +21 -0
- package/template/src/models/Database.js +10 -0
- package/template/src/models/Database.ts +8 -0
- package/template/src/models/User/Permission.model.js +13 -0
- package/template/src/models/User/Permission.model.ts +14 -0
- package/template/src/models/User/Role.model.js +13 -0
- package/template/src/models/User/Role.model.ts +14 -0
- package/template/src/models/User/User.model.js +17 -0
- package/template/src/models/User/User.model.ts +18 -0
- package/template/src/routes/User.routes.js +47 -0
- package/template/src/routes/User.routes.ts +41 -0
- package/template/src/routes/common/common.routes.config.js +14 -0
- package/template/src/routes/common/common.routes.config.ts +15 -0
- package/template/src/services/User/User.service.js +75 -0
- package/template/src/services/User/User.service.ts +68 -0
- package/template/src/services/User/api.data.js +72 -0
- package/template/src/services/User/api.data.ts +79 -0
- package/template/src/services/User/api.interface.js +3 -0
- package/template/src/services/User/api.interface.ts +10 -0
- package/template/tsconfig.json +10 -0
- package/tsconfig.json +13 -0
|
@@ -0,0 +1,747 @@
|
|
|
1
|
+
// Generated from src/grammar/BlendBasic.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import { ATN } from "antlr4ts/atn/ATN";
|
|
5
|
+
import { ATNDeserializer } from "antlr4ts/atn/ATNDeserializer";
|
|
6
|
+
import { FailedPredicateException } from "antlr4ts/FailedPredicateException";
|
|
7
|
+
import { NotNull } from "antlr4ts/Decorators";
|
|
8
|
+
import { NoViableAltException } from "antlr4ts/NoViableAltException";
|
|
9
|
+
import { Override } from "antlr4ts/Decorators";
|
|
10
|
+
import { Parser } from "antlr4ts/Parser";
|
|
11
|
+
import { ParserRuleContext } from "antlr4ts/ParserRuleContext";
|
|
12
|
+
import { ParserATNSimulator } from "antlr4ts/atn/ParserATNSimulator";
|
|
13
|
+
import { ParseTreeListener } from "antlr4ts/tree/ParseTreeListener";
|
|
14
|
+
import { ParseTreeVisitor } from "antlr4ts/tree/ParseTreeVisitor";
|
|
15
|
+
import { RecognitionException } from "antlr4ts/RecognitionException";
|
|
16
|
+
import { RuleContext } from "antlr4ts/RuleContext";
|
|
17
|
+
//import { RuleVersion } from "antlr4ts/RuleVersion";
|
|
18
|
+
import { TerminalNode } from "antlr4ts/tree/TerminalNode";
|
|
19
|
+
import { Token } from "antlr4ts/Token";
|
|
20
|
+
import { TokenStream } from "antlr4ts/TokenStream";
|
|
21
|
+
import { Vocabulary } from "antlr4ts/Vocabulary";
|
|
22
|
+
import { VocabularyImpl } from "antlr4ts/VocabularyImpl";
|
|
23
|
+
|
|
24
|
+
import * as Utils from "antlr4ts/misc/Utils";
|
|
25
|
+
|
|
26
|
+
import { BlendBasicListener } from "./BlendBasicListener";
|
|
27
|
+
|
|
28
|
+
export class BlendBasicParser extends Parser {
|
|
29
|
+
public static readonly T__0 = 1;
|
|
30
|
+
public static readonly T__1 = 2;
|
|
31
|
+
public static readonly T__2 = 3;
|
|
32
|
+
public static readonly T__3 = 4;
|
|
33
|
+
public static readonly T__4 = 5;
|
|
34
|
+
public static readonly T__5 = 6;
|
|
35
|
+
public static readonly T__6 = 7;
|
|
36
|
+
public static readonly T__7 = 8;
|
|
37
|
+
public static readonly T__8 = 9;
|
|
38
|
+
public static readonly IDENTIFIER = 10;
|
|
39
|
+
public static readonly WS = 11;
|
|
40
|
+
public static readonly RULE_sections = 0;
|
|
41
|
+
public static readonly RULE_section = 1;
|
|
42
|
+
public static readonly RULE_module = 2;
|
|
43
|
+
public static readonly RULE_dataModule = 3;
|
|
44
|
+
public static readonly RULE_expressModule = 4;
|
|
45
|
+
public static readonly RULE_rnModule = 5;
|
|
46
|
+
public static readonly RULE_reactModule = 6;
|
|
47
|
+
public static readonly RULE_mongoModule = 7;
|
|
48
|
+
// tslint:disable:no-trailing-whitespace
|
|
49
|
+
public static readonly ruleNames: string[] = [
|
|
50
|
+
"sections", "section", "module", "dataModule", "expressModule", "rnModule",
|
|
51
|
+
"reactModule", "mongoModule",
|
|
52
|
+
];
|
|
53
|
+
|
|
54
|
+
private static readonly _LITERAL_NAMES: Array<string | undefined> = [
|
|
55
|
+
undefined, "'section'", "'{'", "'}'", "'data-module'", "','", "'express-module'",
|
|
56
|
+
"'rn-module'", "'react-module'", "'mongo-module'",
|
|
57
|
+
];
|
|
58
|
+
private static readonly _SYMBOLIC_NAMES: Array<string | undefined> = [
|
|
59
|
+
undefined, undefined, undefined, undefined, undefined, undefined, undefined,
|
|
60
|
+
undefined, undefined, undefined, "IDENTIFIER", "WS",
|
|
61
|
+
];
|
|
62
|
+
public static readonly VOCABULARY: Vocabulary = new VocabularyImpl(BlendBasicParser._LITERAL_NAMES, BlendBasicParser._SYMBOLIC_NAMES, []);
|
|
63
|
+
|
|
64
|
+
// @Override
|
|
65
|
+
// @NotNull
|
|
66
|
+
public get vocabulary(): Vocabulary {
|
|
67
|
+
return BlendBasicParser.VOCABULARY;
|
|
68
|
+
}
|
|
69
|
+
// tslint:enable:no-trailing-whitespace
|
|
70
|
+
|
|
71
|
+
// @Override
|
|
72
|
+
public get grammarFileName(): string { return "BlendBasic.g4"; }
|
|
73
|
+
|
|
74
|
+
// @Override
|
|
75
|
+
public get ruleNames(): string[] { return BlendBasicParser.ruleNames; }
|
|
76
|
+
|
|
77
|
+
// @Override
|
|
78
|
+
public get serializedATN(): string { return BlendBasicParser._serializedATN; }
|
|
79
|
+
|
|
80
|
+
protected createFailedPredicateException(predicate?: string, message?: string): FailedPredicateException {
|
|
81
|
+
return new FailedPredicateException(this, predicate, message);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
constructor(input: TokenStream) {
|
|
85
|
+
super(input);
|
|
86
|
+
this._interp = new ParserATNSimulator(BlendBasicParser._ATN, this);
|
|
87
|
+
}
|
|
88
|
+
// @RuleVersion(0)
|
|
89
|
+
public sections(): SectionsContext {
|
|
90
|
+
let _localctx: SectionsContext = new SectionsContext(this._ctx, this.state);
|
|
91
|
+
this.enterRule(_localctx, 0, BlendBasicParser.RULE_sections);
|
|
92
|
+
let _la: number;
|
|
93
|
+
try {
|
|
94
|
+
this.enterOuterAlt(_localctx, 1);
|
|
95
|
+
{
|
|
96
|
+
this.state = 17;
|
|
97
|
+
this._errHandler.sync(this);
|
|
98
|
+
_la = this._input.LA(1);
|
|
99
|
+
do {
|
|
100
|
+
{
|
|
101
|
+
{
|
|
102
|
+
this.state = 16;
|
|
103
|
+
this.section();
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
this.state = 19;
|
|
107
|
+
this._errHandler.sync(this);
|
|
108
|
+
_la = this._input.LA(1);
|
|
109
|
+
} while (_la === BlendBasicParser.T__0);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
catch (re) {
|
|
113
|
+
if (re instanceof RecognitionException) {
|
|
114
|
+
_localctx.exception = re;
|
|
115
|
+
this._errHandler.reportError(this, re);
|
|
116
|
+
this._errHandler.recover(this, re);
|
|
117
|
+
} else {
|
|
118
|
+
throw re;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
finally {
|
|
122
|
+
this.exitRule();
|
|
123
|
+
}
|
|
124
|
+
return _localctx;
|
|
125
|
+
}
|
|
126
|
+
// @RuleVersion(0)
|
|
127
|
+
public section(): SectionContext {
|
|
128
|
+
let _localctx: SectionContext = new SectionContext(this._ctx, this.state);
|
|
129
|
+
this.enterRule(_localctx, 2, BlendBasicParser.RULE_section);
|
|
130
|
+
let _la: number;
|
|
131
|
+
try {
|
|
132
|
+
this.enterOuterAlt(_localctx, 1);
|
|
133
|
+
{
|
|
134
|
+
this.state = 21;
|
|
135
|
+
this.match(BlendBasicParser.T__0);
|
|
136
|
+
this.state = 22;
|
|
137
|
+
this.match(BlendBasicParser.IDENTIFIER);
|
|
138
|
+
this.state = 23;
|
|
139
|
+
this.match(BlendBasicParser.T__1);
|
|
140
|
+
this.state = 27;
|
|
141
|
+
this._errHandler.sync(this);
|
|
142
|
+
_la = this._input.LA(1);
|
|
143
|
+
while ((((_la) & ~0x1F) === 0 && ((1 << _la) & ((1 << BlendBasicParser.T__3) | (1 << BlendBasicParser.T__5) | (1 << BlendBasicParser.T__6) | (1 << BlendBasicParser.T__7) | (1 << BlendBasicParser.T__8))) !== 0)) {
|
|
144
|
+
{
|
|
145
|
+
{
|
|
146
|
+
this.state = 24;
|
|
147
|
+
this.module();
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
this.state = 29;
|
|
151
|
+
this._errHandler.sync(this);
|
|
152
|
+
_la = this._input.LA(1);
|
|
153
|
+
}
|
|
154
|
+
this.state = 30;
|
|
155
|
+
this.match(BlendBasicParser.T__2);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
catch (re) {
|
|
159
|
+
if (re instanceof RecognitionException) {
|
|
160
|
+
_localctx.exception = re;
|
|
161
|
+
this._errHandler.reportError(this, re);
|
|
162
|
+
this._errHandler.recover(this, re);
|
|
163
|
+
} else {
|
|
164
|
+
throw re;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
finally {
|
|
168
|
+
this.exitRule();
|
|
169
|
+
}
|
|
170
|
+
return _localctx;
|
|
171
|
+
}
|
|
172
|
+
// @RuleVersion(0)
|
|
173
|
+
public module(): ModuleContext {
|
|
174
|
+
let _localctx: ModuleContext = new ModuleContext(this._ctx, this.state);
|
|
175
|
+
this.enterRule(_localctx, 4, BlendBasicParser.RULE_module);
|
|
176
|
+
try {
|
|
177
|
+
this.state = 37;
|
|
178
|
+
this._errHandler.sync(this);
|
|
179
|
+
switch (this._input.LA(1)) {
|
|
180
|
+
case BlendBasicParser.T__3:
|
|
181
|
+
this.enterOuterAlt(_localctx, 1);
|
|
182
|
+
{
|
|
183
|
+
this.state = 32;
|
|
184
|
+
this.dataModule();
|
|
185
|
+
}
|
|
186
|
+
break;
|
|
187
|
+
case BlendBasicParser.T__5:
|
|
188
|
+
this.enterOuterAlt(_localctx, 2);
|
|
189
|
+
{
|
|
190
|
+
this.state = 33;
|
|
191
|
+
this.expressModule();
|
|
192
|
+
}
|
|
193
|
+
break;
|
|
194
|
+
case BlendBasicParser.T__6:
|
|
195
|
+
this.enterOuterAlt(_localctx, 3);
|
|
196
|
+
{
|
|
197
|
+
this.state = 34;
|
|
198
|
+
this.rnModule();
|
|
199
|
+
}
|
|
200
|
+
break;
|
|
201
|
+
case BlendBasicParser.T__8:
|
|
202
|
+
this.enterOuterAlt(_localctx, 4);
|
|
203
|
+
{
|
|
204
|
+
this.state = 35;
|
|
205
|
+
this.mongoModule();
|
|
206
|
+
}
|
|
207
|
+
break;
|
|
208
|
+
case BlendBasicParser.T__7:
|
|
209
|
+
this.enterOuterAlt(_localctx, 5);
|
|
210
|
+
{
|
|
211
|
+
this.state = 36;
|
|
212
|
+
this.reactModule();
|
|
213
|
+
}
|
|
214
|
+
break;
|
|
215
|
+
default:
|
|
216
|
+
throw new NoViableAltException(this);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
catch (re) {
|
|
220
|
+
if (re instanceof RecognitionException) {
|
|
221
|
+
_localctx.exception = re;
|
|
222
|
+
this._errHandler.reportError(this, re);
|
|
223
|
+
this._errHandler.recover(this, re);
|
|
224
|
+
} else {
|
|
225
|
+
throw re;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
finally {
|
|
229
|
+
this.exitRule();
|
|
230
|
+
}
|
|
231
|
+
return _localctx;
|
|
232
|
+
}
|
|
233
|
+
// @RuleVersion(0)
|
|
234
|
+
public dataModule(): DataModuleContext {
|
|
235
|
+
let _localctx: DataModuleContext = new DataModuleContext(this._ctx, this.state);
|
|
236
|
+
this.enterRule(_localctx, 6, BlendBasicParser.RULE_dataModule);
|
|
237
|
+
let _la: number;
|
|
238
|
+
try {
|
|
239
|
+
this.enterOuterAlt(_localctx, 1);
|
|
240
|
+
{
|
|
241
|
+
this.state = 39;
|
|
242
|
+
this.match(BlendBasicParser.T__3);
|
|
243
|
+
this.state = 40;
|
|
244
|
+
this.match(BlendBasicParser.IDENTIFIER);
|
|
245
|
+
this.state = 45;
|
|
246
|
+
this._errHandler.sync(this);
|
|
247
|
+
_la = this._input.LA(1);
|
|
248
|
+
while (_la === BlendBasicParser.T__4) {
|
|
249
|
+
{
|
|
250
|
+
{
|
|
251
|
+
this.state = 41;
|
|
252
|
+
this.match(BlendBasicParser.T__4);
|
|
253
|
+
this.state = 42;
|
|
254
|
+
this.match(BlendBasicParser.IDENTIFIER);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
this.state = 47;
|
|
258
|
+
this._errHandler.sync(this);
|
|
259
|
+
_la = this._input.LA(1);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
catch (re) {
|
|
264
|
+
if (re instanceof RecognitionException) {
|
|
265
|
+
_localctx.exception = re;
|
|
266
|
+
this._errHandler.reportError(this, re);
|
|
267
|
+
this._errHandler.recover(this, re);
|
|
268
|
+
} else {
|
|
269
|
+
throw re;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
finally {
|
|
273
|
+
this.exitRule();
|
|
274
|
+
}
|
|
275
|
+
return _localctx;
|
|
276
|
+
}
|
|
277
|
+
// @RuleVersion(0)
|
|
278
|
+
public expressModule(): ExpressModuleContext {
|
|
279
|
+
let _localctx: ExpressModuleContext = new ExpressModuleContext(this._ctx, this.state);
|
|
280
|
+
this.enterRule(_localctx, 8, BlendBasicParser.RULE_expressModule);
|
|
281
|
+
let _la: number;
|
|
282
|
+
try {
|
|
283
|
+
this.enterOuterAlt(_localctx, 1);
|
|
284
|
+
{
|
|
285
|
+
this.state = 48;
|
|
286
|
+
this.match(BlendBasicParser.T__5);
|
|
287
|
+
this.state = 49;
|
|
288
|
+
this.match(BlendBasicParser.IDENTIFIER);
|
|
289
|
+
this.state = 54;
|
|
290
|
+
this._errHandler.sync(this);
|
|
291
|
+
_la = this._input.LA(1);
|
|
292
|
+
while (_la === BlendBasicParser.T__4) {
|
|
293
|
+
{
|
|
294
|
+
{
|
|
295
|
+
this.state = 50;
|
|
296
|
+
this.match(BlendBasicParser.T__4);
|
|
297
|
+
this.state = 51;
|
|
298
|
+
this.match(BlendBasicParser.IDENTIFIER);
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
this.state = 56;
|
|
302
|
+
this._errHandler.sync(this);
|
|
303
|
+
_la = this._input.LA(1);
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
catch (re) {
|
|
308
|
+
if (re instanceof RecognitionException) {
|
|
309
|
+
_localctx.exception = re;
|
|
310
|
+
this._errHandler.reportError(this, re);
|
|
311
|
+
this._errHandler.recover(this, re);
|
|
312
|
+
} else {
|
|
313
|
+
throw re;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
finally {
|
|
317
|
+
this.exitRule();
|
|
318
|
+
}
|
|
319
|
+
return _localctx;
|
|
320
|
+
}
|
|
321
|
+
// @RuleVersion(0)
|
|
322
|
+
public rnModule(): RnModuleContext {
|
|
323
|
+
let _localctx: RnModuleContext = new RnModuleContext(this._ctx, this.state);
|
|
324
|
+
this.enterRule(_localctx, 10, BlendBasicParser.RULE_rnModule);
|
|
325
|
+
let _la: number;
|
|
326
|
+
try {
|
|
327
|
+
this.enterOuterAlt(_localctx, 1);
|
|
328
|
+
{
|
|
329
|
+
this.state = 57;
|
|
330
|
+
this.match(BlendBasicParser.T__6);
|
|
331
|
+
this.state = 58;
|
|
332
|
+
this.match(BlendBasicParser.IDENTIFIER);
|
|
333
|
+
this.state = 63;
|
|
334
|
+
this._errHandler.sync(this);
|
|
335
|
+
_la = this._input.LA(1);
|
|
336
|
+
while (_la === BlendBasicParser.T__4) {
|
|
337
|
+
{
|
|
338
|
+
{
|
|
339
|
+
this.state = 59;
|
|
340
|
+
this.match(BlendBasicParser.T__4);
|
|
341
|
+
this.state = 60;
|
|
342
|
+
this.match(BlendBasicParser.IDENTIFIER);
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
this.state = 65;
|
|
346
|
+
this._errHandler.sync(this);
|
|
347
|
+
_la = this._input.LA(1);
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
catch (re) {
|
|
352
|
+
if (re instanceof RecognitionException) {
|
|
353
|
+
_localctx.exception = re;
|
|
354
|
+
this._errHandler.reportError(this, re);
|
|
355
|
+
this._errHandler.recover(this, re);
|
|
356
|
+
} else {
|
|
357
|
+
throw re;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
finally {
|
|
361
|
+
this.exitRule();
|
|
362
|
+
}
|
|
363
|
+
return _localctx;
|
|
364
|
+
}
|
|
365
|
+
// @RuleVersion(0)
|
|
366
|
+
public reactModule(): ReactModuleContext {
|
|
367
|
+
let _localctx: ReactModuleContext = new ReactModuleContext(this._ctx, this.state);
|
|
368
|
+
this.enterRule(_localctx, 12, BlendBasicParser.RULE_reactModule);
|
|
369
|
+
let _la: number;
|
|
370
|
+
try {
|
|
371
|
+
this.enterOuterAlt(_localctx, 1);
|
|
372
|
+
{
|
|
373
|
+
this.state = 66;
|
|
374
|
+
this.match(BlendBasicParser.T__7);
|
|
375
|
+
this.state = 67;
|
|
376
|
+
this.match(BlendBasicParser.IDENTIFIER);
|
|
377
|
+
this.state = 72;
|
|
378
|
+
this._errHandler.sync(this);
|
|
379
|
+
_la = this._input.LA(1);
|
|
380
|
+
while (_la === BlendBasicParser.T__4) {
|
|
381
|
+
{
|
|
382
|
+
{
|
|
383
|
+
this.state = 68;
|
|
384
|
+
this.match(BlendBasicParser.T__4);
|
|
385
|
+
this.state = 69;
|
|
386
|
+
this.match(BlendBasicParser.IDENTIFIER);
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
this.state = 74;
|
|
390
|
+
this._errHandler.sync(this);
|
|
391
|
+
_la = this._input.LA(1);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
catch (re) {
|
|
396
|
+
if (re instanceof RecognitionException) {
|
|
397
|
+
_localctx.exception = re;
|
|
398
|
+
this._errHandler.reportError(this, re);
|
|
399
|
+
this._errHandler.recover(this, re);
|
|
400
|
+
} else {
|
|
401
|
+
throw re;
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
finally {
|
|
405
|
+
this.exitRule();
|
|
406
|
+
}
|
|
407
|
+
return _localctx;
|
|
408
|
+
}
|
|
409
|
+
// @RuleVersion(0)
|
|
410
|
+
public mongoModule(): MongoModuleContext {
|
|
411
|
+
let _localctx: MongoModuleContext = new MongoModuleContext(this._ctx, this.state);
|
|
412
|
+
this.enterRule(_localctx, 14, BlendBasicParser.RULE_mongoModule);
|
|
413
|
+
let _la: number;
|
|
414
|
+
try {
|
|
415
|
+
this.enterOuterAlt(_localctx, 1);
|
|
416
|
+
{
|
|
417
|
+
this.state = 75;
|
|
418
|
+
this.match(BlendBasicParser.T__8);
|
|
419
|
+
this.state = 76;
|
|
420
|
+
this.match(BlendBasicParser.IDENTIFIER);
|
|
421
|
+
this.state = 81;
|
|
422
|
+
this._errHandler.sync(this);
|
|
423
|
+
_la = this._input.LA(1);
|
|
424
|
+
while (_la === BlendBasicParser.T__4) {
|
|
425
|
+
{
|
|
426
|
+
{
|
|
427
|
+
this.state = 77;
|
|
428
|
+
this.match(BlendBasicParser.T__4);
|
|
429
|
+
this.state = 78;
|
|
430
|
+
this.match(BlendBasicParser.IDENTIFIER);
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
this.state = 83;
|
|
434
|
+
this._errHandler.sync(this);
|
|
435
|
+
_la = this._input.LA(1);
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
catch (re) {
|
|
440
|
+
if (re instanceof RecognitionException) {
|
|
441
|
+
_localctx.exception = re;
|
|
442
|
+
this._errHandler.reportError(this, re);
|
|
443
|
+
this._errHandler.recover(this, re);
|
|
444
|
+
} else {
|
|
445
|
+
throw re;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
finally {
|
|
449
|
+
this.exitRule();
|
|
450
|
+
}
|
|
451
|
+
return _localctx;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
public static readonly _serializedATN: string =
|
|
455
|
+
"\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x03\rW\x04\x02\t" +
|
|
456
|
+
"\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04\x07\t" +
|
|
457
|
+
"\x07\x04\b\t\b\x04\t\t\t\x03\x02\x06\x02\x14\n\x02\r\x02\x0E\x02\x15\x03" +
|
|
458
|
+
"\x03\x03\x03\x03\x03\x03\x03\x07\x03\x1C\n\x03\f\x03\x0E\x03\x1F\v\x03" +
|
|
459
|
+
"\x03\x03\x03\x03\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04\x05\x04(\n\x04" +
|
|
460
|
+
"\x03\x05\x03\x05\x03\x05\x03\x05\x07\x05.\n\x05\f\x05\x0E\x051\v\x05\x03" +
|
|
461
|
+
"\x06\x03\x06\x03\x06\x03\x06\x07\x067\n\x06\f\x06\x0E\x06:\v\x06\x03\x07" +
|
|
462
|
+
"\x03\x07\x03\x07\x03\x07\x07\x07@\n\x07\f\x07\x0E\x07C\v\x07\x03\b\x03" +
|
|
463
|
+
"\b\x03\b\x03\b\x07\bI\n\b\f\b\x0E\bL\v\b\x03\t\x03\t\x03\t\x03\t\x07\t" +
|
|
464
|
+
"R\n\t\f\t\x0E\tU\v\t\x03\t\x02\x02\x02\n\x02\x02\x04\x02\x06\x02\b\x02" +
|
|
465
|
+
"\n\x02\f\x02\x0E\x02\x10\x02\x02\x02\x02Y\x02\x13\x03\x02\x02\x02\x04" +
|
|
466
|
+
"\x17\x03\x02\x02\x02\x06\'\x03\x02\x02\x02\b)\x03\x02\x02\x02\n2\x03\x02" +
|
|
467
|
+
"\x02\x02\f;\x03\x02\x02\x02\x0ED\x03\x02\x02\x02\x10M\x03\x02\x02\x02" +
|
|
468
|
+
"\x12\x14\x05\x04\x03\x02\x13\x12\x03\x02\x02\x02\x14\x15\x03\x02\x02\x02" +
|
|
469
|
+
"\x15\x13\x03\x02\x02\x02\x15\x16\x03\x02\x02\x02\x16\x03\x03\x02\x02\x02" +
|
|
470
|
+
"\x17\x18\x07\x03\x02\x02\x18\x19\x07\f\x02\x02\x19\x1D\x07\x04\x02\x02" +
|
|
471
|
+
"\x1A\x1C\x05\x06\x04\x02\x1B\x1A\x03\x02\x02\x02\x1C\x1F\x03\x02\x02\x02" +
|
|
472
|
+
"\x1D\x1B\x03\x02\x02\x02\x1D\x1E\x03\x02\x02\x02\x1E \x03\x02\x02\x02" +
|
|
473
|
+
"\x1F\x1D\x03\x02\x02\x02 !\x07\x05\x02\x02!\x05\x03\x02\x02\x02\"(\x05" +
|
|
474
|
+
"\b\x05\x02#(\x05\n\x06\x02$(\x05\f\x07\x02%(\x05\x10\t\x02&(\x05\x0E\b" +
|
|
475
|
+
"\x02\'\"\x03\x02\x02\x02\'#\x03\x02\x02\x02\'$\x03\x02\x02\x02\'%\x03" +
|
|
476
|
+
"\x02\x02\x02\'&\x03\x02\x02\x02(\x07\x03\x02\x02\x02)*\x07\x06\x02\x02" +
|
|
477
|
+
"*/\x07\f\x02\x02+,\x07\x07\x02\x02,.\x07\f\x02\x02-+\x03\x02\x02\x02." +
|
|
478
|
+
"1\x03\x02\x02\x02/-\x03\x02\x02\x02/0\x03\x02\x02\x020\t\x03\x02\x02\x02" +
|
|
479
|
+
"1/\x03\x02\x02\x0223\x07\b\x02\x0238\x07\f\x02\x0245\x07\x07\x02\x025" +
|
|
480
|
+
"7\x07\f\x02\x0264\x03\x02\x02\x027:\x03\x02\x02\x0286\x03\x02\x02\x02" +
|
|
481
|
+
"89\x03\x02\x02\x029\v\x03\x02\x02\x02:8\x03\x02\x02\x02;<\x07\t\x02\x02" +
|
|
482
|
+
"<A\x07\f\x02\x02=>\x07\x07\x02\x02>@\x07\f\x02\x02?=\x03\x02\x02\x02@" +
|
|
483
|
+
"C\x03\x02\x02\x02A?\x03\x02\x02\x02AB\x03\x02\x02\x02B\r\x03\x02\x02\x02" +
|
|
484
|
+
"CA\x03\x02\x02\x02DE\x07\n\x02\x02EJ\x07\f\x02\x02FG\x07\x07\x02\x02G" +
|
|
485
|
+
"I\x07\f\x02\x02HF\x03\x02\x02\x02IL\x03\x02\x02\x02JH\x03\x02\x02\x02" +
|
|
486
|
+
"JK\x03\x02\x02\x02K\x0F\x03\x02\x02\x02LJ\x03\x02\x02\x02MN\x07\v\x02" +
|
|
487
|
+
"\x02NS\x07\f\x02\x02OP\x07\x07\x02\x02PR\x07\f\x02\x02QO\x03\x02\x02\x02" +
|
|
488
|
+
"RU\x03\x02\x02\x02SQ\x03\x02\x02\x02ST\x03\x02\x02\x02T\x11\x03\x02\x02" +
|
|
489
|
+
"\x02US\x03\x02\x02\x02\n\x15\x1D\'/8AJS";
|
|
490
|
+
public static __ATN: ATN;
|
|
491
|
+
public static get _ATN(): ATN {
|
|
492
|
+
if (!BlendBasicParser.__ATN) {
|
|
493
|
+
BlendBasicParser.__ATN = new ATNDeserializer().deserialize(Utils.toCharArray(BlendBasicParser._serializedATN));
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
return BlendBasicParser.__ATN;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
export class SectionsContext extends ParserRuleContext {
|
|
502
|
+
public section(): SectionContext[];
|
|
503
|
+
public section(i: number): SectionContext;
|
|
504
|
+
public section(i?: number): SectionContext | SectionContext[] {
|
|
505
|
+
if (i === undefined) {
|
|
506
|
+
return this.getRuleContexts(SectionContext);
|
|
507
|
+
} else {
|
|
508
|
+
return this.getRuleContext(i, SectionContext);
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number) {
|
|
512
|
+
super(parent, invokingState);
|
|
513
|
+
}
|
|
514
|
+
// @Override
|
|
515
|
+
public get ruleIndex(): number { return BlendBasicParser.RULE_sections; }
|
|
516
|
+
// @Override
|
|
517
|
+
public enterRule(listener: BlendBasicListener): void {
|
|
518
|
+
if (listener.enterSections) {
|
|
519
|
+
listener.enterSections(this);
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
// @Override
|
|
523
|
+
public exitRule(listener: BlendBasicListener): void {
|
|
524
|
+
if (listener.exitSections) {
|
|
525
|
+
listener.exitSections(this);
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
export class SectionContext extends ParserRuleContext {
|
|
532
|
+
public IDENTIFIER(): TerminalNode { return this.getToken(BlendBasicParser.IDENTIFIER, 0); }
|
|
533
|
+
public module(): ModuleContext[];
|
|
534
|
+
public module(i: number): ModuleContext;
|
|
535
|
+
public module(i?: number): ModuleContext | ModuleContext[] {
|
|
536
|
+
if (i === undefined) {
|
|
537
|
+
return this.getRuleContexts(ModuleContext);
|
|
538
|
+
} else {
|
|
539
|
+
return this.getRuleContext(i, ModuleContext);
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number) {
|
|
543
|
+
super(parent, invokingState);
|
|
544
|
+
}
|
|
545
|
+
// @Override
|
|
546
|
+
public get ruleIndex(): number { return BlendBasicParser.RULE_section; }
|
|
547
|
+
// @Override
|
|
548
|
+
public enterRule(listener: BlendBasicListener): void {
|
|
549
|
+
if (listener.enterSection) {
|
|
550
|
+
listener.enterSection(this);
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
// @Override
|
|
554
|
+
public exitRule(listener: BlendBasicListener): void {
|
|
555
|
+
if (listener.exitSection) {
|
|
556
|
+
listener.exitSection(this);
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
export class ModuleContext extends ParserRuleContext {
|
|
563
|
+
public dataModule(): DataModuleContext | undefined {
|
|
564
|
+
return this.tryGetRuleContext(0, DataModuleContext);
|
|
565
|
+
}
|
|
566
|
+
public expressModule(): ExpressModuleContext | undefined {
|
|
567
|
+
return this.tryGetRuleContext(0, ExpressModuleContext);
|
|
568
|
+
}
|
|
569
|
+
public rnModule(): RnModuleContext | undefined {
|
|
570
|
+
return this.tryGetRuleContext(0, RnModuleContext);
|
|
571
|
+
}
|
|
572
|
+
public mongoModule(): MongoModuleContext | undefined {
|
|
573
|
+
return this.tryGetRuleContext(0, MongoModuleContext);
|
|
574
|
+
}
|
|
575
|
+
public reactModule(): ReactModuleContext | undefined {
|
|
576
|
+
return this.tryGetRuleContext(0, ReactModuleContext);
|
|
577
|
+
}
|
|
578
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number) {
|
|
579
|
+
super(parent, invokingState);
|
|
580
|
+
}
|
|
581
|
+
// @Override
|
|
582
|
+
public get ruleIndex(): number { return BlendBasicParser.RULE_module; }
|
|
583
|
+
// @Override
|
|
584
|
+
public enterRule(listener: BlendBasicListener): void {
|
|
585
|
+
if (listener.enterModule) {
|
|
586
|
+
listener.enterModule(this);
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
// @Override
|
|
590
|
+
public exitRule(listener: BlendBasicListener): void {
|
|
591
|
+
if (listener.exitModule) {
|
|
592
|
+
listener.exitModule(this);
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
export class DataModuleContext extends ParserRuleContext {
|
|
599
|
+
public IDENTIFIER(): TerminalNode[];
|
|
600
|
+
public IDENTIFIER(i: number): TerminalNode;
|
|
601
|
+
public IDENTIFIER(i?: number): TerminalNode | TerminalNode[] {
|
|
602
|
+
if (i === undefined) {
|
|
603
|
+
return this.getTokens(BlendBasicParser.IDENTIFIER);
|
|
604
|
+
} else {
|
|
605
|
+
return this.getToken(BlendBasicParser.IDENTIFIER, i);
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number) {
|
|
609
|
+
super(parent, invokingState);
|
|
610
|
+
}
|
|
611
|
+
// @Override
|
|
612
|
+
public get ruleIndex(): number { return BlendBasicParser.RULE_dataModule; }
|
|
613
|
+
// @Override
|
|
614
|
+
public enterRule(listener: BlendBasicListener): void {
|
|
615
|
+
if (listener.enterDataModule) {
|
|
616
|
+
listener.enterDataModule(this);
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
// @Override
|
|
620
|
+
public exitRule(listener: BlendBasicListener): void {
|
|
621
|
+
if (listener.exitDataModule) {
|
|
622
|
+
listener.exitDataModule(this);
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
export class ExpressModuleContext extends ParserRuleContext {
|
|
629
|
+
public IDENTIFIER(): TerminalNode[];
|
|
630
|
+
public IDENTIFIER(i: number): TerminalNode;
|
|
631
|
+
public IDENTIFIER(i?: number): TerminalNode | TerminalNode[] {
|
|
632
|
+
if (i === undefined) {
|
|
633
|
+
return this.getTokens(BlendBasicParser.IDENTIFIER);
|
|
634
|
+
} else {
|
|
635
|
+
return this.getToken(BlendBasicParser.IDENTIFIER, i);
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number) {
|
|
639
|
+
super(parent, invokingState);
|
|
640
|
+
}
|
|
641
|
+
// @Override
|
|
642
|
+
public get ruleIndex(): number { return BlendBasicParser.RULE_expressModule; }
|
|
643
|
+
// @Override
|
|
644
|
+
public enterRule(listener: BlendBasicListener): void {
|
|
645
|
+
if (listener.enterExpressModule) {
|
|
646
|
+
listener.enterExpressModule(this);
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
// @Override
|
|
650
|
+
public exitRule(listener: BlendBasicListener): void {
|
|
651
|
+
if (listener.exitExpressModule) {
|
|
652
|
+
listener.exitExpressModule(this);
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
export class RnModuleContext extends ParserRuleContext {
|
|
659
|
+
public IDENTIFIER(): TerminalNode[];
|
|
660
|
+
public IDENTIFIER(i: number): TerminalNode;
|
|
661
|
+
public IDENTIFIER(i?: number): TerminalNode | TerminalNode[] {
|
|
662
|
+
if (i === undefined) {
|
|
663
|
+
return this.getTokens(BlendBasicParser.IDENTIFIER);
|
|
664
|
+
} else {
|
|
665
|
+
return this.getToken(BlendBasicParser.IDENTIFIER, i);
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number) {
|
|
669
|
+
super(parent, invokingState);
|
|
670
|
+
}
|
|
671
|
+
// @Override
|
|
672
|
+
public get ruleIndex(): number { return BlendBasicParser.RULE_rnModule; }
|
|
673
|
+
// @Override
|
|
674
|
+
public enterRule(listener: BlendBasicListener): void {
|
|
675
|
+
if (listener.enterRnModule) {
|
|
676
|
+
listener.enterRnModule(this);
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
// @Override
|
|
680
|
+
public exitRule(listener: BlendBasicListener): void {
|
|
681
|
+
if (listener.exitRnModule) {
|
|
682
|
+
listener.exitRnModule(this);
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
export class ReactModuleContext extends ParserRuleContext {
|
|
689
|
+
public IDENTIFIER(): TerminalNode[];
|
|
690
|
+
public IDENTIFIER(i: number): TerminalNode;
|
|
691
|
+
public IDENTIFIER(i?: number): TerminalNode | TerminalNode[] {
|
|
692
|
+
if (i === undefined) {
|
|
693
|
+
return this.getTokens(BlendBasicParser.IDENTIFIER);
|
|
694
|
+
} else {
|
|
695
|
+
return this.getToken(BlendBasicParser.IDENTIFIER, i);
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number) {
|
|
699
|
+
super(parent, invokingState);
|
|
700
|
+
}
|
|
701
|
+
// @Override
|
|
702
|
+
public get ruleIndex(): number { return BlendBasicParser.RULE_reactModule; }
|
|
703
|
+
// @Override
|
|
704
|
+
public enterRule(listener: BlendBasicListener): void {
|
|
705
|
+
if (listener.enterReactModule) {
|
|
706
|
+
listener.enterReactModule(this);
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
// @Override
|
|
710
|
+
public exitRule(listener: BlendBasicListener): void {
|
|
711
|
+
if (listener.exitReactModule) {
|
|
712
|
+
listener.exitReactModule(this);
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
export class MongoModuleContext extends ParserRuleContext {
|
|
719
|
+
public IDENTIFIER(): TerminalNode[];
|
|
720
|
+
public IDENTIFIER(i: number): TerminalNode;
|
|
721
|
+
public IDENTIFIER(i?: number): TerminalNode | TerminalNode[] {
|
|
722
|
+
if (i === undefined) {
|
|
723
|
+
return this.getTokens(BlendBasicParser.IDENTIFIER);
|
|
724
|
+
} else {
|
|
725
|
+
return this.getToken(BlendBasicParser.IDENTIFIER, i);
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
constructor(parent: ParserRuleContext | undefined, invokingState: number) {
|
|
729
|
+
super(parent, invokingState);
|
|
730
|
+
}
|
|
731
|
+
// @Override
|
|
732
|
+
public get ruleIndex(): number { return BlendBasicParser.RULE_mongoModule; }
|
|
733
|
+
// @Override
|
|
734
|
+
public enterRule(listener: BlendBasicListener): void {
|
|
735
|
+
if (listener.enterMongoModule) {
|
|
736
|
+
listener.enterMongoModule(this);
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
// @Override
|
|
740
|
+
public exitRule(listener: BlendBasicListener): void {
|
|
741
|
+
if (listener.exitMongoModule) {
|
|
742
|
+
listener.exitMongoModule(this);
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
|