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,53 @@
|
|
|
1
|
+
token literal names:
|
|
2
|
+
null
|
|
3
|
+
'module'
|
|
4
|
+
'screen'
|
|
5
|
+
','
|
|
6
|
+
'under'
|
|
7
|
+
'component'
|
|
8
|
+
'layout'
|
|
9
|
+
'('
|
|
10
|
+
')'
|
|
11
|
+
'type'
|
|
12
|
+
'{'
|
|
13
|
+
'}'
|
|
14
|
+
'page'
|
|
15
|
+
'view'
|
|
16
|
+
null
|
|
17
|
+
null
|
|
18
|
+
null
|
|
19
|
+
null
|
|
20
|
+
null
|
|
21
|
+
|
|
22
|
+
token symbolic names:
|
|
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
|
+
null
|
|
36
|
+
null
|
|
37
|
+
LAYOUT_TYPE
|
|
38
|
+
PATH_IDENTIFIER
|
|
39
|
+
IDENTIFIER
|
|
40
|
+
CAPITAL_IDENTIFIER
|
|
41
|
+
WS
|
|
42
|
+
|
|
43
|
+
rule names:
|
|
44
|
+
program
|
|
45
|
+
moduleDefinition
|
|
46
|
+
screenDefenition
|
|
47
|
+
componentDefenition
|
|
48
|
+
layoutDefinition
|
|
49
|
+
pageDefinition
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
atn:
|
|
53
|
+
[3, 51485, 51898, 1421, 44986, 20307, 1543, 60043, 49729, 3, 20, 95, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7, 3, 2, 3, 2, 7, 2, 17, 10, 2, 12, 2, 14, 2, 20, 11, 2, 3, 2, 7, 2, 23, 10, 2, 12, 2, 14, 2, 26, 11, 2, 3, 2, 7, 2, 29, 10, 2, 12, 2, 14, 2, 32, 11, 2, 3, 3, 3, 3, 3, 3, 3, 4, 3, 4, 3, 4, 3, 4, 7, 4, 41, 10, 4, 12, 4, 14, 4, 44, 11, 4, 3, 4, 3, 4, 3, 4, 3, 5, 3, 5, 3, 5, 3, 5, 7, 5, 53, 10, 5, 12, 5, 14, 5, 56, 11, 5, 3, 5, 3, 5, 3, 5, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 7, 6, 72, 10, 6, 12, 6, 14, 6, 75, 11, 6, 3, 6, 7, 6, 78, 10, 6, 12, 6, 14, 6, 81, 11, 6, 3, 6, 3, 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 2, 2, 2, 8, 2, 2, 4, 2, 6, 2, 8, 2, 10, 2, 12, 2, 2, 2, 2, 95, 2, 14, 3, 2, 2, 2, 4, 33, 3, 2, 2, 2, 6, 36, 3, 2, 2, 2, 8, 48, 3, 2, 2, 2, 10, 60, 3, 2, 2, 2, 12, 84, 3, 2, 2, 2, 14, 18, 5, 4, 3, 2, 15, 17, 5, 8, 5, 2, 16, 15, 3, 2, 2, 2, 17, 20, 3, 2, 2, 2, 18, 16, 3, 2, 2, 2, 18, 19, 3, 2, 2, 2, 19, 24, 3, 2, 2, 2, 20, 18, 3, 2, 2, 2, 21, 23, 5, 6, 4, 2, 22, 21, 3, 2, 2, 2, 23, 26, 3, 2, 2, 2, 24, 22, 3, 2, 2, 2, 24, 25, 3, 2, 2, 2, 25, 30, 3, 2, 2, 2, 26, 24, 3, 2, 2, 2, 27, 29, 5, 10, 6, 2, 28, 27, 3, 2, 2, 2, 29, 32, 3, 2, 2, 2, 30, 28, 3, 2, 2, 2, 30, 31, 3, 2, 2, 2, 31, 3, 3, 2, 2, 2, 32, 30, 3, 2, 2, 2, 33, 34, 7, 3, 2, 2, 34, 35, 7, 19, 2, 2, 35, 5, 3, 2, 2, 2, 36, 37, 7, 4, 2, 2, 37, 42, 7, 19, 2, 2, 38, 39, 7, 5, 2, 2, 39, 41, 7, 19, 2, 2, 40, 38, 3, 2, 2, 2, 41, 44, 3, 2, 2, 2, 42, 40, 3, 2, 2, 2, 42, 43, 3, 2, 2, 2, 43, 45, 3, 2, 2, 2, 44, 42, 3, 2, 2, 2, 45, 46, 7, 6, 2, 2, 46, 47, 7, 17, 2, 2, 47, 7, 3, 2, 2, 2, 48, 49, 7, 7, 2, 2, 49, 54, 7, 19, 2, 2, 50, 51, 7, 5, 2, 2, 51, 53, 7, 19, 2, 2, 52, 50, 3, 2, 2, 2, 53, 56, 3, 2, 2, 2, 54, 52, 3, 2, 2, 2, 54, 55, 3, 2, 2, 2, 55, 57, 3, 2, 2, 2, 56, 54, 3, 2, 2, 2, 57, 58, 7, 6, 2, 2, 58, 59, 7, 17, 2, 2, 59, 9, 3, 2, 2, 2, 60, 61, 7, 8, 2, 2, 61, 62, 7, 19, 2, 2, 62, 63, 7, 9, 2, 2, 63, 64, 7, 17, 2, 2, 64, 65, 7, 10, 2, 2, 65, 66, 7, 11, 2, 2, 66, 67, 7, 9, 2, 2, 67, 68, 7, 16, 2, 2, 68, 69, 7, 10, 2, 2, 69, 73, 7, 12, 2, 2, 70, 72, 5, 12, 7, 2, 71, 70, 3, 2, 2, 2, 72, 75, 3, 2, 2, 2, 73, 71, 3, 2, 2, 2, 73, 74, 3, 2, 2, 2, 74, 79, 3, 2, 2, 2, 75, 73, 3, 2, 2, 2, 76, 78, 5, 10, 6, 2, 77, 76, 3, 2, 2, 2, 78, 81, 3, 2, 2, 2, 79, 77, 3, 2, 2, 2, 79, 80, 3, 2, 2, 2, 80, 82, 3, 2, 2, 2, 81, 79, 3, 2, 2, 2, 82, 83, 7, 13, 2, 2, 83, 11, 3, 2, 2, 2, 84, 85, 7, 14, 2, 2, 85, 86, 7, 19, 2, 2, 86, 87, 7, 9, 2, 2, 87, 88, 7, 17, 2, 2, 88, 89, 7, 10, 2, 2, 89, 90, 7, 15, 2, 2, 90, 91, 7, 9, 2, 2, 91, 92, 7, 19, 2, 2, 92, 93, 7, 10, 2, 2, 93, 13, 3, 2, 2, 2, 9, 18, 24, 30, 42, 54, 73, 79]
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
LAYOUT_TYPE=14
|
|
15
|
+
PATH_IDENTIFIER=15
|
|
16
|
+
IDENTIFIER=16
|
|
17
|
+
CAPITAL_IDENTIFIER=17
|
|
18
|
+
WS=18
|
|
19
|
+
'module'=1
|
|
20
|
+
'screen'=2
|
|
21
|
+
','=3
|
|
22
|
+
'under'=4
|
|
23
|
+
'component'=5
|
|
24
|
+
'layout'=6
|
|
25
|
+
'('=7
|
|
26
|
+
')'=8
|
|
27
|
+
'type'=9
|
|
28
|
+
'{'=10
|
|
29
|
+
'}'=11
|
|
30
|
+
'page'=12
|
|
31
|
+
'view'=13
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
token literal names:
|
|
2
|
+
null
|
|
3
|
+
'module'
|
|
4
|
+
'screen'
|
|
5
|
+
','
|
|
6
|
+
'under'
|
|
7
|
+
'component'
|
|
8
|
+
'layout'
|
|
9
|
+
'('
|
|
10
|
+
')'
|
|
11
|
+
'type'
|
|
12
|
+
'{'
|
|
13
|
+
'}'
|
|
14
|
+
'page'
|
|
15
|
+
'view'
|
|
16
|
+
null
|
|
17
|
+
null
|
|
18
|
+
null
|
|
19
|
+
null
|
|
20
|
+
null
|
|
21
|
+
|
|
22
|
+
token symbolic names:
|
|
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
|
+
null
|
|
36
|
+
null
|
|
37
|
+
LAYOUT_TYPE
|
|
38
|
+
PATH_IDENTIFIER
|
|
39
|
+
IDENTIFIER
|
|
40
|
+
CAPITAL_IDENTIFIER
|
|
41
|
+
WS
|
|
42
|
+
|
|
43
|
+
rule names:
|
|
44
|
+
T__0
|
|
45
|
+
T__1
|
|
46
|
+
T__2
|
|
47
|
+
T__3
|
|
48
|
+
T__4
|
|
49
|
+
T__5
|
|
50
|
+
T__6
|
|
51
|
+
T__7
|
|
52
|
+
T__8
|
|
53
|
+
T__9
|
|
54
|
+
T__10
|
|
55
|
+
T__11
|
|
56
|
+
T__12
|
|
57
|
+
LAYOUT_TYPE
|
|
58
|
+
PATH_IDENTIFIER
|
|
59
|
+
IDENTIFIER
|
|
60
|
+
CAPITAL_IDENTIFIER
|
|
61
|
+
WS
|
|
62
|
+
|
|
63
|
+
channel names:
|
|
64
|
+
DEFAULT_TOKEN_CHANNEL
|
|
65
|
+
HIDDEN
|
|
66
|
+
|
|
67
|
+
mode names:
|
|
68
|
+
DEFAULT_MODE
|
|
69
|
+
|
|
70
|
+
atn:
|
|
71
|
+
[3, 51485, 51898, 1421, 44986, 20307, 1543, 60043, 49729, 2, 20, 143, 8, 1, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12, 4, 13, 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4, 18, 9, 18, 4, 19, 9, 19, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 4, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 8, 3, 8, 3, 9, 3, 9, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 11, 3, 11, 3, 12, 3, 12, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 14, 3, 14, 3, 14, 3, 14, 3, 14, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 5, 15, 113, 10, 15, 3, 16, 3, 16, 6, 16, 117, 10, 16, 13, 16, 14, 16, 118, 3, 16, 3, 16, 3, 17, 3, 17, 7, 17, 125, 10, 17, 12, 17, 14, 17, 128, 11, 17, 3, 18, 3, 18, 7, 18, 132, 10, 18, 12, 18, 14, 18, 135, 11, 18, 3, 19, 6, 19, 138, 10, 19, 13, 19, 14, 19, 139, 3, 19, 3, 19, 2, 2, 2, 20, 3, 2, 3, 5, 2, 4, 7, 2, 5, 9, 2, 6, 11, 2, 7, 13, 2, 8, 15, 2, 9, 17, 2, 10, 19, 2, 11, 21, 2, 12, 23, 2, 13, 25, 2, 14, 27, 2, 15, 29, 2, 16, 31, 2, 17, 33, 2, 18, 35, 2, 19, 37, 2, 20, 3, 2, 7, 6, 2, 49, 59, 67, 92, 97, 97, 99, 124, 4, 2, 97, 97, 99, 124, 6, 2, 50, 59, 67, 92, 97, 97, 99, 124, 3, 2, 67, 92, 5, 2, 11, 12, 15, 15, 34, 34, 2, 147, 2, 3, 3, 2, 2, 2, 2, 5, 3, 2, 2, 2, 2, 7, 3, 2, 2, 2, 2, 9, 3, 2, 2, 2, 2, 11, 3, 2, 2, 2, 2, 13, 3, 2, 2, 2, 2, 15, 3, 2, 2, 2, 2, 17, 3, 2, 2, 2, 2, 19, 3, 2, 2, 2, 2, 21, 3, 2, 2, 2, 2, 23, 3, 2, 2, 2, 2, 25, 3, 2, 2, 2, 2, 27, 3, 2, 2, 2, 2, 29, 3, 2, 2, 2, 2, 31, 3, 2, 2, 2, 2, 33, 3, 2, 2, 2, 2, 35, 3, 2, 2, 2, 2, 37, 3, 2, 2, 2, 3, 39, 3, 2, 2, 2, 5, 46, 3, 2, 2, 2, 7, 53, 3, 2, 2, 2, 9, 55, 3, 2, 2, 2, 11, 61, 3, 2, 2, 2, 13, 71, 3, 2, 2, 2, 15, 78, 3, 2, 2, 2, 17, 80, 3, 2, 2, 2, 19, 82, 3, 2, 2, 2, 21, 87, 3, 2, 2, 2, 23, 89, 3, 2, 2, 2, 25, 91, 3, 2, 2, 2, 27, 96, 3, 2, 2, 2, 29, 112, 3, 2, 2, 2, 31, 114, 3, 2, 2, 2, 33, 122, 3, 2, 2, 2, 35, 129, 3, 2, 2, 2, 37, 137, 3, 2, 2, 2, 39, 40, 7, 111, 2, 2, 40, 41, 7, 113, 2, 2, 41, 42, 7, 102, 2, 2, 42, 43, 7, 119, 2, 2, 43, 44, 7, 110, 2, 2, 44, 45, 7, 103, 2, 2, 45, 4, 3, 2, 2, 2, 46, 47, 7, 117, 2, 2, 47, 48, 7, 101, 2, 2, 48, 49, 7, 116, 2, 2, 49, 50, 7, 103, 2, 2, 50, 51, 7, 103, 2, 2, 51, 52, 7, 112, 2, 2, 52, 6, 3, 2, 2, 2, 53, 54, 7, 46, 2, 2, 54, 8, 3, 2, 2, 2, 55, 56, 7, 119, 2, 2, 56, 57, 7, 112, 2, 2, 57, 58, 7, 102, 2, 2, 58, 59, 7, 103, 2, 2, 59, 60, 7, 116, 2, 2, 60, 10, 3, 2, 2, 2, 61, 62, 7, 101, 2, 2, 62, 63, 7, 113, 2, 2, 63, 64, 7, 111, 2, 2, 64, 65, 7, 114, 2, 2, 65, 66, 7, 113, 2, 2, 66, 67, 7, 112, 2, 2, 67, 68, 7, 103, 2, 2, 68, 69, 7, 112, 2, 2, 69, 70, 7, 118, 2, 2, 70, 12, 3, 2, 2, 2, 71, 72, 7, 110, 2, 2, 72, 73, 7, 99, 2, 2, 73, 74, 7, 123, 2, 2, 74, 75, 7, 113, 2, 2, 75, 76, 7, 119, 2, 2, 76, 77, 7, 118, 2, 2, 77, 14, 3, 2, 2, 2, 78, 79, 7, 42, 2, 2, 79, 16, 3, 2, 2, 2, 80, 81, 7, 43, 2, 2, 81, 18, 3, 2, 2, 2, 82, 83, 7, 118, 2, 2, 83, 84, 7, 123, 2, 2, 84, 85, 7, 114, 2, 2, 85, 86, 7, 103, 2, 2, 86, 20, 3, 2, 2, 2, 87, 88, 7, 125, 2, 2, 88, 22, 3, 2, 2, 2, 89, 90, 7, 127, 2, 2, 90, 24, 3, 2, 2, 2, 91, 92, 7, 114, 2, 2, 92, 93, 7, 99, 2, 2, 93, 94, 7, 105, 2, 2, 94, 95, 7, 103, 2, 2, 95, 26, 3, 2, 2, 2, 96, 97, 7, 120, 2, 2, 97, 98, 7, 107, 2, 2, 98, 99, 7, 103, 2, 2, 99, 100, 7, 121, 2, 2, 100, 28, 3, 2, 2, 2, 101, 102, 7, 85, 2, 2, 102, 103, 7, 118, 2, 2, 103, 104, 7, 99, 2, 2, 104, 105, 7, 101, 2, 2, 105, 113, 7, 109, 2, 2, 106, 107, 7, 70, 2, 2, 107, 108, 7, 116, 2, 2, 108, 109, 7, 99, 2, 2, 109, 110, 7, 121, 2, 2, 110, 111, 7, 103, 2, 2, 111, 113, 7, 116, 2, 2, 112, 101, 3, 2, 2, 2, 112, 106, 3, 2, 2, 2, 113, 30, 3, 2, 2, 2, 114, 116, 7, 36, 2, 2, 115, 117, 9, 2, 2, 2, 116, 115, 3, 2, 2, 2, 117, 118, 3, 2, 2, 2, 118, 116, 3, 2, 2, 2, 118, 119, 3, 2, 2, 2, 119, 120, 3, 2, 2, 2, 120, 121, 7, 36, 2, 2, 121, 32, 3, 2, 2, 2, 122, 126, 9, 3, 2, 2, 123, 125, 9, 4, 2, 2, 124, 123, 3, 2, 2, 2, 125, 128, 3, 2, 2, 2, 126, 124, 3, 2, 2, 2, 126, 127, 3, 2, 2, 2, 127, 34, 3, 2, 2, 2, 128, 126, 3, 2, 2, 2, 129, 133, 9, 5, 2, 2, 130, 132, 9, 4, 2, 2, 131, 130, 3, 2, 2, 2, 132, 135, 3, 2, 2, 2, 133, 131, 3, 2, 2, 2, 133, 134, 3, 2, 2, 2, 134, 36, 3, 2, 2, 2, 135, 133, 3, 2, 2, 2, 136, 138, 9, 6, 2, 2, 137, 136, 3, 2, 2, 2, 138, 139, 3, 2, 2, 2, 139, 137, 3, 2, 2, 2, 139, 140, 3, 2, 2, 2, 140, 141, 3, 2, 2, 2, 141, 142, 8, 19, 2, 2, 142, 38, 3, 2, 2, 2, 8, 2, 112, 118, 126, 133, 139, 3, 8, 2, 2]
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
LAYOUT_TYPE=14
|
|
15
|
+
PATH_IDENTIFIER=15
|
|
16
|
+
IDENTIFIER=16
|
|
17
|
+
CAPITAL_IDENTIFIER=17
|
|
18
|
+
WS=18
|
|
19
|
+
'module'=1
|
|
20
|
+
'screen'=2
|
|
21
|
+
','=3
|
|
22
|
+
'under'=4
|
|
23
|
+
'component'=5
|
|
24
|
+
'layout'=6
|
|
25
|
+
'('=7
|
|
26
|
+
')'=8
|
|
27
|
+
'type'=9
|
|
28
|
+
'{'=10
|
|
29
|
+
'}'=11
|
|
30
|
+
'page'=12
|
|
31
|
+
'view'=13
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
// Generated from src/grammar/BlendRN.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 { CharStream } from "antlr4ts/CharStream";
|
|
7
|
+
import { Lexer } from "antlr4ts/Lexer";
|
|
8
|
+
import { LexerATNSimulator } from "antlr4ts/atn/LexerATNSimulator";
|
|
9
|
+
import { NotNull } from "antlr4ts/Decorators";
|
|
10
|
+
import { Override } from "antlr4ts/Decorators";
|
|
11
|
+
import { RuleContext } from "antlr4ts/RuleContext";
|
|
12
|
+
import { Vocabulary } from "antlr4ts/Vocabulary";
|
|
13
|
+
import { VocabularyImpl } from "antlr4ts/VocabularyImpl";
|
|
14
|
+
|
|
15
|
+
import * as Utils from "antlr4ts/misc/Utils";
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
export class BlendRNLexer extends Lexer {
|
|
19
|
+
public static readonly T__0 = 1;
|
|
20
|
+
public static readonly T__1 = 2;
|
|
21
|
+
public static readonly T__2 = 3;
|
|
22
|
+
public static readonly T__3 = 4;
|
|
23
|
+
public static readonly T__4 = 5;
|
|
24
|
+
public static readonly T__5 = 6;
|
|
25
|
+
public static readonly T__6 = 7;
|
|
26
|
+
public static readonly T__7 = 8;
|
|
27
|
+
public static readonly T__8 = 9;
|
|
28
|
+
public static readonly T__9 = 10;
|
|
29
|
+
public static readonly T__10 = 11;
|
|
30
|
+
public static readonly T__11 = 12;
|
|
31
|
+
public static readonly T__12 = 13;
|
|
32
|
+
public static readonly LAYOUT_TYPE = 14;
|
|
33
|
+
public static readonly PATH_IDENTIFIER = 15;
|
|
34
|
+
public static readonly IDENTIFIER = 16;
|
|
35
|
+
public static readonly CAPITAL_IDENTIFIER = 17;
|
|
36
|
+
public static readonly WS = 18;
|
|
37
|
+
|
|
38
|
+
// tslint:disable:no-trailing-whitespace
|
|
39
|
+
public static readonly channelNames: string[] = [
|
|
40
|
+
"DEFAULT_TOKEN_CHANNEL", "HIDDEN",
|
|
41
|
+
];
|
|
42
|
+
|
|
43
|
+
// tslint:disable:no-trailing-whitespace
|
|
44
|
+
public static readonly modeNames: string[] = [
|
|
45
|
+
"DEFAULT_MODE",
|
|
46
|
+
];
|
|
47
|
+
|
|
48
|
+
public static readonly ruleNames: string[] = [
|
|
49
|
+
"T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6", "T__7", "T__8",
|
|
50
|
+
"T__9", "T__10", "T__11", "T__12", "LAYOUT_TYPE", "PATH_IDENTIFIER", "IDENTIFIER",
|
|
51
|
+
"CAPITAL_IDENTIFIER", "WS",
|
|
52
|
+
];
|
|
53
|
+
|
|
54
|
+
private static readonly _LITERAL_NAMES: Array<string | undefined> = [
|
|
55
|
+
undefined, "'module'", "'screen'", "','", "'under'", "'component'", "'layout'",
|
|
56
|
+
"'('", "')'", "'type'", "'{'", "'}'", "'page'", "'view'",
|
|
57
|
+
];
|
|
58
|
+
private static readonly _SYMBOLIC_NAMES: Array<string | undefined> = [
|
|
59
|
+
undefined, undefined, undefined, undefined, undefined, undefined, undefined,
|
|
60
|
+
undefined, undefined, undefined, undefined, undefined, undefined, undefined,
|
|
61
|
+
"LAYOUT_TYPE", "PATH_IDENTIFIER", "IDENTIFIER", "CAPITAL_IDENTIFIER",
|
|
62
|
+
"WS",
|
|
63
|
+
];
|
|
64
|
+
public static readonly VOCABULARY: Vocabulary = new VocabularyImpl(BlendRNLexer._LITERAL_NAMES, BlendRNLexer._SYMBOLIC_NAMES, []);
|
|
65
|
+
|
|
66
|
+
// @Override
|
|
67
|
+
// @NotNull
|
|
68
|
+
public get vocabulary(): Vocabulary {
|
|
69
|
+
return BlendRNLexer.VOCABULARY;
|
|
70
|
+
}
|
|
71
|
+
// tslint:enable:no-trailing-whitespace
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
constructor(input: CharStream) {
|
|
75
|
+
super(input);
|
|
76
|
+
this._interp = new LexerATNSimulator(BlendRNLexer._ATN, this);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// @Override
|
|
80
|
+
public get grammarFileName(): string { return "BlendRN.g4"; }
|
|
81
|
+
|
|
82
|
+
// @Override
|
|
83
|
+
public get ruleNames(): string[] { return BlendRNLexer.ruleNames; }
|
|
84
|
+
|
|
85
|
+
// @Override
|
|
86
|
+
public get serializedATN(): string { return BlendRNLexer._serializedATN; }
|
|
87
|
+
|
|
88
|
+
// @Override
|
|
89
|
+
public get channelNames(): string[] { return BlendRNLexer.channelNames; }
|
|
90
|
+
|
|
91
|
+
// @Override
|
|
92
|
+
public get modeNames(): string[] { return BlendRNLexer.modeNames; }
|
|
93
|
+
|
|
94
|
+
public static readonly _serializedATN: string =
|
|
95
|
+
"\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x02\x14\x8F\b\x01" +
|
|
96
|
+
"\x04\x02\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06" +
|
|
97
|
+
"\x04\x07\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x04\f\t\f\x04\r" +
|
|
98
|
+
"\t\r\x04\x0E\t\x0E\x04\x0F\t\x0F\x04\x10\t\x10\x04\x11\t\x11\x04\x12\t" +
|
|
99
|
+
"\x12\x04\x13\t\x13\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03" +
|
|
100
|
+
"\x02\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x04\x03" +
|
|
101
|
+
"\x04\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05\x03\x06\x03\x06\x03" +
|
|
102
|
+
"\x06\x03\x06\x03\x06\x03\x06\x03\x06\x03\x06\x03\x06\x03\x06\x03\x07\x03" +
|
|
103
|
+
"\x07\x03\x07\x03\x07\x03\x07\x03\x07\x03\x07\x03\b\x03\b\x03\t\x03\t\x03" +
|
|
104
|
+
"\n\x03\n\x03\n\x03\n\x03\n\x03\v\x03\v\x03\f\x03\f\x03\r\x03\r\x03\r\x03" +
|
|
105
|
+
"\r\x03\r\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0F\x03\x0F\x03\x0F" +
|
|
106
|
+
"\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x05\x0F" +
|
|
107
|
+
"q\n\x0F\x03\x10\x03\x10\x06\x10u\n\x10\r\x10\x0E\x10v\x03\x10\x03\x10" +
|
|
108
|
+
"\x03\x11\x03\x11\x07\x11}\n\x11\f\x11\x0E\x11\x80\v\x11\x03\x12\x03\x12" +
|
|
109
|
+
"\x07\x12\x84\n\x12\f\x12\x0E\x12\x87\v\x12\x03\x13\x06\x13\x8A\n\x13\r" +
|
|
110
|
+
"\x13\x0E\x13\x8B\x03\x13\x03\x13\x02\x02\x02\x14\x03\x02\x03\x05\x02\x04" +
|
|
111
|
+
"\x07\x02\x05\t\x02\x06\v\x02\x07\r\x02\b\x0F\x02\t\x11\x02\n\x13\x02\v" +
|
|
112
|
+
"\x15\x02\f\x17\x02\r\x19\x02\x0E\x1B\x02\x0F\x1D\x02\x10\x1F\x02\x11!" +
|
|
113
|
+
"\x02\x12#\x02\x13%\x02\x14\x03\x02\x07\x06\x021;C\\aac|\x04\x02aac|\x06" +
|
|
114
|
+
"\x022;C\\aac|\x03\x02C\\\x05\x02\v\f\x0F\x0F\"\"\x02\x93\x02\x03\x03\x02" +
|
|
115
|
+
"\x02\x02\x02\x05\x03\x02\x02\x02\x02\x07\x03\x02\x02\x02\x02\t\x03\x02" +
|
|
116
|
+
"\x02\x02\x02\v\x03\x02\x02\x02\x02\r\x03\x02\x02\x02\x02\x0F\x03\x02\x02" +
|
|
117
|
+
"\x02\x02\x11\x03\x02\x02\x02\x02\x13\x03\x02\x02\x02\x02\x15\x03\x02\x02" +
|
|
118
|
+
"\x02\x02\x17\x03\x02\x02\x02\x02\x19\x03\x02\x02\x02\x02\x1B\x03\x02\x02" +
|
|
119
|
+
"\x02\x02\x1D\x03\x02\x02\x02\x02\x1F\x03\x02\x02\x02\x02!\x03\x02\x02" +
|
|
120
|
+
"\x02\x02#\x03\x02\x02\x02\x02%\x03\x02\x02\x02\x03\'\x03\x02\x02\x02\x05" +
|
|
121
|
+
".\x03\x02\x02\x02\x075\x03\x02\x02\x02\t7\x03\x02\x02\x02\v=\x03\x02\x02" +
|
|
122
|
+
"\x02\rG\x03\x02\x02\x02\x0FN\x03\x02\x02\x02\x11P\x03\x02\x02\x02\x13" +
|
|
123
|
+
"R\x03\x02\x02\x02\x15W\x03\x02\x02\x02\x17Y\x03\x02\x02\x02\x19[\x03\x02" +
|
|
124
|
+
"\x02\x02\x1B`\x03\x02\x02\x02\x1Dp\x03\x02\x02\x02\x1Fr\x03\x02\x02\x02" +
|
|
125
|
+
"!z\x03\x02\x02\x02#\x81\x03\x02\x02\x02%\x89\x03\x02\x02\x02\'(\x07o\x02" +
|
|
126
|
+
"\x02()\x07q\x02\x02)*\x07f\x02\x02*+\x07w\x02\x02+,\x07n\x02\x02,-\x07" +
|
|
127
|
+
"g\x02\x02-\x04\x03\x02\x02\x02./\x07u\x02\x02/0\x07e\x02\x0201\x07t\x02" +
|
|
128
|
+
"\x0212\x07g\x02\x0223\x07g\x02\x0234\x07p\x02\x024\x06\x03\x02\x02\x02" +
|
|
129
|
+
"56\x07.\x02\x026\b\x03\x02\x02\x0278\x07w\x02\x0289\x07p\x02\x029:\x07" +
|
|
130
|
+
"f\x02\x02:;\x07g\x02\x02;<\x07t\x02\x02<\n\x03\x02\x02\x02=>\x07e\x02" +
|
|
131
|
+
"\x02>?\x07q\x02\x02?@\x07o\x02\x02@A\x07r\x02\x02AB\x07q\x02\x02BC\x07" +
|
|
132
|
+
"p\x02\x02CD\x07g\x02\x02DE\x07p\x02\x02EF\x07v\x02\x02F\f\x03\x02\x02" +
|
|
133
|
+
"\x02GH\x07n\x02\x02HI\x07c\x02\x02IJ\x07{\x02\x02JK\x07q\x02\x02KL\x07" +
|
|
134
|
+
"w\x02\x02LM\x07v\x02\x02M\x0E\x03\x02\x02\x02NO\x07*\x02\x02O\x10\x03" +
|
|
135
|
+
"\x02\x02\x02PQ\x07+\x02\x02Q\x12\x03\x02\x02\x02RS\x07v\x02\x02ST\x07" +
|
|
136
|
+
"{\x02\x02TU\x07r\x02\x02UV\x07g\x02\x02V\x14\x03\x02\x02\x02WX\x07}\x02" +
|
|
137
|
+
"\x02X\x16\x03\x02\x02\x02YZ\x07\x7F\x02\x02Z\x18\x03\x02\x02\x02[\\\x07" +
|
|
138
|
+
"r\x02\x02\\]\x07c\x02\x02]^\x07i\x02\x02^_\x07g\x02\x02_\x1A\x03\x02\x02" +
|
|
139
|
+
"\x02`a\x07x\x02\x02ab\x07k\x02\x02bc\x07g\x02\x02cd\x07y\x02\x02d\x1C" +
|
|
140
|
+
"\x03\x02\x02\x02ef\x07U\x02\x02fg\x07v\x02\x02gh\x07c\x02\x02hi\x07e\x02" +
|
|
141
|
+
"\x02iq\x07m\x02\x02jk\x07F\x02\x02kl\x07t\x02\x02lm\x07c\x02\x02mn\x07" +
|
|
142
|
+
"y\x02\x02no\x07g\x02\x02oq\x07t\x02\x02pe\x03\x02\x02\x02pj\x03\x02\x02" +
|
|
143
|
+
"\x02q\x1E\x03\x02\x02\x02rt\x07$\x02\x02su\t\x02\x02\x02ts\x03\x02\x02" +
|
|
144
|
+
"\x02uv\x03\x02\x02\x02vt\x03\x02\x02\x02vw\x03\x02\x02\x02wx\x03\x02\x02" +
|
|
145
|
+
"\x02xy\x07$\x02\x02y \x03\x02\x02\x02z~\t\x03\x02\x02{}\t\x04\x02\x02" +
|
|
146
|
+
"|{\x03\x02\x02\x02}\x80\x03\x02\x02\x02~|\x03\x02\x02\x02~\x7F\x03\x02" +
|
|
147
|
+
"\x02\x02\x7F\"\x03\x02\x02\x02\x80~\x03\x02\x02\x02\x81\x85\t\x05\x02" +
|
|
148
|
+
"\x02\x82\x84\t\x04\x02\x02\x83\x82\x03\x02\x02\x02\x84\x87\x03\x02\x02" +
|
|
149
|
+
"\x02\x85\x83\x03\x02\x02\x02\x85\x86\x03\x02\x02\x02\x86$\x03\x02\x02" +
|
|
150
|
+
"\x02\x87\x85\x03\x02\x02\x02\x88\x8A\t\x06\x02\x02\x89\x88\x03\x02\x02" +
|
|
151
|
+
"\x02\x8A\x8B\x03\x02\x02\x02\x8B\x89\x03\x02\x02\x02\x8B\x8C\x03\x02\x02" +
|
|
152
|
+
"\x02\x8C\x8D\x03\x02\x02\x02\x8D\x8E\b\x13\x02\x02\x8E&\x03\x02\x02\x02" +
|
|
153
|
+
"\b\x02pv~\x85\x8B\x03\b\x02\x02";
|
|
154
|
+
public static __ATN: ATN;
|
|
155
|
+
public static get _ATN(): ATN {
|
|
156
|
+
if (!BlendRNLexer.__ATN) {
|
|
157
|
+
BlendRNLexer.__ATN = new ATNDeserializer().deserialize(Utils.toCharArray(BlendRNLexer._serializedATN));
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
return BlendRNLexer.__ATN;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
}
|
|
164
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// Generated from src/grammar/BlendRN.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import { ParseTreeListener } from "antlr4ts/tree/ParseTreeListener";
|
|
5
|
+
|
|
6
|
+
import { ProgramContext } from "./BlendRNParser";
|
|
7
|
+
import { ModuleDefinitionContext } from "./BlendRNParser";
|
|
8
|
+
import { ScreenDefenitionContext } from "./BlendRNParser";
|
|
9
|
+
import { ComponentDefenitionContext } from "./BlendRNParser";
|
|
10
|
+
import { LayoutDefinitionContext } from "./BlendRNParser";
|
|
11
|
+
import { PageDefinitionContext } from "./BlendRNParser";
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* This interface defines a complete listener for a parse tree produced by
|
|
16
|
+
* `BlendRNParser`.
|
|
17
|
+
*/
|
|
18
|
+
export interface BlendRNListener extends ParseTreeListener {
|
|
19
|
+
/**
|
|
20
|
+
* Enter a parse tree produced by `BlendRNParser.program`.
|
|
21
|
+
* @param ctx the parse tree
|
|
22
|
+
*/
|
|
23
|
+
enterProgram?: (ctx: ProgramContext) => void;
|
|
24
|
+
/**
|
|
25
|
+
* Exit a parse tree produced by `BlendRNParser.program`.
|
|
26
|
+
* @param ctx the parse tree
|
|
27
|
+
*/
|
|
28
|
+
exitProgram?: (ctx: ProgramContext) => void;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Enter a parse tree produced by `BlendRNParser.moduleDefinition`.
|
|
32
|
+
* @param ctx the parse tree
|
|
33
|
+
*/
|
|
34
|
+
enterModuleDefinition?: (ctx: ModuleDefinitionContext) => void;
|
|
35
|
+
/**
|
|
36
|
+
* Exit a parse tree produced by `BlendRNParser.moduleDefinition`.
|
|
37
|
+
* @param ctx the parse tree
|
|
38
|
+
*/
|
|
39
|
+
exitModuleDefinition?: (ctx: ModuleDefinitionContext) => void;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Enter a parse tree produced by `BlendRNParser.screenDefenition`.
|
|
43
|
+
* @param ctx the parse tree
|
|
44
|
+
*/
|
|
45
|
+
enterScreenDefenition?: (ctx: ScreenDefenitionContext) => void;
|
|
46
|
+
/**
|
|
47
|
+
* Exit a parse tree produced by `BlendRNParser.screenDefenition`.
|
|
48
|
+
* @param ctx the parse tree
|
|
49
|
+
*/
|
|
50
|
+
exitScreenDefenition?: (ctx: ScreenDefenitionContext) => void;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Enter a parse tree produced by `BlendRNParser.componentDefenition`.
|
|
54
|
+
* @param ctx the parse tree
|
|
55
|
+
*/
|
|
56
|
+
enterComponentDefenition?: (ctx: ComponentDefenitionContext) => void;
|
|
57
|
+
/**
|
|
58
|
+
* Exit a parse tree produced by `BlendRNParser.componentDefenition`.
|
|
59
|
+
* @param ctx the parse tree
|
|
60
|
+
*/
|
|
61
|
+
exitComponentDefenition?: (ctx: ComponentDefenitionContext) => void;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Enter a parse tree produced by `BlendRNParser.layoutDefinition`.
|
|
65
|
+
* @param ctx the parse tree
|
|
66
|
+
*/
|
|
67
|
+
enterLayoutDefinition?: (ctx: LayoutDefinitionContext) => void;
|
|
68
|
+
/**
|
|
69
|
+
* Exit a parse tree produced by `BlendRNParser.layoutDefinition`.
|
|
70
|
+
* @param ctx the parse tree
|
|
71
|
+
*/
|
|
72
|
+
exitLayoutDefinition?: (ctx: LayoutDefinitionContext) => void;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Enter a parse tree produced by `BlendRNParser.pageDefinition`.
|
|
76
|
+
* @param ctx the parse tree
|
|
77
|
+
*/
|
|
78
|
+
enterPageDefinition?: (ctx: PageDefinitionContext) => void;
|
|
79
|
+
/**
|
|
80
|
+
* Exit a parse tree produced by `BlendRNParser.pageDefinition`.
|
|
81
|
+
* @param ctx the parse tree
|
|
82
|
+
*/
|
|
83
|
+
exitPageDefinition?: (ctx: PageDefinitionContext) => void;
|
|
84
|
+
}
|
|
85
|
+
|