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.
Files changed (210) hide show
  1. package/dist/helper/ApiHelper.js +0 -0
  2. package/dist/helper/BasicHelper.js +28 -0
  3. package/dist/helper/CommonHelper.js +10 -0
  4. package/dist/helper/DataHelper.js +241 -0
  5. package/dist/helper/ExpressHelper.js +728 -0
  6. package/dist/helper/FrontEndApiHelper.js +485 -0
  7. package/dist/helper/FrontEndReactApiHelper.js +483 -0
  8. package/dist/helper/MongoHelper.js +143 -0
  9. package/dist/helper/RNHelper.js +560 -0
  10. package/dist/helper/ReactHelper.js +524 -0
  11. package/dist/helper/SectionHelper.js +152 -0
  12. package/dist/helper/fileHelper.js +127 -0
  13. package/dist/helper/grammarHelper/BlendApiGrammarHelper.js +48 -0
  14. package/dist/helper/grammarHelper/BlendBasicGrammarHelper.js +98 -0
  15. package/dist/helper/grammarHelper/BlendDataGrammarHelper.js +47 -0
  16. package/dist/helper/grammarHelper/BlendMDPGrammarHelper.js +29 -0
  17. package/dist/helper/grammarHelper/BlendMongoGrammarHelper.js +51 -0
  18. package/dist/helper/grammarHelper/BlendRNGrammarHelper.js +56 -0
  19. package/dist/helper/grammarHelper/BlendReactGrammarHelper.js +55 -0
  20. package/dist/helper/grammarHelper/GrammarErrorHelper.js +16 -0
  21. package/dist/index.js +159 -0
  22. package/dist/parser/blendApi/src/grammar/BlendApiLexer.js +201 -0
  23. package/dist/parser/blendApi/src/grammar/BlendApiListener.js +3 -0
  24. package/dist/parser/blendApi/src/grammar/BlendApiParser.js +961 -0
  25. package/dist/parser/blendData/src/grammar/BlendDataLexer.js +154 -0
  26. package/dist/parser/blendData/src/grammar/BlendDataListener.js +3 -0
  27. package/dist/parser/blendData/src/grammar/BlendDataParser.js +641 -0
  28. package/dist/parser/blendMDP/src/grammar/BlendMDPLexer.js +151 -0
  29. package/dist/parser/blendMDP/src/grammar/BlendMDPListener.js +3 -0
  30. package/dist/parser/blendMDP/src/grammar/BlendMDPParser.js +490 -0
  31. package/dist/parser/blendMongo/src/grammar/BlendMongoLexer.js +187 -0
  32. package/dist/parser/blendMongo/src/grammar/BlendMongoListener.js +3 -0
  33. package/dist/parser/blendMongo/src/grammar/BlendMongoParser.js +848 -0
  34. package/dist/parser/blendRN/src/grammar/BlendRNLexer.js +172 -0
  35. package/dist/parser/blendRN/src/grammar/BlendRNListener.js +3 -0
  36. package/dist/parser/blendRN/src/grammar/BlendRNParser.js +657 -0
  37. package/dist/parser/blendReact/src/grammar/BlendReactLexer.js +159 -0
  38. package/dist/parser/blendReact/src/grammar/BlendReactListener.js +3 -0
  39. package/dist/parser/blendReact/src/grammar/BlendReactParser.js +644 -0
  40. package/dist/parser/blendbasic/src/grammar/BlendBasicLexer.js +147 -0
  41. package/dist/parser/blendbasic/src/grammar/BlendBasicListener.js +3 -0
  42. package/dist/parser/blendbasic/src/grammar/BlendBasicParser.js +747 -0
  43. package/dist/src/app.js +76 -0
  44. package/dist/src/app.ts +54 -0
  45. package/dist/types/apiOperationTypes.js +13 -0
  46. package/dist/types/basicOperationTypes.js +2 -0
  47. package/dist/types/dataOperationTypes.js +2 -0
  48. package/dist/types/frontendOperationTypes.js +4 -0
  49. package/dist/types/generalTypes.js +0 -0
  50. package/dist/types/mongoOperationTypes.js +12 -0
  51. package/package.json +29 -0
  52. package/src/grammar/.antlr/ApiModuleLexer.interp +71 -0
  53. package/src/grammar/.antlr/ApiModuleLexer.java +194 -0
  54. package/src/grammar/.antlr/ApiModuleLexer.tokens +32 -0
  55. package/src/grammar/.antlr/BlendApi.interp +70 -0
  56. package/src/grammar/.antlr/BlendApi.tokens +44 -0
  57. package/src/grammar/.antlr/BlendApiLexer.interp +89 -0
  58. package/src/grammar/.antlr/BlendApiLexer.java +237 -0
  59. package/src/grammar/.antlr/BlendApiLexer.tokens +44 -0
  60. package/src/grammar/.antlr/BlendApiParser.java +767 -0
  61. package/src/grammar/.antlr/BlendBasic.interp +41 -0
  62. package/src/grammar/.antlr/BlendBasic.tokens +20 -0
  63. package/src/grammar/.antlr/BlendBasicLexer.interp +50 -0
  64. package/src/grammar/.antlr/BlendBasicLexer.java +179 -0
  65. package/src/grammar/.antlr/BlendBasicLexer.tokens +20 -0
  66. package/src/grammar/.antlr/BlendBasicParser.java +599 -0
  67. package/src/grammar/.antlr/BlendData.interp +50 -0
  68. package/src/grammar/.antlr/BlendData.tokens +29 -0
  69. package/src/grammar/.antlr/BlendDataLexer.interp +65 -0
  70. package/src/grammar/.antlr/BlendDataLexer.java +181 -0
  71. package/src/grammar/.antlr/BlendDataLexer.tokens +29 -0
  72. package/src/grammar/.antlr/BlendDataParser.java +520 -0
  73. package/src/grammar/.antlr/BlendMDP.interp +45 -0
  74. package/src/grammar/.antlr/BlendMDP.tokens +25 -0
  75. package/src/grammar/.antlr/BlendMDPLexer.interp +59 -0
  76. package/src/grammar/.antlr/BlendMDPLexer.java +178 -0
  77. package/src/grammar/.antlr/BlendMDPLexer.tokens +25 -0
  78. package/src/grammar/.antlr/BlendMDPParser.java +386 -0
  79. package/src/grammar/.antlr/BlendMongo.interp +65 -0
  80. package/src/grammar/.antlr/BlendMongo.tokens +41 -0
  81. package/src/grammar/.antlr/BlendMongoLexer.interp +83 -0
  82. package/src/grammar/.antlr/BlendMongoLexer.java +219 -0
  83. package/src/grammar/.antlr/BlendMongoLexer.tokens +41 -0
  84. package/src/grammar/.antlr/BlendMongoParser.java +669 -0
  85. package/src/grammar/.antlr/BlendRN.interp +53 -0
  86. package/src/grammar/.antlr/BlendRN.tokens +31 -0
  87. package/src/grammar/.antlr/BlendRNLexer.interp +71 -0
  88. package/src/grammar/.antlr/BlendRNLexer.java +202 -0
  89. package/src/grammar/.antlr/BlendRNLexer.tokens +31 -0
  90. package/src/grammar/.antlr/BlendRNParser.java +542 -0
  91. package/src/grammar/.antlr/BlendReact.interp +49 -0
  92. package/src/grammar/.antlr/BlendReact.tokens +28 -0
  93. package/src/grammar/.antlr/BlendReactLexer.interp +65 -0
  94. package/src/grammar/.antlr/BlendReactLexer.java +188 -0
  95. package/src/grammar/.antlr/BlendReactLexer.tokens +28 -0
  96. package/src/grammar/.antlr/BlendReactParser.java +530 -0
  97. package/src/grammar/BlendApi.g4 +26 -0
  98. package/src/grammar/BlendBasic.g4 +16 -0
  99. package/src/grammar/BlendData.g4 +24 -0
  100. package/src/grammar/BlendMDP.g4 +12 -0
  101. package/src/grammar/BlendMongo.g4 +24 -0
  102. package/src/grammar/BlendRN.g4 +18 -0
  103. package/src/grammar/BlendReact.g4 +16 -0
  104. package/src/helper/BasicHelper.ts +35 -0
  105. package/src/helper/CommonHelper.ts +5 -0
  106. package/src/helper/DataHelper.ts +268 -0
  107. package/src/helper/ExpressHelper.ts +807 -0
  108. package/src/helper/FrontEndApiHelper.ts +526 -0
  109. package/src/helper/FrontEndReactApiHelper.ts +532 -0
  110. package/src/helper/MongoHelper.ts +165 -0
  111. package/src/helper/RNHelper.ts +651 -0
  112. package/src/helper/ReactHelper.ts +597 -0
  113. package/src/helper/SectionHelper.ts +154 -0
  114. package/src/helper/fileHelper.ts +111 -0
  115. package/src/helper/grammarHelper/BlendApiGrammarHelper.ts +45 -0
  116. package/src/helper/grammarHelper/BlendBasicGrammarHelper.ts +101 -0
  117. package/src/helper/grammarHelper/BlendDataGrammarHelper.ts +49 -0
  118. package/src/helper/grammarHelper/BlendMDPGrammarHelper.ts +33 -0
  119. package/src/helper/grammarHelper/BlendMongoGrammarHelper.ts +50 -0
  120. package/src/helper/grammarHelper/BlendRNGrammarHelper.ts +65 -0
  121. package/src/helper/grammarHelper/BlendReactGrammarHelper.ts +65 -0
  122. package/src/helper/grammarHelper/GrammarErrorHelper.ts +13 -0
  123. package/src/index.ts +168 -0
  124. package/src/parser/blendApi/src/grammar/BlendApi.interp +70 -0
  125. package/src/parser/blendApi/src/grammar/BlendApi.tokens +44 -0
  126. package/src/parser/blendApi/src/grammar/BlendApiLexer.interp +89 -0
  127. package/src/parser/blendApi/src/grammar/BlendApiLexer.tokens +44 -0
  128. package/src/parser/blendApi/src/grammar/BlendApiLexer.ts +193 -0
  129. package/src/parser/blendApi/src/grammar/BlendApiListener.ts +145 -0
  130. package/src/parser/blendApi/src/grammar/BlendApiParser.ts +968 -0
  131. package/src/parser/blendData/src/grammar/BlendData.interp +50 -0
  132. package/src/parser/blendData/src/grammar/BlendData.tokens +29 -0
  133. package/src/parser/blendData/src/grammar/BlendDataLexer.interp +65 -0
  134. package/src/parser/blendData/src/grammar/BlendDataLexer.tokens +29 -0
  135. package/src/parser/blendData/src/grammar/BlendDataLexer.ts +146 -0
  136. package/src/parser/blendData/src/grammar/BlendDataListener.ts +97 -0
  137. package/src/parser/blendData/src/grammar/BlendDataParser.ts +641 -0
  138. package/src/parser/blendMDP/src/grammar/BlendMDP.interp +45 -0
  139. package/src/parser/blendMDP/src/grammar/BlendMDP.tokens +25 -0
  140. package/src/parser/blendMDP/src/grammar/BlendMDPLexer.interp +59 -0
  141. package/src/parser/blendMDP/src/grammar/BlendMDPLexer.tokens +25 -0
  142. package/src/parser/blendMDP/src/grammar/BlendMDPLexer.ts +143 -0
  143. package/src/parser/blendMDP/src/grammar/BlendMDPListener.ts +85 -0
  144. package/src/parser/blendMDP/src/grammar/BlendMDPParser.ts +483 -0
  145. package/src/parser/blendMongo/src/grammar/BlendMongo.interp +65 -0
  146. package/src/parser/blendMongo/src/grammar/BlendMongo.tokens +41 -0
  147. package/src/parser/blendMongo/src/grammar/BlendMongoLexer.interp +83 -0
  148. package/src/parser/blendMongo/src/grammar/BlendMongoLexer.tokens +41 -0
  149. package/src/parser/blendMongo/src/grammar/BlendMongoLexer.ts +179 -0
  150. package/src/parser/blendMongo/src/grammar/BlendMongoListener.ts +133 -0
  151. package/src/parser/blendMongo/src/grammar/BlendMongoParser.ts +849 -0
  152. package/src/parser/blendRN/src/grammar/BlendRN.interp +53 -0
  153. package/src/parser/blendRN/src/grammar/BlendRN.tokens +31 -0
  154. package/src/parser/blendRN/src/grammar/BlendRNLexer.interp +71 -0
  155. package/src/parser/blendRN/src/grammar/BlendRNLexer.tokens +31 -0
  156. package/src/parser/blendRN/src/grammar/BlendRNLexer.ts +164 -0
  157. package/src/parser/blendRN/src/grammar/BlendRNListener.ts +85 -0
  158. package/src/parser/blendRN/src/grammar/BlendRNParser.ts +659 -0
  159. package/src/parser/blendReact/src/grammar/BlendReact.interp +49 -0
  160. package/src/parser/blendReact/src/grammar/BlendReact.tokens +28 -0
  161. package/src/parser/blendReact/src/grammar/BlendReactLexer.interp +65 -0
  162. package/src/parser/blendReact/src/grammar/BlendReactLexer.tokens +28 -0
  163. package/src/parser/blendReact/src/grammar/BlendReactLexer.ts +151 -0
  164. package/src/parser/blendReact/src/grammar/BlendReactListener.ts +85 -0
  165. package/src/parser/blendReact/src/grammar/BlendReactParser.ts +646 -0
  166. package/src/parser/blendbasic/src/grammar/BlendBasic.interp +41 -0
  167. package/src/parser/blendbasic/src/grammar/BlendBasic.tokens +20 -0
  168. package/src/parser/blendbasic/src/grammar/BlendBasicLexer.interp +50 -0
  169. package/src/parser/blendbasic/src/grammar/BlendBasicLexer.tokens +20 -0
  170. package/src/parser/blendbasic/src/grammar/BlendBasicLexer.ts +139 -0
  171. package/src/parser/blendbasic/src/grammar/BlendBasicListener.ts +109 -0
  172. package/src/parser/blendbasic/src/grammar/BlendBasicParser.ts +747 -0
  173. package/src/types/apiOperationTypes.ts +43 -0
  174. package/src/types/basicOperationTypes.ts +15 -0
  175. package/src/types/dataOperationTypes.ts +20 -0
  176. package/src/types/frontendOperationTypes.ts +92 -0
  177. package/src/types/generalTypes.ts +0 -0
  178. package/src/types/mongoOperationTypes.ts +36 -0
  179. package/template/.env.dev +1 -0
  180. package/template/package.json +36 -0
  181. package/template/src/app.js +76 -0
  182. package/template/src/app.ts +54 -0
  183. package/template/src/config/app.config.js +0 -0
  184. package/template/src/config/app.config.ts +0 -0
  185. package/template/src/config/database.config.js +6 -0
  186. package/template/src/config/database.config.ts +4 -0
  187. package/template/src/data/interfaces.js +2 -0
  188. package/template/src/data/interfaces.ts +23 -0
  189. package/template/src/middlewares/auth.js +22 -0
  190. package/template/src/middlewares/auth.ts +21 -0
  191. package/template/src/models/Database.js +10 -0
  192. package/template/src/models/Database.ts +8 -0
  193. package/template/src/models/User/Permission.model.js +13 -0
  194. package/template/src/models/User/Permission.model.ts +14 -0
  195. package/template/src/models/User/Role.model.js +13 -0
  196. package/template/src/models/User/Role.model.ts +14 -0
  197. package/template/src/models/User/User.model.js +17 -0
  198. package/template/src/models/User/User.model.ts +18 -0
  199. package/template/src/routes/User.routes.js +47 -0
  200. package/template/src/routes/User.routes.ts +41 -0
  201. package/template/src/routes/common/common.routes.config.js +14 -0
  202. package/template/src/routes/common/common.routes.config.ts +15 -0
  203. package/template/src/services/User/User.service.js +75 -0
  204. package/template/src/services/User/User.service.ts +68 -0
  205. package/template/src/services/User/api.data.js +72 -0
  206. package/template/src/services/User/api.data.ts +79 -0
  207. package/template/src/services/User/api.interface.js +3 -0
  208. package/template/src/services/User/api.interface.ts +10 -0
  209. package/template/tsconfig.json +10 -0
  210. package/tsconfig.json +13 -0
