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,83 @@
1
+ token literal names:
2
+ null
3
+ 'module'
4
+ 'collection'
5
+ '{'
6
+ ','
7
+ '}'
8
+ 'property'
9
+ ':'
10
+ '('
11
+ ')'
12
+ 'reference'
13
+ 'unique'
14
+ 'index'
15
+ '[]'
16
+ '?'
17
+ 'String'
18
+ 'Number'
19
+ 'Boolean'
20
+ 'any'
21
+ 'Object'
22
+ null
23
+ null
24
+ null
25
+
26
+ token symbolic names:
27
+ null
28
+ null
29
+ null
30
+ null
31
+ null
32
+ null
33
+ null
34
+ null
35
+ null
36
+ null
37
+ null
38
+ null
39
+ null
40
+ null
41
+ null
42
+ null
43
+ null
44
+ null
45
+ null
46
+ null
47
+ IDENTIFIER
48
+ CAPITAL_IDENTIFIER
49
+ WS
50
+
51
+ rule names:
52
+ T__0
53
+ T__1
54
+ T__2
55
+ T__3
56
+ T__4
57
+ T__5
58
+ T__6
59
+ T__7
60
+ T__8
61
+ T__9
62
+ T__10
63
+ T__11
64
+ T__12
65
+ T__13
66
+ T__14
67
+ T__15
68
+ T__16
69
+ T__17
70
+ T__18
71
+ IDENTIFIER
72
+ CAPITAL_IDENTIFIER
73
+ WS
74
+
75
+ channel names:
76
+ DEFAULT_TOKEN_CHANNEL
77
+ HIDDEN
78
+
79
+ mode names:
80
+ DEFAULT_MODE
81
+
82
+ atn:
83
+ [4, 0, 22, 166, 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, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 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, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 3, 1, 3, 1, 4, 1, 4, 1, 5, 1, 5, 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, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 9, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 10, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 11, 1, 12, 1, 12, 1, 12, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 19, 1, 19, 5, 19, 148, 8, 19, 10, 19, 12, 19, 151, 9, 19, 1, 20, 1, 20, 5, 20, 155, 8, 20, 10, 20, 12, 20, 158, 9, 20, 1, 21, 4, 21, 161, 8, 21, 11, 21, 12, 21, 162, 1, 21, 1, 21, 0, 0, 22, 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, 33, 17, 35, 18, 37, 19, 39, 20, 41, 21, 43, 22, 1, 0, 4, 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, 168, 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, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 1, 45, 1, 0, 0, 0, 3, 52, 1, 0, 0, 0, 5, 63, 1, 0, 0, 0, 7, 65, 1, 0, 0, 0, 9, 67, 1, 0, 0, 0, 11, 69, 1, 0, 0, 0, 13, 78, 1, 0, 0, 0, 15, 80, 1, 0, 0, 0, 17, 82, 1, 0, 0, 0, 19, 84, 1, 0, 0, 0, 21, 94, 1, 0, 0, 0, 23, 101, 1, 0, 0, 0, 25, 107, 1, 0, 0, 0, 27, 110, 1, 0, 0, 0, 29, 112, 1, 0, 0, 0, 31, 119, 1, 0, 0, 0, 33, 126, 1, 0, 0, 0, 35, 134, 1, 0, 0, 0, 37, 138, 1, 0, 0, 0, 39, 145, 1, 0, 0, 0, 41, 152, 1, 0, 0, 0, 43, 160, 1, 0, 0, 0, 45, 46, 5, 109, 0, 0, 46, 47, 5, 111, 0, 0, 47, 48, 5, 100, 0, 0, 48, 49, 5, 117, 0, 0, 49, 50, 5, 108, 0, 0, 50, 51, 5, 101, 0, 0, 51, 2, 1, 0, 0, 0, 52, 53, 5, 99, 0, 0, 53, 54, 5, 111, 0, 0, 54, 55, 5, 108, 0, 0, 55, 56, 5, 108, 0, 0, 56, 57, 5, 101, 0, 0, 57, 58, 5, 99, 0, 0, 58, 59, 5, 116, 0, 0, 59, 60, 5, 105, 0, 0, 60, 61, 5, 111, 0, 0, 61, 62, 5, 110, 0, 0, 62, 4, 1, 0, 0, 0, 63, 64, 5, 123, 0, 0, 64, 6, 1, 0, 0, 0, 65, 66, 5, 44, 0, 0, 66, 8, 1, 0, 0, 0, 67, 68, 5, 125, 0, 0, 68, 10, 1, 0, 0, 0, 69, 70, 5, 112, 0, 0, 70, 71, 5, 114, 0, 0, 71, 72, 5, 111, 0, 0, 72, 73, 5, 112, 0, 0, 73, 74, 5, 101, 0, 0, 74, 75, 5, 114, 0, 0, 75, 76, 5, 116, 0, 0, 76, 77, 5, 121, 0, 0, 77, 12, 1, 0, 0, 0, 78, 79, 5, 58, 0, 0, 79, 14, 1, 0, 0, 0, 80, 81, 5, 40, 0, 0, 81, 16, 1, 0, 0, 0, 82, 83, 5, 41, 0, 0, 83, 18, 1, 0, 0, 0, 84, 85, 5, 114, 0, 0, 85, 86, 5, 101, 0, 0, 86, 87, 5, 102, 0, 0, 87, 88, 5, 101, 0, 0, 88, 89, 5, 114, 0, 0, 89, 90, 5, 101, 0, 0, 90, 91, 5, 110, 0, 0, 91, 92, 5, 99, 0, 0, 92, 93, 5, 101, 0, 0, 93, 20, 1, 0, 0, 0, 94, 95, 5, 117, 0, 0, 95, 96, 5, 110, 0, 0, 96, 97, 5, 105, 0, 0, 97, 98, 5, 113, 0, 0, 98, 99, 5, 117, 0, 0, 99, 100, 5, 101, 0, 0, 100, 22, 1, 0, 0, 0, 101, 102, 5, 105, 0, 0, 102, 103, 5, 110, 0, 0, 103, 104, 5, 100, 0, 0, 104, 105, 5, 101, 0, 0, 105, 106, 5, 120, 0, 0, 106, 24, 1, 0, 0, 0, 107, 108, 5, 91, 0, 0, 108, 109, 5, 93, 0, 0, 109, 26, 1, 0, 0, 0, 110, 111, 5, 63, 0, 0, 111, 28, 1, 0, 0, 0, 112, 113, 5, 83, 0, 0, 113, 114, 5, 116, 0, 0, 114, 115, 5, 114, 0, 0, 115, 116, 5, 105, 0, 0, 116, 117, 5, 110, 0, 0, 117, 118, 5, 103, 0, 0, 118, 30, 1, 0, 0, 0, 119, 120, 5, 78, 0, 0, 120, 121, 5, 117, 0, 0, 121, 122, 5, 109, 0, 0, 122, 123, 5, 98, 0, 0, 123, 124, 5, 101, 0, 0, 124, 125, 5, 114, 0, 0, 125, 32, 1, 0, 0, 0, 126, 127, 5, 66, 0, 0, 127, 128, 5, 111, 0, 0, 128, 129, 5, 111, 0, 0, 129, 130, 5, 108, 0, 0, 130, 131, 5, 101, 0, 0, 131, 132, 5, 97, 0, 0, 132, 133, 5, 110, 0, 0, 133, 34, 1, 0, 0, 0, 134, 135, 5, 97, 0, 0, 135, 136, 5, 110, 0, 0, 136, 137, 5, 121, 0, 0, 137, 36, 1, 0, 0, 0, 138, 139, 5, 79, 0, 0, 139, 140, 5, 98, 0, 0, 140, 141, 5, 106, 0, 0, 141, 142, 5, 101, 0, 0, 142, 143, 5, 99, 0, 0, 143, 144, 5, 116, 0, 0, 144, 38, 1, 0, 0, 0, 145, 149, 7, 0, 0, 0, 146, 148, 7, 1, 0, 0, 147, 146, 1, 0, 0, 0, 148, 151, 1, 0, 0, 0, 149, 147, 1, 0, 0, 0, 149, 150, 1, 0, 0, 0, 150, 40, 1, 0, 0, 0, 151, 149, 1, 0, 0, 0, 152, 156, 7, 2, 0, 0, 153, 155, 7, 1, 0, 0, 154, 153, 1, 0, 0, 0, 155, 158, 1, 0, 0, 0, 156, 154, 1, 0, 0, 0, 156, 157, 1, 0, 0, 0, 157, 42, 1, 0, 0, 0, 158, 156, 1, 0, 0, 0, 159, 161, 7, 3, 0, 0, 160, 159, 1, 0, 0, 0, 161, 162, 1, 0, 0, 0, 162, 160, 1, 0, 0, 0, 162, 163, 1, 0, 0, 0, 163, 164, 1, 0, 0, 0, 164, 165, 6, 21, 0, 0, 165, 44, 1, 0, 0, 0, 4, 0, 149, 156, 162, 1, 6, 0, 0]
@@ -0,0 +1,219 @@
1
+ // Generated from /Users/govindve/govi/Projects/NodeProjects/blend-cli/src/grammar/BlendMongo.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 BlendMongoLexer 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
+ T__9=10, T__10=11, T__11=12, T__12=13, T__13=14, T__14=15, T__15=16, T__16=17,
21
+ T__17=18, T__18=19, IDENTIFIER=20, CAPITAL_IDENTIFIER=21, WS=22;
22
+ public static String[] channelNames = {
23
+ "DEFAULT_TOKEN_CHANNEL", "HIDDEN"
24
+ };
25
+
26
+ public static String[] modeNames = {
27
+ "DEFAULT_MODE"
28
+ };
29
+
30
+ private static String[] makeRuleNames() {
31
+ return new String[] {
32
+ "T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6", "T__7", "T__8",
33
+ "T__9", "T__10", "T__11", "T__12", "T__13", "T__14", "T__15", "T__16",
34
+ "T__17", "T__18", "IDENTIFIER", "CAPITAL_IDENTIFIER", "WS"
35
+ };
36
+ }
37
+ public static final String[] ruleNames = makeRuleNames();
38
+
39
+ private static String[] makeLiteralNames() {
40
+ return new String[] {
41
+ null, "'module'", "'collection'", "'{'", "','", "'}'", "'property'",
42
+ "':'", "'('", "')'", "'reference'", "'unique'", "'index'", "'[]'", "'?'",
43
+ "'String'", "'Number'", "'Boolean'", "'any'", "'Object'"
44
+ };
45
+ }
46
+ private static final String[] _LITERAL_NAMES = makeLiteralNames();
47
+ private static String[] makeSymbolicNames() {
48
+ return new String[] {
49
+ null, null, null, null, null, null, null, null, null, null, null, null,
50
+ null, null, null, null, null, null, null, null, "IDENTIFIER", "CAPITAL_IDENTIFIER",
51
+ "WS"
52
+ };
53
+ }
54
+ private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames();
55
+ public static final Vocabulary VOCABULARY = new VocabularyImpl(_LITERAL_NAMES, _SYMBOLIC_NAMES);
56
+
57
+ /**
58
+ * @deprecated Use {@link #VOCABULARY} instead.
59
+ */
60
+ @Deprecated
61
+ public static final String[] tokenNames;
62
+ static {
63
+ tokenNames = new String[_SYMBOLIC_NAMES.length];
64
+ for (int i = 0; i < tokenNames.length; i++) {
65
+ tokenNames[i] = VOCABULARY.getLiteralName(i);
66
+ if (tokenNames[i] == null) {
67
+ tokenNames[i] = VOCABULARY.getSymbolicName(i);
68
+ }
69
+
70
+ if (tokenNames[i] == null) {
71
+ tokenNames[i] = "<INVALID>";
72
+ }
73
+ }
74
+ }
75
+
76
+ @Override
77
+ @Deprecated
78
+ public String[] getTokenNames() {
79
+ return tokenNames;
80
+ }
81
+
82
+ @Override
83
+
84
+ public Vocabulary getVocabulary() {
85
+ return VOCABULARY;
86
+ }
87
+
88
+
89
+ public BlendMongoLexer(CharStream input) {
90
+ super(input);
91
+ _interp = new LexerATNSimulator(this,_ATN,_decisionToDFA,_sharedContextCache);
92
+ }
93
+
94
+ @Override
95
+ public String getGrammarFileName() { return "BlendMongo.g4"; }
96
+
97
+ @Override
98
+ public String[] getRuleNames() { return ruleNames; }
99
+
100
+ @Override
101
+ public String getSerializedATN() { return _serializedATN; }
102
+
103
+ @Override
104
+ public String[] getChannelNames() { return channelNames; }
105
+
106
+ @Override
107
+ public String[] getModeNames() { return modeNames; }
108
+
109
+ @Override
110
+ public ATN getATN() { return _ATN; }
111
+
112
+ public static final String _serializedATN =
113
+ "\u0004\u0000\u0016\u00a6\u0006\uffff\uffff\u0002\u0000\u0007\u0000\u0002"+
114
+ "\u0001\u0007\u0001\u0002\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002"+
115
+ "\u0004\u0007\u0004\u0002\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002"+
116
+ "\u0007\u0007\u0007\u0002\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002"+
117
+ "\u000b\u0007\u000b\u0002\f\u0007\f\u0002\r\u0007\r\u0002\u000e\u0007\u000e"+
118
+ "\u0002\u000f\u0007\u000f\u0002\u0010\u0007\u0010\u0002\u0011\u0007\u0011"+
119
+ "\u0002\u0012\u0007\u0012\u0002\u0013\u0007\u0013\u0002\u0014\u0007\u0014"+
120
+ "\u0002\u0015\u0007\u0015\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000"+
121
+ "\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0001\u0001"+
122
+ "\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001\u0001"+
123
+ "\u0001\u0001\u0001\u0001\u0001\u0002\u0001\u0002\u0001\u0003\u0001\u0003"+
124
+ "\u0001\u0004\u0001\u0004\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005"+
125
+ "\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0005\u0001\u0006"+
126
+ "\u0001\u0006\u0001\u0007\u0001\u0007\u0001\b\u0001\b\u0001\t\u0001\t\u0001"+
127
+ "\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\t\u0001\n\u0001"+
128
+ "\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\n\u0001\u000b\u0001\u000b\u0001"+
129
+ "\u000b\u0001\u000b\u0001\u000b\u0001\u000b\u0001\f\u0001\f\u0001\f\u0001"+
130
+ "\r\u0001\r\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e"+
131
+ "\u0001\u000e\u0001\u000e\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f"+
132
+ "\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u0010\u0001\u0010\u0001\u0010"+
133
+ "\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0011"+
134
+ "\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0012\u0001\u0012\u0001\u0012"+
135
+ "\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0013\u0001\u0013"+
136
+ "\u0005\u0013\u0094\b\u0013\n\u0013\f\u0013\u0097\t\u0013\u0001\u0014\u0001"+
137
+ "\u0014\u0005\u0014\u009b\b\u0014\n\u0014\f\u0014\u009e\t\u0014\u0001\u0015"+
138
+ "\u0004\u0015\u00a1\b\u0015\u000b\u0015\f\u0015\u00a2\u0001\u0015\u0001"+
139
+ "\u0015\u0000\u0000\u0016\u0001\u0001\u0003\u0002\u0005\u0003\u0007\u0004"+
140
+ "\t\u0005\u000b\u0006\r\u0007\u000f\b\u0011\t\u0013\n\u0015\u000b\u0017"+
141
+ "\f\u0019\r\u001b\u000e\u001d\u000f\u001f\u0010!\u0011#\u0012%\u0013\'"+
142
+ "\u0014)\u0015+\u0016\u0001\u0000\u0004\u0002\u0000__az\u0004\u000009A"+
143
+ "Z__az\u0001\u0000AZ\u0003\u0000\t\n\r\r \u00a8\u0000\u0001\u0001\u0000"+
144
+ "\u0000\u0000\u0000\u0003\u0001\u0000\u0000\u0000\u0000\u0005\u0001\u0000"+
145
+ "\u0000\u0000\u0000\u0007\u0001\u0000\u0000\u0000\u0000\t\u0001\u0000\u0000"+
146
+ "\u0000\u0000\u000b\u0001\u0000\u0000\u0000\u0000\r\u0001\u0000\u0000\u0000"+
147
+ "\u0000\u000f\u0001\u0000\u0000\u0000\u0000\u0011\u0001\u0000\u0000\u0000"+
148
+ "\u0000\u0013\u0001\u0000\u0000\u0000\u0000\u0015\u0001\u0000\u0000\u0000"+
149
+ "\u0000\u0017\u0001\u0000\u0000\u0000\u0000\u0019\u0001\u0000\u0000\u0000"+
150
+ "\u0000\u001b\u0001\u0000\u0000\u0000\u0000\u001d\u0001\u0000\u0000\u0000"+
151
+ "\u0000\u001f\u0001\u0000\u0000\u0000\u0000!\u0001\u0000\u0000\u0000\u0000"+
152
+ "#\u0001\u0000\u0000\u0000\u0000%\u0001\u0000\u0000\u0000\u0000\'\u0001"+
153
+ "\u0000\u0000\u0000\u0000)\u0001\u0000\u0000\u0000\u0000+\u0001\u0000\u0000"+
154
+ "\u0000\u0001-\u0001\u0000\u0000\u0000\u00034\u0001\u0000\u0000\u0000\u0005"+
155
+ "?\u0001\u0000\u0000\u0000\u0007A\u0001\u0000\u0000\u0000\tC\u0001\u0000"+
156
+ "\u0000\u0000\u000bE\u0001\u0000\u0000\u0000\rN\u0001\u0000\u0000\u0000"+
157
+ "\u000fP\u0001\u0000\u0000\u0000\u0011R\u0001\u0000\u0000\u0000\u0013T"+
158
+ "\u0001\u0000\u0000\u0000\u0015^\u0001\u0000\u0000\u0000\u0017e\u0001\u0000"+
159
+ "\u0000\u0000\u0019k\u0001\u0000\u0000\u0000\u001bn\u0001\u0000\u0000\u0000"+
160
+ "\u001dp\u0001\u0000\u0000\u0000\u001fw\u0001\u0000\u0000\u0000!~\u0001"+
161
+ "\u0000\u0000\u0000#\u0086\u0001\u0000\u0000\u0000%\u008a\u0001\u0000\u0000"+
162
+ "\u0000\'\u0091\u0001\u0000\u0000\u0000)\u0098\u0001\u0000\u0000\u0000"+
163
+ "+\u00a0\u0001\u0000\u0000\u0000-.\u0005m\u0000\u0000./\u0005o\u0000\u0000"+
164
+ "/0\u0005d\u0000\u000001\u0005u\u0000\u000012\u0005l\u0000\u000023\u0005"+
165
+ "e\u0000\u00003\u0002\u0001\u0000\u0000\u000045\u0005c\u0000\u000056\u0005"+
166
+ "o\u0000\u000067\u0005l\u0000\u000078\u0005l\u0000\u000089\u0005e\u0000"+
167
+ "\u00009:\u0005c\u0000\u0000:;\u0005t\u0000\u0000;<\u0005i\u0000\u0000"+
168
+ "<=\u0005o\u0000\u0000=>\u0005n\u0000\u0000>\u0004\u0001\u0000\u0000\u0000"+
169
+ "?@\u0005{\u0000\u0000@\u0006\u0001\u0000\u0000\u0000AB\u0005,\u0000\u0000"+
170
+ "B\b\u0001\u0000\u0000\u0000CD\u0005}\u0000\u0000D\n\u0001\u0000\u0000"+
171
+ "\u0000EF\u0005p\u0000\u0000FG\u0005r\u0000\u0000GH\u0005o\u0000\u0000"+
172
+ "HI\u0005p\u0000\u0000IJ\u0005e\u0000\u0000JK\u0005r\u0000\u0000KL\u0005"+
173
+ "t\u0000\u0000LM\u0005y\u0000\u0000M\f\u0001\u0000\u0000\u0000NO\u0005"+
174
+ ":\u0000\u0000O\u000e\u0001\u0000\u0000\u0000PQ\u0005(\u0000\u0000Q\u0010"+
175
+ "\u0001\u0000\u0000\u0000RS\u0005)\u0000\u0000S\u0012\u0001\u0000\u0000"+
176
+ "\u0000TU\u0005r\u0000\u0000UV\u0005e\u0000\u0000VW\u0005f\u0000\u0000"+
177
+ "WX\u0005e\u0000\u0000XY\u0005r\u0000\u0000YZ\u0005e\u0000\u0000Z[\u0005"+
178
+ "n\u0000\u0000[\\\u0005c\u0000\u0000\\]\u0005e\u0000\u0000]\u0014\u0001"+
179
+ "\u0000\u0000\u0000^_\u0005u\u0000\u0000_`\u0005n\u0000\u0000`a\u0005i"+
180
+ "\u0000\u0000ab\u0005q\u0000\u0000bc\u0005u\u0000\u0000cd\u0005e\u0000"+
181
+ "\u0000d\u0016\u0001\u0000\u0000\u0000ef\u0005i\u0000\u0000fg\u0005n\u0000"+
182
+ "\u0000gh\u0005d\u0000\u0000hi\u0005e\u0000\u0000ij\u0005x\u0000\u0000"+
183
+ "j\u0018\u0001\u0000\u0000\u0000kl\u0005[\u0000\u0000lm\u0005]\u0000\u0000"+
184
+ "m\u001a\u0001\u0000\u0000\u0000no\u0005?\u0000\u0000o\u001c\u0001\u0000"+
185
+ "\u0000\u0000pq\u0005S\u0000\u0000qr\u0005t\u0000\u0000rs\u0005r\u0000"+
186
+ "\u0000st\u0005i\u0000\u0000tu\u0005n\u0000\u0000uv\u0005g\u0000\u0000"+
187
+ "v\u001e\u0001\u0000\u0000\u0000wx\u0005N\u0000\u0000xy\u0005u\u0000\u0000"+
188
+ "yz\u0005m\u0000\u0000z{\u0005b\u0000\u0000{|\u0005e\u0000\u0000|}\u0005"+
189
+ "r\u0000\u0000} \u0001\u0000\u0000\u0000~\u007f\u0005B\u0000\u0000\u007f"+
190
+ "\u0080\u0005o\u0000\u0000\u0080\u0081\u0005o\u0000\u0000\u0081\u0082\u0005"+
191
+ "l\u0000\u0000\u0082\u0083\u0005e\u0000\u0000\u0083\u0084\u0005a\u0000"+
192
+ "\u0000\u0084\u0085\u0005n\u0000\u0000\u0085\"\u0001\u0000\u0000\u0000"+
193
+ "\u0086\u0087\u0005a\u0000\u0000\u0087\u0088\u0005n\u0000\u0000\u0088\u0089"+
194
+ "\u0005y\u0000\u0000\u0089$\u0001\u0000\u0000\u0000\u008a\u008b\u0005O"+
195
+ "\u0000\u0000\u008b\u008c\u0005b\u0000\u0000\u008c\u008d\u0005j\u0000\u0000"+
196
+ "\u008d\u008e\u0005e\u0000\u0000\u008e\u008f\u0005c\u0000\u0000\u008f\u0090"+
197
+ "\u0005t\u0000\u0000\u0090&\u0001\u0000\u0000\u0000\u0091\u0095\u0007\u0000"+
198
+ "\u0000\u0000\u0092\u0094\u0007\u0001\u0000\u0000\u0093\u0092\u0001\u0000"+
199
+ "\u0000\u0000\u0094\u0097\u0001\u0000\u0000\u0000\u0095\u0093\u0001\u0000"+
200
+ "\u0000\u0000\u0095\u0096\u0001\u0000\u0000\u0000\u0096(\u0001\u0000\u0000"+
201
+ "\u0000\u0097\u0095\u0001\u0000\u0000\u0000\u0098\u009c\u0007\u0002\u0000"+
202
+ "\u0000\u0099\u009b\u0007\u0001\u0000\u0000\u009a\u0099\u0001\u0000\u0000"+
203
+ "\u0000\u009b\u009e\u0001\u0000\u0000\u0000\u009c\u009a\u0001\u0000\u0000"+
204
+ "\u0000\u009c\u009d\u0001\u0000\u0000\u0000\u009d*\u0001\u0000\u0000\u0000"+
205
+ "\u009e\u009c\u0001\u0000\u0000\u0000\u009f\u00a1\u0007\u0003\u0000\u0000"+
206
+ "\u00a0\u009f\u0001\u0000\u0000\u0000\u00a1\u00a2\u0001\u0000\u0000\u0000"+
207
+ "\u00a2\u00a0\u0001\u0000\u0000\u0000\u00a2\u00a3\u0001\u0000\u0000\u0000"+
208
+ "\u00a3\u00a4\u0001\u0000\u0000\u0000\u00a4\u00a5\u0006\u0015\u0000\u0000"+
209
+ "\u00a5,\u0001\u0000\u0000\u0000\u0004\u0000\u0095\u009c\u00a2\u0001\u0006"+
210
+ "\u0000\u0000";
211
+ public static final ATN _ATN =
212
+ new ATNDeserializer().deserialize(_serializedATN.toCharArray());
213
+ static {
214
+ _decisionToDFA = new DFA[_ATN.getNumberOfDecisions()];
215
+ for (int i = 0; i < _ATN.getNumberOfDecisions(); i++) {
216
+ _decisionToDFA[i] = new DFA(_ATN.getDecisionState(i), i);
217
+ }
218
+ }
219
+ }
@@ -0,0 +1,41 @@
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
+ T__13=14
15
+ T__14=15
16
+ T__15=16
17
+ T__16=17
18
+ T__17=18
19
+ T__18=19
20
+ IDENTIFIER=20
21
+ CAPITAL_IDENTIFIER=21
22
+ WS=22
23
+ 'module'=1
24
+ 'collection'=2
25
+ '{'=3
26
+ ','=4
27
+ '}'=5
28
+ 'property'=6
29
+ ':'=7
30
+ '('=8
31
+ ')'=9
32
+ 'reference'=10
33
+ 'unique'=11
34
+ 'index'=12
35
+ '[]'=13
36
+ '?'=14
37
+ 'String'=15
38
+ 'Number'=16
39
+ 'Boolean'=17
40
+ 'any'=18
41
+ 'Object'=19