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,41 @@
|
|
|
1
|
+
token literal names:
|
|
2
|
+
null
|
|
3
|
+
'section'
|
|
4
|
+
'{'
|
|
5
|
+
'}'
|
|
6
|
+
'data-module'
|
|
7
|
+
','
|
|
8
|
+
'express-module'
|
|
9
|
+
'rn-module'
|
|
10
|
+
'react-module'
|
|
11
|
+
'mongo-module'
|
|
12
|
+
null
|
|
13
|
+
null
|
|
14
|
+
|
|
15
|
+
token symbolic names:
|
|
16
|
+
null
|
|
17
|
+
null
|
|
18
|
+
null
|
|
19
|
+
null
|
|
20
|
+
null
|
|
21
|
+
null
|
|
22
|
+
null
|
|
23
|
+
null
|
|
24
|
+
null
|
|
25
|
+
null
|
|
26
|
+
IDENTIFIER
|
|
27
|
+
WS
|
|
28
|
+
|
|
29
|
+
rule names:
|
|
30
|
+
sections
|
|
31
|
+
section
|
|
32
|
+
module
|
|
33
|
+
dataModule
|
|
34
|
+
expressModule
|
|
35
|
+
rnModule
|
|
36
|
+
reactModule
|
|
37
|
+
mongoModule
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
atn:
|
|
41
|
+
[4, 1, 11, 85, 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, 2, 7, 7, 7, 1, 0, 4, 0, 18, 8, 0, 11, 0, 12, 0, 19, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 26, 8, 1, 10, 1, 12, 1, 29, 9, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 3, 2, 38, 8, 2, 1, 3, 1, 3, 1, 3, 1, 3, 5, 3, 44, 8, 3, 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, 0, 42, 44, 5, 10, 0, 0, 43, 41, 1, 0, 0, 0, 44, 47, 1, 0, 0, 0, 45, 43, 1, 0, 0, 0, 45, 46, 1, 0, 0, 0, 46, 7, 1, 0, 0, 0, 47, 45, 1, 0, 0, 0, 48, 49, 5, 6, 0, 0, 49, 54, 5, 10, 0, 0, 50, 51, 5, 5, 0, 0, 51, 53, 5, 10, 0, 0, 52, 50, 1, 0, 0, 0, 53, 56, 1, 0, 0, 0, 54, 52, 1, 0, 0, 0, 54, 55, 1, 0, 0, 0, 55, 9, 1, 0, 0, 0, 56, 54, 1, 0, 0, 0, 57, 58, 5, 7, 0, 0, 58, 63, 5, 10, 0, 0, 59, 60, 5, 5, 0, 0, 60, 62, 5, 10, 0, 0, 61, 59, 1, 0, 0, 0, 62, 65, 1, 0, 0, 0, 63, 61, 1, 0, 0, 0, 63, 64, 1, 0, 0, 0, 64, 11, 1, 0, 0, 0, 65, 63, 1, 0, 0, 0, 66, 67, 5, 8, 0, 0, 67, 72, 5, 10, 0, 0, 68, 69, 5, 5, 0, 0, 69, 71, 5, 10, 0, 0, 70, 68, 1, 0, 0, 0, 71, 74, 1, 0, 0, 0, 72, 70, 1, 0, 0, 0, 72, 73, 1, 0, 0, 0, 73, 13, 1, 0, 0, 0, 74, 72, 1, 0, 0, 0, 75, 76, 5, 9, 0, 0, 76, 81, 5, 10, 0, 0, 77, 78, 5, 5, 0, 0, 78, 80, 5, 10, 0, 0, 79, 77, 1, 0, 0, 0, 80, 83, 1, 0, 0, 0, 81, 79, 1, 0, 0, 0, 81, 82, 1, 0, 0, 0, 82, 15, 1, 0, 0, 0, 83, 81, 1, 0, 0, 0, 8, 19, 27, 37, 45, 54, 63, 72, 81]
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
IDENTIFIER=10
|
|
11
|
+
WS=11
|
|
12
|
+
'section'=1
|
|
13
|
+
'{'=2
|
|
14
|
+
'}'=3
|
|
15
|
+
'data-module'=4
|
|
16
|
+
','=5
|
|
17
|
+
'express-module'=6
|
|
18
|
+
'rn-module'=7
|
|
19
|
+
'react-module'=8
|
|
20
|
+
'mongo-module'=9
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
token literal names:
|
|
2
|
+
null
|
|
3
|
+
'section'
|
|
4
|
+
'{'
|
|
5
|
+
'}'
|
|
6
|
+
'data-module'
|
|
7
|
+
','
|
|
8
|
+
'express-module'
|
|
9
|
+
'rn-module'
|
|
10
|
+
'react-module'
|
|
11
|
+
'mongo-module'
|
|
12
|
+
null
|
|
13
|
+
null
|
|
14
|
+
|
|
15
|
+
token symbolic names:
|
|
16
|
+
null
|
|
17
|
+
null
|
|
18
|
+
null
|
|
19
|
+
null
|
|
20
|
+
null
|
|
21
|
+
null
|
|
22
|
+
null
|
|
23
|
+
null
|
|
24
|
+
null
|
|
25
|
+
null
|
|
26
|
+
IDENTIFIER
|
|
27
|
+
WS
|
|
28
|
+
|
|
29
|
+
rule names:
|
|
30
|
+
T__0
|
|
31
|
+
T__1
|
|
32
|
+
T__2
|
|
33
|
+
T__3
|
|
34
|
+
T__4
|
|
35
|
+
T__5
|
|
36
|
+
T__6
|
|
37
|
+
T__7
|
|
38
|
+
T__8
|
|
39
|
+
IDENTIFIER
|
|
40
|
+
WS
|
|
41
|
+
|
|
42
|
+
channel names:
|
|
43
|
+
DEFAULT_TOKEN_CHANNEL
|
|
44
|
+
HIDDEN
|
|
45
|
+
|
|
46
|
+
mode names:
|
|
47
|
+
DEFAULT_MODE
|
|
48
|
+
|
|
49
|
+
atn:
|
|
50
|
+
[4, 0, 11, 114, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7,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33, 1, 0, 0, 0, 7, 35, 1, 0, 0, 0, 9, 47, 1, 0, 0, 0, 11, 49, 1, 0, 0, 0, 13, 64, 1, 0, 0, 0, 15, 74, 1, 0, 0, 0, 17, 87, 1, 0, 0, 0, 19, 100, 1, 0, 0, 0, 21, 108, 1, 0, 0, 0, 23, 24, 5, 115, 0, 0, 24, 25, 5, 101, 0, 0, 25, 26, 5, 99, 0, 0, 26, 27, 5, 116, 0, 0, 27, 28, 5, 105, 0, 0, 28, 29, 5, 111, 0, 0, 29, 30, 5, 110, 0, 0, 30, 2, 1, 0, 0, 0, 31, 32, 5, 123, 0, 0, 32, 4, 1, 0, 0, 0, 33, 34, 5, 125, 0, 0, 34, 6, 1, 0, 0, 0, 35, 36, 5, 100, 0, 0, 36, 37, 5, 97, 0, 0, 37, 38, 5, 116, 0, 0, 38, 39, 5, 97, 0, 0, 39, 40, 5, 45, 0, 0, 40, 41, 5, 109, 0, 0, 41, 42, 5, 111, 0, 0, 42, 43, 5, 100, 0, 0, 43, 44, 5, 117, 0, 0, 44, 45, 5, 108, 0, 0, 45, 46, 5, 101, 0, 0, 46, 8, 1, 0, 0, 0, 47, 48, 5, 44, 0, 0, 48, 10, 1, 0, 0, 0, 49, 50, 5, 101, 0, 0, 50, 51, 5, 120, 0, 0, 51, 52, 5, 112, 0, 0, 52, 53, 5, 114, 0, 0, 53, 54, 5, 101, 0, 0, 54, 55, 5, 115, 0, 0, 55, 56, 5, 115, 0, 0, 56, 57, 5, 45, 0, 0, 57, 58, 5, 109, 0, 0, 58, 59, 5, 111, 0, 0, 59, 60, 5, 100, 0, 0, 60, 61, 5, 117, 0, 0, 61, 62, 5, 108, 0, 0, 62, 63, 5, 101, 0, 0, 63, 12, 1, 0, 0, 0, 64, 65, 5, 114, 0, 0, 65, 66, 5, 110, 0, 0, 66, 67, 5, 45, 0, 0, 67, 68, 5, 109, 0, 0, 68, 69, 5, 111, 0, 0, 69, 70, 5, 100, 0, 0, 70, 71, 5, 117, 0, 0, 71, 72, 5, 108, 0, 0, 72, 73, 5, 101, 0, 0, 73, 14, 1, 0, 0, 0, 74, 75, 5, 114, 0, 0, 75, 76, 5, 101, 0, 0, 76, 77, 5, 97, 0, 0, 77, 78, 5, 99, 0, 0, 78, 79, 5, 116, 0, 0, 79, 80, 5, 45, 0, 0, 80, 81, 5, 109, 0, 0, 81, 82, 5, 111, 0, 0, 82, 83, 5, 100, 0, 0, 83, 84, 5, 117, 0, 0, 84, 85, 5, 108, 0, 0, 85, 86, 5, 101, 0, 0, 86, 16, 1, 0, 0, 0, 87, 88, 5, 109, 0, 0, 88, 89, 5, 111, 0, 0, 89, 90, 5, 110, 0, 0, 90, 91, 5, 103, 0, 0, 91, 92, 5, 111, 0, 0, 92, 93, 5, 45, 0, 0, 93, 94, 5, 109, 0, 0, 94, 95, 5, 111, 0, 0, 95, 96, 5, 100, 0, 0, 96, 97, 5, 117, 0, 0, 97, 98, 5, 108, 0, 0, 98, 99, 5, 101, 0, 0, 99, 18, 1, 0, 0, 0, 100, 104, 7, 0, 0, 0, 101, 103, 7, 1, 0, 0, 102, 101, 1, 0, 0, 0, 103, 106, 1, 0, 0, 0, 104, 102, 1, 0, 0, 0, 104, 105, 1, 0, 0, 0, 105, 20, 1, 0, 0, 0, 106, 104, 1, 0, 0, 0, 107, 109, 7, 2, 0, 0, 108, 107, 1, 0, 0, 0, 109, 110, 1, 0, 0, 0, 110, 108, 1, 0, 0, 0, 110, 111, 1, 0, 0, 0, 111, 112, 1, 0, 0, 0, 112, 113, 6, 10, 0, 0, 113, 22, 1, 0, 0, 0, 3, 0, 104, 110, 1, 6, 0, 0]
|
|
@@ -0,0 +1,179 @@
|
|
|
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.Lexer;
|
|
3
|
+
import org.antlr.v4.runtime.CharStream;
|
|
4
|
+
import org.antlr.v4.runtime.Token;
|
|
5
|
+
import org.antlr.v4.runtime.TokenStream;
|
|
6
|
+
import org.antlr.v4.runtime.*;
|
|
7
|
+
import org.antlr.v4.runtime.atn.*;
|
|
8
|
+
import org.antlr.v4.runtime.dfa.DFA;
|
|
9
|
+
import org.antlr.v4.runtime.misc.*;
|
|
10
|
+
|
|
11
|
+
@SuppressWarnings({"all", "warnings", "unchecked", "unused", "cast", "CheckReturnValue", "this-escape"})
|
|
12
|
+
public class BlendBasicLexer extends Lexer {
|
|
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 String[] channelNames = {
|
|
22
|
+
"DEFAULT_TOKEN_CHANNEL", "HIDDEN"
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
public static String[] modeNames = {
|
|
26
|
+
"DEFAULT_MODE"
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
private static String[] makeRuleNames() {
|
|
30
|
+
return new String[] {
|
|
31
|
+
"T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6", "T__7", "T__8",
|
|
32
|
+
"IDENTIFIER", "WS"
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
public static final String[] ruleNames = makeRuleNames();
|
|
36
|
+
|
|
37
|
+
private static String[] makeLiteralNames() {
|
|
38
|
+
return new String[] {
|
|
39
|
+
null, "'section'", "'{'", "'}'", "'data-module'", "','", "'express-module'",
|
|
40
|
+
"'rn-module'", "'react-module'", "'mongo-module'"
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
private static final String[] _LITERAL_NAMES = makeLiteralNames();
|
|
44
|
+
private static String[] makeSymbolicNames() {
|
|
45
|
+
return new String[] {
|
|
46
|
+
null, null, null, null, null, null, null, null, null, null, "IDENTIFIER",
|
|
47
|
+
"WS"
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames();
|
|
51
|
+
public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @deprecated Use {@link #VOCABULARY} instead.
|
|
55
|
+
*/
|
|
56
|
+
@Deprecated
|
|
57
|
+
public static final String[] tokenNames;
|
|
58
|
+
static {
|
|
59
|
+
tokenNames = new String[_SYMBOLIC_NAMES.length];
|
|
60
|
+
for (int i = 0; i < tokenNames.length; i++) {
|
|
61
|
+
tokenNames[i] = VOCABULARY.getLiteralName(i);
|
|
62
|
+
if (tokenNames[i] == null) {
|
|
63
|
+
tokenNames[i] = VOCABULARY.getSymbolicName(i);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
if (tokenNames[i] == null) {
|
|
67
|
+
tokenNames[i] = "<INVALID>";
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@Override
|
|
73
|
+
@Deprecated
|
|
74
|
+
public String[] getTokenNames() {
|
|
75
|
+
return tokenNames;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@Override
|
|
79
|
+
|
|
80
|
+
public Vocabulary getVocabulary() {
|
|
81
|
+
return VOCABULARY;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
public BlendBasicLexer(CharStream input) {
|
|
86
|
+
super(input);
|
|
87
|
+
_interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@Override
|
|
91
|
+
public String getGrammarFileName() { return "BlendBasic.g4"; }
|
|
92
|
+
|
|
93
|
+
@Override
|
|
94
|
+
public String[] getRuleNames() { return ruleNames; }
|
|
95
|
+
|
|
96
|
+
@Override
|
|
97
|
+
public String getSerializedATN() { return _serializedATN; }
|
|
98
|
+
|
|
99
|
+
@Override
|
|
100
|
+
public String[] getChannelNames() { return channelNames; }
|
|
101
|
+
|
|
102
|
+
@Override
|
|
103
|
+
public String[] getModeNames() { return modeNames; }
|
|
104
|
+
|
|
105
|
+
@Override
|
|
106
|
+
public ATN getATN() { return _ATN; }
|
|
107
|
+
|
|
108
|
+
public static final String _serializedATN =
|
|
109
|
+
"\u0004\u0000\u000br\u0006\uffff\uffff\u0002\u0000\u0007\u0000\u0002\u0001"+
|
|
110
|
+
"\u0007\u0001\u0002\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004"+
|
|
111
|
+
"\u0007\u0004\u0002\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002\u0007"+
|
|
112
|
+
"\u0007\u0007\u0002\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0001\u0000"+
|
|
113
|
+
"\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000"+
|
|
114
|
+
"\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0002\u0001\u0002\u0001\u0003"+
|
|
115
|
+
"\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003"+
|
|
116
|
+
"\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0003\u0001\u0004"+
|
|
117
|
+
"\u0001\u0004\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005"+
|
|
118
|
+
"\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005"+
|
|
119
|
+
"\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0006\u0001\u0006"+
|
|
120
|
+
"\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006"+
|
|
121
|
+
"\u0001\u0006\u0001\u0006\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007"+
|
|
122
|
+
"\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007\u0001\u0007"+
|
|
123
|
+
"\u0001\u0007\u0001\u0007\u0001\u0007\u0001\b\u0001\b\u0001\b\u0001\b\u0001"+
|
|
124
|
+
"\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001"+
|
|
125
|
+
"\t\u0001\t\u0005\tg\b\t\n\t\f\tj\t\t\u0001\n\u0004\nm\b\n\u000b\n\f\n"+
|
|
126
|
+
"n\u0001\n\u0001\n\u0000\u0000\u000b\u0001\u0001\u0003\u0002\u0005\u0003"+
|
|
127
|
+
"\u0007\u0004\t\u0005\u000b\u0006\r\u0007\u000f\b\u0011\t\u0013\n\u0015"+
|
|
128
|
+
"\u000b\u0001\u0000\u0003\u0003\u0000AZ__az\u0004\u000009AZ__az\u0003\u0000"+
|
|
129
|
+
"\t\n\r\r s\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0003\u0001\u0000"+
|
|
130
|
+
"\u0000\u0000\u0000\u0005\u0001\u0000\u0000\u0000\u0000\u0007\u0001\u0000"+
|
|
131
|
+
"\u0000\u0000\u0000\t\u0001\u0000\u0000\u0000\u0000\u000b\u0001\u0000\u0000"+
|
|
132
|
+
"\u0000\u0000\r\u0001\u0000\u0000\u0000\u0000\u000f\u0001\u0000\u0000\u0000"+
|
|
133
|
+
"\u0000\u0011\u0001\u0000\u0000\u0000\u0000\u0013\u0001\u0000\u0000\u0000"+
|
|
134
|
+
"\u0000\u0015\u0001\u0000\u0000\u0000\u0001\u0017\u0001\u0000\u0000\u0000"+
|
|
135
|
+
"\u0003\u001f\u0001\u0000\u0000\u0000\u0005!\u0001\u0000\u0000\u0000\u0007"+
|
|
136
|
+
"#\u0001\u0000\u0000\u0000\t/\u0001\u0000\u0000\u0000\u000b1\u0001\u0000"+
|
|
137
|
+
"\u0000\u0000\r@\u0001\u0000\u0000\u0000\u000fJ\u0001\u0000\u0000\u0000"+
|
|
138
|
+
"\u0011W\u0001\u0000\u0000\u0000\u0013d\u0001\u0000\u0000\u0000\u0015l"+
|
|
139
|
+
"\u0001\u0000\u0000\u0000\u0017\u0018\u0005s\u0000\u0000\u0018\u0019\u0005"+
|
|
140
|
+
"e\u0000\u0000\u0019\u001a\u0005c\u0000\u0000\u001a\u001b\u0005t\u0000"+
|
|
141
|
+
"\u0000\u001b\u001c\u0005i\u0000\u0000\u001c\u001d\u0005o\u0000\u0000\u001d"+
|
|
142
|
+
"\u001e\u0005n\u0000\u0000\u001e\u0002\u0001\u0000\u0000\u0000\u001f \u0005"+
|
|
143
|
+
"{\u0000\u0000 \u0004\u0001\u0000\u0000\u0000!\"\u0005}\u0000\u0000\"\u0006"+
|
|
144
|
+
"\u0001\u0000\u0000\u0000#$\u0005d\u0000\u0000$%\u0005a\u0000\u0000%&\u0005"+
|
|
145
|
+
"t\u0000\u0000&\'\u0005a\u0000\u0000\'(\u0005-\u0000\u0000()\u0005m\u0000"+
|
|
146
|
+
"\u0000)*\u0005o\u0000\u0000*+\u0005d\u0000\u0000+,\u0005u\u0000\u0000"+
|
|
147
|
+
",-\u0005l\u0000\u0000-.\u0005e\u0000\u0000.\b\u0001\u0000\u0000\u0000"+
|
|
148
|
+
"/0\u0005,\u0000\u00000\n\u0001\u0000\u0000\u000012\u0005e\u0000\u0000"+
|
|
149
|
+
"23\u0005x\u0000\u000034\u0005p\u0000\u000045\u0005r\u0000\u000056\u0005"+
|
|
150
|
+
"e\u0000\u000067\u0005s\u0000\u000078\u0005s\u0000\u000089\u0005-\u0000"+
|
|
151
|
+
"\u00009:\u0005m\u0000\u0000:;\u0005o\u0000\u0000;<\u0005d\u0000\u0000"+
|
|
152
|
+
"<=\u0005u\u0000\u0000=>\u0005l\u0000\u0000>?\u0005e\u0000\u0000?\f\u0001"+
|
|
153
|
+
"\u0000\u0000\u0000@A\u0005r\u0000\u0000AB\u0005n\u0000\u0000BC\u0005-"+
|
|
154
|
+
"\u0000\u0000CD\u0005m\u0000\u0000DE\u0005o\u0000\u0000EF\u0005d\u0000"+
|
|
155
|
+
"\u0000FG\u0005u\u0000\u0000GH\u0005l\u0000\u0000HI\u0005e\u0000\u0000"+
|
|
156
|
+
"I\u000e\u0001\u0000\u0000\u0000JK\u0005r\u0000\u0000KL\u0005e\u0000\u0000"+
|
|
157
|
+
"LM\u0005a\u0000\u0000MN\u0005c\u0000\u0000NO\u0005t\u0000\u0000OP\u0005"+
|
|
158
|
+
"-\u0000\u0000PQ\u0005m\u0000\u0000QR\u0005o\u0000\u0000RS\u0005d\u0000"+
|
|
159
|
+
"\u0000ST\u0005u\u0000\u0000TU\u0005l\u0000\u0000UV\u0005e\u0000\u0000"+
|
|
160
|
+
"V\u0010\u0001\u0000\u0000\u0000WX\u0005m\u0000\u0000XY\u0005o\u0000\u0000"+
|
|
161
|
+
"YZ\u0005n\u0000\u0000Z[\u0005g\u0000\u0000[\\\u0005o\u0000\u0000\\]\u0005"+
|
|
162
|
+
"-\u0000\u0000]^\u0005m\u0000\u0000^_\u0005o\u0000\u0000_`\u0005d\u0000"+
|
|
163
|
+
"\u0000`a\u0005u\u0000\u0000ab\u0005l\u0000\u0000bc\u0005e\u0000\u0000"+
|
|
164
|
+
"c\u0012\u0001\u0000\u0000\u0000dh\u0007\u0000\u0000\u0000eg\u0007\u0001"+
|
|
165
|
+
"\u0000\u0000fe\u0001\u0000\u0000\u0000gj\u0001\u0000\u0000\u0000hf\u0001"+
|
|
166
|
+
"\u0000\u0000\u0000hi\u0001\u0000\u0000\u0000i\u0014\u0001\u0000\u0000"+
|
|
167
|
+
"\u0000jh\u0001\u0000\u0000\u0000km\u0007\u0002\u0000\u0000lk\u0001\u0000"+
|
|
168
|
+
"\u0000\u0000mn\u0001\u0000\u0000\u0000nl\u0001\u0000\u0000\u0000no\u0001"+
|
|
169
|
+
"\u0000\u0000\u0000op\u0001\u0000\u0000\u0000pq\u0006\n\u0000\u0000q\u0016"+
|
|
170
|
+
"\u0001\u0000\u0000\u0000\u0003\u0000hn\u0001\u0006\u0000\u0000";
|
|
171
|
+
public static final ATN _ATN =
|
|
172
|
+
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
|
|
173
|
+
static {
|
|
174
|
+
_decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
|
|
175
|
+
for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) {
|
|
176
|
+
_decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
IDENTIFIER=10
|
|
11
|
+
WS=11
|
|
12
|
+
'section'=1
|
|
13
|
+
'{'=2
|
|
14
|
+
'}'=3
|
|
15
|
+
'data-module'=4
|
|
16
|
+
','=5
|
|
17
|
+
'express-module'=6
|
|
18
|
+
'rn-module'=7
|
|
19
|
+
'react-module'=8
|
|
20
|
+
'mongo-module'=9
|