@designliquido/delegua 0.38.4 → 0.39.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/analisador-semantico/analisador-semantico-base.d.ts +4 -2
- package/analisador-semantico/analisador-semantico-base.d.ts.map +1 -1
- package/analisador-semantico/analisador-semantico-base.js +7 -1
- package/analisador-semantico/analisador-semantico-base.js.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico-base.d.ts.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico-base.js +2 -4
- package/avaliador-sintatico/avaliador-sintatico-base.js.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico.d.ts +7 -1
- package/avaliador-sintatico/avaliador-sintatico.d.ts.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico.js +250 -95
- package/avaliador-sintatico/avaliador-sintatico.js.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js +2 -2
- package/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.js +2 -2
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.js.map +1 -1
- package/avaliador-sintatico/micro-avaliador-sintatico.js +2 -2
- package/avaliador-sintatico/micro-avaliador-sintatico.js.map +1 -1
- package/bibliotecas/primitivas-dicionario.d.ts +2 -3
- package/bibliotecas/primitivas-dicionario.d.ts.map +1 -1
- package/bibliotecas/primitivas-dicionario.js +10 -4
- package/bibliotecas/primitivas-dicionario.js.map +1 -1
- package/bibliotecas/primitivas-numero.d.ts +2 -3
- package/bibliotecas/primitivas-numero.d.ts.map +1 -1
- package/bibliotecas/primitivas-numero.js +10 -4
- package/bibliotecas/primitivas-numero.js.map +1 -1
- package/bibliotecas/primitivas-texto.d.ts +2 -14
- package/bibliotecas/primitivas-texto.d.ts.map +1 -1
- package/bibliotecas/primitivas-texto.js +56 -17
- package/bibliotecas/primitivas-texto.js.map +1 -1
- package/bibliotecas/primitivas-vetor.d.ts +2 -22
- package/bibliotecas/primitivas-vetor.d.ts.map +1 -1
- package/bibliotecas/primitivas-vetor.js +115 -67
- package/bibliotecas/primitivas-vetor.js.map +1 -1
- package/bin/package.json +1 -1
- package/construtos/acesso-metodo-ou-propriedade.d.ts +3 -1
- package/construtos/acesso-metodo-ou-propriedade.d.ts.map +1 -1
- package/construtos/acesso-metodo-ou-propriedade.js +4 -2
- package/construtos/acesso-metodo-ou-propriedade.js.map +1 -1
- package/construtos/acesso-metodo.d.ts +12 -0
- package/construtos/acesso-metodo.d.ts.map +1 -0
- package/construtos/acesso-metodo.js +18 -0
- package/construtos/acesso-metodo.js.map +1 -0
- package/construtos/acesso-propriedade.d.ts +12 -0
- package/construtos/acesso-propriedade.d.ts.map +1 -0
- package/construtos/acesso-propriedade.js +17 -0
- package/construtos/acesso-propriedade.js.map +1 -0
- package/construtos/chamada.d.ts +1 -2
- package/construtos/chamada.d.ts.map +1 -1
- package/construtos/chamada.js +1 -2
- package/construtos/chamada.js.map +1 -1
- package/construtos/componente-linguagem.d.ts +15 -0
- package/construtos/componente-linguagem.d.ts.map +1 -0
- package/construtos/componente-linguagem.js +19 -0
- package/construtos/componente-linguagem.js.map +1 -0
- package/construtos/dicionario.d.ts +1 -0
- package/construtos/dicionario.d.ts.map +1 -1
- package/construtos/dicionario.js +1 -0
- package/construtos/dicionario.js.map +1 -1
- package/construtos/index.d.ts +4 -1
- package/construtos/index.d.ts.map +1 -1
- package/construtos/index.js +4 -1
- package/construtos/index.js.map +1 -1
- package/construtos/tipo-de.d.ts +6 -2
- package/construtos/tipo-de.d.ts.map +1 -1
- package/construtos/tipo-de.js +4 -0
- package/construtos/tipo-de.js.map +1 -1
- package/estruturas/objeto-delegua-classe.d.ts +2 -0
- package/estruturas/objeto-delegua-classe.d.ts.map +1 -1
- package/estruturas/objeto-delegua-classe.js +12 -0
- package/estruturas/objeto-delegua-classe.js.map +1 -1
- package/formatadores/formatador-delegua.d.ts +4 -2
- package/formatadores/formatador-delegua.d.ts.map +1 -1
- package/formatadores/formatador-delegua.js +12 -2
- package/formatadores/formatador-delegua.js.map +1 -1
- package/interfaces/index.d.ts +1 -0
- package/interfaces/index.d.ts.map +1 -1
- package/interfaces/index.js +1 -0
- package/interfaces/index.js.map +1 -1
- package/interfaces/primitiva-interface.d.ts +5 -0
- package/interfaces/primitiva-interface.d.ts.map +1 -0
- package/interfaces/primitiva-interface.js +3 -0
- package/interfaces/primitiva-interface.js.map +1 -0
- package/interfaces/visitante-comum-interface.d.ts +4 -2
- package/interfaces/visitante-comum-interface.d.ts.map +1 -1
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.d.ts +4 -2
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.d.ts.map +1 -1
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.js +7 -1
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.js.map +1 -1
- package/interpretador/dialetos/egua-classico/resolvedor/resolvedor.d.ts +4 -2
- package/interpretador/dialetos/egua-classico/resolvedor/resolvedor.d.ts.map +1 -1
- package/interpretador/dialetos/egua-classico/resolvedor/resolvedor.js +7 -1
- package/interpretador/dialetos/egua-classico/resolvedor/resolvedor.js.map +1 -1
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.d.ts +4 -2
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.d.ts.map +1 -1
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.js +7 -1
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.js.map +1 -1
- package/interpretador/index.d.ts +1 -0
- package/interpretador/index.d.ts.map +1 -1
- package/interpretador/index.js +1 -0
- package/interpretador/index.js.map +1 -1
- package/interpretador/interpretador-base.d.ts +4 -2
- package/interpretador/interpretador-base.d.ts.map +1 -1
- package/interpretador/interpretador-base.js +35 -26
- package/interpretador/interpretador-base.js.map +1 -1
- package/interpretador/interpretador.d.ts +11 -0
- package/interpretador/interpretador.d.ts.map +1 -0
- package/interpretador/interpretador.js +208 -0
- package/interpretador/interpretador.js.map +1 -0
- package/lexador/micro-lexador.d.ts.map +1 -1
- package/lexador/micro-lexador.js +4 -0
- package/lexador/micro-lexador.js.map +1 -1
- package/package.json +1 -1
- package/tradutores/tradutor-javascript.d.ts +8 -2
- package/tradutores/tradutor-javascript.d.ts.map +1 -1
- package/tradutores/tradutor-javascript.js +40 -3
- package/tradutores/tradutor-javascript.js.map +1 -1
- package/tradutores/tradutor-python.d.ts +5 -1
- package/tradutores/tradutor-python.d.ts.map +1 -1
- package/tradutores/tradutor-python.js +37 -2
- package/tradutores/tradutor-python.js.map +1 -1
- package/umd/delegua.js +1254 -614
package/umd/delegua.js
CHANGED
|
@@ -22,8 +22,6 @@ class AvaliadorSintaticoBase {
|
|
|
22
22
|
}
|
|
23
23
|
erro(simbolo, mensagemDeErro) {
|
|
24
24
|
const excecao = new erro_avaliador_sintatico_1.ErroAvaliadorSintatico(simbolo, mensagemDeErro);
|
|
25
|
-
// TODO: Estudar remover.
|
|
26
|
-
// this.erros.push(excecao);
|
|
27
25
|
return excecao;
|
|
28
26
|
}
|
|
29
27
|
simboloAnterior() {
|
|
@@ -73,8 +71,8 @@ class AvaliadorSintaticoBase {
|
|
|
73
71
|
argumentos.push(this.expressao());
|
|
74
72
|
} while (this.verificarSeSimboloAtualEIgualA(comum_1.default.VIRGULA));
|
|
75
73
|
}
|
|
76
|
-
|
|
77
|
-
return new construtos_1.Chamada(this.hashArquivo, entidadeChamada,
|
|
74
|
+
this.consumir(comum_1.default.PARENTESE_DIREITO, "Esperado ')' após os argumentos.");
|
|
75
|
+
return new construtos_1.Chamada(this.hashArquivo, entidadeChamada, argumentos);
|
|
78
76
|
}
|
|
79
77
|
unario() {
|
|
80
78
|
if (this.verificarSeSimboloAtualEIgualA(comum_1.default.NEGACAO, comum_1.default.SUBTRACAO)) {
|
|
@@ -233,7 +231,7 @@ class AvaliadorSintaticoBase {
|
|
|
233
231
|
}
|
|
234
232
|
exports.AvaliadorSintaticoBase = AvaliadorSintaticoBase;
|
|
235
233
|
|
|
236
|
-
},{"../construtos":
|
|
234
|
+
},{"../construtos":44,"../declaracoes":82,"../tipos-de-simbolos/comum":163,"./erro-avaliador-sintatico":7}],2:[function(require,module,exports){
|
|
237
235
|
"use strict";
|
|
238
236
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
239
237
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -241,8 +239,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
241
239
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
242
240
|
exports.AvaliadorSintatico = void 0;
|
|
243
241
|
const browser_process_hrtime_1 = __importDefault(require("browser-process-hrtime"));
|
|
244
|
-
const delegua_1 = __importDefault(require("../tipos-de-dados/delegua"));
|
|
245
|
-
const delegua_2 = __importDefault(require("../tipos-de-simbolos/delegua"));
|
|
246
242
|
const construtos_1 = require("../construtos");
|
|
247
243
|
const erro_avaliador_sintatico_1 = require("./erro-avaliador-sintatico");
|
|
248
244
|
const tuplas_1 = require("../construtos/tuplas");
|
|
@@ -252,6 +248,12 @@ const avaliador_sintatico_base_1 = require("./avaliador-sintatico-base");
|
|
|
252
248
|
const inferenciador_1 = require("../inferenciador");
|
|
253
249
|
const pilha_escopos_1 = require("./pilha-escopos");
|
|
254
250
|
const informacao_escopo_1 = require("./informacao-escopo");
|
|
251
|
+
const delegua_1 = __importDefault(require("../tipos-de-dados/delegua"));
|
|
252
|
+
const delegua_2 = __importDefault(require("../tipos-de-simbolos/delegua"));
|
|
253
|
+
const primitivas_dicionario_1 = __importDefault(require("../bibliotecas/primitivas-dicionario"));
|
|
254
|
+
const primitivas_numero_1 = __importDefault(require("../bibliotecas/primitivas-numero"));
|
|
255
|
+
const primitivas_texto_1 = __importDefault(require("../bibliotecas/primitivas-texto"));
|
|
256
|
+
const primitivas_vetor_1 = __importDefault(require("../bibliotecas/primitivas-vetor"));
|
|
255
257
|
/**
|
|
256
258
|
* O avaliador sintático (_Parser_) é responsável por transformar os símbolos do Lexador em estruturas de alto nível.
|
|
257
259
|
* Essas estruturas de alto nível são as partes que executam lógica de programação de fato.
|
|
@@ -297,28 +299,72 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
297
299
|
}
|
|
298
300
|
return tipoElementarResolvido;
|
|
299
301
|
}
|
|
302
|
+
obterChaveDicionario() {
|
|
303
|
+
switch (this.simbolos[this.atual].tipo) {
|
|
304
|
+
case delegua_2.default.NUMERO:
|
|
305
|
+
case delegua_2.default.TEXTO:
|
|
306
|
+
case delegua_2.default.FALSO:
|
|
307
|
+
case delegua_2.default.VERDADEIRO:
|
|
308
|
+
return this.primario();
|
|
309
|
+
case delegua_2.default.IDENTIFICADOR:
|
|
310
|
+
const simboloIdentificador = this.avancarEDevolverAnterior();
|
|
311
|
+
let tipoOperando;
|
|
312
|
+
if (simboloIdentificador.lexema in this.tiposDefinidosEmCodigo) {
|
|
313
|
+
tipoOperando = simboloIdentificador.lexema;
|
|
314
|
+
}
|
|
315
|
+
else {
|
|
316
|
+
tipoOperando = this.pilhaEscopos.obterTipoVariavelPorNome(simboloIdentificador.lexema);
|
|
317
|
+
}
|
|
318
|
+
if (!['numero', 'número', 'texto', 'lógico'].includes(tipoOperando)) {
|
|
319
|
+
throw this.erro(simboloIdentificador, `Tipo ${tipoOperando} de identificador ${simboloIdentificador.lexema} não é válido como chave de dicionário.`);
|
|
320
|
+
}
|
|
321
|
+
return new construtos_1.Variavel(this.hashArquivo, simboloIdentificador, tipoOperando);
|
|
322
|
+
case delegua_2.default.COLCHETE_ESQUERDO:
|
|
323
|
+
this.avancarEDevolverAnterior();
|
|
324
|
+
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.PARENTESE_ESQUERDO)) {
|
|
325
|
+
return this.construtoTupla();
|
|
326
|
+
}
|
|
327
|
+
throw this.erro(this.simbolos[this.atual], `Esperado parêntese esquerdo após colchete esquerdo para definição de chave de dicionário. Atual: ${this.simbolos[this.atual].tipo}.`);
|
|
328
|
+
default:
|
|
329
|
+
throw this.erro(this.simbolos[this.atual], `Símbolo ${this.simbolos[this.atual].tipo} inesperado ou inválido como chave de dicionário.`);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
construtoDicionario(simboloChaveEsquerda) {
|
|
333
|
+
this.avancarEDevolverAnterior();
|
|
334
|
+
const chaves = [];
|
|
335
|
+
const valores = [];
|
|
336
|
+
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.CHAVE_DIREITA)) {
|
|
337
|
+
return new construtos_1.Dicionario(this.hashArquivo, Number(simboloChaveEsquerda.linha), [], []);
|
|
338
|
+
}
|
|
339
|
+
while (!this.verificarSeSimboloAtualEIgualA(delegua_2.default.CHAVE_DIREITA)) {
|
|
340
|
+
const chave = this.obterChaveDicionario();
|
|
341
|
+
this.consumir(delegua_2.default.DOIS_PONTOS, "Esperado ':' entre chave e valor.");
|
|
342
|
+
const valor = this.atribuir();
|
|
343
|
+
chaves.push(chave);
|
|
344
|
+
valores.push(valor);
|
|
345
|
+
if (this.simbolos[this.atual].tipo !== delegua_2.default.CHAVE_DIREITA) {
|
|
346
|
+
this.consumir(delegua_2.default.VIRGULA, 'Esperado vírgula antes da próxima expressão.');
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
return new construtos_1.Dicionario(this.hashArquivo, Number(simboloChaveEsquerda.linha), chaves, valores);
|
|
350
|
+
}
|
|
351
|
+
construtoTupla() {
|
|
352
|
+
const expressao = this.expressao();
|
|
353
|
+
const argumentos = [expressao];
|
|
354
|
+
while (this.simbolos[this.atual].tipo === delegua_2.default.VIRGULA) {
|
|
355
|
+
this.avancarEDevolverAnterior();
|
|
356
|
+
argumentos.push(this.expressao());
|
|
357
|
+
}
|
|
358
|
+
this.consumir(delegua_2.default.PARENTESE_DIREITO, "Esperado ')' após a expressão.");
|
|
359
|
+
this.consumir(delegua_2.default.COLCHETE_DIREITO, "Esperado ']' após a expressão.");
|
|
360
|
+
return new tuplas_1.SeletorTuplas(...argumentos);
|
|
361
|
+
}
|
|
300
362
|
primario() {
|
|
301
363
|
const simboloAtual = this.simbolos[this.atual];
|
|
302
364
|
let valores = [];
|
|
303
365
|
switch (simboloAtual.tipo) {
|
|
304
366
|
case delegua_2.default.CHAVE_ESQUERDA:
|
|
305
|
-
this.
|
|
306
|
-
const chaves = [];
|
|
307
|
-
valores = [];
|
|
308
|
-
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.CHAVE_DIREITA)) {
|
|
309
|
-
return new construtos_1.Dicionario(this.hashArquivo, Number(simboloAtual.linha), [], []);
|
|
310
|
-
}
|
|
311
|
-
while (!this.verificarSeSimboloAtualEIgualA(delegua_2.default.CHAVE_DIREITA)) {
|
|
312
|
-
const chave = this.atribuir();
|
|
313
|
-
this.consumir(delegua_2.default.DOIS_PONTOS, "Esperado ':' entre chave e valor.");
|
|
314
|
-
const valor = this.atribuir();
|
|
315
|
-
chaves.push(chave);
|
|
316
|
-
valores.push(valor);
|
|
317
|
-
if (this.simbolos[this.atual].tipo !== delegua_2.default.CHAVE_DIREITA) {
|
|
318
|
-
this.consumir(delegua_2.default.VIRGULA, 'Esperado vírgula antes da próxima expressão.');
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
return new construtos_1.Dicionario(this.hashArquivo, Number(simboloAtual.linha), chaves, valores);
|
|
367
|
+
return this.construtoDicionario(simboloAtual);
|
|
322
368
|
case delegua_2.default.COLCHETE_ESQUERDO:
|
|
323
369
|
this.avancarEDevolverAnterior();
|
|
324
370
|
valores = [];
|
|
@@ -326,19 +372,10 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
326
372
|
return new construtos_1.Vetor(this.hashArquivo, Number(simboloAtual.linha), [], 0, 'qualquer');
|
|
327
373
|
}
|
|
328
374
|
while (!this.verificarSeSimboloAtualEIgualA(delegua_2.default.COLCHETE_DIREITO)) {
|
|
329
|
-
let valor = null;
|
|
330
375
|
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.PARENTESE_ESQUERDO)) {
|
|
331
|
-
|
|
332
|
-
const argumentos = [expressao];
|
|
333
|
-
while (this.simbolos[this.atual].tipo === delegua_2.default.VIRGULA) {
|
|
334
|
-
this.avancarEDevolverAnterior();
|
|
335
|
-
argumentos.push(this.expressao());
|
|
336
|
-
}
|
|
337
|
-
this.consumir(delegua_2.default.PARENTESE_DIREITO, "Esperado ')' após a expressão.");
|
|
338
|
-
this.consumir(delegua_2.default.COLCHETE_DIREITO, "Esperado ']' após a expressão.");
|
|
339
|
-
return new tuplas_1.SeletorTuplas(...argumentos);
|
|
376
|
+
return this.construtoTupla();
|
|
340
377
|
}
|
|
341
|
-
valor = this.atribuir();
|
|
378
|
+
const valor = this.atribuir();
|
|
342
379
|
valores.push(valor);
|
|
343
380
|
if (this.simbolos[this.atual].tipo !== delegua_2.default.COLCHETE_DIREITO) {
|
|
344
381
|
this.consumir(delegua_2.default.VIRGULA, 'Esperado vírgula antes da próxima expressão.');
|
|
@@ -379,7 +416,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
379
416
|
return new construtos_1.Isto(this.hashArquivo, Number(simboloAtual.linha), simboloAtual);
|
|
380
417
|
case delegua_2.default.NULO:
|
|
381
418
|
this.avancarEDevolverAnterior();
|
|
382
|
-
return new construtos_1.Literal(this.hashArquivo, Number(simboloAtual.linha), null);
|
|
419
|
+
return new construtos_1.Literal(this.hashArquivo, Number(simboloAtual.linha), null, 'nulo');
|
|
383
420
|
case delegua_2.default.NUMERO:
|
|
384
421
|
case delegua_2.default.TEXTO:
|
|
385
422
|
const simboloNumeroTexto = this.avancarEDevolverAnterior();
|
|
@@ -411,14 +448,67 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
411
448
|
case delegua_2.default.TIPO:
|
|
412
449
|
this.avancarEDevolverAnterior();
|
|
413
450
|
this.consumir(delegua_2.default.DE, "Esperado 'de' após 'tipo'.");
|
|
414
|
-
let
|
|
451
|
+
let construto;
|
|
415
452
|
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.ESCREVA, delegua_2.default.LEIA, delegua_2.default.FUNCAO, delegua_2.default.FUNÇÃO, delegua_2.default.SE, delegua_2.default.ENQUANTO, delegua_2.default.PARA, delegua_2.default.RETORNA, delegua_1.default.INTEIRO, delegua_1.default.TEXTO, delegua_1.default.VETOR, delegua_1.default.LOGICO, delegua_1.default.LÓGICO, delegua_1.default.VAZIO)) {
|
|
416
|
-
|
|
453
|
+
construto = new construtos_1.ComponenteLinguagem(this.hashArquivo, this.simboloAnterior());
|
|
417
454
|
}
|
|
418
455
|
else {
|
|
419
|
-
|
|
456
|
+
construto = this.expressao();
|
|
420
457
|
}
|
|
421
|
-
|
|
458
|
+
if (construto.constructor.name === 'AcessoMetodoOuPropriedade') {
|
|
459
|
+
const construtoTipado = construto;
|
|
460
|
+
switch (construtoTipado.tipo) {
|
|
461
|
+
case delegua_1.default.DICIONARIO:
|
|
462
|
+
case delegua_1.default.DICIONÁRIO:
|
|
463
|
+
if (!(construtoTipado.simbolo.lexema in primitivas_dicionario_1.default)) {
|
|
464
|
+
throw this.erro(construtoTipado.simbolo, `${construtoTipado.simbolo.lexema} não é uma primitiva de dicionário.`);
|
|
465
|
+
}
|
|
466
|
+
const primitivaDicionarioSelecionada = primitivas_dicionario_1.default[construtoTipado.simbolo.lexema];
|
|
467
|
+
construto = new construtos_1.AcessoMetodo(construtoTipado.hashArquivo, construtoTipado.objeto, construtoTipado.simbolo.lexema, primitivaDicionarioSelecionada.tipoRetorno);
|
|
468
|
+
break;
|
|
469
|
+
case delegua_1.default.INTEIRO:
|
|
470
|
+
case delegua_1.default.NUMERO:
|
|
471
|
+
case delegua_1.default.NÚMERO:
|
|
472
|
+
if (!(construtoTipado.simbolo.lexema in primitivas_numero_1.default)) {
|
|
473
|
+
throw this.erro(construtoTipado.simbolo, `${construtoTipado.simbolo.lexema} não é uma primitiva de número.`);
|
|
474
|
+
}
|
|
475
|
+
const primitivaNumeroSelecionada = primitivas_numero_1.default[construtoTipado.simbolo.lexema];
|
|
476
|
+
construto = new construtos_1.AcessoMetodo(construtoTipado.hashArquivo, construtoTipado.objeto, construtoTipado.simbolo.lexema, primitivaNumeroSelecionada.tipoRetorno);
|
|
477
|
+
break;
|
|
478
|
+
case delegua_1.default.TEXTO:
|
|
479
|
+
if (!(construtoTipado.simbolo.lexema in primitivas_texto_1.default)) {
|
|
480
|
+
throw this.erro(construtoTipado.simbolo, `${construtoTipado.simbolo.lexema} não é uma primitiva de texto.`);
|
|
481
|
+
}
|
|
482
|
+
const primitivaTextoSelecionada = primitivas_texto_1.default[construtoTipado.simbolo.lexema];
|
|
483
|
+
construto = new construtos_1.AcessoMetodo(construtoTipado.hashArquivo, construtoTipado.objeto, construtoTipado.simbolo.lexema, primitivaTextoSelecionada.tipoRetorno);
|
|
484
|
+
break;
|
|
485
|
+
case delegua_1.default.VETOR:
|
|
486
|
+
case delegua_1.default.VETOR_NUMERO:
|
|
487
|
+
case delegua_1.default.VETOR_NÚMERO:
|
|
488
|
+
case delegua_1.default.VETOR_TEXTO:
|
|
489
|
+
if (!(construtoTipado.simbolo.lexema in primitivas_vetor_1.default)) {
|
|
490
|
+
throw this.erro(construtoTipado.simbolo, `${construtoTipado.simbolo.lexema} não é uma primitiva de vetor.`);
|
|
491
|
+
}
|
|
492
|
+
const primitivaVetorSelecionada = primitivas_vetor_1.default[construtoTipado.simbolo.lexema];
|
|
493
|
+
construto = new construtos_1.AcessoMetodo(construtoTipado.hashArquivo, construtoTipado.objeto, construtoTipado.simbolo.lexema, primitivaVetorSelecionada.tipoRetorno);
|
|
494
|
+
break;
|
|
495
|
+
default:
|
|
496
|
+
if (construtoTipado.tipo in this.tiposDefinidosEmCodigo) {
|
|
497
|
+
const tipoCorrespondente = this.tiposDefinidosEmCodigo[construtoTipado.tipo];
|
|
498
|
+
const possivelMetodo = tipoCorrespondente.metodos.filter(m => m.simbolo.lexema === construtoTipado.simbolo.lexema);
|
|
499
|
+
if (possivelMetodo.length > 0) {
|
|
500
|
+
construto = new construtos_1.AcessoMetodo(construtoTipado.hashArquivo, construtoTipado.objeto, construtoTipado.simbolo.lexema, possivelMetodo[0].tipoRetorno);
|
|
501
|
+
break;
|
|
502
|
+
}
|
|
503
|
+
const possivelPropriedade = tipoCorrespondente.propriedades.filter(p => p.nome.lexema === construtoTipado.simbolo.lexema);
|
|
504
|
+
if (possivelPropriedade.length > 0) {
|
|
505
|
+
construto = new construtos_1.AcessoPropriedade(construtoTipado.hashArquivo, construtoTipado.objeto, construtoTipado.simbolo.lexema, possivelPropriedade[0].tipo);
|
|
506
|
+
break;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
return new construtos_1.TipoDe(this.hashArquivo, simboloAtual, construto);
|
|
422
512
|
case delegua_2.default.EXPRESSAO_REGULAR:
|
|
423
513
|
let valor = '';
|
|
424
514
|
let linhaAtual = this.simbolos[this.atual].linha;
|
|
@@ -459,6 +549,61 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
459
549
|
}
|
|
460
550
|
return expressao;
|
|
461
551
|
}
|
|
552
|
+
finalizarChamada(entidadeChamada) {
|
|
553
|
+
const argumentos = [];
|
|
554
|
+
if (!this.verificarTipoSimboloAtual(delegua_2.default.PARENTESE_DIREITO)) {
|
|
555
|
+
do {
|
|
556
|
+
// `apply()` em JavaScript aceita até 255 parâmetros.
|
|
557
|
+
if (argumentos.length >= 255) {
|
|
558
|
+
throw this.erro(this.simbolos[this.atual], 'Não pode haver mais de 255 argumentos.');
|
|
559
|
+
}
|
|
560
|
+
argumentos.push(this.expressao());
|
|
561
|
+
} while (this.verificarSeSimboloAtualEIgualA(delegua_2.default.VIRGULA));
|
|
562
|
+
}
|
|
563
|
+
this.consumir(delegua_2.default.PARENTESE_DIREITO, "Esperado ')' após os argumentos.");
|
|
564
|
+
// Toda chamada precisa saber de antemão qual o tipo resolvido.
|
|
565
|
+
let entidadeChamadaResolvida = entidadeChamada;
|
|
566
|
+
if (entidadeChamadaResolvida.constructor.name === 'AcessoMetodoOuPropriedade') {
|
|
567
|
+
const construtoTipado = entidadeChamadaResolvida;
|
|
568
|
+
switch (entidadeChamadaResolvida.tipo) {
|
|
569
|
+
case delegua_1.default.DICIONARIO:
|
|
570
|
+
case delegua_1.default.DICIONÁRIO:
|
|
571
|
+
if (!(construtoTipado.simbolo.lexema in primitivas_dicionario_1.default)) {
|
|
572
|
+
throw this.erro(construtoTipado.simbolo, `${construtoTipado.simbolo.lexema} não é uma primitiva de dicionário.`);
|
|
573
|
+
}
|
|
574
|
+
const primitivaDicionarioSelecionada = primitivas_dicionario_1.default[construtoTipado.simbolo.lexema];
|
|
575
|
+
entidadeChamadaResolvida = new construtos_1.AcessoMetodo(construtoTipado.hashArquivo, construtoTipado.objeto, construtoTipado.simbolo.lexema, primitivaDicionarioSelecionada.tipoRetorno);
|
|
576
|
+
break;
|
|
577
|
+
case delegua_1.default.INTEIRO:
|
|
578
|
+
case delegua_1.default.NUMERO:
|
|
579
|
+
case delegua_1.default.NÚMERO:
|
|
580
|
+
if (!(construtoTipado.simbolo.lexema in primitivas_numero_1.default)) {
|
|
581
|
+
throw this.erro(construtoTipado.simbolo, `${construtoTipado.simbolo.lexema} não é uma primitiva de número.`);
|
|
582
|
+
}
|
|
583
|
+
const primitivaNumeroSelecionada = primitivas_numero_1.default[construtoTipado.simbolo.lexema];
|
|
584
|
+
entidadeChamadaResolvida = new construtos_1.AcessoMetodo(construtoTipado.hashArquivo, construtoTipado.objeto, construtoTipado.simbolo.lexema, primitivaNumeroSelecionada.tipoRetorno);
|
|
585
|
+
break;
|
|
586
|
+
case delegua_1.default.TEXTO:
|
|
587
|
+
if (!(construtoTipado.simbolo.lexema in primitivas_texto_1.default)) {
|
|
588
|
+
throw this.erro(construtoTipado.simbolo, `${construtoTipado.simbolo.lexema} não é uma primitiva de texto.`);
|
|
589
|
+
}
|
|
590
|
+
const primitivaTextoSelecionada = primitivas_texto_1.default[construtoTipado.simbolo.lexema];
|
|
591
|
+
entidadeChamadaResolvida = new construtos_1.AcessoMetodo(construtoTipado.hashArquivo, construtoTipado.objeto, construtoTipado.simbolo.lexema, primitivaTextoSelecionada.tipoRetorno);
|
|
592
|
+
break;
|
|
593
|
+
case delegua_1.default.VETOR:
|
|
594
|
+
case delegua_1.default.VETOR_NUMERO:
|
|
595
|
+
case delegua_1.default.VETOR_NÚMERO:
|
|
596
|
+
case delegua_1.default.VETOR_TEXTO:
|
|
597
|
+
if (!(construtoTipado.simbolo.lexema in primitivas_vetor_1.default)) {
|
|
598
|
+
throw this.erro(construtoTipado.simbolo, `${construtoTipado.simbolo.lexema} não é uma primitiva de vetor.`);
|
|
599
|
+
}
|
|
600
|
+
const primitivaVetorSelecionada = primitivas_vetor_1.default[construtoTipado.simbolo.lexema];
|
|
601
|
+
entidadeChamadaResolvida = new construtos_1.AcessoMetodo(construtoTipado.hashArquivo, construtoTipado.objeto, construtoTipado.simbolo.lexema, primitivaVetorSelecionada.tipoRetorno);
|
|
602
|
+
break;
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
return new construtos_1.Chamada(this.hashArquivo, entidadeChamadaResolvida, argumentos);
|
|
606
|
+
}
|
|
462
607
|
unario() {
|
|
463
608
|
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.NEGACAO, delegua_2.default.SUBTRACAO, delegua_2.default.BIT_NOT, delegua_2.default.INCREMENTAR, delegua_2.default.DECREMENTAR)) {
|
|
464
609
|
const operador = this.simbolos[this.atual - 1];
|
|
@@ -483,11 +628,16 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
483
628
|
*/
|
|
484
629
|
adicaoOuSubtracao() {
|
|
485
630
|
let expressao = this.multiplicar();
|
|
486
|
-
while (this.verificarSeSimboloAtualEIgualA(delegua_2.default.SUBTRACAO, delegua_2.default.ADICAO, delegua_2.default.
|
|
631
|
+
while (this.verificarSeSimboloAtualEIgualA(delegua_2.default.SUBTRACAO, delegua_2.default.ADICAO, delegua_2.default.MENOS_IGUAL)) {
|
|
487
632
|
const operador = this.simbolos[this.atual - 1];
|
|
488
633
|
const direito = this.multiplicar();
|
|
489
634
|
expressao = new construtos_1.Binario(this.hashArquivo, expressao, operador, direito);
|
|
490
635
|
}
|
|
636
|
+
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.MAIS_IGUAL)) {
|
|
637
|
+
const operador = this.simbolos[this.atual - 1];
|
|
638
|
+
const direito = this.atribuir();
|
|
639
|
+
expressao = new construtos_1.Binario(this.hashArquivo, expressao, operador, direito);
|
|
640
|
+
}
|
|
491
641
|
return expressao;
|
|
492
642
|
}
|
|
493
643
|
bitShift() {
|
|
@@ -584,8 +734,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
584
734
|
return new construtos_1.Atribuir(this.hashArquivo, simbolo, valor);
|
|
585
735
|
}
|
|
586
736
|
if (expressao instanceof construtos_1.AcessoMetodoOuPropriedade) {
|
|
587
|
-
|
|
588
|
-
return new construtos_1.DefinirValor(this.hashArquivo, igual.linha, get.objeto, get.simbolo, valor);
|
|
737
|
+
return new construtos_1.DefinirValor(this.hashArquivo, igual.linha, expressao.objeto, expressao.simbolo, valor);
|
|
589
738
|
}
|
|
590
739
|
if (expressao instanceof construtos_1.AcessoIndiceVariavel) {
|
|
591
740
|
return new construtos_1.AtribuicaoPorIndice(this.hashArquivo, expressao.linha, expressao.entidadeChamada, expressao.indice, valor);
|
|
@@ -1051,6 +1200,47 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1051
1200
|
this.pilhaDecoradores = [];
|
|
1052
1201
|
return retornos;
|
|
1053
1202
|
}
|
|
1203
|
+
logicaComumInferenciaTiposVariaveisEConstantes(inicializador, tipo) {
|
|
1204
|
+
if (tipo !== 'qualquer') {
|
|
1205
|
+
return tipo;
|
|
1206
|
+
}
|
|
1207
|
+
switch (inicializador.constructor.name) {
|
|
1208
|
+
case 'AcessoIndiceVariavel':
|
|
1209
|
+
const entidadeChamadaAcessoIndiceVariavel = inicializador.entidadeChamada;
|
|
1210
|
+
return entidadeChamadaAcessoIndiceVariavel.tipo.slice(0, -2);
|
|
1211
|
+
case 'Chamada':
|
|
1212
|
+
const entidadeChamadaChamada = inicializador.entidadeChamada;
|
|
1213
|
+
switch (entidadeChamadaChamada.constructor.name) {
|
|
1214
|
+
case 'AcessoMetodo':
|
|
1215
|
+
const entidadeChamadaAcessoMetodo = entidadeChamadaChamada;
|
|
1216
|
+
return entidadeChamadaAcessoMetodo.tipoRetornoMetodo;
|
|
1217
|
+
case 'AcessoPropriedade':
|
|
1218
|
+
const entidadeChamadaAcessoPropriedade = entidadeChamadaChamada;
|
|
1219
|
+
return entidadeChamadaAcessoPropriedade.tipoRetornoPropriedade;
|
|
1220
|
+
case 'Variavel':
|
|
1221
|
+
const entidadeChamadaVariavel = entidadeChamadaChamada;
|
|
1222
|
+
return entidadeChamadaVariavel.tipo;
|
|
1223
|
+
}
|
|
1224
|
+
break;
|
|
1225
|
+
case 'FuncaoConstruto':
|
|
1226
|
+
const funcaoConstruto = inicializador;
|
|
1227
|
+
return `função<${funcaoConstruto.tipoRetorno}>`;
|
|
1228
|
+
case 'Leia':
|
|
1229
|
+
return 'texto';
|
|
1230
|
+
case 'Dupla':
|
|
1231
|
+
case 'Trio':
|
|
1232
|
+
case 'Quarteto':
|
|
1233
|
+
case 'Quinteto':
|
|
1234
|
+
case 'Sexteto':
|
|
1235
|
+
case 'Septeto':
|
|
1236
|
+
case 'Octeto':
|
|
1237
|
+
case 'Noneto':
|
|
1238
|
+
case 'Deceto':
|
|
1239
|
+
return delegua_1.default.TUPLA;
|
|
1240
|
+
default:
|
|
1241
|
+
return inicializador.tipo;
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1054
1244
|
/**
|
|
1055
1245
|
* Caso símbolo atual seja `var`, devolve uma declaração de variável.
|
|
1056
1246
|
* @returns Um Construto do tipo Var.
|
|
@@ -1088,30 +1278,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1088
1278
|
}
|
|
1089
1279
|
for (let [indice, identificador] of identificadores.entries()) {
|
|
1090
1280
|
// Se tipo ainda não foi definido, infere.
|
|
1091
|
-
|
|
1092
|
-
switch (inicializadores[indice].constructor.name) {
|
|
1093
|
-
case 'AcessoIndiceVariavel':
|
|
1094
|
-
const entidadeChamada = inicializadores[indice].entidadeChamada;
|
|
1095
|
-
tipo = entidadeChamada.tipo.slice(0, -2);
|
|
1096
|
-
break;
|
|
1097
|
-
case 'Dupla':
|
|
1098
|
-
case 'Trio':
|
|
1099
|
-
case 'Quarteto':
|
|
1100
|
-
case 'Quinteto':
|
|
1101
|
-
case 'Sexteto':
|
|
1102
|
-
case 'Septeto':
|
|
1103
|
-
case 'Octeto':
|
|
1104
|
-
case 'Noneto':
|
|
1105
|
-
case 'Deceto':
|
|
1106
|
-
tipo = delegua_1.default.TUPLA;
|
|
1107
|
-
break;
|
|
1108
|
-
case 'Literal':
|
|
1109
|
-
case 'Variavel':
|
|
1110
|
-
case 'Vetor':
|
|
1111
|
-
tipo = inicializadores[indice].tipo;
|
|
1112
|
-
break;
|
|
1113
|
-
}
|
|
1114
|
-
}
|
|
1281
|
+
tipo = this.logicaComumInferenciaTiposVariaveisEConstantes(inicializadores[indice], tipo);
|
|
1115
1282
|
this.pilhaEscopos.definirTipoVariavel(identificador.lexema, tipo);
|
|
1116
1283
|
retorno.push(new declaracoes_1.Var(identificador, inicializadores[indice], tipo, Array.from(this.pilhaDecoradores)));
|
|
1117
1284
|
}
|
|
@@ -1164,30 +1331,8 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1164
1331
|
}
|
|
1165
1332
|
let retorno = [];
|
|
1166
1333
|
for (let [indice, identificador] of identificadores.entries()) {
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
case 'AcessoIndiceVariavel':
|
|
1170
|
-
const entidadeChamada = inicializadores[indice].entidadeChamada;
|
|
1171
|
-
tipo = entidadeChamada.tipo.slice(0, -2);
|
|
1172
|
-
break;
|
|
1173
|
-
case 'Dupla':
|
|
1174
|
-
case 'Trio':
|
|
1175
|
-
case 'Quarteto':
|
|
1176
|
-
case 'Quinteto':
|
|
1177
|
-
case 'Sexteto':
|
|
1178
|
-
case 'Septeto':
|
|
1179
|
-
case 'Octeto':
|
|
1180
|
-
case 'Noneto':
|
|
1181
|
-
case 'Deceto':
|
|
1182
|
-
tipo = delegua_1.default.TUPLA;
|
|
1183
|
-
break;
|
|
1184
|
-
case 'Literal':
|
|
1185
|
-
case 'Variavel':
|
|
1186
|
-
case 'Vetor':
|
|
1187
|
-
tipo = inicializadores[indice].tipo;
|
|
1188
|
-
break;
|
|
1189
|
-
}
|
|
1190
|
-
}
|
|
1334
|
+
// Se tipo ainda não foi definido, infere.
|
|
1335
|
+
tipo = this.logicaComumInferenciaTiposVariaveisEConstantes(inicializadores[indice], tipo);
|
|
1191
1336
|
this.pilhaEscopos.definirTipoVariavel(identificador.lexema, tipo);
|
|
1192
1337
|
retorno.push(new declaracoes_1.Const(identificador, inicializadores[indice], tipo, Array.from(this.pilhaDecoradores)));
|
|
1193
1338
|
}
|
|
@@ -1211,8 +1356,8 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1211
1356
|
// para ela. Vai ser atualizado após avaliação do corpo da função.
|
|
1212
1357
|
this.pilhaEscopos.definirTipoVariavel(simbolo.lexema, 'qualquer');
|
|
1213
1358
|
const corpoDaFuncao = this.corpoDaFuncao(tipo);
|
|
1214
|
-
this.pilhaEscopos.definirTipoVariavel(simbolo.lexema, corpoDaFuncao.tipoRetorno
|
|
1215
|
-
return new declaracoes_1.FuncaoDeclaracao(simbolo, corpoDaFuncao, corpoDaFuncao.tipoRetorno
|
|
1359
|
+
this.pilhaEscopos.definirTipoVariavel(simbolo.lexema, corpoDaFuncao.tipoRetorno);
|
|
1360
|
+
return new declaracoes_1.FuncaoDeclaracao(simbolo, corpoDaFuncao, corpoDaFuncao.tipoRetorno, decoradores);
|
|
1216
1361
|
}
|
|
1217
1362
|
logicaComumParametros() {
|
|
1218
1363
|
const parametros = [];
|
|
@@ -1291,9 +1436,11 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1291
1436
|
}
|
|
1292
1437
|
this.consumir(delegua_2.default.PARENTESE_DIREITO, "Esperado ')' após parâmetros.");
|
|
1293
1438
|
let tipoRetorno = 'qualquer';
|
|
1439
|
+
let definicaoExplicitaDeTipo = false;
|
|
1294
1440
|
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.DOIS_PONTOS)) {
|
|
1295
1441
|
tipoRetorno = this.verificarDefinicaoTipoAtual();
|
|
1296
1442
|
this.avancarEDevolverAnterior();
|
|
1443
|
+
definicaoExplicitaDeTipo = true;
|
|
1297
1444
|
}
|
|
1298
1445
|
this.consumir(delegua_2.default.CHAVE_ESQUERDA, `Esperado '{' antes do escopo do ${tipo}.`);
|
|
1299
1446
|
const corpo = this.blocoEscopo();
|
|
@@ -1308,19 +1455,25 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1308
1455
|
}
|
|
1309
1456
|
}
|
|
1310
1457
|
const tiposRetornos = new Set(expressoesRetorna.map(e => e.tipo));
|
|
1311
|
-
// if (tiposRetornos.size > 1 && !tiposRetornos.has('qualquer')) {
|
|
1312
1458
|
if (tiposRetornos.size > 1 && tipoRetorno !== 'qualquer') {
|
|
1313
1459
|
let tiposEncontrados = Array.from(tiposRetornos).reduce((acumulador, valor) => acumulador += valor + ', ', '');
|
|
1314
1460
|
tiposEncontrados = tiposEncontrados.slice(0, -2);
|
|
1315
1461
|
throw this.erro(parenteseEsquerdo, `Função retorna valores com mais de um tipo. Tipo esperado: ${tipoRetorno}. Tipos encontrados: ${tiposEncontrados}.`);
|
|
1316
1462
|
}
|
|
1317
1463
|
tiposRetornos.delete('qualquer');
|
|
1318
|
-
if (tipoRetorno === 'qualquer'
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1464
|
+
if (tipoRetorno === 'qualquer') {
|
|
1465
|
+
if (tiposRetornos.size > 0) {
|
|
1466
|
+
// Se o tipo de retorno é 'qualquer', seja implícito ou explícito,
|
|
1467
|
+
// este avaliador sintático pode restringir o tipo baseado nos construtos
|
|
1468
|
+
// de retornos encontrados nos blocos internos da função.
|
|
1469
|
+
const tipoRetornoDeduzido = tiposRetornos.values().next().value;
|
|
1470
|
+
tipoRetorno = tipoRetornoDeduzido;
|
|
1471
|
+
}
|
|
1472
|
+
else if (!definicaoExplicitaDeTipo) {
|
|
1473
|
+
// Ou, se esses retornos sequer existem, e o tipo explícito não é
|
|
1474
|
+
// 'qualquer', o tipo inferido é 'vazio'.
|
|
1475
|
+
tipoRetorno = 'vazio';
|
|
1476
|
+
}
|
|
1324
1477
|
}
|
|
1325
1478
|
return new construtos_1.FuncaoConstruto(this.hashArquivo, Number(parenteseEsquerdo.linha), parametros, corpo, tipoRetorno);
|
|
1326
1479
|
}
|
|
@@ -1480,7 +1633,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1480
1633
|
}
|
|
1481
1634
|
exports.AvaliadorSintatico = AvaliadorSintatico;
|
|
1482
1635
|
|
|
1483
|
-
},{"../construtos":
|
|
1636
|
+
},{"../bibliotecas/primitivas-dicionario":18,"../bibliotecas/primitivas-numero":19,"../bibliotecas/primitivas-texto":20,"../bibliotecas/primitivas-vetor":21,"../construtos":44,"../construtos/tuplas":53,"../declaracoes":82,"../inferenciador":116,"../lexador":153,"../tipos-de-dados/delegua":161,"../tipos-de-simbolos/delegua":164,"./avaliador-sintatico-base":1,"./erro-avaliador-sintatico":7,"./informacao-escopo":9,"./pilha-escopos":12,"browser-process-hrtime":340}],3:[function(require,module,exports){
|
|
1484
1637
|
"use strict";
|
|
1485
1638
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
1486
1639
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -1653,8 +1806,8 @@ class AvaliadorSintaticoEguaClassico {
|
|
|
1653
1806
|
argumentos.push(this.expressao());
|
|
1654
1807
|
} while (this.verificarSeSimboloAtualEIgualA(egua_classico_1.default.VIRGULA));
|
|
1655
1808
|
}
|
|
1656
|
-
|
|
1657
|
-
return new construtos_1.Chamada(this.hashArquivo, entidadeChamada,
|
|
1809
|
+
this.consumir(egua_classico_1.default.PARENTESE_DIREITO, "Esperado ')' após os argumentos.");
|
|
1810
|
+
return new construtos_1.Chamada(this.hashArquivo, entidadeChamada, argumentos);
|
|
1658
1811
|
}
|
|
1659
1812
|
chamar() {
|
|
1660
1813
|
let expressao = this.primario();
|
|
@@ -2130,7 +2283,7 @@ class AvaliadorSintaticoEguaClassico {
|
|
|
2130
2283
|
}
|
|
2131
2284
|
exports.AvaliadorSintaticoEguaClassico = AvaliadorSintaticoEguaClassico;
|
|
2132
2285
|
|
|
2133
|
-
},{"../../construtos":
|
|
2286
|
+
},{"../../construtos":44,"../../declaracoes":82,"../../tipos-de-simbolos/egua-classico":165,"../erro-avaliador-sintatico":7}],4:[function(require,module,exports){
|
|
2134
2287
|
"use strict";
|
|
2135
2288
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2136
2289
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2329,8 +2482,8 @@ class AvaliadorSintaticoPitugues {
|
|
|
2329
2482
|
argumentos.push(this.expressao());
|
|
2330
2483
|
} while (this.verificarSeSimboloAtualEIgualA(pitugues_1.default.VIRGULA));
|
|
2331
2484
|
}
|
|
2332
|
-
|
|
2333
|
-
return new construtos_1.Chamada(this.hashArquivo, entidadeChamada,
|
|
2485
|
+
this.consumir(pitugues_1.default.PARENTESE_DIREITO, "Esperado ')' após os argumentos.");
|
|
2486
|
+
return new construtos_1.Chamada(this.hashArquivo, entidadeChamada, argumentos);
|
|
2334
2487
|
}
|
|
2335
2488
|
chamar() {
|
|
2336
2489
|
let expressao = this.primario();
|
|
@@ -2902,7 +3055,7 @@ class AvaliadorSintaticoPitugues {
|
|
|
2902
3055
|
}
|
|
2903
3056
|
exports.AvaliadorSintaticoPitugues = AvaliadorSintaticoPitugues;
|
|
2904
3057
|
|
|
2905
|
-
},{"../../construtos":
|
|
3058
|
+
},{"../../construtos":44,"../../declaracoes":82,"../../lexador":153,"../../tipos-de-simbolos/pitugues":168,"../erro-avaliador-sintatico":7,"browser-process-hrtime":340}],5:[function(require,module,exports){
|
|
2906
3059
|
"use strict";
|
|
2907
3060
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2908
3061
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3072,7 +3225,7 @@ class AvaliadorSintaticoPortugolIpt extends avaliador_sintatico_base_1.Avaliador
|
|
|
3072
3225
|
}
|
|
3073
3226
|
exports.AvaliadorSintaticoPortugolIpt = AvaliadorSintaticoPortugolIpt;
|
|
3074
3227
|
|
|
3075
|
-
},{"../../construtos":
|
|
3228
|
+
},{"../../construtos":44,"../../declaracoes":82,"../../tipos-de-simbolos/portugol-ipt":169,"../avaliador-sintatico-base":1}],6:[function(require,module,exports){
|
|
3076
3229
|
"use strict";
|
|
3077
3230
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3078
3231
|
if (k2 === undefined) k2 = k;
|
|
@@ -3259,7 +3412,7 @@ class MicroAvaliadorSintaticoBase {
|
|
|
3259
3412
|
}
|
|
3260
3413
|
exports.MicroAvaliadorSintaticoBase = MicroAvaliadorSintaticoBase;
|
|
3261
3414
|
|
|
3262
|
-
},{"../construtos":
|
|
3415
|
+
},{"../construtos":44,"../tipos-de-simbolos/comum":163,"./erro-avaliador-sintatico":7}],11:[function(require,module,exports){
|
|
3263
3416
|
"use strict";
|
|
3264
3417
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3265
3418
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3362,8 +3515,8 @@ class MicroAvaliadorSintatico extends micro_avaliador_sintatico_base_1.MicroAval
|
|
|
3362
3515
|
argumentos.push(this.ou());
|
|
3363
3516
|
} while (this.verificarSeSimboloAtualEIgualA(delegua_1.default.VIRGULA));
|
|
3364
3517
|
}
|
|
3365
|
-
|
|
3366
|
-
return new construtos_1.Chamada(-1, entidadeChamada,
|
|
3518
|
+
this.consumir(delegua_1.default.PARENTESE_DIREITO, "Esperado ')' após os argumentos.");
|
|
3519
|
+
return new construtos_1.Chamada(-1, entidadeChamada, argumentos);
|
|
3367
3520
|
}
|
|
3368
3521
|
chamar() {
|
|
3369
3522
|
let expressao = this.primario();
|
|
@@ -3465,7 +3618,7 @@ class MicroAvaliadorSintatico extends micro_avaliador_sintatico_base_1.MicroAval
|
|
|
3465
3618
|
}
|
|
3466
3619
|
exports.MicroAvaliadorSintatico = MicroAvaliadorSintatico;
|
|
3467
3620
|
|
|
3468
|
-
},{"../construtos":
|
|
3621
|
+
},{"../construtos":44,"../tipos-de-simbolos/microgramaticas/delegua":167,"./micro-avaliador-sintatico-base":10}],12:[function(require,module,exports){
|
|
3469
3622
|
"use strict";
|
|
3470
3623
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3471
3624
|
exports.PilhaEscopos = void 0;
|
|
@@ -4027,15 +4180,21 @@ async function tupla(interpretador, vetor) {
|
|
|
4027
4180
|
}
|
|
4028
4181
|
}
|
|
4029
4182
|
|
|
4030
|
-
},{"../construtos":
|
|
4183
|
+
},{"../construtos":44,"../estruturas":105,"../estruturas/descritor-tipo-classe":103,"../estruturas/funcao-padrao":104,"../estruturas/objeto-delegua-classe":108,"../excecoes":111}],18:[function(require,module,exports){
|
|
4031
4184
|
"use strict";
|
|
4032
4185
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4033
4186
|
exports.default = {
|
|
4034
|
-
chaves:
|
|
4035
|
-
|
|
4187
|
+
chaves: {
|
|
4188
|
+
tipoRetorno: 'texto[]',
|
|
4189
|
+
implementacao: (interpretador, valor) => {
|
|
4190
|
+
return Promise.resolve(Object.keys(valor));
|
|
4191
|
+
}
|
|
4036
4192
|
},
|
|
4037
|
-
valores:
|
|
4038
|
-
|
|
4193
|
+
valores: {
|
|
4194
|
+
tipoRetorno: 'qualquer[]',
|
|
4195
|
+
implementacao: (interpretador, valor) => {
|
|
4196
|
+
return Promise.resolve(Object.values(valor));
|
|
4197
|
+
}
|
|
4039
4198
|
},
|
|
4040
4199
|
};
|
|
4041
4200
|
|
|
@@ -4043,11 +4202,17 @@ exports.default = {
|
|
|
4043
4202
|
"use strict";
|
|
4044
4203
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4045
4204
|
exports.default = {
|
|
4046
|
-
arredondarParaBaixo:
|
|
4047
|
-
|
|
4205
|
+
arredondarParaBaixo: {
|
|
4206
|
+
tipoRetorno: 'número',
|
|
4207
|
+
implementacao: (interpretador, valor) => {
|
|
4208
|
+
return Promise.resolve(Math.floor(valor));
|
|
4209
|
+
}
|
|
4048
4210
|
},
|
|
4049
|
-
arredondarParaCima:
|
|
4050
|
-
|
|
4211
|
+
arredondarParaCima: {
|
|
4212
|
+
tipoRetorno: 'número',
|
|
4213
|
+
implementacao: (interpretador, valor) => {
|
|
4214
|
+
return Promise.resolve(Math.ceil(valor));
|
|
4215
|
+
}
|
|
4051
4216
|
},
|
|
4052
4217
|
};
|
|
4053
4218
|
|
|
@@ -4055,116 +4220,203 @@ exports.default = {
|
|
|
4055
4220
|
"use strict";
|
|
4056
4221
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4057
4222
|
exports.default = {
|
|
4058
|
-
aparar:
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
}
|
|
4066
|
-
return Promise.resolve(texto.split(divisor));
|
|
4223
|
+
aparar: {
|
|
4224
|
+
tipoRetorno: 'texto',
|
|
4225
|
+
implementacao: (interpretador, texto) => Promise.resolve(texto.trim())
|
|
4226
|
+
},
|
|
4227
|
+
apararFim: {
|
|
4228
|
+
tipoRetorno: 'texto',
|
|
4229
|
+
implementacao: (interpretador, texto) => Promise.resolve(texto.trimEnd())
|
|
4067
4230
|
},
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4231
|
+
apararInicio: {
|
|
4232
|
+
tipoRetorno: 'texto',
|
|
4233
|
+
implementacao: (interpretador, texto) => Promise.resolve(texto.trimStart())
|
|
4234
|
+
},
|
|
4235
|
+
concatenar: {
|
|
4236
|
+
tipoRetorno: 'texto',
|
|
4237
|
+
implementacao: (interpretador, ...texto) => Promise.resolve(''.concat(...texto))
|
|
4238
|
+
},
|
|
4239
|
+
dividir: {
|
|
4240
|
+
tipoRetorno: 'texto[]',
|
|
4241
|
+
implementacao: (interpretador, texto, divisor, limite) => {
|
|
4242
|
+
if (limite) {
|
|
4243
|
+
return Promise.resolve(texto.split(divisor, limite));
|
|
4244
|
+
}
|
|
4245
|
+
return Promise.resolve(texto.split(divisor));
|
|
4246
|
+
}
|
|
4247
|
+
},
|
|
4248
|
+
fatiar: {
|
|
4249
|
+
tipoRetorno: 'texto',
|
|
4250
|
+
implementacao: (interpretador, texto, inicio, fim) => Promise.resolve(texto.slice(inicio, fim))
|
|
4251
|
+
},
|
|
4252
|
+
inclui: {
|
|
4253
|
+
tipoRetorno: 'texto',
|
|
4254
|
+
implementacao: (interpretador, texto, elemento) => Promise.resolve(texto.includes(elemento))
|
|
4255
|
+
},
|
|
4256
|
+
inverter: {
|
|
4257
|
+
tipoRetorno: 'texto',
|
|
4258
|
+
implementacao: (interpretador, texto) => Promise.resolve(texto.split('').reduce((texto, caracter) => (texto = caracter + texto), ''))
|
|
4259
|
+
},
|
|
4260
|
+
maiusculo: {
|
|
4261
|
+
tipoRetorno: 'texto',
|
|
4262
|
+
implementacao: (interpretador, texto) => Promise.resolve(texto.toUpperCase())
|
|
4263
|
+
},
|
|
4264
|
+
minusculo: {
|
|
4265
|
+
tipoRetorno: 'texto',
|
|
4266
|
+
implementacao: (interpretador, texto) => Promise.resolve(texto.toLowerCase())
|
|
4267
|
+
},
|
|
4268
|
+
substituir: {
|
|
4269
|
+
tipoRetorno: 'texto',
|
|
4270
|
+
implementacao: (interpretador, texto, elemento, substituto) => Promise.resolve(texto.replace(elemento, substituto))
|
|
4271
|
+
},
|
|
4272
|
+
subtexto: {
|
|
4273
|
+
tipoRetorno: 'texto',
|
|
4274
|
+
implementacao: (interpretador, texto, inicio, fim) => Promise.resolve(texto.slice(inicio, fim))
|
|
4275
|
+
},
|
|
4276
|
+
tamanho: {
|
|
4277
|
+
tipoRetorno: 'número',
|
|
4278
|
+
implementacao: (interpretador, texto) => Promise.resolve(texto.length)
|
|
4279
|
+
}
|
|
4076
4280
|
};
|
|
4077
4281
|
|
|
4078
4282
|
},{}],21:[function(require,module,exports){
|
|
4079
4283
|
"use strict";
|
|
4080
4284
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4081
4285
|
exports.default = {
|
|
4082
|
-
adicionar:
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
return Promise.resolve(vetor.concat(outroVetor));
|
|
4088
|
-
},
|
|
4089
|
-
empilhar: (interpretador, vetor, elemento) => {
|
|
4090
|
-
vetor.push(elemento);
|
|
4091
|
-
return Promise.resolve(vetor);
|
|
4092
|
-
},
|
|
4093
|
-
encaixar: (interpretador, vetor, inicio, excluirQuantidade, ...items) => {
|
|
4094
|
-
let elementos = [];
|
|
4095
|
-
if (excluirQuantidade || excluirQuantidade === 0) {
|
|
4096
|
-
elementos = !items.length
|
|
4097
|
-
? vetor.splice(inicio, excluirQuantidade)
|
|
4098
|
-
: vetor.splice(inicio, excluirQuantidade, ...items);
|
|
4286
|
+
adicionar: {
|
|
4287
|
+
tipoRetorno: 'qualquer[]',
|
|
4288
|
+
implementacao: (interpretador, vetor, elemento) => {
|
|
4289
|
+
vetor.push(elemento);
|
|
4290
|
+
return Promise.resolve(vetor);
|
|
4099
4291
|
}
|
|
4100
|
-
|
|
4101
|
-
|
|
4292
|
+
},
|
|
4293
|
+
concatenar: {
|
|
4294
|
+
tipoRetorno: 'qualquer[]',
|
|
4295
|
+
implementacao: (interpretador, vetor, outroVetor) => {
|
|
4296
|
+
return Promise.resolve(vetor.concat(outroVetor));
|
|
4102
4297
|
}
|
|
4103
|
-
return Promise.resolve(elementos);
|
|
4104
4298
|
},
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4299
|
+
empilhar: {
|
|
4300
|
+
tipoRetorno: 'qualquer[]',
|
|
4301
|
+
implementacao: (interpretador, vetor, elemento) => {
|
|
4302
|
+
vetor.push(elemento);
|
|
4303
|
+
return Promise.resolve(vetor);
|
|
4109
4304
|
}
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4305
|
+
},
|
|
4306
|
+
encaixar: {
|
|
4307
|
+
tipoRetorno: 'qualquer[]',
|
|
4308
|
+
implementacao: (interpretador, vetor, inicio, excluirQuantidade, ...items) => {
|
|
4309
|
+
let elementos = [];
|
|
4310
|
+
if (excluirQuantidade || excluirQuantidade === 0) {
|
|
4311
|
+
elementos = !items.length
|
|
4312
|
+
? vetor.splice(inicio, excluirQuantidade)
|
|
4313
|
+
: vetor.splice(inicio, excluirQuantidade, ...items);
|
|
4114
4314
|
}
|
|
4315
|
+
else {
|
|
4316
|
+
elementos = !items.length ? vetor.splice(inicio) : vetor.splice(inicio, ...items);
|
|
4317
|
+
}
|
|
4318
|
+
return Promise.resolve(elementos);
|
|
4115
4319
|
}
|
|
4116
|
-
return retorno;
|
|
4117
4320
|
},
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4321
|
+
fatiar: {
|
|
4322
|
+
tipoRetorno: 'qualquer[]',
|
|
4323
|
+
implementacao: (interpretador, vetor, inicio, fim) => Promise.resolve(vetor.slice(inicio, fim)),
|
|
4324
|
+
},
|
|
4325
|
+
filtrarPor: {
|
|
4326
|
+
tipoRetorno: 'qualquer[]',
|
|
4327
|
+
implementacao: async (interpretador, vetor, funcao) => {
|
|
4328
|
+
if (funcao === undefined || funcao === null) {
|
|
4329
|
+
return Promise.reject("É necessário passar uma função para o método 'filtrarPor'");
|
|
4330
|
+
}
|
|
4331
|
+
const retorno = [];
|
|
4332
|
+
for (let elemento of vetor) {
|
|
4333
|
+
if (await funcao.chamar(interpretador, [elemento])) {
|
|
4334
|
+
retorno.push(elemento);
|
|
4335
|
+
}
|
|
4336
|
+
}
|
|
4337
|
+
return retorno;
|
|
4124
4338
|
}
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4339
|
+
},
|
|
4340
|
+
inclui: {
|
|
4341
|
+
tipoRetorno: 'lógico',
|
|
4342
|
+
implementacao: (interpretador, vetor, elemento) => Promise.resolve(vetor.includes(elemento))
|
|
4343
|
+
},
|
|
4344
|
+
inverter: {
|
|
4345
|
+
tipoRetorno: 'qualquer[]',
|
|
4346
|
+
implementacao: (interpretador, vetor) => Promise.resolve(vetor.reverse())
|
|
4347
|
+
},
|
|
4348
|
+
juntar: {
|
|
4349
|
+
tipoRetorno: 'qualquer[]',
|
|
4350
|
+
implementacao: (interpretador, vetor, separador) => Promise.resolve(vetor.join(separador))
|
|
4351
|
+
},
|
|
4352
|
+
mapear: {
|
|
4353
|
+
tipoRetorno: 'qualquer[]',
|
|
4354
|
+
implementacao: async (interpretador, vetor, funcao) => {
|
|
4355
|
+
if (funcao === undefined || funcao === null) {
|
|
4356
|
+
return Promise.reject("É necessário passar uma função para o método 'mapear'");
|
|
4357
|
+
}
|
|
4358
|
+
const retorno = [];
|
|
4359
|
+
for (let elemento of vetor) {
|
|
4360
|
+
let resultado = await funcao.chamar(interpretador, [elemento]);
|
|
4361
|
+
retorno.push(resultado);
|
|
4362
|
+
}
|
|
4363
|
+
return retorno;
|
|
4129
4364
|
}
|
|
4130
|
-
return retorno;
|
|
4131
4365
|
},
|
|
4132
|
-
ordenar:
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
vetor[j]
|
|
4139
|
-
|
|
4366
|
+
ordenar: {
|
|
4367
|
+
tipoRetorno: 'qualquer[]',
|
|
4368
|
+
implementacao: async (interpretador, vetor, funcaoOrdenacao) => {
|
|
4369
|
+
if (funcaoOrdenacao !== undefined && funcaoOrdenacao !== null) {
|
|
4370
|
+
for (let i = 0; i < vetor.length - 1; i++) {
|
|
4371
|
+
for (let j = 1; j < vetor.length; j++) {
|
|
4372
|
+
if ((await funcaoOrdenacao.chamar(interpretador, [vetor[j - 1], vetor[j]])) > 0) {
|
|
4373
|
+
const aux = vetor[j];
|
|
4374
|
+
vetor[j] = vetor[j - 1];
|
|
4375
|
+
vetor[j - 1] = aux;
|
|
4376
|
+
}
|
|
4140
4377
|
}
|
|
4141
4378
|
}
|
|
4379
|
+
return vetor;
|
|
4142
4380
|
}
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
return vetor.sort();
|
|
4381
|
+
if (!vetor.every((v) => typeof v === 'number')) {
|
|
4382
|
+
return vetor.sort();
|
|
4383
|
+
}
|
|
4384
|
+
return vetor.sort((a, b) => a - b);
|
|
4147
4385
|
}
|
|
4148
|
-
return vetor.sort((a, b) => a - b);
|
|
4149
4386
|
},
|
|
4150
|
-
remover:
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
vetor.
|
|
4154
|
-
|
|
4387
|
+
remover: {
|
|
4388
|
+
tipoRetorno: 'qualquer[]',
|
|
4389
|
+
implementacao: (interpretador, vetor, elemento) => {
|
|
4390
|
+
const index = vetor.indexOf(elemento);
|
|
4391
|
+
if (index !== -1)
|
|
4392
|
+
vetor.splice(index, 1);
|
|
4393
|
+
return Promise.resolve(vetor);
|
|
4394
|
+
}
|
|
4155
4395
|
},
|
|
4156
|
-
removerPrimeiro:
|
|
4157
|
-
|
|
4158
|
-
|
|
4396
|
+
removerPrimeiro: {
|
|
4397
|
+
tipoRetorno: 'qualquer',
|
|
4398
|
+
implementacao: (interpretador, vetor) => {
|
|
4399
|
+
let elemento = vetor.shift();
|
|
4400
|
+
return Promise.resolve(elemento);
|
|
4401
|
+
}
|
|
4159
4402
|
},
|
|
4160
|
-
removerUltimo:
|
|
4161
|
-
|
|
4162
|
-
|
|
4403
|
+
removerUltimo: {
|
|
4404
|
+
tipoRetorno: 'qualquer',
|
|
4405
|
+
implementacao: (interpretador, vetor) => {
|
|
4406
|
+
let elemento = vetor.pop();
|
|
4407
|
+
return Promise.resolve(elemento);
|
|
4408
|
+
}
|
|
4163
4409
|
},
|
|
4164
|
-
somar:
|
|
4165
|
-
|
|
4410
|
+
somar: {
|
|
4411
|
+
tipoRetorno: 'qualquer',
|
|
4412
|
+
implementacao: (interpretador, vetor) => {
|
|
4413
|
+
return Promise.resolve(vetor.reduce((acc, item) => acc + (typeof item === 'number' ? item : item.valor), 0));
|
|
4414
|
+
}
|
|
4166
4415
|
},
|
|
4167
|
-
tamanho:
|
|
4416
|
+
tamanho: {
|
|
4417
|
+
tipoRetorno: 'número',
|
|
4418
|
+
implementacao: (interpretador, vetor) => Promise.resolve(vetor.length)
|
|
4419
|
+
}
|
|
4168
4420
|
};
|
|
4169
4421
|
|
|
4170
4422
|
},{}],22:[function(require,module,exports){
|
|
@@ -4214,7 +4466,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4214
4466
|
exports.AcessoMetodoOuPropriedade = void 0;
|
|
4215
4467
|
/**
|
|
4216
4468
|
* Chamado de `Get` em Égua Clássico, é o construto de acesso a métodos ou membros de
|
|
4217
|
-
* classe.
|
|
4469
|
+
* classe. Foi usado por Delégua até a versão 0.38.4, em que uma especialização maior
|
|
4470
|
+
* de tipos é necessária para o correto funcionamento da compilação por LLVM. Os demais
|
|
4471
|
+
* dialetos ainda a usam sem problemas.
|
|
4218
4472
|
*/
|
|
4219
4473
|
class AcessoMetodoOuPropriedade {
|
|
4220
4474
|
constructor(hashArquivo, objeto, simbolo, tipo = 'qualquer') {
|
|
@@ -4225,7 +4479,7 @@ class AcessoMetodoOuPropriedade {
|
|
|
4225
4479
|
this.tipo = objeto.tipo || tipo;
|
|
4226
4480
|
}
|
|
4227
4481
|
async aceitar(visitante) {
|
|
4228
|
-
return await visitante.
|
|
4482
|
+
return await visitante.visitarExpressaoAcessoMetodoOuPropriedade(this);
|
|
4229
4483
|
}
|
|
4230
4484
|
}
|
|
4231
4485
|
exports.AcessoMetodoOuPropriedade = AcessoMetodoOuPropriedade;
|
|
@@ -4233,6 +4487,43 @@ exports.AcessoMetodoOuPropriedade = AcessoMetodoOuPropriedade;
|
|
|
4233
4487
|
},{}],25:[function(require,module,exports){
|
|
4234
4488
|
"use strict";
|
|
4235
4489
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4490
|
+
exports.AcessoMetodo = void 0;
|
|
4491
|
+
class AcessoMetodo {
|
|
4492
|
+
constructor(hashArquivo, objeto, nomeMetodo, tipoRetornoMetodo = 'qualquer') {
|
|
4493
|
+
this.tipoRetornoMetodo = 'qualquer';
|
|
4494
|
+
this.linha = objeto.linha;
|
|
4495
|
+
this.hashArquivo = hashArquivo;
|
|
4496
|
+
this.objeto = objeto;
|
|
4497
|
+
this.nomeMetodo = nomeMetodo;
|
|
4498
|
+
this.tipoRetornoMetodo = tipoRetornoMetodo;
|
|
4499
|
+
}
|
|
4500
|
+
async aceitar(visitante) {
|
|
4501
|
+
return await visitante.visitarExpressaoAcessoMetodo(this);
|
|
4502
|
+
}
|
|
4503
|
+
}
|
|
4504
|
+
exports.AcessoMetodo = AcessoMetodo;
|
|
4505
|
+
|
|
4506
|
+
},{}],26:[function(require,module,exports){
|
|
4507
|
+
"use strict";
|
|
4508
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4509
|
+
exports.AcessoPropriedade = void 0;
|
|
4510
|
+
class AcessoPropriedade {
|
|
4511
|
+
constructor(hashArquivo, objeto, nomePropriedade, tipoRetornoPropriedade = 'qualquer') {
|
|
4512
|
+
this.linha = objeto.linha;
|
|
4513
|
+
this.hashArquivo = hashArquivo;
|
|
4514
|
+
this.objeto = objeto;
|
|
4515
|
+
this.nomePropriedade = nomePropriedade;
|
|
4516
|
+
this.tipoRetornoPropriedade = tipoRetornoPropriedade;
|
|
4517
|
+
}
|
|
4518
|
+
async aceitar(visitante) {
|
|
4519
|
+
return await visitante.visitarExpressaoAcessoPropriedade(this);
|
|
4520
|
+
}
|
|
4521
|
+
}
|
|
4522
|
+
exports.AcessoPropriedade = AcessoPropriedade;
|
|
4523
|
+
|
|
4524
|
+
},{}],27:[function(require,module,exports){
|
|
4525
|
+
"use strict";
|
|
4526
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4236
4527
|
exports.Agrupamento = void 0;
|
|
4237
4528
|
/**
|
|
4238
4529
|
* Um agrupamento é essencialmente uma expressão qualquer dentro de parênteses.
|
|
@@ -4252,7 +4543,7 @@ class Agrupamento {
|
|
|
4252
4543
|
}
|
|
4253
4544
|
exports.Agrupamento = Agrupamento;
|
|
4254
4545
|
|
|
4255
|
-
},{}],
|
|
4546
|
+
},{}],28:[function(require,module,exports){
|
|
4256
4547
|
"use strict";
|
|
4257
4548
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4258
4549
|
exports.AtribuicaoPorIndice = void 0;
|
|
@@ -4270,7 +4561,7 @@ class AtribuicaoPorIndice {
|
|
|
4270
4561
|
}
|
|
4271
4562
|
exports.AtribuicaoPorIndice = AtribuicaoPorIndice;
|
|
4272
4563
|
|
|
4273
|
-
},{}],
|
|
4564
|
+
},{}],29:[function(require,module,exports){
|
|
4274
4565
|
"use strict";
|
|
4275
4566
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4276
4567
|
exports.AtribuicaoPorIndicesMatriz = void 0;
|
|
@@ -4289,7 +4580,7 @@ class AtribuicaoPorIndicesMatriz {
|
|
|
4289
4580
|
}
|
|
4290
4581
|
exports.AtribuicaoPorIndicesMatriz = AtribuicaoPorIndicesMatriz;
|
|
4291
4582
|
|
|
4292
|
-
},{}],
|
|
4583
|
+
},{}],30:[function(require,module,exports){
|
|
4293
4584
|
"use strict";
|
|
4294
4585
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4295
4586
|
exports.Atribuir = void 0;
|
|
@@ -4315,7 +4606,7 @@ class Atribuir {
|
|
|
4315
4606
|
}
|
|
4316
4607
|
exports.Atribuir = Atribuir;
|
|
4317
4608
|
|
|
4318
|
-
},{}],
|
|
4609
|
+
},{}],31:[function(require,module,exports){
|
|
4319
4610
|
"use strict";
|
|
4320
4611
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4321
4612
|
exports.Binario = void 0;
|
|
@@ -4372,7 +4663,7 @@ class Binario {
|
|
|
4372
4663
|
}
|
|
4373
4664
|
exports.Binario = Binario;
|
|
4374
4665
|
|
|
4375
|
-
},{}],
|
|
4666
|
+
},{}],32:[function(require,module,exports){
|
|
4376
4667
|
"use strict";
|
|
4377
4668
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4378
4669
|
exports.Chamada = void 0;
|
|
@@ -4381,12 +4672,11 @@ const geracao_identificadores_1 = require("../geracao-identificadores");
|
|
|
4381
4672
|
* Chamada de funções, métodos, etc.
|
|
4382
4673
|
*/
|
|
4383
4674
|
class Chamada {
|
|
4384
|
-
constructor(hashArquivo, entidadeChamada,
|
|
4675
|
+
constructor(hashArquivo, entidadeChamada, argumentos) {
|
|
4385
4676
|
this.id = (0, geracao_identificadores_1.uuidv4)();
|
|
4386
4677
|
this.linha = entidadeChamada.linha;
|
|
4387
4678
|
this.hashArquivo = hashArquivo;
|
|
4388
4679
|
this.entidadeChamada = entidadeChamada;
|
|
4389
|
-
this.parentese = parentese;
|
|
4390
4680
|
this.argumentos = argumentos;
|
|
4391
4681
|
}
|
|
4392
4682
|
async aceitar(visitante) {
|
|
@@ -4395,7 +4685,7 @@ class Chamada {
|
|
|
4395
4685
|
}
|
|
4396
4686
|
exports.Chamada = Chamada;
|
|
4397
4687
|
|
|
4398
|
-
},{"../geracao-identificadores":
|
|
4688
|
+
},{"../geracao-identificadores":114}],33:[function(require,module,exports){
|
|
4399
4689
|
"use strict";
|
|
4400
4690
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4401
4691
|
exports.Comentario = void 0;
|
|
@@ -4417,7 +4707,27 @@ class Comentario {
|
|
|
4417
4707
|
}
|
|
4418
4708
|
exports.Comentario = Comentario;
|
|
4419
4709
|
|
|
4420
|
-
},{}],
|
|
4710
|
+
},{}],34:[function(require,module,exports){
|
|
4711
|
+
"use strict";
|
|
4712
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4713
|
+
exports.ComponenteLinguagem = void 0;
|
|
4714
|
+
/**
|
|
4715
|
+
* Construto especial utilizado para especificar o tipo de
|
|
4716
|
+
* estruturas reservadas da linguagem.
|
|
4717
|
+
*/
|
|
4718
|
+
class ComponenteLinguagem {
|
|
4719
|
+
constructor(hashArquivo, simbolo) {
|
|
4720
|
+
this.hashArquivo = hashArquivo;
|
|
4721
|
+
this.linha = simbolo.linha;
|
|
4722
|
+
this.valor = simbolo.lexema;
|
|
4723
|
+
}
|
|
4724
|
+
aceitar(visitante) {
|
|
4725
|
+
throw new Error("Um componente de linguagem não tem método de visita.");
|
|
4726
|
+
}
|
|
4727
|
+
}
|
|
4728
|
+
exports.ComponenteLinguagem = ComponenteLinguagem;
|
|
4729
|
+
|
|
4730
|
+
},{}],35:[function(require,module,exports){
|
|
4421
4731
|
"use strict";
|
|
4422
4732
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4423
4733
|
exports.Constante = void 0;
|
|
@@ -4436,11 +4746,11 @@ class Constante {
|
|
|
4436
4746
|
}
|
|
4437
4747
|
exports.Constante = Constante;
|
|
4438
4748
|
|
|
4439
|
-
},{}],
|
|
4749
|
+
},{}],36:[function(require,module,exports){
|
|
4440
4750
|
"use strict";
|
|
4441
4751
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4442
4752
|
|
|
4443
|
-
},{}],
|
|
4753
|
+
},{}],37:[function(require,module,exports){
|
|
4444
4754
|
"use strict";
|
|
4445
4755
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4446
4756
|
exports.Decorador = void 0;
|
|
@@ -4461,7 +4771,7 @@ class Decorador {
|
|
|
4461
4771
|
}
|
|
4462
4772
|
exports.Decorador = Decorador;
|
|
4463
4773
|
|
|
4464
|
-
},{}],
|
|
4774
|
+
},{}],38:[function(require,module,exports){
|
|
4465
4775
|
"use strict";
|
|
4466
4776
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4467
4777
|
exports.DefinirValor = void 0;
|
|
@@ -4479,7 +4789,7 @@ class DefinirValor {
|
|
|
4479
4789
|
}
|
|
4480
4790
|
exports.DefinirValor = DefinirValor;
|
|
4481
4791
|
|
|
4482
|
-
},{}],
|
|
4792
|
+
},{}],39:[function(require,module,exports){
|
|
4483
4793
|
"use strict";
|
|
4484
4794
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4485
4795
|
exports.Dicionario = void 0;
|
|
@@ -4489,6 +4799,7 @@ class Dicionario {
|
|
|
4489
4799
|
this.hashArquivo = hashArquivo;
|
|
4490
4800
|
this.chaves = chaves;
|
|
4491
4801
|
this.valores = valores;
|
|
4802
|
+
this.tipo = 'dicionário';
|
|
4492
4803
|
}
|
|
4493
4804
|
async aceitar(visitante) {
|
|
4494
4805
|
return await visitante.visitarExpressaoDicionario(this);
|
|
@@ -4496,7 +4807,7 @@ class Dicionario {
|
|
|
4496
4807
|
}
|
|
4497
4808
|
exports.Dicionario = Dicionario;
|
|
4498
4809
|
|
|
4499
|
-
},{}],
|
|
4810
|
+
},{}],40:[function(require,module,exports){
|
|
4500
4811
|
"use strict";
|
|
4501
4812
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4502
4813
|
exports.ExpressaoRegular = void 0;
|
|
@@ -4513,7 +4824,7 @@ class ExpressaoRegular {
|
|
|
4513
4824
|
}
|
|
4514
4825
|
exports.ExpressaoRegular = ExpressaoRegular;
|
|
4515
4826
|
|
|
4516
|
-
},{}],
|
|
4827
|
+
},{}],41:[function(require,module,exports){
|
|
4517
4828
|
"use strict";
|
|
4518
4829
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4519
4830
|
exports.FimPara = void 0;
|
|
@@ -4540,7 +4851,7 @@ class FimPara {
|
|
|
4540
4851
|
}
|
|
4541
4852
|
exports.FimPara = FimPara;
|
|
4542
4853
|
|
|
4543
|
-
},{}],
|
|
4854
|
+
},{}],42:[function(require,module,exports){
|
|
4544
4855
|
"use strict";
|
|
4545
4856
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4546
4857
|
exports.FormatacaoEscrita = void 0;
|
|
@@ -4563,7 +4874,7 @@ class FormatacaoEscrita {
|
|
|
4563
4874
|
}
|
|
4564
4875
|
exports.FormatacaoEscrita = FormatacaoEscrita;
|
|
4565
4876
|
|
|
4566
|
-
},{}],
|
|
4877
|
+
},{}],43:[function(require,module,exports){
|
|
4567
4878
|
"use strict";
|
|
4568
4879
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4569
4880
|
exports.FuncaoConstruto = void 0;
|
|
@@ -4581,7 +4892,7 @@ class FuncaoConstruto {
|
|
|
4581
4892
|
}
|
|
4582
4893
|
exports.FuncaoConstruto = FuncaoConstruto;
|
|
4583
4894
|
|
|
4584
|
-
},{}],
|
|
4895
|
+
},{}],44:[function(require,module,exports){
|
|
4585
4896
|
"use strict";
|
|
4586
4897
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4587
4898
|
if (k2 === undefined) k2 = k;
|
|
@@ -4600,7 +4911,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
4600
4911
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4601
4912
|
__exportStar(require("./acesso-elemento-matriz"), exports);
|
|
4602
4913
|
__exportStar(require("./acesso-indice-variavel"), exports);
|
|
4914
|
+
__exportStar(require("./acesso-metodo"), exports);
|
|
4603
4915
|
__exportStar(require("./acesso-metodo-ou-propriedade"), exports);
|
|
4916
|
+
__exportStar(require("./acesso-propriedade"), exports);
|
|
4604
4917
|
__exportStar(require("./agrupamento"), exports);
|
|
4605
4918
|
__exportStar(require("./atribuicao-por-indice"), exports);
|
|
4606
4919
|
__exportStar(require("./atribuicao-por-indices-matriz"), exports);
|
|
@@ -4608,6 +4921,7 @@ __exportStar(require("./atribuir"), exports);
|
|
|
4608
4921
|
__exportStar(require("./binario"), exports);
|
|
4609
4922
|
__exportStar(require("./chamada"), exports);
|
|
4610
4923
|
__exportStar(require("./comentario"), exports);
|
|
4924
|
+
__exportStar(require("./componente-linguagem"), exports);
|
|
4611
4925
|
__exportStar(require("./constante"), exports);
|
|
4612
4926
|
__exportStar(require("./construto"), exports);
|
|
4613
4927
|
__exportStar(require("./decorador"), exports);
|
|
@@ -4620,15 +4934,15 @@ __exportStar(require("./funcao"), exports);
|
|
|
4620
4934
|
__exportStar(require("./isto"), exports);
|
|
4621
4935
|
__exportStar(require("./literal"), exports);
|
|
4622
4936
|
__exportStar(require("./logico"), exports);
|
|
4937
|
+
__exportStar(require("./qual-tipo"), exports);
|
|
4623
4938
|
__exportStar(require("./super"), exports);
|
|
4624
4939
|
__exportStar(require("./tipo-de"), exports);
|
|
4625
4940
|
__exportStar(require("./tuplas"), exports);
|
|
4626
4941
|
__exportStar(require("./unario"), exports);
|
|
4627
4942
|
__exportStar(require("./variavel"), exports);
|
|
4628
4943
|
__exportStar(require("./vetor"), exports);
|
|
4629
|
-
__exportStar(require("./qual-tipo"), exports);
|
|
4630
4944
|
|
|
4631
|
-
},{"./acesso-elemento-matriz":22,"./acesso-indice-variavel":23,"./acesso-metodo-ou-propriedade":24,"./agrupamento":
|
|
4945
|
+
},{"./acesso-elemento-matriz":22,"./acesso-indice-variavel":23,"./acesso-metodo":25,"./acesso-metodo-ou-propriedade":24,"./acesso-propriedade":26,"./agrupamento":27,"./atribuicao-por-indice":28,"./atribuicao-por-indices-matriz":29,"./atribuir":30,"./binario":31,"./chamada":32,"./comentario":33,"./componente-linguagem":34,"./constante":35,"./construto":36,"./decorador":37,"./definir-valor":38,"./dicionario":39,"./expressao-regular":40,"./fim-para":41,"./formatacao-escrita":42,"./funcao":43,"./isto":45,"./literal":46,"./logico":47,"./qual-tipo":48,"./super":49,"./tipo-de":50,"./tuplas":53,"./unario":62,"./variavel":63,"./vetor":64}],45:[function(require,module,exports){
|
|
4632
4946
|
"use strict";
|
|
4633
4947
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4634
4948
|
exports.Isto = void 0;
|
|
@@ -4644,7 +4958,7 @@ class Isto {
|
|
|
4644
4958
|
}
|
|
4645
4959
|
exports.Isto = Isto;
|
|
4646
4960
|
|
|
4647
|
-
},{}],
|
|
4961
|
+
},{}],46:[function(require,module,exports){
|
|
4648
4962
|
"use strict";
|
|
4649
4963
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4650
4964
|
exports.Literal = void 0;
|
|
@@ -4661,7 +4975,7 @@ class Literal {
|
|
|
4661
4975
|
}
|
|
4662
4976
|
exports.Literal = Literal;
|
|
4663
4977
|
|
|
4664
|
-
},{}],
|
|
4978
|
+
},{}],47:[function(require,module,exports){
|
|
4665
4979
|
"use strict";
|
|
4666
4980
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4667
4981
|
exports.Logico = void 0;
|
|
@@ -4679,7 +4993,7 @@ class Logico {
|
|
|
4679
4993
|
}
|
|
4680
4994
|
exports.Logico = Logico;
|
|
4681
4995
|
|
|
4682
|
-
},{}],
|
|
4996
|
+
},{}],48:[function(require,module,exports){
|
|
4683
4997
|
"use strict";
|
|
4684
4998
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4685
4999
|
exports.QualTipo = void 0;
|
|
@@ -4697,7 +5011,7 @@ class QualTipo {
|
|
|
4697
5011
|
}
|
|
4698
5012
|
exports.QualTipo = QualTipo;
|
|
4699
5013
|
|
|
4700
|
-
},{}],
|
|
5014
|
+
},{}],49:[function(require,module,exports){
|
|
4701
5015
|
"use strict";
|
|
4702
5016
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4703
5017
|
exports.Super = void 0;
|
|
@@ -4714,10 +5028,14 @@ class Super {
|
|
|
4714
5028
|
}
|
|
4715
5029
|
exports.Super = Super;
|
|
4716
5030
|
|
|
4717
|
-
},{}],
|
|
5031
|
+
},{}],50:[function(require,module,exports){
|
|
4718
5032
|
"use strict";
|
|
4719
5033
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4720
5034
|
exports.TipoDe = void 0;
|
|
5035
|
+
/**
|
|
5036
|
+
* Construto que solicita o tipo do valor. Normalmente usado em operações de
|
|
5037
|
+
* reflexão e metaprogramação.
|
|
5038
|
+
*/
|
|
4721
5039
|
class TipoDe {
|
|
4722
5040
|
constructor(hashArquivo, simbolo, valor) {
|
|
4723
5041
|
this.linha = Number(simbolo.linha);
|
|
@@ -4731,7 +5049,7 @@ class TipoDe {
|
|
|
4731
5049
|
}
|
|
4732
5050
|
exports.TipoDe = TipoDe;
|
|
4733
5051
|
|
|
4734
|
-
},{}],
|
|
5052
|
+
},{}],51:[function(require,module,exports){
|
|
4735
5053
|
"use strict";
|
|
4736
5054
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4737
5055
|
exports.Deceto = void 0;
|
|
@@ -4765,7 +5083,7 @@ class Deceto extends tupla_1.Tupla {
|
|
|
4765
5083
|
}
|
|
4766
5084
|
exports.Deceto = Deceto;
|
|
4767
5085
|
|
|
4768
|
-
},{"./tupla":
|
|
5086
|
+
},{"./tupla":61}],52:[function(require,module,exports){
|
|
4769
5087
|
"use strict";
|
|
4770
5088
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4771
5089
|
exports.Dupla = void 0;
|
|
@@ -4779,7 +5097,7 @@ class Dupla extends tupla_1.Tupla {
|
|
|
4779
5097
|
}
|
|
4780
5098
|
exports.Dupla = Dupla;
|
|
4781
5099
|
|
|
4782
|
-
},{"./tupla":
|
|
5100
|
+
},{"./tupla":61}],53:[function(require,module,exports){
|
|
4783
5101
|
"use strict";
|
|
4784
5102
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4785
5103
|
if (k2 === undefined) k2 = k;
|
|
@@ -4848,7 +5166,7 @@ class SeletorTuplas {
|
|
|
4848
5166
|
}
|
|
4849
5167
|
exports.SeletorTuplas = SeletorTuplas;
|
|
4850
5168
|
|
|
4851
|
-
},{"./deceto":
|
|
5169
|
+
},{"./deceto":51,"./dupla":52,"./noneto":54,"./octeto":55,"./quarteto":56,"./quinteto":57,"./septeto":58,"./sexteto":59,"./trio":60,"./tupla":61}],54:[function(require,module,exports){
|
|
4852
5170
|
"use strict";
|
|
4853
5171
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4854
5172
|
exports.Noneto = void 0;
|
|
@@ -4875,7 +5193,7 @@ class Noneto extends tupla_1.Tupla {
|
|
|
4875
5193
|
}
|
|
4876
5194
|
exports.Noneto = Noneto;
|
|
4877
5195
|
|
|
4878
|
-
},{"./tupla":
|
|
5196
|
+
},{"./tupla":61}],55:[function(require,module,exports){
|
|
4879
5197
|
"use strict";
|
|
4880
5198
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4881
5199
|
exports.Octeto = void 0;
|
|
@@ -4901,7 +5219,7 @@ class Octeto extends tupla_1.Tupla {
|
|
|
4901
5219
|
}
|
|
4902
5220
|
exports.Octeto = Octeto;
|
|
4903
5221
|
|
|
4904
|
-
},{"./tupla":
|
|
5222
|
+
},{"./tupla":61}],56:[function(require,module,exports){
|
|
4905
5223
|
"use strict";
|
|
4906
5224
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4907
5225
|
exports.Quarteto = void 0;
|
|
@@ -4917,7 +5235,7 @@ class Quarteto extends tupla_1.Tupla {
|
|
|
4917
5235
|
}
|
|
4918
5236
|
exports.Quarteto = Quarteto;
|
|
4919
5237
|
|
|
4920
|
-
},{"./tupla":
|
|
5238
|
+
},{"./tupla":61}],57:[function(require,module,exports){
|
|
4921
5239
|
"use strict";
|
|
4922
5240
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4923
5241
|
exports.Quinteto = void 0;
|
|
@@ -4934,7 +5252,7 @@ class Quinteto extends tupla_1.Tupla {
|
|
|
4934
5252
|
}
|
|
4935
5253
|
exports.Quinteto = Quinteto;
|
|
4936
5254
|
|
|
4937
|
-
},{"./tupla":
|
|
5255
|
+
},{"./tupla":61}],58:[function(require,module,exports){
|
|
4938
5256
|
"use strict";
|
|
4939
5257
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4940
5258
|
exports.Septeto = void 0;
|
|
@@ -4959,7 +5277,7 @@ class Septeto extends tupla_1.Tupla {
|
|
|
4959
5277
|
}
|
|
4960
5278
|
exports.Septeto = Septeto;
|
|
4961
5279
|
|
|
4962
|
-
},{"./tupla":
|
|
5280
|
+
},{"./tupla":61}],59:[function(require,module,exports){
|
|
4963
5281
|
"use strict";
|
|
4964
5282
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4965
5283
|
exports.Sexteto = void 0;
|
|
@@ -4977,7 +5295,7 @@ class Sexteto extends tupla_1.Tupla {
|
|
|
4977
5295
|
}
|
|
4978
5296
|
exports.Sexteto = Sexteto;
|
|
4979
5297
|
|
|
4980
|
-
},{"./tupla":
|
|
5298
|
+
},{"./tupla":61}],60:[function(require,module,exports){
|
|
4981
5299
|
"use strict";
|
|
4982
5300
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4983
5301
|
exports.Trio = void 0;
|
|
@@ -4992,7 +5310,7 @@ class Trio extends tupla_1.Tupla {
|
|
|
4992
5310
|
}
|
|
4993
5311
|
exports.Trio = Trio;
|
|
4994
5312
|
|
|
4995
|
-
},{"./tupla":
|
|
5313
|
+
},{"./tupla":61}],61:[function(require,module,exports){
|
|
4996
5314
|
"use strict";
|
|
4997
5315
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4998
5316
|
exports.Tupla = void 0;
|
|
@@ -5003,7 +5321,7 @@ class Tupla {
|
|
|
5003
5321
|
}
|
|
5004
5322
|
exports.Tupla = Tupla;
|
|
5005
5323
|
|
|
5006
|
-
},{}],
|
|
5324
|
+
},{}],62:[function(require,module,exports){
|
|
5007
5325
|
"use strict";
|
|
5008
5326
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5009
5327
|
exports.Unario = void 0;
|
|
@@ -5021,7 +5339,7 @@ class Unario {
|
|
|
5021
5339
|
}
|
|
5022
5340
|
exports.Unario = Unario;
|
|
5023
5341
|
|
|
5024
|
-
},{}],
|
|
5342
|
+
},{}],63:[function(require,module,exports){
|
|
5025
5343
|
"use strict";
|
|
5026
5344
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5027
5345
|
exports.Variavel = void 0;
|
|
@@ -5038,7 +5356,7 @@ class Variavel {
|
|
|
5038
5356
|
}
|
|
5039
5357
|
exports.Variavel = Variavel;
|
|
5040
5358
|
|
|
5041
|
-
},{}],
|
|
5359
|
+
},{}],64:[function(require,module,exports){
|
|
5042
5360
|
"use strict";
|
|
5043
5361
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5044
5362
|
exports.Vetor = void 0;
|
|
@@ -5061,7 +5379,7 @@ class Vetor {
|
|
|
5061
5379
|
}
|
|
5062
5380
|
exports.Vetor = Vetor;
|
|
5063
5381
|
|
|
5064
|
-
},{}],
|
|
5382
|
+
},{}],65:[function(require,module,exports){
|
|
5065
5383
|
"use strict";
|
|
5066
5384
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5067
5385
|
exports.Aleatorio = void 0;
|
|
@@ -5078,7 +5396,7 @@ class Aleatorio extends declaracao_1.Declaracao {
|
|
|
5078
5396
|
}
|
|
5079
5397
|
exports.Aleatorio = Aleatorio;
|
|
5080
5398
|
|
|
5081
|
-
},{"./declaracao":
|
|
5399
|
+
},{"./declaracao":72}],66:[function(require,module,exports){
|
|
5082
5400
|
"use strict";
|
|
5083
5401
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5084
5402
|
exports.Bloco = void 0;
|
|
@@ -5094,7 +5412,7 @@ class Bloco extends declaracao_1.Declaracao {
|
|
|
5094
5412
|
}
|
|
5095
5413
|
exports.Bloco = Bloco;
|
|
5096
5414
|
|
|
5097
|
-
},{"./declaracao":
|
|
5415
|
+
},{"./declaracao":72}],67:[function(require,module,exports){
|
|
5098
5416
|
"use strict";
|
|
5099
5417
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5100
5418
|
exports.CabecalhoPrograma = void 0;
|
|
@@ -5110,7 +5428,7 @@ class CabecalhoPrograma extends declaracao_1.Declaracao {
|
|
|
5110
5428
|
}
|
|
5111
5429
|
exports.CabecalhoPrograma = CabecalhoPrograma;
|
|
5112
5430
|
|
|
5113
|
-
},{"./declaracao":
|
|
5431
|
+
},{"./declaracao":72}],68:[function(require,module,exports){
|
|
5114
5432
|
"use strict";
|
|
5115
5433
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5116
5434
|
exports.Classe = void 0;
|
|
@@ -5130,7 +5448,7 @@ class Classe extends declaracao_1.Declaracao {
|
|
|
5130
5448
|
}
|
|
5131
5449
|
exports.Classe = Classe;
|
|
5132
5450
|
|
|
5133
|
-
},{"./declaracao":
|
|
5451
|
+
},{"./declaracao":72}],69:[function(require,module,exports){
|
|
5134
5452
|
"use strict";
|
|
5135
5453
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5136
5454
|
exports.ConstMultiplo = void 0;
|
|
@@ -5151,7 +5469,7 @@ class ConstMultiplo extends declaracao_1.Declaracao {
|
|
|
5151
5469
|
}
|
|
5152
5470
|
exports.ConstMultiplo = ConstMultiplo;
|
|
5153
5471
|
|
|
5154
|
-
},{"./declaracao":
|
|
5472
|
+
},{"./declaracao":72}],70:[function(require,module,exports){
|
|
5155
5473
|
"use strict";
|
|
5156
5474
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5157
5475
|
exports.Const = void 0;
|
|
@@ -5177,7 +5495,7 @@ class Const extends declaracao_1.Declaracao {
|
|
|
5177
5495
|
}
|
|
5178
5496
|
exports.Const = Const;
|
|
5179
5497
|
|
|
5180
|
-
},{"./declaracao":
|
|
5498
|
+
},{"./declaracao":72}],71:[function(require,module,exports){
|
|
5181
5499
|
"use strict";
|
|
5182
5500
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5183
5501
|
exports.Continua = void 0;
|
|
@@ -5192,7 +5510,7 @@ class Continua extends declaracao_1.Declaracao {
|
|
|
5192
5510
|
}
|
|
5193
5511
|
exports.Continua = Continua;
|
|
5194
5512
|
|
|
5195
|
-
},{"./declaracao":
|
|
5513
|
+
},{"./declaracao":72}],72:[function(require,module,exports){
|
|
5196
5514
|
"use strict";
|
|
5197
5515
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5198
5516
|
exports.Declaracao = void 0;
|
|
@@ -5212,7 +5530,7 @@ class Declaracao {
|
|
|
5212
5530
|
}
|
|
5213
5531
|
exports.Declaracao = Declaracao;
|
|
5214
5532
|
|
|
5215
|
-
},{}],
|
|
5533
|
+
},{}],73:[function(require,module,exports){
|
|
5216
5534
|
"use strict";
|
|
5217
5535
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5218
5536
|
exports.Enquanto = void 0;
|
|
@@ -5229,7 +5547,7 @@ class Enquanto extends declaracao_1.Declaracao {
|
|
|
5229
5547
|
}
|
|
5230
5548
|
exports.Enquanto = Enquanto;
|
|
5231
5549
|
|
|
5232
|
-
},{"./declaracao":
|
|
5550
|
+
},{"./declaracao":72}],74:[function(require,module,exports){
|
|
5233
5551
|
"use strict";
|
|
5234
5552
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5235
5553
|
exports.Escolha = void 0;
|
|
@@ -5250,7 +5568,7 @@ class Escolha extends declaracao_1.Declaracao {
|
|
|
5250
5568
|
}
|
|
5251
5569
|
exports.Escolha = Escolha;
|
|
5252
5570
|
|
|
5253
|
-
},{"./declaracao":
|
|
5571
|
+
},{"./declaracao":72}],75:[function(require,module,exports){
|
|
5254
5572
|
"use strict";
|
|
5255
5573
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5256
5574
|
exports.EscrevaMesmaLinha = void 0;
|
|
@@ -5266,7 +5584,7 @@ class EscrevaMesmaLinha extends declaracao_1.Declaracao {
|
|
|
5266
5584
|
}
|
|
5267
5585
|
exports.EscrevaMesmaLinha = EscrevaMesmaLinha;
|
|
5268
5586
|
|
|
5269
|
-
},{"./declaracao":
|
|
5587
|
+
},{"./declaracao":72}],76:[function(require,module,exports){
|
|
5270
5588
|
"use strict";
|
|
5271
5589
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5272
5590
|
exports.Escreva = void 0;
|
|
@@ -5282,7 +5600,7 @@ class Escreva extends declaracao_1.Declaracao {
|
|
|
5282
5600
|
}
|
|
5283
5601
|
exports.Escreva = Escreva;
|
|
5284
5602
|
|
|
5285
|
-
},{"./declaracao":
|
|
5603
|
+
},{"./declaracao":72}],77:[function(require,module,exports){
|
|
5286
5604
|
"use strict";
|
|
5287
5605
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5288
5606
|
exports.Expressao = void 0;
|
|
@@ -5298,7 +5616,7 @@ class Expressao extends declaracao_1.Declaracao {
|
|
|
5298
5616
|
}
|
|
5299
5617
|
exports.Expressao = Expressao;
|
|
5300
5618
|
|
|
5301
|
-
},{"./declaracao":
|
|
5619
|
+
},{"./declaracao":72}],78:[function(require,module,exports){
|
|
5302
5620
|
"use strict";
|
|
5303
5621
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5304
5622
|
exports.Falhar = void 0;
|
|
@@ -5315,7 +5633,7 @@ class Falhar extends declaracao_1.Declaracao {
|
|
|
5315
5633
|
}
|
|
5316
5634
|
exports.Falhar = Falhar;
|
|
5317
5635
|
|
|
5318
|
-
},{"./declaracao":
|
|
5636
|
+
},{"./declaracao":72}],79:[function(require,module,exports){
|
|
5319
5637
|
"use strict";
|
|
5320
5638
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5321
5639
|
exports.Fazer = void 0;
|
|
@@ -5332,7 +5650,7 @@ class Fazer extends declaracao_1.Declaracao {
|
|
|
5332
5650
|
}
|
|
5333
5651
|
exports.Fazer = Fazer;
|
|
5334
5652
|
|
|
5335
|
-
},{"./declaracao":
|
|
5653
|
+
},{"./declaracao":72}],80:[function(require,module,exports){
|
|
5336
5654
|
"use strict";
|
|
5337
5655
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5338
5656
|
exports.FuncaoDeclaracao = void 0;
|
|
@@ -5354,7 +5672,7 @@ class FuncaoDeclaracao extends declaracao_1.Declaracao {
|
|
|
5354
5672
|
}
|
|
5355
5673
|
exports.FuncaoDeclaracao = FuncaoDeclaracao;
|
|
5356
5674
|
|
|
5357
|
-
},{"./declaracao":
|
|
5675
|
+
},{"./declaracao":72}],81:[function(require,module,exports){
|
|
5358
5676
|
"use strict";
|
|
5359
5677
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5360
5678
|
exports.Importar = void 0;
|
|
@@ -5371,7 +5689,7 @@ class Importar extends declaracao_1.Declaracao {
|
|
|
5371
5689
|
}
|
|
5372
5690
|
exports.Importar = Importar;
|
|
5373
5691
|
|
|
5374
|
-
},{"./declaracao":
|
|
5692
|
+
},{"./declaracao":72}],82:[function(require,module,exports){
|
|
5375
5693
|
"use strict";
|
|
5376
5694
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5377
5695
|
if (k2 === undefined) k2 = k;
|
|
@@ -5420,7 +5738,7 @@ __exportStar(require("./var"), exports);
|
|
|
5420
5738
|
__exportStar(require("./var-multiplo"), exports);
|
|
5421
5739
|
__exportStar(require("./aleatorio"), exports);
|
|
5422
5740
|
|
|
5423
|
-
},{"./aleatorio":
|
|
5741
|
+
},{"./aleatorio":65,"./bloco":66,"./cabecalho-programa":67,"./classe":68,"./const":70,"./const-multiplo":69,"./continua":71,"./declaracao":72,"./enquanto":73,"./escolha":74,"./escreva":76,"./escreva-mesma-linha":75,"./expressao":77,"./falhar":78,"./fazer":79,"./funcao":80,"./importar":81,"./inicio-algoritmo":83,"./leia":85,"./leia-multiplo":84,"./para":87,"./para-cada":86,"./propriedade-classe":88,"./retorna":89,"./se":90,"./sustar":91,"./tendo-como":92,"./tente":93,"./var":95,"./var-multiplo":94}],83:[function(require,module,exports){
|
|
5424
5742
|
"use strict";
|
|
5425
5743
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5426
5744
|
exports.InicioAlgoritmo = void 0;
|
|
@@ -5435,7 +5753,7 @@ class InicioAlgoritmo extends declaracao_1.Declaracao {
|
|
|
5435
5753
|
}
|
|
5436
5754
|
exports.InicioAlgoritmo = InicioAlgoritmo;
|
|
5437
5755
|
|
|
5438
|
-
},{"./declaracao":
|
|
5756
|
+
},{"./declaracao":72}],84:[function(require,module,exports){
|
|
5439
5757
|
"use strict";
|
|
5440
5758
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5441
5759
|
exports.LeiaMultiplo = void 0;
|
|
@@ -5458,7 +5776,7 @@ class LeiaMultiplo extends declaracao_1.Declaracao {
|
|
|
5458
5776
|
}
|
|
5459
5777
|
exports.LeiaMultiplo = LeiaMultiplo;
|
|
5460
5778
|
|
|
5461
|
-
},{"../geracao-identificadores":
|
|
5779
|
+
},{"../geracao-identificadores":114,"./declaracao":72}],85:[function(require,module,exports){
|
|
5462
5780
|
"use strict";
|
|
5463
5781
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5464
5782
|
exports.Leia = void 0;
|
|
@@ -5481,7 +5799,7 @@ class Leia extends declaracao_1.Declaracao {
|
|
|
5481
5799
|
}
|
|
5482
5800
|
exports.Leia = Leia;
|
|
5483
5801
|
|
|
5484
|
-
},{"../geracao-identificadores":
|
|
5802
|
+
},{"../geracao-identificadores":114,"./declaracao":72}],86:[function(require,module,exports){
|
|
5485
5803
|
"use strict";
|
|
5486
5804
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5487
5805
|
exports.ParaCada = void 0;
|
|
@@ -5500,7 +5818,7 @@ class ParaCada extends declaracao_1.Declaracao {
|
|
|
5500
5818
|
}
|
|
5501
5819
|
exports.ParaCada = ParaCada;
|
|
5502
5820
|
|
|
5503
|
-
},{"./declaracao":
|
|
5821
|
+
},{"./declaracao":72}],87:[function(require,module,exports){
|
|
5504
5822
|
"use strict";
|
|
5505
5823
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5506
5824
|
exports.Para = void 0;
|
|
@@ -5526,7 +5844,7 @@ class Para extends declaracao_1.Declaracao {
|
|
|
5526
5844
|
}
|
|
5527
5845
|
exports.Para = Para;
|
|
5528
5846
|
|
|
5529
|
-
},{"./declaracao":
|
|
5847
|
+
},{"./declaracao":72}],88:[function(require,module,exports){
|
|
5530
5848
|
"use strict";
|
|
5531
5849
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5532
5850
|
exports.PropriedadeClasse = void 0;
|
|
@@ -5544,7 +5862,7 @@ class PropriedadeClasse extends declaracao_1.Declaracao {
|
|
|
5544
5862
|
}
|
|
5545
5863
|
exports.PropriedadeClasse = PropriedadeClasse;
|
|
5546
5864
|
|
|
5547
|
-
},{"./declaracao":
|
|
5865
|
+
},{"./declaracao":72}],89:[function(require,module,exports){
|
|
5548
5866
|
"use strict";
|
|
5549
5867
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5550
5868
|
exports.Retorna = void 0;
|
|
@@ -5567,7 +5885,7 @@ class Retorna extends declaracao_1.Declaracao {
|
|
|
5567
5885
|
}
|
|
5568
5886
|
exports.Retorna = Retorna;
|
|
5569
5887
|
|
|
5570
|
-
},{"./declaracao":
|
|
5888
|
+
},{"./declaracao":72}],90:[function(require,module,exports){
|
|
5571
5889
|
"use strict";
|
|
5572
5890
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5573
5891
|
exports.Se = void 0;
|
|
@@ -5586,7 +5904,7 @@ class Se extends declaracao_1.Declaracao {
|
|
|
5586
5904
|
}
|
|
5587
5905
|
exports.Se = Se;
|
|
5588
5906
|
|
|
5589
|
-
},{"./declaracao":
|
|
5907
|
+
},{"./declaracao":72}],91:[function(require,module,exports){
|
|
5590
5908
|
"use strict";
|
|
5591
5909
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5592
5910
|
exports.Sustar = void 0;
|
|
@@ -5601,7 +5919,7 @@ class Sustar extends declaracao_1.Declaracao {
|
|
|
5601
5919
|
}
|
|
5602
5920
|
exports.Sustar = Sustar;
|
|
5603
5921
|
|
|
5604
|
-
},{"./declaracao":
|
|
5922
|
+
},{"./declaracao":72}],92:[function(require,module,exports){
|
|
5605
5923
|
"use strict";
|
|
5606
5924
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5607
5925
|
exports.TendoComo = void 0;
|
|
@@ -5624,7 +5942,7 @@ class TendoComo extends declaracao_1.Declaracao {
|
|
|
5624
5942
|
}
|
|
5625
5943
|
exports.TendoComo = TendoComo;
|
|
5626
5944
|
|
|
5627
|
-
},{"./declaracao":
|
|
5945
|
+
},{"./declaracao":72}],93:[function(require,module,exports){
|
|
5628
5946
|
"use strict";
|
|
5629
5947
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5630
5948
|
exports.Tente = void 0;
|
|
@@ -5646,7 +5964,7 @@ class Tente extends declaracao_1.Declaracao {
|
|
|
5646
5964
|
}
|
|
5647
5965
|
exports.Tente = Tente;
|
|
5648
5966
|
|
|
5649
|
-
},{"./declaracao":
|
|
5967
|
+
},{"./declaracao":72}],94:[function(require,module,exports){
|
|
5650
5968
|
"use strict";
|
|
5651
5969
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5652
5970
|
exports.VarMultiplo = void 0;
|
|
@@ -5668,7 +5986,7 @@ class VarMultiplo extends declaracao_1.Declaracao {
|
|
|
5668
5986
|
}
|
|
5669
5987
|
exports.VarMultiplo = VarMultiplo;
|
|
5670
5988
|
|
|
5671
|
-
},{"./declaracao":
|
|
5989
|
+
},{"./declaracao":72}],95:[function(require,module,exports){
|
|
5672
5990
|
"use strict";
|
|
5673
5991
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5674
5992
|
exports.Var = void 0;
|
|
@@ -5696,7 +6014,7 @@ class Var extends declaracao_1.Declaracao {
|
|
|
5696
6014
|
}
|
|
5697
6015
|
exports.Var = Var;
|
|
5698
6016
|
|
|
5699
|
-
},{"./declaracao":
|
|
6017
|
+
},{"./declaracao":72}],96:[function(require,module,exports){
|
|
5700
6018
|
"use strict";
|
|
5701
6019
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5702
6020
|
exports.default = cyrb53;
|
|
@@ -5720,7 +6038,7 @@ function cyrb53(nomeArquivo, semente = 0) {
|
|
|
5720
6038
|
return 4294967296 * (2097151 & h2) + (h1 >>> 0);
|
|
5721
6039
|
}
|
|
5722
6040
|
|
|
5723
|
-
},{}],
|
|
6041
|
+
},{}],97:[function(require,module,exports){
|
|
5724
6042
|
"use strict";
|
|
5725
6043
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5726
6044
|
if (k2 === undefined) k2 = k;
|
|
@@ -5745,11 +6063,11 @@ var cyrb53_1 = require("./cyrb53");
|
|
|
5745
6063
|
Object.defineProperty(exports, "cyrb53", { enumerable: true, get: function () { return __importDefault(cyrb53_1).default; } });
|
|
5746
6064
|
__exportStar(require("./ponto-parada"), exports);
|
|
5747
6065
|
|
|
5748
|
-
},{"./cyrb53":
|
|
6066
|
+
},{"./cyrb53":96,"./ponto-parada":98}],98:[function(require,module,exports){
|
|
5749
6067
|
"use strict";
|
|
5750
6068
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5751
6069
|
|
|
5752
|
-
},{}],
|
|
6070
|
+
},{}],99:[function(require,module,exports){
|
|
5753
6071
|
"use strict";
|
|
5754
6072
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5755
6073
|
exports.EspacoVariaveis = void 0;
|
|
@@ -5770,7 +6088,7 @@ class EspacoVariaveis {
|
|
|
5770
6088
|
}
|
|
5771
6089
|
exports.EspacoVariaveis = EspacoVariaveis;
|
|
5772
6090
|
|
|
5773
|
-
},{}],
|
|
6091
|
+
},{}],100:[function(require,module,exports){
|
|
5774
6092
|
"use strict";
|
|
5775
6093
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5776
6094
|
exports.Chamavel = void 0;
|
|
@@ -5784,7 +6102,7 @@ class Chamavel {
|
|
|
5784
6102
|
}
|
|
5785
6103
|
exports.Chamavel = Chamavel;
|
|
5786
6104
|
|
|
5787
|
-
},{}],
|
|
6105
|
+
},{}],101:[function(require,module,exports){
|
|
5788
6106
|
"use strict";
|
|
5789
6107
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5790
6108
|
exports.ClassePadrao = void 0;
|
|
@@ -5825,7 +6143,7 @@ class ClassePadrao extends chamavel_1.Chamavel {
|
|
|
5825
6143
|
}
|
|
5826
6144
|
exports.ClassePadrao = ClassePadrao;
|
|
5827
6145
|
|
|
5828
|
-
},{"./chamavel":
|
|
6146
|
+
},{"./chamavel":100}],102:[function(require,module,exports){
|
|
5829
6147
|
"use strict";
|
|
5830
6148
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5831
6149
|
exports.DeleguaFuncao = void 0;
|
|
@@ -5967,7 +6285,7 @@ class DeleguaFuncao extends chamavel_1.Chamavel {
|
|
|
5967
6285
|
}
|
|
5968
6286
|
exports.DeleguaFuncao = DeleguaFuncao;
|
|
5969
6287
|
|
|
5970
|
-
},{"../declaracoes":
|
|
6288
|
+
},{"../declaracoes":82,"../espaco-variaveis":99,"../inferenciador":116,"../quebras":160,"./chamavel":100}],103:[function(require,module,exports){
|
|
5971
6289
|
"use strict";
|
|
5972
6290
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5973
6291
|
exports.DescritorTipoClasse = void 0;
|
|
@@ -6048,7 +6366,7 @@ class DescritorTipoClasse extends chamavel_1.Chamavel {
|
|
|
6048
6366
|
}
|
|
6049
6367
|
exports.DescritorTipoClasse = DescritorTipoClasse;
|
|
6050
6368
|
|
|
6051
|
-
},{"../excecoes":
|
|
6369
|
+
},{"../excecoes":111,"./chamavel":100,"./objeto-delegua-classe":108}],104:[function(require,module,exports){
|
|
6052
6370
|
"use strict";
|
|
6053
6371
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6054
6372
|
exports.FuncaoPadrao = void 0;
|
|
@@ -6084,7 +6402,7 @@ class FuncaoPadrao extends chamavel_1.Chamavel {
|
|
|
6084
6402
|
}
|
|
6085
6403
|
exports.FuncaoPadrao = FuncaoPadrao;
|
|
6086
6404
|
|
|
6087
|
-
},{"./chamavel":
|
|
6405
|
+
},{"./chamavel":100}],105:[function(require,module,exports){
|
|
6088
6406
|
"use strict";
|
|
6089
6407
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6090
6408
|
if (k2 === undefined) k2 = k;
|
|
@@ -6111,7 +6429,7 @@ __exportStar(require("./modulo"), exports);
|
|
|
6111
6429
|
__exportStar(require("./objeto-delegua-classe"), exports);
|
|
6112
6430
|
__exportStar(require("./objeto-padrao"), exports);
|
|
6113
6431
|
|
|
6114
|
-
},{"./chamavel":
|
|
6432
|
+
},{"./chamavel":100,"./classe-padrao":101,"./delegua-funcao":102,"./descritor-tipo-classe":103,"./funcao-padrao":104,"./metodo-primitiva":106,"./modulo":107,"./objeto-delegua-classe":108,"./objeto-padrao":109}],106:[function(require,module,exports){
|
|
6115
6433
|
"use strict";
|
|
6116
6434
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6117
6435
|
exports.MetodoPrimitiva = void 0;
|
|
@@ -6153,7 +6471,7 @@ class MetodoPrimitiva extends chamavel_1.Chamavel {
|
|
|
6153
6471
|
}
|
|
6154
6472
|
exports.MetodoPrimitiva = MetodoPrimitiva;
|
|
6155
6473
|
|
|
6156
|
-
},{"./chamavel":
|
|
6474
|
+
},{"./chamavel":100}],107:[function(require,module,exports){
|
|
6157
6475
|
"use strict";
|
|
6158
6476
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6159
6477
|
exports.DeleguaModulo = void 0;
|
|
@@ -6179,7 +6497,7 @@ class DeleguaModulo {
|
|
|
6179
6497
|
}
|
|
6180
6498
|
exports.DeleguaModulo = DeleguaModulo;
|
|
6181
6499
|
|
|
6182
|
-
},{}],
|
|
6500
|
+
},{}],108:[function(require,module,exports){
|
|
6183
6501
|
"use strict";
|
|
6184
6502
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6185
6503
|
exports.ObjetoDeleguaClasse = void 0;
|
|
@@ -6211,6 +6529,18 @@ class ObjetoDeleguaClasse {
|
|
|
6211
6529
|
return metodo.funcaoPorMetodoDeClasse(this);
|
|
6212
6530
|
throw new excecoes_1.ErroEmTempoDeExecucao(simbolo, `Método ou propriedade "${simbolo.lexema}" não existe neste objeto.`);
|
|
6213
6531
|
}
|
|
6532
|
+
obterMetodo(nomeMetodo) {
|
|
6533
|
+
const metodo = this.classe.encontrarMetodo(nomeMetodo);
|
|
6534
|
+
if (metodo)
|
|
6535
|
+
return metodo.funcaoPorMetodoDeClasse(this);
|
|
6536
|
+
throw new excecoes_1.ErroEmTempoDeExecucao(null, `Método "${nomeMetodo}" não existe neste objeto.`);
|
|
6537
|
+
}
|
|
6538
|
+
obterPropriedade(nomePropriedade) {
|
|
6539
|
+
if (this.propriedades.hasOwnProperty(nomePropriedade)) {
|
|
6540
|
+
return this.propriedades[nomePropriedade];
|
|
6541
|
+
}
|
|
6542
|
+
throw new excecoes_1.ErroEmTempoDeExecucao(null, `Propriedade "${nomePropriedade}" não existe neste objeto.`);
|
|
6543
|
+
}
|
|
6214
6544
|
definir(simbolo, valor) {
|
|
6215
6545
|
if (this.classe.dialetoRequerDeclaracaoPropriedades && !this.propriedades.hasOwnProperty(simbolo.lexema)) {
|
|
6216
6546
|
throw new excecoes_1.ErroEmTempoDeExecucao(simbolo, `Propriedade "${simbolo.lexema}" não foi definida na declaração da classe ${this.classe.simboloOriginal.lexema}.`);
|
|
@@ -6234,7 +6564,7 @@ class ObjetoDeleguaClasse {
|
|
|
6234
6564
|
}
|
|
6235
6565
|
exports.ObjetoDeleguaClasse = ObjetoDeleguaClasse;
|
|
6236
6566
|
|
|
6237
|
-
},{"../excecoes":
|
|
6567
|
+
},{"../excecoes":111}],109:[function(require,module,exports){
|
|
6238
6568
|
"use strict";
|
|
6239
6569
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6240
6570
|
exports.ObjetoPadrao = void 0;
|
|
@@ -6268,7 +6598,7 @@ class ObjetoPadrao {
|
|
|
6268
6598
|
}
|
|
6269
6599
|
exports.ObjetoPadrao = ObjetoPadrao;
|
|
6270
6600
|
|
|
6271
|
-
},{}],
|
|
6601
|
+
},{}],110:[function(require,module,exports){
|
|
6272
6602
|
"use strict";
|
|
6273
6603
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6274
6604
|
exports.ErroEmTempoDeExecucao = void 0;
|
|
@@ -6283,7 +6613,7 @@ class ErroEmTempoDeExecucao extends Error {
|
|
|
6283
6613
|
}
|
|
6284
6614
|
exports.ErroEmTempoDeExecucao = ErroEmTempoDeExecucao;
|
|
6285
6615
|
|
|
6286
|
-
},{}],
|
|
6616
|
+
},{}],111:[function(require,module,exports){
|
|
6287
6617
|
"use strict";
|
|
6288
6618
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6289
6619
|
if (k2 === undefined) k2 = k;
|
|
@@ -6302,7 +6632,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
6302
6632
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6303
6633
|
__exportStar(require("./erro-em-tempo-de-execucao"), exports);
|
|
6304
6634
|
|
|
6305
|
-
},{"./erro-em-tempo-de-execucao":
|
|
6635
|
+
},{"./erro-em-tempo-de-execucao":110}],112:[function(require,module,exports){
|
|
6306
6636
|
"use strict";
|
|
6307
6637
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6308
6638
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -6324,6 +6654,16 @@ class FormatadorDelegua {
|
|
|
6324
6654
|
this.devePularLinha = true;
|
|
6325
6655
|
this.deveIndentar = true;
|
|
6326
6656
|
}
|
|
6657
|
+
visitarExpressaoAcessoMetodo(expressao) {
|
|
6658
|
+
this.formatarDeclaracaoOuConstruto(expressao.objeto);
|
|
6659
|
+
this.codigoFormatado += '.';
|
|
6660
|
+
this.codigoFormatado += expressao.nomeMetodo;
|
|
6661
|
+
}
|
|
6662
|
+
visitarExpressaoAcessoPropriedade(expressao) {
|
|
6663
|
+
this.formatarDeclaracaoOuConstruto(expressao.objeto);
|
|
6664
|
+
this.codigoFormatado += '.';
|
|
6665
|
+
this.codigoFormatado += expressao.nomePropriedade;
|
|
6666
|
+
}
|
|
6327
6667
|
visitarDeclaracaoComentario(declaracao) {
|
|
6328
6668
|
if (declaracao.multilinha) {
|
|
6329
6669
|
this.codigoFormatado += `${' '.repeat(this.indentacaoAtual)}/* `;
|
|
@@ -6571,7 +6911,7 @@ class FormatadorDelegua {
|
|
|
6571
6911
|
this.formatarDeclaracaoOuConstruto(expressao.indice);
|
|
6572
6912
|
this.codigoFormatado += `]`;
|
|
6573
6913
|
}
|
|
6574
|
-
|
|
6914
|
+
visitarExpressaoAcessoMetodoOuPropriedade(expressao) {
|
|
6575
6915
|
this.formatarDeclaracaoOuConstruto(expressao.objeto);
|
|
6576
6916
|
this.codigoFormatado += '.';
|
|
6577
6917
|
this.codigoFormatado += expressao.simbolo.lexema;
|
|
@@ -6843,7 +7183,7 @@ class FormatadorDelegua {
|
|
|
6843
7183
|
this.visitarExpressaoAcessoIndiceVariavel(declaracaoOuConstruto);
|
|
6844
7184
|
break;
|
|
6845
7185
|
case 'AcessoMetodoOuPropriedade':
|
|
6846
|
-
this.
|
|
7186
|
+
this.visitarExpressaoAcessoMetodoOuPropriedade(declaracaoOuConstruto);
|
|
6847
7187
|
break;
|
|
6848
7188
|
case 'Agrupamento':
|
|
6849
7189
|
this.visitarExpressaoAgrupamento(declaracaoOuConstruto);
|
|
@@ -6980,7 +7320,7 @@ class FormatadorDelegua {
|
|
|
6980
7320
|
}
|
|
6981
7321
|
exports.FormatadorDelegua = FormatadorDelegua;
|
|
6982
7322
|
|
|
6983
|
-
},{"../construtos":
|
|
7323
|
+
},{"../construtos":44,"../tipos-de-simbolos/delegua":164}],113:[function(require,module,exports){
|
|
6984
7324
|
"use strict";
|
|
6985
7325
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6986
7326
|
if (k2 === undefined) k2 = k;
|
|
@@ -6999,7 +7339,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
6999
7339
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7000
7340
|
__exportStar(require("./formatador-delegua"), exports);
|
|
7001
7341
|
|
|
7002
|
-
},{"./formatador-delegua":
|
|
7342
|
+
},{"./formatador-delegua":112}],114:[function(require,module,exports){
|
|
7003
7343
|
"use strict";
|
|
7004
7344
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7005
7345
|
exports.uuidv4 = uuidv4;
|
|
@@ -7023,7 +7363,7 @@ function uuidv4() {
|
|
|
7023
7363
|
});
|
|
7024
7364
|
}
|
|
7025
7365
|
|
|
7026
|
-
},{}],
|
|
7366
|
+
},{}],115:[function(require,module,exports){
|
|
7027
7367
|
"use strict";
|
|
7028
7368
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7029
7369
|
if (k2 === undefined) k2 = k;
|
|
@@ -7052,7 +7392,7 @@ __exportStar(require("./interpretador"), exports);
|
|
|
7052
7392
|
__exportStar(require("./lexador"), exports);
|
|
7053
7393
|
__exportStar(require("./tradutores"), exports);
|
|
7054
7394
|
|
|
7055
|
-
},{"./avaliador-sintatico":8,"./construtos":
|
|
7395
|
+
},{"./avaliador-sintatico":8,"./construtos":44,"./declaracoes":82,"./depuracao":97,"./formatadores":113,"./interfaces":122,"./interpretador":140,"./lexador":153,"./tradutores":170}],116:[function(require,module,exports){
|
|
7056
7396
|
"use strict";
|
|
7057
7397
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7058
7398
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -7179,15 +7519,15 @@ function tipoInferenciaParaTipoDadosElementar(tipoInferencia) {
|
|
|
7179
7519
|
}
|
|
7180
7520
|
}
|
|
7181
7521
|
|
|
7182
|
-
},{"./tipos-de-dados/delegua":
|
|
7522
|
+
},{"./tipos-de-dados/delegua":161,"./tipos-de-dados/primitivos":162,"./tipos-de-simbolos/delegua":164}],117:[function(require,module,exports){
|
|
7183
7523
|
"use strict";
|
|
7184
7524
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7185
7525
|
|
|
7186
|
-
},{}],
|
|
7526
|
+
},{}],118:[function(require,module,exports){
|
|
7187
7527
|
"use strict";
|
|
7188
7528
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7189
7529
|
|
|
7190
|
-
},{}],
|
|
7530
|
+
},{}],119:[function(require,module,exports){
|
|
7191
7531
|
"use strict";
|
|
7192
7532
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7193
7533
|
exports.DiagnosticoSeveridade = void 0;
|
|
@@ -7199,7 +7539,7 @@ var DiagnosticoSeveridade;
|
|
|
7199
7539
|
DiagnosticoSeveridade[DiagnosticoSeveridade["SUGESTAO"] = 3] = "SUGESTAO";
|
|
7200
7540
|
})(DiagnosticoSeveridade || (exports.DiagnosticoSeveridade = DiagnosticoSeveridade = {}));
|
|
7201
7541
|
|
|
7202
|
-
},{}],
|
|
7542
|
+
},{}],120:[function(require,module,exports){
|
|
7203
7543
|
"use strict";
|
|
7204
7544
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7205
7545
|
if (k2 === undefined) k2 = k;
|
|
@@ -7218,11 +7558,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
7218
7558
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7219
7559
|
__exportStar(require("./diagnostico-analisador-semantico"), exports);
|
|
7220
7560
|
|
|
7221
|
-
},{"./diagnostico-analisador-semantico":
|
|
7561
|
+
},{"./diagnostico-analisador-semantico":119}],121:[function(require,module,exports){
|
|
7222
7562
|
"use strict";
|
|
7223
7563
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7224
7564
|
|
|
7225
|
-
},{}],
|
|
7565
|
+
},{}],122:[function(require,module,exports){
|
|
7226
7566
|
"use strict";
|
|
7227
7567
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7228
7568
|
if (k2 === undefined) k2 = k;
|
|
@@ -7246,6 +7586,7 @@ __exportStar(require("./interpretador-interface"), exports);
|
|
|
7246
7586
|
__exportStar(require("./lexador-interface"), exports);
|
|
7247
7587
|
__exportStar(require("./parametro-interface"), exports);
|
|
7248
7588
|
__exportStar(require("./pilha-interface"), exports);
|
|
7589
|
+
__exportStar(require("./primitiva-interface"), exports);
|
|
7249
7590
|
__exportStar(require("./resolvedor-interface"), exports);
|
|
7250
7591
|
__exportStar(require("./retornos/retorno-execucao-interface"), exports);
|
|
7251
7592
|
__exportStar(require("./simbolo-interface"), exports);
|
|
@@ -7256,31 +7597,35 @@ __exportStar(require("./construtos"), exports);
|
|
|
7256
7597
|
__exportStar(require("./erros"), exports);
|
|
7257
7598
|
__exportStar(require("./retornos"), exports);
|
|
7258
7599
|
|
|
7259
|
-
},{"./avaliador-sintatico-interface":
|
|
7600
|
+
},{"./avaliador-sintatico-interface":117,"./construtos":118,"./erros":120,"./formatador-comum-interface":121,"./interpretador-com-depuracao-interface":123,"./interpretador-interface":124,"./lexador-interface":125,"./parametro-interface":126,"./pilha-interface":127,"./primitiva-interface":128,"./resolvedor-interface":129,"./retornos":130,"./retornos/retorno-execucao-interface":132,"./simbolo-interface":135,"./tradutor-interface":136,"./variavel-interface":137,"./visitante-comum-interface":138}],123:[function(require,module,exports){
|
|
7260
7601
|
"use strict";
|
|
7261
7602
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7262
7603
|
|
|
7263
|
-
},{}],
|
|
7604
|
+
},{}],124:[function(require,module,exports){
|
|
7264
7605
|
"use strict";
|
|
7265
7606
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7266
7607
|
|
|
7267
|
-
},{}],
|
|
7608
|
+
},{}],125:[function(require,module,exports){
|
|
7268
7609
|
"use strict";
|
|
7269
7610
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7270
7611
|
|
|
7271
|
-
},{}],
|
|
7612
|
+
},{}],126:[function(require,module,exports){
|
|
7272
7613
|
"use strict";
|
|
7273
7614
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7274
7615
|
|
|
7275
|
-
},{}],
|
|
7616
|
+
},{}],127:[function(require,module,exports){
|
|
7276
7617
|
"use strict";
|
|
7277
7618
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7278
7619
|
|
|
7279
|
-
},{}],
|
|
7620
|
+
},{}],128:[function(require,module,exports){
|
|
7280
7621
|
"use strict";
|
|
7281
7622
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7282
7623
|
|
|
7283
|
-
},{}],
|
|
7624
|
+
},{}],129:[function(require,module,exports){
|
|
7625
|
+
"use strict";
|
|
7626
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7627
|
+
|
|
7628
|
+
},{}],130:[function(require,module,exports){
|
|
7284
7629
|
"use strict";
|
|
7285
7630
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7286
7631
|
if (k2 === undefined) k2 = k;
|
|
@@ -7302,39 +7647,39 @@ __exportStar(require("./retorno-execucao-interface"), exports);
|
|
|
7302
7647
|
__exportStar(require("./retorno-interpretador"), exports);
|
|
7303
7648
|
__exportStar(require("./retorno-lexador"), exports);
|
|
7304
7649
|
|
|
7305
|
-
},{"./retorno-avaliador-sintatico":
|
|
7650
|
+
},{"./retorno-avaliador-sintatico":131,"./retorno-execucao-interface":132,"./retorno-interpretador":133,"./retorno-lexador":134}],131:[function(require,module,exports){
|
|
7306
7651
|
"use strict";
|
|
7307
7652
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7308
7653
|
|
|
7309
|
-
},{}],
|
|
7654
|
+
},{}],132:[function(require,module,exports){
|
|
7310
7655
|
"use strict";
|
|
7311
7656
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7312
7657
|
|
|
7313
|
-
},{}],
|
|
7658
|
+
},{}],133:[function(require,module,exports){
|
|
7314
7659
|
"use strict";
|
|
7315
7660
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7316
7661
|
|
|
7317
|
-
},{}],
|
|
7662
|
+
},{}],134:[function(require,module,exports){
|
|
7318
7663
|
"use strict";
|
|
7319
7664
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7320
7665
|
|
|
7321
|
-
},{}],
|
|
7666
|
+
},{}],135:[function(require,module,exports){
|
|
7322
7667
|
"use strict";
|
|
7323
7668
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7324
7669
|
|
|
7325
|
-
},{}],
|
|
7670
|
+
},{}],136:[function(require,module,exports){
|
|
7326
7671
|
"use strict";
|
|
7327
7672
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7328
7673
|
|
|
7329
|
-
},{}],
|
|
7674
|
+
},{}],137:[function(require,module,exports){
|
|
7330
7675
|
"use strict";
|
|
7331
7676
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7332
7677
|
|
|
7333
|
-
},{}],
|
|
7678
|
+
},{}],138:[function(require,module,exports){
|
|
7334
7679
|
"use strict";
|
|
7335
7680
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7336
7681
|
|
|
7337
|
-
},{}],
|
|
7682
|
+
},{}],139:[function(require,module,exports){
|
|
7338
7683
|
"use strict";
|
|
7339
7684
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7340
7685
|
if (k2 === undefined) k2 = k;
|
|
@@ -7387,7 +7732,7 @@ function carregarBibliotecasGlobais(pilhaEscoposExecucao) {
|
|
|
7387
7732
|
pilhaEscoposExecucao.definirVariavel('tupla', new funcao_padrao_1.FuncaoPadrao(1, bibliotecaGlobal.tupla));
|
|
7388
7733
|
}
|
|
7389
7734
|
|
|
7390
|
-
},{"../bibliotecas/biblioteca-global":17,"../estruturas/funcao-padrao":
|
|
7735
|
+
},{"../bibliotecas/biblioteca-global":17,"../estruturas/funcao-padrao":104}],140:[function(require,module,exports){
|
|
7391
7736
|
"use strict";
|
|
7392
7737
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7393
7738
|
if (k2 === undefined) k2 = k;
|
|
@@ -7404,10 +7749,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
7404
7749
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
7405
7750
|
};
|
|
7406
7751
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7752
|
+
__exportStar(require("./interpretador"), exports);
|
|
7407
7753
|
__exportStar(require("./interpretador-base"), exports);
|
|
7408
7754
|
__exportStar(require("./interpretador-com-depuracao"), exports);
|
|
7409
7755
|
|
|
7410
|
-
},{"./interpretador-base":
|
|
7756
|
+
},{"./interpretador":143,"./interpretador-base":141,"./interpretador-com-depuracao":142}],141:[function(require,module,exports){
|
|
7411
7757
|
(function (process){(function (){
|
|
7412
7758
|
"use strict";
|
|
7413
7759
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -7483,6 +7829,12 @@ class InterpretadorBase {
|
|
|
7483
7829
|
this.pilhaEscoposExecucao.empilhar(escopoExecucao);
|
|
7484
7830
|
(0, comum_1.carregarBibliotecasGlobais)(this.pilhaEscoposExecucao);
|
|
7485
7831
|
}
|
|
7832
|
+
visitarExpressaoAcessoMetodo(expressao) {
|
|
7833
|
+
throw new Error('Método não implementado.');
|
|
7834
|
+
}
|
|
7835
|
+
visitarExpressaoAcessoPropriedade(expressao) {
|
|
7836
|
+
throw new Error('Método não implementado.');
|
|
7837
|
+
}
|
|
7486
7838
|
/**
|
|
7487
7839
|
* Construtos de comentários não têm utilidade para o Interpretador.
|
|
7488
7840
|
* Apenas retornamos `Promise.resolve()` para não termos erros.
|
|
@@ -7537,21 +7889,11 @@ class InterpretadorBase {
|
|
|
7537
7889
|
visitarExpressaoExpressaoRegular(expressao) {
|
|
7538
7890
|
return Promise.resolve(this.textoParaRegex(expressao.valor));
|
|
7539
7891
|
}
|
|
7540
|
-
|
|
7541
|
-
|
|
7542
|
-
if (tipoDe instanceof construtos_1.Agrupamento ||
|
|
7543
|
-
tipoDe instanceof construtos_1.Binario ||
|
|
7544
|
-
tipoDe instanceof construtos_1.Chamada ||
|
|
7545
|
-
tipoDe instanceof construtos_1.Dicionario ||
|
|
7546
|
-
tipoDe instanceof construtos_1.TipoDe ||
|
|
7547
|
-
tipoDe instanceof construtos_1.Unario ||
|
|
7548
|
-
tipoDe instanceof construtos_1.Variavel) {
|
|
7549
|
-
tipoDe = await this.avaliar(tipoDe);
|
|
7550
|
-
return tipoDe.tipo || (0, inferenciador_1.inferirTipoVariavel)(tipoDe);
|
|
7551
|
-
}
|
|
7552
|
-
return (0, inferenciador_1.inferirTipoVariavel)((tipoDe === null || tipoDe === void 0 ? void 0 : tipoDe.valores) || tipoDe);
|
|
7892
|
+
visitarExpressaoTipoDe(expressao) {
|
|
7893
|
+
throw new Error('Método não implementado.');
|
|
7553
7894
|
}
|
|
7554
7895
|
// TODO: Depreciado. Priorizar `visitarExpressaoTipoDe`.
|
|
7896
|
+
// Estudar remoção.
|
|
7555
7897
|
async visitarExpressaoQualTipo(expressao) {
|
|
7556
7898
|
throw new Error('Método não implementado.');
|
|
7557
7899
|
}
|
|
@@ -8032,12 +8374,10 @@ class InterpretadorBase {
|
|
|
8032
8374
|
if (Array.isArray(direita) || typeof direita === primitivos_1.default.TEXTO) {
|
|
8033
8375
|
return direita.includes(esquerda);
|
|
8034
8376
|
}
|
|
8035
|
-
else if (direita
|
|
8036
|
-
return esquerda in direita;
|
|
8037
|
-
}
|
|
8038
|
-
else {
|
|
8039
|
-
throw new excecoes_1.ErroEmTempoDeExecucao(esquerda, "Tipo de chamada inválida com 'em'.", expressao.linha);
|
|
8377
|
+
else if (direita !== null && typeof direita === 'object') {
|
|
8378
|
+
return esquerda in direita || (direita.valor !== undefined && esquerda in direita.valor);
|
|
8040
8379
|
}
|
|
8380
|
+
throw new excecoes_1.ErroEmTempoDeExecucao(esquerda, "Tipo de chamada inválida com 'em'.", expressao.linha);
|
|
8041
8381
|
}
|
|
8042
8382
|
// se um estado for verdadeiro, retorna verdadeiro
|
|
8043
8383
|
if (expressao.operador.tipo === delegua_1.default.OU) {
|
|
@@ -8088,6 +8428,9 @@ class InterpretadorBase {
|
|
|
8088
8428
|
}
|
|
8089
8429
|
async visitarDeclaracaoParaCada(declaracao) {
|
|
8090
8430
|
let retornoExecucao;
|
|
8431
|
+
// Posição atual precisa ser reiniciada, pois pode estar dentro de outro
|
|
8432
|
+
// laço de repetição.
|
|
8433
|
+
declaracao.posicaoAtual = 0;
|
|
8091
8434
|
const vetorResolvido = await this.avaliar(declaracao.vetor);
|
|
8092
8435
|
const valorVetorResolvido = vetorResolvido.hasOwnProperty('valor') ? vetorResolvido.valor : vetorResolvido;
|
|
8093
8436
|
if (!Array.isArray(valorVetorResolvido)) {
|
|
@@ -8244,7 +8587,7 @@ class InterpretadorBase {
|
|
|
8244
8587
|
}
|
|
8245
8588
|
else {
|
|
8246
8589
|
const literalErro = new construtos_1.Literal(declaracao.hashArquivo, Number(declaracao.linha), erro.mensagem);
|
|
8247
|
-
const chamadaPegue = new construtos_1.Chamada(declaracao.caminhoPegue.hashArquivo, declaracao.caminhoPegue,
|
|
8590
|
+
const chamadaPegue = new construtos_1.Chamada(declaracao.caminhoPegue.hashArquivo, declaracao.caminhoPegue, [literalErro]);
|
|
8248
8591
|
valorRetorno = await chamadaPegue.aceitar(this);
|
|
8249
8592
|
}
|
|
8250
8593
|
}
|
|
@@ -8534,7 +8877,7 @@ class InterpretadorBase {
|
|
|
8534
8877
|
* @param {AcessoMetodoOuPropriedade} expressao A expressão de acesso.
|
|
8535
8878
|
* @returns O resultado da execução.
|
|
8536
8879
|
*/
|
|
8537
|
-
async
|
|
8880
|
+
async visitarExpressaoAcessoMetodoOuPropriedade(expressao) {
|
|
8538
8881
|
let variavelObjeto = await this.avaliar(expressao.objeto);
|
|
8539
8882
|
// Este caso acontece quando há encadeamento de métodos.
|
|
8540
8883
|
// Por exemplo, `objeto1.metodo1().metodo2()`.
|
|
@@ -8547,12 +8890,15 @@ class InterpretadorBase {
|
|
|
8547
8890
|
// Outro caso que `instanceof` simplesmente não funciona para casos em Liquido,
|
|
8548
8891
|
// então testamos também o nome do construtor.
|
|
8549
8892
|
if (objeto instanceof estruturas_1.ObjetoDeleguaClasse || objeto.constructor.name === 'ObjetoDeleguaClasse') {
|
|
8550
|
-
|
|
8893
|
+
const valor = objeto.obter(expressao.simbolo);
|
|
8894
|
+
if (valor === 0)
|
|
8895
|
+
return 0;
|
|
8896
|
+
return valor || null;
|
|
8551
8897
|
}
|
|
8552
8898
|
// Objeto simples do JavaScript, ou dicionário de Delégua.
|
|
8553
8899
|
if (objeto.constructor === Object) {
|
|
8554
|
-
|
|
8555
|
-
|
|
8900
|
+
if (expressao.simbolo.lexema in primitivas_dicionario_1.default) {
|
|
8901
|
+
const metodoDePrimitivaDicionario = primitivas_dicionario_1.default[expressao.simbolo.lexema].implementacao;
|
|
8556
8902
|
return new metodo_primitiva_1.MetodoPrimitiva(objeto, metodoDePrimitivaDicionario);
|
|
8557
8903
|
}
|
|
8558
8904
|
return objeto[expressao.simbolo.lexema] || null;
|
|
@@ -8584,13 +8930,13 @@ class InterpretadorBase {
|
|
|
8584
8930
|
case delegua_2.default.INTEIRO:
|
|
8585
8931
|
case delegua_2.default.NUMERO:
|
|
8586
8932
|
case delegua_2.default.NÚMERO:
|
|
8587
|
-
const metodoDePrimitivaNumero = primitivas_numero_1.default[expressao.simbolo.lexema];
|
|
8933
|
+
const metodoDePrimitivaNumero = primitivas_numero_1.default[expressao.simbolo.lexema].implementacao;
|
|
8588
8934
|
if (metodoDePrimitivaNumero) {
|
|
8589
8935
|
return new metodo_primitiva_1.MetodoPrimitiva(objeto, metodoDePrimitivaNumero);
|
|
8590
8936
|
}
|
|
8591
8937
|
break;
|
|
8592
8938
|
case delegua_2.default.TEXTO:
|
|
8593
|
-
const metodoDePrimitivaTexto = primitivas_texto_1.default[expressao.simbolo.lexema];
|
|
8939
|
+
const metodoDePrimitivaTexto = primitivas_texto_1.default[expressao.simbolo.lexema].implementacao;
|
|
8594
8940
|
if (metodoDePrimitivaTexto) {
|
|
8595
8941
|
return new metodo_primitiva_1.MetodoPrimitiva(objeto, metodoDePrimitivaTexto);
|
|
8596
8942
|
}
|
|
@@ -8599,7 +8945,7 @@ class InterpretadorBase {
|
|
|
8599
8945
|
case delegua_2.default.VETOR_NUMERO:
|
|
8600
8946
|
case delegua_2.default.VETOR_NÚMERO:
|
|
8601
8947
|
case delegua_2.default.VETOR_TEXTO:
|
|
8602
|
-
const metodoDePrimitivaVetor = primitivas_vetor_1.default[expressao.simbolo.lexema];
|
|
8948
|
+
const metodoDePrimitivaVetor = primitivas_vetor_1.default[expressao.simbolo.lexema].implementacao;
|
|
8603
8949
|
if (metodoDePrimitivaVetor) {
|
|
8604
8950
|
return new metodo_primitiva_1.MetodoPrimitiva(objeto, metodoDePrimitivaVetor);
|
|
8605
8951
|
}
|
|
@@ -8617,6 +8963,15 @@ class InterpretadorBase {
|
|
|
8617
8963
|
const dicionario = {};
|
|
8618
8964
|
for (let i = 0; i < expressao.chaves.length; i++) {
|
|
8619
8965
|
const promises = await Promise.all([this.avaliar(expressao.chaves[i]), this.avaliar(expressao.valores[i])]);
|
|
8966
|
+
if (typeof promises[0] === 'boolean') {
|
|
8967
|
+
const chaveLogico = promises[0] === true ? 'verdadeiro' : 'falso';
|
|
8968
|
+
dicionario[chaveLogico] = promises[1];
|
|
8969
|
+
continue;
|
|
8970
|
+
}
|
|
8971
|
+
else if (typeof promises[1] === 'object') {
|
|
8972
|
+
dicionario[promises[0]] = promises[1].valor;
|
|
8973
|
+
continue;
|
|
8974
|
+
}
|
|
8620
8975
|
dicionario[promises[0]] = promises[1];
|
|
8621
8976
|
}
|
|
8622
8977
|
return dicionario;
|
|
@@ -8823,7 +9178,7 @@ class InterpretadorBase {
|
|
|
8823
9178
|
exports.InterpretadorBase = InterpretadorBase;
|
|
8824
9179
|
|
|
8825
9180
|
}).call(this)}).call(this,require('_process'))
|
|
8826
|
-
},{"../avaliador-sintatico":8,"../bibliotecas/primitivas-dicionario":18,"../bibliotecas/primitivas-numero":19,"../bibliotecas/primitivas-texto":20,"../bibliotecas/primitivas-vetor":21,"../construtos":
|
|
9181
|
+
},{"../avaliador-sintatico":8,"../bibliotecas/primitivas-dicionario":18,"../bibliotecas/primitivas-numero":19,"../bibliotecas/primitivas-texto":20,"../bibliotecas/primitivas-vetor":21,"../construtos":44,"../espaco-variaveis":99,"../estruturas":105,"../estruturas/metodo-primitiva":106,"../excecoes":111,"../inferenciador":116,"../lexador":153,"../quebras":160,"../tipos-de-dados/delegua":161,"../tipos-de-dados/primitivos":162,"../tipos-de-simbolos/delegua":164,"./comum":139,"./pilha-escopos-execucao":144,"_process":383,"browser-process-hrtime":340}],142:[function(require,module,exports){
|
|
8827
9182
|
"use strict";
|
|
8828
9183
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8829
9184
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9395,7 +9750,216 @@ class InterpretadorComDepuracao extends interpretador_base_1.InterpretadorBase {
|
|
|
9395
9750
|
}
|
|
9396
9751
|
exports.InterpretadorComDepuracao = InterpretadorComDepuracao;
|
|
9397
9752
|
|
|
9398
|
-
},{"../declaracoes":
|
|
9753
|
+
},{"../declaracoes":82,"../espaco-variaveis":99,"../inferenciador":116,"../quebras":160,"./interpretador-base":141,"lodash":376}],143:[function(require,module,exports){
|
|
9754
|
+
"use strict";
|
|
9755
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9756
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9757
|
+
};
|
|
9758
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9759
|
+
exports.Interpretador = void 0;
|
|
9760
|
+
const estruturas_1 = require("../estruturas");
|
|
9761
|
+
const interpretador_base_1 = require("./interpretador-base");
|
|
9762
|
+
const primitivas_dicionario_1 = __importDefault(require("../bibliotecas/primitivas-dicionario"));
|
|
9763
|
+
const primitivas_numero_1 = __importDefault(require("../bibliotecas/primitivas-numero"));
|
|
9764
|
+
const primitivas_texto_1 = __importDefault(require("../bibliotecas/primitivas-texto"));
|
|
9765
|
+
const primitivas_vetor_1 = __importDefault(require("../bibliotecas/primitivas-vetor"));
|
|
9766
|
+
const primitivos_1 = __importDefault(require("../tipos-de-dados/primitivos"));
|
|
9767
|
+
const delegua_1 = __importDefault(require("../tipos-de-dados/delegua"));
|
|
9768
|
+
const inferenciador_1 = require("../inferenciador");
|
|
9769
|
+
const excecoes_1 = require("../excecoes");
|
|
9770
|
+
/**
|
|
9771
|
+
* O interpretador de Delégua.
|
|
9772
|
+
*/
|
|
9773
|
+
class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
9774
|
+
async visitarExpressaoAcessoMetodo(expressao) {
|
|
9775
|
+
let variavelObjeto = await this.avaliar(expressao.objeto);
|
|
9776
|
+
// Este caso acontece quando há encadeamento de métodos.
|
|
9777
|
+
// Por exemplo, `objeto1.metodo1().metodo2()`.
|
|
9778
|
+
// Como `RetornoQuebra` também possui `valor`, precisamos extrair o
|
|
9779
|
+
// valor dele primeiro.
|
|
9780
|
+
if (variavelObjeto.constructor.name === 'RetornoQuebra') {
|
|
9781
|
+
variavelObjeto = variavelObjeto.valor;
|
|
9782
|
+
}
|
|
9783
|
+
const objeto = variavelObjeto.hasOwnProperty('valor') ? variavelObjeto.valor : variavelObjeto;
|
|
9784
|
+
// Outro caso que `instanceof` simplesmente não funciona para casos em Liquido,
|
|
9785
|
+
// então testamos também o nome do construtor.
|
|
9786
|
+
if (objeto instanceof estruturas_1.ObjetoDeleguaClasse || objeto.constructor.name === 'ObjetoDeleguaClasse') {
|
|
9787
|
+
return objeto.obterMetodo(expressao.nomeMetodo) || null;
|
|
9788
|
+
}
|
|
9789
|
+
// Objeto simples do JavaScript, ou dicionário de Delégua.
|
|
9790
|
+
if (objeto.constructor === Object) {
|
|
9791
|
+
if (expressao.nomeMetodo in primitivas_dicionario_1.default) {
|
|
9792
|
+
const metodoDePrimitivaDicionario = primitivas_dicionario_1.default[expressao.nomeMetodo].implementacao;
|
|
9793
|
+
return new estruturas_1.MetodoPrimitiva(objeto, metodoDePrimitivaDicionario);
|
|
9794
|
+
}
|
|
9795
|
+
return objeto[expressao.nomeMetodo] || null;
|
|
9796
|
+
}
|
|
9797
|
+
// Casos em que o objeto possui algum outro tipo que não o de objeto simples.
|
|
9798
|
+
// Normalmente executam quando uma biblioteca é importada, e estamos tentando
|
|
9799
|
+
// obter alguma propriedade ou método desse objeto.
|
|
9800
|
+
// Caso 1: Função tradicional do JavaScript.
|
|
9801
|
+
if (typeof objeto[expressao.nomeMetodo] === primitivos_1.default.FUNCAO) {
|
|
9802
|
+
return objeto[expressao.nomeMetodo];
|
|
9803
|
+
}
|
|
9804
|
+
// Caso 2: Objeto tradicional do JavaScript.
|
|
9805
|
+
if (typeof objeto[expressao.nomeMetodo] === primitivos_1.default.OBJETO) {
|
|
9806
|
+
return objeto[expressao.nomeMetodo];
|
|
9807
|
+
}
|
|
9808
|
+
// A partir daqui, presume-se que o objeto é uma das estruturas
|
|
9809
|
+
// de Delégua.
|
|
9810
|
+
if (objeto instanceof estruturas_1.DeleguaModulo) {
|
|
9811
|
+
return objeto.componentes[expressao.nomeMetodo] || null;
|
|
9812
|
+
}
|
|
9813
|
+
let tipoObjeto = variavelObjeto.tipo;
|
|
9814
|
+
if (tipoObjeto === null || tipoObjeto === undefined) {
|
|
9815
|
+
tipoObjeto = (0, inferenciador_1.inferirTipoVariavel)(variavelObjeto);
|
|
9816
|
+
}
|
|
9817
|
+
// Como internamente um dicionário de Delégua é simplesmente um objeto de
|
|
9818
|
+
// JavaScript, as primitivas de dicionário, especificamente, são tratadas
|
|
9819
|
+
// mais acima.
|
|
9820
|
+
switch (tipoObjeto) {
|
|
9821
|
+
case delegua_1.default.INTEIRO:
|
|
9822
|
+
case delegua_1.default.NUMERO:
|
|
9823
|
+
case delegua_1.default.NÚMERO:
|
|
9824
|
+
const metodoDePrimitivaNumero = primitivas_numero_1.default[expressao.nomeMetodo].implementacao;
|
|
9825
|
+
if (metodoDePrimitivaNumero) {
|
|
9826
|
+
return new estruturas_1.MetodoPrimitiva(objeto, metodoDePrimitivaNumero);
|
|
9827
|
+
}
|
|
9828
|
+
break;
|
|
9829
|
+
case delegua_1.default.TEXTO:
|
|
9830
|
+
const metodoDePrimitivaTexto = primitivas_texto_1.default[expressao.nomeMetodo].implementacao;
|
|
9831
|
+
if (metodoDePrimitivaTexto) {
|
|
9832
|
+
return new estruturas_1.MetodoPrimitiva(objeto, metodoDePrimitivaTexto);
|
|
9833
|
+
}
|
|
9834
|
+
break;
|
|
9835
|
+
case delegua_1.default.VETOR:
|
|
9836
|
+
case delegua_1.default.VETOR_NUMERO:
|
|
9837
|
+
case delegua_1.default.VETOR_NÚMERO:
|
|
9838
|
+
case delegua_1.default.VETOR_TEXTO:
|
|
9839
|
+
const metodoDePrimitivaVetor = primitivas_vetor_1.default[expressao.nomeMetodo].implementacao;
|
|
9840
|
+
if (metodoDePrimitivaVetor) {
|
|
9841
|
+
return new estruturas_1.MetodoPrimitiva(objeto, metodoDePrimitivaVetor);
|
|
9842
|
+
}
|
|
9843
|
+
break;
|
|
9844
|
+
}
|
|
9845
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(null, `Método para objeto ou primitiva não encontrado: ${expressao.nomeMetodo}.`, expressao.linha));
|
|
9846
|
+
}
|
|
9847
|
+
async visitarExpressaoAcessoPropriedade(expressao) {
|
|
9848
|
+
let variavelObjeto = await this.avaliar(expressao.objeto);
|
|
9849
|
+
// Este caso acontece quando há encadeamento de métodos.
|
|
9850
|
+
// Por exemplo, `objeto1.metodo1().metodo2()`.
|
|
9851
|
+
// Como `RetornoQuebra` também possui `valor`, precisamos extrair o
|
|
9852
|
+
// valor dele primeiro.
|
|
9853
|
+
if (variavelObjeto.constructor.name === 'RetornoQuebra') {
|
|
9854
|
+
variavelObjeto = variavelObjeto.valor;
|
|
9855
|
+
}
|
|
9856
|
+
const objeto = variavelObjeto.hasOwnProperty('valor') ? variavelObjeto.valor : variavelObjeto;
|
|
9857
|
+
// Outro caso que `instanceof` simplesmente não funciona para casos em Liquido,
|
|
9858
|
+
// então testamos também o nome do construtor.
|
|
9859
|
+
if (objeto instanceof estruturas_1.ObjetoDeleguaClasse || objeto.constructor.name === 'ObjetoDeleguaClasse') {
|
|
9860
|
+
return objeto.obterMetodo(expressao.nomePropriedade) || null;
|
|
9861
|
+
}
|
|
9862
|
+
// Objeto simples do JavaScript, ou dicionário de Delégua.
|
|
9863
|
+
if (objeto.constructor === Object) {
|
|
9864
|
+
if (expressao.nomePropriedade in primitivas_dicionario_1.default) {
|
|
9865
|
+
const metodoDePrimitivaDicionario = primitivas_dicionario_1.default[expressao.nomePropriedade].implementacao;
|
|
9866
|
+
return new estruturas_1.MetodoPrimitiva(objeto, metodoDePrimitivaDicionario);
|
|
9867
|
+
}
|
|
9868
|
+
return objeto[expressao.nomePropriedade] || null;
|
|
9869
|
+
}
|
|
9870
|
+
// Casos em que o objeto possui algum outro tipo que não o de objeto simples.
|
|
9871
|
+
// Normalmente executam quando uma biblioteca é importada, e estamos tentando
|
|
9872
|
+
// obter alguma propriedade ou método desse objeto.
|
|
9873
|
+
// Caso 1: Função tradicional do JavaScript.
|
|
9874
|
+
if (typeof objeto[expressao.nomePropriedade] === primitivos_1.default.FUNCAO) {
|
|
9875
|
+
return objeto[expressao.nomePropriedade];
|
|
9876
|
+
}
|
|
9877
|
+
// Caso 2: Objeto tradicional do JavaScript.
|
|
9878
|
+
if (typeof objeto[expressao.nomePropriedade] === primitivos_1.default.OBJETO) {
|
|
9879
|
+
return objeto[expressao.nomePropriedade];
|
|
9880
|
+
}
|
|
9881
|
+
// A partir daqui, presume-se que o objeto é uma das estruturas
|
|
9882
|
+
// de Delégua.
|
|
9883
|
+
if (objeto instanceof estruturas_1.DeleguaModulo) {
|
|
9884
|
+
return objeto.componentes[expressao.nomePropriedade] || null;
|
|
9885
|
+
}
|
|
9886
|
+
let tipoObjeto = variavelObjeto.tipo;
|
|
9887
|
+
if (tipoObjeto === null || tipoObjeto === undefined) {
|
|
9888
|
+
tipoObjeto = (0, inferenciador_1.inferirTipoVariavel)(variavelObjeto);
|
|
9889
|
+
}
|
|
9890
|
+
// Como internamente um dicionário de Delégua é simplesmente um objeto de
|
|
9891
|
+
// JavaScript, as primitivas de dicionário, especificamente, são tratadas
|
|
9892
|
+
// mais acima.
|
|
9893
|
+
switch (tipoObjeto) {
|
|
9894
|
+
case delegua_1.default.INTEIRO:
|
|
9895
|
+
case delegua_1.default.NUMERO:
|
|
9896
|
+
case delegua_1.default.NÚMERO:
|
|
9897
|
+
const metodoDePrimitivaNumero = primitivas_numero_1.default[expressao.nomePropriedade].implementacao;
|
|
9898
|
+
if (metodoDePrimitivaNumero) {
|
|
9899
|
+
return new estruturas_1.MetodoPrimitiva(objeto, metodoDePrimitivaNumero);
|
|
9900
|
+
}
|
|
9901
|
+
break;
|
|
9902
|
+
case delegua_1.default.TEXTO:
|
|
9903
|
+
const metodoDePrimitivaTexto = primitivas_texto_1.default[expressao.nomePropriedade].implementacao;
|
|
9904
|
+
if (metodoDePrimitivaTexto) {
|
|
9905
|
+
return new estruturas_1.MetodoPrimitiva(objeto, metodoDePrimitivaTexto);
|
|
9906
|
+
}
|
|
9907
|
+
break;
|
|
9908
|
+
case delegua_1.default.VETOR:
|
|
9909
|
+
case delegua_1.default.VETOR_NUMERO:
|
|
9910
|
+
case delegua_1.default.VETOR_NÚMERO:
|
|
9911
|
+
case delegua_1.default.VETOR_TEXTO:
|
|
9912
|
+
const metodoDePrimitivaVetor = primitivas_vetor_1.default[expressao.nomePropriedade].implementacao;
|
|
9913
|
+
if (metodoDePrimitivaVetor) {
|
|
9914
|
+
return new estruturas_1.MetodoPrimitiva(objeto, metodoDePrimitivaVetor);
|
|
9915
|
+
}
|
|
9916
|
+
break;
|
|
9917
|
+
}
|
|
9918
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(null, `Método para objeto ou primitiva não encontrado: ${expressao.nomePropriedade}.`, expressao.linha));
|
|
9919
|
+
}
|
|
9920
|
+
async visitarExpressaoTipoDe(expressao) {
|
|
9921
|
+
let valorTipoDe = expressao.valor;
|
|
9922
|
+
switch (valorTipoDe.constructor.name) {
|
|
9923
|
+
case 'AcessoIndiceVariavel':
|
|
9924
|
+
case 'Agrupamento':
|
|
9925
|
+
case 'Binario':
|
|
9926
|
+
case 'Chamada':
|
|
9927
|
+
case 'Dicionario':
|
|
9928
|
+
case 'Unario':
|
|
9929
|
+
valorTipoDe = await this.avaliar(valorTipoDe);
|
|
9930
|
+
return valorTipoDe.tipo || (0, inferenciador_1.inferirTipoVariavel)(valorTipoDe);
|
|
9931
|
+
case 'AcessoMetodo':
|
|
9932
|
+
const acessoMetodo = valorTipoDe;
|
|
9933
|
+
return `método<${acessoMetodo.tipoRetornoMetodo}>`;
|
|
9934
|
+
case 'AcessoPropriedade':
|
|
9935
|
+
const acessoPropriedade = valorTipoDe;
|
|
9936
|
+
return acessoPropriedade.tipoRetornoPropriedade;
|
|
9937
|
+
case 'AcessoMetodoOuPropriedade':
|
|
9938
|
+
// TODO: Deve ser removido mais futuramente.
|
|
9939
|
+
// Apenas `AcessoMetodo` e `AcessoPropriedade` devem funcionar aqui.
|
|
9940
|
+
throw new excecoes_1.ErroEmTempoDeExecucao(expressao.simbolo, "Não deveria cair aqui.");
|
|
9941
|
+
case 'Escreva':
|
|
9942
|
+
return 'função<vazio>';
|
|
9943
|
+
case 'Leia':
|
|
9944
|
+
return 'função<texto>';
|
|
9945
|
+
case 'Literal':
|
|
9946
|
+
const tipoLiteral = valorTipoDe;
|
|
9947
|
+
return tipoLiteral.tipo;
|
|
9948
|
+
case 'TipoDe':
|
|
9949
|
+
const alvoTipoDe = await this.avaliar(valorTipoDe);
|
|
9950
|
+
return `tipo de<${alvoTipoDe}>`;
|
|
9951
|
+
case 'Variavel':
|
|
9952
|
+
return valorTipoDe.tipo;
|
|
9953
|
+
case 'Vetor':
|
|
9954
|
+
return (0, inferenciador_1.inferirTipoVariavel)(valorTipoDe === null || valorTipoDe === void 0 ? void 0 : valorTipoDe.valores);
|
|
9955
|
+
default:
|
|
9956
|
+
return (0, inferenciador_1.inferirTipoVariavel)(valorTipoDe);
|
|
9957
|
+
}
|
|
9958
|
+
}
|
|
9959
|
+
}
|
|
9960
|
+
exports.Interpretador = Interpretador;
|
|
9961
|
+
|
|
9962
|
+
},{"../bibliotecas/primitivas-dicionario":18,"../bibliotecas/primitivas-numero":19,"../bibliotecas/primitivas-texto":20,"../bibliotecas/primitivas-vetor":21,"../estruturas":105,"../excecoes":111,"../inferenciador":116,"../tipos-de-dados/delegua":161,"../tipos-de-dados/primitivos":162,"./interpretador-base":141}],144:[function(require,module,exports){
|
|
9399
9963
|
"use strict";
|
|
9400
9964
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9401
9965
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9646,7 +10210,7 @@ class PilhaEscoposExecucao {
|
|
|
9646
10210
|
}
|
|
9647
10211
|
exports.PilhaEscoposExecucao = PilhaEscoposExecucao;
|
|
9648
10212
|
|
|
9649
|
-
},{"../estruturas":
|
|
10213
|
+
},{"../estruturas":105,"../excecoes":111,"../inferenciador":116,"../lexador":153,"../tipos-de-dados/delegua":161}],145:[function(require,module,exports){
|
|
9650
10214
|
"use strict";
|
|
9651
10215
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9652
10216
|
if (k2 === undefined) k2 = k;
|
|
@@ -9668,7 +10232,7 @@ __exportStar(require("./lexador-pitugues"), exports);
|
|
|
9668
10232
|
__exportStar(require("./lexador-guarani"), exports);
|
|
9669
10233
|
__exportStar(require("./lexador-portugol-ipt"), exports);
|
|
9670
10234
|
|
|
9671
|
-
},{"./lexador-egua-classico":
|
|
10235
|
+
},{"./lexador-egua-classico":146,"./lexador-guarani":147,"./lexador-pitugues":148,"./lexador-portugol-ipt":149}],146:[function(require,module,exports){
|
|
9672
10236
|
"use strict";
|
|
9673
10237
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9674
10238
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9956,7 +10520,7 @@ class LexadorEguaClassico {
|
|
|
9956
10520
|
}
|
|
9957
10521
|
exports.LexadorEguaClassico = LexadorEguaClassico;
|
|
9958
10522
|
|
|
9959
|
-
},{"../../tipos-de-simbolos/egua-classico":
|
|
10523
|
+
},{"../../tipos-de-simbolos/egua-classico":165,"../simbolo":159,"./palavras-reservadas/egua-classico":150}],147:[function(require,module,exports){
|
|
9960
10524
|
"use strict";
|
|
9961
10525
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9962
10526
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10071,7 +10635,7 @@ class LexadorGuarani extends lexador_base_1.LexadorBase {
|
|
|
10071
10635
|
}
|
|
10072
10636
|
exports.LexadorGuarani = LexadorGuarani;
|
|
10073
10637
|
|
|
10074
|
-
},{"../../tipos-de-simbolos/guarani":
|
|
10638
|
+
},{"../../tipos-de-simbolos/guarani":166,"../lexador-base":155,"./palavras-reservadas/guarani":151}],148:[function(require,module,exports){
|
|
10075
10639
|
"use strict";
|
|
10076
10640
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10077
10641
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10471,7 +11035,7 @@ class LexadorPitugues {
|
|
|
10471
11035
|
}
|
|
10472
11036
|
exports.LexadorPitugues = LexadorPitugues;
|
|
10473
11037
|
|
|
10474
|
-
},{"../../tipos-de-simbolos/pitugues":
|
|
11038
|
+
},{"../../tipos-de-simbolos/pitugues":168,"../palavras-reservadas":158,"../simbolo":159,"browser-process-hrtime":340}],149:[function(require,module,exports){
|
|
10475
11039
|
"use strict";
|
|
10476
11040
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10477
11041
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10710,7 +11274,7 @@ class LexadorPortugolIpt {
|
|
|
10710
11274
|
}
|
|
10711
11275
|
exports.LexadorPortugolIpt = LexadorPortugolIpt;
|
|
10712
11276
|
|
|
10713
|
-
},{"../../tipos-de-simbolos/portugol-ipt":
|
|
11277
|
+
},{"../../tipos-de-simbolos/portugol-ipt":169,"../simbolo":159,"./palavras-reservadas/portugol-ipt":152}],150:[function(require,module,exports){
|
|
10714
11278
|
"use strict";
|
|
10715
11279
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10716
11280
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10751,7 +11315,7 @@ exports.palavrasReservadas = {
|
|
|
10751
11315
|
verdadeiro: egua_classico_1.default.VERDADEIRO,
|
|
10752
11316
|
};
|
|
10753
11317
|
|
|
10754
|
-
},{"../../../tipos-de-simbolos/egua-classico":
|
|
11318
|
+
},{"../../../tipos-de-simbolos/egua-classico":165}],151:[function(require,module,exports){
|
|
10755
11319
|
"use strict";
|
|
10756
11320
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10757
11321
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10763,7 +11327,7 @@ exports.palavrasReservadas = {
|
|
|
10763
11327
|
hai: guarani_1.default.HAI,
|
|
10764
11328
|
};
|
|
10765
11329
|
|
|
10766
|
-
},{"../../../tipos-de-simbolos/guarani":
|
|
11330
|
+
},{"../../../tipos-de-simbolos/guarani":166}],152:[function(require,module,exports){
|
|
10767
11331
|
"use strict";
|
|
10768
11332
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10769
11333
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10785,7 +11349,7 @@ exports.palavrasReservadas = {
|
|
|
10785
11349
|
senão: portugol_ipt_1.default.SENAO,
|
|
10786
11350
|
};
|
|
10787
11351
|
|
|
10788
|
-
},{"../../../tipos-de-simbolos/portugol-ipt":
|
|
11352
|
+
},{"../../../tipos-de-simbolos/portugol-ipt":169}],153:[function(require,module,exports){
|
|
10789
11353
|
"use strict";
|
|
10790
11354
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10791
11355
|
if (k2 === undefined) k2 = k;
|
|
@@ -10807,7 +11371,7 @@ __exportStar(require("./lexador-base-linha-unica"), exports);
|
|
|
10807
11371
|
__exportStar(require("./micro-lexador"), exports);
|
|
10808
11372
|
__exportStar(require("./simbolo"), exports);
|
|
10809
11373
|
|
|
10810
|
-
},{"./lexador":
|
|
11374
|
+
},{"./lexador":156,"./lexador-base-linha-unica":154,"./micro-lexador":157,"./simbolo":159}],154:[function(require,module,exports){
|
|
10811
11375
|
"use strict";
|
|
10812
11376
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10813
11377
|
exports.LexadorBaseLinhaUnica = void 0;
|
|
@@ -10891,7 +11455,7 @@ class LexadorBaseLinhaUnica {
|
|
|
10891
11455
|
}
|
|
10892
11456
|
exports.LexadorBaseLinhaUnica = LexadorBaseLinhaUnica;
|
|
10893
11457
|
|
|
10894
|
-
},{"./simbolo":
|
|
11458
|
+
},{"./simbolo":159}],155:[function(require,module,exports){
|
|
10895
11459
|
"use strict";
|
|
10896
11460
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10897
11461
|
exports.LexadorBase = void 0;
|
|
@@ -11005,7 +11569,7 @@ class LexadorBase {
|
|
|
11005
11569
|
}
|
|
11006
11570
|
exports.LexadorBase = LexadorBase;
|
|
11007
11571
|
|
|
11008
|
-
},{"./simbolo":
|
|
11572
|
+
},{"./simbolo":159}],156:[function(require,module,exports){
|
|
11009
11573
|
"use strict";
|
|
11010
11574
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11011
11575
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11450,7 +12014,7 @@ class Lexador {
|
|
|
11450
12014
|
}
|
|
11451
12015
|
exports.Lexador = Lexador;
|
|
11452
12016
|
|
|
11453
|
-
},{"../tipos-de-simbolos/delegua":
|
|
12017
|
+
},{"../tipos-de-simbolos/delegua":164,"./palavras-reservadas":158,"./simbolo":159,"browser-process-hrtime":340}],157:[function(require,module,exports){
|
|
11454
12018
|
"use strict";
|
|
11455
12019
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11456
12020
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11622,6 +12186,10 @@ class MicroLexador {
|
|
|
11622
12186
|
this.analisarTexto("'");
|
|
11623
12187
|
this.atual++;
|
|
11624
12188
|
break;
|
|
12189
|
+
case '.':
|
|
12190
|
+
this.atual++;
|
|
12191
|
+
this.adicionarSimbolo(delegua_1.default.PONTO);
|
|
12192
|
+
break;
|
|
11625
12193
|
default:
|
|
11626
12194
|
if (this.eDigito(caractere))
|
|
11627
12195
|
this.analisarNumero();
|
|
@@ -11659,7 +12227,7 @@ class MicroLexador {
|
|
|
11659
12227
|
}
|
|
11660
12228
|
exports.MicroLexador = MicroLexador;
|
|
11661
12229
|
|
|
11662
|
-
},{"../tipos-de-simbolos/microgramaticas/delegua":
|
|
12230
|
+
},{"../tipos-de-simbolos/microgramaticas/delegua":167,"./palavras-reservadas":158,"./simbolo":159}],158:[function(require,module,exports){
|
|
11663
12231
|
"use strict";
|
|
11664
12232
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11665
12233
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11722,7 +12290,7 @@ exports.palavrasReservadasMicroGramatica = {
|
|
|
11722
12290
|
verdadeiro: delegua_1.default.VERDADEIRO,
|
|
11723
12291
|
};
|
|
11724
12292
|
|
|
11725
|
-
},{"../tipos-de-simbolos/delegua":
|
|
12293
|
+
},{"../tipos-de-simbolos/delegua":164}],159:[function(require,module,exports){
|
|
11726
12294
|
"use strict";
|
|
11727
12295
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11728
12296
|
exports.Simbolo = void 0;
|
|
@@ -11740,7 +12308,7 @@ class Simbolo {
|
|
|
11740
12308
|
}
|
|
11741
12309
|
exports.Simbolo = Simbolo;
|
|
11742
12310
|
|
|
11743
|
-
},{}],
|
|
12311
|
+
},{}],160:[function(require,module,exports){
|
|
11744
12312
|
"use strict";
|
|
11745
12313
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11746
12314
|
exports.ContinuarQuebra = exports.SustarQuebra = exports.RetornoQuebra = exports.Quebra = void 0;
|
|
@@ -11761,7 +12329,7 @@ class ContinuarQuebra extends Quebra {
|
|
|
11761
12329
|
}
|
|
11762
12330
|
exports.ContinuarQuebra = ContinuarQuebra;
|
|
11763
12331
|
|
|
11764
|
-
},{}],
|
|
12332
|
+
},{}],161:[function(require,module,exports){
|
|
11765
12333
|
"use strict";
|
|
11766
12334
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11767
12335
|
exports.default = {
|
|
@@ -11785,7 +12353,7 @@ exports.default = {
|
|
|
11785
12353
|
VETOR_TEXTO: 'texto[]',
|
|
11786
12354
|
};
|
|
11787
12355
|
|
|
11788
|
-
},{}],
|
|
12356
|
+
},{}],162:[function(require,module,exports){
|
|
11789
12357
|
"use strict";
|
|
11790
12358
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11791
12359
|
exports.default = {
|
|
@@ -11804,7 +12372,7 @@ exports.default = {
|
|
|
11804
12372
|
TEXTO: 'string',
|
|
11805
12373
|
};
|
|
11806
12374
|
|
|
11807
|
-
},{}],
|
|
12375
|
+
},{}],163:[function(require,module,exports){
|
|
11808
12376
|
"use strict";
|
|
11809
12377
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11810
12378
|
exports.default = {
|
|
@@ -11830,7 +12398,7 @@ exports.default = {
|
|
|
11830
12398
|
VIRGULA: 'VIRGULA',
|
|
11831
12399
|
};
|
|
11832
12400
|
|
|
11833
|
-
},{}],
|
|
12401
|
+
},{}],164:[function(require,module,exports){
|
|
11834
12402
|
"use strict";
|
|
11835
12403
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11836
12404
|
exports.default = {
|
|
@@ -11924,7 +12492,7 @@ exports.default = {
|
|
|
11924
12492
|
VIRGULA: 'VIRGULA',
|
|
11925
12493
|
};
|
|
11926
12494
|
|
|
11927
|
-
},{}],
|
|
12495
|
+
},{}],165:[function(require,module,exports){
|
|
11928
12496
|
"use strict";
|
|
11929
12497
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11930
12498
|
exports.default = {
|
|
@@ -12002,7 +12570,7 @@ exports.default = {
|
|
|
12002
12570
|
VIRGULA: 'VIRGULA',
|
|
12003
12571
|
};
|
|
12004
12572
|
|
|
12005
|
-
},{}],
|
|
12573
|
+
},{}],166:[function(require,module,exports){
|
|
12006
12574
|
"use strict";
|
|
12007
12575
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12008
12576
|
exports.default = {
|
|
@@ -12019,7 +12587,7 @@ exports.default = {
|
|
|
12019
12587
|
VIRGULA: 'VIRGULA',
|
|
12020
12588
|
};
|
|
12021
12589
|
|
|
12022
|
-
},{}],
|
|
12590
|
+
},{}],167:[function(require,module,exports){
|
|
12023
12591
|
"use strict";
|
|
12024
12592
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12025
12593
|
exports.default = {
|
|
@@ -12068,7 +12636,7 @@ exports.default = {
|
|
|
12068
12636
|
VIRGULA: 'VIRGULA',
|
|
12069
12637
|
};
|
|
12070
12638
|
|
|
12071
|
-
},{}],
|
|
12639
|
+
},{}],168:[function(require,module,exports){
|
|
12072
12640
|
"use strict";
|
|
12073
12641
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12074
12642
|
exports.default = {
|
|
@@ -12146,7 +12714,7 @@ exports.default = {
|
|
|
12146
12714
|
VIRGULA: 'VIRGULA',
|
|
12147
12715
|
};
|
|
12148
12716
|
|
|
12149
|
-
},{}],
|
|
12717
|
+
},{}],169:[function(require,module,exports){
|
|
12150
12718
|
"use strict";
|
|
12151
12719
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12152
12720
|
exports.default = {
|
|
@@ -12185,7 +12753,7 @@ exports.default = {
|
|
|
12185
12753
|
VIRGULA: 'VIRGULA',
|
|
12186
12754
|
};
|
|
12187
12755
|
|
|
12188
|
-
},{}],
|
|
12756
|
+
},{}],170:[function(require,module,exports){
|
|
12189
12757
|
"use strict";
|
|
12190
12758
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
12191
12759
|
if (k2 === undefined) k2 = k;
|
|
@@ -12209,7 +12777,7 @@ __exportStar(require("./tradutor-python"), exports);
|
|
|
12209
12777
|
__exportStar(require("./tradutor-reverso-javascript"), exports);
|
|
12210
12778
|
__exportStar(require("./tradutor-reverso-python"), exports);
|
|
12211
12779
|
|
|
12212
|
-
},{"./tradutor-assemblyscript":
|
|
12780
|
+
},{"./tradutor-assemblyscript":173,"./tradutor-javascript":174,"./tradutor-portugol-ipt":175,"./tradutor-python":176,"./tradutor-reverso-javascript":177,"./tradutor-reverso-python":178}],171:[function(require,module,exports){
|
|
12213
12781
|
"use strict";
|
|
12214
12782
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
12215
12783
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -13438,7 +14006,7 @@ __decorate([
|
|
|
13438
14006
|
Decorators_1.Override
|
|
13439
14007
|
], Python3Lexer.prototype, "nextToken", null);
|
|
13440
14008
|
|
|
13441
|
-
},{"./python3-parser":
|
|
14009
|
+
},{"./python3-parser":172,"antlr4ts/CommonToken":188,"antlr4ts/Decorators":192,"antlr4ts/Lexer":200,"antlr4ts/Token":217,"antlr4ts/VocabularyImpl":223,"antlr4ts/atn/ATNDeserializer":229,"antlr4ts/atn/LexerATNSimulator":250,"antlr4ts/misc/Utils":311}],172:[function(require,module,exports){
|
|
13442
14010
|
"use strict";
|
|
13443
14011
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
13444
14012
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -24666,7 +25234,7 @@ class Yield_argContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
24666
25234
|
}
|
|
24667
25235
|
exports.Yield_argContext = Yield_argContext;
|
|
24668
25236
|
|
|
24669
|
-
},{"antlr4ts/FailedPredicateException":
|
|
25237
|
+
},{"antlr4ts/FailedPredicateException":196,"antlr4ts/NoViableAltException":204,"antlr4ts/Parser":205,"antlr4ts/ParserRuleContext":208,"antlr4ts/RecognitionException":211,"antlr4ts/Token":217,"antlr4ts/VocabularyImpl":223,"antlr4ts/atn/ATN":225,"antlr4ts/atn/ATNDeserializer":229,"antlr4ts/atn/ParserATNSimulator":266,"antlr4ts/misc/Utils":311}],173:[function(require,module,exports){
|
|
24670
25238
|
"use strict";
|
|
24671
25239
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
24672
25240
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -25263,7 +25831,7 @@ class TradutorAssemblyScript {
|
|
|
25263
25831
|
}
|
|
25264
25832
|
exports.TradutorAssemblyScript = TradutorAssemblyScript;
|
|
25265
25833
|
|
|
25266
|
-
},{"../construtos":
|
|
25834
|
+
},{"../construtos":44,"../declaracoes":82,"../tipos-de-simbolos/delegua":164}],174:[function(require,module,exports){
|
|
25267
25835
|
"use strict";
|
|
25268
25836
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25269
25837
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -25283,7 +25851,9 @@ class TradutorJavaScript {
|
|
|
25283
25851
|
this.indentacao = 0;
|
|
25284
25852
|
this.dicionarioConstrutos = {
|
|
25285
25853
|
AcessoIndiceVariavel: this.traduzirAcessoIndiceVariavel.bind(this),
|
|
25286
|
-
|
|
25854
|
+
AcessoMetodo: this.traduzirConstrutoAcessoMetodo.bind(this),
|
|
25855
|
+
AcessoMetodoOuPropriedade: this.traduzirConstrutoAcessoMetodoOuPropriedade.bind(this),
|
|
25856
|
+
AcessoPropriedade: this.traduzirConstrutoAcessoPropriedade.bind(this),
|
|
25287
25857
|
Agrupamento: this.traduzirConstrutoAgrupamento.bind(this),
|
|
25288
25858
|
AtribuicaoPorIndice: this.traduzirConstrutoAtribuicaoPorIndice.bind(this),
|
|
25289
25859
|
Atribuir: this.traduzirConstrutoAtribuir.bind(this),
|
|
@@ -25291,6 +25861,7 @@ class TradutorJavaScript {
|
|
|
25291
25861
|
Chamada: this.traduzirConstrutoChamada.bind(this),
|
|
25292
25862
|
Comentario: this.traduzirConstrutoComentario.bind(this),
|
|
25293
25863
|
DefinirValor: this.traduzirConstrutoDefinirValor.bind(this),
|
|
25864
|
+
Dicionario: this.traduzirConstrutoDicionario.bind(this),
|
|
25294
25865
|
FuncaoConstruto: this.traduzirFuncaoConstruto.bind(this),
|
|
25295
25866
|
Isto: () => 'this',
|
|
25296
25867
|
Literal: this.traduzirConstrutoLiteral.bind(this),
|
|
@@ -25471,9 +26042,29 @@ class TradutorJavaScript {
|
|
|
25471
26042
|
resultado += definirValor.valor.simbolo.lexema;
|
|
25472
26043
|
return resultado;
|
|
25473
26044
|
}
|
|
26045
|
+
traduzirConstrutoDicionario(dicionario) {
|
|
26046
|
+
let resultado = '{';
|
|
26047
|
+
for (let i = 0; i < dicionario.chaves.length; i++) {
|
|
26048
|
+
resultado += this.dicionarioConstrutos[dicionario.chaves[i].constructor.name](dicionario.chaves[i]);
|
|
26049
|
+
resultado += ":";
|
|
26050
|
+
resultado += this.dicionarioConstrutos[dicionario.valores[i].constructor.name](dicionario.valores[i]) + ',';
|
|
26051
|
+
}
|
|
26052
|
+
resultado += '}';
|
|
26053
|
+
return resultado;
|
|
26054
|
+
}
|
|
25474
26055
|
traduzirConstrutoLiteral(literal) {
|
|
25475
|
-
if (typeof literal.valor === 'string')
|
|
25476
|
-
|
|
26056
|
+
if (typeof literal.valor === 'string') {
|
|
26057
|
+
const possuiInterpolacao = /\$\{(verdadeiro|falso|nulo)\}/.test(literal.valor);
|
|
26058
|
+
const valor = literal.valor.replace(/\$\{(verdadeiro|falso|nulo)\}/g, (_, match) => {
|
|
26059
|
+
switch (match) {
|
|
26060
|
+
case 'verdadeiro': return '${true}';
|
|
26061
|
+
case 'falso': return '${false}';
|
|
26062
|
+
case 'nulo': return '${null}';
|
|
26063
|
+
default: return match;
|
|
26064
|
+
}
|
|
26065
|
+
});
|
|
26066
|
+
return possuiInterpolacao ? `\`${valor}\`` : `'${literal.valor}'`;
|
|
26067
|
+
}
|
|
25477
26068
|
return literal.valor;
|
|
25478
26069
|
}
|
|
25479
26070
|
traduzirConstrutoVariavel(variavel) {
|
|
@@ -25745,12 +26336,26 @@ class TradutorJavaScript {
|
|
|
25745
26336
|
return resultado;
|
|
25746
26337
|
}
|
|
25747
26338
|
traduzirConstrutoAcessoMetodo(acessoMetodo) {
|
|
26339
|
+
if (acessoMetodo.objeto instanceof construtos_1.Variavel) {
|
|
26340
|
+
let objetoVariavel = acessoMetodo.objeto;
|
|
26341
|
+
return `${objetoVariavel.simbolo.lexema}.${this.traduzirFuncoesNativas(acessoMetodo.nomeMetodo)}`;
|
|
26342
|
+
}
|
|
26343
|
+
return `this.${acessoMetodo.nomeMetodo}`;
|
|
26344
|
+
}
|
|
26345
|
+
traduzirConstrutoAcessoMetodoOuPropriedade(acessoMetodo) {
|
|
25748
26346
|
if (acessoMetodo.objeto instanceof construtos_1.Variavel) {
|
|
25749
26347
|
let objetoVariavel = acessoMetodo.objeto;
|
|
25750
26348
|
return `${objetoVariavel.simbolo.lexema}.${this.traduzirFuncoesNativas(acessoMetodo.simbolo.lexema)}`;
|
|
25751
26349
|
}
|
|
25752
26350
|
return `this.${acessoMetodo.simbolo.lexema}`;
|
|
25753
26351
|
}
|
|
26352
|
+
traduzirConstrutoAcessoPropriedade(acessoMetodo) {
|
|
26353
|
+
if (acessoMetodo.objeto instanceof construtos_1.Variavel) {
|
|
26354
|
+
let objetoVariavel = acessoMetodo.objeto;
|
|
26355
|
+
return `${objetoVariavel.simbolo.lexema}.${this.traduzirFuncoesNativas(acessoMetodo.nomePropriedade)}`;
|
|
26356
|
+
}
|
|
26357
|
+
return `this.${acessoMetodo.nomePropriedade}`;
|
|
26358
|
+
}
|
|
25754
26359
|
traduzirFuncaoConstruto(funcaoConstruto) {
|
|
25755
26360
|
let resultado = 'function(';
|
|
25756
26361
|
for (const parametro of funcaoConstruto.parametros) {
|
|
@@ -25845,7 +26450,7 @@ class TradutorJavaScript {
|
|
|
25845
26450
|
}
|
|
25846
26451
|
exports.TradutorJavaScript = TradutorJavaScript;
|
|
25847
26452
|
|
|
25848
|
-
},{"../construtos":
|
|
26453
|
+
},{"../construtos":44,"../declaracoes":82,"../tipos-de-simbolos/delegua":164}],175:[function(require,module,exports){
|
|
25849
26454
|
"use strict";
|
|
25850
26455
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25851
26456
|
exports.TradutorPortugolIpt = void 0;
|
|
@@ -25907,7 +26512,7 @@ class TradutorPortugolIpt {
|
|
|
25907
26512
|
}
|
|
25908
26513
|
exports.TradutorPortugolIpt = TradutorPortugolIpt;
|
|
25909
26514
|
|
|
25910
|
-
},{"../avaliador-sintatico/dialetos":6,"../lexador/dialetos":
|
|
26515
|
+
},{"../avaliador-sintatico/dialetos":6,"../lexador/dialetos":145}],176:[function(require,module,exports){
|
|
25911
26516
|
"use strict";
|
|
25912
26517
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25913
26518
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -25921,7 +26526,9 @@ class TradutorPython {
|
|
|
25921
26526
|
constructor() {
|
|
25922
26527
|
this.indentacao = 0;
|
|
25923
26528
|
this.dicionarioConstrutos = {
|
|
26529
|
+
AcessoMetodo: this.traduzirConstrutoAcessoMetodo.bind(this),
|
|
25924
26530
|
AcessoMetodoOuPropriedade: this.traduzirConstrutoAcessoMetodoOuPropriedade.bind(this),
|
|
26531
|
+
AcessoPropriedade: this.traduzirConstrutoAcessoPropriedade.bind(this),
|
|
25925
26532
|
AcessoIndiceVariavel: this.traduzirConstrutoAcessoIndiceVariavel.bind(this),
|
|
25926
26533
|
Agrupamento: this.traduzirConstrutoAgrupamento.bind(this),
|
|
25927
26534
|
AtribuicaoPorIndice: this.traduzirConstrutoAtribuicaoPorIndice.bind(this),
|
|
@@ -26056,6 +26663,20 @@ class TradutorPython {
|
|
|
26056
26663
|
const indice = this.dicionarioConstrutos[acessoIndiceVariavel.indice.constructor.name](acessoIndiceVariavel.indice);
|
|
26057
26664
|
return `${entidade}[${indice}]`;
|
|
26058
26665
|
}
|
|
26666
|
+
traduzirConstrutoAcessoMetodo(acessoMetodo) {
|
|
26667
|
+
if (acessoMetodo.objeto instanceof construtos_1.Variavel) {
|
|
26668
|
+
let objetoVariavel = acessoMetodo.objeto;
|
|
26669
|
+
let funcaoTraduzida = this.traduzirFuncoesNativas(acessoMetodo.nomeMetodo);
|
|
26670
|
+
if (funcaoTraduzida === 'in') {
|
|
26671
|
+
return `in ${objetoVariavel.simbolo.lexema}`;
|
|
26672
|
+
}
|
|
26673
|
+
else if (funcaoTraduzida === 'len') {
|
|
26674
|
+
return `len(${objetoVariavel.simbolo.lexema})`;
|
|
26675
|
+
}
|
|
26676
|
+
return `${objetoVariavel.simbolo.lexema}.${funcaoTraduzida}`;
|
|
26677
|
+
}
|
|
26678
|
+
return `self.${acessoMetodo.nomeMetodo}`;
|
|
26679
|
+
}
|
|
26059
26680
|
traduzirConstrutoAcessoMetodoOuPropriedade(acessoMetodo) {
|
|
26060
26681
|
if (acessoMetodo.objeto instanceof construtos_1.Variavel) {
|
|
26061
26682
|
let objetoVariavel = acessoMetodo.objeto;
|
|
@@ -26070,6 +26691,20 @@ class TradutorPython {
|
|
|
26070
26691
|
}
|
|
26071
26692
|
return `self.${acessoMetodo.simbolo.lexema}`;
|
|
26072
26693
|
}
|
|
26694
|
+
traduzirConstrutoAcessoPropriedade(acessoPropriedade) {
|
|
26695
|
+
if (acessoPropriedade.objeto instanceof construtos_1.Variavel) {
|
|
26696
|
+
let objetoVariavel = acessoPropriedade.objeto;
|
|
26697
|
+
let funcaoTraduzida = this.traduzirFuncoesNativas(acessoPropriedade.nomePropriedade);
|
|
26698
|
+
if (funcaoTraduzida === 'in') {
|
|
26699
|
+
return `in ${objetoVariavel.simbolo.lexema}`;
|
|
26700
|
+
}
|
|
26701
|
+
else if (funcaoTraduzida === 'len') {
|
|
26702
|
+
return `len(${objetoVariavel.simbolo.lexema})`;
|
|
26703
|
+
}
|
|
26704
|
+
return `${objetoVariavel.simbolo.lexema}.${funcaoTraduzida}`;
|
|
26705
|
+
}
|
|
26706
|
+
return `self.${acessoPropriedade.nomePropriedade}`;
|
|
26707
|
+
}
|
|
26073
26708
|
traduzirConstrutoAgrupamento(agrupamento) {
|
|
26074
26709
|
return this.dicionarioConstrutos[agrupamento.constructor.name](agrupamento.expressao || agrupamento);
|
|
26075
26710
|
}
|
|
@@ -26419,15 +27054,20 @@ class TradutorPython {
|
|
|
26419
27054
|
}
|
|
26420
27055
|
traduzir(declaracoes) {
|
|
26421
27056
|
let resultado = '';
|
|
26422
|
-
|
|
26423
|
-
|
|
27057
|
+
try {
|
|
27058
|
+
for (const declaracao of declaracoes) {
|
|
27059
|
+
resultado += `${this.dicionarioDeclaracoes[declaracao.constructor.name](declaracao)} \n`;
|
|
27060
|
+
}
|
|
27061
|
+
}
|
|
27062
|
+
catch (erro) {
|
|
27063
|
+
console.error(`Erro em tradução para Python: ${erro}`);
|
|
26424
27064
|
}
|
|
26425
27065
|
return resultado.replace(/\n{2,}/g, '\n');
|
|
26426
27066
|
}
|
|
26427
27067
|
}
|
|
26428
27068
|
exports.TradutorPython = TradutorPython;
|
|
26429
27069
|
|
|
26430
|
-
},{"../construtos":
|
|
27070
|
+
},{"../construtos":44,"../declaracoes":82,"../tipos-de-simbolos/delegua":164}],177:[function(require,module,exports){
|
|
26431
27071
|
"use strict";
|
|
26432
27072
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26433
27073
|
exports.TradutorReversoJavaScript = void 0;
|
|
@@ -26821,7 +27461,7 @@ class TradutorReversoJavaScript {
|
|
|
26821
27461
|
}
|
|
26822
27462
|
exports.TradutorReversoJavaScript = TradutorReversoJavaScript;
|
|
26823
27463
|
|
|
26824
|
-
},{}],
|
|
27464
|
+
},{}],178:[function(require,module,exports){
|
|
26825
27465
|
"use strict";
|
|
26826
27466
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26827
27467
|
exports.TradutorReversoPython = void 0;
|
|
@@ -26894,7 +27534,7 @@ class TradutorReversoPython {
|
|
|
26894
27534
|
}
|
|
26895
27535
|
exports.TradutorReversoPython = TradutorReversoPython;
|
|
26896
27536
|
|
|
26897
|
-
},{"./python/python3-lexer":
|
|
27537
|
+
},{"./python/python3-lexer":171,"./python/python3-parser":172,"antlr4ts":294,"antlr4ts/tree/ParseTreeWalker":313}],179:[function(require,module,exports){
|
|
26898
27538
|
"use strict";
|
|
26899
27539
|
/*!
|
|
26900
27540
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -26902,7 +27542,7 @@ exports.TradutorReversoPython = TradutorReversoPython;
|
|
|
26902
27542
|
*/
|
|
26903
27543
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26904
27544
|
|
|
26905
|
-
},{}],
|
|
27545
|
+
},{}],180:[function(require,module,exports){
|
|
26906
27546
|
"use strict";
|
|
26907
27547
|
/*!
|
|
26908
27548
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -26910,7 +27550,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26910
27550
|
*/
|
|
26911
27551
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26912
27552
|
|
|
26913
|
-
},{}],
|
|
27553
|
+
},{}],181:[function(require,module,exports){
|
|
26914
27554
|
"use strict";
|
|
26915
27555
|
/*!
|
|
26916
27556
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27072,7 +27712,7 @@ __decorate([
|
|
|
27072
27712
|
], ANTLRInputStream.prototype, "toString", null);
|
|
27073
27713
|
exports.ANTLRInputStream = ANTLRInputStream;
|
|
27074
27714
|
|
|
27075
|
-
},{"./Decorators":
|
|
27715
|
+
},{"./Decorators":192,"./IntStream":198,"assert":335}],182:[function(require,module,exports){
|
|
27076
27716
|
"use strict";
|
|
27077
27717
|
/*!
|
|
27078
27718
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27155,7 +27795,7 @@ __decorate([
|
|
|
27155
27795
|
], BailErrorStrategy.prototype, "sync", null);
|
|
27156
27796
|
exports.BailErrorStrategy = BailErrorStrategy;
|
|
27157
27797
|
|
|
27158
|
-
},{"./Decorators":
|
|
27798
|
+
},{"./Decorators":192,"./DefaultErrorStrategy":193,"./InputMismatchException":197,"./misc/ParseCancellationException":309}],183:[function(require,module,exports){
|
|
27159
27799
|
"use strict";
|
|
27160
27800
|
/*!
|
|
27161
27801
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27645,7 +28285,7 @@ BufferedTokenStream = __decorate([
|
|
|
27645
28285
|
], BufferedTokenStream);
|
|
27646
28286
|
exports.BufferedTokenStream = BufferedTokenStream;
|
|
27647
28287
|
|
|
27648
|
-
},{"./CommonToken":
|
|
28288
|
+
},{"./CommonToken":188,"./Decorators":192,"./Lexer":200,"./Token":217,"./misc/Interval":304,"assert":335}],184:[function(require,module,exports){
|
|
27649
28289
|
"use strict";
|
|
27650
28290
|
/*!
|
|
27651
28291
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27653,7 +28293,7 @@ exports.BufferedTokenStream = BufferedTokenStream;
|
|
|
27653
28293
|
*/
|
|
27654
28294
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27655
28295
|
|
|
27656
|
-
},{}],
|
|
28296
|
+
},{}],185:[function(require,module,exports){
|
|
27657
28297
|
"use strict";
|
|
27658
28298
|
/*!
|
|
27659
28299
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27787,7 +28427,7 @@ var CharStreams;
|
|
|
27787
28427
|
// }
|
|
27788
28428
|
})(CharStreams = exports.CharStreams || (exports.CharStreams = {}));
|
|
27789
28429
|
|
|
27790
|
-
},{"./CodePointBuffer":
|
|
28430
|
+
},{"./CodePointBuffer":186,"./CodePointCharStream":187,"./IntStream":198}],186:[function(require,module,exports){
|
|
27791
28431
|
"use strict";
|
|
27792
28432
|
/*!
|
|
27793
28433
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28022,7 +28662,7 @@ exports.CodePointBuffer = CodePointBuffer;
|
|
|
28022
28662
|
CodePointBuffer.Builder = Builder;
|
|
28023
28663
|
})(CodePointBuffer = exports.CodePointBuffer || (exports.CodePointBuffer = {}));
|
|
28024
28664
|
|
|
28025
|
-
},{"./misc/Character":
|
|
28665
|
+
},{"./misc/Character":300,"assert":335}],187:[function(require,module,exports){
|
|
28026
28666
|
"use strict";
|
|
28027
28667
|
/*!
|
|
28028
28668
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28172,7 +28812,7 @@ __decorate([
|
|
|
28172
28812
|
], CodePointCharStream.prototype, "getText", null);
|
|
28173
28813
|
exports.CodePointCharStream = CodePointCharStream;
|
|
28174
28814
|
|
|
28175
|
-
},{"./Decorators":
|
|
28815
|
+
},{"./Decorators":192,"./IntStream":198,"./misc/Interval":304,"assert":335}],188:[function(require,module,exports){
|
|
28176
28816
|
"use strict";
|
|
28177
28817
|
/*!
|
|
28178
28818
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28402,7 +29042,7 @@ CommonToken = __decorate([
|
|
|
28402
29042
|
], CommonToken);
|
|
28403
29043
|
exports.CommonToken = CommonToken;
|
|
28404
29044
|
|
|
28405
|
-
},{"./Decorators":
|
|
29045
|
+
},{"./Decorators":192,"./Token":217,"./misc/Interval":304}],189:[function(require,module,exports){
|
|
28406
29046
|
"use strict";
|
|
28407
29047
|
/*!
|
|
28408
29048
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28466,7 +29106,7 @@ exports.CommonTokenFactory = CommonTokenFactory;
|
|
|
28466
29106
|
CommonTokenFactory.DEFAULT = new CommonTokenFactory();
|
|
28467
29107
|
})(CommonTokenFactory = exports.CommonTokenFactory || (exports.CommonTokenFactory = {}));
|
|
28468
29108
|
|
|
28469
|
-
},{"./CommonToken":
|
|
29109
|
+
},{"./CommonToken":188,"./Decorators":192,"./misc/Interval":304}],190:[function(require,module,exports){
|
|
28470
29110
|
"use strict";
|
|
28471
29111
|
/*!
|
|
28472
29112
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28593,7 +29233,7 @@ CommonTokenStream = __decorate([
|
|
|
28593
29233
|
], CommonTokenStream);
|
|
28594
29234
|
exports.CommonTokenStream = CommonTokenStream;
|
|
28595
29235
|
|
|
28596
|
-
},{"./BufferedTokenStream":
|
|
29236
|
+
},{"./BufferedTokenStream":183,"./Decorators":192,"./Token":217}],191:[function(require,module,exports){
|
|
28597
29237
|
"use strict";
|
|
28598
29238
|
/*!
|
|
28599
29239
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28627,7 +29267,7 @@ exports.ConsoleErrorListener = ConsoleErrorListener;
|
|
|
28627
29267
|
*/
|
|
28628
29268
|
ConsoleErrorListener.INSTANCE = new ConsoleErrorListener();
|
|
28629
29269
|
|
|
28630
|
-
},{}],
|
|
29270
|
+
},{}],192:[function(require,module,exports){
|
|
28631
29271
|
"use strict";
|
|
28632
29272
|
/*!
|
|
28633
29273
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28654,7 +29294,7 @@ function SuppressWarnings(options) {
|
|
|
28654
29294
|
}
|
|
28655
29295
|
exports.SuppressWarnings = SuppressWarnings;
|
|
28656
29296
|
|
|
28657
|
-
},{}],
|
|
29297
|
+
},{}],193:[function(require,module,exports){
|
|
28658
29298
|
"use strict";
|
|
28659
29299
|
/*!
|
|
28660
29300
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29468,7 +30108,7 @@ __decorate([
|
|
|
29468
30108
|
], DefaultErrorStrategy.prototype, "consumeUntil", null);
|
|
29469
30109
|
exports.DefaultErrorStrategy = DefaultErrorStrategy;
|
|
29470
30110
|
|
|
29471
|
-
},{"./Decorators":
|
|
30111
|
+
},{"./Decorators":192,"./FailedPredicateException":196,"./InputMismatchException":197,"./NoViableAltException":204,"./Token":217,"./atn/ATNState":231,"./atn/ATNStateType":232,"./atn/PredictionContext":272,"./misc/IntervalSet":305}],194:[function(require,module,exports){
|
|
29472
30112
|
"use strict";
|
|
29473
30113
|
/*!
|
|
29474
30114
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29544,7 +30184,7 @@ var Dependents;
|
|
|
29544
30184
|
Dependents[Dependents["FOLLOWING"] = 9] = "FOLLOWING";
|
|
29545
30185
|
})(Dependents = exports.Dependents || (exports.Dependents = {}));
|
|
29546
30186
|
|
|
29547
|
-
},{}],
|
|
30187
|
+
},{}],195:[function(require,module,exports){
|
|
29548
30188
|
"use strict";
|
|
29549
30189
|
/*!
|
|
29550
30190
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29692,7 +30332,7 @@ __decorate([
|
|
|
29692
30332
|
], DiagnosticErrorListener.prototype, "getConflictingAlts", null);
|
|
29693
30333
|
exports.DiagnosticErrorListener = DiagnosticErrorListener;
|
|
29694
30334
|
|
|
29695
|
-
},{"./Decorators":
|
|
30335
|
+
},{"./Decorators":192,"./misc/BitSet":299,"./misc/Interval":304}],196:[function(require,module,exports){
|
|
29696
30336
|
"use strict";
|
|
29697
30337
|
/*!
|
|
29698
30338
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29757,7 +30397,7 @@ FailedPredicateException = __decorate([
|
|
|
29757
30397
|
], FailedPredicateException);
|
|
29758
30398
|
exports.FailedPredicateException = FailedPredicateException;
|
|
29759
30399
|
|
|
29760
|
-
},{"./Decorators":
|
|
30400
|
+
},{"./Decorators":192,"./RecognitionException":211,"./atn/PredicateTransition":271}],197:[function(require,module,exports){
|
|
29761
30401
|
"use strict";
|
|
29762
30402
|
/*!
|
|
29763
30403
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29797,7 +30437,7 @@ InputMismatchException = __decorate([
|
|
|
29797
30437
|
], InputMismatchException);
|
|
29798
30438
|
exports.InputMismatchException = InputMismatchException;
|
|
29799
30439
|
|
|
29800
|
-
},{"./Decorators":
|
|
30440
|
+
},{"./Decorators":192,"./RecognitionException":211}],198:[function(require,module,exports){
|
|
29801
30441
|
"use strict";
|
|
29802
30442
|
/*!
|
|
29803
30443
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29820,7 +30460,7 @@ var IntStream;
|
|
|
29820
30460
|
IntStream.UNKNOWN_SOURCE_NAME = "<unknown>";
|
|
29821
30461
|
})(IntStream = exports.IntStream || (exports.IntStream = {}));
|
|
29822
30462
|
|
|
29823
|
-
},{}],
|
|
30463
|
+
},{}],199:[function(require,module,exports){
|
|
29824
30464
|
"use strict";
|
|
29825
30465
|
/*!
|
|
29826
30466
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29867,7 +30507,7 @@ __decorate([
|
|
|
29867
30507
|
], InterpreterRuleContext.prototype, "ruleIndex", null);
|
|
29868
30508
|
exports.InterpreterRuleContext = InterpreterRuleContext;
|
|
29869
30509
|
|
|
29870
|
-
},{"./Decorators":
|
|
30510
|
+
},{"./Decorators":192,"./ParserRuleContext":208}],200:[function(require,module,exports){
|
|
29871
30511
|
"use strict";
|
|
29872
30512
|
/*!
|
|
29873
30513
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30203,7 +30843,7 @@ __decorate([
|
|
|
30203
30843
|
], Lexer.prototype, "charPositionInLine", null);
|
|
30204
30844
|
exports.Lexer = Lexer;
|
|
30205
30845
|
|
|
30206
|
-
},{"./CommonTokenFactory":
|
|
30846
|
+
},{"./CommonTokenFactory":189,"./Decorators":192,"./IntStream":198,"./LexerNoViableAltException":202,"./Recognizer":212,"./Token":217,"./atn/LexerATNSimulator":250,"./misc/IntegerStack":303,"./misc/Interval":304}],201:[function(require,module,exports){
|
|
30207
30847
|
"use strict";
|
|
30208
30848
|
/*!
|
|
30209
30849
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30283,7 +30923,7 @@ LexerInterpreter = __decorate([
|
|
|
30283
30923
|
], LexerInterpreter);
|
|
30284
30924
|
exports.LexerInterpreter = LexerInterpreter;
|
|
30285
30925
|
|
|
30286
|
-
},{"./Decorators":
|
|
30926
|
+
},{"./Decorators":192,"./Lexer":200,"./atn/LexerATNSimulator":250}],202:[function(require,module,exports){
|
|
30287
30927
|
"use strict";
|
|
30288
30928
|
/*!
|
|
30289
30929
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30340,7 +30980,7 @@ LexerNoViableAltException = __decorate([
|
|
|
30340
30980
|
], LexerNoViableAltException);
|
|
30341
30981
|
exports.LexerNoViableAltException = LexerNoViableAltException;
|
|
30342
30982
|
|
|
30343
|
-
},{"./Decorators":
|
|
30983
|
+
},{"./Decorators":192,"./RecognitionException":211,"./misc/Interval":304,"./misc/Utils":311}],203:[function(require,module,exports){
|
|
30344
30984
|
"use strict";
|
|
30345
30985
|
/*!
|
|
30346
30986
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30550,7 +31190,7 @@ ListTokenSource = __decorate([
|
|
|
30550
31190
|
], ListTokenSource);
|
|
30551
31191
|
exports.ListTokenSource = ListTokenSource;
|
|
30552
31192
|
|
|
30553
|
-
},{"./CommonTokenFactory":
|
|
31193
|
+
},{"./CommonTokenFactory":189,"./Decorators":192,"./Token":217}],204:[function(require,module,exports){
|
|
30554
31194
|
"use strict";
|
|
30555
31195
|
/*!
|
|
30556
31196
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30605,7 +31245,7 @@ __decorate([
|
|
|
30605
31245
|
], NoViableAltException.prototype, "_startToken", void 0);
|
|
30606
31246
|
exports.NoViableAltException = NoViableAltException;
|
|
30607
31247
|
|
|
30608
|
-
},{"./Decorators":
|
|
31248
|
+
},{"./Decorators":192,"./Parser":205,"./RecognitionException":211}],205:[function(require,module,exports){
|
|
30609
31249
|
(function (process){(function (){
|
|
30610
31250
|
"use strict";
|
|
30611
31251
|
/*!
|
|
@@ -31451,7 +32091,7 @@ __decorate([
|
|
|
31451
32091
|
exports.Parser = Parser;
|
|
31452
32092
|
|
|
31453
32093
|
}).call(this)}).call(this,require('_process'))
|
|
31454
|
-
},{"./Decorators":
|
|
32094
|
+
},{"./Decorators":192,"./DefaultErrorStrategy":193,"./Lexer":200,"./ProxyParserErrorListener":210,"./Recognizer":212,"./Token":217,"./atn/ATNDeserializationOptions":228,"./atn/ATNDeserializer":229,"./atn/ParseInfo":265,"./atn/ParserATNSimulator":266,"./atn/ProfilingATNSimulator":275,"./misc/IntegerStack":303,"./misc/Utils":311,"./tree/ErrorNode":312,"./tree/TerminalNode":315,"./tree/pattern/ParseTreePatternMatcher":320,"_process":383}],206:[function(require,module,exports){
|
|
31455
32095
|
"use strict";
|
|
31456
32096
|
/*!
|
|
31457
32097
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31459,7 +32099,7 @@ exports.Parser = Parser;
|
|
|
31459
32099
|
*/
|
|
31460
32100
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31461
32101
|
|
|
31462
|
-
},{}],
|
|
32102
|
+
},{}],207:[function(require,module,exports){
|
|
31463
32103
|
"use strict";
|
|
31464
32104
|
/*!
|
|
31465
32105
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31867,7 +32507,7 @@ ParserInterpreter = __decorate([
|
|
|
31867
32507
|
], ParserInterpreter);
|
|
31868
32508
|
exports.ParserInterpreter = ParserInterpreter;
|
|
31869
32509
|
|
|
31870
|
-
},{"./Decorators":
|
|
32510
|
+
},{"./Decorators":192,"./FailedPredicateException":196,"./InputMismatchException":197,"./InterpreterRuleContext":199,"./Parser":205,"./RecognitionException":211,"./Token":217,"./atn/ATNState":231,"./atn/ATNStateType":232,"./atn/LoopEndState":262,"./atn/ParserATNSimulator":266,"./atn/StarLoopEntryState":284,"./misc/BitSet":299}],208:[function(require,module,exports){
|
|
31871
32511
|
"use strict";
|
|
31872
32512
|
/*!
|
|
31873
32513
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32168,7 +32808,7 @@ __decorate([
|
|
|
32168
32808
|
], ParserRuleContext.prototype, "sourceInterval", null);
|
|
32169
32809
|
exports.ParserRuleContext = ParserRuleContext;
|
|
32170
32810
|
|
|
32171
|
-
},{"./Decorators":
|
|
32811
|
+
},{"./Decorators":192,"./RuleContext":213,"./misc/Interval":304,"./tree/ErrorNode":312,"./tree/TerminalNode":315}],209:[function(require,module,exports){
|
|
32172
32812
|
"use strict";
|
|
32173
32813
|
/*!
|
|
32174
32814
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32218,7 +32858,7 @@ __decorate([
|
|
|
32218
32858
|
], ProxyErrorListener.prototype, "syntaxError", null);
|
|
32219
32859
|
exports.ProxyErrorListener = ProxyErrorListener;
|
|
32220
32860
|
|
|
32221
|
-
},{"./Decorators":
|
|
32861
|
+
},{"./Decorators":192}],210:[function(require,module,exports){
|
|
32222
32862
|
"use strict";
|
|
32223
32863
|
/*!
|
|
32224
32864
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32277,7 +32917,7 @@ __decorate([
|
|
|
32277
32917
|
], ProxyParserErrorListener.prototype, "reportContextSensitivity", null);
|
|
32278
32918
|
exports.ProxyParserErrorListener = ProxyParserErrorListener;
|
|
32279
32919
|
|
|
32280
|
-
},{"./Decorators":
|
|
32920
|
+
},{"./Decorators":192,"./ProxyErrorListener":209}],211:[function(require,module,exports){
|
|
32281
32921
|
"use strict";
|
|
32282
32922
|
/*!
|
|
32283
32923
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32382,7 +33022,7 @@ class RecognitionException extends Error {
|
|
|
32382
33022
|
}
|
|
32383
33023
|
exports.RecognitionException = RecognitionException;
|
|
32384
33024
|
|
|
32385
|
-
},{}],
|
|
33025
|
+
},{}],212:[function(require,module,exports){
|
|
32386
33026
|
"use strict";
|
|
32387
33027
|
/*!
|
|
32388
33028
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32601,7 +33241,7 @@ __decorate([
|
|
|
32601
33241
|
], Recognizer.prototype, "getErrorListeners", null);
|
|
32602
33242
|
exports.Recognizer = Recognizer;
|
|
32603
33243
|
|
|
32604
|
-
},{"./ConsoleErrorListener":
|
|
33244
|
+
},{"./ConsoleErrorListener":191,"./Decorators":192,"./ProxyErrorListener":209,"./Token":217,"./misc/Utils":311}],213:[function(require,module,exports){
|
|
32605
33245
|
"use strict";
|
|
32606
33246
|
/*!
|
|
32607
33247
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32818,7 +33458,7 @@ __decorate([
|
|
|
32818
33458
|
], RuleContext.prototype, "toStringTree", null);
|
|
32819
33459
|
exports.RuleContext = RuleContext;
|
|
32820
33460
|
|
|
32821
|
-
},{"./Decorators":
|
|
33461
|
+
},{"./Decorators":192,"./ParserRuleContext":208,"./Recognizer":212,"./atn/ATN":225,"./misc/Interval":304,"./tree/RuleNode":314,"./tree/Trees":316}],214:[function(require,module,exports){
|
|
32822
33462
|
"use strict";
|
|
32823
33463
|
/*!
|
|
32824
33464
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32869,7 +33509,7 @@ __decorate([
|
|
|
32869
33509
|
], RuleContextWithAltNum.prototype, "altNumber", null);
|
|
32870
33510
|
exports.RuleContextWithAltNum = RuleContextWithAltNum;
|
|
32871
33511
|
|
|
32872
|
-
},{"./Decorators":
|
|
33512
|
+
},{"./Decorators":192,"./ParserRuleContext":208,"./atn/ATN":225}],215:[function(require,module,exports){
|
|
32873
33513
|
"use strict";
|
|
32874
33514
|
/*!
|
|
32875
33515
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32892,7 +33532,7 @@ function RuleDependency(dependency) {
|
|
|
32892
33532
|
}
|
|
32893
33533
|
exports.RuleDependency = RuleDependency;
|
|
32894
33534
|
|
|
32895
|
-
},{}],
|
|
33535
|
+
},{}],216:[function(require,module,exports){
|
|
32896
33536
|
"use strict";
|
|
32897
33537
|
/*!
|
|
32898
33538
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32911,7 +33551,7 @@ function RuleVersion(version) {
|
|
|
32911
33551
|
}
|
|
32912
33552
|
exports.RuleVersion = RuleVersion;
|
|
32913
33553
|
|
|
32914
|
-
},{}],
|
|
33554
|
+
},{}],217:[function(require,module,exports){
|
|
32915
33555
|
"use strict";
|
|
32916
33556
|
/*!
|
|
32917
33557
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32951,7 +33591,7 @@ var Token;
|
|
|
32951
33591
|
Token.MIN_USER_CHANNEL_VALUE = 2;
|
|
32952
33592
|
})(Token = exports.Token || (exports.Token = {}));
|
|
32953
33593
|
|
|
32954
|
-
},{"./IntStream":
|
|
33594
|
+
},{"./IntStream":198}],218:[function(require,module,exports){
|
|
32955
33595
|
"use strict";
|
|
32956
33596
|
/*!
|
|
32957
33597
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32959,7 +33599,7 @@ var Token;
|
|
|
32959
33599
|
*/
|
|
32960
33600
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32961
33601
|
|
|
32962
|
-
},{}],
|
|
33602
|
+
},{}],219:[function(require,module,exports){
|
|
32963
33603
|
"use strict";
|
|
32964
33604
|
/*!
|
|
32965
33605
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32967,7 +33607,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
32967
33607
|
*/
|
|
32968
33608
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32969
33609
|
|
|
32970
|
-
},{}],
|
|
33610
|
+
},{}],220:[function(require,module,exports){
|
|
32971
33611
|
"use strict";
|
|
32972
33612
|
/*!
|
|
32973
33613
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32975,7 +33615,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
32975
33615
|
*/
|
|
32976
33616
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32977
33617
|
|
|
32978
|
-
},{}],
|
|
33618
|
+
},{}],221:[function(require,module,exports){
|
|
32979
33619
|
"use strict";
|
|
32980
33620
|
/*!
|
|
32981
33621
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33483,7 +34123,7 @@ __decorate([
|
|
|
33483
34123
|
Decorators_1.Override
|
|
33484
34124
|
], ReplaceOp.prototype, "toString", null);
|
|
33485
34125
|
|
|
33486
|
-
},{"./Decorators":
|
|
34126
|
+
},{"./Decorators":192,"./Token":217,"./misc/Interval":304}],222:[function(require,module,exports){
|
|
33487
34127
|
"use strict";
|
|
33488
34128
|
/*!
|
|
33489
34129
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33491,7 +34131,7 @@ __decorate([
|
|
|
33491
34131
|
*/
|
|
33492
34132
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33493
34133
|
|
|
33494
|
-
},{}],
|
|
34134
|
+
},{}],223:[function(require,module,exports){
|
|
33495
34135
|
"use strict";
|
|
33496
34136
|
/*!
|
|
33497
34137
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33611,7 +34251,7 @@ __decorate([
|
|
|
33611
34251
|
], VocabularyImpl, "EMPTY_VOCABULARY", void 0);
|
|
33612
34252
|
exports.VocabularyImpl = VocabularyImpl;
|
|
33613
34253
|
|
|
33614
|
-
},{"./Decorators":
|
|
34254
|
+
},{"./Decorators":192,"./Token":217}],224:[function(require,module,exports){
|
|
33615
34255
|
"use strict";
|
|
33616
34256
|
/*!
|
|
33617
34257
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33619,7 +34259,7 @@ exports.VocabularyImpl = VocabularyImpl;
|
|
|
33619
34259
|
*/
|
|
33620
34260
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33621
34261
|
|
|
33622
|
-
},{}],
|
|
34262
|
+
},{}],225:[function(require,module,exports){
|
|
33623
34263
|
"use strict";
|
|
33624
34264
|
/*!
|
|
33625
34265
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33841,7 +34481,7 @@ exports.ATN = ATN;
|
|
|
33841
34481
|
})(ATN = exports.ATN || (exports.ATN = {}));
|
|
33842
34482
|
exports.ATN = ATN;
|
|
33843
34483
|
|
|
33844
|
-
},{"../Decorators":
|
|
34484
|
+
},{"../Decorators":192,"../Token":217,"../dfa/DFA":290,"../misc/Array2DHashMap":295,"../misc/IntervalSet":305,"../misc/ObjectEqualityComparator":308,"./InvalidState":248,"./LL1Analyzer":249,"./PredictionContext":272,"assert":335}],226:[function(require,module,exports){
|
|
33845
34485
|
"use strict";
|
|
33846
34486
|
/*!
|
|
33847
34487
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34366,7 +35006,7 @@ ActionSemanticContextATNConfig = __decorate([
|
|
|
34366
35006
|
__param(1, Decorators_1.NotNull), __param(2, Decorators_1.NotNull)
|
|
34367
35007
|
], ActionSemanticContextATNConfig);
|
|
34368
35008
|
|
|
34369
|
-
},{"../Decorators":
|
|
35009
|
+
},{"../Decorators":192,"../misc/Array2DHashMap":295,"../misc/MurmurHash":307,"../misc/ObjectEqualityComparator":308,"./DecisionState":245,"./PredictionContext":272,"./SemanticContext":280,"assert":335}],227:[function(require,module,exports){
|
|
34370
35010
|
"use strict";
|
|
34371
35011
|
/*!
|
|
34372
35012
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34813,7 +35453,7 @@ __decorate([
|
|
|
34813
35453
|
], ATNConfigSet.prototype, "hashCode", null);
|
|
34814
35454
|
exports.ATNConfigSet = ATNConfigSet;
|
|
34815
35455
|
|
|
34816
|
-
},{"../Decorators":
|
|
35456
|
+
},{"../Decorators":192,"../misc/Array2DHashMap":295,"../misc/Array2DHashSet":296,"../misc/ArrayEqualityComparator":297,"../misc/BitSet":299,"../misc/ObjectEqualityComparator":308,"../misc/Utils":311,"./ATN":225,"./ATNConfig":226,"./PredictionContext":272,"./PredictionContextCache":273,"./SemanticContext":280,"assert":335}],228:[function(require,module,exports){
|
|
34817
35457
|
"use strict";
|
|
34818
35458
|
/*!
|
|
34819
35459
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34892,7 +35532,7 @@ __decorate([
|
|
|
34892
35532
|
], ATNDeserializationOptions, "defaultOptions", null);
|
|
34893
35533
|
exports.ATNDeserializationOptions = ATNDeserializationOptions;
|
|
34894
35534
|
|
|
34895
|
-
},{"../Decorators":
|
|
35535
|
+
},{"../Decorators":192}],229:[function(require,module,exports){
|
|
34896
35536
|
"use strict";
|
|
34897
35537
|
/*!
|
|
34898
35538
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35979,7 +36619,7 @@ __decorate([
|
|
|
35979
36619
|
], ATNDeserializer.prototype, "edgeFactory", null);
|
|
35980
36620
|
exports.ATNDeserializer = ATNDeserializer;
|
|
35981
36621
|
|
|
35982
|
-
},{"../Decorators":
|
|
36622
|
+
},{"../Decorators":192,"../Token":217,"../dfa/DFA":290,"../misc/Array2DHashSet":296,"../misc/BitSet":299,"../misc/IntervalSet":305,"../misc/UUID":310,"./ATN":225,"./ATNDeserializationOptions":228,"./ATNStateType":232,"./ActionTransition":234,"./AtomTransition":236,"./BasicBlockStartState":237,"./BasicState":238,"./BlockEndState":239,"./BlockStartState":240,"./DecisionState":245,"./EpsilonTransition":246,"./InvalidState":248,"./LexerChannelAction":252,"./LexerCustomAction":253,"./LexerModeAction":255,"./LexerMoreAction":256,"./LexerPopModeAction":257,"./LexerPushModeAction":258,"./LexerSkipAction":259,"./LexerTypeAction":260,"./LoopEndState":262,"./NotSetTransition":263,"./ParserATNSimulator":266,"./PlusBlockStartState":267,"./PlusLoopbackState":268,"./PrecedencePredicateTransition":269,"./PredicateTransition":271,"./RangeTransition":276,"./RuleStartState":277,"./RuleStopState":278,"./RuleTransition":279,"./SetTransition":281,"./StarBlockStartState":283,"./StarLoopEntryState":284,"./StarLoopbackState":285,"./TokensStartState":286,"./WildcardTransition":288}],230:[function(require,module,exports){
|
|
35983
36623
|
"use strict";
|
|
35984
36624
|
/*!
|
|
35985
36625
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36043,7 +36683,7 @@ exports.ATNSimulator = ATNSimulator;
|
|
|
36043
36683
|
})(ATNSimulator = exports.ATNSimulator || (exports.ATNSimulator = {}));
|
|
36044
36684
|
exports.ATNSimulator = ATNSimulator;
|
|
36045
36685
|
|
|
36046
|
-
},{"../Decorators":
|
|
36686
|
+
},{"../Decorators":192,"../dfa/DFAState":292,"./ATNConfigSet":227,"./PredictionContext":272}],231:[function(require,module,exports){
|
|
36047
36687
|
"use strict";
|
|
36048
36688
|
/*!
|
|
36049
36689
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36230,7 +36870,7 @@ exports.ATNState = ATNState;
|
|
|
36230
36870
|
ATNState.INVALID_STATE_NUMBER = -1;
|
|
36231
36871
|
})(ATNState = exports.ATNState || (exports.ATNState = {}));
|
|
36232
36872
|
|
|
36233
|
-
},{"../Decorators":
|
|
36873
|
+
},{"../Decorators":192}],232:[function(require,module,exports){
|
|
36234
36874
|
"use strict";
|
|
36235
36875
|
/*!
|
|
36236
36876
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36256,7 +36896,7 @@ var ATNStateType;
|
|
|
36256
36896
|
ATNStateType[ATNStateType["LOOP_END"] = 12] = "LOOP_END";
|
|
36257
36897
|
})(ATNStateType = exports.ATNStateType || (exports.ATNStateType = {}));
|
|
36258
36898
|
|
|
36259
|
-
},{}],
|
|
36899
|
+
},{}],233:[function(require,module,exports){
|
|
36260
36900
|
"use strict";
|
|
36261
36901
|
/*!
|
|
36262
36902
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36276,7 +36916,7 @@ class AbstractPredicateTransition extends Transition_1.Transition {
|
|
|
36276
36916
|
}
|
|
36277
36917
|
exports.AbstractPredicateTransition = AbstractPredicateTransition;
|
|
36278
36918
|
|
|
36279
|
-
},{"./Transition":
|
|
36919
|
+
},{"./Transition":287}],234:[function(require,module,exports){
|
|
36280
36920
|
"use strict";
|
|
36281
36921
|
/*!
|
|
36282
36922
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36332,7 +36972,7 @@ ActionTransition = __decorate([
|
|
|
36332
36972
|
], ActionTransition);
|
|
36333
36973
|
exports.ActionTransition = ActionTransition;
|
|
36334
36974
|
|
|
36335
|
-
},{"../Decorators":
|
|
36975
|
+
},{"../Decorators":192,"./Transition":287}],235:[function(require,module,exports){
|
|
36336
36976
|
"use strict";
|
|
36337
36977
|
/*!
|
|
36338
36978
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36419,7 +37059,7 @@ AmbiguityInfo = __decorate([
|
|
|
36419
37059
|
], AmbiguityInfo);
|
|
36420
37060
|
exports.AmbiguityInfo = AmbiguityInfo;
|
|
36421
37061
|
|
|
36422
|
-
},{"../Decorators":
|
|
37062
|
+
},{"../Decorators":192,"./DecisionEventInfo":243}],236:[function(require,module,exports){
|
|
36423
37063
|
"use strict";
|
|
36424
37064
|
/*!
|
|
36425
37065
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36477,7 +37117,7 @@ AtomTransition = __decorate([
|
|
|
36477
37117
|
], AtomTransition);
|
|
36478
37118
|
exports.AtomTransition = AtomTransition;
|
|
36479
37119
|
|
|
36480
|
-
},{"../Decorators":
|
|
37120
|
+
},{"../Decorators":192,"../misc/IntervalSet":305,"./Transition":287}],237:[function(require,module,exports){
|
|
36481
37121
|
"use strict";
|
|
36482
37122
|
/*!
|
|
36483
37123
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36509,7 +37149,7 @@ __decorate([
|
|
|
36509
37149
|
], BasicBlockStartState.prototype, "stateType", null);
|
|
36510
37150
|
exports.BasicBlockStartState = BasicBlockStartState;
|
|
36511
37151
|
|
|
36512
|
-
},{"../Decorators":
|
|
37152
|
+
},{"../Decorators":192,"./ATNStateType":232,"./BlockStartState":240}],238:[function(require,module,exports){
|
|
36513
37153
|
"use strict";
|
|
36514
37154
|
/*!
|
|
36515
37155
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36541,7 +37181,7 @@ __decorate([
|
|
|
36541
37181
|
], BasicState.prototype, "stateType", null);
|
|
36542
37182
|
exports.BasicState = BasicState;
|
|
36543
37183
|
|
|
36544
|
-
},{"../Decorators":
|
|
37184
|
+
},{"../Decorators":192,"./ATNState":231,"./ATNStateType":232}],239:[function(require,module,exports){
|
|
36545
37185
|
"use strict";
|
|
36546
37186
|
/*!
|
|
36547
37187
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36570,7 +37210,7 @@ __decorate([
|
|
|
36570
37210
|
], BlockEndState.prototype, "stateType", null);
|
|
36571
37211
|
exports.BlockEndState = BlockEndState;
|
|
36572
37212
|
|
|
36573
|
-
},{"../Decorators":
|
|
37213
|
+
},{"../Decorators":192,"./ATNState":231,"./ATNStateType":232}],240:[function(require,module,exports){
|
|
36574
37214
|
"use strict";
|
|
36575
37215
|
/*!
|
|
36576
37216
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36584,7 +37224,7 @@ class BlockStartState extends DecisionState_1.DecisionState {
|
|
|
36584
37224
|
}
|
|
36585
37225
|
exports.BlockStartState = BlockStartState;
|
|
36586
37226
|
|
|
36587
|
-
},{"./DecisionState":
|
|
37227
|
+
},{"./DecisionState":245}],241:[function(require,module,exports){
|
|
36588
37228
|
"use strict";
|
|
36589
37229
|
/*!
|
|
36590
37230
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36654,7 +37294,7 @@ __decorate([
|
|
|
36654
37294
|
], ConflictInfo.prototype, "hashCode", null);
|
|
36655
37295
|
exports.ConflictInfo = ConflictInfo;
|
|
36656
37296
|
|
|
36657
|
-
},{"../Decorators":
|
|
37297
|
+
},{"../Decorators":192,"../misc/Utils":311}],242:[function(require,module,exports){
|
|
36658
37298
|
"use strict";
|
|
36659
37299
|
/*!
|
|
36660
37300
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36714,7 +37354,7 @@ ContextSensitivityInfo = __decorate([
|
|
|
36714
37354
|
], ContextSensitivityInfo);
|
|
36715
37355
|
exports.ContextSensitivityInfo = ContextSensitivityInfo;
|
|
36716
37356
|
|
|
36717
|
-
},{"../Decorators":
|
|
37357
|
+
},{"../Decorators":192,"./DecisionEventInfo":243}],243:[function(require,module,exports){
|
|
36718
37358
|
"use strict";
|
|
36719
37359
|
/*!
|
|
36720
37360
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36766,7 +37406,7 @@ DecisionEventInfo = __decorate([
|
|
|
36766
37406
|
], DecisionEventInfo);
|
|
36767
37407
|
exports.DecisionEventInfo = DecisionEventInfo;
|
|
36768
37408
|
|
|
36769
|
-
},{"../Decorators":
|
|
37409
|
+
},{"../Decorators":192}],244:[function(require,module,exports){
|
|
36770
37410
|
"use strict";
|
|
36771
37411
|
/*!
|
|
36772
37412
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36979,7 +37619,7 @@ __decorate([
|
|
|
36979
37619
|
], DecisionInfo.prototype, "toString", null);
|
|
36980
37620
|
exports.DecisionInfo = DecisionInfo;
|
|
36981
37621
|
|
|
36982
|
-
},{"../Decorators":
|
|
37622
|
+
},{"../Decorators":192}],245:[function(require,module,exports){
|
|
36983
37623
|
"use strict";
|
|
36984
37624
|
/*!
|
|
36985
37625
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36999,7 +37639,7 @@ class DecisionState extends ATNState_1.ATNState {
|
|
|
36999
37639
|
}
|
|
37000
37640
|
exports.DecisionState = DecisionState;
|
|
37001
37641
|
|
|
37002
|
-
},{"./ATNState":
|
|
37642
|
+
},{"./ATNState":231}],246:[function(require,module,exports){
|
|
37003
37643
|
"use strict";
|
|
37004
37644
|
/*!
|
|
37005
37645
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37065,7 +37705,7 @@ EpsilonTransition = __decorate([
|
|
|
37065
37705
|
], EpsilonTransition);
|
|
37066
37706
|
exports.EpsilonTransition = EpsilonTransition;
|
|
37067
37707
|
|
|
37068
|
-
},{"../Decorators":
|
|
37708
|
+
},{"../Decorators":192,"./Transition":287}],247:[function(require,module,exports){
|
|
37069
37709
|
"use strict";
|
|
37070
37710
|
/*!
|
|
37071
37711
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37118,7 +37758,7 @@ ErrorInfo = __decorate([
|
|
|
37118
37758
|
], ErrorInfo);
|
|
37119
37759
|
exports.ErrorInfo = ErrorInfo;
|
|
37120
37760
|
|
|
37121
|
-
},{"../Decorators":
|
|
37761
|
+
},{"../Decorators":192,"./DecisionEventInfo":243}],248:[function(require,module,exports){
|
|
37122
37762
|
"use strict";
|
|
37123
37763
|
/*!
|
|
37124
37764
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37149,7 +37789,7 @@ __decorate([
|
|
|
37149
37789
|
], InvalidState.prototype, "stateType", null);
|
|
37150
37790
|
exports.InvalidState = InvalidState;
|
|
37151
37791
|
|
|
37152
|
-
},{"../Decorators":
|
|
37792
|
+
},{"../Decorators":192,"./ATNStateType":232,"./BasicState":238}],249:[function(require,module,exports){
|
|
37153
37793
|
"use strict";
|
|
37154
37794
|
/*!
|
|
37155
37795
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37371,7 +38011,7 @@ LL1Analyzer = __decorate([
|
|
|
37371
38011
|
], LL1Analyzer);
|
|
37372
38012
|
exports.LL1Analyzer = LL1Analyzer;
|
|
37373
38013
|
|
|
37374
|
-
},{"../Decorators":
|
|
38014
|
+
},{"../Decorators":192,"../Token":217,"../misc/Array2DHashSet":296,"../misc/BitSet":299,"../misc/IntervalSet":305,"../misc/ObjectEqualityComparator":308,"./ATNConfig":226,"./AbstractPredicateTransition":233,"./NotSetTransition":263,"./PredictionContext":272,"./RuleStopState":278,"./RuleTransition":279,"./WildcardTransition":288}],250:[function(require,module,exports){
|
|
37375
38015
|
"use strict";
|
|
37376
38016
|
/*!
|
|
37377
38017
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38088,7 +38728,7 @@ exports.LexerATNSimulator = LexerATNSimulator;
|
|
|
38088
38728
|
})(LexerATNSimulator = exports.LexerATNSimulator || (exports.LexerATNSimulator = {}));
|
|
38089
38729
|
exports.LexerATNSimulator = LexerATNSimulator;
|
|
38090
38730
|
|
|
38091
|
-
},{"../Decorators":
|
|
38731
|
+
},{"../Decorators":192,"../IntStream":198,"../Lexer":200,"../LexerNoViableAltException":202,"../Token":217,"../dfa/AcceptStateInfo":289,"../dfa/DFAState":292,"../misc/Interval":304,"./ATN":225,"./ATNConfig":226,"./ATNConfigSet":227,"./ATNSimulator":230,"./LexerActionExecutor":251,"./OrderedATNConfigSet":264,"./PredictionContext":272,"./RuleStopState":278,"assert":335}],251:[function(require,module,exports){
|
|
38092
38732
|
"use strict";
|
|
38093
38733
|
/*!
|
|
38094
38734
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38289,7 +38929,7 @@ LexerActionExecutor = __decorate([
|
|
|
38289
38929
|
], LexerActionExecutor);
|
|
38290
38930
|
exports.LexerActionExecutor = LexerActionExecutor;
|
|
38291
38931
|
|
|
38292
|
-
},{"../Decorators":
|
|
38932
|
+
},{"../Decorators":192,"../misc/ArrayEqualityComparator":297,"../misc/MurmurHash":307,"./LexerIndexedCustomAction":254}],252:[function(require,module,exports){
|
|
38293
38933
|
"use strict";
|
|
38294
38934
|
/*!
|
|
38295
38935
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38394,7 +39034,7 @@ __decorate([
|
|
|
38394
39034
|
], LexerChannelAction.prototype, "toString", null);
|
|
38395
39035
|
exports.LexerChannelAction = LexerChannelAction;
|
|
38396
39036
|
|
|
38397
|
-
},{"../Decorators":
|
|
39037
|
+
},{"../Decorators":192,"../misc/MurmurHash":307}],253:[function(require,module,exports){
|
|
38398
39038
|
"use strict";
|
|
38399
39039
|
/*!
|
|
38400
39040
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38523,7 +39163,7 @@ __decorate([
|
|
|
38523
39163
|
], LexerCustomAction.prototype, "equals", null);
|
|
38524
39164
|
exports.LexerCustomAction = LexerCustomAction;
|
|
38525
39165
|
|
|
38526
|
-
},{"../Decorators":
|
|
39166
|
+
},{"../Decorators":192,"../misc/MurmurHash":307}],254:[function(require,module,exports){
|
|
38527
39167
|
"use strict";
|
|
38528
39168
|
/*!
|
|
38529
39169
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38658,7 +39298,7 @@ LexerIndexedCustomAction = __decorate([
|
|
|
38658
39298
|
], LexerIndexedCustomAction);
|
|
38659
39299
|
exports.LexerIndexedCustomAction = LexerIndexedCustomAction;
|
|
38660
39300
|
|
|
38661
|
-
},{"../Decorators":
|
|
39301
|
+
},{"../Decorators":192,"../misc/MurmurHash":307}],255:[function(require,module,exports){
|
|
38662
39302
|
"use strict";
|
|
38663
39303
|
/*!
|
|
38664
39304
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38763,7 +39403,7 @@ __decorate([
|
|
|
38763
39403
|
], LexerModeAction.prototype, "toString", null);
|
|
38764
39404
|
exports.LexerModeAction = LexerModeAction;
|
|
38765
39405
|
|
|
38766
|
-
},{"../Decorators":
|
|
39406
|
+
},{"../Decorators":192,"../misc/MurmurHash":307}],256:[function(require,module,exports){
|
|
38767
39407
|
"use strict";
|
|
38768
39408
|
/*!
|
|
38769
39409
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38859,7 +39499,7 @@ exports.LexerMoreAction = LexerMoreAction;
|
|
|
38859
39499
|
LexerMoreAction.INSTANCE = new LexerMoreAction();
|
|
38860
39500
|
})(LexerMoreAction = exports.LexerMoreAction || (exports.LexerMoreAction = {}));
|
|
38861
39501
|
|
|
38862
|
-
},{"../Decorators":
|
|
39502
|
+
},{"../Decorators":192,"../misc/MurmurHash":307}],257:[function(require,module,exports){
|
|
38863
39503
|
"use strict";
|
|
38864
39504
|
/*!
|
|
38865
39505
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38955,7 +39595,7 @@ exports.LexerPopModeAction = LexerPopModeAction;
|
|
|
38955
39595
|
LexerPopModeAction.INSTANCE = new LexerPopModeAction();
|
|
38956
39596
|
})(LexerPopModeAction = exports.LexerPopModeAction || (exports.LexerPopModeAction = {}));
|
|
38957
39597
|
|
|
38958
|
-
},{"../Decorators":
|
|
39598
|
+
},{"../Decorators":192,"../misc/MurmurHash":307}],258:[function(require,module,exports){
|
|
38959
39599
|
"use strict";
|
|
38960
39600
|
/*!
|
|
38961
39601
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39060,7 +39700,7 @@ __decorate([
|
|
|
39060
39700
|
], LexerPushModeAction.prototype, "toString", null);
|
|
39061
39701
|
exports.LexerPushModeAction = LexerPushModeAction;
|
|
39062
39702
|
|
|
39063
|
-
},{"../Decorators":
|
|
39703
|
+
},{"../Decorators":192,"../misc/MurmurHash":307}],259:[function(require,module,exports){
|
|
39064
39704
|
"use strict";
|
|
39065
39705
|
/*!
|
|
39066
39706
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39156,7 +39796,7 @@ exports.LexerSkipAction = LexerSkipAction;
|
|
|
39156
39796
|
LexerSkipAction.INSTANCE = new LexerSkipAction();
|
|
39157
39797
|
})(LexerSkipAction = exports.LexerSkipAction || (exports.LexerSkipAction = {}));
|
|
39158
39798
|
|
|
39159
|
-
},{"../Decorators":
|
|
39799
|
+
},{"../Decorators":192,"../misc/MurmurHash":307}],260:[function(require,module,exports){
|
|
39160
39800
|
"use strict";
|
|
39161
39801
|
/*!
|
|
39162
39802
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39260,7 +39900,7 @@ __decorate([
|
|
|
39260
39900
|
], LexerTypeAction.prototype, "toString", null);
|
|
39261
39901
|
exports.LexerTypeAction = LexerTypeAction;
|
|
39262
39902
|
|
|
39263
|
-
},{"../Decorators":
|
|
39903
|
+
},{"../Decorators":192,"../misc/MurmurHash":307}],261:[function(require,module,exports){
|
|
39264
39904
|
"use strict";
|
|
39265
39905
|
/*!
|
|
39266
39906
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39312,7 +39952,7 @@ LookaheadEventInfo = __decorate([
|
|
|
39312
39952
|
], LookaheadEventInfo);
|
|
39313
39953
|
exports.LookaheadEventInfo = LookaheadEventInfo;
|
|
39314
39954
|
|
|
39315
|
-
},{"../Decorators":
|
|
39955
|
+
},{"../Decorators":192,"./DecisionEventInfo":243}],262:[function(require,module,exports){
|
|
39316
39956
|
"use strict";
|
|
39317
39957
|
/*!
|
|
39318
39958
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39341,7 +39981,7 @@ __decorate([
|
|
|
39341
39981
|
], LoopEndState.prototype, "stateType", null);
|
|
39342
39982
|
exports.LoopEndState = LoopEndState;
|
|
39343
39983
|
|
|
39344
|
-
},{"../Decorators":
|
|
39984
|
+
},{"../Decorators":192,"./ATNState":231,"./ATNStateType":232}],263:[function(require,module,exports){
|
|
39345
39985
|
"use strict";
|
|
39346
39986
|
/*!
|
|
39347
39987
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39390,7 +40030,7 @@ NotSetTransition = __decorate([
|
|
|
39390
40030
|
], NotSetTransition);
|
|
39391
40031
|
exports.NotSetTransition = NotSetTransition;
|
|
39392
40032
|
|
|
39393
|
-
},{"../Decorators":
|
|
40033
|
+
},{"../Decorators":192,"./SetTransition":281}],264:[function(require,module,exports){
|
|
39394
40034
|
"use strict";
|
|
39395
40035
|
/*!
|
|
39396
40036
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39445,7 +40085,7 @@ __decorate([
|
|
|
39445
40085
|
], OrderedATNConfigSet.prototype, "canMerge", null);
|
|
39446
40086
|
exports.OrderedATNConfigSet = OrderedATNConfigSet;
|
|
39447
40087
|
|
|
39448
|
-
},{"../Decorators":
|
|
40088
|
+
},{"../Decorators":192,"./ATNConfigSet":227}],265:[function(require,module,exports){
|
|
39449
40089
|
"use strict";
|
|
39450
40090
|
/*!
|
|
39451
40091
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39607,7 +40247,7 @@ ParseInfo = __decorate([
|
|
|
39607
40247
|
], ParseInfo);
|
|
39608
40248
|
exports.ParseInfo = ParseInfo;
|
|
39609
40249
|
|
|
39610
|
-
},{"../Decorators":
|
|
40250
|
+
},{"../Decorators":192}],266:[function(require,module,exports){
|
|
39611
40251
|
"use strict";
|
|
39612
40252
|
/*!
|
|
39613
40253
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41880,7 +42520,7 @@ ParserATNSimulator = __decorate([
|
|
|
41880
42520
|
], ParserATNSimulator);
|
|
41881
42521
|
exports.ParserATNSimulator = ParserATNSimulator;
|
|
41882
42522
|
|
|
41883
|
-
},{"../Decorators":
|
|
42523
|
+
},{"../Decorators":192,"../IntStream":198,"../NoViableAltException":204,"../ParserRuleContext":208,"../Token":217,"../VocabularyImpl":223,"../dfa/AcceptStateInfo":289,"../dfa/DFAState":292,"../misc/Array2DHashSet":296,"../misc/Arrays":298,"../misc/BitSet":299,"../misc/IntegerList":302,"../misc/Interval":304,"../misc/ObjectEqualityComparator":308,"./ATN":225,"./ATNConfig":226,"./ATNConfigSet":227,"./ATNSimulator":230,"./ATNStateType":232,"./ActionTransition":234,"./AtomTransition":236,"./ConflictInfo":241,"./DecisionState":245,"./NotSetTransition":263,"./PredictionContext":272,"./PredictionContextCache":273,"./PredictionMode":274,"./RuleStopState":278,"./RuleTransition":279,"./SemanticContext":280,"./SetTransition":281,"./SimulatorState":282,"assert":335}],267:[function(require,module,exports){
|
|
41884
42524
|
"use strict";
|
|
41885
42525
|
/*!
|
|
41886
42526
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41913,7 +42553,7 @@ __decorate([
|
|
|
41913
42553
|
], PlusBlockStartState.prototype, "stateType", null);
|
|
41914
42554
|
exports.PlusBlockStartState = PlusBlockStartState;
|
|
41915
42555
|
|
|
41916
|
-
},{"../Decorators":
|
|
42556
|
+
},{"../Decorators":192,"./ATNStateType":232,"./BlockStartState":240}],268:[function(require,module,exports){
|
|
41917
42557
|
"use strict";
|
|
41918
42558
|
/*!
|
|
41919
42559
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41944,7 +42584,7 @@ __decorate([
|
|
|
41944
42584
|
], PlusLoopbackState.prototype, "stateType", null);
|
|
41945
42585
|
exports.PlusLoopbackState = PlusLoopbackState;
|
|
41946
42586
|
|
|
41947
|
-
},{"../Decorators":
|
|
42587
|
+
},{"../Decorators":192,"./ATNStateType":232,"./DecisionState":245}],269:[function(require,module,exports){
|
|
41948
42588
|
"use strict";
|
|
41949
42589
|
/*!
|
|
41950
42590
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42007,7 +42647,7 @@ PrecedencePredicateTransition = __decorate([
|
|
|
42007
42647
|
], PrecedencePredicateTransition);
|
|
42008
42648
|
exports.PrecedencePredicateTransition = PrecedencePredicateTransition;
|
|
42009
42649
|
|
|
42010
|
-
},{"../Decorators":
|
|
42650
|
+
},{"../Decorators":192,"./AbstractPredicateTransition":233,"./SemanticContext":280}],270:[function(require,module,exports){
|
|
42011
42651
|
"use strict";
|
|
42012
42652
|
/*!
|
|
42013
42653
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42070,7 +42710,7 @@ PredicateEvalInfo = __decorate([
|
|
|
42070
42710
|
], PredicateEvalInfo);
|
|
42071
42711
|
exports.PredicateEvalInfo = PredicateEvalInfo;
|
|
42072
42712
|
|
|
42073
|
-
},{"../Decorators":
|
|
42713
|
+
},{"../Decorators":192,"./DecisionEventInfo":243}],271:[function(require,module,exports){
|
|
42074
42714
|
"use strict";
|
|
42075
42715
|
/*!
|
|
42076
42716
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42136,7 +42776,7 @@ PredicateTransition = __decorate([
|
|
|
42136
42776
|
], PredicateTransition);
|
|
42137
42777
|
exports.PredicateTransition = PredicateTransition;
|
|
42138
42778
|
|
|
42139
|
-
},{"../Decorators":
|
|
42779
|
+
},{"../Decorators":192,"./AbstractPredicateTransition":233,"./SemanticContext":280}],272:[function(require,module,exports){
|
|
42140
42780
|
"use strict";
|
|
42141
42781
|
/*!
|
|
42142
42782
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42827,7 +43467,7 @@ exports.SingletonPredictionContext = SingletonPredictionContext;
|
|
|
42827
43467
|
PredictionContext.IdentityEqualityComparator = IdentityEqualityComparator;
|
|
42828
43468
|
})(PredictionContext = exports.PredictionContext || (exports.PredictionContext = {}));
|
|
42829
43469
|
|
|
42830
|
-
},{"../Decorators":
|
|
43470
|
+
},{"../Decorators":192,"../misc/Array2DHashMap":295,"../misc/Array2DHashSet":296,"../misc/Arrays":298,"../misc/MurmurHash":307,"./PredictionContextCache":273,"assert":335}],273:[function(require,module,exports){
|
|
42831
43471
|
"use strict";
|
|
42832
43472
|
/*!
|
|
42833
43473
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42968,7 +43608,7 @@ PredictionContextCache.UNCACHED = new PredictionContextCache(false);
|
|
|
42968
43608
|
PredictionContextCache.IdentityCommutativePredictionContextOperands = IdentityCommutativePredictionContextOperands;
|
|
42969
43609
|
})(PredictionContextCache = exports.PredictionContextCache || (exports.PredictionContextCache = {}));
|
|
42970
43610
|
|
|
42971
|
-
},{"../Decorators":
|
|
43611
|
+
},{"../Decorators":192,"../misc/Array2DHashMap":295,"../misc/ObjectEqualityComparator":308,"./PredictionContext":272,"assert":335}],274:[function(require,module,exports){
|
|
42972
43612
|
"use strict";
|
|
42973
43613
|
/*!
|
|
42974
43614
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43129,7 +43769,7 @@ var PredictionMode;
|
|
|
43129
43769
|
PredictionMode.allConfigsInRuleStopStates = allConfigsInRuleStopStates;
|
|
43130
43770
|
})(PredictionMode = exports.PredictionMode || (exports.PredictionMode = {}));
|
|
43131
43771
|
|
|
43132
|
-
},{"../Decorators":
|
|
43772
|
+
},{"../Decorators":192,"../misc/Array2DHashMap":295,"../misc/MurmurHash":307,"./RuleStopState":278}],275:[function(require,module,exports){
|
|
43133
43773
|
(function (process){(function (){
|
|
43134
43774
|
"use strict";
|
|
43135
43775
|
/*!
|
|
@@ -43398,7 +44038,7 @@ __decorate([
|
|
|
43398
44038
|
exports.ProfilingATNSimulator = ProfilingATNSimulator;
|
|
43399
44039
|
|
|
43400
44040
|
}).call(this)}).call(this,require('_process'))
|
|
43401
|
-
},{"../Decorators":
|
|
44041
|
+
},{"../Decorators":192,"./ATN":225,"./ATNSimulator":230,"./AmbiguityInfo":235,"./ContextSensitivityInfo":242,"./DecisionInfo":244,"./ErrorInfo":247,"./LookaheadEventInfo":261,"./ParserATNSimulator":266,"./PredicateEvalInfo":270,"./SemanticContext":280,"./SimulatorState":282,"_process":383}],276:[function(require,module,exports){
|
|
43402
44042
|
"use strict";
|
|
43403
44043
|
/*!
|
|
43404
44044
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43456,7 +44096,7 @@ RangeTransition = __decorate([
|
|
|
43456
44096
|
], RangeTransition);
|
|
43457
44097
|
exports.RangeTransition = RangeTransition;
|
|
43458
44098
|
|
|
43459
|
-
},{"../Decorators":
|
|
44099
|
+
},{"../Decorators":192,"../misc/IntervalSet":305,"./Transition":287}],277:[function(require,module,exports){
|
|
43460
44100
|
"use strict";
|
|
43461
44101
|
/*!
|
|
43462
44102
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43489,7 +44129,7 @@ __decorate([
|
|
|
43489
44129
|
], RuleStartState.prototype, "stateType", null);
|
|
43490
44130
|
exports.RuleStartState = RuleStartState;
|
|
43491
44131
|
|
|
43492
|
-
},{"../Decorators":
|
|
44132
|
+
},{"../Decorators":192,"./ATNState":231,"./ATNStateType":232}],278:[function(require,module,exports){
|
|
43493
44133
|
"use strict";
|
|
43494
44134
|
/*!
|
|
43495
44135
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43528,7 +44168,7 @@ __decorate([
|
|
|
43528
44168
|
], RuleStopState.prototype, "stateType", null);
|
|
43529
44169
|
exports.RuleStopState = RuleStopState;
|
|
43530
44170
|
|
|
43531
|
-
},{"../Decorators":
|
|
44171
|
+
},{"../Decorators":192,"./ATNState":231,"./ATNStateType":232}],279:[function(require,module,exports){
|
|
43532
44172
|
"use strict";
|
|
43533
44173
|
/*!
|
|
43534
44174
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43584,7 +44224,7 @@ RuleTransition = __decorate([
|
|
|
43584
44224
|
], RuleTransition);
|
|
43585
44225
|
exports.RuleTransition = RuleTransition;
|
|
43586
44226
|
|
|
43587
|
-
},{"../Decorators":
|
|
44227
|
+
},{"../Decorators":192,"./Transition":287}],280:[function(require,module,exports){
|
|
43588
44228
|
"use strict";
|
|
43589
44229
|
/*!
|
|
43590
44230
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44064,7 +44704,7 @@ exports.SemanticContext = SemanticContext;
|
|
|
44064
44704
|
SemanticContext.OR = OR;
|
|
44065
44705
|
})(SemanticContext = exports.SemanticContext || (exports.SemanticContext = {}));
|
|
44066
44706
|
|
|
44067
|
-
},{"../Decorators":
|
|
44707
|
+
},{"../Decorators":192,"../misc/Array2DHashSet":296,"../misc/ArrayEqualityComparator":297,"../misc/MurmurHash":307,"../misc/ObjectEqualityComparator":308,"../misc/Utils":311}],281:[function(require,module,exports){
|
|
44068
44708
|
"use strict";
|
|
44069
44709
|
/*!
|
|
44070
44710
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44130,7 +44770,7 @@ SetTransition = __decorate([
|
|
|
44130
44770
|
], SetTransition);
|
|
44131
44771
|
exports.SetTransition = SetTransition;
|
|
44132
44772
|
|
|
44133
|
-
},{"../Decorators":
|
|
44773
|
+
},{"../Decorators":192,"../Token":217,"../misc/IntervalSet":305,"./Transition":287}],282:[function(require,module,exports){
|
|
44134
44774
|
"use strict";
|
|
44135
44775
|
/*!
|
|
44136
44776
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44166,7 +44806,7 @@ SimulatorState = __decorate([
|
|
|
44166
44806
|
], SimulatorState);
|
|
44167
44807
|
exports.SimulatorState = SimulatorState;
|
|
44168
44808
|
|
|
44169
|
-
},{"../Decorators":
|
|
44809
|
+
},{"../Decorators":192,"../ParserRuleContext":208}],283:[function(require,module,exports){
|
|
44170
44810
|
"use strict";
|
|
44171
44811
|
/*!
|
|
44172
44812
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44194,7 +44834,7 @@ __decorate([
|
|
|
44194
44834
|
], StarBlockStartState.prototype, "stateType", null);
|
|
44195
44835
|
exports.StarBlockStartState = StarBlockStartState;
|
|
44196
44836
|
|
|
44197
|
-
},{"../Decorators":
|
|
44837
|
+
},{"../Decorators":192,"./ATNStateType":232,"./BlockStartState":240}],284:[function(require,module,exports){
|
|
44198
44838
|
"use strict";
|
|
44199
44839
|
/*!
|
|
44200
44840
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44251,7 +44891,7 @@ __decorate([
|
|
|
44251
44891
|
], StarLoopEntryState.prototype, "stateType", null);
|
|
44252
44892
|
exports.StarLoopEntryState = StarLoopEntryState;
|
|
44253
44893
|
|
|
44254
|
-
},{"../Decorators":
|
|
44894
|
+
},{"../Decorators":192,"../misc/BitSet":299,"./ATNStateType":232,"./DecisionState":245}],285:[function(require,module,exports){
|
|
44255
44895
|
"use strict";
|
|
44256
44896
|
/*!
|
|
44257
44897
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44282,7 +44922,7 @@ __decorate([
|
|
|
44282
44922
|
], StarLoopbackState.prototype, "stateType", null);
|
|
44283
44923
|
exports.StarLoopbackState = StarLoopbackState;
|
|
44284
44924
|
|
|
44285
|
-
},{"../Decorators":
|
|
44925
|
+
},{"../Decorators":192,"./ATNState":231,"./ATNStateType":232}],286:[function(require,module,exports){
|
|
44286
44926
|
"use strict";
|
|
44287
44927
|
/*!
|
|
44288
44928
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44311,7 +44951,7 @@ __decorate([
|
|
|
44311
44951
|
], TokensStartState.prototype, "stateType", null);
|
|
44312
44952
|
exports.TokensStartState = TokensStartState;
|
|
44313
44953
|
|
|
44314
|
-
},{"../Decorators":
|
|
44954
|
+
},{"../Decorators":192,"./ATNStateType":232,"./DecisionState":245}],287:[function(require,module,exports){
|
|
44315
44955
|
"use strict";
|
|
44316
44956
|
/*!
|
|
44317
44957
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44385,7 +45025,7 @@ Transition = __decorate([
|
|
|
44385
45025
|
], Transition);
|
|
44386
45026
|
exports.Transition = Transition;
|
|
44387
45027
|
|
|
44388
|
-
},{"../Decorators":
|
|
45028
|
+
},{"../Decorators":192}],288:[function(require,module,exports){
|
|
44389
45029
|
"use strict";
|
|
44390
45030
|
/*!
|
|
44391
45031
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44433,7 +45073,7 @@ WildcardTransition = __decorate([
|
|
|
44433
45073
|
], WildcardTransition);
|
|
44434
45074
|
exports.WildcardTransition = WildcardTransition;
|
|
44435
45075
|
|
|
44436
|
-
},{"../Decorators":
|
|
45076
|
+
},{"../Decorators":192,"./Transition":287}],289:[function(require,module,exports){
|
|
44437
45077
|
"use strict";
|
|
44438
45078
|
/*!
|
|
44439
45079
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44475,7 +45115,7 @@ class AcceptStateInfo {
|
|
|
44475
45115
|
}
|
|
44476
45116
|
exports.AcceptStateInfo = AcceptStateInfo;
|
|
44477
45117
|
|
|
44478
|
-
},{}],
|
|
45118
|
+
},{}],290:[function(require,module,exports){
|
|
44479
45119
|
"use strict";
|
|
44480
45120
|
/*!
|
|
44481
45121
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44650,7 +45290,7 @@ DFA = __decorate([
|
|
|
44650
45290
|
], DFA);
|
|
44651
45291
|
exports.DFA = DFA;
|
|
44652
45292
|
|
|
44653
|
-
},{"../Decorators":
|
|
45293
|
+
},{"../Decorators":192,"../VocabularyImpl":223,"../atn/ATNConfigSet":227,"../atn/StarLoopEntryState":284,"../misc/Array2DHashSet":296,"../misc/ObjectEqualityComparator":308,"./DFASerializer":291,"./DFAState":292,"./LexerDFASerializer":293}],291:[function(require,module,exports){
|
|
44654
45294
|
"use strict";
|
|
44655
45295
|
/*!
|
|
44656
45296
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44792,7 +45432,7 @@ __decorate([
|
|
|
44792
45432
|
], DFASerializer.prototype, "toString", null);
|
|
44793
45433
|
exports.DFASerializer = DFASerializer;
|
|
44794
45434
|
|
|
44795
|
-
},{"../Decorators":
|
|
45435
|
+
},{"../Decorators":192,"../Recognizer":212,"../VocabularyImpl":223,"../atn/ATNSimulator":230,"../atn/PredictionContext":272}],292:[function(require,module,exports){
|
|
44796
45436
|
"use strict";
|
|
44797
45437
|
/*!
|
|
44798
45438
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45023,7 +45663,7 @@ exports.DFAState = DFAState;
|
|
|
45023
45663
|
DFAState.PredPrediction = PredPrediction;
|
|
45024
45664
|
})(DFAState = exports.DFAState || (exports.DFAState = {}));
|
|
45025
45665
|
|
|
45026
|
-
},{"../Decorators":
|
|
45666
|
+
},{"../Decorators":192,"../atn/ATN":225,"../atn/PredictionContext":272,"../misc/BitSet":299,"../misc/MurmurHash":307,"assert":335}],293:[function(require,module,exports){
|
|
45027
45667
|
"use strict";
|
|
45028
45668
|
/*!
|
|
45029
45669
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45060,7 +45700,7 @@ LexerDFASerializer = __decorate([
|
|
|
45060
45700
|
], LexerDFASerializer);
|
|
45061
45701
|
exports.LexerDFASerializer = LexerDFASerializer;
|
|
45062
45702
|
|
|
45063
|
-
},{"../Decorators":
|
|
45703
|
+
},{"../Decorators":192,"../VocabularyImpl":223,"./DFASerializer":291}],294:[function(require,module,exports){
|
|
45064
45704
|
"use strict";
|
|
45065
45705
|
/*!
|
|
45066
45706
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45126,7 +45766,7 @@ __exportStar(require("./Vocabulary"), exports);
|
|
|
45126
45766
|
__exportStar(require("./VocabularyImpl"), exports);
|
|
45127
45767
|
__exportStar(require("./WritableToken"), exports);
|
|
45128
45768
|
|
|
45129
|
-
},{"./ANTLRErrorListener":
|
|
45769
|
+
},{"./ANTLRErrorListener":179,"./ANTLRErrorStrategy":180,"./ANTLRInputStream":181,"./BailErrorStrategy":182,"./BufferedTokenStream":183,"./CharStream":184,"./CharStreams":185,"./CodePointBuffer":186,"./CodePointCharStream":187,"./CommonToken":188,"./CommonTokenFactory":189,"./CommonTokenStream":190,"./ConsoleErrorListener":191,"./DefaultErrorStrategy":193,"./Dependents":194,"./DiagnosticErrorListener":195,"./FailedPredicateException":196,"./InputMismatchException":197,"./IntStream":198,"./InterpreterRuleContext":199,"./Lexer":200,"./LexerInterpreter":201,"./LexerNoViableAltException":202,"./ListTokenSource":203,"./NoViableAltException":204,"./Parser":205,"./ParserErrorListener":206,"./ParserInterpreter":207,"./ParserRuleContext":208,"./ProxyErrorListener":209,"./ProxyParserErrorListener":210,"./RecognitionException":211,"./Recognizer":212,"./RuleContext":213,"./RuleContextWithAltNum":214,"./RuleDependency":215,"./RuleVersion":216,"./Token":217,"./TokenFactory":218,"./TokenSource":219,"./TokenStream":220,"./TokenStreamRewriter":221,"./Vocabulary":222,"./VocabularyImpl":223,"./WritableToken":224}],295:[function(require,module,exports){
|
|
45130
45770
|
"use strict";
|
|
45131
45771
|
/*!
|
|
45132
45772
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45209,7 +45849,7 @@ class Array2DHashMap {
|
|
|
45209
45849
|
}
|
|
45210
45850
|
exports.Array2DHashMap = Array2DHashMap;
|
|
45211
45851
|
|
|
45212
|
-
},{"./Array2DHashSet":
|
|
45852
|
+
},{"./Array2DHashSet":296}],296:[function(require,module,exports){
|
|
45213
45853
|
"use strict";
|
|
45214
45854
|
/*!
|
|
45215
45855
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45576,7 +46216,7 @@ __decorate([
|
|
|
45576
46216
|
], Array2DHashSet.prototype, "createBuckets", null);
|
|
45577
46217
|
exports.Array2DHashSet = Array2DHashSet;
|
|
45578
46218
|
|
|
45579
|
-
},{"../Decorators":
|
|
46219
|
+
},{"../Decorators":192,"./DefaultEqualityComparator":301,"./MurmurHash":307,"assert":335}],297:[function(require,module,exports){
|
|
45580
46220
|
"use strict";
|
|
45581
46221
|
/*!
|
|
45582
46222
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45648,7 +46288,7 @@ __decorate([
|
|
|
45648
46288
|
], ArrayEqualityComparator.prototype, "equals", null);
|
|
45649
46289
|
exports.ArrayEqualityComparator = ArrayEqualityComparator;
|
|
45650
46290
|
|
|
45651
|
-
},{"../Decorators":
|
|
46291
|
+
},{"../Decorators":192,"./MurmurHash":307,"./ObjectEqualityComparator":308}],298:[function(require,module,exports){
|
|
45652
46292
|
"use strict";
|
|
45653
46293
|
/*!
|
|
45654
46294
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45718,7 +46358,7 @@ var Arrays;
|
|
|
45718
46358
|
Arrays.toString = toString;
|
|
45719
46359
|
})(Arrays = exports.Arrays || (exports.Arrays = {}));
|
|
45720
46360
|
|
|
45721
|
-
},{}],
|
|
46361
|
+
},{}],299:[function(require,module,exports){
|
|
45722
46362
|
"use strict";
|
|
45723
46363
|
/*!
|
|
45724
46364
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46390,7 +47030,7 @@ class BitSetIterator {
|
|
|
46390
47030
|
[Symbol.iterator]() { return this; }
|
|
46391
47031
|
}
|
|
46392
47032
|
|
|
46393
|
-
},{"./MurmurHash":
|
|
47033
|
+
},{"./MurmurHash":307,"util":388}],300:[function(require,module,exports){
|
|
46394
47034
|
"use strict";
|
|
46395
47035
|
/*!
|
|
46396
47036
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46411,7 +47051,7 @@ function isSupplementaryCodePoint(ch) {
|
|
|
46411
47051
|
}
|
|
46412
47052
|
exports.isSupplementaryCodePoint = isSupplementaryCodePoint;
|
|
46413
47053
|
|
|
46414
|
-
},{}],
|
|
47054
|
+
},{}],301:[function(require,module,exports){
|
|
46415
47055
|
"use strict";
|
|
46416
47056
|
/*!
|
|
46417
47057
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46482,7 +47122,7 @@ __decorate([
|
|
|
46482
47122
|
], DefaultEqualityComparator.prototype, "equals", null);
|
|
46483
47123
|
exports.DefaultEqualityComparator = DefaultEqualityComparator;
|
|
46484
47124
|
|
|
46485
|
-
},{"../Decorators":
|
|
47125
|
+
},{"../Decorators":192,"./MurmurHash":307,"./ObjectEqualityComparator":308}],302:[function(require,module,exports){
|
|
46486
47126
|
"use strict";
|
|
46487
47127
|
/*!
|
|
46488
47128
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46776,7 +47416,7 @@ __decorate([
|
|
|
46776
47416
|
], IntegerList.prototype, "toString", null);
|
|
46777
47417
|
exports.IntegerList = IntegerList;
|
|
46778
47418
|
|
|
46779
|
-
},{"../Decorators":
|
|
47419
|
+
},{"../Decorators":192,"./Arrays":298}],303:[function(require,module,exports){
|
|
46780
47420
|
"use strict";
|
|
46781
47421
|
/*!
|
|
46782
47422
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46806,7 +47446,7 @@ class IntegerStack extends IntegerList_1.IntegerList {
|
|
|
46806
47446
|
}
|
|
46807
47447
|
exports.IntegerStack = IntegerStack;
|
|
46808
47448
|
|
|
46809
|
-
},{"./IntegerList":
|
|
47449
|
+
},{"./IntegerList":302}],304:[function(require,module,exports){
|
|
46810
47450
|
"use strict";
|
|
46811
47451
|
/*!
|
|
46812
47452
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46949,7 +47589,7 @@ __decorate([
|
|
|
46949
47589
|
], Interval.prototype, "toString", null);
|
|
46950
47590
|
exports.Interval = Interval;
|
|
46951
47591
|
|
|
46952
|
-
},{"../Decorators":
|
|
47592
|
+
},{"../Decorators":192}],305:[function(require,module,exports){
|
|
46953
47593
|
"use strict";
|
|
46954
47594
|
/*!
|
|
46955
47595
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47595,7 +48235,7 @@ __decorate([
|
|
|
47595
48235
|
], IntervalSet, "subtract", null);
|
|
47596
48236
|
exports.IntervalSet = IntervalSet;
|
|
47597
48237
|
|
|
47598
|
-
},{"../Decorators":
|
|
48238
|
+
},{"../Decorators":192,"../Lexer":200,"../Token":217,"./ArrayEqualityComparator":297,"./IntegerList":302,"./Interval":304,"./MurmurHash":307}],306:[function(require,module,exports){
|
|
47599
48239
|
"use strict";
|
|
47600
48240
|
/*!
|
|
47601
48241
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47628,7 +48268,7 @@ class MultiMap extends Map {
|
|
|
47628
48268
|
}
|
|
47629
48269
|
exports.MultiMap = MultiMap;
|
|
47630
48270
|
|
|
47631
|
-
},{}],
|
|
48271
|
+
},{}],307:[function(require,module,exports){
|
|
47632
48272
|
"use strict";
|
|
47633
48273
|
/*!
|
|
47634
48274
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47743,7 +48383,7 @@ var MurmurHash;
|
|
|
47743
48383
|
}
|
|
47744
48384
|
})(MurmurHash = exports.MurmurHash || (exports.MurmurHash = {}));
|
|
47745
48385
|
|
|
47746
|
-
},{}],
|
|
48386
|
+
},{}],308:[function(require,module,exports){
|
|
47747
48387
|
"use strict";
|
|
47748
48388
|
/*!
|
|
47749
48389
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47802,7 +48442,7 @@ __decorate([
|
|
|
47802
48442
|
], ObjectEqualityComparator.prototype, "equals", null);
|
|
47803
48443
|
exports.ObjectEqualityComparator = ObjectEqualityComparator;
|
|
47804
48444
|
|
|
47805
|
-
},{"../Decorators":
|
|
48445
|
+
},{"../Decorators":192}],309:[function(require,module,exports){
|
|
47806
48446
|
"use strict";
|
|
47807
48447
|
/*!
|
|
47808
48448
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47831,7 +48471,7 @@ class ParseCancellationException extends Error {
|
|
|
47831
48471
|
}
|
|
47832
48472
|
exports.ParseCancellationException = ParseCancellationException;
|
|
47833
48473
|
|
|
47834
|
-
},{}],
|
|
48474
|
+
},{}],310:[function(require,module,exports){
|
|
47835
48475
|
"use strict";
|
|
47836
48476
|
/*!
|
|
47837
48477
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47885,7 +48525,7 @@ class UUID {
|
|
|
47885
48525
|
}
|
|
47886
48526
|
exports.UUID = UUID;
|
|
47887
48527
|
|
|
47888
|
-
},{"./MurmurHash":
|
|
48528
|
+
},{"./MurmurHash":307}],311:[function(require,module,exports){
|
|
47889
48529
|
"use strict";
|
|
47890
48530
|
/*!
|
|
47891
48531
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48060,7 +48700,7 @@ exports.toCharArray = toCharArray;
|
|
|
48060
48700
|
// return s;
|
|
48061
48701
|
// }
|
|
48062
48702
|
|
|
48063
|
-
},{}],
|
|
48703
|
+
},{}],312:[function(require,module,exports){
|
|
48064
48704
|
"use strict";
|
|
48065
48705
|
/*!
|
|
48066
48706
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48096,7 +48736,7 @@ __decorate([
|
|
|
48096
48736
|
], ErrorNode.prototype, "accept", null);
|
|
48097
48737
|
exports.ErrorNode = ErrorNode;
|
|
48098
48738
|
|
|
48099
|
-
},{"../Decorators":
|
|
48739
|
+
},{"../Decorators":192,"./TerminalNode":315}],313:[function(require,module,exports){
|
|
48100
48740
|
"use strict";
|
|
48101
48741
|
/*!
|
|
48102
48742
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48201,7 +48841,7 @@ exports.ParseTreeWalker = ParseTreeWalker;
|
|
|
48201
48841
|
ParseTreeWalker.DEFAULT = new ParseTreeWalker();
|
|
48202
48842
|
})(ParseTreeWalker = exports.ParseTreeWalker || (exports.ParseTreeWalker = {}));
|
|
48203
48843
|
|
|
48204
|
-
},{"./ErrorNode":
|
|
48844
|
+
},{"./ErrorNode":312,"./RuleNode":314,"./TerminalNode":315}],314:[function(require,module,exports){
|
|
48205
48845
|
"use strict";
|
|
48206
48846
|
/*!
|
|
48207
48847
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48213,7 +48853,7 @@ class RuleNode {
|
|
|
48213
48853
|
}
|
|
48214
48854
|
exports.RuleNode = RuleNode;
|
|
48215
48855
|
|
|
48216
|
-
},{}],
|
|
48856
|
+
},{}],315:[function(require,module,exports){
|
|
48217
48857
|
"use strict";
|
|
48218
48858
|
/*!
|
|
48219
48859
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48305,7 +48945,7 @@ __decorate([
|
|
|
48305
48945
|
], TerminalNode.prototype, "toString", null);
|
|
48306
48946
|
exports.TerminalNode = TerminalNode;
|
|
48307
48947
|
|
|
48308
|
-
},{"../Decorators":
|
|
48948
|
+
},{"../Decorators":192,"../Token":217,"../misc/Interval":304}],316:[function(require,module,exports){
|
|
48309
48949
|
"use strict";
|
|
48310
48950
|
/*!
|
|
48311
48951
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48549,7 +49189,7 @@ __decorate([
|
|
|
48549
49189
|
], Trees, "getRootOfSubtreeEnclosingRegion", null);
|
|
48550
49190
|
exports.Trees = Trees;
|
|
48551
49191
|
|
|
48552
|
-
},{"../CommonToken":
|
|
49192
|
+
},{"../CommonToken":188,"../Decorators":192,"../Parser":205,"../ParserRuleContext":208,"../Token":217,"../atn/ATN":225,"../misc/Utils":311,"./ErrorNode":312,"./RuleNode":314,"./TerminalNode":315}],317:[function(require,module,exports){
|
|
48553
49193
|
"use strict";
|
|
48554
49194
|
/*!
|
|
48555
49195
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48573,7 +49213,7 @@ class Chunk {
|
|
|
48573
49213
|
}
|
|
48574
49214
|
exports.Chunk = Chunk;
|
|
48575
49215
|
|
|
48576
|
-
},{}],
|
|
49216
|
+
},{}],318:[function(require,module,exports){
|
|
48577
49217
|
"use strict";
|
|
48578
49218
|
/*!
|
|
48579
49219
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48753,7 +49393,7 @@ ParseTreeMatch = __decorate([
|
|
|
48753
49393
|
], ParseTreeMatch);
|
|
48754
49394
|
exports.ParseTreeMatch = ParseTreeMatch;
|
|
48755
49395
|
|
|
48756
|
-
},{"../../Decorators":
|
|
49396
|
+
},{"../../Decorators":192}],319:[function(require,module,exports){
|
|
48757
49397
|
"use strict";
|
|
48758
49398
|
/*!
|
|
48759
49399
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48911,7 +49551,7 @@ ParseTreePattern = __decorate([
|
|
|
48911
49551
|
], ParseTreePattern);
|
|
48912
49552
|
exports.ParseTreePattern = ParseTreePattern;
|
|
48913
49553
|
|
|
48914
|
-
},{"../../Decorators":
|
|
49554
|
+
},{"../../Decorators":192,"../xpath/XPath":325}],320:[function(require,module,exports){
|
|
48915
49555
|
"use strict";
|
|
48916
49556
|
/*!
|
|
48917
49557
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49389,7 +50029,7 @@ exports.ParseTreePatternMatcher = ParseTreePatternMatcher;
|
|
|
49389
50029
|
ParseTreePatternMatcher.StartRuleDoesNotConsumeFullPattern = StartRuleDoesNotConsumeFullPattern;
|
|
49390
50030
|
})(ParseTreePatternMatcher = exports.ParseTreePatternMatcher || (exports.ParseTreePatternMatcher = {}));
|
|
49391
50031
|
|
|
49392
|
-
},{"../../BailErrorStrategy":
|
|
50032
|
+
},{"../../BailErrorStrategy":182,"../../CharStreams":185,"../../CommonTokenStream":190,"../../Decorators":192,"../../ListTokenSource":203,"../../ParserInterpreter":207,"../../ParserRuleContext":208,"../../RecognitionException":211,"../../Token":217,"../../misc/MultiMap":306,"../../misc/ParseCancellationException":309,"../RuleNode":314,"../TerminalNode":315,"./ParseTreeMatch":318,"./ParseTreePattern":319,"./RuleTagToken":321,"./TagChunk":322,"./TextChunk":323,"./TokenTagToken":324}],321:[function(require,module,exports){
|
|
49393
50033
|
"use strict";
|
|
49394
50034
|
/*!
|
|
49395
50035
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49587,7 +50227,7 @@ RuleTagToken = __decorate([
|
|
|
49587
50227
|
], RuleTagToken);
|
|
49588
50228
|
exports.RuleTagToken = RuleTagToken;
|
|
49589
50229
|
|
|
49590
|
-
},{"../../Decorators":
|
|
50230
|
+
},{"../../Decorators":192,"../../Token":217}],322:[function(require,module,exports){
|
|
49591
50231
|
"use strict";
|
|
49592
50232
|
/*!
|
|
49593
50233
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49674,7 +50314,7 @@ __decorate([
|
|
|
49674
50314
|
], TagChunk.prototype, "toString", null);
|
|
49675
50315
|
exports.TagChunk = TagChunk;
|
|
49676
50316
|
|
|
49677
|
-
},{"../../Decorators":
|
|
50317
|
+
},{"../../Decorators":192,"./Chunk":317}],323:[function(require,module,exports){
|
|
49678
50318
|
"use strict";
|
|
49679
50319
|
/*!
|
|
49680
50320
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49744,7 +50384,7 @@ TextChunk = __decorate([
|
|
|
49744
50384
|
], TextChunk);
|
|
49745
50385
|
exports.TextChunk = TextChunk;
|
|
49746
50386
|
|
|
49747
|
-
},{"../../Decorators":
|
|
50387
|
+
},{"../../Decorators":192,"./Chunk":317}],324:[function(require,module,exports){
|
|
49748
50388
|
"use strict";
|
|
49749
50389
|
/*!
|
|
49750
50390
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49839,7 +50479,7 @@ TokenTagToken = __decorate([
|
|
|
49839
50479
|
], TokenTagToken);
|
|
49840
50480
|
exports.TokenTagToken = TokenTagToken;
|
|
49841
50481
|
|
|
49842
|
-
},{"../../CommonToken":
|
|
50482
|
+
},{"../../CommonToken":188,"../../Decorators":192}],325:[function(require,module,exports){
|
|
49843
50483
|
"use strict";
|
|
49844
50484
|
/*!
|
|
49845
50485
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50036,7 +50676,7 @@ exports.XPath = XPath;
|
|
|
50036
50676
|
XPath.WILDCARD = "*"; // word not operator/separator
|
|
50037
50677
|
XPath.NOT = "!"; // word for invert operator
|
|
50038
50678
|
|
|
50039
|
-
},{"../../CharStreams":
|
|
50679
|
+
},{"../../CharStreams":185,"../../CommonTokenStream":190,"../../LexerNoViableAltException":202,"../../ParserRuleContext":208,"../../Token":217,"./XPathLexer":327,"./XPathLexerErrorListener":328,"./XPathRuleAnywhereElement":329,"./XPathRuleElement":330,"./XPathTokenAnywhereElement":331,"./XPathTokenElement":332,"./XPathWildcardAnywhereElement":333,"./XPathWildcardElement":334}],326:[function(require,module,exports){
|
|
50040
50680
|
"use strict";
|
|
50041
50681
|
/*!
|
|
50042
50682
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50071,7 +50711,7 @@ __decorate([
|
|
|
50071
50711
|
], XPathElement.prototype, "toString", null);
|
|
50072
50712
|
exports.XPathElement = XPathElement;
|
|
50073
50713
|
|
|
50074
|
-
},{"../../Decorators":
|
|
50714
|
+
},{"../../Decorators":192}],327:[function(require,module,exports){
|
|
50075
50715
|
"use strict";
|
|
50076
50716
|
// Generated from XPathLexer.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
50077
50717
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -50546,7 +51186,7 @@ XPathLexer._serializedATN = Utils.join([
|
|
|
50546
51186
|
XPathLexer._serializedATNSegment1,
|
|
50547
51187
|
], "");
|
|
50548
51188
|
|
|
50549
|
-
},{"../../Lexer":
|
|
51189
|
+
},{"../../Lexer":200,"../../VocabularyImpl":223,"../../atn/ATNDeserializer":229,"../../atn/LexerATNSimulator":250,"../../misc/Utils":311}],328:[function(require,module,exports){
|
|
50550
51190
|
"use strict";
|
|
50551
51191
|
/*!
|
|
50552
51192
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50571,7 +51211,7 @@ __decorate([
|
|
|
50571
51211
|
], XPathLexerErrorListener.prototype, "syntaxError", null);
|
|
50572
51212
|
exports.XPathLexerErrorListener = XPathLexerErrorListener;
|
|
50573
51213
|
|
|
50574
|
-
},{"../../Decorators":
|
|
51214
|
+
},{"../../Decorators":192}],329:[function(require,module,exports){
|
|
50575
51215
|
"use strict";
|
|
50576
51216
|
/*!
|
|
50577
51217
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50605,7 +51245,7 @@ __decorate([
|
|
|
50605
51245
|
], XPathRuleAnywhereElement.prototype, "evaluate", null);
|
|
50606
51246
|
exports.XPathRuleAnywhereElement = XPathRuleAnywhereElement;
|
|
50607
51247
|
|
|
50608
|
-
},{"../../Decorators":
|
|
51248
|
+
},{"../../Decorators":192,"../Trees":316,"./XPathElement":326}],330:[function(require,module,exports){
|
|
50609
51249
|
"use strict";
|
|
50610
51250
|
/*!
|
|
50611
51251
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50648,7 +51288,7 @@ __decorate([
|
|
|
50648
51288
|
], XPathRuleElement.prototype, "evaluate", null);
|
|
50649
51289
|
exports.XPathRuleElement = XPathRuleElement;
|
|
50650
51290
|
|
|
50651
|
-
},{"../../Decorators":
|
|
51291
|
+
},{"../../Decorators":192,"../../ParserRuleContext":208,"../Trees":316,"./XPathElement":326}],331:[function(require,module,exports){
|
|
50652
51292
|
"use strict";
|
|
50653
51293
|
/*!
|
|
50654
51294
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50680,7 +51320,7 @@ __decorate([
|
|
|
50680
51320
|
], XPathTokenAnywhereElement.prototype, "evaluate", null);
|
|
50681
51321
|
exports.XPathTokenAnywhereElement = XPathTokenAnywhereElement;
|
|
50682
51322
|
|
|
50683
|
-
},{"../../Decorators":
|
|
51323
|
+
},{"../../Decorators":192,"../Trees":316,"./XPathElement":326}],332:[function(require,module,exports){
|
|
50684
51324
|
"use strict";
|
|
50685
51325
|
/*!
|
|
50686
51326
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50723,7 +51363,7 @@ __decorate([
|
|
|
50723
51363
|
], XPathTokenElement.prototype, "evaluate", null);
|
|
50724
51364
|
exports.XPathTokenElement = XPathTokenElement;
|
|
50725
51365
|
|
|
50726
|
-
},{"../../Decorators":
|
|
51366
|
+
},{"../../Decorators":192,"../TerminalNode":315,"../Trees":316,"./XPathElement":326}],333:[function(require,module,exports){
|
|
50727
51367
|
"use strict";
|
|
50728
51368
|
/*!
|
|
50729
51369
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50759,7 +51399,7 @@ __decorate([
|
|
|
50759
51399
|
], XPathWildcardAnywhereElement.prototype, "evaluate", null);
|
|
50760
51400
|
exports.XPathWildcardAnywhereElement = XPathWildcardAnywhereElement;
|
|
50761
51401
|
|
|
50762
|
-
},{"../../Decorators":
|
|
51402
|
+
},{"../../Decorators":192,"../Trees":316,"./XPath":325,"./XPathElement":326}],334:[function(require,module,exports){
|
|
50763
51403
|
"use strict";
|
|
50764
51404
|
/*!
|
|
50765
51405
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50799,7 +51439,7 @@ __decorate([
|
|
|
50799
51439
|
], XPathWildcardElement.prototype, "evaluate", null);
|
|
50800
51440
|
exports.XPathWildcardElement = XPathWildcardElement;
|
|
50801
51441
|
|
|
50802
|
-
},{"../../Decorators":
|
|
51442
|
+
},{"../../Decorators":192,"../Trees":316,"./XPath":325,"./XPathElement":326}],335:[function(require,module,exports){
|
|
50803
51443
|
(function (global){(function (){
|
|
50804
51444
|
'use strict';
|
|
50805
51445
|
|
|
@@ -51309,7 +51949,7 @@ var objectKeys = Object.keys || function (obj) {
|
|
|
51309
51949
|
};
|
|
51310
51950
|
|
|
51311
51951
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51312
|
-
},{"object.assign/polyfill":
|
|
51952
|
+
},{"object.assign/polyfill":381,"util/":338}],336:[function(require,module,exports){
|
|
51313
51953
|
if (typeof Object.create === 'function') {
|
|
51314
51954
|
// implementation from standard node.js 'util' module
|
|
51315
51955
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -51334,14 +51974,14 @@ if (typeof Object.create === 'function') {
|
|
|
51334
51974
|
}
|
|
51335
51975
|
}
|
|
51336
51976
|
|
|
51337
|
-
},{}],
|
|
51977
|
+
},{}],337:[function(require,module,exports){
|
|
51338
51978
|
module.exports = function isBuffer(arg) {
|
|
51339
51979
|
return arg && typeof arg === 'object'
|
|
51340
51980
|
&& typeof arg.copy === 'function'
|
|
51341
51981
|
&& typeof arg.fill === 'function'
|
|
51342
51982
|
&& typeof arg.readUInt8 === 'function';
|
|
51343
51983
|
}
|
|
51344
|
-
},{}],
|
|
51984
|
+
},{}],338:[function(require,module,exports){
|
|
51345
51985
|
(function (process,global){(function (){
|
|
51346
51986
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
51347
51987
|
//
|
|
@@ -51931,7 +52571,7 @@ function hasOwnProperty(obj, prop) {
|
|
|
51931
52571
|
}
|
|
51932
52572
|
|
|
51933
52573
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51934
|
-
},{"./support/isBuffer":
|
|
52574
|
+
},{"./support/isBuffer":337,"_process":383,"inherits":336}],339:[function(require,module,exports){
|
|
51935
52575
|
(function (global){(function (){
|
|
51936
52576
|
'use strict';
|
|
51937
52577
|
|
|
@@ -51952,7 +52592,7 @@ module.exports = function availableTypedArrays() {
|
|
|
51952
52592
|
};
|
|
51953
52593
|
|
|
51954
52594
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51955
|
-
},{"possible-typed-array-names":
|
|
52595
|
+
},{"possible-typed-array-names":382}],340:[function(require,module,exports){
|
|
51956
52596
|
(function (process,global){(function (){
|
|
51957
52597
|
module.exports = process.hrtime || hrtime
|
|
51958
52598
|
|
|
@@ -51983,7 +52623,7 @@ function hrtime(previousTimestamp){
|
|
|
51983
52623
|
return [seconds,nanoseconds]
|
|
51984
52624
|
}
|
|
51985
52625
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51986
|
-
},{"_process":
|
|
52626
|
+
},{"_process":383}],341:[function(require,module,exports){
|
|
51987
52627
|
'use strict';
|
|
51988
52628
|
|
|
51989
52629
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -52000,7 +52640,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
52000
52640
|
return intrinsic;
|
|
52001
52641
|
};
|
|
52002
52642
|
|
|
52003
|
-
},{"./":
|
|
52643
|
+
},{"./":342,"get-intrinsic":345}],342:[function(require,module,exports){
|
|
52004
52644
|
'use strict';
|
|
52005
52645
|
|
|
52006
52646
|
var bind = require('function-bind');
|
|
@@ -52049,7 +52689,7 @@ if ($defineProperty) {
|
|
|
52049
52689
|
module.exports.apply = applyBind;
|
|
52050
52690
|
}
|
|
52051
52691
|
|
|
52052
|
-
},{"function-bind":
|
|
52692
|
+
},{"function-bind":344,"get-intrinsic":345}],343:[function(require,module,exports){
|
|
52053
52693
|
'use strict';
|
|
52054
52694
|
|
|
52055
52695
|
/* eslint no-invalid-this: 1 */
|
|
@@ -52103,14 +52743,14 @@ module.exports = function bind(that) {
|
|
|
52103
52743
|
return bound;
|
|
52104
52744
|
};
|
|
52105
52745
|
|
|
52106
|
-
},{}],
|
|
52746
|
+
},{}],344:[function(require,module,exports){
|
|
52107
52747
|
'use strict';
|
|
52108
52748
|
|
|
52109
52749
|
var implementation = require('./implementation');
|
|
52110
52750
|
|
|
52111
52751
|
module.exports = Function.prototype.bind || implementation;
|
|
52112
52752
|
|
|
52113
|
-
},{"./implementation":
|
|
52753
|
+
},{"./implementation":343}],345:[function(require,module,exports){
|
|
52114
52754
|
'use strict';
|
|
52115
52755
|
|
|
52116
52756
|
var undefined;
|
|
@@ -52456,7 +53096,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
52456
53096
|
return value;
|
|
52457
53097
|
};
|
|
52458
53098
|
|
|
52459
|
-
},{"function-bind":
|
|
53099
|
+
},{"function-bind":344,"has":369,"has-symbols":364}],346:[function(require,module,exports){
|
|
52460
53100
|
'use strict';
|
|
52461
53101
|
|
|
52462
53102
|
var $defineProperty = require('es-define-property');
|
|
@@ -52514,7 +53154,7 @@ module.exports = function defineDataProperty(
|
|
|
52514
53154
|
}
|
|
52515
53155
|
};
|
|
52516
53156
|
|
|
52517
|
-
},{"es-define-property":
|
|
53157
|
+
},{"es-define-property":347,"es-errors/syntax":352,"es-errors/type":353,"gopd":359}],347:[function(require,module,exports){
|
|
52518
53158
|
'use strict';
|
|
52519
53159
|
|
|
52520
53160
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -52532,49 +53172,49 @@ if ($defineProperty) {
|
|
|
52532
53172
|
|
|
52533
53173
|
module.exports = $defineProperty;
|
|
52534
53174
|
|
|
52535
|
-
},{"get-intrinsic":
|
|
53175
|
+
},{"get-intrinsic":358}],348:[function(require,module,exports){
|
|
52536
53176
|
'use strict';
|
|
52537
53177
|
|
|
52538
53178
|
/** @type {import('./eval')} */
|
|
52539
53179
|
module.exports = EvalError;
|
|
52540
53180
|
|
|
52541
|
-
},{}],
|
|
53181
|
+
},{}],349:[function(require,module,exports){
|
|
52542
53182
|
'use strict';
|
|
52543
53183
|
|
|
52544
53184
|
/** @type {import('.')} */
|
|
52545
53185
|
module.exports = Error;
|
|
52546
53186
|
|
|
52547
|
-
},{}],
|
|
53187
|
+
},{}],350:[function(require,module,exports){
|
|
52548
53188
|
'use strict';
|
|
52549
53189
|
|
|
52550
53190
|
/** @type {import('./range')} */
|
|
52551
53191
|
module.exports = RangeError;
|
|
52552
53192
|
|
|
52553
|
-
},{}],
|
|
53193
|
+
},{}],351:[function(require,module,exports){
|
|
52554
53194
|
'use strict';
|
|
52555
53195
|
|
|
52556
53196
|
/** @type {import('./ref')} */
|
|
52557
53197
|
module.exports = ReferenceError;
|
|
52558
53198
|
|
|
52559
|
-
},{}],
|
|
53199
|
+
},{}],352:[function(require,module,exports){
|
|
52560
53200
|
'use strict';
|
|
52561
53201
|
|
|
52562
53202
|
/** @type {import('./syntax')} */
|
|
52563
53203
|
module.exports = SyntaxError;
|
|
52564
53204
|
|
|
52565
|
-
},{}],
|
|
53205
|
+
},{}],353:[function(require,module,exports){
|
|
52566
53206
|
'use strict';
|
|
52567
53207
|
|
|
52568
53208
|
/** @type {import('./type')} */
|
|
52569
53209
|
module.exports = TypeError;
|
|
52570
53210
|
|
|
52571
|
-
},{}],
|
|
53211
|
+
},{}],354:[function(require,module,exports){
|
|
52572
53212
|
'use strict';
|
|
52573
53213
|
|
|
52574
53214
|
/** @type {import('./uri')} */
|
|
52575
53215
|
module.exports = URIError;
|
|
52576
53216
|
|
|
52577
|
-
},{}],
|
|
53217
|
+
},{}],355:[function(require,module,exports){
|
|
52578
53218
|
'use strict';
|
|
52579
53219
|
|
|
52580
53220
|
var isCallable = require('is-callable');
|
|
@@ -52638,7 +53278,7 @@ var forEach = function forEach(list, iterator, thisArg) {
|
|
|
52638
53278
|
|
|
52639
53279
|
module.exports = forEach;
|
|
52640
53280
|
|
|
52641
|
-
},{"is-callable":
|
|
53281
|
+
},{"is-callable":373}],356:[function(require,module,exports){
|
|
52642
53282
|
'use strict';
|
|
52643
53283
|
|
|
52644
53284
|
/* eslint no-invalid-this: 1 */
|
|
@@ -52724,9 +53364,9 @@ module.exports = function bind(that) {
|
|
|
52724
53364
|
return bound;
|
|
52725
53365
|
};
|
|
52726
53366
|
|
|
52727
|
-
},{}],
|
|
52728
|
-
arguments[4][
|
|
52729
|
-
},{"./implementation":
|
|
53367
|
+
},{}],357:[function(require,module,exports){
|
|
53368
|
+
arguments[4][344][0].apply(exports,arguments)
|
|
53369
|
+
},{"./implementation":356,"dup":344}],358:[function(require,module,exports){
|
|
52730
53370
|
'use strict';
|
|
52731
53371
|
|
|
52732
53372
|
var undefined;
|
|
@@ -53087,7 +53727,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
53087
53727
|
return value;
|
|
53088
53728
|
};
|
|
53089
53729
|
|
|
53090
|
-
},{"es-errors":
|
|
53730
|
+
},{"es-errors":349,"es-errors/eval":348,"es-errors/range":350,"es-errors/ref":351,"es-errors/syntax":352,"es-errors/type":353,"es-errors/uri":354,"function-bind":357,"has-proto":363,"has-symbols":364,"hasown":370}],359:[function(require,module,exports){
|
|
53091
53731
|
'use strict';
|
|
53092
53732
|
|
|
53093
53733
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -53105,13 +53745,13 @@ if ($gOPD) {
|
|
|
53105
53745
|
|
|
53106
53746
|
module.exports = $gOPD;
|
|
53107
53747
|
|
|
53108
|
-
},{"get-intrinsic":
|
|
53109
|
-
arguments[4][
|
|
53110
|
-
},{"dup":
|
|
53111
|
-
arguments[4][
|
|
53112
|
-
},{"./implementation":
|
|
53113
|
-
arguments[4][
|
|
53114
|
-
},{"dup":
|
|
53748
|
+
},{"get-intrinsic":362}],360:[function(require,module,exports){
|
|
53749
|
+
arguments[4][343][0].apply(exports,arguments)
|
|
53750
|
+
},{"dup":343}],361:[function(require,module,exports){
|
|
53751
|
+
arguments[4][344][0].apply(exports,arguments)
|
|
53752
|
+
},{"./implementation":360,"dup":344}],362:[function(require,module,exports){
|
|
53753
|
+
arguments[4][345][0].apply(exports,arguments)
|
|
53754
|
+
},{"dup":345,"function-bind":361,"has":369,"has-symbols":364}],363:[function(require,module,exports){
|
|
53115
53755
|
'use strict';
|
|
53116
53756
|
|
|
53117
53757
|
var test = {
|
|
@@ -53124,7 +53764,7 @@ module.exports = function hasProto() {
|
|
|
53124
53764
|
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
53125
53765
|
};
|
|
53126
53766
|
|
|
53127
|
-
},{}],
|
|
53767
|
+
},{}],364:[function(require,module,exports){
|
|
53128
53768
|
'use strict';
|
|
53129
53769
|
|
|
53130
53770
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -53139,7 +53779,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
53139
53779
|
return hasSymbolSham();
|
|
53140
53780
|
};
|
|
53141
53781
|
|
|
53142
|
-
},{"./shams":
|
|
53782
|
+
},{"./shams":365}],365:[function(require,module,exports){
|
|
53143
53783
|
'use strict';
|
|
53144
53784
|
|
|
53145
53785
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
@@ -53183,7 +53823,7 @@ module.exports = function hasSymbols() {
|
|
|
53183
53823
|
return true;
|
|
53184
53824
|
};
|
|
53185
53825
|
|
|
53186
|
-
},{}],
|
|
53826
|
+
},{}],366:[function(require,module,exports){
|
|
53187
53827
|
'use strict';
|
|
53188
53828
|
|
|
53189
53829
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -53192,18 +53832,18 @@ module.exports = function hasToStringTagShams() {
|
|
|
53192
53832
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
53193
53833
|
};
|
|
53194
53834
|
|
|
53195
|
-
},{"has-symbols/shams":
|
|
53196
|
-
arguments[4][
|
|
53197
|
-
},{"dup":
|
|
53198
|
-
arguments[4][
|
|
53199
|
-
},{"./implementation":
|
|
53835
|
+
},{"has-symbols/shams":365}],367:[function(require,module,exports){
|
|
53836
|
+
arguments[4][343][0].apply(exports,arguments)
|
|
53837
|
+
},{"dup":343}],368:[function(require,module,exports){
|
|
53838
|
+
arguments[4][344][0].apply(exports,arguments)
|
|
53839
|
+
},{"./implementation":367,"dup":344}],369:[function(require,module,exports){
|
|
53200
53840
|
'use strict';
|
|
53201
53841
|
|
|
53202
53842
|
var bind = require('function-bind');
|
|
53203
53843
|
|
|
53204
53844
|
module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
53205
53845
|
|
|
53206
|
-
},{"function-bind":
|
|
53846
|
+
},{"function-bind":368}],370:[function(require,module,exports){
|
|
53207
53847
|
'use strict';
|
|
53208
53848
|
|
|
53209
53849
|
var call = Function.prototype.call;
|
|
@@ -53213,7 +53853,7 @@ var bind = require('function-bind');
|
|
|
53213
53853
|
/** @type {import('.')} */
|
|
53214
53854
|
module.exports = bind.call(call, $hasOwn);
|
|
53215
53855
|
|
|
53216
|
-
},{"function-bind":
|
|
53856
|
+
},{"function-bind":357}],371:[function(require,module,exports){
|
|
53217
53857
|
if (typeof Object.create === 'function') {
|
|
53218
53858
|
// implementation from standard node.js 'util' module
|
|
53219
53859
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -53242,7 +53882,7 @@ if (typeof Object.create === 'function') {
|
|
|
53242
53882
|
}
|
|
53243
53883
|
}
|
|
53244
53884
|
|
|
53245
|
-
},{}],
|
|
53885
|
+
},{}],372:[function(require,module,exports){
|
|
53246
53886
|
'use strict';
|
|
53247
53887
|
|
|
53248
53888
|
var hasToStringTag = require('has-tostringtag/shams')();
|
|
@@ -53277,7 +53917,7 @@ isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests
|
|
|
53277
53917
|
|
|
53278
53918
|
module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
53279
53919
|
|
|
53280
|
-
},{"call-bind/callBound":
|
|
53920
|
+
},{"call-bind/callBound":341,"has-tostringtag/shams":366}],373:[function(require,module,exports){
|
|
53281
53921
|
'use strict';
|
|
53282
53922
|
|
|
53283
53923
|
var fnToStr = Function.prototype.toString;
|
|
@@ -53380,7 +54020,7 @@ module.exports = reflectApply
|
|
|
53380
54020
|
return tryFunctionObject(value);
|
|
53381
54021
|
};
|
|
53382
54022
|
|
|
53383
|
-
},{}],
|
|
54023
|
+
},{}],374:[function(require,module,exports){
|
|
53384
54024
|
'use strict';
|
|
53385
54025
|
|
|
53386
54026
|
var toStr = Object.prototype.toString;
|
|
@@ -53420,7 +54060,7 @@ module.exports = function isGeneratorFunction(fn) {
|
|
|
53420
54060
|
return getProto(fn) === GeneratorFunction;
|
|
53421
54061
|
};
|
|
53422
54062
|
|
|
53423
|
-
},{"has-tostringtag/shams":
|
|
54063
|
+
},{"has-tostringtag/shams":366}],375:[function(require,module,exports){
|
|
53424
54064
|
'use strict';
|
|
53425
54065
|
|
|
53426
54066
|
var whichTypedArray = require('which-typed-array');
|
|
@@ -53430,7 +54070,7 @@ module.exports = function isTypedArray(value) {
|
|
|
53430
54070
|
return !!whichTypedArray(value);
|
|
53431
54071
|
};
|
|
53432
54072
|
|
|
53433
|
-
},{"which-typed-array":
|
|
54073
|
+
},{"which-typed-array":389}],376:[function(require,module,exports){
|
|
53434
54074
|
(function (global){(function (){
|
|
53435
54075
|
/**
|
|
53436
54076
|
* @license
|
|
@@ -70643,7 +71283,7 @@ module.exports = function isTypedArray(value) {
|
|
|
70643
71283
|
}.call(this));
|
|
70644
71284
|
|
|
70645
71285
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
70646
|
-
},{}],
|
|
71286
|
+
},{}],377:[function(require,module,exports){
|
|
70647
71287
|
'use strict';
|
|
70648
71288
|
|
|
70649
71289
|
var keysShim;
|
|
@@ -70767,7 +71407,7 @@ if (!Object.keys) {
|
|
|
70767
71407
|
}
|
|
70768
71408
|
module.exports = keysShim;
|
|
70769
71409
|
|
|
70770
|
-
},{"./isArguments":
|
|
71410
|
+
},{"./isArguments":379}],378:[function(require,module,exports){
|
|
70771
71411
|
'use strict';
|
|
70772
71412
|
|
|
70773
71413
|
var slice = Array.prototype.slice;
|
|
@@ -70801,7 +71441,7 @@ keysShim.shim = function shimObjectKeys() {
|
|
|
70801
71441
|
|
|
70802
71442
|
module.exports = keysShim;
|
|
70803
71443
|
|
|
70804
|
-
},{"./implementation":
|
|
71444
|
+
},{"./implementation":377,"./isArguments":379}],379:[function(require,module,exports){
|
|
70805
71445
|
'use strict';
|
|
70806
71446
|
|
|
70807
71447
|
var toStr = Object.prototype.toString;
|
|
@@ -70820,7 +71460,7 @@ module.exports = function isArguments(value) {
|
|
|
70820
71460
|
return isArgs;
|
|
70821
71461
|
};
|
|
70822
71462
|
|
|
70823
|
-
},{}],
|
|
71463
|
+
},{}],380:[function(require,module,exports){
|
|
70824
71464
|
'use strict';
|
|
70825
71465
|
|
|
70826
71466
|
// modified from https://github.com/es-shims/es6-shim
|
|
@@ -70868,7 +71508,7 @@ module.exports = function assign(target, source1) {
|
|
|
70868
71508
|
return to; // step 4
|
|
70869
71509
|
};
|
|
70870
71510
|
|
|
70871
|
-
},{"call-bind/callBound":
|
|
71511
|
+
},{"call-bind/callBound":341,"has-symbols/shams":365,"object-keys":378}],381:[function(require,module,exports){
|
|
70872
71512
|
'use strict';
|
|
70873
71513
|
|
|
70874
71514
|
var implementation = require('./implementation');
|
|
@@ -70925,7 +71565,7 @@ module.exports = function getPolyfill() {
|
|
|
70925
71565
|
return Object.assign;
|
|
70926
71566
|
};
|
|
70927
71567
|
|
|
70928
|
-
},{"./implementation":
|
|
71568
|
+
},{"./implementation":380}],382:[function(require,module,exports){
|
|
70929
71569
|
'use strict';
|
|
70930
71570
|
|
|
70931
71571
|
/** @type {import('.')} */
|
|
@@ -70943,7 +71583,7 @@ module.exports = [
|
|
|
70943
71583
|
'BigUint64Array'
|
|
70944
71584
|
];
|
|
70945
71585
|
|
|
70946
|
-
},{}],
|
|
71586
|
+
},{}],383:[function(require,module,exports){
|
|
70947
71587
|
// shim for using process in browser
|
|
70948
71588
|
var process = module.exports = {};
|
|
70949
71589
|
|
|
@@ -71129,7 +71769,7 @@ process.chdir = function (dir) {
|
|
|
71129
71769
|
};
|
|
71130
71770
|
process.umask = function() { return 0; };
|
|
71131
71771
|
|
|
71132
|
-
},{}],
|
|
71772
|
+
},{}],384:[function(require,module,exports){
|
|
71133
71773
|
'use strict';
|
|
71134
71774
|
|
|
71135
71775
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -71173,7 +71813,7 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
71173
71813
|
return fn;
|
|
71174
71814
|
};
|
|
71175
71815
|
|
|
71176
|
-
},{"define-data-property":
|
|
71816
|
+
},{"define-data-property":346,"es-errors/type":353,"get-intrinsic":358,"gopd":359,"has-property-descriptors":385}],385:[function(require,module,exports){
|
|
71177
71817
|
'use strict';
|
|
71178
71818
|
|
|
71179
71819
|
var $defineProperty = require('es-define-property');
|
|
@@ -71197,9 +71837,9 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
71197
71837
|
|
|
71198
71838
|
module.exports = hasPropertyDescriptors;
|
|
71199
71839
|
|
|
71200
|
-
},{"es-define-property":
|
|
71201
|
-
arguments[4][
|
|
71202
|
-
},{"dup":
|
|
71840
|
+
},{"es-define-property":347}],386:[function(require,module,exports){
|
|
71841
|
+
arguments[4][337][0].apply(exports,arguments)
|
|
71842
|
+
},{"dup":337}],387:[function(require,module,exports){
|
|
71203
71843
|
// Currently in sync with Node.js lib/internal/util/types.js
|
|
71204
71844
|
// https://github.com/nodejs/node/commit/112cc7c27551254aa2b17098fb774867f05ed0d9
|
|
71205
71845
|
|
|
@@ -71535,7 +72175,7 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
|
71535
72175
|
});
|
|
71536
72176
|
});
|
|
71537
72177
|
|
|
71538
|
-
},{"is-arguments":
|
|
72178
|
+
},{"is-arguments":372,"is-generator-function":374,"is-typed-array":375,"which-typed-array":389}],388:[function(require,module,exports){
|
|
71539
72179
|
(function (process){(function (){
|
|
71540
72180
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
71541
72181
|
//
|
|
@@ -72254,7 +72894,7 @@ function callbackify(original) {
|
|
|
72254
72894
|
exports.callbackify = callbackify;
|
|
72255
72895
|
|
|
72256
72896
|
}).call(this)}).call(this,require('_process'))
|
|
72257
|
-
},{"./support/isBuffer":
|
|
72897
|
+
},{"./support/isBuffer":386,"./support/types":387,"_process":383,"inherits":371}],389:[function(require,module,exports){
|
|
72258
72898
|
(function (global){(function (){
|
|
72259
72899
|
'use strict';
|
|
72260
72900
|
|
|
@@ -72374,9 +73014,9 @@ module.exports = function whichTypedArray(value) {
|
|
|
72374
73014
|
};
|
|
72375
73015
|
|
|
72376
73016
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
72377
|
-
},{"available-typed-arrays":
|
|
72378
|
-
arguments[4][
|
|
72379
|
-
},{"./":
|
|
73017
|
+
},{"available-typed-arrays":339,"call-bind":391,"call-bind/callBound":390,"for-each":355,"gopd":359,"has-tostringtag/shams":392}],390:[function(require,module,exports){
|
|
73018
|
+
arguments[4][341][0].apply(exports,arguments)
|
|
73019
|
+
},{"./":391,"dup":341,"get-intrinsic":358}],391:[function(require,module,exports){
|
|
72380
73020
|
'use strict';
|
|
72381
73021
|
|
|
72382
73022
|
var bind = require('function-bind');
|
|
@@ -72413,7 +73053,7 @@ if ($defineProperty) {
|
|
|
72413
73053
|
module.exports.apply = applyBind;
|
|
72414
73054
|
}
|
|
72415
73055
|
|
|
72416
|
-
},{"es-define-property":
|
|
73056
|
+
},{"es-define-property":347,"es-errors/type":353,"function-bind":357,"get-intrinsic":358,"set-function-length":384}],392:[function(require,module,exports){
|
|
72417
73057
|
'use strict';
|
|
72418
73058
|
|
|
72419
73059
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -72423,5 +73063,5 @@ module.exports = function hasToStringTagShams() {
|
|
|
72423
73063
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
72424
73064
|
};
|
|
72425
73065
|
|
|
72426
|
-
},{"has-symbols/shams":
|
|
73066
|
+
},{"has-symbols/shams":365}]},{},[115])(115)
|
|
72427
73067
|
});
|