@@ -0,0 +1,542 @@
1
+ // Generated from /Users/govindve/govi/Projects/NodeProjects/blend-cli/src/grammar/BlendRN.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 BlendRNParser 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
+ T__9=10, T__10=11, T__11=12, T__12=13, LAYOUT_TYPE=14, PATH_IDENTIFIER=15,
21
+ IDENTIFIER=16, CAPITAL_IDENTIFIER=17, WS=18;
22
+ public static final int
23
+ RULE_program = 0, RULE_moduleDefinition = 1, RULE_screenDefenition = 2,
24
+ RULE_componentDefenition = 3, RULE_layoutDefinition = 4, RULE_pageDefinition = 5;
25
+ private static String[] makeRuleNames() {
26
+ return new String[] {
27
+ "program", "moduleDefinition", "screenDefenition", "componentDefenition",
28
+ "layoutDefinition", "pageDefinition"
29
+ };
30
+ }
31
+ public static final String[] ruleNames = makeRuleNames();
32
+
33
+ private static String[] makeLiteralNames() {
34
+ return new String[] {
35
+ null, "'module'", "'screen'", "','", "'under'", "'component'", "'layout'",
36
+ "'('", "')'", "'type'", "'{'", "'}'", "'page'", "'view'"
37
+ };
38
+ }
39
+ private static final String[] _LITERAL_NAMES = makeLiteralNames();
40
+ private static String[] makeSymbolicNames() {
41
+ return new String[] {
42
+ null, null, null, null, null, null, null, null, null, null, null, null,
43
+ null, null, "LAYOUT_TYPE", "PATH_IDENTIFIER", "IDENTIFIER", "CAPITAL_IDENTIFIER",
44
+ "WS"
45
+ };
46
+ }
47
+ private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames();
48
+ public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);
49
+
50
+ /**
51
+ * @deprecated Use {@link #VOCABULARY} instead.
52
+ */
53
+ @Deprecated
54
+ public static final String[] tokenNames;
55
+ static {
56
+ tokenNames = new String[_SYMBOLIC_NAMES.length];
57
+ for (int i = 0; i < tokenNames.length; i++) {
58
+ tokenNames[i] = VOCABULARY.getLiteralName(i);
59
+ if (tokenNames[i] == null) {
60
+ tokenNames[i] = VOCABULARY.getSymbolicName(i);
61
+ }
62
+
63
+ if (tokenNames[i] == null) {
64
+ tokenNames[i] = "<INVALID>";
65
+ }
66
+ }
67
+ }
68
+
69
+ @Override
70
+ @Deprecated
71
+ public String[] getTokenNames() {
72
+ return tokenNames;
73
+ }
74
+
75
+ @Override
76
+
77
+ public Vocabulary getVocabulary() {
78
+ return VOCABULARY;
79
+ }
80
+
81
+ @Override
82
+ public String getGrammarFileName() { return "BlendRN.g4"; }
83
+
84
+ @Override
85
+ public String[] getRuleNames() { return ruleNames; }
86
+
87
+ @Override
88
+ public String getSerializedATN() { return _serializedATN; }
89
+
90
+ @Override
91
+ public ATN getATN() { return _ATN; }
92
+
93
+ public BlendRNParser(TokenStream input) {
94
+ super(input);
95
+ _interp = new ParserATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
96
+ }
97
+
98
+ @SuppressWarnings("CheckReturnValue")
99
+ public static class ProgramContext extends ParserRuleContext {
100
+ public ModuleDefinitionContext moduleDefinition() {
101
+ return getRuleContext(ModuleDefinitionContext.class,0);
102
+ }
103
+ public List<ComponentDefenitionContext> componentDefenition() {
104
+ return getRuleContexts(ComponentDefenitionContext.class);
105
+ }
106
+ public ComponentDefenitionContext componentDefenition(int i) {
107
+ return getRuleContext(ComponentDefenitionContext.class,i);
108
+ }
109
+ public List<ScreenDefenitionContext> screenDefenition() {
110
+ return getRuleContexts(ScreenDefenitionContext.class);
111
+ }
112
+ public ScreenDefenitionContext screenDefenition(int i) {
113
+ return getRuleContext(ScreenDefenitionContext.class,i);
114
+ }
115
+ public List<LayoutDefinitionContext> layoutDefinition() {
116
+ return getRuleContexts(LayoutDefinitionContext.class);
117
+ }
118
+ public LayoutDefinitionContext layoutDefinition(int i) {
119
+ return getRuleContext(LayoutDefinitionContext.class,i);
120
+ }
121
+ public ProgramContext(ParserRuleContext parent, int invokingState) {
122
+ super(parent, invokingState);
123
+ }
124
+ @Override public int getRuleIndex() { return RULE_program; }
125
+ }
126
+
127
+ public final ProgramContext program() throws RecognitionException {
128
+ ProgramContext _localctx = new ProgramContext(_ctx, getState());
129
+ enterRule(_localctx, 0, RULE_program);
130
+ int _la;
131
+ try {
132
+ enterOuterAlt(_localctx, 1);
133
+ {
134
+ setState(12);
135
+ moduleDefinition();
136
+ setState(16);
137
+ _errHandler.sync(this);
138
+ _la = _input.LA(1);
139
+ while (_la==T__4) {
140
+ {
141
+ {
142
+ setState(13);
143
+ componentDefenition();
144
+ }
145
+ }
146
+ setState(18);
147
+ _errHandler.sync(this);
148
+ _la = _input.LA(1);
149
+ }
150
+ setState(22);
151
+ _errHandler.sync(this);
152
+ _la = _input.LA(1);
153
+ while (_la==T__1) {
154
+ {
155
+ {
156
+ setState(19);
157
+ screenDefenition();
158
+ }
159
+ }
160
+ setState(24);
161
+ _errHandler.sync(this);
162
+ _la = _input.LA(1);
163
+ }
164
+ setState(28);
165
+ _errHandler.sync(this);
166
+ _la = _input.LA(1);
167
+ while (_la==T__5) {
168
+ {
169
+ {
170
+ setState(25);
171
+ layoutDefinition();
172
+ }
173
+ }
174
+ setState(30);
175
+ _errHandler.sync(this);
176
+ _la = _input.LA(1);
177
+ }
178
+ }
179
+ }
180
+ catch (RecognitionException re) {
181
+ _localctx.exception = re;
182
+ _errHandler.reportError(this, re);
183
+ _errHandler.recover(this, re);
184
+ }
185
+ finally {
186
+ exitRule();
187
+ }
188
+ return _localctx;
189
+ }
190
+
191
+ @SuppressWarnings("CheckReturnValue")
192
+ public static class ModuleDefinitionContext extends ParserRuleContext {
193
+ public TerminalNode CAPITAL_IDENTIFIER() { return getToken(BlendRNParser.CAPITAL_IDENTIFIER, 0); }
194
+ public ModuleDefinitionContext(ParserRuleContext parent, int invokingState) {
195
+ super(parent, invokingState);
196
+ }
197
+ @Override public int getRuleIndex() { return RULE_moduleDefinition; }
198
+ }
199
+
200
+ public final ModuleDefinitionContext moduleDefinition() throws RecognitionException {
201
+ ModuleDefinitionContext _localctx = new ModuleDefinitionContext(_ctx, getState());
202
+ enterRule(_localctx, 2, RULE_moduleDefinition);
203
+ try {
204
+ enterOuterAlt(_localctx, 1);
205
+ {
206
+ setState(31);
207
+ match(T__0);
208
+ setState(32);
209
+ match(CAPITAL_IDENTIFIER);
210
+ }
211
+ }
212
+ catch (RecognitionException re) {
213
+ _localctx.exception = re;
214
+ _errHandler.reportError(this, re);
215
+ _errHandler.recover(this, re);
216
+ }
217
+ finally {
218
+ exitRule();
219
+ }
220
+ return _localctx;
221
+ }
222
+
223
+ @SuppressWarnings("CheckReturnValue")
224
+ public static class ScreenDefenitionContext extends ParserRuleContext {
225
+ public List<TerminalNode> CAPITAL_IDENTIFIER() { return getTokens(BlendRNParser.CAPITAL_IDENTIFIER); }
226
+ public TerminalNode CAPITAL_IDENTIFIER(int i) {
227
+ return getToken(BlendRNParser.CAPITAL_IDENTIFIER, i);
228
+ }
229
+ public TerminalNode PATH_IDENTIFIER() { return getToken(BlendRNParser.PATH_IDENTIFIER, 0); }
230
+ public ScreenDefenitionContext(ParserRuleContext parent, int invokingState) {
231
+ super(parent, invokingState);
232
+ }
233
+ @Override public int getRuleIndex() { return RULE_screenDefenition; }
234
+ }
235
+
236
+ public final ScreenDefenitionContext screenDefenition() throws RecognitionException {
237
+ ScreenDefenitionContext _localctx = new ScreenDefenitionContext(_ctx, getState());
238
+ enterRule(_localctx, 4, RULE_screenDefenition);
239
+ int _la;
240
+ try {
241
+ enterOuterAlt(_localctx, 1);
242
+ {
243
+ setState(34);
244
+ match(T__1);
245
+ setState(35);
246
+ match(CAPITAL_IDENTIFIER);
247
+ setState(40);
248
+ _errHandler.sync(this);
249
+ _la = _input.LA(1);
250
+ while (_la==T__2) {
251
+ {
252
+ {
253
+ setState(36);
254
+ match(T__2);
255
+ setState(37);
256
+ match(CAPITAL_IDENTIFIER);
257
+ }
258
+ }
259
+ setState(42);
260
+ _errHandler.sync(this);
261
+ _la = _input.LA(1);
262
+ }
263
+ setState(43);
264
+ match(T__3);
265
+ setState(44);
266
+ match(PATH_IDENTIFIER);
267
+ }
268
+ }
269
+ catch (RecognitionException re) {
270
+ _localctx.exception = re;
271
+ _errHandler.reportError(this, re);
272
+ _errHandler.recover(this, re);
273
+ }
274
+ finally {
275
+ exitRule();
276
+ }
277
+ return _localctx;
278
+ }
279
+
280
+ @SuppressWarnings("CheckReturnValue")
281
+ public static class ComponentDefenitionContext extends ParserRuleContext {
282
+ public List<TerminalNode> CAPITAL_IDENTIFIER() { return getTokens(BlendRNParser.CAPITAL_IDENTIFIER); }
283
+ public TerminalNode CAPITAL_IDENTIFIER(int i) {
284
+ return getToken(BlendRNParser.CAPITAL_IDENTIFIER, i);
285
+ }
286
+ public TerminalNode PATH_IDENTIFIER() { return getToken(BlendRNParser.PATH_IDENTIFIER, 0); }
287
+ public ComponentDefenitionContext(ParserRuleContext parent, int invokingState) {
288
+ super(parent, invokingState);
289
+ }
290
+ @Override public int getRuleIndex() { return RULE_componentDefenition; }
291
+ }
292
+
293
+ public final ComponentDefenitionContext componentDefenition() throws RecognitionException {
294
+ ComponentDefenitionContext _localctx = new ComponentDefenitionContext(_ctx, getState());
295
+ enterRule(_localctx, 6, RULE_componentDefenition);
296
+ int _la;
297
+ try {
298
+ enterOuterAlt(_localctx, 1);
299
+ {
300
+ setState(46);
301
+ match(T__4);
302
+ setState(47);
303
+ match(CAPITAL_IDENTIFIER);
304
+ setState(52);
305
+ _errHandler.sync(this);
306
+ _la = _input.LA(1);
307
+ while (_la==T__2) {
308
+ {
309
+ {
310
+ setState(48);
311
+ match(T__2);
312
+ setState(49);
313
+ match(CAPITAL_IDENTIFIER);
314
+ }
315
+ }
316
+ setState(54);
317
+ _errHandler.sync(this);
318
+ _la = _input.LA(1);
319
+ }
320
+ setState(55);
321
+ match(T__3);
322
+ setState(56);
323
+ match(PATH_IDENTIFIER);
324
+ }
325
+ }
326
+ catch (RecognitionException re) {
327
+ _localctx.exception = re;
328
+ _errHandler.reportError(this, re);
329
+ _errHandler.recover(this, re);
330
+ }
331
+ finally {
332
+ exitRule();
333
+ }
334
+ return _localctx;
335
+ }
336
+
337
+ @SuppressWarnings("CheckReturnValue")
338
+ public static class LayoutDefinitionContext extends ParserRuleContext {
339
+ public TerminalNode CAPITAL_IDENTIFIER() { return getToken(BlendRNParser.CAPITAL_IDENTIFIER, 0); }
340
+ public TerminalNode PATH_IDENTIFIER() { return getToken(BlendRNParser.PATH_IDENTIFIER, 0); }
341
+ public TerminalNode LAYOUT_TYPE() { return getToken(BlendRNParser.LAYOUT_TYPE, 0); }
342
+ public List<PageDefinitionContext> pageDefinition() {
343
+ return getRuleContexts(PageDefinitionContext.class);
344
+ }
345
+ public PageDefinitionContext pageDefinition(int i) {
346
+ return getRuleContext(PageDefinitionContext.class,i);
347
+ }
348
+ public List<LayoutDefinitionContext> layoutDefinition() {
349
+ return getRuleContexts(LayoutDefinitionContext.class);
350
+ }
351
+ public LayoutDefinitionContext layoutDefinition(int i) {
352
+ return getRuleContext(LayoutDefinitionContext.class,i);
353
+ }
354
+ public LayoutDefinitionContext(ParserRuleContext parent, int invokingState) {
355
+ super(parent, invokingState);
356
+ }
357
+ @Override public int getRuleIndex() { return RULE_layoutDefinition; }
358
+ }
359
+
360
+ public final LayoutDefinitionContext layoutDefinition() throws RecognitionException {
361
+ LayoutDefinitionContext _localctx = new LayoutDefinitionContext(_ctx, getState());
362
+ enterRule(_localctx, 8, RULE_layoutDefinition);
363
+ int _la;
364
+ try {
365
+ enterOuterAlt(_localctx, 1);
366
+ {
367
+ setState(58);
368
+ match(T__5);
369
+ setState(59);
370
+ match(CAPITAL_IDENTIFIER);
371
+ setState(60);
372
+ match(T__6);
373
+ setState(61);
374
+ match(PATH_IDENTIFIER);
375
+ setState(62);
376
+ match(T__7);
377
+ setState(63);
378
+ match(T__8);
379
+ setState(64);
380
+ match(T__6);
381
+ setState(65);
382
+ match(LAYOUT_TYPE);
383
+ setState(66);
384
+ match(T__7);
385
+ setState(67);
386
+ match(T__9);
387
+ setState(71);
388
+ _errHandler.sync(this);
389
+ _la = _input.LA(1);
390
+ while (_la==T__11) {
391
+ {
392
+ {
393
+ setState(68);
394
+ pageDefinition();
395
+ }
396
+ }
397
+ setState(73);
398
+ _errHandler.sync(this);
399
+ _la = _input.LA(1);
400
+ }
401
+ setState(77);
402
+ _errHandler.sync(this);
403
+ _la = _input.LA(1);
404
+ while (_la==T__5) {
405
+ {
406
+ {
407
+ setState(74);
408
+ layoutDefinition();
409
+ }
410
+ }
411
+ setState(79);
412
+ _errHandler.sync(this);
413
+ _la = _input.LA(1);
414
+ }
415
+ setState(80);
416
+ match(T__10);
417
+ }
418
+ }
419
+ catch (RecognitionException re) {
420
+ _localctx.exception = re;
421
+ _errHandler.reportError(this, re);
422
+ _errHandler.recover(this, re);
423
+ }
424
+ finally {
425
+ exitRule();
426
+ }
427
+ return _localctx;
428
+ }
429
+
430
+ @SuppressWarnings("CheckReturnValue")
431
+ public static class PageDefinitionContext extends ParserRuleContext {
432
+ public List<TerminalNode> CAPITAL_IDENTIFIER() { return getTokens(BlendRNParser.CAPITAL_IDENTIFIER); }
433
+ public TerminalNode CAPITAL_IDENTIFIER(int i) {
434
+ return getToken(BlendRNParser.CAPITAL_IDENTIFIER, i);
435
+ }
436
+ public TerminalNode PATH_IDENTIFIER() { return getToken(BlendRNParser.PATH_IDENTIFIER, 0); }
437
+ public PageDefinitionContext(ParserRuleContext parent, int invokingState) {
438
+ super(parent, invokingState);
439
+ }
440
+ @Override public int getRuleIndex() { return RULE_pageDefinition; }
441
+ }
442
+
443
+ public final PageDefinitionContext pageDefinition() throws RecognitionException {
444
+ PageDefinitionContext _localctx = new PageDefinitionContext(_ctx, getState());
445
+ enterRule(_localctx, 10, RULE_pageDefinition);
446
+ try {
447
+ enterOuterAlt(_localctx, 1);
448
+ {
449
+ setState(82);
450
+ match(T__11);
451
+ setState(83);
452
+ match(CAPITAL_IDENTIFIER);
453
+ setState(84);
454
+ match(T__6);
455
+ setState(85);
456
+ match(PATH_IDENTIFIER);
457
+ setState(86);
458
+ match(T__7);
459
+ setState(87);
460
+ match(T__12);
461
+ setState(88);
462
+ match(T__6);
463
+ setState(89);
464
+ match(CAPITAL_IDENTIFIER);
465
+ setState(90);
466
+ match(T__7);
467
+ }
468
+ }
469
+ catch (RecognitionException re) {
470
+ _localctx.exception = re;
471
+ _errHandler.reportError(this, re);
472
+ _errHandler.recover(this, re);
473
+ }
474
+ finally {
475
+ exitRule();
476
+ }
477
+ return _localctx;
478
+ }
479
+
480
+ public static final String _serializedATN =
481
+ "\u0004\u0001\u0012]\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001\u0002"+
482
+ "\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004\u0007\u0004\u0002"+
483
+ "\u0005\u0007\u0005\u0001\u0000\u0001\u0000\u0005\u0000\u000f\b\u0000\n"+
484
+ "\u0000\f\u0000\u0012\t\u0000\u0001\u0000\u0005\u0000\u0015\b\u0000\n\u0000"+
485
+ "\f\u0000\u0018\t\u0000\u0001\u0000\u0005\u0000\u001b\b\u0000\n\u0000\f"+
486
+ "\u0000\u001e\t\u0000\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0002\u0001"+
487
+ "\u0002\u0001\u0002\u0001\u0002\u0005\u0002\'\b\u0002\n\u0002\f\u0002*"+
488
+ "\t\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0003\u0001\u0003\u0001"+
489
+ "\u0003\u0001\u0003\u0005\u00033\b\u0003\n\u0003\f\u00036\t\u0003\u0001"+
490
+ "\u0003\u0001\u0003\u0001\u0003\u0001\u0004\u0001\u0004\u0001\u0004\u0001"+
491
+ "\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001\u0004\u0001"+
492
+ "\u0004\u0001\u0004\u0005\u0004F\b\u0004\n\u0004\f\u0004I\t\u0004\u0001"+
493
+ "\u0004\u0005\u0004L\b\u0004\n\u0004\f\u0004O\t\u0004\u0001\u0004\u0001"+
494
+ "\u0004\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001"+
495
+ "\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0000"+
496
+ "\u0000\u0006\u0000\u0002\u0004\u0006\b\n\u0000\u0000]\u0000\f\u0001\u0000"+
497
+ "\u0000\u0000\u0002\u001f\u0001\u0000\u0000\u0000\u0004\"\u0001\u0000\u0000"+
498
+ "\u0000\u0006.\u0001\u0000\u0000\u0000\b:\u0001\u0000\u0000\u0000\nR\u0001"+
499
+ "\u0000\u0000\u0000\f\u0010\u0003\u0002\u0001\u0000\r\u000f\u0003\u0006"+
500
+ "\u0003\u0000\u000e\r\u0001\u0000\u0000\u0000\u000f\u0012\u0001\u0000\u0000"+
501
+ "\u0000\u0010\u000e\u0001\u0000\u0000\u0000\u0010\u0011\u0001\u0000\u0000"+
502
+ "\u0000\u0011\u0016\u0001\u0000\u0000\u0000\u0012\u0010\u0001\u0000\u0000"+
503
+ "\u0000\u0013\u0015\u0003\u0004\u0002\u0000\u0014\u0013\u0001\u0000\u0000"+
504
+ "\u0000\u0015\u0018\u0001\u0000\u0000\u0000\u0016\u0014\u0001\u0000\u0000"+
505
+ "\u0000\u0016\u0017\u0001\u0000\u0000\u0000\u0017\u001c\u0001\u0000\u0000"+
506
+ "\u0000\u0018\u0016\u0001\u0000\u0000\u0000\u0019\u001b\u0003\b\u0004\u0000"+
507
+ "\u001a\u0019\u0001\u0000\u0000\u0000\u001b\u001e\u0001\u0000\u0000\u0000"+
508
+ "\u001c\u001a\u0001\u0000\u0000\u0000\u001c\u001d\u0001\u0000\u0000\u0000"+
509
+ "\u001d\u0001\u0001\u0000\u0000\u0000\u001e\u001c\u0001\u0000\u0000\u0000"+
510
+ "\u001f \u0005\u0001\u0000\u0000 !\u0005\u0011\u0000\u0000!\u0003\u0001"+
511
+ "\u0000\u0000\u0000\"#\u0005\u0002\u0000\u0000#(\u0005\u0011\u0000\u0000"+
512
+ "$%\u0005\u0003\u0000\u0000%\'\u0005\u0011\u0000\u0000&$\u0001\u0000\u0000"+
513
+ "\u0000\'*\u0001\u0000\u0000\u0000(&\u0001\u0000\u0000\u0000()\u0001\u0000"+
514
+ "\u0000\u0000)+\u0001\u0000\u0000\u0000*(\u0001\u0000\u0000\u0000+,\u0005"+
515
+ "\u0004\u0000\u0000,-\u0005\u000f\u0000\u0000-\u0005\u0001\u0000\u0000"+
516
+ "\u0000./\u0005\u0005\u0000\u0000/4\u0005\u0011\u0000\u000001\u0005\u0003"+
517
+ "\u0000\u000013\u0005\u0011\u0000\u000020\u0001\u0000\u0000\u000036\u0001"+
518
+ "\u0000\u0000\u000042\u0001\u0000\u0000\u000045\u0001\u0000\u0000\u0000"+
519
+ "57\u0001\u0000\u0000\u000064\u0001\u0000\u0000\u000078\u0005\u0004\u0000"+
520
+ "\u000089\u0005\u000f\u0000\u00009\u0007\u0001\u0000\u0000\u0000:;\u0005"+
521
+ "\u0006\u0000\u0000;<\u0005\u0011\u0000\u0000<=\u0005\u0007\u0000\u0000"+
522
+ "=>\u0005\u000f\u0000\u0000>?\u0005\b\u0000\u0000?@\u0005\t\u0000\u0000"+
523
+ "@A\u0005\u0007\u0000\u0000AB\u0005\u000e\u0000\u0000BC\u0005\b\u0000\u0000"+
524
+ "CG\u0005\n\u0000\u0000DF\u0003\n\u0005\u0000ED\u0001\u0000\u0000\u0000"+
525
+ "FI\u0001\u0000\u0000\u0000GE\u0001\u0000\u0000\u0000GH\u0001\u0000\u0000"+
526
+ "\u0000HM\u0001\u0000\u0000\u0000IG\u0001\u0000\u0000\u0000JL\u0003\b\u0004"+
527
+ "\u0000KJ\u0001\u0000\u0000\u0000LO\u0001\u0000\u0000\u0000MK\u0001\u0000"+
528
+ "\u0000\u0000MN\u0001\u0000\u0000\u0000NP\u0001\u0000\u0000\u0000OM\u0001"+
529
+ "\u0000\u0000\u0000PQ\u0005\u000b\u0000\u0000Q\t\u0001\u0000\u0000\u0000"+
530
+ "RS\u0005\f\u0000\u0000ST\u0005\u0011\u0000\u0000TU\u0005\u0007\u0000\u0000"+
531
+ "UV\u0005\u000f\u0000\u0000VW\u0005\b\u0000\u0000WX\u0005\r\u0000\u0000"+
532
+ "XY\u0005\u0007\u0000\u0000YZ\u0005\u0011\u0000\u0000Z[\u0005\b\u0000\u0000"+
533
+ "[\u000b\u0001\u0000\u0000\u0000\u0007\u0010\u0016\u001c(4GM";
534
+ public static final ATN _ATN =
535
+ new ATNDeserializer().deserialize(_serializedATN.toCharArray());
536
+ static {
537
+ _decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
538
+ for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) {
539
+ _decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
540
+ }
541
+ }
542
+ }
@@ -0,0 +1,49 @@
1
+ token literal names:
2
+ null
3
+ 'module'
4
+ 'screen'
5
+ ','
6
+ 'under'
7
+ 'component'
8
+ 'layout'
9
+ '('
10
+ ')'
11
+ '{'
12
+ '}'
13
+ 'page'
14
+ 'view'
15
+ null
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
+ PATH_IDENTIFIER
35
+ IDENTIFIER
36
+ CAPITAL_IDENTIFIER
37
+ WS
38
+
39
+ rule names:
40
+ program
41
+ moduleDefinition
42
+ screenDefenition
43
+ componentDefenition
44
+ layoutDefinition
45
+ pageDefinition
46
+
47
+
48
+ atn:
49
+ [4, 1, 16, 89, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 1, 0, 1, 0, 5, 0, 15, 8, 0, 10, 0, 12, 0, 18, 9, 0, 1, 0, 5, 0, 21, 8, 0, 10, 0, 12, 0, 24, 9, 0, 1, 0, 5, 0, 27, 8, 0, 10, 0, 12, 0, 30, 9, 0, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 5, 2, 39, 8, 2, 10, 2, 12, 2, 42, 9, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 3, 1, 3, 1, 3, 5, 3, 51, 8, 3, 10, 3, 12, 3, 54, 9, 3, 1, 3, 1, 3, 1, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 5, 4, 66, 8, 4, 10, 4, 12, 4, 69, 9, 4, 1, 4, 5, 4, 72, 8, 4, 10, 4, 12, 4, 75, 9, 4, 1, 4, 1, 4, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 0, 0, 6, 0, 2, 4, 6, 8, 10, 0, 0, 89, 0, 12, 1, 0, 0, 0, 2, 31, 1, 0, 0, 0, 4, 34, 1, 0, 0, 0, 6, 46, 1, 0, 0, 0, 8, 58, 1, 0, 0, 0, 10, 78, 1, 0, 0, 0, 12, 16, 3, 2, 1, 0, 13, 15, 3, 6, 3, 0, 14, 13, 1, 0, 0, 0, 15, 18, 1, 0, 0, 0, 16, 14, 1, 0, 0, 0, 16, 17, 1, 0, 0, 0, 17, 22, 1, 0, 0, 0, 18, 16, 1, 0, 0, 0, 19, 21, 3, 4, 2, 0, 20, 19, 1, 0, 0, 0, 21, 24, 1, 0, 0, 0, 22, 20, 1, 0, 0, 0, 22, 23, 1, 0, 0, 0, 23, 28, 1, 0, 0, 0, 24, 22, 1, 0, 0, 0, 25, 27, 3, 8, 4, 0, 26, 25, 1, 0, 0, 0, 27, 30, 1, 0, 0, 0, 28, 26, 1, 0, 0, 0, 28, 29, 1, 0, 0, 0, 29, 1, 1, 0, 0, 0, 30, 28, 1, 0, 0, 0, 31, 32, 5, 1, 0, 0, 32, 33, 5, 15, 0, 0, 33, 3, 1, 0, 0, 0, 34, 35, 5, 2, 0, 0, 35, 40, 5, 15, 0, 0, 36, 37, 5, 3, 0, 0, 37, 39, 5, 15, 0, 0, 38, 36, 1, 0, 0, 0, 39, 42, 1, 0, 0, 0, 40, 38, 1, 0, 0, 0, 40, 41, 1, 0, 0, 0, 41, 43, 1, 0, 0, 0, 42, 40, 1, 0, 0, 0, 43, 44, 5, 4, 0, 0, 44, 45, 5, 13, 0, 0, 45, 5, 1, 0, 0, 0, 46, 47, 5, 5, 0, 0, 47, 52, 5, 15, 0, 0, 48, 49, 5, 3, 0, 0, 49, 51, 5, 15, 0, 0, 50, 48, 1, 0, 0, 0, 51, 54, 1, 0, 0, 0, 52, 50, 1, 0, 0, 0, 52, 53, 1, 0, 0, 0, 53, 55, 1, 0, 0, 0, 54, 52, 1, 0, 0, 0, 55, 56, 5, 4, 0, 0, 56, 57, 5, 13, 0, 0, 57, 7, 1, 0, 0, 0, 58, 59, 5, 6, 0, 0, 59, 60, 5, 15, 0, 0, 60, 61, 5, 7, 0, 0, 61, 62, 5, 13, 0, 0, 62, 63, 5, 8, 0, 0, 63, 67, 5, 9, 0, 0, 64, 66, 3, 10, 5, 0, 65, 64, 1, 0, 0, 0, 66, 69, 1, 0, 0, 0, 67, 65, 1, 0, 0, 0, 67, 68, 1, 0, 0, 0, 68, 73, 1, 0, 0, 0, 69, 67, 1, 0, 0, 0, 70, 72, 3, 8, 4, 0, 71, 70, 1, 0, 0, 0, 72, 75, 1, 0, 0, 0, 73, 71, 1, 0, 0, 0, 73, 74, 1, 0, 0, 0, 74, 76, 1, 0, 0, 0, 75, 73, 1, 0, 0, 0, 76, 77, 5, 10, 0, 0, 77, 9, 1, 0, 0, 0, 78, 79, 5, 11, 0, 0, 79, 80, 5, 15, 0, 0, 80, 81, 5, 7, 0, 0, 81, 82, 5, 13, 0, 0, 82, 83, 5, 8, 0, 0, 83, 84, 5, 12, 0, 0, 84, 85, 5, 7, 0, 0, 85, 86, 5, 15, 0, 0, 86, 87, 5, 8, 0, 0, 87, 11, 1, 0, 0, 0, 7, 16, 22, 28, 40, 52, 67, 73]
@@ -0,0 +1,28 @@
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
+ PATH_IDENTIFIER=13
14
+ IDENTIFIER=14
15
+ CAPITAL_IDENTIFIER=15
16
+ WS=16
17
+ 'module'=1
18
+ 'screen'=2
19
+ ','=3
20
+ 'under'=4
21
+ 'component'=5
22
+ 'layout'=6
23
+ '('=7
24
+ ')'=8
25
+ '{'=9
26
+ '}'=10
27
+ 'page'=11
28
+ 'view'=12
@@ -0,0 +1,65 @@
1
+ token literal names:
2
+ null
3
+ 'module'
4
+ 'screen'
5
+ ','
6
+ 'under'
7
+ 'component'
8
+ 'layout'
9
+ '('
10
+ ')'
11
+ '{'
12
+ '}'
13
+ 'page'
14
+ 'view'
15
+ null
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
+ PATH_IDENTIFIER
35
+ IDENTIFIER
36
+ CAPITAL_IDENTIFIER
37
+ WS
38
+
39
+ rule names:
40
+ T__0
41
+ T__1
42
+ T__2
43
+ T__3
44
+ T__4
45
+ T__5
46
+ T__6
47
+ T__7
48
+ T__8
49
+ T__9
50
+ T__10
51
+ T__11
52
+ PATH_IDENTIFIER
53
+ IDENTIFIER
54
+ CAPITAL_IDENTIFIER
55
+ WS
56
+
57
+ channel names:
58
+ DEFAULT_TOKEN_CHANNEL
59
+ HIDDEN
60
+
61
+ mode names:
62
+ DEFAULT_MODE
63
+
64
+ atn:
65
+ [4, 0, 16, 120, 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, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 3, 1, 3, 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, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 8, 1, 8, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 5, 12, 93, 8, 12, 10, 12, 12, 12, 96, 9, 12, 1, 12, 1, 12, 1, 13, 1, 13, 5, 13, 102, 8, 13, 10, 13, 12, 13, 105, 9, 13, 1, 14, 1, 14, 5, 14, 109, 8, 14, 10, 14, 12, 14, 112, 9, 14, 1, 15, 4, 15, 115, 8, 15, 11, 15, 12, 15, 116, 1, 15, 1, 15, 0, 0, 16, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21, 11, 23, 12, 25, 13, 27, 14, 29, 15, 31, 16, 1, 0, 5, 4, 0, 47, 57, 65, 90, 95, 95, 97, 122, 2, 0, 95, 95, 97, 122, 4, 0, 48, 57, 65, 90, 95, 95, 97, 122, 1, 0, 65, 90, 3, 0, 9, 10, 13, 13, 32, 32, 123, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 7, 1, 0, 0, 0, 0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 1, 33, 1, 0, 0, 0, 3, 40, 1, 0, 0, 0, 5, 47, 1, 0, 0, 0, 7, 49, 1, 0, 0, 0, 9, 55, 1, 0, 0, 0, 11, 65, 1, 0, 0, 0, 13, 72, 1, 0, 0, 0, 15, 74, 1, 0, 0, 0, 17, 76, 1, 0, 0, 0, 19, 78, 1, 0, 0, 0, 21, 80, 1, 0, 0, 0, 23, 85, 1, 0, 0, 0, 25, 90, 1, 0, 0, 0, 27, 99, 1, 0, 0, 0, 29, 106, 1, 0, 0, 0, 31, 114, 1, 0, 0, 0, 33, 34, 5, 109, 0, 0, 34, 35, 5, 111, 0, 0, 35, 36, 5, 100, 0, 0, 36, 37, 5, 117, 0, 0, 37, 38, 5, 108, 0, 0, 38, 39, 5, 101, 0, 0, 39, 2, 1, 0, 0, 0, 40, 41, 5, 115, 0, 0, 41, 42, 5, 99, 0, 0, 42, 43, 5, 114, 0, 0, 43, 44, 5, 101, 0, 0, 44, 45, 5, 101, 0, 0, 45, 46, 5, 110, 0, 0, 46, 4, 1, 0, 0, 0, 47, 48, 5, 44, 0, 0, 48, 6, 1, 0, 0, 0, 49, 50, 5, 117, 0, 0, 50, 51, 5, 110, 0, 0, 51, 52, 5, 100, 0, 0, 52, 53, 5, 101, 0, 0, 53, 54, 5, 114, 0, 0, 54, 8, 1, 0, 0, 0, 55, 56, 5, 99, 0, 0, 56, 57, 5, 111, 0, 0, 57, 58, 5, 109, 0, 0, 58, 59, 5, 112, 0, 0, 59, 60, 5, 111, 0, 0, 60, 61, 5, 110, 0, 0, 61, 62, 5, 101, 0, 0, 62, 63, 5, 110, 0, 0, 63, 64, 5, 116, 0, 0, 64, 10, 1, 0, 0, 0, 65, 66, 5, 108, 0, 0, 66, 67, 5, 97, 0, 0, 67, 68, 5, 121, 0, 0, 68, 69, 5, 111, 0, 0, 69, 70, 5, 117, 0, 0, 70, 71, 5, 116, 0, 0, 71, 12, 1, 0, 0, 0, 72, 73, 5, 40, 0, 0, 73, 14, 1, 0, 0, 0, 74, 75, 5, 41, 0, 0, 75, 16, 1, 0, 0, 0, 76, 77, 5, 123, 0, 0, 77, 18, 1, 0, 0, 0, 78, 79, 5, 125, 0, 0, 79, 20, 1, 0, 0, 0, 80, 81, 5, 112, 0, 0, 81, 82, 5, 97, 0, 0, 82, 83, 5, 103, 0, 0, 83, 84, 5, 101, 0, 0, 84, 22, 1, 0, 0, 0, 85, 86, 5, 118, 0, 0, 86, 87, 5, 105, 0, 0, 87, 88, 5, 101, 0, 0, 88, 89, 5, 119, 0, 0, 89, 24, 1, 0, 0, 0, 90, 94, 5, 34, 0, 0, 91, 93, 7, 0, 0, 0, 92, 91, 1, 0, 0, 0, 93, 96, 1, 0, 0, 0, 94, 92, 1, 0, 0, 0, 94, 95, 1, 0, 0, 0, 95, 97, 1, 0, 0, 0, 96, 94, 1, 0, 0, 0, 97, 98, 5, 34, 0, 0, 98, 26, 1, 0, 0, 0, 99, 103, 7, 1, 0, 0, 100, 102, 7, 2, 0, 0, 101, 100, 1, 0, 0, 0, 102, 105, 1, 0, 0, 0, 103, 101, 1, 0, 0, 0, 103, 104, 1, 0, 0, 0, 104, 28, 1, 0, 0, 0, 105, 103, 1, 0, 0, 0, 106, 110, 7, 3, 0, 0, 107, 109, 7, 2, 0, 0, 108, 107, 1, 0, 0, 0, 109, 112, 1, 0, 0, 0, 110, 108, 1, 0, 0, 0, 110, 111, 1, 0, 0, 0, 111, 30, 1, 0, 0, 0, 112, 110, 1, 0, 0, 0, 113, 115, 7, 4, 0, 0, 114, 113, 1, 0, 0, 0, 115, 116, 1, 0, 0, 0, 116, 114, 1, 0, 0, 0, 116, 117, 1, 0, 0, 0, 117, 118, 1, 0, 0, 0, 118, 119, 6, 15, 0, 0, 119, 32, 1, 0, 0, 0, 5, 0, 94, 103, 110, 116, 1, 6, 0, 0]