blend-r 1.1.6 → 1.1.7
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 +69 -41
- package/dist/helper/DataHelper.js +0 -1
- package/dist/helper/FrontEndHelper.js +3 -8
- package/dist/helper/fileHelper.js +0 -2
- package/dist/helper/grammarHelper/BlendApiGrammarHelper.js +6 -7
- package/dist/helper/grammarHelper/BlendBasicGrammarHelper.js +1 -3
- package/dist/helper/grammarHelper/BlendDataGrammarHelper.js +2 -2
- package/dist/helper/grammarHelper/GrammarErrorHelper.js +0 -1
- package/dist/index.js +38 -27
- package/dist/parser/blendApi/src/grammar/BlendApiLexer.js +95 -90
- package/dist/parser/blendApi/src/grammar/BlendApiParser.js +220 -157
- package/dist/parser/blendApi/src/grammar/src/grammar/BlendApiLexer.js +212 -0
- package/dist/parser/blendApi/src/grammar/src/grammar/BlendApiListener.js +3 -0
- package/dist/parser/blendApi/src/grammar/src/grammar/BlendApiParser.js +1149 -0
- package/dist/parser/blendApi/src/grammar/src/grammar/BlendApiVisitor.js +3 -0
- package/dist/parser/blendRBasic/src/grammar/blendRBasicLexer.js +2 -2
- package/package.json +1 -1
|
@@ -89,11 +89,12 @@ BlendApiLexer.T__16 = 17;
|
|
|
89
89
|
BlendApiLexer.T__17 = 18;
|
|
90
90
|
BlendApiLexer.T__18 = 19;
|
|
91
91
|
BlendApiLexer.T__19 = 20;
|
|
92
|
-
BlendApiLexer.
|
|
93
|
-
BlendApiLexer.
|
|
94
|
-
BlendApiLexer.
|
|
95
|
-
BlendApiLexer.
|
|
96
|
-
BlendApiLexer.
|
|
92
|
+
BlendApiLexer.T__20 = 21;
|
|
93
|
+
BlendApiLexer.HTTP_METHOD = 22;
|
|
94
|
+
BlendApiLexer.IDENTIFIER = 23;
|
|
95
|
+
BlendApiLexer.CAPITAL_IDENTIFIER = 24;
|
|
96
|
+
BlendApiLexer.URL_IDENTIFIER = 25;
|
|
97
|
+
BlendApiLexer.WS = 26;
|
|
97
98
|
// tslint:disable:no-trailing-whitespace
|
|
98
99
|
BlendApiLexer.channelNames = [
|
|
99
100
|
"DEFAULT_TOKEN_CHANNEL", "HIDDEN",
|
|
@@ -105,103 +106,107 @@ BlendApiLexer.modeNames = [
|
|
|
105
106
|
BlendApiLexer.ruleNames = [
|
|
106
107
|
"T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6", "T__7", "T__8",
|
|
107
108
|
"T__9", "T__10", "T__11", "T__12", "T__13", "T__14", "T__15", "T__16",
|
|
108
|
-
"T__17", "T__18", "T__19", "HTTP_METHOD", "IDENTIFIER", "CAPITAL_IDENTIFIER",
|
|
109
|
+
"T__17", "T__18", "T__19", "T__20", "HTTP_METHOD", "IDENTIFIER", "CAPITAL_IDENTIFIER",
|
|
109
110
|
"URL_IDENTIFIER", "WS",
|
|
110
111
|
];
|
|
111
112
|
BlendApiLexer._LITERAL_NAMES = [
|
|
112
113
|
undefined, "'section'", "'{'", "'}'", "'module'", "'api'", "'('", "')'",
|
|
113
|
-
"'authenticated'", "'input('", "','", "'output('", "':'", "'[]'",
|
|
114
|
-
"'->'", "'string'", "'number'", "'boolean'", "'any'", "'object'",
|
|
114
|
+
"'authenticated'", "'store'", "'input('", "','", "'output('", "':'", "'[]'",
|
|
115
|
+
"'?'", "'->'", "'string'", "'number'", "'boolean'", "'any'", "'object'",
|
|
115
116
|
];
|
|
116
117
|
BlendApiLexer._SYMBOLIC_NAMES = [
|
|
117
118
|
undefined, undefined, undefined, undefined, undefined, undefined, undefined,
|
|
118
119
|
undefined, undefined, undefined, undefined, undefined, undefined, undefined,
|
|
119
120
|
undefined, undefined, undefined, undefined, undefined, undefined, undefined,
|
|
120
|
-
"HTTP_METHOD", "IDENTIFIER", "CAPITAL_IDENTIFIER", "URL_IDENTIFIER",
|
|
121
|
+
undefined, "HTTP_METHOD", "IDENTIFIER", "CAPITAL_IDENTIFIER", "URL_IDENTIFIER",
|
|
122
|
+
"WS",
|
|
121
123
|
];
|
|
122
124
|
BlendApiLexer.VOCABULARY = new VocabularyImpl_1.VocabularyImpl(BlendApiLexer._LITERAL_NAMES, BlendApiLexer._SYMBOLIC_NAMES, []);
|
|
123
|
-
BlendApiLexer._serializedATN = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x02\
|
|
125
|
+
BlendApiLexer._serializedATN = "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x02\x1C\xD1\b\x01" +
|
|
124
126
|
"\x04\x02\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06" +
|
|
125
127
|
"\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" +
|
|
126
128
|
"\t\r\x04\x0E\t\x0E\x04\x0F\t\x0F\x04\x10\t\x10\x04\x11\t\x11\x04\x12\t" +
|
|
127
129
|
"\x12\x04\x13\t\x13\x04\x14\t\x14\x04\x15\t\x15\x04\x16\t\x16\x04\x17\t" +
|
|
128
|
-
"\x17\x04\x18\t\x18\x04\x19\t\x19\x04\x1A\t\x1A\
|
|
129
|
-
"\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x03\x03\x03\x03\
|
|
130
|
-
"\x03\
|
|
131
|
-
"\x03\x06\x03\x06\x03\
|
|
132
|
-
"\t\x03\t\x03\t\x03\t\x03\t\x03\t\x03\t\x03\t\x03\t\x03\t\x03\
|
|
133
|
-
"\n\x03\n\x03\n\x03\n\x03\n\x03\
|
|
134
|
-
"\
|
|
135
|
-
"\
|
|
136
|
-
"\
|
|
137
|
-
"\
|
|
138
|
-
"\x14\x03\x14\x03\
|
|
139
|
-
"\
|
|
140
|
-
"\
|
|
141
|
-
"\x03\x17\x03\x17\
|
|
142
|
-
"\x18\
|
|
143
|
-
"\
|
|
144
|
-
"\
|
|
145
|
-
"\
|
|
146
|
-
"\v\
|
|
147
|
-
"
|
|
148
|
-
"\
|
|
149
|
-
"
|
|
150
|
-
"\x02\
|
|
151
|
-
"\x02\x02\x02\
|
|
152
|
-
"\x02\x02\
|
|
153
|
-
"\x02\x02\
|
|
154
|
-
"\x02\x02\
|
|
155
|
-
"\x02\x02
|
|
156
|
-
"
|
|
157
|
-
"\x02\x02\
|
|
158
|
-
"\
|
|
159
|
-
"\x02\
|
|
160
|
-
"\
|
|
161
|
-
"\x02\
|
|
162
|
-
"\
|
|
163
|
-
"\x03\x02\x02\x02
|
|
164
|
-
"\
|
|
165
|
-
"
|
|
166
|
-
"\
|
|
167
|
-
"
|
|
168
|
-
"\
|
|
169
|
-
"
|
|
170
|
-
"\
|
|
171
|
-
"\
|
|
172
|
-
"
|
|
173
|
-
"\
|
|
174
|
-
"
|
|
175
|
-
"\
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"\
|
|
183
|
-
"\
|
|
184
|
-
"\x02\
|
|
185
|
-
"\
|
|
186
|
-
"
|
|
187
|
-
"\
|
|
188
|
-
"\x07q\x02\x02\
|
|
189
|
-
"\x02\
|
|
190
|
-
"\
|
|
191
|
-
"
|
|
192
|
-
"\
|
|
193
|
-
"\
|
|
194
|
-
"\x02\
|
|
195
|
-
"\
|
|
196
|
-
"\
|
|
197
|
-
"\
|
|
198
|
-
"\
|
|
199
|
-
"\
|
|
200
|
-
"\x03\x02\x02\
|
|
201
|
-
"\x03\x02\x02\x02\xB9\
|
|
202
|
-
"\
|
|
203
|
-
"\x03\x02\x02\x02\xBE\
|
|
204
|
-
"\
|
|
205
|
-
"\x02\x02\
|
|
206
|
-
"\x02\x02\xC6\
|
|
207
|
-
"\x02\
|
|
130
|
+
"\x17\x04\x18\t\x18\x04\x19\t\x19\x04\x1A\t\x1A\x04\x1B\t\x1B\x03\x02\x03" +
|
|
131
|
+
"\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x03\x03\x03\x03" +
|
|
132
|
+
"\x04\x03\x04\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05\x03" +
|
|
133
|
+
"\x06\x03\x06\x03\x06\x03\x06\x03\x07\x03\x07\x03\b\x03\b\x03\t\x03\t\x03" +
|
|
134
|
+
"\t\x03\t\x03\t\x03\t\x03\t\x03\t\x03\t\x03\t\x03\t\x03\t\x03\t\x03\t\x03" +
|
|
135
|
+
"\n\x03\n\x03\n\x03\n\x03\n\x03\n\x03\v\x03\v\x03\v\x03\v\x03\v\x03\v\x03" +
|
|
136
|
+
"\v\x03\f\x03\f\x03\r\x03\r\x03\r\x03\r\x03\r\x03\r\x03\r\x03\r\x03\x0E" +
|
|
137
|
+
"\x03\x0E\x03\x0F\x03\x0F\x03\x0F\x03\x10\x03\x10\x03\x11\x03\x11\x03\x11" +
|
|
138
|
+
"\x03\x12\x03\x12\x03\x12\x03\x12\x03\x12\x03\x12\x03\x12\x03\x13\x03\x13" +
|
|
139
|
+
"\x03\x13\x03\x13\x03\x13\x03\x13\x03\x13\x03\x14\x03\x14\x03\x14\x03\x14" +
|
|
140
|
+
"\x03\x14\x03\x14\x03\x14\x03\x14\x03\x15\x03\x15\x03\x15\x03\x15\x03\x16" +
|
|
141
|
+
"\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x17\x03\x17\x03\x17" +
|
|
142
|
+
"\x03\x17\x03\x17\x03\x17\x03\x17\x03\x17\x03\x17\x03\x17\x03\x17\x03\x17" +
|
|
143
|
+
"\x03\x17\x03\x17\x03\x17\x03\x17\x05\x17\xB3\n\x17\x03\x18\x03\x18\x07" +
|
|
144
|
+
"\x18\xB7\n\x18\f\x18\x0E\x18\xBA\v\x18\x03\x19\x03\x19\x07\x19\xBE\n\x19" +
|
|
145
|
+
"\f\x19\x0E\x19\xC1\v\x19\x03\x1A\x03\x1A\x06\x1A\xC5\n\x1A\r\x1A\x0E\x1A" +
|
|
146
|
+
"\xC6\x03\x1A\x03\x1A\x03\x1B\x06\x1B\xCC\n\x1B\r\x1B\x0E\x1B\xCD\x03\x1B" +
|
|
147
|
+
"\x03\x1B\x02\x02\x02\x1C\x03\x02\x03\x05\x02\x04\x07\x02\x05\t\x02\x06" +
|
|
148
|
+
"\v\x02\x07\r\x02\b\x0F\x02\t\x11\x02\n\x13\x02\v\x15\x02\f\x17\x02\r\x19" +
|
|
149
|
+
"\x02\x0E\x1B\x02\x0F\x1D\x02\x10\x1F\x02\x11!\x02\x12#\x02\x13%\x02\x14" +
|
|
150
|
+
"\'\x02\x15)\x02\x16+\x02\x17-\x02\x18/\x02\x191\x02\x1A3\x02\x1B5\x02" +
|
|
151
|
+
"\x1C\x03\x02\x07\x04\x02aac|\x06\x022;C\\aac|\x03\x02C\\\x07\x02//1;C" +
|
|
152
|
+
"\\aac|\x05\x02\v\f\x0F\x0F\"\"\x02\xD7\x02\x03\x03\x02\x02\x02\x02\x05" +
|
|
153
|
+
"\x03\x02\x02\x02\x02\x07\x03\x02\x02\x02\x02\t\x03\x02\x02\x02\x02\v\x03" +
|
|
154
|
+
"\x02\x02\x02\x02\r\x03\x02\x02\x02\x02\x0F\x03\x02\x02\x02\x02\x11\x03" +
|
|
155
|
+
"\x02\x02\x02\x02\x13\x03\x02\x02\x02\x02\x15\x03\x02\x02\x02\x02\x17\x03" +
|
|
156
|
+
"\x02\x02\x02\x02\x19\x03\x02\x02\x02\x02\x1B\x03\x02\x02\x02\x02\x1D\x03" +
|
|
157
|
+
"\x02\x02\x02\x02\x1F\x03\x02\x02\x02\x02!\x03\x02\x02\x02\x02#\x03\x02" +
|
|
158
|
+
"\x02\x02\x02%\x03\x02\x02\x02\x02\'\x03\x02\x02\x02\x02)\x03\x02\x02\x02" +
|
|
159
|
+
"\x02+\x03\x02\x02\x02\x02-\x03\x02\x02\x02\x02/\x03\x02\x02\x02\x021\x03" +
|
|
160
|
+
"\x02\x02\x02\x023\x03\x02\x02\x02\x025\x03\x02\x02\x02\x037\x03\x02\x02" +
|
|
161
|
+
"\x02\x05?\x03\x02\x02\x02\x07A\x03\x02\x02\x02\tC\x03\x02\x02\x02\vJ\x03" +
|
|
162
|
+
"\x02\x02\x02\rN\x03\x02\x02\x02\x0FP\x03\x02\x02\x02\x11R\x03\x02\x02" +
|
|
163
|
+
"\x02\x13`\x03\x02\x02\x02\x15f\x03\x02\x02\x02\x17m\x03\x02\x02\x02\x19" +
|
|
164
|
+
"o\x03\x02\x02\x02\x1Bw\x03\x02\x02\x02\x1Dy\x03\x02\x02\x02\x1F|\x03\x02" +
|
|
165
|
+
"\x02\x02!~\x03\x02\x02\x02#\x81\x03\x02\x02\x02%\x88\x03\x02\x02\x02\'" +
|
|
166
|
+
"\x8F\x03\x02\x02\x02)\x97\x03\x02\x02\x02+\x9B\x03\x02\x02\x02-\xB2\x03" +
|
|
167
|
+
"\x02\x02\x02/\xB4\x03\x02\x02\x021\xBB\x03\x02\x02\x023\xC2\x03\x02\x02" +
|
|
168
|
+
"\x025\xCB\x03\x02\x02\x0278\x07u\x02\x0289\x07g\x02\x029:\x07e\x02\x02" +
|
|
169
|
+
":;\x07v\x02\x02;<\x07k\x02\x02<=\x07q\x02\x02=>\x07p\x02\x02>\x04\x03" +
|
|
170
|
+
"\x02\x02\x02?@\x07}\x02\x02@\x06\x03\x02\x02\x02AB\x07\x7F\x02\x02B\b" +
|
|
171
|
+
"\x03\x02\x02\x02CD\x07o\x02\x02DE\x07q\x02\x02EF\x07f\x02\x02FG\x07w\x02" +
|
|
172
|
+
"\x02GH\x07n\x02\x02HI\x07g\x02\x02I\n\x03\x02\x02\x02JK\x07c\x02\x02K" +
|
|
173
|
+
"L\x07r\x02\x02LM\x07k\x02\x02M\f\x03\x02\x02\x02NO\x07*\x02\x02O\x0E\x03" +
|
|
174
|
+
"\x02\x02\x02PQ\x07+\x02\x02Q\x10\x03\x02\x02\x02RS\x07c\x02\x02ST\x07" +
|
|
175
|
+
"w\x02\x02TU\x07v\x02\x02UV\x07j\x02\x02VW\x07g\x02\x02WX\x07p\x02\x02" +
|
|
176
|
+
"XY\x07v\x02\x02YZ\x07k\x02\x02Z[\x07e\x02\x02[\\\x07c\x02\x02\\]\x07v" +
|
|
177
|
+
"\x02\x02]^\x07g\x02\x02^_\x07f\x02\x02_\x12\x03\x02\x02\x02`a\x07u\x02" +
|
|
178
|
+
"\x02ab\x07v\x02\x02bc\x07q\x02\x02cd\x07t\x02\x02de\x07g\x02\x02e\x14" +
|
|
179
|
+
"\x03\x02\x02\x02fg\x07k\x02\x02gh\x07p\x02\x02hi\x07r\x02\x02ij\x07w\x02" +
|
|
180
|
+
"\x02jk\x07v\x02\x02kl\x07*\x02\x02l\x16\x03\x02\x02\x02mn\x07.\x02\x02" +
|
|
181
|
+
"n\x18\x03\x02\x02\x02op\x07q\x02\x02pq\x07w\x02\x02qr\x07v\x02\x02rs\x07" +
|
|
182
|
+
"r\x02\x02st\x07w\x02\x02tu\x07v\x02\x02uv\x07*\x02\x02v\x1A\x03\x02\x02" +
|
|
183
|
+
"\x02wx\x07<\x02\x02x\x1C\x03\x02\x02\x02yz\x07]\x02\x02z{\x07_\x02\x02" +
|
|
184
|
+
"{\x1E\x03\x02\x02\x02|}\x07A\x02\x02} \x03\x02\x02\x02~\x7F\x07/\x02\x02" +
|
|
185
|
+
"\x7F\x80\x07@\x02\x02\x80\"\x03\x02\x02\x02\x81\x82\x07u\x02\x02\x82\x83" +
|
|
186
|
+
"\x07v\x02\x02\x83\x84\x07t\x02\x02\x84\x85\x07k\x02\x02\x85\x86\x07p\x02" +
|
|
187
|
+
"\x02\x86\x87\x07i\x02\x02\x87$\x03\x02\x02\x02\x88\x89\x07p\x02\x02\x89" +
|
|
188
|
+
"\x8A\x07w\x02\x02\x8A\x8B\x07o\x02\x02\x8B\x8C\x07d\x02\x02\x8C\x8D\x07" +
|
|
189
|
+
"g\x02\x02\x8D\x8E\x07t\x02\x02\x8E&\x03\x02\x02\x02\x8F\x90\x07d\x02\x02" +
|
|
190
|
+
"\x90\x91\x07q\x02\x02\x91\x92\x07q\x02\x02\x92\x93\x07n\x02\x02\x93\x94" +
|
|
191
|
+
"\x07g\x02\x02\x94\x95\x07c\x02\x02\x95\x96\x07p\x02\x02\x96(\x03\x02\x02" +
|
|
192
|
+
"\x02\x97\x98\x07c\x02\x02\x98\x99\x07p\x02\x02\x99\x9A\x07{\x02\x02\x9A" +
|
|
193
|
+
"*\x03\x02\x02\x02\x9B\x9C\x07q\x02\x02\x9C\x9D\x07d\x02\x02\x9D\x9E\x07" +
|
|
194
|
+
"l\x02\x02\x9E\x9F\x07g\x02\x02\x9F\xA0\x07e\x02\x02\xA0\xA1\x07v\x02\x02" +
|
|
195
|
+
"\xA1,\x03\x02\x02\x02\xA2\xA3\x07I\x02\x02\xA3\xA4\x07G\x02\x02\xA4\xB3" +
|
|
196
|
+
"\x07V\x02\x02\xA5\xA6\x07R\x02\x02\xA6\xA7\x07Q\x02\x02\xA7\xA8\x07U\x02" +
|
|
197
|
+
"\x02\xA8\xB3\x07V\x02\x02\xA9\xAA\x07F\x02\x02\xAA\xAB\x07G\x02\x02\xAB" +
|
|
198
|
+
"\xAC\x07N\x02\x02\xAC\xAD\x07G\x02\x02\xAD\xAE\x07V\x02\x02\xAE\xB3\x07" +
|
|
199
|
+
"G\x02\x02\xAF\xB0\x07R\x02\x02\xB0\xB1\x07W\x02\x02\xB1\xB3\x07V\x02\x02" +
|
|
200
|
+
"\xB2\xA2\x03\x02\x02\x02\xB2\xA5\x03\x02\x02\x02\xB2\xA9\x03\x02\x02\x02" +
|
|
201
|
+
"\xB2\xAF\x03\x02\x02\x02\xB3.\x03\x02\x02\x02\xB4\xB8\t\x02\x02\x02\xB5" +
|
|
202
|
+
"\xB7\t\x03\x02\x02\xB6\xB5\x03\x02\x02\x02\xB7\xBA\x03\x02\x02\x02\xB8" +
|
|
203
|
+
"\xB6\x03\x02\x02\x02\xB8\xB9\x03\x02\x02\x02\xB90\x03\x02\x02\x02\xBA" +
|
|
204
|
+
"\xB8\x03\x02\x02\x02\xBB\xBF\t\x04\x02\x02\xBC\xBE\t\x03\x02\x02\xBD\xBC" +
|
|
205
|
+
"\x03\x02\x02\x02\xBE\xC1\x03\x02\x02\x02\xBF\xBD\x03\x02\x02\x02\xBF\xC0" +
|
|
206
|
+
"\x03\x02\x02\x02\xC02\x03\x02\x02\x02\xC1\xBF\x03\x02\x02\x02\xC2\xC4" +
|
|
207
|
+
"\x07$\x02\x02\xC3\xC5\t\x05\x02\x02\xC4\xC3\x03\x02\x02\x02\xC5\xC6\x03" +
|
|
208
|
+
"\x02\x02\x02\xC6\xC4\x03\x02\x02\x02\xC6\xC7\x03\x02\x02\x02\xC7\xC8\x03" +
|
|
209
|
+
"\x02\x02\x02\xC8\xC9\x07$\x02\x02\xC94\x03\x02\x02\x02\xCA\xCC\t\x06\x02" +
|
|
210
|
+
"\x02\xCB\xCA\x03\x02\x02\x02\xCC\xCD\x03\x02\x02\x02\xCD\xCB\x03\x02\x02" +
|
|
211
|
+
"\x02\xCD\xCE\x03\x02\x02\x02\xCE\xCF\x03\x02\x02\x02\xCF\xD0\b\x1B\x02" +
|
|
212
|
+
"\x02\xD06\x03\x02\x02\x02\b\x02\xB2\xB8\xBF\xC6\xCD\x03\b\x02\x02";
|