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,599 @@
|
|
|
1
|
+
// Generated from /Users/govindve/govi/Projects/NodeProjects/blend-cli/src/grammar/BlendBasic.g4 by ANTLR 4.13.1
|
|
2
|
+
import org.antlr.v4.runtime.atn.*;
|
|
3
|
+
import org.antlr.v4.runtime.dfa.DFA;
|
|
4
|
+
import org.antlr.v4.runtime.*;
|
|
5
|
+
import org.antlr.v4.runtime.misc.*;
|
|
6
|
+
import org.antlr.v4.runtime.tree.*;
|
|
7
|
+
import java.util.List;
|
|
8
|
+
import java.util.Iterator;
|
|
9
|
+
import java.util.ArrayList;
|
|
10
|
+
|
|
11
|
+
@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast", "CheckReturnValue"})
|
|
12
|
+
public class BlendBasicParser extends Parser {
|
|
13
|
+
static { RuntimeMetaData.checkVersion("4.13.1", RuntimeMetaData.VERSION); }
|
|
14
|
+
|
|
15
|
+
protected static final DFA[] _decisionToDFA;
|
|
16
|
+
protected static final PredictionContextCache _sharedContextCache =
|
|
17
|
+
new PredictionContextCache();
|
|
18
|
+
public static final int
|
|
19
|
+
T__0=1, T__1=2, T__2=3, T__3=4, T__4=5, T__5=6, T__6=7, T__7=8, T__8=9,
|
|
20
|
+
IDENTIFIER=10, WS=11;
|
|
21
|
+
public static final int
|
|
22
|
+
RULE_sections = 0, RULE_section = 1, RULE_module = 2, RULE_dataModule = 3,
|
|
23
|
+
RULE_expressModule = 4, RULE_rnModule = 5, RULE_reactModule = 6, RULE_mongoModule = 7;
|
|
24
|
+
private static String[] makeRuleNames() {
|
|
25
|
+
return new String[] {
|
|
26
|
+
"sections", "section", "module", "dataModule", "expressModule", "rnModule",
|
|
27
|
+
"reactModule", "mongoModule"
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
public static final String[] ruleNames = makeRuleNames();
|
|
31
|
+
|
|
32
|
+
private static String[] makeLiteralNames() {
|
|
33
|
+
return new String[] {
|
|
34
|
+
null, "'section'", "'{'", "'}'", "'data-module'", "','", "'express-module'",
|
|
35
|
+
"'rn-module'", "'react-module'", "'mongo-module'"
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
private static final String[] _LITERAL_NAMES = makeLiteralNames();
|
|
39
|
+
private static String[] makeSymbolicNames() {
|
|
40
|
+
return new String[] {
|
|
41
|
+
null, null, null, null, null, null, null, null, null, null, "IDENTIFIER",
|
|
42
|
+
"WS"
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames();
|
|
46
|
+
public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @deprecated Use {@link #VOCABULARY} instead.
|
|
50
|
+
*/
|
|
51
|
+
@Deprecated
|
|
52
|
+
public static final String[] tokenNames;
|
|
53
|
+
static {
|
|
54
|
+
tokenNames = new String[_SYMBOLIC_NAMES.length];
|
|
55
|
+
for (int i = 0; i < tokenNames.length; i++) {
|
|
56
|
+
tokenNames[i] = VOCABULARY.getLiteralName(i);
|
|
57
|
+
if (tokenNames[i] == null) {
|
|
58
|
+
tokenNames[i] = VOCABULARY.getSymbolicName(i);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
if (tokenNames[i] == null) {
|
|
62
|
+
tokenNames[i] = "<INVALID>";
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@Override
|
|
68
|
+
@Deprecated
|
|
69
|
+
public String[] getTokenNames() {
|
|
70
|
+
return tokenNames;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@Override
|
|
74
|
+
|
|
75
|
+
public Vocabulary getVocabulary() {
|
|
76
|
+
return VOCABULARY;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
@Override
|
|
80
|
+
public String getGrammarFileName() { return "BlendBasic.g4"; }
|
|
81
|
+
|
|
82
|
+
@Override
|
|
83
|
+
public String[] getRuleNames() { return ruleNames; }
|
|
84
|
+
|
|
85
|
+
@Override
|
|
86
|
+
public String getSerializedATN() { return _serializedATN; }
|
|
87
|
+
|
|
88
|
+
@Override
|
|
89
|
+
public ATN getATN() { return _ATN; }
|
|
90
|
+
|
|
91
|
+
public BlendBasicParser(TokenStream input) {
|
|
92
|
+
super(input);
|
|
93
|
+
_interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@SuppressWarnings("CheckReturnValue")
|
|
97
|
+
public static class SectionsContext extends ParserRuleContext {
|
|
98
|
+
public List<SectionContext> section() {
|
|
99
|
+
return getRuleContexts(SectionContext.class);
|
|
100
|
+
}
|
|
101
|
+
public SectionContext section(int i) {
|
|
102
|
+
return getRuleContext(SectionContext.class,i);
|
|
103
|
+
}
|
|
104
|
+
public SectionsContext(ParserRuleContext parent, int invokingState) {
|
|
105
|
+
super(parent, invokingState);
|
|
106
|
+
}
|
|
107
|
+
@Override public int getRuleIndex() { return RULE_sections; }
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
public final SectionsContext sections() throws RecognitionException {
|
|
111
|
+
SectionsContext _localctx = new SectionsContext(_ctx, getState());
|
|
112
|
+
enterRule(_localctx, 0, RULE_sections);
|
|
113
|
+
int _la;
|
|
114
|
+
try {
|
|
115
|
+
enterOuterAlt(_localctx, 1);
|
|
116
|
+
{
|
|
117
|
+
setState(17);
|
|
118
|
+
_errHandler.sync(this);
|
|
119
|
+
_la = _input.LA(1);
|
|
120
|
+
do {
|
|
121
|
+
{
|
|
122
|
+
{
|
|
123
|
+
setState(16);
|
|
124
|
+
section();
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
setState(19);
|
|
128
|
+
_errHandler.sync(this);
|
|
129
|
+
_la = _input.LA(1);
|
|
130
|
+
} while ( _la==T__0 );
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
catch (RecognitionException re) {
|
|
134
|
+
_localctx.exception = re;
|
|
135
|
+
_errHandler.reportError(this, re);
|
|
136
|
+
_errHandler.recover(this, re);
|
|
137
|
+
}
|
|
138
|
+
finally {
|
|
139
|
+
exitRule();
|
|
140
|
+
}
|
|
141
|
+
return _localctx;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
@SuppressWarnings("CheckReturnValue")
|
|
145
|
+
public static class SectionContext extends ParserRuleContext {
|
|
146
|
+
public TerminalNode IDENTIFIER() { return getToken(BlendBasicParser.IDENTIFIER, 0); }
|
|
147
|
+
public List<ModuleContext> module() {
|
|
148
|
+
return getRuleContexts(ModuleContext.class);
|
|
149
|
+
}
|
|
150
|
+
public ModuleContext module(int i) {
|
|
151
|
+
return getRuleContext(ModuleContext.class,i);
|
|
152
|
+
}
|
|
153
|
+
public SectionContext(ParserRuleContext parent, int invokingState) {
|
|
154
|
+
super(parent, invokingState);
|
|
155
|
+
}
|
|
156
|
+
@Override public int getRuleIndex() { return RULE_section; }
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
public final SectionContext section() throws RecognitionException {
|
|
160
|
+
SectionContext _localctx = new SectionContext(_ctx, getState());
|
|
161
|
+
enterRule(_localctx, 2, RULE_section);
|
|
162
|
+
int _la;
|
|
163
|
+
try {
|
|
164
|
+
enterOuterAlt(_localctx, 1);
|
|
165
|
+
{
|
|
166
|
+
setState(21);
|
|
167
|
+
match(T__0);
|
|
168
|
+
setState(22);
|
|
169
|
+
match(IDENTIFIER);
|
|
170
|
+
setState(23);
|
|
171
|
+
match(T__1);
|
|
172
|
+
setState(27);
|
|
173
|
+
_errHandler.sync(this);
|
|
174
|
+
_la = _input.LA(1);
|
|
175
|
+
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 976L) != 0)) {
|
|
176
|
+
{
|
|
177
|
+
{
|
|
178
|
+
setState(24);
|
|
179
|
+
module();
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
setState(29);
|
|
183
|
+
_errHandler.sync(this);
|
|
184
|
+
_la = _input.LA(1);
|
|
185
|
+
}
|
|
186
|
+
setState(30);
|
|
187
|
+
match(T__2);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
catch (RecognitionException re) {
|
|
191
|
+
_localctx.exception = re;
|
|
192
|
+
_errHandler.reportError(this, re);
|
|
193
|
+
_errHandler.recover(this, re);
|
|
194
|
+
}
|
|
195
|
+
finally {
|
|
196
|
+
exitRule();
|
|
197
|
+
}
|
|
198
|
+
return _localctx;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
@SuppressWarnings("CheckReturnValue")
|
|
202
|
+
public static class ModuleContext extends ParserRuleContext {
|
|
203
|
+
public DataModuleContext dataModule() {
|
|
204
|
+
return getRuleContext(DataModuleContext.class,0);
|
|
205
|
+
}
|
|
206
|
+
public ExpressModuleContext expressModule() {
|
|
207
|
+
return getRuleContext(ExpressModuleContext.class,0);
|
|
208
|
+
}
|
|
209
|
+
public RnModuleContext rnModule() {
|
|
210
|
+
return getRuleContext(RnModuleContext.class,0);
|
|
211
|
+
}
|
|
212
|
+
public MongoModuleContext mongoModule() {
|
|
213
|
+
return getRuleContext(MongoModuleContext.class,0);
|
|
214
|
+
}
|
|
215
|
+
public ReactModuleContext reactModule() {
|
|
216
|
+
return getRuleContext(ReactModuleContext.class,0);
|
|
217
|
+
}
|
|
218
|
+
public ModuleContext(ParserRuleContext parent, int invokingState) {
|
|
219
|
+
super(parent, invokingState);
|
|
220
|
+
}
|
|
221
|
+
@Override public int getRuleIndex() { return RULE_module; }
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
public final ModuleContext module() throws RecognitionException {
|
|
225
|
+
ModuleContext _localctx = new ModuleContext(_ctx, getState());
|
|
226
|
+
enterRule(_localctx, 4, RULE_module);
|
|
227
|
+
try {
|
|
228
|
+
setState(37);
|
|
229
|
+
_errHandler.sync(this);
|
|
230
|
+
switch (_input.LA(1)) {
|
|
231
|
+
case T__3:
|
|
232
|
+
enterOuterAlt(_localctx, 1);
|
|
233
|
+
{
|
|
234
|
+
setState(32);
|
|
235
|
+
dataModule();
|
|
236
|
+
}
|
|
237
|
+
break;
|
|
238
|
+
case T__5:
|
|
239
|
+
enterOuterAlt(_localctx, 2);
|
|
240
|
+
{
|
|
241
|
+
setState(33);
|
|
242
|
+
expressModule();
|
|
243
|
+
}
|
|
244
|
+
break;
|
|
245
|
+
case T__6:
|
|
246
|
+
enterOuterAlt(_localctx, 3);
|
|
247
|
+
{
|
|
248
|
+
setState(34);
|
|
249
|
+
rnModule();
|
|
250
|
+
}
|
|
251
|
+
break;
|
|
252
|
+
case T__8:
|
|
253
|
+
enterOuterAlt(_localctx, 4);
|
|
254
|
+
{
|
|
255
|
+
setState(35);
|
|
256
|
+
mongoModule();
|
|
257
|
+
}
|
|
258
|
+
break;
|
|
259
|
+
case T__7:
|
|
260
|
+
enterOuterAlt(_localctx, 5);
|
|
261
|
+
{
|
|
262
|
+
setState(36);
|
|
263
|
+
reactModule();
|
|
264
|
+
}
|
|
265
|
+
break;
|
|
266
|
+
default:
|
|
267
|
+
throw new NoViableAltException(this);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
catch (RecognitionException re) {
|
|
271
|
+
_localctx.exception = re;
|
|
272
|
+
_errHandler.reportError(this, re);
|
|
273
|
+
_errHandler.recover(this, re);
|
|
274
|
+
}
|
|
275
|
+
finally {
|
|
276
|
+
exitRule();
|
|
277
|
+
}
|
|
278
|
+
return _localctx;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
@SuppressWarnings("CheckReturnValue")
|
|
282
|
+
public static class DataModuleContext extends ParserRuleContext {
|
|
283
|
+
public List<TerminalNode> IDENTIFIER() { return getTokens(BlendBasicParser.IDENTIFIER); }
|
|
284
|
+
public TerminalNode IDENTIFIER(int i) {
|
|
285
|
+
return getToken(BlendBasicParser.IDENTIFIER, i);
|
|
286
|
+
}
|
|
287
|
+
public DataModuleContext(ParserRuleContext parent, int invokingState) {
|
|
288
|
+
super(parent, invokingState);
|
|
289
|
+
}
|
|
290
|
+
@Override public int getRuleIndex() { return RULE_dataModule; }
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
public final DataModuleContext dataModule() throws RecognitionException {
|
|
294
|
+
DataModuleContext _localctx = new DataModuleContext(_ctx, getState());
|
|
295
|
+
enterRule(_localctx, 6, RULE_dataModule);
|
|
296
|
+
int _la;
|
|
297
|
+
try {
|
|
298
|
+
enterOuterAlt(_localctx, 1);
|
|
299
|
+
{
|
|
300
|
+
setState(39);
|
|
301
|
+
match(T__3);
|
|
302
|
+
setState(40);
|
|
303
|
+
match(IDENTIFIER);
|
|
304
|
+
setState(45);
|
|
305
|
+
_errHandler.sync(this);
|
|
306
|
+
_la = _input.LA(1);
|
|
307
|
+
while (_la==T__4) {
|
|
308
|
+
{
|
|
309
|
+
{
|
|
310
|
+
setState(41);
|
|
311
|
+
match(T__4);
|
|
312
|
+
setState(42);
|
|
313
|
+
match(IDENTIFIER);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
setState(47);
|
|
317
|
+
_errHandler.sync(this);
|
|
318
|
+
_la = _input.LA(1);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
catch (RecognitionException re) {
|
|
323
|
+
_localctx.exception = re;
|
|
324
|
+
_errHandler.reportError(this, re);
|
|
325
|
+
_errHandler.recover(this, re);
|
|
326
|
+
}
|
|
327
|
+
finally {
|
|
328
|
+
exitRule();
|
|
329
|
+
}
|
|
330
|
+
return _localctx;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
@SuppressWarnings("CheckReturnValue")
|
|
334
|
+
public static class ExpressModuleContext extends ParserRuleContext {
|
|
335
|
+
public List<TerminalNode> IDENTIFIER() { return getTokens(BlendBasicParser.IDENTIFIER); }
|
|
336
|
+
public TerminalNode IDENTIFIER(int i) {
|
|
337
|
+
return getToken(BlendBasicParser.IDENTIFIER, i);
|
|
338
|
+
}
|
|
339
|
+
public ExpressModuleContext(ParserRuleContext parent, int invokingState) {
|
|
340
|
+
super(parent, invokingState);
|
|
341
|
+
}
|
|
342
|
+
@Override public int getRuleIndex() { return RULE_expressModule; }
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
public final ExpressModuleContext expressModule() throws RecognitionException {
|
|
346
|
+
ExpressModuleContext _localctx = new ExpressModuleContext(_ctx, getState());
|
|
347
|
+
enterRule(_localctx, 8, RULE_expressModule);
|
|
348
|
+
int _la;
|
|
349
|
+
try {
|
|
350
|
+
enterOuterAlt(_localctx, 1);
|
|
351
|
+
{
|
|
352
|
+
setState(48);
|
|
353
|
+
match(T__5);
|
|
354
|
+
setState(49);
|
|
355
|
+
match(IDENTIFIER);
|
|
356
|
+
setState(54);
|
|
357
|
+
_errHandler.sync(this);
|
|
358
|
+
_la = _input.LA(1);
|
|
359
|
+
while (_la==T__4) {
|
|
360
|
+
{
|
|
361
|
+
{
|
|
362
|
+
setState(50);
|
|
363
|
+
match(T__4);
|
|
364
|
+
setState(51);
|
|
365
|
+
match(IDENTIFIER);
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
setState(56);
|
|
369
|
+
_errHandler.sync(this);
|
|
370
|
+
_la = _input.LA(1);
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
catch (RecognitionException re) {
|
|
375
|
+
_localctx.exception = re;
|
|
376
|
+
_errHandler.reportError(this, re);
|
|
377
|
+
_errHandler.recover(this, re);
|
|
378
|
+
}
|
|
379
|
+
finally {
|
|
380
|
+
exitRule();
|
|
381
|
+
}
|
|
382
|
+
return _localctx;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
@SuppressWarnings("CheckReturnValue")
|
|
386
|
+
public static class RnModuleContext extends ParserRuleContext {
|
|
387
|
+
public List<TerminalNode> IDENTIFIER() { return getTokens(BlendBasicParser.IDENTIFIER); }
|
|
388
|
+
public TerminalNode IDENTIFIER(int i) {
|
|
389
|
+
return getToken(BlendBasicParser.IDENTIFIER, i);
|
|
390
|
+
}
|
|
391
|
+
public RnModuleContext(ParserRuleContext parent, int invokingState) {
|
|
392
|
+
super(parent, invokingState);
|
|
393
|
+
}
|
|
394
|
+
@Override public int getRuleIndex() { return RULE_rnModule; }
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
public final RnModuleContext rnModule() throws RecognitionException {
|
|
398
|
+
RnModuleContext _localctx = new RnModuleContext(_ctx, getState());
|
|
399
|
+
enterRule(_localctx, 10, RULE_rnModule);
|
|
400
|
+
int _la;
|
|
401
|
+
try {
|
|
402
|
+
enterOuterAlt(_localctx, 1);
|
|
403
|
+
{
|
|
404
|
+
setState(57);
|
|
405
|
+
match(T__6);
|
|
406
|
+
setState(58);
|
|
407
|
+
match(IDENTIFIER);
|
|
408
|
+
setState(63);
|
|
409
|
+
_errHandler.sync(this);
|
|
410
|
+
_la = _input.LA(1);
|
|
411
|
+
while (_la==T__4) {
|
|
412
|
+
{
|
|
413
|
+
{
|
|
414
|
+
setState(59);
|
|
415
|
+
match(T__4);
|
|
416
|
+
setState(60);
|
|
417
|
+
match(IDENTIFIER);
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
setState(65);
|
|
421
|
+
_errHandler.sync(this);
|
|
422
|
+
_la = _input.LA(1);
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
catch (RecognitionException re) {
|
|
427
|
+
_localctx.exception = re;
|
|
428
|
+
_errHandler.reportError(this, re);
|
|
429
|
+
_errHandler.recover(this, re);
|
|
430
|
+
}
|
|
431
|
+
finally {
|
|
432
|
+
exitRule();
|
|
433
|
+
}
|
|
434
|
+
return _localctx;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
@SuppressWarnings("CheckReturnValue")
|
|
438
|
+
public static class ReactModuleContext extends ParserRuleContext {
|
|
439
|
+
public List<TerminalNode> IDENTIFIER() { return getTokens(BlendBasicParser.IDENTIFIER); }
|
|
440
|
+
public TerminalNode IDENTIFIER(int i) {
|
|
441
|
+
return getToken(BlendBasicParser.IDENTIFIER, i);
|
|
442
|
+
}
|
|
443
|
+
public ReactModuleContext(ParserRuleContext parent, int invokingState) {
|
|
444
|
+
super(parent, invokingState);
|
|
445
|
+
}
|
|
446
|
+
@Override public int getRuleIndex() { return RULE_reactModule; }
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
public final ReactModuleContext reactModule() throws RecognitionException {
|
|
450
|
+
ReactModuleContext _localctx = new ReactModuleContext(_ctx, getState());
|
|
451
|
+
enterRule(_localctx, 12, RULE_reactModule);
|
|
452
|
+
int _la;
|
|
453
|
+
try {
|
|
454
|
+
enterOuterAlt(_localctx, 1);
|
|
455
|
+
{
|
|
456
|
+
setState(66);
|
|
457
|
+
match(T__7);
|
|
458
|
+
setState(67);
|
|
459
|
+
match(IDENTIFIER);
|
|
460
|
+
setState(72);
|
|
461
|
+
_errHandler.sync(this);
|
|
462
|
+
_la = _input.LA(1);
|
|
463
|
+
while (_la==T__4) {
|
|
464
|
+
{
|
|
465
|
+
{
|
|
466
|
+
setState(68);
|
|
467
|
+
match(T__4);
|
|
468
|
+
setState(69);
|
|
469
|
+
match(IDENTIFIER);
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
setState(74);
|
|
473
|
+
_errHandler.sync(this);
|
|
474
|
+
_la = _input.LA(1);
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
catch (RecognitionException re) {
|
|
479
|
+
_localctx.exception = re;
|
|
480
|
+
_errHandler.reportError(this, re);
|
|
481
|
+
_errHandler.recover(this, re);
|
|
482
|
+
}
|
|
483
|
+
finally {
|
|
484
|
+
exitRule();
|
|
485
|
+
}
|
|
486
|
+
return _localctx;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
@SuppressWarnings("CheckReturnValue")
|
|
490
|
+
public static class MongoModuleContext extends ParserRuleContext {
|
|
491
|
+
public List<TerminalNode> IDENTIFIER() { return getTokens(BlendBasicParser.IDENTIFIER); }
|
|
492
|
+
public TerminalNode IDENTIFIER(int i) {
|
|
493
|
+
return getToken(BlendBasicParser.IDENTIFIER, i);
|
|
494
|
+
}
|
|
495
|
+
public MongoModuleContext(ParserRuleContext parent, int invokingState) {
|
|
496
|
+
super(parent, invokingState);
|
|
497
|
+
}
|
|
498
|
+
@Override public int getRuleIndex() { return RULE_mongoModule; }
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
public final MongoModuleContext mongoModule() throws RecognitionException {
|
|
502
|
+
MongoModuleContext _localctx = new MongoModuleContext(_ctx, getState());
|
|
503
|
+
enterRule(_localctx, 14, RULE_mongoModule);
|
|
504
|
+
int _la;
|
|
505
|
+
try {
|
|
506
|
+
enterOuterAlt(_localctx, 1);
|
|
507
|
+
{
|
|
508
|
+
setState(75);
|
|
509
|
+
match(T__8);
|
|
510
|
+
setState(76);
|
|
511
|
+
match(IDENTIFIER);
|
|
512
|
+
setState(81);
|
|
513
|
+
_errHandler.sync(this);
|
|
514
|
+
_la = _input.LA(1);
|
|
515
|
+
while (_la==T__4) {
|
|
516
|
+
{
|
|
517
|
+
{
|
|
518
|
+
setState(77);
|
|
519
|
+
match(T__4);
|
|
520
|
+
setState(78);
|
|
521
|
+
match(IDENTIFIER);
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
setState(83);
|
|
525
|
+
_errHandler.sync(this);
|
|
526
|
+
_la = _input.LA(1);
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
catch (RecognitionException re) {
|
|
531
|
+
_localctx.exception = re;
|
|
532
|
+
_errHandler.reportError(this, re);
|
|
533
|
+
_errHandler.recover(this, re);
|
|
534
|
+
}
|
|
535
|
+
finally {
|
|
536
|
+
exitRule();
|
|
537
|
+
}
|
|
538
|
+
return _localctx;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
public static final String _serializedATN =
|
|
542
|
+
"\u0004\u0001\u000bU\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001\u0002"+
|
|
543
|
+
"\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004\u0007\u0004\u0002"+
|
|
544
|
+
"\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002\u0007\u0007\u0007\u0001"+
|
|
545
|
+
"\u0000\u0004\u0000\u0012\b\u0000\u000b\u0000\f\u0000\u0013\u0001\u0001"+
|
|
546
|
+
"\u0001\u0001\u0001\u0001\u0001\u0001\u0005\u0001\u001a\b\u0001\n\u0001"+
|
|
547
|
+
"\f\u0001\u001d\t\u0001\u0001\u0001\u0001\u0001\u0001\u0002\u0001\u0002"+
|
|
548
|
+
"\u0001\u0002\u0001\u0002\u0001\u0002\u0003\u0002&\b\u0002\u0001\u0003"+
|
|
549
|
+
"\u0001\u0003\u0001\u0003\u0001\u0003\u0005\u0003,\b\u0003\n\u0003\f\u0003"+
|
|
550
|
+
"/\t\u0003\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0005\u0004"+
|
|
551
|
+
"5\b\u0004\n\u0004\f\u00048\t\u0004\u0001\u0005\u0001\u0005\u0001\u0005"+
|
|
552
|
+
"\u0001\u0005\u0005\u0005>\b\u0005\n\u0005\f\u0005A\t\u0005\u0001\u0006"+
|
|
553
|
+
"\u0001\u0006\u0001\u0006\u0001\u0006\u0005\u0006G\b\u0006\n\u0006\f\u0006"+
|
|
554
|
+
"J\t\u0006\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0005\u0007"+
|
|
555
|
+
"P\b\u0007\n\u0007\f\u0007S\t\u0007\u0001\u0007\u0000\u0000\b\u0000\u0002"+
|
|
556
|
+
"\u0004\u0006\b\n\f\u000e\u0000\u0000W\u0000\u0011\u0001\u0000\u0000\u0000"+
|
|
557
|
+
"\u0002\u0015\u0001\u0000\u0000\u0000\u0004%\u0001\u0000\u0000\u0000\u0006"+
|
|
558
|
+
"\'\u0001\u0000\u0000\u0000\b0\u0001\u0000\u0000\u0000\n9\u0001\u0000\u0000"+
|
|
559
|
+
"\u0000\fB\u0001\u0000\u0000\u0000\u000eK\u0001\u0000\u0000\u0000\u0010"+
|
|
560
|
+
"\u0012\u0003\u0002\u0001\u0000\u0011\u0010\u0001\u0000\u0000\u0000\u0012"+
|
|
561
|
+
"\u0013\u0001\u0000\u0000\u0000\u0013\u0011\u0001\u0000\u0000\u0000\u0013"+
|
|
562
|
+
"\u0014\u0001\u0000\u0000\u0000\u0014\u0001\u0001\u0000\u0000\u0000\u0015"+
|
|
563
|
+
"\u0016\u0005\u0001\u0000\u0000\u0016\u0017\u0005\n\u0000\u0000\u0017\u001b"+
|
|
564
|
+
"\u0005\u0002\u0000\u0000\u0018\u001a\u0003\u0004\u0002\u0000\u0019\u0018"+
|
|
565
|
+
"\u0001\u0000\u0000\u0000\u001a\u001d\u0001\u0000\u0000\u0000\u001b\u0019"+
|
|
566
|
+
"\u0001\u0000\u0000\u0000\u001b\u001c\u0001\u0000\u0000\u0000\u001c\u001e"+
|
|
567
|
+
"\u0001\u0000\u0000\u0000\u001d\u001b\u0001\u0000\u0000\u0000\u001e\u001f"+
|
|
568
|
+
"\u0005\u0003\u0000\u0000\u001f\u0003\u0001\u0000\u0000\u0000 &\u0003\u0006"+
|
|
569
|
+
"\u0003\u0000!&\u0003\b\u0004\u0000\"&\u0003\n\u0005\u0000#&\u0003\u000e"+
|
|
570
|
+
"\u0007\u0000$&\u0003\f\u0006\u0000% \u0001\u0000\u0000\u0000%!\u0001\u0000"+
|
|
571
|
+
"\u0000\u0000%\"\u0001\u0000\u0000\u0000%#\u0001\u0000\u0000\u0000%$\u0001"+
|
|
572
|
+
"\u0000\u0000\u0000&\u0005\u0001\u0000\u0000\u0000\'(\u0005\u0004\u0000"+
|
|
573
|
+
"\u0000(-\u0005\n\u0000\u0000)*\u0005\u0005\u0000\u0000*,\u0005\n\u0000"+
|
|
574
|
+
"\u0000+)\u0001\u0000\u0000\u0000,/\u0001\u0000\u0000\u0000-+\u0001\u0000"+
|
|
575
|
+
"\u0000\u0000-.\u0001\u0000\u0000\u0000.\u0007\u0001\u0000\u0000\u0000"+
|
|
576
|
+
"/-\u0001\u0000\u0000\u000001\u0005\u0006\u0000\u000016\u0005\n\u0000\u0000"+
|
|
577
|
+
"23\u0005\u0005\u0000\u000035\u0005\n\u0000\u000042\u0001\u0000\u0000\u0000"+
|
|
578
|
+
"58\u0001\u0000\u0000\u000064\u0001\u0000\u0000\u000067\u0001\u0000\u0000"+
|
|
579
|
+
"\u00007\t\u0001\u0000\u0000\u000086\u0001\u0000\u0000\u00009:\u0005\u0007"+
|
|
580
|
+
"\u0000\u0000:?\u0005\n\u0000\u0000;<\u0005\u0005\u0000\u0000<>\u0005\n"+
|
|
581
|
+
"\u0000\u0000=;\u0001\u0000\u0000\u0000>A\u0001\u0000\u0000\u0000?=\u0001"+
|
|
582
|
+
"\u0000\u0000\u0000?@\u0001\u0000\u0000\u0000@\u000b\u0001\u0000\u0000"+
|
|
583
|
+
"\u0000A?\u0001\u0000\u0000\u0000BC\u0005\b\u0000\u0000CH\u0005\n\u0000"+
|
|
584
|
+
"\u0000DE\u0005\u0005\u0000\u0000EG\u0005\n\u0000\u0000FD\u0001\u0000\u0000"+
|
|
585
|
+
"\u0000GJ\u0001\u0000\u0000\u0000HF\u0001\u0000\u0000\u0000HI\u0001\u0000"+
|
|
586
|
+
"\u0000\u0000I\r\u0001\u0000\u0000\u0000JH\u0001\u0000\u0000\u0000KL\u0005"+
|
|
587
|
+
"\t\u0000\u0000LQ\u0005\n\u0000\u0000MN\u0005\u0005\u0000\u0000NP\u0005"+
|
|
588
|
+
"\n\u0000\u0000OM\u0001\u0000\u0000\u0000PS\u0001\u0000\u0000\u0000QO\u0001"+
|
|
589
|
+
"\u0000\u0000\u0000QR\u0001\u0000\u0000\u0000R\u000f\u0001\u0000\u0000"+
|
|
590
|
+
"\u0000SQ\u0001\u0000\u0000\u0000\b\u0013\u001b%-6?HQ";
|
|
591
|
+
public static final ATN _ATN =
|
|
592
|
+
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
|
|
593
|
+
static {
|
|
594
|
+
_decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
|
|
595
|
+
for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) {
|
|
596
|
+
_decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
token literal names:
|
|
2
|
+
null
|
|
3
|
+
'module'
|
|
4
|
+
'data'
|
|
5
|
+
'('
|
|
6
|
+
','
|
|
7
|
+
')'
|
|
8
|
+
':'
|
|
9
|
+
'[]'
|
|
10
|
+
'?'
|
|
11
|
+
'->'
|
|
12
|
+
'string'
|
|
13
|
+
'number'
|
|
14
|
+
'boolean'
|
|
15
|
+
'any'
|
|
16
|
+
null
|
|
17
|
+
null
|
|
18
|
+
null
|
|
19
|
+
|
|
20
|
+
token symbolic names:
|
|
21
|
+
null
|
|
22
|
+
null
|
|
23
|
+
null
|
|
24
|
+
null
|
|
25
|
+
null
|
|
26
|
+
null
|
|
27
|
+
null
|
|
28
|
+
null
|
|
29
|
+
null
|
|
30
|
+
null
|
|
31
|
+
null
|
|
32
|
+
null
|
|
33
|
+
null
|
|
34
|
+
null
|
|
35
|
+
IDENTIFIER
|
|
36
|
+
CAPITAL_IDENTIFIER
|
|
37
|
+
WS
|
|
38
|
+
|
|
39
|
+
rule names:
|
|
40
|
+
program
|
|
41
|
+
moduleDefinition
|
|
42
|
+
dataDefinition
|
|
43
|
+
field
|
|
44
|
+
type
|
|
45
|
+
baseType
|
|
46
|
+
primitiveType
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
atn:
|
|
50
|
+
[4, 1, 16, 72, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 1, 0, 1, 0, 4, 0, 17, 8, 0, 11, 0, 12, 0, 18, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 5, 2, 32, 8, 2, 10, 2, 12, 2, 35, 9, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 64, 8, 4, 1, 5, 1, 5, 3, 5, 68, 8, 5, 1, 6, 1, 6, 1, 6, 0, 0, 7, 0, 2, 4, 6, 8, 10, 12, 0, 1, 1, 0, 10, 13, 72, 0, 14, 1, 0, 0, 0, 2, 22, 1, 0, 0, 0, 4, 25, 1, 0, 0, 0, 6, 38, 1, 0, 0, 0, 8, 63, 1, 0, 0, 0, 10, 67, 1, 0, 0, 0, 12, 69, 1, 0, 0, 0, 14, 16, 3, 2, 1, 0, 15, 17, 3, 4, 2, 0, 16, 15, 1, 0, 0, 0, 17, 18, 1, 0, 0, 0, 18, 16, 1, 0, 0, 0, 18, 19, 1, 0, 0, 0, 19, 20, 1, 0, 0, 0, 20, 21, 5, 0, 0, 1, 21, 1, 1, 0, 0, 0, 22, 23, 5, 1, 0, 0, 23, 24, 5, 15, 0, 0, 24, 3, 1, 0, 0, 0, 25, 26, 5, 2, 0, 0, 26, 27, 5, 15, 0, 0, 27, 28, 5, 3, 0, 0, 28, 33, 3, 6, 3, 0, 29, 30, 5, 4, 0, 0, 30, 32, 3, 6, 3, 0, 31, 29, 1, 0, 0, 0, 32, 35, 1, 0, 0, 0, 33, 31, 1, 0, 0, 0, 33, 34, 1, 0, 0, 0, 34, 36, 1, 0, 0, 0, 35, 33, 1, 0, 0, 0, 36, 37, 5, 5, 0, 0, 37, 5, 1, 0, 0, 0, 38, 39, 5, 14, 0, 0, 39, 40, 5, 6, 0, 0, 40, 41, 3, 8, 4, 0, 41, 7, 1, 0, 0, 0, 42, 64, 3, 10, 5, 0, 43, 44, 3, 10, 5, 0, 44, 45, 5, 7, 0, 0, 45, 64, 1, 0, 0, 0, 46, 47, 3, 10, 5, 0, 47, 48, 5, 8, 0, 0, 48, 64, 1, 0, 0, 0, 49, 50, 3, 10, 5, 0, 50, 51, 5, 9, 0, 0, 51, 52, 3, 10, 5, 0, 52, 64, 1, 0, 0, 0, 53, 54, 3, 10, 5, 0, 54, 55, 5, 9, 0, 0, 55, 56, 3, 10, 5, 0, 56, 57, 5, 8, 0, 0, 57, 64, 1, 0, 0, 0, 58, 59, 3, 10, 5, 0, 59, 60, 5, 9, 0, 0, 60, 61, 3, 10, 5, 0, 61, 62, 5, 7, 0, 0, 62, 64, 1, 0, 0, 0, 63, 42, 1, 0, 0, 0, 63, 43, 1, 0, 0, 0, 63, 46, 1, 0, 0, 0, 63, 49, 1, 0, 0, 0, 63, 53, 1, 0, 0, 0, 63, 58, 1, 0, 0, 0, 64, 9, 1, 0, 0, 0, 65, 68, 3, 12, 6, 0, 66, 68, 5, 15, 0, 0, 67, 65, 1, 0, 0, 0, 67, 66, 1, 0, 0, 0, 68, 11, 1, 0, 0, 0, 69, 70, 7, 0, 0, 0, 70, 13, 1, 0, 0, 0, 4, 18, 33, 63, 67]
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
T__0=1
|
|
2
|
+
T__1=2
|
|
3
|
+
T__2=3
|
|
4
|
+
T__3=4
|
|
5
|
+
T__4=5
|
|
6
|
+
T__5=6
|
|
7
|
+
T__6=7
|
|
8
|
+
T__7=8
|
|
9
|
+
T__8=9
|
|
10
|
+
T__9=10
|
|
11
|
+
T__10=11
|
|
12
|
+
T__11=12
|
|
13
|
+
T__12=13
|
|
14
|
+
IDENTIFIER=14
|
|
15
|
+
CAPITAL_IDENTIFIER=15
|
|
16
|
+
WS=16
|
|
17
|
+
'module'=1
|
|
18
|
+
'data'=2
|
|
19
|
+
'('=3
|
|
20
|
+
','=4
|
|
21
|
+
')'=5
|
|
22
|
+
':'=6
|
|
23
|
+
'[]'=7
|
|
24
|
+
'?'=8
|
|
25
|
+
'->'=9
|
|
26
|
+
'string'=10
|
|
27
|
+
'number'=11
|
|
28
|
+
'boolean'=12
|
|
29
|
+
'any'=13
|