@designliquido/delegua 0.39.0 → 0.39.2
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.d.ts.map +1 -1
- package/analisador-semantico/analisador-semantico.js +22 -11
- package/analisador-semantico/analisador-semantico.js.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico.d.ts +6 -1
- package/avaliador-sintatico/avaliador-sintatico.d.ts.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico.js +210 -126
- package/avaliador-sintatico/avaliador-sintatico.js.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.d.ts.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js +1 -2
- package/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.d.ts.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.js +1 -2
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.js.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-portugol-ipt.d.ts.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-portugol-ipt.js +2 -3
- package/avaliador-sintatico/dialetos/avaliador-sintatico-portugol-ipt.js.map +1 -1
- package/bibliotecas/primitivas-vetor.js +1 -1
- package/bibliotecas/primitivas-vetor.js.map +1 -1
- package/bin/package.json +1 -1
- package/construtos/acesso-propriedade.d.ts +1 -0
- package/construtos/acesso-propriedade.d.ts.map +1 -1
- package/construtos/acesso-propriedade.js +7 -0
- package/construtos/acesso-propriedade.js.map +1 -1
- package/construtos/atribuir.d.ts +3 -2
- package/construtos/atribuir.d.ts.map +1 -1
- package/construtos/atribuir.js +7 -4
- package/construtos/atribuir.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 +2 -1
- package/construtos/index.d.ts.map +1 -1
- package/construtos/index.js +2 -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/formatadores/formatador-delegua.js +1 -1
- package/formatadores/formatador-delegua.js.map +1 -1
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.d.ts.map +1 -1
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.js +2 -1
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.js.map +1 -1
- package/interpretador/dialetos/egua-classico/resolvedor/resolvedor.d.ts +2 -2
- package/interpretador/dialetos/egua-classico/resolvedor/resolvedor.d.ts.map +1 -1
- package/interpretador/dialetos/egua-classico/resolvedor/resolvedor.js +2 -1
- package/interpretador/dialetos/egua-classico/resolvedor/resolvedor.js.map +1 -1
- package/interpretador/interpretador-base.d.ts.map +1 -1
- package/interpretador/interpretador-base.js +22 -15
- package/interpretador/interpretador-base.js.map +1 -1
- package/interpretador/interpretador.d.ts +2 -1
- package/interpretador/interpretador.d.ts.map +1 -1
- package/interpretador/interpretador.js +39 -0
- package/interpretador/interpretador.js.map +1 -1
- package/lexador/lexador.js +16 -16
- package/lexador/lexador.js.map +1 -1
- package/package.json +1 -1
- package/tradutores/tradutor-assemblyscript.js +1 -1
- package/tradutores/tradutor-assemblyscript.js.map +1 -1
- package/tradutores/tradutor-javascript.d.ts.map +1 -1
- package/tradutores/tradutor-javascript.js +18 -3
- package/tradutores/tradutor-javascript.js.map +1 -1
- package/tradutores/tradutor-python.d.ts +11 -6
- package/tradutores/tradutor-python.d.ts.map +1 -1
- package/tradutores/tradutor-python.js +153 -89
- package/tradutores/tradutor-python.js.map +1 -1
- package/umd/delegua.js +871 -629
package/umd/delegua.js
CHANGED
|
@@ -231,7 +231,7 @@ class AvaliadorSintaticoBase {
|
|
|
231
231
|
}
|
|
232
232
|
exports.AvaliadorSintaticoBase = AvaliadorSintaticoBase;
|
|
233
233
|
|
|
234
|
-
},{"../construtos":
|
|
234
|
+
},{"../construtos":44,"../declaracoes":82,"../tipos-de-simbolos/comum":163,"./erro-avaliador-sintatico":7}],2:[function(require,module,exports){
|
|
235
235
|
"use strict";
|
|
236
236
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
237
237
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -239,8 +239,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
239
239
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
240
240
|
exports.AvaliadorSintatico = void 0;
|
|
241
241
|
const browser_process_hrtime_1 = __importDefault(require("browser-process-hrtime"));
|
|
242
|
-
const delegua_1 = __importDefault(require("../tipos-de-dados/delegua"));
|
|
243
|
-
const delegua_2 = __importDefault(require("../tipos-de-simbolos/delegua"));
|
|
244
242
|
const construtos_1 = require("../construtos");
|
|
245
243
|
const erro_avaliador_sintatico_1 = require("./erro-avaliador-sintatico");
|
|
246
244
|
const tuplas_1 = require("../construtos/tuplas");
|
|
@@ -250,6 +248,9 @@ const avaliador_sintatico_base_1 = require("./avaliador-sintatico-base");
|
|
|
250
248
|
const inferenciador_1 = require("../inferenciador");
|
|
251
249
|
const pilha_escopos_1 = require("./pilha-escopos");
|
|
252
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"));
|
|
253
254
|
const primitivas_numero_1 = __importDefault(require("../bibliotecas/primitivas-numero"));
|
|
254
255
|
const primitivas_texto_1 = __importDefault(require("../bibliotecas/primitivas-texto"));
|
|
255
256
|
const primitivas_vetor_1 = __importDefault(require("../bibliotecas/primitivas-vetor"));
|
|
@@ -298,28 +299,72 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
298
299
|
}
|
|
299
300
|
return tipoElementarResolvido;
|
|
300
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
|
+
}
|
|
301
362
|
primario() {
|
|
302
363
|
const simboloAtual = this.simbolos[this.atual];
|
|
303
364
|
let valores = [];
|
|
304
365
|
switch (simboloAtual.tipo) {
|
|
305
366
|
case delegua_2.default.CHAVE_ESQUERDA:
|
|
306
|
-
this.
|
|
307
|
-
const chaves = [];
|
|
308
|
-
valores = [];
|
|
309
|
-
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.CHAVE_DIREITA)) {
|
|
310
|
-
return new construtos_1.Dicionario(this.hashArquivo, Number(simboloAtual.linha), [], []);
|
|
311
|
-
}
|
|
312
|
-
while (!this.verificarSeSimboloAtualEIgualA(delegua_2.default.CHAVE_DIREITA)) {
|
|
313
|
-
const chave = this.atribuir();
|
|
314
|
-
this.consumir(delegua_2.default.DOIS_PONTOS, "Esperado ':' entre chave e valor.");
|
|
315
|
-
const valor = this.atribuir();
|
|
316
|
-
chaves.push(chave);
|
|
317
|
-
valores.push(valor);
|
|
318
|
-
if (this.simbolos[this.atual].tipo !== delegua_2.default.CHAVE_DIREITA) {
|
|
319
|
-
this.consumir(delegua_2.default.VIRGULA, 'Esperado vírgula antes da próxima expressão.');
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
return new construtos_1.Dicionario(this.hashArquivo, Number(simboloAtual.linha), chaves, valores);
|
|
367
|
+
return this.construtoDicionario(simboloAtual);
|
|
323
368
|
case delegua_2.default.COLCHETE_ESQUERDO:
|
|
324
369
|
this.avancarEDevolverAnterior();
|
|
325
370
|
valores = [];
|
|
@@ -327,19 +372,10 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
327
372
|
return new construtos_1.Vetor(this.hashArquivo, Number(simboloAtual.linha), [], 0, 'qualquer');
|
|
328
373
|
}
|
|
329
374
|
while (!this.verificarSeSimboloAtualEIgualA(delegua_2.default.COLCHETE_DIREITO)) {
|
|
330
|
-
let valor = null;
|
|
331
375
|
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.PARENTESE_ESQUERDO)) {
|
|
332
|
-
|
|
333
|
-
const argumentos = [expressao];
|
|
334
|
-
while (this.simbolos[this.atual].tipo === delegua_2.default.VIRGULA) {
|
|
335
|
-
this.avancarEDevolverAnterior();
|
|
336
|
-
argumentos.push(this.expressao());
|
|
337
|
-
}
|
|
338
|
-
this.consumir(delegua_2.default.PARENTESE_DIREITO, "Esperado ')' após a expressão.");
|
|
339
|
-
this.consumir(delegua_2.default.COLCHETE_DIREITO, "Esperado ']' após a expressão.");
|
|
340
|
-
return new tuplas_1.SeletorTuplas(...argumentos);
|
|
376
|
+
return this.construtoTupla();
|
|
341
377
|
}
|
|
342
|
-
valor = this.atribuir();
|
|
378
|
+
const valor = this.atribuir();
|
|
343
379
|
valores.push(valor);
|
|
344
380
|
if (this.simbolos[this.atual].tipo !== delegua_2.default.COLCHETE_DIREITO) {
|
|
345
381
|
this.consumir(delegua_2.default.VIRGULA, 'Esperado vírgula antes da próxima expressão.');
|
|
@@ -380,7 +416,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
380
416
|
return new construtos_1.Isto(this.hashArquivo, Number(simboloAtual.linha), simboloAtual);
|
|
381
417
|
case delegua_2.default.NULO:
|
|
382
418
|
this.avancarEDevolverAnterior();
|
|
383
|
-
return new construtos_1.Literal(this.hashArquivo, Number(simboloAtual.linha), null);
|
|
419
|
+
return new construtos_1.Literal(this.hashArquivo, Number(simboloAtual.linha), null, 'nulo');
|
|
384
420
|
case delegua_2.default.NUMERO:
|
|
385
421
|
case delegua_2.default.TEXTO:
|
|
386
422
|
const simboloNumeroTexto = this.avancarEDevolverAnterior();
|
|
@@ -412,14 +448,67 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
412
448
|
case delegua_2.default.TIPO:
|
|
413
449
|
this.avancarEDevolverAnterior();
|
|
414
450
|
this.consumir(delegua_2.default.DE, "Esperado 'de' após 'tipo'.");
|
|
415
|
-
let
|
|
451
|
+
let construto;
|
|
416
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)) {
|
|
417
|
-
|
|
453
|
+
construto = new construtos_1.ComponenteLinguagem(this.hashArquivo, this.simboloAnterior());
|
|
418
454
|
}
|
|
419
455
|
else {
|
|
420
|
-
|
|
456
|
+
construto = this.expressao();
|
|
421
457
|
}
|
|
422
|
-
|
|
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);
|
|
423
512
|
case delegua_2.default.EXPRESSAO_REGULAR:
|
|
424
513
|
let valor = '';
|
|
425
514
|
let linhaAtual = this.simbolos[this.atual].linha;
|
|
@@ -475,33 +564,41 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
475
564
|
// Toda chamada precisa saber de antemão qual o tipo resolvido.
|
|
476
565
|
let entidadeChamadaResolvida = entidadeChamada;
|
|
477
566
|
if (entidadeChamadaResolvida.constructor.name === 'AcessoMetodoOuPropriedade') {
|
|
478
|
-
const
|
|
567
|
+
const construtoTipado = entidadeChamadaResolvida;
|
|
479
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;
|
|
480
577
|
case delegua_1.default.INTEIRO:
|
|
481
578
|
case delegua_1.default.NUMERO:
|
|
482
579
|
case delegua_1.default.NÚMERO:
|
|
483
|
-
if (!(
|
|
484
|
-
throw this.erro(
|
|
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.`);
|
|
485
582
|
}
|
|
486
|
-
const primitivaNumeroSelecionada = primitivas_numero_1.default[
|
|
487
|
-
entidadeChamadaResolvida = new construtos_1.AcessoMetodo(
|
|
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);
|
|
488
585
|
break;
|
|
489
586
|
case delegua_1.default.TEXTO:
|
|
490
|
-
if (!(
|
|
491
|
-
throw this.erro(
|
|
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.`);
|
|
492
589
|
}
|
|
493
|
-
const primitivaTextoSelecionada = primitivas_texto_1.default[
|
|
494
|
-
entidadeChamadaResolvida = new construtos_1.AcessoMetodo(
|
|
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);
|
|
495
592
|
break;
|
|
496
593
|
case delegua_1.default.VETOR:
|
|
497
594
|
case delegua_1.default.VETOR_NUMERO:
|
|
498
595
|
case delegua_1.default.VETOR_NÚMERO:
|
|
499
596
|
case delegua_1.default.VETOR_TEXTO:
|
|
500
|
-
if (!(
|
|
501
|
-
throw this.erro(
|
|
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.`);
|
|
502
599
|
}
|
|
503
|
-
const primitivaVetorSelecionada = primitivas_vetor_1.default[
|
|
504
|
-
entidadeChamadaResolvida = new construtos_1.AcessoMetodo(
|
|
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);
|
|
505
602
|
break;
|
|
506
603
|
}
|
|
507
604
|
}
|
|
@@ -623,22 +720,18 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
623
720
|
].includes(expressao.operador.tipo)) {
|
|
624
721
|
if (expressao.esquerda instanceof construtos_1.AcessoIndiceVariavel) {
|
|
625
722
|
const entidade = expressao.esquerda;
|
|
626
|
-
|
|
627
|
-
return new construtos_1.Atribuir(this.hashArquivo, simbolo, expressao, entidade.indice);
|
|
723
|
+
return new construtos_1.Atribuir(this.hashArquivo, entidade.entidadeChamada, expressao, entidade.indice, expressao.operador);
|
|
628
724
|
}
|
|
629
|
-
|
|
630
|
-
return new construtos_1.Atribuir(this.hashArquivo, simbolo, expressao);
|
|
725
|
+
return new construtos_1.Atribuir(this.hashArquivo, expressao.esquerda, expressao, undefined, expressao.operador);
|
|
631
726
|
}
|
|
632
727
|
else if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.IGUAL)) {
|
|
633
728
|
const igual = this.simbolos[this.atual - 1];
|
|
634
729
|
const valor = this.expressao();
|
|
635
730
|
if (expressao instanceof construtos_1.Variavel) {
|
|
636
|
-
|
|
637
|
-
return new construtos_1.Atribuir(this.hashArquivo, simbolo, valor);
|
|
731
|
+
return new construtos_1.Atribuir(this.hashArquivo, expressao, valor);
|
|
638
732
|
}
|
|
639
733
|
if (expressao instanceof construtos_1.AcessoMetodoOuPropriedade) {
|
|
640
|
-
|
|
641
|
-
return new construtos_1.DefinirValor(this.hashArquivo, igual.linha, get.objeto, get.simbolo, valor);
|
|
734
|
+
return new construtos_1.DefinirValor(this.hashArquivo, igual.linha, expressao.objeto, expressao.simbolo, valor);
|
|
642
735
|
}
|
|
643
736
|
if (expressao instanceof construtos_1.AcessoIndiceVariavel) {
|
|
644
737
|
return new construtos_1.AtribuicaoPorIndice(this.hashArquivo, expressao.linha, expressao.entidadeChamada, expressao.indice, valor);
|
|
@@ -1104,6 +1197,47 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1104
1197
|
this.pilhaDecoradores = [];
|
|
1105
1198
|
return retornos;
|
|
1106
1199
|
}
|
|
1200
|
+
logicaComumInferenciaTiposVariaveisEConstantes(inicializador, tipo) {
|
|
1201
|
+
if (tipo !== 'qualquer') {
|
|
1202
|
+
return tipo;
|
|
1203
|
+
}
|
|
1204
|
+
switch (inicializador.constructor.name) {
|
|
1205
|
+
case 'AcessoIndiceVariavel':
|
|
1206
|
+
const entidadeChamadaAcessoIndiceVariavel = inicializador.entidadeChamada;
|
|
1207
|
+
return entidadeChamadaAcessoIndiceVariavel.tipo.slice(0, -2);
|
|
1208
|
+
case 'Chamada':
|
|
1209
|
+
const entidadeChamadaChamada = inicializador.entidadeChamada;
|
|
1210
|
+
switch (entidadeChamadaChamada.constructor.name) {
|
|
1211
|
+
case 'AcessoMetodo':
|
|
1212
|
+
const entidadeChamadaAcessoMetodo = entidadeChamadaChamada;
|
|
1213
|
+
return entidadeChamadaAcessoMetodo.tipoRetornoMetodo;
|
|
1214
|
+
case 'AcessoPropriedade':
|
|
1215
|
+
const entidadeChamadaAcessoPropriedade = entidadeChamadaChamada;
|
|
1216
|
+
return entidadeChamadaAcessoPropriedade.tipoRetornoPropriedade;
|
|
1217
|
+
case 'Variavel':
|
|
1218
|
+
const entidadeChamadaVariavel = entidadeChamadaChamada;
|
|
1219
|
+
return entidadeChamadaVariavel.tipo;
|
|
1220
|
+
}
|
|
1221
|
+
break;
|
|
1222
|
+
case 'FuncaoConstruto':
|
|
1223
|
+
const funcaoConstruto = inicializador;
|
|
1224
|
+
return `função<${funcaoConstruto.tipoRetorno}>`;
|
|
1225
|
+
case 'Leia':
|
|
1226
|
+
return 'texto';
|
|
1227
|
+
case 'Dupla':
|
|
1228
|
+
case 'Trio':
|
|
1229
|
+
case 'Quarteto':
|
|
1230
|
+
case 'Quinteto':
|
|
1231
|
+
case 'Sexteto':
|
|
1232
|
+
case 'Septeto':
|
|
1233
|
+
case 'Octeto':
|
|
1234
|
+
case 'Noneto':
|
|
1235
|
+
case 'Deceto':
|
|
1236
|
+
return delegua_1.default.TUPLA;
|
|
1237
|
+
default:
|
|
1238
|
+
return inicializador.tipo;
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1107
1241
|
/**
|
|
1108
1242
|
* Caso símbolo atual seja `var`, devolve uma declaração de variável.
|
|
1109
1243
|
* @returns Um Construto do tipo Var.
|
|
@@ -1141,43 +1275,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1141
1275
|
}
|
|
1142
1276
|
for (let [indice, identificador] of identificadores.entries()) {
|
|
1143
1277
|
// Se tipo ainda não foi definido, infere.
|
|
1144
|
-
|
|
1145
|
-
switch (inicializadores[indice].constructor.name) {
|
|
1146
|
-
case 'AcessoIndiceVariavel':
|
|
1147
|
-
const entidadeChamadaAcessoIndiceVariavel = inicializadores[indice].entidadeChamada;
|
|
1148
|
-
tipo = entidadeChamadaAcessoIndiceVariavel.tipo.slice(0, -2);
|
|
1149
|
-
break;
|
|
1150
|
-
case 'Chamada':
|
|
1151
|
-
const entidadeChamadaChamada = inicializadores[indice].entidadeChamada;
|
|
1152
|
-
switch (entidadeChamadaChamada.constructor.name) {
|
|
1153
|
-
case 'AcessoMetodo':
|
|
1154
|
-
const entidadeChamadaAcessoMetodo = entidadeChamadaChamada;
|
|
1155
|
-
tipo = entidadeChamadaAcessoMetodo.tipoRetornoMetodo;
|
|
1156
|
-
break;
|
|
1157
|
-
case 'AcessoPropriedade':
|
|
1158
|
-
const entidadeChamadaAcessoPropriedade = entidadeChamadaChamada;
|
|
1159
|
-
tipo = entidadeChamadaAcessoPropriedade.tipoRetornoPropriedade;
|
|
1160
|
-
break;
|
|
1161
|
-
}
|
|
1162
|
-
break;
|
|
1163
|
-
case 'Dupla':
|
|
1164
|
-
case 'Trio':
|
|
1165
|
-
case 'Quarteto':
|
|
1166
|
-
case 'Quinteto':
|
|
1167
|
-
case 'Sexteto':
|
|
1168
|
-
case 'Septeto':
|
|
1169
|
-
case 'Octeto':
|
|
1170
|
-
case 'Noneto':
|
|
1171
|
-
case 'Deceto':
|
|
1172
|
-
tipo = delegua_1.default.TUPLA;
|
|
1173
|
-
break;
|
|
1174
|
-
case 'Literal':
|
|
1175
|
-
case 'Variavel':
|
|
1176
|
-
case 'Vetor':
|
|
1177
|
-
tipo = inicializadores[indice].tipo;
|
|
1178
|
-
break;
|
|
1179
|
-
}
|
|
1180
|
-
}
|
|
1278
|
+
tipo = this.logicaComumInferenciaTiposVariaveisEConstantes(inicializadores[indice], tipo);
|
|
1181
1279
|
this.pilhaEscopos.definirTipoVariavel(identificador.lexema, tipo);
|
|
1182
1280
|
retorno.push(new declaracoes_1.Var(identificador, inicializadores[indice], tipo, Array.from(this.pilhaDecoradores)));
|
|
1183
1281
|
}
|
|
@@ -1230,30 +1328,8 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1230
1328
|
}
|
|
1231
1329
|
let retorno = [];
|
|
1232
1330
|
for (let [indice, identificador] of identificadores.entries()) {
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
case 'AcessoIndiceVariavel':
|
|
1236
|
-
const entidadeChamada = inicializadores[indice].entidadeChamada;
|
|
1237
|
-
tipo = entidadeChamada.tipo.slice(0, -2);
|
|
1238
|
-
break;
|
|
1239
|
-
case 'Dupla':
|
|
1240
|
-
case 'Trio':
|
|
1241
|
-
case 'Quarteto':
|
|
1242
|
-
case 'Quinteto':
|
|
1243
|
-
case 'Sexteto':
|
|
1244
|
-
case 'Septeto':
|
|
1245
|
-
case 'Octeto':
|
|
1246
|
-
case 'Noneto':
|
|
1247
|
-
case 'Deceto':
|
|
1248
|
-
tipo = delegua_1.default.TUPLA;
|
|
1249
|
-
break;
|
|
1250
|
-
case 'Literal':
|
|
1251
|
-
case 'Variavel':
|
|
1252
|
-
case 'Vetor':
|
|
1253
|
-
tipo = inicializadores[indice].tipo;
|
|
1254
|
-
break;
|
|
1255
|
-
}
|
|
1256
|
-
}
|
|
1331
|
+
// Se tipo ainda não foi definido, infere.
|
|
1332
|
+
tipo = this.logicaComumInferenciaTiposVariaveisEConstantes(inicializadores[indice], tipo);
|
|
1257
1333
|
this.pilhaEscopos.definirTipoVariavel(identificador.lexema, tipo);
|
|
1258
1334
|
retorno.push(new declaracoes_1.Const(identificador, inicializadores[indice], tipo, Array.from(this.pilhaDecoradores)));
|
|
1259
1335
|
}
|
|
@@ -1277,8 +1353,8 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1277
1353
|
// para ela. Vai ser atualizado após avaliação do corpo da função.
|
|
1278
1354
|
this.pilhaEscopos.definirTipoVariavel(simbolo.lexema, 'qualquer');
|
|
1279
1355
|
const corpoDaFuncao = this.corpoDaFuncao(tipo);
|
|
1280
|
-
this.pilhaEscopos.definirTipoVariavel(simbolo.lexema, corpoDaFuncao.tipoRetorno
|
|
1281
|
-
return new declaracoes_1.FuncaoDeclaracao(simbolo, corpoDaFuncao, corpoDaFuncao.tipoRetorno
|
|
1356
|
+
this.pilhaEscopos.definirTipoVariavel(simbolo.lexema, corpoDaFuncao.tipoRetorno);
|
|
1357
|
+
return new declaracoes_1.FuncaoDeclaracao(simbolo, corpoDaFuncao, corpoDaFuncao.tipoRetorno, decoradores);
|
|
1282
1358
|
}
|
|
1283
1359
|
logicaComumParametros() {
|
|
1284
1360
|
const parametros = [];
|
|
@@ -1357,9 +1433,11 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1357
1433
|
}
|
|
1358
1434
|
this.consumir(delegua_2.default.PARENTESE_DIREITO, "Esperado ')' após parâmetros.");
|
|
1359
1435
|
let tipoRetorno = 'qualquer';
|
|
1436
|
+
let definicaoExplicitaDeTipo = false;
|
|
1360
1437
|
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.DOIS_PONTOS)) {
|
|
1361
1438
|
tipoRetorno = this.verificarDefinicaoTipoAtual();
|
|
1362
1439
|
this.avancarEDevolverAnterior();
|
|
1440
|
+
definicaoExplicitaDeTipo = true;
|
|
1363
1441
|
}
|
|
1364
1442
|
this.consumir(delegua_2.default.CHAVE_ESQUERDA, `Esperado '{' antes do escopo do ${tipo}.`);
|
|
1365
1443
|
const corpo = this.blocoEscopo();
|
|
@@ -1374,19 +1452,25 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1374
1452
|
}
|
|
1375
1453
|
}
|
|
1376
1454
|
const tiposRetornos = new Set(expressoesRetorna.map(e => e.tipo));
|
|
1377
|
-
// if (tiposRetornos.size > 1 && !tiposRetornos.has('qualquer')) {
|
|
1378
1455
|
if (tiposRetornos.size > 1 && tipoRetorno !== 'qualquer') {
|
|
1379
1456
|
let tiposEncontrados = Array.from(tiposRetornos).reduce((acumulador, valor) => acumulador += valor + ', ', '');
|
|
1380
1457
|
tiposEncontrados = tiposEncontrados.slice(0, -2);
|
|
1381
1458
|
throw this.erro(parenteseEsquerdo, `Função retorna valores com mais de um tipo. Tipo esperado: ${tipoRetorno}. Tipos encontrados: ${tiposEncontrados}.`);
|
|
1382
1459
|
}
|
|
1383
1460
|
tiposRetornos.delete('qualquer');
|
|
1384
|
-
if (tipoRetorno === 'qualquer'
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1461
|
+
if (tipoRetorno === 'qualquer') {
|
|
1462
|
+
if (tiposRetornos.size > 0) {
|
|
1463
|
+
// Se o tipo de retorno é 'qualquer', seja implícito ou explícito,
|
|
1464
|
+
// este avaliador sintático pode restringir o tipo baseado nos construtos
|
|
1465
|
+
// de retornos encontrados nos blocos internos da função.
|
|
1466
|
+
const tipoRetornoDeduzido = tiposRetornos.values().next().value;
|
|
1467
|
+
tipoRetorno = tipoRetornoDeduzido;
|
|
1468
|
+
}
|
|
1469
|
+
else if (!definicaoExplicitaDeTipo) {
|
|
1470
|
+
// Ou, se esses retornos sequer existem, e o tipo explícito não é
|
|
1471
|
+
// 'qualquer', o tipo inferido é 'vazio'.
|
|
1472
|
+
tipoRetorno = 'vazio';
|
|
1473
|
+
}
|
|
1390
1474
|
}
|
|
1391
1475
|
return new construtos_1.FuncaoConstruto(this.hashArquivo, Number(parenteseEsquerdo.linha), parametros, corpo, tipoRetorno);
|
|
1392
1476
|
}
|
|
@@ -1546,7 +1630,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1546
1630
|
}
|
|
1547
1631
|
exports.AvaliadorSintatico = AvaliadorSintatico;
|
|
1548
1632
|
|
|
1549
|
-
},{"../bibliotecas/primitivas-numero":19,"../bibliotecas/primitivas-texto":20,"../bibliotecas/primitivas-vetor":21,"../construtos":
|
|
1633
|
+
},{"../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){
|
|
1550
1634
|
"use strict";
|
|
1551
1635
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
1552
1636
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -1856,8 +1940,7 @@ class AvaliadorSintaticoEguaClassico {
|
|
|
1856
1940
|
const igual = this.simboloAnterior();
|
|
1857
1941
|
const valor = this.atribuir();
|
|
1858
1942
|
if (expressao instanceof construtos_1.Variavel) {
|
|
1859
|
-
|
|
1860
|
-
return new construtos_1.Atribuir(this.hashArquivo, simbolo, valor);
|
|
1943
|
+
return new construtos_1.Atribuir(this.hashArquivo, expressao, valor);
|
|
1861
1944
|
}
|
|
1862
1945
|
else if (expressao instanceof construtos_1.AcessoMetodoOuPropriedade) {
|
|
1863
1946
|
const get = expressao;
|
|
@@ -2196,7 +2279,7 @@ class AvaliadorSintaticoEguaClassico {
|
|
|
2196
2279
|
}
|
|
2197
2280
|
exports.AvaliadorSintaticoEguaClassico = AvaliadorSintaticoEguaClassico;
|
|
2198
2281
|
|
|
2199
|
-
},{"../../construtos":
|
|
2282
|
+
},{"../../construtos":44,"../../declaracoes":82,"../../tipos-de-simbolos/egua-classico":165,"../erro-avaliador-sintatico":7}],4:[function(require,module,exports){
|
|
2200
2283
|
"use strict";
|
|
2201
2284
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2202
2285
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2533,8 +2616,7 @@ class AvaliadorSintaticoPitugues {
|
|
|
2533
2616
|
const igual = this.simboloAnterior();
|
|
2534
2617
|
const valor = this.atribuir();
|
|
2535
2618
|
if (expressao instanceof construtos_1.Variavel) {
|
|
2536
|
-
|
|
2537
|
-
return new construtos_1.Atribuir(this.hashArquivo, simbolo, valor);
|
|
2619
|
+
return new construtos_1.Atribuir(this.hashArquivo, expressao, valor);
|
|
2538
2620
|
}
|
|
2539
2621
|
if (expressao instanceof construtos_1.AcessoMetodoOuPropriedade) {
|
|
2540
2622
|
return new construtos_1.DefinirValor(this.hashArquivo, 0, expressao.objeto, expressao.simbolo, valor);
|
|
@@ -2968,7 +3050,7 @@ class AvaliadorSintaticoPitugues {
|
|
|
2968
3050
|
}
|
|
2969
3051
|
exports.AvaliadorSintaticoPitugues = AvaliadorSintaticoPitugues;
|
|
2970
3052
|
|
|
2971
|
-
},{"../../construtos":
|
|
3053
|
+
},{"../../construtos":44,"../../declaracoes":82,"../../lexador":153,"../../tipos-de-simbolos/pitugues":168,"../erro-avaliador-sintatico":7,"browser-process-hrtime":340}],5:[function(require,module,exports){
|
|
2972
3054
|
"use strict";
|
|
2973
3055
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2974
3056
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3004,10 +3086,9 @@ class AvaliadorSintaticoPortugolIpt extends avaliador_sintatico_base_1.Avaliador
|
|
|
3004
3086
|
const setaAtribuicao = this.simbolos[this.atual - 1];
|
|
3005
3087
|
const valor = this.atribuir();
|
|
3006
3088
|
if (expressao instanceof construtos_1.Variavel) {
|
|
3007
|
-
|
|
3008
|
-
return new construtos_1.Atribuir(this.hashArquivo, simbolo, valor);
|
|
3089
|
+
return new construtos_1.Atribuir(this.hashArquivo, expressao, valor);
|
|
3009
3090
|
}
|
|
3010
|
-
|
|
3091
|
+
if (expressao instanceof construtos_1.AcessoIndiceVariavel) {
|
|
3011
3092
|
return new construtos_1.AtribuicaoPorIndice(this.hashArquivo, expressao.linha, expressao.entidadeChamada, expressao.indice, valor);
|
|
3012
3093
|
}
|
|
3013
3094
|
throw this.erro(setaAtribuicao, 'Tarefa de atribuição inválida');
|
|
@@ -3138,7 +3219,7 @@ class AvaliadorSintaticoPortugolIpt extends avaliador_sintatico_base_1.Avaliador
|
|
|
3138
3219
|
}
|
|
3139
3220
|
exports.AvaliadorSintaticoPortugolIpt = AvaliadorSintaticoPortugolIpt;
|
|
3140
3221
|
|
|
3141
|
-
},{"../../construtos":
|
|
3222
|
+
},{"../../construtos":44,"../../declaracoes":82,"../../tipos-de-simbolos/portugol-ipt":169,"../avaliador-sintatico-base":1}],6:[function(require,module,exports){
|
|
3142
3223
|
"use strict";
|
|
3143
3224
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3144
3225
|
if (k2 === undefined) k2 = k;
|
|
@@ -3325,7 +3406,7 @@ class MicroAvaliadorSintaticoBase {
|
|
|
3325
3406
|
}
|
|
3326
3407
|
exports.MicroAvaliadorSintaticoBase = MicroAvaliadorSintaticoBase;
|
|
3327
3408
|
|
|
3328
|
-
},{"../construtos":
|
|
3409
|
+
},{"../construtos":44,"../tipos-de-simbolos/comum":163,"./erro-avaliador-sintatico":7}],11:[function(require,module,exports){
|
|
3329
3410
|
"use strict";
|
|
3330
3411
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3331
3412
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3531,7 +3612,7 @@ class MicroAvaliadorSintatico extends micro_avaliador_sintatico_base_1.MicroAval
|
|
|
3531
3612
|
}
|
|
3532
3613
|
exports.MicroAvaliadorSintatico = MicroAvaliadorSintatico;
|
|
3533
3614
|
|
|
3534
|
-
},{"../construtos":
|
|
3615
|
+
},{"../construtos":44,"../tipos-de-simbolos/microgramaticas/delegua":167,"./micro-avaliador-sintatico-base":10}],12:[function(require,module,exports){
|
|
3535
3616
|
"use strict";
|
|
3536
3617
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3537
3618
|
exports.PilhaEscopos = void 0;
|
|
@@ -4093,7 +4174,7 @@ async function tupla(interpretador, vetor) {
|
|
|
4093
4174
|
}
|
|
4094
4175
|
}
|
|
4095
4176
|
|
|
4096
|
-
},{"../construtos":
|
|
4177
|
+
},{"../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){
|
|
4097
4178
|
"use strict";
|
|
4098
4179
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4099
4180
|
exports.default = {
|
|
@@ -4259,7 +4340,7 @@ exports.default = {
|
|
|
4259
4340
|
implementacao: (interpretador, vetor) => Promise.resolve(vetor.reverse())
|
|
4260
4341
|
},
|
|
4261
4342
|
juntar: {
|
|
4262
|
-
tipoRetorno: '
|
|
4343
|
+
tipoRetorno: 'texto',
|
|
4263
4344
|
implementacao: (interpretador, vetor, separador) => Promise.resolve(vetor.join(separador))
|
|
4264
4345
|
},
|
|
4265
4346
|
mapear: {
|
|
@@ -4421,6 +4502,13 @@ exports.AcessoMetodo = AcessoMetodo;
|
|
|
4421
4502
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4422
4503
|
exports.AcessoPropriedade = void 0;
|
|
4423
4504
|
class AcessoPropriedade {
|
|
4505
|
+
constructor(hashArquivo, objeto, nomePropriedade, tipoRetornoPropriedade = 'qualquer') {
|
|
4506
|
+
this.linha = objeto.linha;
|
|
4507
|
+
this.hashArquivo = hashArquivo;
|
|
4508
|
+
this.objeto = objeto;
|
|
4509
|
+
this.nomePropriedade = nomePropriedade;
|
|
4510
|
+
this.tipoRetornoPropriedade = tipoRetornoPropriedade;
|
|
4511
|
+
}
|
|
4424
4512
|
async aceitar(visitante) {
|
|
4425
4513
|
return await visitante.visitarExpressaoAcessoPropriedade(this);
|
|
4426
4514
|
}
|
|
@@ -4494,17 +4582,20 @@ exports.Atribuir = void 0;
|
|
|
4494
4582
|
* Construto de atribuição de um valor a um símbolo.
|
|
4495
4583
|
*/
|
|
4496
4584
|
class Atribuir {
|
|
4497
|
-
constructor(hashArquivo,
|
|
4585
|
+
constructor(hashArquivo, alvo, valor,
|
|
4498
4586
|
// indice so é usado para variaveis de vetores
|
|
4499
4587
|
// TODO: criar alguma validaçao para garantir que `indice` só seja passado para variáveis de vetores
|
|
4500
|
-
indice) {
|
|
4501
|
-
this.linha = Number(
|
|
4588
|
+
indice, simboloOperador) {
|
|
4589
|
+
this.linha = Number(alvo.linha);
|
|
4502
4590
|
this.hashArquivo = hashArquivo;
|
|
4503
|
-
this.
|
|
4591
|
+
this.alvo = alvo;
|
|
4504
4592
|
this.valor = valor;
|
|
4505
4593
|
if (indice !== undefined) {
|
|
4506
4594
|
this.indice = indice;
|
|
4507
4595
|
}
|
|
4596
|
+
if (simboloOperador !== undefined) {
|
|
4597
|
+
this.simboloOperador = simboloOperador;
|
|
4598
|
+
}
|
|
4508
4599
|
}
|
|
4509
4600
|
async aceitar(visitante) {
|
|
4510
4601
|
return await visitante.visitarExpressaoDeAtribuicao(this);
|
|
@@ -4591,7 +4682,7 @@ class Chamada {
|
|
|
4591
4682
|
}
|
|
4592
4683
|
exports.Chamada = Chamada;
|
|
4593
4684
|
|
|
4594
|
-
},{"../geracao-identificadores":
|
|
4685
|
+
},{"../geracao-identificadores":114}],33:[function(require,module,exports){
|
|
4595
4686
|
"use strict";
|
|
4596
4687
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4597
4688
|
exports.Comentario = void 0;
|
|
@@ -4616,6 +4707,26 @@ exports.Comentario = Comentario;
|
|
|
4616
4707
|
},{}],34:[function(require,module,exports){
|
|
4617
4708
|
"use strict";
|
|
4618
4709
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4710
|
+
exports.ComponenteLinguagem = void 0;
|
|
4711
|
+
/**
|
|
4712
|
+
* Construto especial utilizado para especificar o tipo de
|
|
4713
|
+
* estruturas reservadas da linguagem.
|
|
4714
|
+
*/
|
|
4715
|
+
class ComponenteLinguagem {
|
|
4716
|
+
constructor(hashArquivo, simbolo) {
|
|
4717
|
+
this.hashArquivo = hashArquivo;
|
|
4718
|
+
this.linha = simbolo.linha;
|
|
4719
|
+
this.valor = simbolo.lexema;
|
|
4720
|
+
}
|
|
4721
|
+
aceitar(visitante) {
|
|
4722
|
+
throw new Error("Um componente de linguagem não tem método de visita.");
|
|
4723
|
+
}
|
|
4724
|
+
}
|
|
4725
|
+
exports.ComponenteLinguagem = ComponenteLinguagem;
|
|
4726
|
+
|
|
4727
|
+
},{}],35:[function(require,module,exports){
|
|
4728
|
+
"use strict";
|
|
4729
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4619
4730
|
exports.Constante = void 0;
|
|
4620
4731
|
/**
|
|
4621
4732
|
* O construto de constante.
|
|
@@ -4632,11 +4743,11 @@ class Constante {
|
|
|
4632
4743
|
}
|
|
4633
4744
|
exports.Constante = Constante;
|
|
4634
4745
|
|
|
4635
|
-
},{}],
|
|
4746
|
+
},{}],36:[function(require,module,exports){
|
|
4636
4747
|
"use strict";
|
|
4637
4748
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4638
4749
|
|
|
4639
|
-
},{}],
|
|
4750
|
+
},{}],37:[function(require,module,exports){
|
|
4640
4751
|
"use strict";
|
|
4641
4752
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4642
4753
|
exports.Decorador = void 0;
|
|
@@ -4657,7 +4768,7 @@ class Decorador {
|
|
|
4657
4768
|
}
|
|
4658
4769
|
exports.Decorador = Decorador;
|
|
4659
4770
|
|
|
4660
|
-
},{}],
|
|
4771
|
+
},{}],38:[function(require,module,exports){
|
|
4661
4772
|
"use strict";
|
|
4662
4773
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4663
4774
|
exports.DefinirValor = void 0;
|
|
@@ -4675,7 +4786,7 @@ class DefinirValor {
|
|
|
4675
4786
|
}
|
|
4676
4787
|
exports.DefinirValor = DefinirValor;
|
|
4677
4788
|
|
|
4678
|
-
},{}],
|
|
4789
|
+
},{}],39:[function(require,module,exports){
|
|
4679
4790
|
"use strict";
|
|
4680
4791
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4681
4792
|
exports.Dicionario = void 0;
|
|
@@ -4685,6 +4796,7 @@ class Dicionario {
|
|
|
4685
4796
|
this.hashArquivo = hashArquivo;
|
|
4686
4797
|
this.chaves = chaves;
|
|
4687
4798
|
this.valores = valores;
|
|
4799
|
+
this.tipo = 'dicionário';
|
|
4688
4800
|
}
|
|
4689
4801
|
async aceitar(visitante) {
|
|
4690
4802
|
return await visitante.visitarExpressaoDicionario(this);
|
|
@@ -4692,7 +4804,7 @@ class Dicionario {
|
|
|
4692
4804
|
}
|
|
4693
4805
|
exports.Dicionario = Dicionario;
|
|
4694
4806
|
|
|
4695
|
-
},{}],
|
|
4807
|
+
},{}],40:[function(require,module,exports){
|
|
4696
4808
|
"use strict";
|
|
4697
4809
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4698
4810
|
exports.ExpressaoRegular = void 0;
|
|
@@ -4709,7 +4821,7 @@ class ExpressaoRegular {
|
|
|
4709
4821
|
}
|
|
4710
4822
|
exports.ExpressaoRegular = ExpressaoRegular;
|
|
4711
4823
|
|
|
4712
|
-
},{}],
|
|
4824
|
+
},{}],41:[function(require,module,exports){
|
|
4713
4825
|
"use strict";
|
|
4714
4826
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4715
4827
|
exports.FimPara = void 0;
|
|
@@ -4736,7 +4848,7 @@ class FimPara {
|
|
|
4736
4848
|
}
|
|
4737
4849
|
exports.FimPara = FimPara;
|
|
4738
4850
|
|
|
4739
|
-
},{}],
|
|
4851
|
+
},{}],42:[function(require,module,exports){
|
|
4740
4852
|
"use strict";
|
|
4741
4853
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4742
4854
|
exports.FormatacaoEscrita = void 0;
|
|
@@ -4759,7 +4871,7 @@ class FormatacaoEscrita {
|
|
|
4759
4871
|
}
|
|
4760
4872
|
exports.FormatacaoEscrita = FormatacaoEscrita;
|
|
4761
4873
|
|
|
4762
|
-
},{}],
|
|
4874
|
+
},{}],43:[function(require,module,exports){
|
|
4763
4875
|
"use strict";
|
|
4764
4876
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4765
4877
|
exports.FuncaoConstruto = void 0;
|
|
@@ -4777,7 +4889,7 @@ class FuncaoConstruto {
|
|
|
4777
4889
|
}
|
|
4778
4890
|
exports.FuncaoConstruto = FuncaoConstruto;
|
|
4779
4891
|
|
|
4780
|
-
},{}],
|
|
4892
|
+
},{}],44:[function(require,module,exports){
|
|
4781
4893
|
"use strict";
|
|
4782
4894
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4783
4895
|
if (k2 === undefined) k2 = k;
|
|
@@ -4806,6 +4918,7 @@ __exportStar(require("./atribuir"), exports);
|
|
|
4806
4918
|
__exportStar(require("./binario"), exports);
|
|
4807
4919
|
__exportStar(require("./chamada"), exports);
|
|
4808
4920
|
__exportStar(require("./comentario"), exports);
|
|
4921
|
+
__exportStar(require("./componente-linguagem"), exports);
|
|
4809
4922
|
__exportStar(require("./constante"), exports);
|
|
4810
4923
|
__exportStar(require("./construto"), exports);
|
|
4811
4924
|
__exportStar(require("./decorador"), exports);
|
|
@@ -4818,15 +4931,15 @@ __exportStar(require("./funcao"), exports);
|
|
|
4818
4931
|
__exportStar(require("./isto"), exports);
|
|
4819
4932
|
__exportStar(require("./literal"), exports);
|
|
4820
4933
|
__exportStar(require("./logico"), exports);
|
|
4934
|
+
__exportStar(require("./qual-tipo"), exports);
|
|
4821
4935
|
__exportStar(require("./super"), exports);
|
|
4822
4936
|
__exportStar(require("./tipo-de"), exports);
|
|
4823
4937
|
__exportStar(require("./tuplas"), exports);
|
|
4824
4938
|
__exportStar(require("./unario"), exports);
|
|
4825
4939
|
__exportStar(require("./variavel"), exports);
|
|
4826
4940
|
__exportStar(require("./vetor"), exports);
|
|
4827
|
-
__exportStar(require("./qual-tipo"), exports);
|
|
4828
4941
|
|
|
4829
|
-
},{"./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,"./
|
|
4942
|
+
},{"./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){
|
|
4830
4943
|
"use strict";
|
|
4831
4944
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4832
4945
|
exports.Isto = void 0;
|
|
@@ -4842,7 +4955,7 @@ class Isto {
|
|
|
4842
4955
|
}
|
|
4843
4956
|
exports.Isto = Isto;
|
|
4844
4957
|
|
|
4845
|
-
},{}],
|
|
4958
|
+
},{}],46:[function(require,module,exports){
|
|
4846
4959
|
"use strict";
|
|
4847
4960
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4848
4961
|
exports.Literal = void 0;
|
|
@@ -4859,7 +4972,7 @@ class Literal {
|
|
|
4859
4972
|
}
|
|
4860
4973
|
exports.Literal = Literal;
|
|
4861
4974
|
|
|
4862
|
-
},{}],
|
|
4975
|
+
},{}],47:[function(require,module,exports){
|
|
4863
4976
|
"use strict";
|
|
4864
4977
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4865
4978
|
exports.Logico = void 0;
|
|
@@ -4877,7 +4990,7 @@ class Logico {
|
|
|
4877
4990
|
}
|
|
4878
4991
|
exports.Logico = Logico;
|
|
4879
4992
|
|
|
4880
|
-
},{}],
|
|
4993
|
+
},{}],48:[function(require,module,exports){
|
|
4881
4994
|
"use strict";
|
|
4882
4995
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4883
4996
|
exports.QualTipo = void 0;
|
|
@@ -4895,7 +5008,7 @@ class QualTipo {
|
|
|
4895
5008
|
}
|
|
4896
5009
|
exports.QualTipo = QualTipo;
|
|
4897
5010
|
|
|
4898
|
-
},{}],
|
|
5011
|
+
},{}],49:[function(require,module,exports){
|
|
4899
5012
|
"use strict";
|
|
4900
5013
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4901
5014
|
exports.Super = void 0;
|
|
@@ -4912,10 +5025,14 @@ class Super {
|
|
|
4912
5025
|
}
|
|
4913
5026
|
exports.Super = Super;
|
|
4914
5027
|
|
|
4915
|
-
},{}],
|
|
5028
|
+
},{}],50:[function(require,module,exports){
|
|
4916
5029
|
"use strict";
|
|
4917
5030
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4918
5031
|
exports.TipoDe = void 0;
|
|
5032
|
+
/**
|
|
5033
|
+
* Construto que solicita o tipo do valor. Normalmente usado em operações de
|
|
5034
|
+
* reflexão e metaprogramação.
|
|
5035
|
+
*/
|
|
4919
5036
|
class TipoDe {
|
|
4920
5037
|
constructor(hashArquivo, simbolo, valor) {
|
|
4921
5038
|
this.linha = Number(simbolo.linha);
|
|
@@ -4929,7 +5046,7 @@ class TipoDe {
|
|
|
4929
5046
|
}
|
|
4930
5047
|
exports.TipoDe = TipoDe;
|
|
4931
5048
|
|
|
4932
|
-
},{}],
|
|
5049
|
+
},{}],51:[function(require,module,exports){
|
|
4933
5050
|
"use strict";
|
|
4934
5051
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4935
5052
|
exports.Deceto = void 0;
|
|
@@ -4963,7 +5080,7 @@ class Deceto extends tupla_1.Tupla {
|
|
|
4963
5080
|
}
|
|
4964
5081
|
exports.Deceto = Deceto;
|
|
4965
5082
|
|
|
4966
|
-
},{"./tupla":
|
|
5083
|
+
},{"./tupla":61}],52:[function(require,module,exports){
|
|
4967
5084
|
"use strict";
|
|
4968
5085
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4969
5086
|
exports.Dupla = void 0;
|
|
@@ -4977,7 +5094,7 @@ class Dupla extends tupla_1.Tupla {
|
|
|
4977
5094
|
}
|
|
4978
5095
|
exports.Dupla = Dupla;
|
|
4979
5096
|
|
|
4980
|
-
},{"./tupla":
|
|
5097
|
+
},{"./tupla":61}],53:[function(require,module,exports){
|
|
4981
5098
|
"use strict";
|
|
4982
5099
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4983
5100
|
if (k2 === undefined) k2 = k;
|
|
@@ -5046,7 +5163,7 @@ class SeletorTuplas {
|
|
|
5046
5163
|
}
|
|
5047
5164
|
exports.SeletorTuplas = SeletorTuplas;
|
|
5048
5165
|
|
|
5049
|
-
},{"./deceto":
|
|
5166
|
+
},{"./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){
|
|
5050
5167
|
"use strict";
|
|
5051
5168
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5052
5169
|
exports.Noneto = void 0;
|
|
@@ -5073,7 +5190,7 @@ class Noneto extends tupla_1.Tupla {
|
|
|
5073
5190
|
}
|
|
5074
5191
|
exports.Noneto = Noneto;
|
|
5075
5192
|
|
|
5076
|
-
},{"./tupla":
|
|
5193
|
+
},{"./tupla":61}],55:[function(require,module,exports){
|
|
5077
5194
|
"use strict";
|
|
5078
5195
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5079
5196
|
exports.Octeto = void 0;
|
|
@@ -5099,7 +5216,7 @@ class Octeto extends tupla_1.Tupla {
|
|
|
5099
5216
|
}
|
|
5100
5217
|
exports.Octeto = Octeto;
|
|
5101
5218
|
|
|
5102
|
-
},{"./tupla":
|
|
5219
|
+
},{"./tupla":61}],56:[function(require,module,exports){
|
|
5103
5220
|
"use strict";
|
|
5104
5221
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5105
5222
|
exports.Quarteto = void 0;
|
|
@@ -5115,7 +5232,7 @@ class Quarteto extends tupla_1.Tupla {
|
|
|
5115
5232
|
}
|
|
5116
5233
|
exports.Quarteto = Quarteto;
|
|
5117
5234
|
|
|
5118
|
-
},{"./tupla":
|
|
5235
|
+
},{"./tupla":61}],57:[function(require,module,exports){
|
|
5119
5236
|
"use strict";
|
|
5120
5237
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5121
5238
|
exports.Quinteto = void 0;
|
|
@@ -5132,7 +5249,7 @@ class Quinteto extends tupla_1.Tupla {
|
|
|
5132
5249
|
}
|
|
5133
5250
|
exports.Quinteto = Quinteto;
|
|
5134
5251
|
|
|
5135
|
-
},{"./tupla":
|
|
5252
|
+
},{"./tupla":61}],58:[function(require,module,exports){
|
|
5136
5253
|
"use strict";
|
|
5137
5254
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5138
5255
|
exports.Septeto = void 0;
|
|
@@ -5157,7 +5274,7 @@ class Septeto extends tupla_1.Tupla {
|
|
|
5157
5274
|
}
|
|
5158
5275
|
exports.Septeto = Septeto;
|
|
5159
5276
|
|
|
5160
|
-
},{"./tupla":
|
|
5277
|
+
},{"./tupla":61}],59:[function(require,module,exports){
|
|
5161
5278
|
"use strict";
|
|
5162
5279
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5163
5280
|
exports.Sexteto = void 0;
|
|
@@ -5175,7 +5292,7 @@ class Sexteto extends tupla_1.Tupla {
|
|
|
5175
5292
|
}
|
|
5176
5293
|
exports.Sexteto = Sexteto;
|
|
5177
5294
|
|
|
5178
|
-
},{"./tupla":
|
|
5295
|
+
},{"./tupla":61}],60:[function(require,module,exports){
|
|
5179
5296
|
"use strict";
|
|
5180
5297
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5181
5298
|
exports.Trio = void 0;
|
|
@@ -5190,7 +5307,7 @@ class Trio extends tupla_1.Tupla {
|
|
|
5190
5307
|
}
|
|
5191
5308
|
exports.Trio = Trio;
|
|
5192
5309
|
|
|
5193
|
-
},{"./tupla":
|
|
5310
|
+
},{"./tupla":61}],61:[function(require,module,exports){
|
|
5194
5311
|
"use strict";
|
|
5195
5312
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5196
5313
|
exports.Tupla = void 0;
|
|
@@ -5201,7 +5318,7 @@ class Tupla {
|
|
|
5201
5318
|
}
|
|
5202
5319
|
exports.Tupla = Tupla;
|
|
5203
5320
|
|
|
5204
|
-
},{}],
|
|
5321
|
+
},{}],62:[function(require,module,exports){
|
|
5205
5322
|
"use strict";
|
|
5206
5323
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5207
5324
|
exports.Unario = void 0;
|
|
@@ -5219,7 +5336,7 @@ class Unario {
|
|
|
5219
5336
|
}
|
|
5220
5337
|
exports.Unario = Unario;
|
|
5221
5338
|
|
|
5222
|
-
},{}],
|
|
5339
|
+
},{}],63:[function(require,module,exports){
|
|
5223
5340
|
"use strict";
|
|
5224
5341
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5225
5342
|
exports.Variavel = void 0;
|
|
@@ -5236,7 +5353,7 @@ class Variavel {
|
|
|
5236
5353
|
}
|
|
5237
5354
|
exports.Variavel = Variavel;
|
|
5238
5355
|
|
|
5239
|
-
},{}],
|
|
5356
|
+
},{}],64:[function(require,module,exports){
|
|
5240
5357
|
"use strict";
|
|
5241
5358
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5242
5359
|
exports.Vetor = void 0;
|
|
@@ -5259,7 +5376,7 @@ class Vetor {
|
|
|
5259
5376
|
}
|
|
5260
5377
|
exports.Vetor = Vetor;
|
|
5261
5378
|
|
|
5262
|
-
},{}],
|
|
5379
|
+
},{}],65:[function(require,module,exports){
|
|
5263
5380
|
"use strict";
|
|
5264
5381
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5265
5382
|
exports.Aleatorio = void 0;
|
|
@@ -5276,7 +5393,7 @@ class Aleatorio extends declaracao_1.Declaracao {
|
|
|
5276
5393
|
}
|
|
5277
5394
|
exports.Aleatorio = Aleatorio;
|
|
5278
5395
|
|
|
5279
|
-
},{"./declaracao":
|
|
5396
|
+
},{"./declaracao":72}],66:[function(require,module,exports){
|
|
5280
5397
|
"use strict";
|
|
5281
5398
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5282
5399
|
exports.Bloco = void 0;
|
|
@@ -5292,7 +5409,7 @@ class Bloco extends declaracao_1.Declaracao {
|
|
|
5292
5409
|
}
|
|
5293
5410
|
exports.Bloco = Bloco;
|
|
5294
5411
|
|
|
5295
|
-
},{"./declaracao":
|
|
5412
|
+
},{"./declaracao":72}],67:[function(require,module,exports){
|
|
5296
5413
|
"use strict";
|
|
5297
5414
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5298
5415
|
exports.CabecalhoPrograma = void 0;
|
|
@@ -5308,7 +5425,7 @@ class CabecalhoPrograma extends declaracao_1.Declaracao {
|
|
|
5308
5425
|
}
|
|
5309
5426
|
exports.CabecalhoPrograma = CabecalhoPrograma;
|
|
5310
5427
|
|
|
5311
|
-
},{"./declaracao":
|
|
5428
|
+
},{"./declaracao":72}],68:[function(require,module,exports){
|
|
5312
5429
|
"use strict";
|
|
5313
5430
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5314
5431
|
exports.Classe = void 0;
|
|
@@ -5328,7 +5445,7 @@ class Classe extends declaracao_1.Declaracao {
|
|
|
5328
5445
|
}
|
|
5329
5446
|
exports.Classe = Classe;
|
|
5330
5447
|
|
|
5331
|
-
},{"./declaracao":
|
|
5448
|
+
},{"./declaracao":72}],69:[function(require,module,exports){
|
|
5332
5449
|
"use strict";
|
|
5333
5450
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5334
5451
|
exports.ConstMultiplo = void 0;
|
|
@@ -5349,7 +5466,7 @@ class ConstMultiplo extends declaracao_1.Declaracao {
|
|
|
5349
5466
|
}
|
|
5350
5467
|
exports.ConstMultiplo = ConstMultiplo;
|
|
5351
5468
|
|
|
5352
|
-
},{"./declaracao":
|
|
5469
|
+
},{"./declaracao":72}],70:[function(require,module,exports){
|
|
5353
5470
|
"use strict";
|
|
5354
5471
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5355
5472
|
exports.Const = void 0;
|
|
@@ -5375,7 +5492,7 @@ class Const extends declaracao_1.Declaracao {
|
|
|
5375
5492
|
}
|
|
5376
5493
|
exports.Const = Const;
|
|
5377
5494
|
|
|
5378
|
-
},{"./declaracao":
|
|
5495
|
+
},{"./declaracao":72}],71:[function(require,module,exports){
|
|
5379
5496
|
"use strict";
|
|
5380
5497
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5381
5498
|
exports.Continua = void 0;
|
|
@@ -5390,7 +5507,7 @@ class Continua extends declaracao_1.Declaracao {
|
|
|
5390
5507
|
}
|
|
5391
5508
|
exports.Continua = Continua;
|
|
5392
5509
|
|
|
5393
|
-
},{"./declaracao":
|
|
5510
|
+
},{"./declaracao":72}],72:[function(require,module,exports){
|
|
5394
5511
|
"use strict";
|
|
5395
5512
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5396
5513
|
exports.Declaracao = void 0;
|
|
@@ -5410,7 +5527,7 @@ class Declaracao {
|
|
|
5410
5527
|
}
|
|
5411
5528
|
exports.Declaracao = Declaracao;
|
|
5412
5529
|
|
|
5413
|
-
},{}],
|
|
5530
|
+
},{}],73:[function(require,module,exports){
|
|
5414
5531
|
"use strict";
|
|
5415
5532
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5416
5533
|
exports.Enquanto = void 0;
|
|
@@ -5427,7 +5544,7 @@ class Enquanto extends declaracao_1.Declaracao {
|
|
|
5427
5544
|
}
|
|
5428
5545
|
exports.Enquanto = Enquanto;
|
|
5429
5546
|
|
|
5430
|
-
},{"./declaracao":
|
|
5547
|
+
},{"./declaracao":72}],74:[function(require,module,exports){
|
|
5431
5548
|
"use strict";
|
|
5432
5549
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5433
5550
|
exports.Escolha = void 0;
|
|
@@ -5448,7 +5565,7 @@ class Escolha extends declaracao_1.Declaracao {
|
|
|
5448
5565
|
}
|
|
5449
5566
|
exports.Escolha = Escolha;
|
|
5450
5567
|
|
|
5451
|
-
},{"./declaracao":
|
|
5568
|
+
},{"./declaracao":72}],75:[function(require,module,exports){
|
|
5452
5569
|
"use strict";
|
|
5453
5570
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5454
5571
|
exports.EscrevaMesmaLinha = void 0;
|
|
@@ -5464,7 +5581,7 @@ class EscrevaMesmaLinha extends declaracao_1.Declaracao {
|
|
|
5464
5581
|
}
|
|
5465
5582
|
exports.EscrevaMesmaLinha = EscrevaMesmaLinha;
|
|
5466
5583
|
|
|
5467
|
-
},{"./declaracao":
|
|
5584
|
+
},{"./declaracao":72}],76:[function(require,module,exports){
|
|
5468
5585
|
"use strict";
|
|
5469
5586
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5470
5587
|
exports.Escreva = void 0;
|
|
@@ -5480,7 +5597,7 @@ class Escreva extends declaracao_1.Declaracao {
|
|
|
5480
5597
|
}
|
|
5481
5598
|
exports.Escreva = Escreva;
|
|
5482
5599
|
|
|
5483
|
-
},{"./declaracao":
|
|
5600
|
+
},{"./declaracao":72}],77:[function(require,module,exports){
|
|
5484
5601
|
"use strict";
|
|
5485
5602
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5486
5603
|
exports.Expressao = void 0;
|
|
@@ -5496,7 +5613,7 @@ class Expressao extends declaracao_1.Declaracao {
|
|
|
5496
5613
|
}
|
|
5497
5614
|
exports.Expressao = Expressao;
|
|
5498
5615
|
|
|
5499
|
-
},{"./declaracao":
|
|
5616
|
+
},{"./declaracao":72}],78:[function(require,module,exports){
|
|
5500
5617
|
"use strict";
|
|
5501
5618
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5502
5619
|
exports.Falhar = void 0;
|
|
@@ -5513,7 +5630,7 @@ class Falhar extends declaracao_1.Declaracao {
|
|
|
5513
5630
|
}
|
|
5514
5631
|
exports.Falhar = Falhar;
|
|
5515
5632
|
|
|
5516
|
-
},{"./declaracao":
|
|
5633
|
+
},{"./declaracao":72}],79:[function(require,module,exports){
|
|
5517
5634
|
"use strict";
|
|
5518
5635
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5519
5636
|
exports.Fazer = void 0;
|
|
@@ -5530,7 +5647,7 @@ class Fazer extends declaracao_1.Declaracao {
|
|
|
5530
5647
|
}
|
|
5531
5648
|
exports.Fazer = Fazer;
|
|
5532
5649
|
|
|
5533
|
-
},{"./declaracao":
|
|
5650
|
+
},{"./declaracao":72}],80:[function(require,module,exports){
|
|
5534
5651
|
"use strict";
|
|
5535
5652
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5536
5653
|
exports.FuncaoDeclaracao = void 0;
|
|
@@ -5552,7 +5669,7 @@ class FuncaoDeclaracao extends declaracao_1.Declaracao {
|
|
|
5552
5669
|
}
|
|
5553
5670
|
exports.FuncaoDeclaracao = FuncaoDeclaracao;
|
|
5554
5671
|
|
|
5555
|
-
},{"./declaracao":
|
|
5672
|
+
},{"./declaracao":72}],81:[function(require,module,exports){
|
|
5556
5673
|
"use strict";
|
|
5557
5674
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5558
5675
|
exports.Importar = void 0;
|
|
@@ -5569,7 +5686,7 @@ class Importar extends declaracao_1.Declaracao {
|
|
|
5569
5686
|
}
|
|
5570
5687
|
exports.Importar = Importar;
|
|
5571
5688
|
|
|
5572
|
-
},{"./declaracao":
|
|
5689
|
+
},{"./declaracao":72}],82:[function(require,module,exports){
|
|
5573
5690
|
"use strict";
|
|
5574
5691
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5575
5692
|
if (k2 === undefined) k2 = k;
|
|
@@ -5618,7 +5735,7 @@ __exportStar(require("./var"), exports);
|
|
|
5618
5735
|
__exportStar(require("./var-multiplo"), exports);
|
|
5619
5736
|
__exportStar(require("./aleatorio"), exports);
|
|
5620
5737
|
|
|
5621
|
-
},{"./aleatorio":
|
|
5738
|
+
},{"./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){
|
|
5622
5739
|
"use strict";
|
|
5623
5740
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5624
5741
|
exports.InicioAlgoritmo = void 0;
|
|
@@ -5633,7 +5750,7 @@ class InicioAlgoritmo extends declaracao_1.Declaracao {
|
|
|
5633
5750
|
}
|
|
5634
5751
|
exports.InicioAlgoritmo = InicioAlgoritmo;
|
|
5635
5752
|
|
|
5636
|
-
},{"./declaracao":
|
|
5753
|
+
},{"./declaracao":72}],84:[function(require,module,exports){
|
|
5637
5754
|
"use strict";
|
|
5638
5755
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5639
5756
|
exports.LeiaMultiplo = void 0;
|
|
@@ -5656,7 +5773,7 @@ class LeiaMultiplo extends declaracao_1.Declaracao {
|
|
|
5656
5773
|
}
|
|
5657
5774
|
exports.LeiaMultiplo = LeiaMultiplo;
|
|
5658
5775
|
|
|
5659
|
-
},{"../geracao-identificadores":
|
|
5776
|
+
},{"../geracao-identificadores":114,"./declaracao":72}],85:[function(require,module,exports){
|
|
5660
5777
|
"use strict";
|
|
5661
5778
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5662
5779
|
exports.Leia = void 0;
|
|
@@ -5679,7 +5796,7 @@ class Leia extends declaracao_1.Declaracao {
|
|
|
5679
5796
|
}
|
|
5680
5797
|
exports.Leia = Leia;
|
|
5681
5798
|
|
|
5682
|
-
},{"../geracao-identificadores":
|
|
5799
|
+
},{"../geracao-identificadores":114,"./declaracao":72}],86:[function(require,module,exports){
|
|
5683
5800
|
"use strict";
|
|
5684
5801
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5685
5802
|
exports.ParaCada = void 0;
|
|
@@ -5698,7 +5815,7 @@ class ParaCada extends declaracao_1.Declaracao {
|
|
|
5698
5815
|
}
|
|
5699
5816
|
exports.ParaCada = ParaCada;
|
|
5700
5817
|
|
|
5701
|
-
},{"./declaracao":
|
|
5818
|
+
},{"./declaracao":72}],87:[function(require,module,exports){
|
|
5702
5819
|
"use strict";
|
|
5703
5820
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5704
5821
|
exports.Para = void 0;
|
|
@@ -5724,7 +5841,7 @@ class Para extends declaracao_1.Declaracao {
|
|
|
5724
5841
|
}
|
|
5725
5842
|
exports.Para = Para;
|
|
5726
5843
|
|
|
5727
|
-
},{"./declaracao":
|
|
5844
|
+
},{"./declaracao":72}],88:[function(require,module,exports){
|
|
5728
5845
|
"use strict";
|
|
5729
5846
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5730
5847
|
exports.PropriedadeClasse = void 0;
|
|
@@ -5742,7 +5859,7 @@ class PropriedadeClasse extends declaracao_1.Declaracao {
|
|
|
5742
5859
|
}
|
|
5743
5860
|
exports.PropriedadeClasse = PropriedadeClasse;
|
|
5744
5861
|
|
|
5745
|
-
},{"./declaracao":
|
|
5862
|
+
},{"./declaracao":72}],89:[function(require,module,exports){
|
|
5746
5863
|
"use strict";
|
|
5747
5864
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5748
5865
|
exports.Retorna = void 0;
|
|
@@ -5765,7 +5882,7 @@ class Retorna extends declaracao_1.Declaracao {
|
|
|
5765
5882
|
}
|
|
5766
5883
|
exports.Retorna = Retorna;
|
|
5767
5884
|
|
|
5768
|
-
},{"./declaracao":
|
|
5885
|
+
},{"./declaracao":72}],90:[function(require,module,exports){
|
|
5769
5886
|
"use strict";
|
|
5770
5887
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5771
5888
|
exports.Se = void 0;
|
|
@@ -5784,7 +5901,7 @@ class Se extends declaracao_1.Declaracao {
|
|
|
5784
5901
|
}
|
|
5785
5902
|
exports.Se = Se;
|
|
5786
5903
|
|
|
5787
|
-
},{"./declaracao":
|
|
5904
|
+
},{"./declaracao":72}],91:[function(require,module,exports){
|
|
5788
5905
|
"use strict";
|
|
5789
5906
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5790
5907
|
exports.Sustar = void 0;
|
|
@@ -5799,7 +5916,7 @@ class Sustar extends declaracao_1.Declaracao {
|
|
|
5799
5916
|
}
|
|
5800
5917
|
exports.Sustar = Sustar;
|
|
5801
5918
|
|
|
5802
|
-
},{"./declaracao":
|
|
5919
|
+
},{"./declaracao":72}],92:[function(require,module,exports){
|
|
5803
5920
|
"use strict";
|
|
5804
5921
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5805
5922
|
exports.TendoComo = void 0;
|
|
@@ -5822,7 +5939,7 @@ class TendoComo extends declaracao_1.Declaracao {
|
|
|
5822
5939
|
}
|
|
5823
5940
|
exports.TendoComo = TendoComo;
|
|
5824
5941
|
|
|
5825
|
-
},{"./declaracao":
|
|
5942
|
+
},{"./declaracao":72}],93:[function(require,module,exports){
|
|
5826
5943
|
"use strict";
|
|
5827
5944
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5828
5945
|
exports.Tente = void 0;
|
|
@@ -5844,7 +5961,7 @@ class Tente extends declaracao_1.Declaracao {
|
|
|
5844
5961
|
}
|
|
5845
5962
|
exports.Tente = Tente;
|
|
5846
5963
|
|
|
5847
|
-
},{"./declaracao":
|
|
5964
|
+
},{"./declaracao":72}],94:[function(require,module,exports){
|
|
5848
5965
|
"use strict";
|
|
5849
5966
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5850
5967
|
exports.VarMultiplo = void 0;
|
|
@@ -5866,7 +5983,7 @@ class VarMultiplo extends declaracao_1.Declaracao {
|
|
|
5866
5983
|
}
|
|
5867
5984
|
exports.VarMultiplo = VarMultiplo;
|
|
5868
5985
|
|
|
5869
|
-
},{"./declaracao":
|
|
5986
|
+
},{"./declaracao":72}],95:[function(require,module,exports){
|
|
5870
5987
|
"use strict";
|
|
5871
5988
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5872
5989
|
exports.Var = void 0;
|
|
@@ -5894,7 +6011,7 @@ class Var extends declaracao_1.Declaracao {
|
|
|
5894
6011
|
}
|
|
5895
6012
|
exports.Var = Var;
|
|
5896
6013
|
|
|
5897
|
-
},{"./declaracao":
|
|
6014
|
+
},{"./declaracao":72}],96:[function(require,module,exports){
|
|
5898
6015
|
"use strict";
|
|
5899
6016
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5900
6017
|
exports.default = cyrb53;
|
|
@@ -5918,7 +6035,7 @@ function cyrb53(nomeArquivo, semente = 0) {
|
|
|
5918
6035
|
return 4294967296 * (2097151 & h2) + (h1 >>> 0);
|
|
5919
6036
|
}
|
|
5920
6037
|
|
|
5921
|
-
},{}],
|
|
6038
|
+
},{}],97:[function(require,module,exports){
|
|
5922
6039
|
"use strict";
|
|
5923
6040
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5924
6041
|
if (k2 === undefined) k2 = k;
|
|
@@ -5943,11 +6060,11 @@ var cyrb53_1 = require("./cyrb53");
|
|
|
5943
6060
|
Object.defineProperty(exports, "cyrb53", { enumerable: true, get: function () { return __importDefault(cyrb53_1).default; } });
|
|
5944
6061
|
__exportStar(require("./ponto-parada"), exports);
|
|
5945
6062
|
|
|
5946
|
-
},{"./cyrb53":
|
|
6063
|
+
},{"./cyrb53":96,"./ponto-parada":98}],98:[function(require,module,exports){
|
|
5947
6064
|
"use strict";
|
|
5948
6065
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5949
6066
|
|
|
5950
|
-
},{}],
|
|
6067
|
+
},{}],99:[function(require,module,exports){
|
|
5951
6068
|
"use strict";
|
|
5952
6069
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5953
6070
|
exports.EspacoVariaveis = void 0;
|
|
@@ -5968,7 +6085,7 @@ class EspacoVariaveis {
|
|
|
5968
6085
|
}
|
|
5969
6086
|
exports.EspacoVariaveis = EspacoVariaveis;
|
|
5970
6087
|
|
|
5971
|
-
},{}],
|
|
6088
|
+
},{}],100:[function(require,module,exports){
|
|
5972
6089
|
"use strict";
|
|
5973
6090
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5974
6091
|
exports.Chamavel = void 0;
|
|
@@ -5982,7 +6099,7 @@ class Chamavel {
|
|
|
5982
6099
|
}
|
|
5983
6100
|
exports.Chamavel = Chamavel;
|
|
5984
6101
|
|
|
5985
|
-
},{}],
|
|
6102
|
+
},{}],101:[function(require,module,exports){
|
|
5986
6103
|
"use strict";
|
|
5987
6104
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5988
6105
|
exports.ClassePadrao = void 0;
|
|
@@ -6023,7 +6140,7 @@ class ClassePadrao extends chamavel_1.Chamavel {
|
|
|
6023
6140
|
}
|
|
6024
6141
|
exports.ClassePadrao = ClassePadrao;
|
|
6025
6142
|
|
|
6026
|
-
},{"./chamavel":
|
|
6143
|
+
},{"./chamavel":100}],102:[function(require,module,exports){
|
|
6027
6144
|
"use strict";
|
|
6028
6145
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6029
6146
|
exports.DeleguaFuncao = void 0;
|
|
@@ -6165,7 +6282,7 @@ class DeleguaFuncao extends chamavel_1.Chamavel {
|
|
|
6165
6282
|
}
|
|
6166
6283
|
exports.DeleguaFuncao = DeleguaFuncao;
|
|
6167
6284
|
|
|
6168
|
-
},{"../declaracoes":
|
|
6285
|
+
},{"../declaracoes":82,"../espaco-variaveis":99,"../inferenciador":116,"../quebras":160,"./chamavel":100}],103:[function(require,module,exports){
|
|
6169
6286
|
"use strict";
|
|
6170
6287
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6171
6288
|
exports.DescritorTipoClasse = void 0;
|
|
@@ -6246,7 +6363,7 @@ class DescritorTipoClasse extends chamavel_1.Chamavel {
|
|
|
6246
6363
|
}
|
|
6247
6364
|
exports.DescritorTipoClasse = DescritorTipoClasse;
|
|
6248
6365
|
|
|
6249
|
-
},{"../excecoes":
|
|
6366
|
+
},{"../excecoes":111,"./chamavel":100,"./objeto-delegua-classe":108}],104:[function(require,module,exports){
|
|
6250
6367
|
"use strict";
|
|
6251
6368
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6252
6369
|
exports.FuncaoPadrao = void 0;
|
|
@@ -6282,7 +6399,7 @@ class FuncaoPadrao extends chamavel_1.Chamavel {
|
|
|
6282
6399
|
}
|
|
6283
6400
|
exports.FuncaoPadrao = FuncaoPadrao;
|
|
6284
6401
|
|
|
6285
|
-
},{"./chamavel":
|
|
6402
|
+
},{"./chamavel":100}],105:[function(require,module,exports){
|
|
6286
6403
|
"use strict";
|
|
6287
6404
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6288
6405
|
if (k2 === undefined) k2 = k;
|
|
@@ -6309,7 +6426,7 @@ __exportStar(require("./modulo"), exports);
|
|
|
6309
6426
|
__exportStar(require("./objeto-delegua-classe"), exports);
|
|
6310
6427
|
__exportStar(require("./objeto-padrao"), exports);
|
|
6311
6428
|
|
|
6312
|
-
},{"./chamavel":
|
|
6429
|
+
},{"./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){
|
|
6313
6430
|
"use strict";
|
|
6314
6431
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6315
6432
|
exports.MetodoPrimitiva = void 0;
|
|
@@ -6351,7 +6468,7 @@ class MetodoPrimitiva extends chamavel_1.Chamavel {
|
|
|
6351
6468
|
}
|
|
6352
6469
|
exports.MetodoPrimitiva = MetodoPrimitiva;
|
|
6353
6470
|
|
|
6354
|
-
},{"./chamavel":
|
|
6471
|
+
},{"./chamavel":100}],107:[function(require,module,exports){
|
|
6355
6472
|
"use strict";
|
|
6356
6473
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6357
6474
|
exports.DeleguaModulo = void 0;
|
|
@@ -6377,7 +6494,7 @@ class DeleguaModulo {
|
|
|
6377
6494
|
}
|
|
6378
6495
|
exports.DeleguaModulo = DeleguaModulo;
|
|
6379
6496
|
|
|
6380
|
-
},{}],
|
|
6497
|
+
},{}],108:[function(require,module,exports){
|
|
6381
6498
|
"use strict";
|
|
6382
6499
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6383
6500
|
exports.ObjetoDeleguaClasse = void 0;
|
|
@@ -6444,7 +6561,7 @@ class ObjetoDeleguaClasse {
|
|
|
6444
6561
|
}
|
|
6445
6562
|
exports.ObjetoDeleguaClasse = ObjetoDeleguaClasse;
|
|
6446
6563
|
|
|
6447
|
-
},{"../excecoes":
|
|
6564
|
+
},{"../excecoes":111}],109:[function(require,module,exports){
|
|
6448
6565
|
"use strict";
|
|
6449
6566
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6450
6567
|
exports.ObjetoPadrao = void 0;
|
|
@@ -6478,7 +6595,7 @@ class ObjetoPadrao {
|
|
|
6478
6595
|
}
|
|
6479
6596
|
exports.ObjetoPadrao = ObjetoPadrao;
|
|
6480
6597
|
|
|
6481
|
-
},{}],
|
|
6598
|
+
},{}],110:[function(require,module,exports){
|
|
6482
6599
|
"use strict";
|
|
6483
6600
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6484
6601
|
exports.ErroEmTempoDeExecucao = void 0;
|
|
@@ -6493,7 +6610,7 @@ class ErroEmTempoDeExecucao extends Error {
|
|
|
6493
6610
|
}
|
|
6494
6611
|
exports.ErroEmTempoDeExecucao = ErroEmTempoDeExecucao;
|
|
6495
6612
|
|
|
6496
|
-
},{}],
|
|
6613
|
+
},{}],111:[function(require,module,exports){
|
|
6497
6614
|
"use strict";
|
|
6498
6615
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6499
6616
|
if (k2 === undefined) k2 = k;
|
|
@@ -6512,7 +6629,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
6512
6629
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6513
6630
|
__exportStar(require("./erro-em-tempo-de-execucao"), exports);
|
|
6514
6631
|
|
|
6515
|
-
},{"./erro-em-tempo-de-execucao":
|
|
6632
|
+
},{"./erro-em-tempo-de-execucao":110}],112:[function(require,module,exports){
|
|
6516
6633
|
"use strict";
|
|
6517
6634
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6518
6635
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -6616,7 +6733,7 @@ class FormatadorDelegua {
|
|
|
6616
6733
|
this.visitarExpressaoBinaria(expressao.valor);
|
|
6617
6734
|
}
|
|
6618
6735
|
else {
|
|
6619
|
-
this.codigoFormatado += `${expressao.
|
|
6736
|
+
this.codigoFormatado += `${this.formatarDeclaracaoOuConstruto(expressao.alvo)} = `;
|
|
6620
6737
|
this.formatarDeclaracaoOuConstruto(expressao.valor);
|
|
6621
6738
|
}
|
|
6622
6739
|
this.codigoFormatado += `${this.quebraLinha}`;
|
|
@@ -7200,7 +7317,7 @@ class FormatadorDelegua {
|
|
|
7200
7317
|
}
|
|
7201
7318
|
exports.FormatadorDelegua = FormatadorDelegua;
|
|
7202
7319
|
|
|
7203
|
-
},{"../construtos":
|
|
7320
|
+
},{"../construtos":44,"../tipos-de-simbolos/delegua":164}],113:[function(require,module,exports){
|
|
7204
7321
|
"use strict";
|
|
7205
7322
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7206
7323
|
if (k2 === undefined) k2 = k;
|
|
@@ -7219,7 +7336,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
7219
7336
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7220
7337
|
__exportStar(require("./formatador-delegua"), exports);
|
|
7221
7338
|
|
|
7222
|
-
},{"./formatador-delegua":
|
|
7339
|
+
},{"./formatador-delegua":112}],114:[function(require,module,exports){
|
|
7223
7340
|
"use strict";
|
|
7224
7341
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7225
7342
|
exports.uuidv4 = uuidv4;
|
|
@@ -7243,7 +7360,7 @@ function uuidv4() {
|
|
|
7243
7360
|
});
|
|
7244
7361
|
}
|
|
7245
7362
|
|
|
7246
|
-
},{}],
|
|
7363
|
+
},{}],115:[function(require,module,exports){
|
|
7247
7364
|
"use strict";
|
|
7248
7365
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7249
7366
|
if (k2 === undefined) k2 = k;
|
|
@@ -7272,7 +7389,7 @@ __exportStar(require("./interpretador"), exports);
|
|
|
7272
7389
|
__exportStar(require("./lexador"), exports);
|
|
7273
7390
|
__exportStar(require("./tradutores"), exports);
|
|
7274
7391
|
|
|
7275
|
-
},{"./avaliador-sintatico":8,"./construtos":
|
|
7392
|
+
},{"./avaliador-sintatico":8,"./construtos":44,"./declaracoes":82,"./depuracao":97,"./formatadores":113,"./interfaces":122,"./interpretador":140,"./lexador":153,"./tradutores":170}],116:[function(require,module,exports){
|
|
7276
7393
|
"use strict";
|
|
7277
7394
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7278
7395
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -7399,15 +7516,15 @@ function tipoInferenciaParaTipoDadosElementar(tipoInferencia) {
|
|
|
7399
7516
|
}
|
|
7400
7517
|
}
|
|
7401
7518
|
|
|
7402
|
-
},{"./tipos-de-dados/delegua":
|
|
7519
|
+
},{"./tipos-de-dados/delegua":161,"./tipos-de-dados/primitivos":162,"./tipos-de-simbolos/delegua":164}],117:[function(require,module,exports){
|
|
7403
7520
|
"use strict";
|
|
7404
7521
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7405
7522
|
|
|
7406
|
-
},{}],
|
|
7523
|
+
},{}],118:[function(require,module,exports){
|
|
7407
7524
|
"use strict";
|
|
7408
7525
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7409
7526
|
|
|
7410
|
-
},{}],
|
|
7527
|
+
},{}],119:[function(require,module,exports){
|
|
7411
7528
|
"use strict";
|
|
7412
7529
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7413
7530
|
exports.DiagnosticoSeveridade = void 0;
|
|
@@ -7419,7 +7536,7 @@ var DiagnosticoSeveridade;
|
|
|
7419
7536
|
DiagnosticoSeveridade[DiagnosticoSeveridade["SUGESTAO"] = 3] = "SUGESTAO";
|
|
7420
7537
|
})(DiagnosticoSeveridade || (exports.DiagnosticoSeveridade = DiagnosticoSeveridade = {}));
|
|
7421
7538
|
|
|
7422
|
-
},{}],
|
|
7539
|
+
},{}],120:[function(require,module,exports){
|
|
7423
7540
|
"use strict";
|
|
7424
7541
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7425
7542
|
if (k2 === undefined) k2 = k;
|
|
@@ -7438,11 +7555,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
7438
7555
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7439
7556
|
__exportStar(require("./diagnostico-analisador-semantico"), exports);
|
|
7440
7557
|
|
|
7441
|
-
},{"./diagnostico-analisador-semantico":
|
|
7558
|
+
},{"./diagnostico-analisador-semantico":119}],121:[function(require,module,exports){
|
|
7442
7559
|
"use strict";
|
|
7443
7560
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7444
7561
|
|
|
7445
|
-
},{}],
|
|
7562
|
+
},{}],122:[function(require,module,exports){
|
|
7446
7563
|
"use strict";
|
|
7447
7564
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7448
7565
|
if (k2 === undefined) k2 = k;
|
|
@@ -7477,11 +7594,7 @@ __exportStar(require("./construtos"), exports);
|
|
|
7477
7594
|
__exportStar(require("./erros"), exports);
|
|
7478
7595
|
__exportStar(require("./retornos"), exports);
|
|
7479
7596
|
|
|
7480
|
-
},{"./avaliador-sintatico-interface":
|
|
7481
|
-
"use strict";
|
|
7482
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7483
|
-
|
|
7484
|
-
},{}],123:[function(require,module,exports){
|
|
7597
|
+
},{"./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){
|
|
7485
7598
|
"use strict";
|
|
7486
7599
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7487
7600
|
|
|
@@ -7507,6 +7620,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7507
7620
|
|
|
7508
7621
|
},{}],129:[function(require,module,exports){
|
|
7509
7622
|
"use strict";
|
|
7623
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7624
|
+
|
|
7625
|
+
},{}],130:[function(require,module,exports){
|
|
7626
|
+
"use strict";
|
|
7510
7627
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7511
7628
|
if (k2 === undefined) k2 = k;
|
|
7512
7629
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -7527,11 +7644,7 @@ __exportStar(require("./retorno-execucao-interface"), exports);
|
|
|
7527
7644
|
__exportStar(require("./retorno-interpretador"), exports);
|
|
7528
7645
|
__exportStar(require("./retorno-lexador"), exports);
|
|
7529
7646
|
|
|
7530
|
-
},{"./retorno-avaliador-sintatico":
|
|
7531
|
-
"use strict";
|
|
7532
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7533
|
-
|
|
7534
|
-
},{}],131:[function(require,module,exports){
|
|
7647
|
+
},{"./retorno-avaliador-sintatico":131,"./retorno-execucao-interface":132,"./retorno-interpretador":133,"./retorno-lexador":134}],131:[function(require,module,exports){
|
|
7535
7648
|
"use strict";
|
|
7536
7649
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7537
7650
|
|
|
@@ -7561,6 +7674,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7561
7674
|
|
|
7562
7675
|
},{}],138:[function(require,module,exports){
|
|
7563
7676
|
"use strict";
|
|
7677
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7678
|
+
|
|
7679
|
+
},{}],139:[function(require,module,exports){
|
|
7680
|
+
"use strict";
|
|
7564
7681
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7565
7682
|
if (k2 === undefined) k2 = k;
|
|
7566
7683
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -7612,7 +7729,7 @@ function carregarBibliotecasGlobais(pilhaEscoposExecucao) {
|
|
|
7612
7729
|
pilhaEscoposExecucao.definirVariavel('tupla', new funcao_padrao_1.FuncaoPadrao(1, bibliotecaGlobal.tupla));
|
|
7613
7730
|
}
|
|
7614
7731
|
|
|
7615
|
-
},{"../bibliotecas/biblioteca-global":17,"../estruturas/funcao-padrao":
|
|
7732
|
+
},{"../bibliotecas/biblioteca-global":17,"../estruturas/funcao-padrao":104}],140:[function(require,module,exports){
|
|
7616
7733
|
"use strict";
|
|
7617
7734
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7618
7735
|
if (k2 === undefined) k2 = k;
|
|
@@ -7633,7 +7750,7 @@ __exportStar(require("./interpretador"), exports);
|
|
|
7633
7750
|
__exportStar(require("./interpretador-base"), exports);
|
|
7634
7751
|
__exportStar(require("./interpretador-com-depuracao"), exports);
|
|
7635
7752
|
|
|
7636
|
-
},{"./interpretador":
|
|
7753
|
+
},{"./interpretador":143,"./interpretador-base":141,"./interpretador-com-depuracao":142}],141:[function(require,module,exports){
|
|
7637
7754
|
(function (process){(function (){
|
|
7638
7755
|
"use strict";
|
|
7639
7756
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -7769,22 +7886,11 @@ class InterpretadorBase {
|
|
|
7769
7886
|
visitarExpressaoExpressaoRegular(expressao) {
|
|
7770
7887
|
return Promise.resolve(this.textoParaRegex(expressao.valor));
|
|
7771
7888
|
}
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
if (tipoDe instanceof construtos_1.AcessoIndiceVariavel ||
|
|
7775
|
-
tipoDe instanceof construtos_1.Agrupamento ||
|
|
7776
|
-
tipoDe instanceof construtos_1.Binario ||
|
|
7777
|
-
tipoDe instanceof construtos_1.Chamada ||
|
|
7778
|
-
tipoDe instanceof construtos_1.Dicionario ||
|
|
7779
|
-
tipoDe instanceof construtos_1.TipoDe ||
|
|
7780
|
-
tipoDe instanceof construtos_1.Unario ||
|
|
7781
|
-
tipoDe instanceof construtos_1.Variavel) {
|
|
7782
|
-
tipoDe = await this.avaliar(tipoDe);
|
|
7783
|
-
return tipoDe.tipo || (0, inferenciador_1.inferirTipoVariavel)(tipoDe);
|
|
7784
|
-
}
|
|
7785
|
-
return (0, inferenciador_1.inferirTipoVariavel)((tipoDe === null || tipoDe === void 0 ? void 0 : tipoDe.valores) || tipoDe);
|
|
7889
|
+
visitarExpressaoTipoDe(expressao) {
|
|
7890
|
+
throw new Error('Método não implementado.');
|
|
7786
7891
|
}
|
|
7787
7892
|
// TODO: Depreciado. Priorizar `visitarExpressaoTipoDe`.
|
|
7893
|
+
// Estudar remoção.
|
|
7788
7894
|
async visitarExpressaoQualTipo(expressao) {
|
|
7789
7895
|
throw new Error('Método não implementado.');
|
|
7790
7896
|
}
|
|
@@ -8246,7 +8352,25 @@ class InterpretadorBase {
|
|
|
8246
8352
|
if (expressao.indice) {
|
|
8247
8353
|
indice = await this.avaliar(expressao.indice);
|
|
8248
8354
|
}
|
|
8249
|
-
|
|
8355
|
+
switch (expressao.alvo.constructor.name) {
|
|
8356
|
+
case 'Variavel':
|
|
8357
|
+
const alvoVariavel = expressao.alvo;
|
|
8358
|
+
this.pilhaEscoposExecucao.atribuirVariavel(alvoVariavel.simbolo, valorResolvido, indice);
|
|
8359
|
+
break;
|
|
8360
|
+
case 'AcessoMetodoOuPropriedade':
|
|
8361
|
+
// Nunca será método aqui: apenas propriedade.
|
|
8362
|
+
const alvoPropriedade = expressao.alvo;
|
|
8363
|
+
const variavelObjeto = await this.avaliar(alvoPropriedade.objeto);
|
|
8364
|
+
const objeto = variavelObjeto.hasOwnProperty('valor') ? variavelObjeto.valor : variavelObjeto;
|
|
8365
|
+
const valor = await this.avaliar(expressao.valor);
|
|
8366
|
+
if (objeto.constructor.name === 'ObjetoDeleguaClasse') {
|
|
8367
|
+
const objetoDeleguaClasse = objeto;
|
|
8368
|
+
objetoDeleguaClasse.definir(alvoPropriedade.simbolo, valor);
|
|
8369
|
+
}
|
|
8370
|
+
break;
|
|
8371
|
+
default:
|
|
8372
|
+
throw new excecoes_1.ErroEmTempoDeExecucao(null, `Atribuição com caso faltante: ${expressao.alvo.constructor.name}.`);
|
|
8373
|
+
}
|
|
8250
8374
|
return valorResolvido;
|
|
8251
8375
|
}
|
|
8252
8376
|
procurarVariavel(simbolo) {
|
|
@@ -9069,7 +9193,7 @@ class InterpretadorBase {
|
|
|
9069
9193
|
exports.InterpretadorBase = InterpretadorBase;
|
|
9070
9194
|
|
|
9071
9195
|
}).call(this)}).call(this,require('_process'))
|
|
9072
|
-
},{"../avaliador-sintatico":8,"../bibliotecas/primitivas-dicionario":18,"../bibliotecas/primitivas-numero":19,"../bibliotecas/primitivas-texto":20,"../bibliotecas/primitivas-vetor":21,"../construtos":
|
|
9196
|
+
},{"../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){
|
|
9073
9197
|
"use strict";
|
|
9074
9198
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9075
9199
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9641,7 +9765,7 @@ class InterpretadorComDepuracao extends interpretador_base_1.InterpretadorBase {
|
|
|
9641
9765
|
}
|
|
9642
9766
|
exports.InterpretadorComDepuracao = InterpretadorComDepuracao;
|
|
9643
9767
|
|
|
9644
|
-
},{"../declaracoes":
|
|
9768
|
+
},{"../declaracoes":82,"../espaco-variaveis":99,"../inferenciador":116,"../quebras":160,"./interpretador-base":141,"lodash":376}],143:[function(require,module,exports){
|
|
9645
9769
|
"use strict";
|
|
9646
9770
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9647
9771
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9808,10 +9932,49 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
9808
9932
|
}
|
|
9809
9933
|
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(null, `Método para objeto ou primitiva não encontrado: ${expressao.nomePropriedade}.`, expressao.linha));
|
|
9810
9934
|
}
|
|
9935
|
+
async visitarExpressaoTipoDe(expressao) {
|
|
9936
|
+
let valorTipoDe = expressao.valor;
|
|
9937
|
+
switch (valorTipoDe.constructor.name) {
|
|
9938
|
+
case 'AcessoIndiceVariavel':
|
|
9939
|
+
case 'Agrupamento':
|
|
9940
|
+
case 'Binario':
|
|
9941
|
+
case 'Chamada':
|
|
9942
|
+
case 'Dicionario':
|
|
9943
|
+
case 'Unario':
|
|
9944
|
+
valorTipoDe = await this.avaliar(valorTipoDe);
|
|
9945
|
+
return valorTipoDe.tipo || (0, inferenciador_1.inferirTipoVariavel)(valorTipoDe);
|
|
9946
|
+
case 'AcessoMetodo':
|
|
9947
|
+
const acessoMetodo = valorTipoDe;
|
|
9948
|
+
return `método<${acessoMetodo.tipoRetornoMetodo}>`;
|
|
9949
|
+
case 'AcessoPropriedade':
|
|
9950
|
+
const acessoPropriedade = valorTipoDe;
|
|
9951
|
+
return acessoPropriedade.tipoRetornoPropriedade;
|
|
9952
|
+
case 'AcessoMetodoOuPropriedade':
|
|
9953
|
+
// TODO: Deve ser removido mais futuramente.
|
|
9954
|
+
// Apenas `AcessoMetodo` e `AcessoPropriedade` devem funcionar aqui.
|
|
9955
|
+
throw new excecoes_1.ErroEmTempoDeExecucao(expressao.simbolo, "Não deveria cair aqui.");
|
|
9956
|
+
case 'Escreva':
|
|
9957
|
+
return 'função<vazio>';
|
|
9958
|
+
case 'Leia':
|
|
9959
|
+
return 'função<texto>';
|
|
9960
|
+
case 'Literal':
|
|
9961
|
+
const tipoLiteral = valorTipoDe;
|
|
9962
|
+
return tipoLiteral.tipo;
|
|
9963
|
+
case 'TipoDe':
|
|
9964
|
+
const alvoTipoDe = await this.avaliar(valorTipoDe);
|
|
9965
|
+
return `tipo de<${alvoTipoDe}>`;
|
|
9966
|
+
case 'Variavel':
|
|
9967
|
+
return valorTipoDe.tipo;
|
|
9968
|
+
case 'Vetor':
|
|
9969
|
+
return (0, inferenciador_1.inferirTipoVariavel)(valorTipoDe === null || valorTipoDe === void 0 ? void 0 : valorTipoDe.valores);
|
|
9970
|
+
default:
|
|
9971
|
+
return (0, inferenciador_1.inferirTipoVariavel)(valorTipoDe);
|
|
9972
|
+
}
|
|
9973
|
+
}
|
|
9811
9974
|
}
|
|
9812
9975
|
exports.Interpretador = Interpretador;
|
|
9813
9976
|
|
|
9814
|
-
},{"../bibliotecas/primitivas-dicionario":18,"../bibliotecas/primitivas-numero":19,"../bibliotecas/primitivas-texto":20,"../bibliotecas/primitivas-vetor":21,"../estruturas":
|
|
9977
|
+
},{"../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){
|
|
9815
9978
|
"use strict";
|
|
9816
9979
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9817
9980
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10062,7 +10225,7 @@ class PilhaEscoposExecucao {
|
|
|
10062
10225
|
}
|
|
10063
10226
|
exports.PilhaEscoposExecucao = PilhaEscoposExecucao;
|
|
10064
10227
|
|
|
10065
|
-
},{"../estruturas":
|
|
10228
|
+
},{"../estruturas":105,"../excecoes":111,"../inferenciador":116,"../lexador":153,"../tipos-de-dados/delegua":161}],145:[function(require,module,exports){
|
|
10066
10229
|
"use strict";
|
|
10067
10230
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10068
10231
|
if (k2 === undefined) k2 = k;
|
|
@@ -10084,7 +10247,7 @@ __exportStar(require("./lexador-pitugues"), exports);
|
|
|
10084
10247
|
__exportStar(require("./lexador-guarani"), exports);
|
|
10085
10248
|
__exportStar(require("./lexador-portugol-ipt"), exports);
|
|
10086
10249
|
|
|
10087
|
-
},{"./lexador-egua-classico":
|
|
10250
|
+
},{"./lexador-egua-classico":146,"./lexador-guarani":147,"./lexador-pitugues":148,"./lexador-portugol-ipt":149}],146:[function(require,module,exports){
|
|
10088
10251
|
"use strict";
|
|
10089
10252
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10090
10253
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10372,7 +10535,7 @@ class LexadorEguaClassico {
|
|
|
10372
10535
|
}
|
|
10373
10536
|
exports.LexadorEguaClassico = LexadorEguaClassico;
|
|
10374
10537
|
|
|
10375
|
-
},{"../../tipos-de-simbolos/egua-classico":
|
|
10538
|
+
},{"../../tipos-de-simbolos/egua-classico":165,"../simbolo":159,"./palavras-reservadas/egua-classico":150}],147:[function(require,module,exports){
|
|
10376
10539
|
"use strict";
|
|
10377
10540
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10378
10541
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10487,7 +10650,7 @@ class LexadorGuarani extends lexador_base_1.LexadorBase {
|
|
|
10487
10650
|
}
|
|
10488
10651
|
exports.LexadorGuarani = LexadorGuarani;
|
|
10489
10652
|
|
|
10490
|
-
},{"../../tipos-de-simbolos/guarani":
|
|
10653
|
+
},{"../../tipos-de-simbolos/guarani":166,"../lexador-base":155,"./palavras-reservadas/guarani":151}],148:[function(require,module,exports){
|
|
10491
10654
|
"use strict";
|
|
10492
10655
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10493
10656
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10887,7 +11050,7 @@ class LexadorPitugues {
|
|
|
10887
11050
|
}
|
|
10888
11051
|
exports.LexadorPitugues = LexadorPitugues;
|
|
10889
11052
|
|
|
10890
|
-
},{"../../tipos-de-simbolos/pitugues":
|
|
11053
|
+
},{"../../tipos-de-simbolos/pitugues":168,"../palavras-reservadas":158,"../simbolo":159,"browser-process-hrtime":340}],149:[function(require,module,exports){
|
|
10891
11054
|
"use strict";
|
|
10892
11055
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10893
11056
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11126,7 +11289,7 @@ class LexadorPortugolIpt {
|
|
|
11126
11289
|
}
|
|
11127
11290
|
exports.LexadorPortugolIpt = LexadorPortugolIpt;
|
|
11128
11291
|
|
|
11129
|
-
},{"../../tipos-de-simbolos/portugol-ipt":
|
|
11292
|
+
},{"../../tipos-de-simbolos/portugol-ipt":169,"../simbolo":159,"./palavras-reservadas/portugol-ipt":152}],150:[function(require,module,exports){
|
|
11130
11293
|
"use strict";
|
|
11131
11294
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11132
11295
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11167,7 +11330,7 @@ exports.palavrasReservadas = {
|
|
|
11167
11330
|
verdadeiro: egua_classico_1.default.VERDADEIRO,
|
|
11168
11331
|
};
|
|
11169
11332
|
|
|
11170
|
-
},{"../../../tipos-de-simbolos/egua-classico":
|
|
11333
|
+
},{"../../../tipos-de-simbolos/egua-classico":165}],151:[function(require,module,exports){
|
|
11171
11334
|
"use strict";
|
|
11172
11335
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11173
11336
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11179,7 +11342,7 @@ exports.palavrasReservadas = {
|
|
|
11179
11342
|
hai: guarani_1.default.HAI,
|
|
11180
11343
|
};
|
|
11181
11344
|
|
|
11182
|
-
},{"../../../tipos-de-simbolos/guarani":
|
|
11345
|
+
},{"../../../tipos-de-simbolos/guarani":166}],152:[function(require,module,exports){
|
|
11183
11346
|
"use strict";
|
|
11184
11347
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11185
11348
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11201,7 +11364,7 @@ exports.palavrasReservadas = {
|
|
|
11201
11364
|
senão: portugol_ipt_1.default.SENAO,
|
|
11202
11365
|
};
|
|
11203
11366
|
|
|
11204
|
-
},{"../../../tipos-de-simbolos/portugol-ipt":
|
|
11367
|
+
},{"../../../tipos-de-simbolos/portugol-ipt":169}],153:[function(require,module,exports){
|
|
11205
11368
|
"use strict";
|
|
11206
11369
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
11207
11370
|
if (k2 === undefined) k2 = k;
|
|
@@ -11223,7 +11386,7 @@ __exportStar(require("./lexador-base-linha-unica"), exports);
|
|
|
11223
11386
|
__exportStar(require("./micro-lexador"), exports);
|
|
11224
11387
|
__exportStar(require("./simbolo"), exports);
|
|
11225
11388
|
|
|
11226
|
-
},{"./lexador":
|
|
11389
|
+
},{"./lexador":156,"./lexador-base-linha-unica":154,"./micro-lexador":157,"./simbolo":159}],154:[function(require,module,exports){
|
|
11227
11390
|
"use strict";
|
|
11228
11391
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11229
11392
|
exports.LexadorBaseLinhaUnica = void 0;
|
|
@@ -11307,7 +11470,7 @@ class LexadorBaseLinhaUnica {
|
|
|
11307
11470
|
}
|
|
11308
11471
|
exports.LexadorBaseLinhaUnica = LexadorBaseLinhaUnica;
|
|
11309
11472
|
|
|
11310
|
-
},{"./simbolo":
|
|
11473
|
+
},{"./simbolo":159}],155:[function(require,module,exports){
|
|
11311
11474
|
"use strict";
|
|
11312
11475
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11313
11476
|
exports.LexadorBase = void 0;
|
|
@@ -11421,7 +11584,7 @@ class LexadorBase {
|
|
|
11421
11584
|
}
|
|
11422
11585
|
exports.LexadorBase = LexadorBase;
|
|
11423
11586
|
|
|
11424
|
-
},{"./simbolo":
|
|
11587
|
+
},{"./simbolo":159}],156:[function(require,module,exports){
|
|
11425
11588
|
"use strict";
|
|
11426
11589
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11427
11590
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11636,11 +11799,11 @@ class Lexador {
|
|
|
11636
11799
|
this.inicioSimbolo = this.atual;
|
|
11637
11800
|
this.avancar();
|
|
11638
11801
|
if (this.simboloAtual() === '=') {
|
|
11639
|
-
this.adicionarSimbolo(delegua_1.default.MENOS_IGUAL);
|
|
11802
|
+
this.adicionarSimbolo(delegua_1.default.MENOS_IGUAL, '-=');
|
|
11640
11803
|
this.avancar();
|
|
11641
11804
|
}
|
|
11642
11805
|
else if (this.simboloAtual() === '-') {
|
|
11643
|
-
this.adicionarSimbolo(delegua_1.default.DECREMENTAR);
|
|
11806
|
+
this.adicionarSimbolo(delegua_1.default.DECREMENTAR, '--');
|
|
11644
11807
|
this.avancar();
|
|
11645
11808
|
}
|
|
11646
11809
|
else {
|
|
@@ -11651,11 +11814,11 @@ class Lexador {
|
|
|
11651
11814
|
this.inicioSimbolo = this.atual;
|
|
11652
11815
|
this.avancar();
|
|
11653
11816
|
if (this.simboloAtual() === '=') {
|
|
11654
|
-
this.adicionarSimbolo(delegua_1.default.MAIS_IGUAL);
|
|
11817
|
+
this.adicionarSimbolo(delegua_1.default.MAIS_IGUAL, '+=');
|
|
11655
11818
|
this.avancar();
|
|
11656
11819
|
}
|
|
11657
11820
|
else if (this.simboloAtual() === '+') {
|
|
11658
|
-
this.adicionarSimbolo(delegua_1.default.INCREMENTAR);
|
|
11821
|
+
this.adicionarSimbolo(delegua_1.default.INCREMENTAR, '++');
|
|
11659
11822
|
this.avancar();
|
|
11660
11823
|
}
|
|
11661
11824
|
else {
|
|
@@ -11672,7 +11835,7 @@ class Lexador {
|
|
|
11672
11835
|
switch (this.simboloAtual()) {
|
|
11673
11836
|
case '=':
|
|
11674
11837
|
this.avancar();
|
|
11675
|
-
this.adicionarSimbolo(delegua_1.default.MODULO_IGUAL);
|
|
11838
|
+
this.adicionarSimbolo(delegua_1.default.MODULO_IGUAL, '%=');
|
|
11676
11839
|
break;
|
|
11677
11840
|
default:
|
|
11678
11841
|
this.adicionarSimbolo(delegua_1.default.MODULO);
|
|
@@ -11685,11 +11848,11 @@ class Lexador {
|
|
|
11685
11848
|
switch (this.simboloAtual()) {
|
|
11686
11849
|
case '*':
|
|
11687
11850
|
this.avancar();
|
|
11688
|
-
this.adicionarSimbolo(delegua_1.default.EXPONENCIACAO);
|
|
11851
|
+
this.adicionarSimbolo(delegua_1.default.EXPONENCIACAO, '**');
|
|
11689
11852
|
break;
|
|
11690
11853
|
case '=':
|
|
11691
11854
|
this.avancar();
|
|
11692
|
-
this.adicionarSimbolo(delegua_1.default.MULTIPLICACAO_IGUAL);
|
|
11855
|
+
this.adicionarSimbolo(delegua_1.default.MULTIPLICACAO_IGUAL, '*=');
|
|
11693
11856
|
break;
|
|
11694
11857
|
default:
|
|
11695
11858
|
this.adicionarSimbolo(delegua_1.default.MULTIPLICACAO);
|
|
@@ -11699,7 +11862,7 @@ class Lexador {
|
|
|
11699
11862
|
case '!':
|
|
11700
11863
|
this.avancar();
|
|
11701
11864
|
if (this.simboloAtual() === '=') {
|
|
11702
|
-
this.adicionarSimbolo(delegua_1.default.DIFERENTE);
|
|
11865
|
+
this.adicionarSimbolo(delegua_1.default.DIFERENTE, '!=');
|
|
11703
11866
|
this.avancar();
|
|
11704
11867
|
}
|
|
11705
11868
|
else {
|
|
@@ -11709,7 +11872,7 @@ class Lexador {
|
|
|
11709
11872
|
case '=':
|
|
11710
11873
|
this.avancar();
|
|
11711
11874
|
if (this.simboloAtual() === '=') {
|
|
11712
|
-
this.adicionarSimbolo(delegua_1.default.IGUAL_IGUAL);
|
|
11875
|
+
this.adicionarSimbolo(delegua_1.default.IGUAL_IGUAL, '==');
|
|
11713
11876
|
this.avancar();
|
|
11714
11877
|
}
|
|
11715
11878
|
else {
|
|
@@ -11741,11 +11904,11 @@ class Lexador {
|
|
|
11741
11904
|
case '<':
|
|
11742
11905
|
this.avancar();
|
|
11743
11906
|
if (this.simboloAtual() === '=') {
|
|
11744
|
-
this.adicionarSimbolo(delegua_1.default.MENOR_IGUAL);
|
|
11907
|
+
this.adicionarSimbolo(delegua_1.default.MENOR_IGUAL, '<=');
|
|
11745
11908
|
this.avancar();
|
|
11746
11909
|
}
|
|
11747
11910
|
else if (this.simboloAtual() === '<') {
|
|
11748
|
-
this.adicionarSimbolo(delegua_1.default.MENOR_MENOR);
|
|
11911
|
+
this.adicionarSimbolo(delegua_1.default.MENOR_MENOR, '<<');
|
|
11749
11912
|
this.avancar();
|
|
11750
11913
|
}
|
|
11751
11914
|
else {
|
|
@@ -11755,11 +11918,11 @@ class Lexador {
|
|
|
11755
11918
|
case '>':
|
|
11756
11919
|
this.avancar();
|
|
11757
11920
|
if (this.simboloAtual() === '=') {
|
|
11758
|
-
this.adicionarSimbolo(delegua_1.default.MAIOR_IGUAL);
|
|
11921
|
+
this.adicionarSimbolo(delegua_1.default.MAIOR_IGUAL, '>=');
|
|
11759
11922
|
this.avancar();
|
|
11760
11923
|
}
|
|
11761
11924
|
else if (this.simboloAtual() === '>') {
|
|
11762
|
-
this.adicionarSimbolo(delegua_1.default.MAIOR_MAIOR);
|
|
11925
|
+
this.adicionarSimbolo(delegua_1.default.MAIOR_MAIOR, '>>');
|
|
11763
11926
|
this.avancar();
|
|
11764
11927
|
}
|
|
11765
11928
|
else {
|
|
@@ -11776,7 +11939,7 @@ class Lexador {
|
|
|
11776
11939
|
this.comentarioMultilinha();
|
|
11777
11940
|
break;
|
|
11778
11941
|
case '=':
|
|
11779
|
-
this.adicionarSimbolo(delegua_1.default.DIVISAO_IGUAL);
|
|
11942
|
+
this.adicionarSimbolo(delegua_1.default.DIVISAO_IGUAL, '/=');
|
|
11780
11943
|
this.avancar();
|
|
11781
11944
|
break;
|
|
11782
11945
|
default:
|
|
@@ -11789,7 +11952,7 @@ class Lexador {
|
|
|
11789
11952
|
this.avancar();
|
|
11790
11953
|
switch (this.simboloAtual()) {
|
|
11791
11954
|
case '=':
|
|
11792
|
-
this.adicionarSimbolo(delegua_1.default.DIVISAO_INTEIRA_IGUAL);
|
|
11955
|
+
this.adicionarSimbolo(delegua_1.default.DIVISAO_INTEIRA_IGUAL, '\\=');
|
|
11793
11956
|
this.avancar();
|
|
11794
11957
|
break;
|
|
11795
11958
|
default:
|
|
@@ -11797,7 +11960,7 @@ class Lexador {
|
|
|
11797
11960
|
break;
|
|
11798
11961
|
}
|
|
11799
11962
|
break;
|
|
11800
|
-
// Esta sessão ignora espaços em branco na tokenização.
|
|
11963
|
+
// Esta sessão ignora espaços em branco (ou similares) na tokenização.
|
|
11801
11964
|
case ' ':
|
|
11802
11965
|
case '\0':
|
|
11803
11966
|
case '\r':
|
|
@@ -11866,7 +12029,7 @@ class Lexador {
|
|
|
11866
12029
|
}
|
|
11867
12030
|
exports.Lexador = Lexador;
|
|
11868
12031
|
|
|
11869
|
-
},{"../tipos-de-simbolos/delegua":
|
|
12032
|
+
},{"../tipos-de-simbolos/delegua":164,"./palavras-reservadas":158,"./simbolo":159,"browser-process-hrtime":340}],157:[function(require,module,exports){
|
|
11870
12033
|
"use strict";
|
|
11871
12034
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11872
12035
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -12079,7 +12242,7 @@ class MicroLexador {
|
|
|
12079
12242
|
}
|
|
12080
12243
|
exports.MicroLexador = MicroLexador;
|
|
12081
12244
|
|
|
12082
|
-
},{"../tipos-de-simbolos/microgramaticas/delegua":
|
|
12245
|
+
},{"../tipos-de-simbolos/microgramaticas/delegua":167,"./palavras-reservadas":158,"./simbolo":159}],158:[function(require,module,exports){
|
|
12083
12246
|
"use strict";
|
|
12084
12247
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12085
12248
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -12142,7 +12305,7 @@ exports.palavrasReservadasMicroGramatica = {
|
|
|
12142
12305
|
verdadeiro: delegua_1.default.VERDADEIRO,
|
|
12143
12306
|
};
|
|
12144
12307
|
|
|
12145
|
-
},{"../tipos-de-simbolos/delegua":
|
|
12308
|
+
},{"../tipos-de-simbolos/delegua":164}],159:[function(require,module,exports){
|
|
12146
12309
|
"use strict";
|
|
12147
12310
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12148
12311
|
exports.Simbolo = void 0;
|
|
@@ -12160,7 +12323,7 @@ class Simbolo {
|
|
|
12160
12323
|
}
|
|
12161
12324
|
exports.Simbolo = Simbolo;
|
|
12162
12325
|
|
|
12163
|
-
},{}],
|
|
12326
|
+
},{}],160:[function(require,module,exports){
|
|
12164
12327
|
"use strict";
|
|
12165
12328
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12166
12329
|
exports.ContinuarQuebra = exports.SustarQuebra = exports.RetornoQuebra = exports.Quebra = void 0;
|
|
@@ -12181,7 +12344,7 @@ class ContinuarQuebra extends Quebra {
|
|
|
12181
12344
|
}
|
|
12182
12345
|
exports.ContinuarQuebra = ContinuarQuebra;
|
|
12183
12346
|
|
|
12184
|
-
},{}],
|
|
12347
|
+
},{}],161:[function(require,module,exports){
|
|
12185
12348
|
"use strict";
|
|
12186
12349
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12187
12350
|
exports.default = {
|
|
@@ -12205,7 +12368,7 @@ exports.default = {
|
|
|
12205
12368
|
VETOR_TEXTO: 'texto[]',
|
|
12206
12369
|
};
|
|
12207
12370
|
|
|
12208
|
-
},{}],
|
|
12371
|
+
},{}],162:[function(require,module,exports){
|
|
12209
12372
|
"use strict";
|
|
12210
12373
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12211
12374
|
exports.default = {
|
|
@@ -12224,7 +12387,7 @@ exports.default = {
|
|
|
12224
12387
|
TEXTO: 'string',
|
|
12225
12388
|
};
|
|
12226
12389
|
|
|
12227
|
-
},{}],
|
|
12390
|
+
},{}],163:[function(require,module,exports){
|
|
12228
12391
|
"use strict";
|
|
12229
12392
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12230
12393
|
exports.default = {
|
|
@@ -12250,7 +12413,7 @@ exports.default = {
|
|
|
12250
12413
|
VIRGULA: 'VIRGULA',
|
|
12251
12414
|
};
|
|
12252
12415
|
|
|
12253
|
-
},{}],
|
|
12416
|
+
},{}],164:[function(require,module,exports){
|
|
12254
12417
|
"use strict";
|
|
12255
12418
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12256
12419
|
exports.default = {
|
|
@@ -12344,7 +12507,7 @@ exports.default = {
|
|
|
12344
12507
|
VIRGULA: 'VIRGULA',
|
|
12345
12508
|
};
|
|
12346
12509
|
|
|
12347
|
-
},{}],
|
|
12510
|
+
},{}],165:[function(require,module,exports){
|
|
12348
12511
|
"use strict";
|
|
12349
12512
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12350
12513
|
exports.default = {
|
|
@@ -12422,7 +12585,7 @@ exports.default = {
|
|
|
12422
12585
|
VIRGULA: 'VIRGULA',
|
|
12423
12586
|
};
|
|
12424
12587
|
|
|
12425
|
-
},{}],
|
|
12588
|
+
},{}],166:[function(require,module,exports){
|
|
12426
12589
|
"use strict";
|
|
12427
12590
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12428
12591
|
exports.default = {
|
|
@@ -12439,7 +12602,7 @@ exports.default = {
|
|
|
12439
12602
|
VIRGULA: 'VIRGULA',
|
|
12440
12603
|
};
|
|
12441
12604
|
|
|
12442
|
-
},{}],
|
|
12605
|
+
},{}],167:[function(require,module,exports){
|
|
12443
12606
|
"use strict";
|
|
12444
12607
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12445
12608
|
exports.default = {
|
|
@@ -12488,7 +12651,7 @@ exports.default = {
|
|
|
12488
12651
|
VIRGULA: 'VIRGULA',
|
|
12489
12652
|
};
|
|
12490
12653
|
|
|
12491
|
-
},{}],
|
|
12654
|
+
},{}],168:[function(require,module,exports){
|
|
12492
12655
|
"use strict";
|
|
12493
12656
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12494
12657
|
exports.default = {
|
|
@@ -12566,7 +12729,7 @@ exports.default = {
|
|
|
12566
12729
|
VIRGULA: 'VIRGULA',
|
|
12567
12730
|
};
|
|
12568
12731
|
|
|
12569
|
-
},{}],
|
|
12732
|
+
},{}],169:[function(require,module,exports){
|
|
12570
12733
|
"use strict";
|
|
12571
12734
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12572
12735
|
exports.default = {
|
|
@@ -12605,7 +12768,7 @@ exports.default = {
|
|
|
12605
12768
|
VIRGULA: 'VIRGULA',
|
|
12606
12769
|
};
|
|
12607
12770
|
|
|
12608
|
-
},{}],
|
|
12771
|
+
},{}],170:[function(require,module,exports){
|
|
12609
12772
|
"use strict";
|
|
12610
12773
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
12611
12774
|
if (k2 === undefined) k2 = k;
|
|
@@ -12629,7 +12792,7 @@ __exportStar(require("./tradutor-python"), exports);
|
|
|
12629
12792
|
__exportStar(require("./tradutor-reverso-javascript"), exports);
|
|
12630
12793
|
__exportStar(require("./tradutor-reverso-python"), exports);
|
|
12631
12794
|
|
|
12632
|
-
},{"./tradutor-assemblyscript":
|
|
12795
|
+
},{"./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){
|
|
12633
12796
|
"use strict";
|
|
12634
12797
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
12635
12798
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -13858,7 +14021,7 @@ __decorate([
|
|
|
13858
14021
|
Decorators_1.Override
|
|
13859
14022
|
], Python3Lexer.prototype, "nextToken", null);
|
|
13860
14023
|
|
|
13861
|
-
},{"./python3-parser":
|
|
14024
|
+
},{"./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){
|
|
13862
14025
|
"use strict";
|
|
13863
14026
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
13864
14027
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -25086,7 +25249,7 @@ class Yield_argContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
25086
25249
|
}
|
|
25087
25250
|
exports.Yield_argContext = Yield_argContext;
|
|
25088
25251
|
|
|
25089
|
-
},{"antlr4ts/FailedPredicateException":
|
|
25252
|
+
},{"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){
|
|
25090
25253
|
"use strict";
|
|
25091
25254
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25092
25255
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -25636,7 +25799,7 @@ class TradutorAssemblyScript {
|
|
|
25636
25799
|
return resultado;
|
|
25637
25800
|
}
|
|
25638
25801
|
traduzirConstrutoAtribuir(atribuir) {
|
|
25639
|
-
let resultado = atribuir.
|
|
25802
|
+
let resultado = this.dicionarioConstrutos[atribuir.alvo.constructor.name](atribuir.alvo);
|
|
25640
25803
|
resultado += ' = ' + this.dicionarioConstrutos[atribuir.valor.constructor.name](atribuir.valor);
|
|
25641
25804
|
return resultado;
|
|
25642
25805
|
}
|
|
@@ -25683,7 +25846,7 @@ class TradutorAssemblyScript {
|
|
|
25683
25846
|
}
|
|
25684
25847
|
exports.TradutorAssemblyScript = TradutorAssemblyScript;
|
|
25685
25848
|
|
|
25686
|
-
},{"../construtos":
|
|
25849
|
+
},{"../construtos":44,"../declaracoes":82,"../tipos-de-simbolos/delegua":164}],174:[function(require,module,exports){
|
|
25687
25850
|
"use strict";
|
|
25688
25851
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25689
25852
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -25828,8 +25991,19 @@ class TradutorJavaScript {
|
|
|
25828
25991
|
return this.dicionarioConstrutos[agrupamento.constructor.name](agrupamento.expressao || agrupamento);
|
|
25829
25992
|
}
|
|
25830
25993
|
traduzirConstrutoAtribuir(atribuir) {
|
|
25831
|
-
|
|
25832
|
-
resultado
|
|
25994
|
+
var _a;
|
|
25995
|
+
let resultado = this.dicionarioConstrutos[atribuir.alvo.constructor.name](atribuir.alvo);
|
|
25996
|
+
const operador = ((_a = atribuir.simboloOperador) === null || _a === void 0 ? void 0 : _a.lexema) || '=';
|
|
25997
|
+
// Em Delégua, atribuições com operações embutidas devolvem um construto `Binario` no valor
|
|
25998
|
+
// por várias razões, sendo a mais importante delas a lógica de interpretação.
|
|
25999
|
+
let valorResolvido = '';
|
|
26000
|
+
if (atribuir.simboloOperador && atribuir.valor.constructor.name === 'Binario') {
|
|
26001
|
+
valorResolvido = this.dicionarioConstrutos[atribuir.valor.direita.constructor.name](atribuir.valor.direita);
|
|
26002
|
+
}
|
|
26003
|
+
else {
|
|
26004
|
+
valorResolvido = this.dicionarioConstrutos[atribuir.valor.constructor.name](atribuir.valor);
|
|
26005
|
+
}
|
|
26006
|
+
resultado += ` ${operador} ` + valorResolvido;
|
|
25833
26007
|
return resultado;
|
|
25834
26008
|
}
|
|
25835
26009
|
traduzirConstrutoBinario(binario) {
|
|
@@ -26192,7 +26366,11 @@ class TradutorJavaScript {
|
|
|
26192
26366
|
let objetoVariavel = acessoMetodo.objeto;
|
|
26193
26367
|
return `${objetoVariavel.simbolo.lexema}.${this.traduzirFuncoesNativas(acessoMetodo.nomeMetodo)}`;
|
|
26194
26368
|
}
|
|
26195
|
-
|
|
26369
|
+
if (acessoMetodo.objeto instanceof construtos_1.Isto) {
|
|
26370
|
+
return `this.${acessoMetodo.nomeMetodo}`;
|
|
26371
|
+
}
|
|
26372
|
+
const objetoResolvido = this.dicionarioConstrutos[acessoMetodo.objeto.constructor.name](acessoMetodo.objeto);
|
|
26373
|
+
return `${objetoResolvido}.${acessoMetodo.nomeMetodo}`;
|
|
26196
26374
|
}
|
|
26197
26375
|
traduzirConstrutoAcessoMetodoOuPropriedade(acessoMetodo) {
|
|
26198
26376
|
if (acessoMetodo.objeto instanceof construtos_1.Variavel) {
|
|
@@ -26302,7 +26480,7 @@ class TradutorJavaScript {
|
|
|
26302
26480
|
}
|
|
26303
26481
|
exports.TradutorJavaScript = TradutorJavaScript;
|
|
26304
26482
|
|
|
26305
|
-
},{"../construtos":
|
|
26483
|
+
},{"../construtos":44,"../declaracoes":82,"../tipos-de-simbolos/delegua":164}],175:[function(require,module,exports){
|
|
26306
26484
|
"use strict";
|
|
26307
26485
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26308
26486
|
exports.TradutorPortugolIpt = void 0;
|
|
@@ -26364,7 +26542,7 @@ class TradutorPortugolIpt {
|
|
|
26364
26542
|
}
|
|
26365
26543
|
exports.TradutorPortugolIpt = TradutorPortugolIpt;
|
|
26366
26544
|
|
|
26367
|
-
},{"../avaliador-sintatico/dialetos":6,"../lexador/dialetos":
|
|
26545
|
+
},{"../avaliador-sintatico/dialetos":6,"../lexador/dialetos":145}],176:[function(require,module,exports){
|
|
26368
26546
|
"use strict";
|
|
26369
26547
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26370
26548
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -26377,6 +26555,7 @@ const delegua_1 = __importDefault(require("../tipos-de-simbolos/delegua"));
|
|
|
26377
26555
|
class TradutorPython {
|
|
26378
26556
|
constructor() {
|
|
26379
26557
|
this.indentacao = 0;
|
|
26558
|
+
this.classesConhecidas = [];
|
|
26380
26559
|
this.dicionarioConstrutos = {
|
|
26381
26560
|
AcessoMetodo: this.traduzirConstrutoAcessoMetodo.bind(this),
|
|
26382
26561
|
AcessoMetodoOuPropriedade: this.traduzirConstrutoAcessoMetodoOuPropriedade.bind(this),
|
|
@@ -26389,6 +26568,7 @@ class TradutorPython {
|
|
|
26389
26568
|
Chamada: this.traduzirConstrutoChamada.bind(this),
|
|
26390
26569
|
Comentario: this.traduzirConstrutoComentario.bind(this),
|
|
26391
26570
|
DefinirValor: this.traduzirConstrutoDefinirValor.bind(this),
|
|
26571
|
+
Dicionario: this.traduzirConstrutoDicionario.bind(this),
|
|
26392
26572
|
Literal: this.traduzirConstrutoLiteral.bind(this),
|
|
26393
26573
|
Logico: this.traduzirConstrutoLogico.bind(this),
|
|
26394
26574
|
Unario: this.traduzirConstrutoUnario.bind(this),
|
|
@@ -26457,38 +26637,46 @@ class TradutorPython {
|
|
|
26457
26637
|
return '-';
|
|
26458
26638
|
}
|
|
26459
26639
|
}
|
|
26460
|
-
|
|
26461
|
-
|
|
26640
|
+
traduzirFuncaoOuMetodo(nomeMetodo, objetoResolvido, argumentos) {
|
|
26641
|
+
const argumentosResolvidos = [];
|
|
26642
|
+
for (const argumento of argumentos) {
|
|
26643
|
+
const argumentoResolvido = this.dicionarioConstrutos[argumento.constructor.name](argumento);
|
|
26644
|
+
argumentosResolvidos.push(argumentoResolvido);
|
|
26645
|
+
}
|
|
26646
|
+
let textoArgumentos = argumentosResolvidos.reduce((atual, proximo) => atual += proximo + ', ', "");
|
|
26647
|
+
textoArgumentos = textoArgumentos.slice(0, -2);
|
|
26648
|
+
switch (nomeMetodo) {
|
|
26462
26649
|
case 'adicionar':
|
|
26463
26650
|
case 'empilhar':
|
|
26464
|
-
return
|
|
26651
|
+
return `${objetoResolvido}.append(${textoArgumentos})`;
|
|
26465
26652
|
case 'fatiar':
|
|
26466
|
-
return
|
|
26653
|
+
return `${objetoResolvido}[${argumentos[0]}:${argumentos[1]}]`;
|
|
26467
26654
|
case 'inclui':
|
|
26468
|
-
return
|
|
26655
|
+
return `${argumentosResolvidos[0]} in ${objetoResolvido}`;
|
|
26469
26656
|
case 'inverter':
|
|
26470
|
-
return
|
|
26657
|
+
return `reversed(${objetoResolvido})`;
|
|
26471
26658
|
case 'juntar':
|
|
26472
|
-
return
|
|
26473
|
-
case 'ordenar':
|
|
26474
|
-
return 'sort';
|
|
26475
|
-
case 'removerprimeiro':
|
|
26476
|
-
return 'pop(0)';
|
|
26477
|
-
case 'removerultimo':
|
|
26478
|
-
return 'pop';
|
|
26479
|
-
case 'tamanho':
|
|
26480
|
-
return 'len';
|
|
26659
|
+
return `${argumentosResolvidos[0]}.join(${objetoResolvido})`;
|
|
26481
26660
|
case 'maiusculo':
|
|
26482
|
-
return
|
|
26661
|
+
return `${objetoResolvido}.upper()`;
|
|
26662
|
+
case 'mapear':
|
|
26663
|
+
return `list(map(${this.traduzirFuncaoAnonimaParaLambda(argumentos[0])}), ${objetoResolvido})`;
|
|
26483
26664
|
case 'minusculo':
|
|
26484
|
-
return
|
|
26485
|
-
case '
|
|
26486
|
-
return
|
|
26487
|
-
case '
|
|
26488
|
-
return
|
|
26489
|
-
|
|
26490
|
-
return
|
|
26665
|
+
return `${objetoResolvido}.lower()`;
|
|
26666
|
+
case 'ordenar':
|
|
26667
|
+
return `${objetoResolvido}.sort()`;
|
|
26668
|
+
case 'remover':
|
|
26669
|
+
return `del ${objetoResolvido}[${argumentosResolvidos[0]}]`;
|
|
26670
|
+
case 'removerPrimeiro':
|
|
26671
|
+
return `${objetoResolvido}.pop(0)`;
|
|
26672
|
+
case 'removerUltimo':
|
|
26673
|
+
return `${objetoResolvido}.pop()`;
|
|
26674
|
+
case 'somar':
|
|
26675
|
+
return `sum(${objetoResolvido})`;
|
|
26676
|
+
case 'tamanho':
|
|
26677
|
+
return `len(${objetoResolvido})`;
|
|
26491
26678
|
}
|
|
26679
|
+
return `${objetoResolvido}.${nomeMetodo}(${textoArgumentos}))`;
|
|
26492
26680
|
}
|
|
26493
26681
|
logicaComumBlocoEscopo(declaracoes) {
|
|
26494
26682
|
let resultado = '';
|
|
@@ -26515,45 +26703,71 @@ class TradutorPython {
|
|
|
26515
26703
|
const indice = this.dicionarioConstrutos[acessoIndiceVariavel.indice.constructor.name](acessoIndiceVariavel.indice);
|
|
26516
26704
|
return `${entidade}[${indice}]`;
|
|
26517
26705
|
}
|
|
26518
|
-
|
|
26519
|
-
|
|
26520
|
-
|
|
26521
|
-
|
|
26522
|
-
|
|
26523
|
-
|
|
26524
|
-
|
|
26525
|
-
|
|
26526
|
-
|
|
26527
|
-
|
|
26528
|
-
|
|
26706
|
+
traduzirFuncaoAnonimaParaLambda(argumento) {
|
|
26707
|
+
return "";
|
|
26708
|
+
}
|
|
26709
|
+
traduzirAcessoMetodoVetor(objeto, nomeMetodo, argumentos) {
|
|
26710
|
+
const objetoResolvido = this.dicionarioConstrutos[objeto.constructor.name](objeto);
|
|
26711
|
+
const argumentosResolvidos = [];
|
|
26712
|
+
for (const argumento of argumentos) {
|
|
26713
|
+
const argumentoResolvido = this.dicionarioConstrutos[argumento.constructor.name](argumento);
|
|
26714
|
+
argumentosResolvidos.push(argumentoResolvido);
|
|
26715
|
+
}
|
|
26716
|
+
switch (nomeMetodo) {
|
|
26717
|
+
case 'adicionar':
|
|
26718
|
+
case 'empilhar':
|
|
26719
|
+
let textoArgumentos = argumentosResolvidos.reduce((atual, proximo) => atual += proximo + ', ', "");
|
|
26720
|
+
textoArgumentos = textoArgumentos.slice(0, -2);
|
|
26721
|
+
return `${objetoResolvido}.append(${textoArgumentos})`;
|
|
26722
|
+
case 'fatiar':
|
|
26723
|
+
return `${objetoResolvido}[${argumentos[0]}:${argumentos[1]}]`;
|
|
26724
|
+
case 'inclui':
|
|
26725
|
+
return `${argumentos[0]} in ${objetoResolvido}`;
|
|
26726
|
+
case 'inverter':
|
|
26727
|
+
return `reversed(${objetoResolvido})`;
|
|
26728
|
+
case 'juntar':
|
|
26729
|
+
return `${argumentos[0]}.join(${objetoResolvido})`;
|
|
26730
|
+
case 'mapear':
|
|
26731
|
+
return `list(map(${this.traduzirFuncaoAnonimaParaLambda(argumentos[0])}), ${objetoResolvido})`;
|
|
26732
|
+
case 'ordenar':
|
|
26733
|
+
return `${objetoResolvido}.sort()`;
|
|
26734
|
+
case 'remover':
|
|
26735
|
+
return `del ${objetoResolvido}[${argumentos[0]}]`;
|
|
26736
|
+
case 'removerPrimeiro':
|
|
26737
|
+
return `del ${objetoResolvido}[0]`;
|
|
26738
|
+
case 'removerUltimo':
|
|
26739
|
+
return `del ${objetoResolvido}[-1]`;
|
|
26740
|
+
case 'somar':
|
|
26741
|
+
return `sum(${objetoResolvido})`;
|
|
26742
|
+
case 'tamanho':
|
|
26743
|
+
return `len(${objetoResolvido})`;
|
|
26529
26744
|
}
|
|
26530
|
-
return `self.${acessoMetodo.nomeMetodo}`;
|
|
26531
26745
|
}
|
|
26532
|
-
|
|
26746
|
+
traduzirConstrutoAcessoMetodo(acessoMetodo, argumentos) {
|
|
26747
|
+
switch (acessoMetodo.objeto.constructor.name) {
|
|
26748
|
+
case 'Isto':
|
|
26749
|
+
return `self.${acessoMetodo.nomeMetodo}`;
|
|
26750
|
+
case 'Variavel':
|
|
26751
|
+
let objetoVariavel = acessoMetodo.objeto;
|
|
26752
|
+
return this.traduzirFuncaoOuMetodo(acessoMetodo.nomeMetodo, objetoVariavel.simbolo.lexema, argumentos);
|
|
26753
|
+
case 'Vetor':
|
|
26754
|
+
return this.traduzirAcessoMetodoVetor(acessoMetodo.objeto, acessoMetodo.nomeMetodo, argumentos);
|
|
26755
|
+
default:
|
|
26756
|
+
const objetoResolvido = this.dicionarioConstrutos[acessoMetodo.objeto.constructor.name](acessoMetodo.objeto);
|
|
26757
|
+
return `${objetoResolvido}.${acessoMetodo.nomeMetodo}`;
|
|
26758
|
+
}
|
|
26759
|
+
}
|
|
26760
|
+
traduzirConstrutoAcessoMetodoOuPropriedade(acessoMetodo, argumentos) {
|
|
26533
26761
|
if (acessoMetodo.objeto instanceof construtos_1.Variavel) {
|
|
26534
26762
|
let objetoVariavel = acessoMetodo.objeto;
|
|
26535
|
-
|
|
26536
|
-
if (funcaoTraduzida === 'in') {
|
|
26537
|
-
return `in ${objetoVariavel.simbolo.lexema}`;
|
|
26538
|
-
}
|
|
26539
|
-
else if (funcaoTraduzida === 'len') {
|
|
26540
|
-
return `len(${objetoVariavel.simbolo.lexema})`;
|
|
26541
|
-
}
|
|
26542
|
-
return `${objetoVariavel.simbolo.lexema}.${funcaoTraduzida}`;
|
|
26763
|
+
return this.traduzirFuncaoOuMetodo(acessoMetodo.simbolo.lexema, objetoVariavel.simbolo.lexema, argumentos);
|
|
26543
26764
|
}
|
|
26544
26765
|
return `self.${acessoMetodo.simbolo.lexema}`;
|
|
26545
26766
|
}
|
|
26546
|
-
traduzirConstrutoAcessoPropriedade(acessoPropriedade) {
|
|
26767
|
+
traduzirConstrutoAcessoPropriedade(acessoPropriedade, argumentos) {
|
|
26547
26768
|
if (acessoPropriedade.objeto instanceof construtos_1.Variavel) {
|
|
26548
26769
|
let objetoVariavel = acessoPropriedade.objeto;
|
|
26549
|
-
|
|
26550
|
-
if (funcaoTraduzida === 'in') {
|
|
26551
|
-
return `in ${objetoVariavel.simbolo.lexema}`;
|
|
26552
|
-
}
|
|
26553
|
-
else if (funcaoTraduzida === 'len') {
|
|
26554
|
-
return `len(${objetoVariavel.simbolo.lexema})`;
|
|
26555
|
-
}
|
|
26556
|
-
return `${objetoVariavel.simbolo.lexema}.${funcaoTraduzida}`;
|
|
26770
|
+
return this.traduzirFuncaoOuMetodo(objetoVariavel.simbolo.lexema, acessoPropriedade.nomePropriedade, argumentos);
|
|
26557
26771
|
}
|
|
26558
26772
|
return `self.${acessoPropriedade.nomePropriedade}`;
|
|
26559
26773
|
}
|
|
@@ -26567,49 +26781,39 @@ class TradutorPython {
|
|
|
26567
26781
|
return `${objeto}[${indice}] = ${valor}`;
|
|
26568
26782
|
}
|
|
26569
26783
|
traduzirConstrutoAtribuir(atribuir) {
|
|
26570
|
-
|
|
26571
|
-
resultado
|
|
26784
|
+
var _a;
|
|
26785
|
+
let resultado = this.dicionarioConstrutos[atribuir.alvo.constructor.name](atribuir.alvo);
|
|
26786
|
+
const operador = ((_a = atribuir.simboloOperador) === null || _a === void 0 ? void 0 : _a.lexema) || '=';
|
|
26787
|
+
// Em Delégua, atribuições com operações embutidas devolvem um construto `Binario` no valor
|
|
26788
|
+
// por várias razões, sendo a mais importante delas a lógica de interpretação.
|
|
26789
|
+
let valorResolvido = '';
|
|
26790
|
+
if (atribuir.simboloOperador && atribuir.valor.constructor.name === 'Binario') {
|
|
26791
|
+
valorResolvido = this.dicionarioConstrutos[atribuir.valor.direita.constructor.name](atribuir.valor.direita);
|
|
26792
|
+
}
|
|
26793
|
+
else {
|
|
26794
|
+
valorResolvido = this.dicionarioConstrutos[atribuir.valor.constructor.name](atribuir.valor);
|
|
26795
|
+
}
|
|
26796
|
+
resultado += ` ${operador} ` + valorResolvido;
|
|
26572
26797
|
return resultado;
|
|
26573
26798
|
}
|
|
26574
26799
|
traduzirConstrutoBinario(binario) {
|
|
26575
26800
|
let resultado = '';
|
|
26801
|
+
const valorEsquerdo = this.dicionarioConstrutos[binario.esquerda.constructor.name](binario.esquerda);
|
|
26576
26802
|
if (binario.esquerda.constructor.name === 'Agrupamento')
|
|
26577
|
-
resultado += '(' +
|
|
26803
|
+
resultado += '(' + valorEsquerdo + ')';
|
|
26578
26804
|
else
|
|
26579
|
-
resultado +=
|
|
26805
|
+
resultado += valorEsquerdo;
|
|
26580
26806
|
let operador = this.traduzirSimboloOperador(binario.operador);
|
|
26581
26807
|
resultado += ` ${operador} `;
|
|
26808
|
+
const valorDireito = this.dicionarioConstrutos[binario.direita.constructor.name](binario.direita);
|
|
26582
26809
|
if (binario.direita.constructor.name === 'Agrupamento')
|
|
26583
|
-
resultado += '(' +
|
|
26810
|
+
resultado += '(' + valorDireito + ')';
|
|
26584
26811
|
else
|
|
26585
|
-
resultado +=
|
|
26812
|
+
resultado += valorDireito;
|
|
26586
26813
|
return resultado;
|
|
26587
26814
|
}
|
|
26588
26815
|
traduzirConstrutoChamada(chamada) {
|
|
26589
|
-
|
|
26590
|
-
const retorno = `${this.dicionarioConstrutos[chamada.entidadeChamada.constructor.name](chamada.entidadeChamada)}`;
|
|
26591
|
-
resultado += retorno;
|
|
26592
|
-
if (!resultado.includes('in ') && !resultado.includes('len') && !resultado.includes('pop(')) {
|
|
26593
|
-
resultado += '(';
|
|
26594
|
-
}
|
|
26595
|
-
if (!resultado.includes('len(')) {
|
|
26596
|
-
for (let parametro of chamada.argumentos) {
|
|
26597
|
-
const parametroTratado = this.dicionarioConstrutos[parametro.constructor.name](parametro);
|
|
26598
|
-
if (resultado.includes('in ') || resultado.includes('len')) {
|
|
26599
|
-
resultado = `${parametroTratado} ${resultado}`;
|
|
26600
|
-
}
|
|
26601
|
-
else {
|
|
26602
|
-
resultado += parametroTratado + ', ';
|
|
26603
|
-
}
|
|
26604
|
-
}
|
|
26605
|
-
if (chamada.argumentos.length > 0 && !resultado.includes('in ') && !resultado.includes('len')) {
|
|
26606
|
-
resultado = resultado.slice(0, -2);
|
|
26607
|
-
}
|
|
26608
|
-
if (!resultado.includes(')') && !resultado.includes('in ')) {
|
|
26609
|
-
resultado += ')';
|
|
26610
|
-
}
|
|
26611
|
-
}
|
|
26612
|
-
return resultado;
|
|
26816
|
+
return `${this.dicionarioConstrutos[chamada.entidadeChamada.constructor.name](chamada.entidadeChamada, chamada.argumentos)}`;
|
|
26613
26817
|
}
|
|
26614
26818
|
traduzirConstrutoComentario(comentario) {
|
|
26615
26819
|
let resultado = '';
|
|
@@ -26633,6 +26837,18 @@ class TradutorPython {
|
|
|
26633
26837
|
resultado += definirValor.valor.simbolo.lexema;
|
|
26634
26838
|
return resultado;
|
|
26635
26839
|
}
|
|
26840
|
+
traduzirConstrutoDicionario(dicionario) {
|
|
26841
|
+
let resultado = `{${dicionario.chaves.length > 0 ? '\n' : ''}`;
|
|
26842
|
+
for (let indice = 0; indice < dicionario.chaves.length; indice++) {
|
|
26843
|
+
resultado += ' '.repeat(this.indentacao + 4);
|
|
26844
|
+
const chave = dicionario.chaves[indice];
|
|
26845
|
+
resultado += `${this.dicionarioConstrutos[chave.constructor.name](chave)}: `;
|
|
26846
|
+
const valor = dicionario.valores[indice];
|
|
26847
|
+
resultado += `${this.dicionarioConstrutos[valor.constructor.name](valor)},\n`;
|
|
26848
|
+
}
|
|
26849
|
+
resultado += '}';
|
|
26850
|
+
return resultado;
|
|
26851
|
+
}
|
|
26636
26852
|
traduzirConstrutoLiteral(literal) {
|
|
26637
26853
|
if (typeof literal.valor === 'string')
|
|
26638
26854
|
return `'${literal.valor}'`;
|
|
@@ -26662,8 +26878,25 @@ class TradutorPython {
|
|
|
26662
26878
|
return `${operando}${operador}`;
|
|
26663
26879
|
}
|
|
26664
26880
|
}
|
|
26665
|
-
traduzirConstrutoVariavel(variavel) {
|
|
26666
|
-
|
|
26881
|
+
traduzirConstrutoVariavel(variavel, argumentos) {
|
|
26882
|
+
const argumentosResolvidos = [];
|
|
26883
|
+
const argumentosValidados = argumentos || [];
|
|
26884
|
+
for (const argumento of argumentosValidados) {
|
|
26885
|
+
const argumentoResolvido = this.dicionarioConstrutos[argumento.constructor.name](argumento);
|
|
26886
|
+
argumentosResolvidos.push(argumentoResolvido);
|
|
26887
|
+
}
|
|
26888
|
+
let textoArgumentos = argumentosResolvidos.reduce((atual, proximo) => atual += proximo + ', ', "");
|
|
26889
|
+
textoArgumentos = textoArgumentos.slice(0, -2);
|
|
26890
|
+
switch (variavel.simbolo.lexema) {
|
|
26891
|
+
case 'texto':
|
|
26892
|
+
return `str(${textoArgumentos})`;
|
|
26893
|
+
default:
|
|
26894
|
+
if (argumentosValidados.length === 0 && !this.classesConhecidas.includes(variavel.simbolo.lexema)) {
|
|
26895
|
+
return `${variavel.simbolo.lexema}`;
|
|
26896
|
+
}
|
|
26897
|
+
return `${variavel.simbolo.lexema}(${textoArgumentos})`;
|
|
26898
|
+
// return this.traduzirFuncoesNativas(variavel.simbolo.lexema);
|
|
26899
|
+
}
|
|
26667
26900
|
}
|
|
26668
26901
|
traduzirConstrutoVetor(vetor) {
|
|
26669
26902
|
if (!vetor.valores.length) {
|
|
@@ -26713,11 +26946,14 @@ class TradutorPython {
|
|
|
26713
26946
|
resultado += `${declaracaoClasse.simbolo.lexema}(${declaracaoClasse.superClasse.simbolo.lexema}):\n`;
|
|
26714
26947
|
else
|
|
26715
26948
|
resultado += declaracaoClasse.simbolo.lexema + ':\n';
|
|
26716
|
-
if (declaracaoClasse.metodos.length === 0)
|
|
26949
|
+
if (declaracaoClasse.metodos.length === 0) {
|
|
26950
|
+
this.classesConhecidas.push(declaracaoClasse.simbolo.lexema);
|
|
26717
26951
|
return (resultado += ' pass\n');
|
|
26952
|
+
}
|
|
26718
26953
|
for (let metodo of declaracaoClasse.metodos) {
|
|
26719
26954
|
resultado += this.logicaTraducaoMetodoClasse(metodo);
|
|
26720
26955
|
}
|
|
26956
|
+
this.classesConhecidas.push(declaracaoClasse.simbolo.lexema);
|
|
26721
26957
|
return resultado;
|
|
26722
26958
|
}
|
|
26723
26959
|
traduzirDeclaracaoConst(declaracaoConst) {
|
|
@@ -26892,7 +27128,7 @@ class TradutorPython {
|
|
|
26892
27128
|
let resultado = declaracaoVar.simbolo.lexema + ' = ';
|
|
26893
27129
|
const inicializador = declaracaoVar.inicializador;
|
|
26894
27130
|
if (inicializador) {
|
|
26895
|
-
if (
|
|
27131
|
+
if (inicializador.constructor.name in this.dicionarioConstrutos) {
|
|
26896
27132
|
resultado += this.dicionarioConstrutos[declaracaoVar.inicializador.constructor.name](declaracaoVar.inicializador);
|
|
26897
27133
|
}
|
|
26898
27134
|
else {
|
|
@@ -26906,15 +27142,21 @@ class TradutorPython {
|
|
|
26906
27142
|
}
|
|
26907
27143
|
traduzir(declaracoes) {
|
|
26908
27144
|
let resultado = '';
|
|
26909
|
-
|
|
26910
|
-
|
|
27145
|
+
this.classesConhecidas = [];
|
|
27146
|
+
try {
|
|
27147
|
+
for (const declaracao of declaracoes) {
|
|
27148
|
+
resultado += `${this.dicionarioDeclaracoes[declaracao.constructor.name](declaracao)} \n`;
|
|
27149
|
+
}
|
|
27150
|
+
}
|
|
27151
|
+
catch (erro) {
|
|
27152
|
+
console.error(`Erro em tradução para Python: ${erro}`);
|
|
26911
27153
|
}
|
|
26912
27154
|
return resultado.replace(/\n{2,}/g, '\n');
|
|
26913
27155
|
}
|
|
26914
27156
|
}
|
|
26915
27157
|
exports.TradutorPython = TradutorPython;
|
|
26916
27158
|
|
|
26917
|
-
},{"../construtos":
|
|
27159
|
+
},{"../construtos":44,"../declaracoes":82,"../tipos-de-simbolos/delegua":164}],177:[function(require,module,exports){
|
|
26918
27160
|
"use strict";
|
|
26919
27161
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26920
27162
|
exports.TradutorReversoJavaScript = void 0;
|
|
@@ -27308,7 +27550,7 @@ class TradutorReversoJavaScript {
|
|
|
27308
27550
|
}
|
|
27309
27551
|
exports.TradutorReversoJavaScript = TradutorReversoJavaScript;
|
|
27310
27552
|
|
|
27311
|
-
},{}],
|
|
27553
|
+
},{}],178:[function(require,module,exports){
|
|
27312
27554
|
"use strict";
|
|
27313
27555
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27314
27556
|
exports.TradutorReversoPython = void 0;
|
|
@@ -27381,7 +27623,7 @@ class TradutorReversoPython {
|
|
|
27381
27623
|
}
|
|
27382
27624
|
exports.TradutorReversoPython = TradutorReversoPython;
|
|
27383
27625
|
|
|
27384
|
-
},{"./python/python3-lexer":
|
|
27626
|
+
},{"./python/python3-lexer":171,"./python/python3-parser":172,"antlr4ts":294,"antlr4ts/tree/ParseTreeWalker":313}],179:[function(require,module,exports){
|
|
27385
27627
|
"use strict";
|
|
27386
27628
|
/*!
|
|
27387
27629
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27389,7 +27631,7 @@ exports.TradutorReversoPython = TradutorReversoPython;
|
|
|
27389
27631
|
*/
|
|
27390
27632
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27391
27633
|
|
|
27392
|
-
},{}],
|
|
27634
|
+
},{}],180:[function(require,module,exports){
|
|
27393
27635
|
"use strict";
|
|
27394
27636
|
/*!
|
|
27395
27637
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27397,7 +27639,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
27397
27639
|
*/
|
|
27398
27640
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27399
27641
|
|
|
27400
|
-
},{}],
|
|
27642
|
+
},{}],181:[function(require,module,exports){
|
|
27401
27643
|
"use strict";
|
|
27402
27644
|
/*!
|
|
27403
27645
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27559,7 +27801,7 @@ __decorate([
|
|
|
27559
27801
|
], ANTLRInputStream.prototype, "toString", null);
|
|
27560
27802
|
exports.ANTLRInputStream = ANTLRInputStream;
|
|
27561
27803
|
|
|
27562
|
-
},{"./Decorators":
|
|
27804
|
+
},{"./Decorators":192,"./IntStream":198,"assert":335}],182:[function(require,module,exports){
|
|
27563
27805
|
"use strict";
|
|
27564
27806
|
/*!
|
|
27565
27807
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27642,7 +27884,7 @@ __decorate([
|
|
|
27642
27884
|
], BailErrorStrategy.prototype, "sync", null);
|
|
27643
27885
|
exports.BailErrorStrategy = BailErrorStrategy;
|
|
27644
27886
|
|
|
27645
|
-
},{"./Decorators":
|
|
27887
|
+
},{"./Decorators":192,"./DefaultErrorStrategy":193,"./InputMismatchException":197,"./misc/ParseCancellationException":309}],183:[function(require,module,exports){
|
|
27646
27888
|
"use strict";
|
|
27647
27889
|
/*!
|
|
27648
27890
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28132,7 +28374,7 @@ BufferedTokenStream = __decorate([
|
|
|
28132
28374
|
], BufferedTokenStream);
|
|
28133
28375
|
exports.BufferedTokenStream = BufferedTokenStream;
|
|
28134
28376
|
|
|
28135
|
-
},{"./CommonToken":
|
|
28377
|
+
},{"./CommonToken":188,"./Decorators":192,"./Lexer":200,"./Token":217,"./misc/Interval":304,"assert":335}],184:[function(require,module,exports){
|
|
28136
28378
|
"use strict";
|
|
28137
28379
|
/*!
|
|
28138
28380
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28140,7 +28382,7 @@ exports.BufferedTokenStream = BufferedTokenStream;
|
|
|
28140
28382
|
*/
|
|
28141
28383
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28142
28384
|
|
|
28143
|
-
},{}],
|
|
28385
|
+
},{}],185:[function(require,module,exports){
|
|
28144
28386
|
"use strict";
|
|
28145
28387
|
/*!
|
|
28146
28388
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28274,7 +28516,7 @@ var CharStreams;
|
|
|
28274
28516
|
// }
|
|
28275
28517
|
})(CharStreams = exports.CharStreams || (exports.CharStreams = {}));
|
|
28276
28518
|
|
|
28277
|
-
},{"./CodePointBuffer":
|
|
28519
|
+
},{"./CodePointBuffer":186,"./CodePointCharStream":187,"./IntStream":198}],186:[function(require,module,exports){
|
|
28278
28520
|
"use strict";
|
|
28279
28521
|
/*!
|
|
28280
28522
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28509,7 +28751,7 @@ exports.CodePointBuffer = CodePointBuffer;
|
|
|
28509
28751
|
CodePointBuffer.Builder = Builder;
|
|
28510
28752
|
})(CodePointBuffer = exports.CodePointBuffer || (exports.CodePointBuffer = {}));
|
|
28511
28753
|
|
|
28512
|
-
},{"./misc/Character":
|
|
28754
|
+
},{"./misc/Character":300,"assert":335}],187:[function(require,module,exports){
|
|
28513
28755
|
"use strict";
|
|
28514
28756
|
/*!
|
|
28515
28757
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28659,7 +28901,7 @@ __decorate([
|
|
|
28659
28901
|
], CodePointCharStream.prototype, "getText", null);
|
|
28660
28902
|
exports.CodePointCharStream = CodePointCharStream;
|
|
28661
28903
|
|
|
28662
|
-
},{"./Decorators":
|
|
28904
|
+
},{"./Decorators":192,"./IntStream":198,"./misc/Interval":304,"assert":335}],188:[function(require,module,exports){
|
|
28663
28905
|
"use strict";
|
|
28664
28906
|
/*!
|
|
28665
28907
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28889,7 +29131,7 @@ CommonToken = __decorate([
|
|
|
28889
29131
|
], CommonToken);
|
|
28890
29132
|
exports.CommonToken = CommonToken;
|
|
28891
29133
|
|
|
28892
|
-
},{"./Decorators":
|
|
29134
|
+
},{"./Decorators":192,"./Token":217,"./misc/Interval":304}],189:[function(require,module,exports){
|
|
28893
29135
|
"use strict";
|
|
28894
29136
|
/*!
|
|
28895
29137
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28953,7 +29195,7 @@ exports.CommonTokenFactory = CommonTokenFactory;
|
|
|
28953
29195
|
CommonTokenFactory.DEFAULT = new CommonTokenFactory();
|
|
28954
29196
|
})(CommonTokenFactory = exports.CommonTokenFactory || (exports.CommonTokenFactory = {}));
|
|
28955
29197
|
|
|
28956
|
-
},{"./CommonToken":
|
|
29198
|
+
},{"./CommonToken":188,"./Decorators":192,"./misc/Interval":304}],190:[function(require,module,exports){
|
|
28957
29199
|
"use strict";
|
|
28958
29200
|
/*!
|
|
28959
29201
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29080,7 +29322,7 @@ CommonTokenStream = __decorate([
|
|
|
29080
29322
|
], CommonTokenStream);
|
|
29081
29323
|
exports.CommonTokenStream = CommonTokenStream;
|
|
29082
29324
|
|
|
29083
|
-
},{"./BufferedTokenStream":
|
|
29325
|
+
},{"./BufferedTokenStream":183,"./Decorators":192,"./Token":217}],191:[function(require,module,exports){
|
|
29084
29326
|
"use strict";
|
|
29085
29327
|
/*!
|
|
29086
29328
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29114,7 +29356,7 @@ exports.ConsoleErrorListener = ConsoleErrorListener;
|
|
|
29114
29356
|
*/
|
|
29115
29357
|
ConsoleErrorListener.INSTANCE = new ConsoleErrorListener();
|
|
29116
29358
|
|
|
29117
|
-
},{}],
|
|
29359
|
+
},{}],192:[function(require,module,exports){
|
|
29118
29360
|
"use strict";
|
|
29119
29361
|
/*!
|
|
29120
29362
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29141,7 +29383,7 @@ function SuppressWarnings(options) {
|
|
|
29141
29383
|
}
|
|
29142
29384
|
exports.SuppressWarnings = SuppressWarnings;
|
|
29143
29385
|
|
|
29144
|
-
},{}],
|
|
29386
|
+
},{}],193:[function(require,module,exports){
|
|
29145
29387
|
"use strict";
|
|
29146
29388
|
/*!
|
|
29147
29389
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29955,7 +30197,7 @@ __decorate([
|
|
|
29955
30197
|
], DefaultErrorStrategy.prototype, "consumeUntil", null);
|
|
29956
30198
|
exports.DefaultErrorStrategy = DefaultErrorStrategy;
|
|
29957
30199
|
|
|
29958
|
-
},{"./Decorators":
|
|
30200
|
+
},{"./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){
|
|
29959
30201
|
"use strict";
|
|
29960
30202
|
/*!
|
|
29961
30203
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30031,7 +30273,7 @@ var Dependents;
|
|
|
30031
30273
|
Dependents[Dependents["FOLLOWING"] = 9] = "FOLLOWING";
|
|
30032
30274
|
})(Dependents = exports.Dependents || (exports.Dependents = {}));
|
|
30033
30275
|
|
|
30034
|
-
},{}],
|
|
30276
|
+
},{}],195:[function(require,module,exports){
|
|
30035
30277
|
"use strict";
|
|
30036
30278
|
/*!
|
|
30037
30279
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30179,7 +30421,7 @@ __decorate([
|
|
|
30179
30421
|
], DiagnosticErrorListener.prototype, "getConflictingAlts", null);
|
|
30180
30422
|
exports.DiagnosticErrorListener = DiagnosticErrorListener;
|
|
30181
30423
|
|
|
30182
|
-
},{"./Decorators":
|
|
30424
|
+
},{"./Decorators":192,"./misc/BitSet":299,"./misc/Interval":304}],196:[function(require,module,exports){
|
|
30183
30425
|
"use strict";
|
|
30184
30426
|
/*!
|
|
30185
30427
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30244,7 +30486,7 @@ FailedPredicateException = __decorate([
|
|
|
30244
30486
|
], FailedPredicateException);
|
|
30245
30487
|
exports.FailedPredicateException = FailedPredicateException;
|
|
30246
30488
|
|
|
30247
|
-
},{"./Decorators":
|
|
30489
|
+
},{"./Decorators":192,"./RecognitionException":211,"./atn/PredicateTransition":271}],197:[function(require,module,exports){
|
|
30248
30490
|
"use strict";
|
|
30249
30491
|
/*!
|
|
30250
30492
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30284,7 +30526,7 @@ InputMismatchException = __decorate([
|
|
|
30284
30526
|
], InputMismatchException);
|
|
30285
30527
|
exports.InputMismatchException = InputMismatchException;
|
|
30286
30528
|
|
|
30287
|
-
},{"./Decorators":
|
|
30529
|
+
},{"./Decorators":192,"./RecognitionException":211}],198:[function(require,module,exports){
|
|
30288
30530
|
"use strict";
|
|
30289
30531
|
/*!
|
|
30290
30532
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30307,7 +30549,7 @@ var IntStream;
|
|
|
30307
30549
|
IntStream.UNKNOWN_SOURCE_NAME = "<unknown>";
|
|
30308
30550
|
})(IntStream = exports.IntStream || (exports.IntStream = {}));
|
|
30309
30551
|
|
|
30310
|
-
},{}],
|
|
30552
|
+
},{}],199:[function(require,module,exports){
|
|
30311
30553
|
"use strict";
|
|
30312
30554
|
/*!
|
|
30313
30555
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30354,7 +30596,7 @@ __decorate([
|
|
|
30354
30596
|
], InterpreterRuleContext.prototype, "ruleIndex", null);
|
|
30355
30597
|
exports.InterpreterRuleContext = InterpreterRuleContext;
|
|
30356
30598
|
|
|
30357
|
-
},{"./Decorators":
|
|
30599
|
+
},{"./Decorators":192,"./ParserRuleContext":208}],200:[function(require,module,exports){
|
|
30358
30600
|
"use strict";
|
|
30359
30601
|
/*!
|
|
30360
30602
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30690,7 +30932,7 @@ __decorate([
|
|
|
30690
30932
|
], Lexer.prototype, "charPositionInLine", null);
|
|
30691
30933
|
exports.Lexer = Lexer;
|
|
30692
30934
|
|
|
30693
|
-
},{"./CommonTokenFactory":
|
|
30935
|
+
},{"./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){
|
|
30694
30936
|
"use strict";
|
|
30695
30937
|
/*!
|
|
30696
30938
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30770,7 +31012,7 @@ LexerInterpreter = __decorate([
|
|
|
30770
31012
|
], LexerInterpreter);
|
|
30771
31013
|
exports.LexerInterpreter = LexerInterpreter;
|
|
30772
31014
|
|
|
30773
|
-
},{"./Decorators":
|
|
31015
|
+
},{"./Decorators":192,"./Lexer":200,"./atn/LexerATNSimulator":250}],202:[function(require,module,exports){
|
|
30774
31016
|
"use strict";
|
|
30775
31017
|
/*!
|
|
30776
31018
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30827,7 +31069,7 @@ LexerNoViableAltException = __decorate([
|
|
|
30827
31069
|
], LexerNoViableAltException);
|
|
30828
31070
|
exports.LexerNoViableAltException = LexerNoViableAltException;
|
|
30829
31071
|
|
|
30830
|
-
},{"./Decorators":
|
|
31072
|
+
},{"./Decorators":192,"./RecognitionException":211,"./misc/Interval":304,"./misc/Utils":311}],203:[function(require,module,exports){
|
|
30831
31073
|
"use strict";
|
|
30832
31074
|
/*!
|
|
30833
31075
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31037,7 +31279,7 @@ ListTokenSource = __decorate([
|
|
|
31037
31279
|
], ListTokenSource);
|
|
31038
31280
|
exports.ListTokenSource = ListTokenSource;
|
|
31039
31281
|
|
|
31040
|
-
},{"./CommonTokenFactory":
|
|
31282
|
+
},{"./CommonTokenFactory":189,"./Decorators":192,"./Token":217}],204:[function(require,module,exports){
|
|
31041
31283
|
"use strict";
|
|
31042
31284
|
/*!
|
|
31043
31285
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31092,7 +31334,7 @@ __decorate([
|
|
|
31092
31334
|
], NoViableAltException.prototype, "_startToken", void 0);
|
|
31093
31335
|
exports.NoViableAltException = NoViableAltException;
|
|
31094
31336
|
|
|
31095
|
-
},{"./Decorators":
|
|
31337
|
+
},{"./Decorators":192,"./Parser":205,"./RecognitionException":211}],205:[function(require,module,exports){
|
|
31096
31338
|
(function (process){(function (){
|
|
31097
31339
|
"use strict";
|
|
31098
31340
|
/*!
|
|
@@ -31938,7 +32180,7 @@ __decorate([
|
|
|
31938
32180
|
exports.Parser = Parser;
|
|
31939
32181
|
|
|
31940
32182
|
}).call(this)}).call(this,require('_process'))
|
|
31941
|
-
},{"./Decorators":
|
|
32183
|
+
},{"./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){
|
|
31942
32184
|
"use strict";
|
|
31943
32185
|
/*!
|
|
31944
32186
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31946,7 +32188,7 @@ exports.Parser = Parser;
|
|
|
31946
32188
|
*/
|
|
31947
32189
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31948
32190
|
|
|
31949
|
-
},{}],
|
|
32191
|
+
},{}],207:[function(require,module,exports){
|
|
31950
32192
|
"use strict";
|
|
31951
32193
|
/*!
|
|
31952
32194
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32354,7 +32596,7 @@ ParserInterpreter = __decorate([
|
|
|
32354
32596
|
], ParserInterpreter);
|
|
32355
32597
|
exports.ParserInterpreter = ParserInterpreter;
|
|
32356
32598
|
|
|
32357
|
-
},{"./Decorators":
|
|
32599
|
+
},{"./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){
|
|
32358
32600
|
"use strict";
|
|
32359
32601
|
/*!
|
|
32360
32602
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32655,7 +32897,7 @@ __decorate([
|
|
|
32655
32897
|
], ParserRuleContext.prototype, "sourceInterval", null);
|
|
32656
32898
|
exports.ParserRuleContext = ParserRuleContext;
|
|
32657
32899
|
|
|
32658
|
-
},{"./Decorators":
|
|
32900
|
+
},{"./Decorators":192,"./RuleContext":213,"./misc/Interval":304,"./tree/ErrorNode":312,"./tree/TerminalNode":315}],209:[function(require,module,exports){
|
|
32659
32901
|
"use strict";
|
|
32660
32902
|
/*!
|
|
32661
32903
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32705,7 +32947,7 @@ __decorate([
|
|
|
32705
32947
|
], ProxyErrorListener.prototype, "syntaxError", null);
|
|
32706
32948
|
exports.ProxyErrorListener = ProxyErrorListener;
|
|
32707
32949
|
|
|
32708
|
-
},{"./Decorators":
|
|
32950
|
+
},{"./Decorators":192}],210:[function(require,module,exports){
|
|
32709
32951
|
"use strict";
|
|
32710
32952
|
/*!
|
|
32711
32953
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32764,7 +33006,7 @@ __decorate([
|
|
|
32764
33006
|
], ProxyParserErrorListener.prototype, "reportContextSensitivity", null);
|
|
32765
33007
|
exports.ProxyParserErrorListener = ProxyParserErrorListener;
|
|
32766
33008
|
|
|
32767
|
-
},{"./Decorators":
|
|
33009
|
+
},{"./Decorators":192,"./ProxyErrorListener":209}],211:[function(require,module,exports){
|
|
32768
33010
|
"use strict";
|
|
32769
33011
|
/*!
|
|
32770
33012
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32869,7 +33111,7 @@ class RecognitionException extends Error {
|
|
|
32869
33111
|
}
|
|
32870
33112
|
exports.RecognitionException = RecognitionException;
|
|
32871
33113
|
|
|
32872
|
-
},{}],
|
|
33114
|
+
},{}],212:[function(require,module,exports){
|
|
32873
33115
|
"use strict";
|
|
32874
33116
|
/*!
|
|
32875
33117
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33088,7 +33330,7 @@ __decorate([
|
|
|
33088
33330
|
], Recognizer.prototype, "getErrorListeners", null);
|
|
33089
33331
|
exports.Recognizer = Recognizer;
|
|
33090
33332
|
|
|
33091
|
-
},{"./ConsoleErrorListener":
|
|
33333
|
+
},{"./ConsoleErrorListener":191,"./Decorators":192,"./ProxyErrorListener":209,"./Token":217,"./misc/Utils":311}],213:[function(require,module,exports){
|
|
33092
33334
|
"use strict";
|
|
33093
33335
|
/*!
|
|
33094
33336
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33305,7 +33547,7 @@ __decorate([
|
|
|
33305
33547
|
], RuleContext.prototype, "toStringTree", null);
|
|
33306
33548
|
exports.RuleContext = RuleContext;
|
|
33307
33549
|
|
|
33308
|
-
},{"./Decorators":
|
|
33550
|
+
},{"./Decorators":192,"./ParserRuleContext":208,"./Recognizer":212,"./atn/ATN":225,"./misc/Interval":304,"./tree/RuleNode":314,"./tree/Trees":316}],214:[function(require,module,exports){
|
|
33309
33551
|
"use strict";
|
|
33310
33552
|
/*!
|
|
33311
33553
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33356,7 +33598,7 @@ __decorate([
|
|
|
33356
33598
|
], RuleContextWithAltNum.prototype, "altNumber", null);
|
|
33357
33599
|
exports.RuleContextWithAltNum = RuleContextWithAltNum;
|
|
33358
33600
|
|
|
33359
|
-
},{"./Decorators":
|
|
33601
|
+
},{"./Decorators":192,"./ParserRuleContext":208,"./atn/ATN":225}],215:[function(require,module,exports){
|
|
33360
33602
|
"use strict";
|
|
33361
33603
|
/*!
|
|
33362
33604
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33379,7 +33621,7 @@ function RuleDependency(dependency) {
|
|
|
33379
33621
|
}
|
|
33380
33622
|
exports.RuleDependency = RuleDependency;
|
|
33381
33623
|
|
|
33382
|
-
},{}],
|
|
33624
|
+
},{}],216:[function(require,module,exports){
|
|
33383
33625
|
"use strict";
|
|
33384
33626
|
/*!
|
|
33385
33627
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33398,7 +33640,7 @@ function RuleVersion(version) {
|
|
|
33398
33640
|
}
|
|
33399
33641
|
exports.RuleVersion = RuleVersion;
|
|
33400
33642
|
|
|
33401
|
-
},{}],
|
|
33643
|
+
},{}],217:[function(require,module,exports){
|
|
33402
33644
|
"use strict";
|
|
33403
33645
|
/*!
|
|
33404
33646
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33438,7 +33680,7 @@ var Token;
|
|
|
33438
33680
|
Token.MIN_USER_CHANNEL_VALUE = 2;
|
|
33439
33681
|
})(Token = exports.Token || (exports.Token = {}));
|
|
33440
33682
|
|
|
33441
|
-
},{"./IntStream":
|
|
33683
|
+
},{"./IntStream":198}],218:[function(require,module,exports){
|
|
33442
33684
|
"use strict";
|
|
33443
33685
|
/*!
|
|
33444
33686
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33446,7 +33688,7 @@ var Token;
|
|
|
33446
33688
|
*/
|
|
33447
33689
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33448
33690
|
|
|
33449
|
-
},{}],
|
|
33691
|
+
},{}],219:[function(require,module,exports){
|
|
33450
33692
|
"use strict";
|
|
33451
33693
|
/*!
|
|
33452
33694
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33454,7 +33696,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
33454
33696
|
*/
|
|
33455
33697
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33456
33698
|
|
|
33457
|
-
},{}],
|
|
33699
|
+
},{}],220:[function(require,module,exports){
|
|
33458
33700
|
"use strict";
|
|
33459
33701
|
/*!
|
|
33460
33702
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33462,7 +33704,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
33462
33704
|
*/
|
|
33463
33705
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33464
33706
|
|
|
33465
|
-
},{}],
|
|
33707
|
+
},{}],221:[function(require,module,exports){
|
|
33466
33708
|
"use strict";
|
|
33467
33709
|
/*!
|
|
33468
33710
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33970,7 +34212,7 @@ __decorate([
|
|
|
33970
34212
|
Decorators_1.Override
|
|
33971
34213
|
], ReplaceOp.prototype, "toString", null);
|
|
33972
34214
|
|
|
33973
|
-
},{"./Decorators":
|
|
34215
|
+
},{"./Decorators":192,"./Token":217,"./misc/Interval":304}],222:[function(require,module,exports){
|
|
33974
34216
|
"use strict";
|
|
33975
34217
|
/*!
|
|
33976
34218
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33978,7 +34220,7 @@ __decorate([
|
|
|
33978
34220
|
*/
|
|
33979
34221
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33980
34222
|
|
|
33981
|
-
},{}],
|
|
34223
|
+
},{}],223:[function(require,module,exports){
|
|
33982
34224
|
"use strict";
|
|
33983
34225
|
/*!
|
|
33984
34226
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34098,7 +34340,7 @@ __decorate([
|
|
|
34098
34340
|
], VocabularyImpl, "EMPTY_VOCABULARY", void 0);
|
|
34099
34341
|
exports.VocabularyImpl = VocabularyImpl;
|
|
34100
34342
|
|
|
34101
|
-
},{"./Decorators":
|
|
34343
|
+
},{"./Decorators":192,"./Token":217}],224:[function(require,module,exports){
|
|
34102
34344
|
"use strict";
|
|
34103
34345
|
/*!
|
|
34104
34346
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34106,7 +34348,7 @@ exports.VocabularyImpl = VocabularyImpl;
|
|
|
34106
34348
|
*/
|
|
34107
34349
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34108
34350
|
|
|
34109
|
-
},{}],
|
|
34351
|
+
},{}],225:[function(require,module,exports){
|
|
34110
34352
|
"use strict";
|
|
34111
34353
|
/*!
|
|
34112
34354
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34328,7 +34570,7 @@ exports.ATN = ATN;
|
|
|
34328
34570
|
})(ATN = exports.ATN || (exports.ATN = {}));
|
|
34329
34571
|
exports.ATN = ATN;
|
|
34330
34572
|
|
|
34331
|
-
},{"../Decorators":
|
|
34573
|
+
},{"../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){
|
|
34332
34574
|
"use strict";
|
|
34333
34575
|
/*!
|
|
34334
34576
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34853,7 +35095,7 @@ ActionSemanticContextATNConfig = __decorate([
|
|
|
34853
35095
|
__param(1, Decorators_1.NotNull), __param(2, Decorators_1.NotNull)
|
|
34854
35096
|
], ActionSemanticContextATNConfig);
|
|
34855
35097
|
|
|
34856
|
-
},{"../Decorators":
|
|
35098
|
+
},{"../Decorators":192,"../misc/Array2DHashMap":295,"../misc/MurmurHash":307,"../misc/ObjectEqualityComparator":308,"./DecisionState":245,"./PredictionContext":272,"./SemanticContext":280,"assert":335}],227:[function(require,module,exports){
|
|
34857
35099
|
"use strict";
|
|
34858
35100
|
/*!
|
|
34859
35101
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35300,7 +35542,7 @@ __decorate([
|
|
|
35300
35542
|
], ATNConfigSet.prototype, "hashCode", null);
|
|
35301
35543
|
exports.ATNConfigSet = ATNConfigSet;
|
|
35302
35544
|
|
|
35303
|
-
},{"../Decorators":
|
|
35545
|
+
},{"../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){
|
|
35304
35546
|
"use strict";
|
|
35305
35547
|
/*!
|
|
35306
35548
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35379,7 +35621,7 @@ __decorate([
|
|
|
35379
35621
|
], ATNDeserializationOptions, "defaultOptions", null);
|
|
35380
35622
|
exports.ATNDeserializationOptions = ATNDeserializationOptions;
|
|
35381
35623
|
|
|
35382
|
-
},{"../Decorators":
|
|
35624
|
+
},{"../Decorators":192}],229:[function(require,module,exports){
|
|
35383
35625
|
"use strict";
|
|
35384
35626
|
/*!
|
|
35385
35627
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36466,7 +36708,7 @@ __decorate([
|
|
|
36466
36708
|
], ATNDeserializer.prototype, "edgeFactory", null);
|
|
36467
36709
|
exports.ATNDeserializer = ATNDeserializer;
|
|
36468
36710
|
|
|
36469
|
-
},{"../Decorators":
|
|
36711
|
+
},{"../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){
|
|
36470
36712
|
"use strict";
|
|
36471
36713
|
/*!
|
|
36472
36714
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36530,7 +36772,7 @@ exports.ATNSimulator = ATNSimulator;
|
|
|
36530
36772
|
})(ATNSimulator = exports.ATNSimulator || (exports.ATNSimulator = {}));
|
|
36531
36773
|
exports.ATNSimulator = ATNSimulator;
|
|
36532
36774
|
|
|
36533
|
-
},{"../Decorators":
|
|
36775
|
+
},{"../Decorators":192,"../dfa/DFAState":292,"./ATNConfigSet":227,"./PredictionContext":272}],231:[function(require,module,exports){
|
|
36534
36776
|
"use strict";
|
|
36535
36777
|
/*!
|
|
36536
36778
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36717,7 +36959,7 @@ exports.ATNState = ATNState;
|
|
|
36717
36959
|
ATNState.INVALID_STATE_NUMBER = -1;
|
|
36718
36960
|
})(ATNState = exports.ATNState || (exports.ATNState = {}));
|
|
36719
36961
|
|
|
36720
|
-
},{"../Decorators":
|
|
36962
|
+
},{"../Decorators":192}],232:[function(require,module,exports){
|
|
36721
36963
|
"use strict";
|
|
36722
36964
|
/*!
|
|
36723
36965
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36743,7 +36985,7 @@ var ATNStateType;
|
|
|
36743
36985
|
ATNStateType[ATNStateType["LOOP_END"] = 12] = "LOOP_END";
|
|
36744
36986
|
})(ATNStateType = exports.ATNStateType || (exports.ATNStateType = {}));
|
|
36745
36987
|
|
|
36746
|
-
},{}],
|
|
36988
|
+
},{}],233:[function(require,module,exports){
|
|
36747
36989
|
"use strict";
|
|
36748
36990
|
/*!
|
|
36749
36991
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36763,7 +37005,7 @@ class AbstractPredicateTransition extends Transition_1.Transition {
|
|
|
36763
37005
|
}
|
|
36764
37006
|
exports.AbstractPredicateTransition = AbstractPredicateTransition;
|
|
36765
37007
|
|
|
36766
|
-
},{"./Transition":
|
|
37008
|
+
},{"./Transition":287}],234:[function(require,module,exports){
|
|
36767
37009
|
"use strict";
|
|
36768
37010
|
/*!
|
|
36769
37011
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36819,7 +37061,7 @@ ActionTransition = __decorate([
|
|
|
36819
37061
|
], ActionTransition);
|
|
36820
37062
|
exports.ActionTransition = ActionTransition;
|
|
36821
37063
|
|
|
36822
|
-
},{"../Decorators":
|
|
37064
|
+
},{"../Decorators":192,"./Transition":287}],235:[function(require,module,exports){
|
|
36823
37065
|
"use strict";
|
|
36824
37066
|
/*!
|
|
36825
37067
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36906,7 +37148,7 @@ AmbiguityInfo = __decorate([
|
|
|
36906
37148
|
], AmbiguityInfo);
|
|
36907
37149
|
exports.AmbiguityInfo = AmbiguityInfo;
|
|
36908
37150
|
|
|
36909
|
-
},{"../Decorators":
|
|
37151
|
+
},{"../Decorators":192,"./DecisionEventInfo":243}],236:[function(require,module,exports){
|
|
36910
37152
|
"use strict";
|
|
36911
37153
|
/*!
|
|
36912
37154
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36964,7 +37206,7 @@ AtomTransition = __decorate([
|
|
|
36964
37206
|
], AtomTransition);
|
|
36965
37207
|
exports.AtomTransition = AtomTransition;
|
|
36966
37208
|
|
|
36967
|
-
},{"../Decorators":
|
|
37209
|
+
},{"../Decorators":192,"../misc/IntervalSet":305,"./Transition":287}],237:[function(require,module,exports){
|
|
36968
37210
|
"use strict";
|
|
36969
37211
|
/*!
|
|
36970
37212
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36996,7 +37238,7 @@ __decorate([
|
|
|
36996
37238
|
], BasicBlockStartState.prototype, "stateType", null);
|
|
36997
37239
|
exports.BasicBlockStartState = BasicBlockStartState;
|
|
36998
37240
|
|
|
36999
|
-
},{"../Decorators":
|
|
37241
|
+
},{"../Decorators":192,"./ATNStateType":232,"./BlockStartState":240}],238:[function(require,module,exports){
|
|
37000
37242
|
"use strict";
|
|
37001
37243
|
/*!
|
|
37002
37244
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37028,7 +37270,7 @@ __decorate([
|
|
|
37028
37270
|
], BasicState.prototype, "stateType", null);
|
|
37029
37271
|
exports.BasicState = BasicState;
|
|
37030
37272
|
|
|
37031
|
-
},{"../Decorators":
|
|
37273
|
+
},{"../Decorators":192,"./ATNState":231,"./ATNStateType":232}],239:[function(require,module,exports){
|
|
37032
37274
|
"use strict";
|
|
37033
37275
|
/*!
|
|
37034
37276
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37057,7 +37299,7 @@ __decorate([
|
|
|
37057
37299
|
], BlockEndState.prototype, "stateType", null);
|
|
37058
37300
|
exports.BlockEndState = BlockEndState;
|
|
37059
37301
|
|
|
37060
|
-
},{"../Decorators":
|
|
37302
|
+
},{"../Decorators":192,"./ATNState":231,"./ATNStateType":232}],240:[function(require,module,exports){
|
|
37061
37303
|
"use strict";
|
|
37062
37304
|
/*!
|
|
37063
37305
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37071,7 +37313,7 @@ class BlockStartState extends DecisionState_1.DecisionState {
|
|
|
37071
37313
|
}
|
|
37072
37314
|
exports.BlockStartState = BlockStartState;
|
|
37073
37315
|
|
|
37074
|
-
},{"./DecisionState":
|
|
37316
|
+
},{"./DecisionState":245}],241:[function(require,module,exports){
|
|
37075
37317
|
"use strict";
|
|
37076
37318
|
/*!
|
|
37077
37319
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37141,7 +37383,7 @@ __decorate([
|
|
|
37141
37383
|
], ConflictInfo.prototype, "hashCode", null);
|
|
37142
37384
|
exports.ConflictInfo = ConflictInfo;
|
|
37143
37385
|
|
|
37144
|
-
},{"../Decorators":
|
|
37386
|
+
},{"../Decorators":192,"../misc/Utils":311}],242:[function(require,module,exports){
|
|
37145
37387
|
"use strict";
|
|
37146
37388
|
/*!
|
|
37147
37389
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37201,7 +37443,7 @@ ContextSensitivityInfo = __decorate([
|
|
|
37201
37443
|
], ContextSensitivityInfo);
|
|
37202
37444
|
exports.ContextSensitivityInfo = ContextSensitivityInfo;
|
|
37203
37445
|
|
|
37204
|
-
},{"../Decorators":
|
|
37446
|
+
},{"../Decorators":192,"./DecisionEventInfo":243}],243:[function(require,module,exports){
|
|
37205
37447
|
"use strict";
|
|
37206
37448
|
/*!
|
|
37207
37449
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37253,7 +37495,7 @@ DecisionEventInfo = __decorate([
|
|
|
37253
37495
|
], DecisionEventInfo);
|
|
37254
37496
|
exports.DecisionEventInfo = DecisionEventInfo;
|
|
37255
37497
|
|
|
37256
|
-
},{"../Decorators":
|
|
37498
|
+
},{"../Decorators":192}],244:[function(require,module,exports){
|
|
37257
37499
|
"use strict";
|
|
37258
37500
|
/*!
|
|
37259
37501
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37466,7 +37708,7 @@ __decorate([
|
|
|
37466
37708
|
], DecisionInfo.prototype, "toString", null);
|
|
37467
37709
|
exports.DecisionInfo = DecisionInfo;
|
|
37468
37710
|
|
|
37469
|
-
},{"../Decorators":
|
|
37711
|
+
},{"../Decorators":192}],245:[function(require,module,exports){
|
|
37470
37712
|
"use strict";
|
|
37471
37713
|
/*!
|
|
37472
37714
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37486,7 +37728,7 @@ class DecisionState extends ATNState_1.ATNState {
|
|
|
37486
37728
|
}
|
|
37487
37729
|
exports.DecisionState = DecisionState;
|
|
37488
37730
|
|
|
37489
|
-
},{"./ATNState":
|
|
37731
|
+
},{"./ATNState":231}],246:[function(require,module,exports){
|
|
37490
37732
|
"use strict";
|
|
37491
37733
|
/*!
|
|
37492
37734
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37552,7 +37794,7 @@ EpsilonTransition = __decorate([
|
|
|
37552
37794
|
], EpsilonTransition);
|
|
37553
37795
|
exports.EpsilonTransition = EpsilonTransition;
|
|
37554
37796
|
|
|
37555
|
-
},{"../Decorators":
|
|
37797
|
+
},{"../Decorators":192,"./Transition":287}],247:[function(require,module,exports){
|
|
37556
37798
|
"use strict";
|
|
37557
37799
|
/*!
|
|
37558
37800
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37605,7 +37847,7 @@ ErrorInfo = __decorate([
|
|
|
37605
37847
|
], ErrorInfo);
|
|
37606
37848
|
exports.ErrorInfo = ErrorInfo;
|
|
37607
37849
|
|
|
37608
|
-
},{"../Decorators":
|
|
37850
|
+
},{"../Decorators":192,"./DecisionEventInfo":243}],248:[function(require,module,exports){
|
|
37609
37851
|
"use strict";
|
|
37610
37852
|
/*!
|
|
37611
37853
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37636,7 +37878,7 @@ __decorate([
|
|
|
37636
37878
|
], InvalidState.prototype, "stateType", null);
|
|
37637
37879
|
exports.InvalidState = InvalidState;
|
|
37638
37880
|
|
|
37639
|
-
},{"../Decorators":
|
|
37881
|
+
},{"../Decorators":192,"./ATNStateType":232,"./BasicState":238}],249:[function(require,module,exports){
|
|
37640
37882
|
"use strict";
|
|
37641
37883
|
/*!
|
|
37642
37884
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37858,7 +38100,7 @@ LL1Analyzer = __decorate([
|
|
|
37858
38100
|
], LL1Analyzer);
|
|
37859
38101
|
exports.LL1Analyzer = LL1Analyzer;
|
|
37860
38102
|
|
|
37861
|
-
},{"../Decorators":
|
|
38103
|
+
},{"../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){
|
|
37862
38104
|
"use strict";
|
|
37863
38105
|
/*!
|
|
37864
38106
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38575,7 +38817,7 @@ exports.LexerATNSimulator = LexerATNSimulator;
|
|
|
38575
38817
|
})(LexerATNSimulator = exports.LexerATNSimulator || (exports.LexerATNSimulator = {}));
|
|
38576
38818
|
exports.LexerATNSimulator = LexerATNSimulator;
|
|
38577
38819
|
|
|
38578
|
-
},{"../Decorators":
|
|
38820
|
+
},{"../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){
|
|
38579
38821
|
"use strict";
|
|
38580
38822
|
/*!
|
|
38581
38823
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38776,7 +39018,7 @@ LexerActionExecutor = __decorate([
|
|
|
38776
39018
|
], LexerActionExecutor);
|
|
38777
39019
|
exports.LexerActionExecutor = LexerActionExecutor;
|
|
38778
39020
|
|
|
38779
|
-
},{"../Decorators":
|
|
39021
|
+
},{"../Decorators":192,"../misc/ArrayEqualityComparator":297,"../misc/MurmurHash":307,"./LexerIndexedCustomAction":254}],252:[function(require,module,exports){
|
|
38780
39022
|
"use strict";
|
|
38781
39023
|
/*!
|
|
38782
39024
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38881,7 +39123,7 @@ __decorate([
|
|
|
38881
39123
|
], LexerChannelAction.prototype, "toString", null);
|
|
38882
39124
|
exports.LexerChannelAction = LexerChannelAction;
|
|
38883
39125
|
|
|
38884
|
-
},{"../Decorators":
|
|
39126
|
+
},{"../Decorators":192,"../misc/MurmurHash":307}],253:[function(require,module,exports){
|
|
38885
39127
|
"use strict";
|
|
38886
39128
|
/*!
|
|
38887
39129
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39010,7 +39252,7 @@ __decorate([
|
|
|
39010
39252
|
], LexerCustomAction.prototype, "equals", null);
|
|
39011
39253
|
exports.LexerCustomAction = LexerCustomAction;
|
|
39012
39254
|
|
|
39013
|
-
},{"../Decorators":
|
|
39255
|
+
},{"../Decorators":192,"../misc/MurmurHash":307}],254:[function(require,module,exports){
|
|
39014
39256
|
"use strict";
|
|
39015
39257
|
/*!
|
|
39016
39258
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39145,7 +39387,7 @@ LexerIndexedCustomAction = __decorate([
|
|
|
39145
39387
|
], LexerIndexedCustomAction);
|
|
39146
39388
|
exports.LexerIndexedCustomAction = LexerIndexedCustomAction;
|
|
39147
39389
|
|
|
39148
|
-
},{"../Decorators":
|
|
39390
|
+
},{"../Decorators":192,"../misc/MurmurHash":307}],255:[function(require,module,exports){
|
|
39149
39391
|
"use strict";
|
|
39150
39392
|
/*!
|
|
39151
39393
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39250,7 +39492,7 @@ __decorate([
|
|
|
39250
39492
|
], LexerModeAction.prototype, "toString", null);
|
|
39251
39493
|
exports.LexerModeAction = LexerModeAction;
|
|
39252
39494
|
|
|
39253
|
-
},{"../Decorators":
|
|
39495
|
+
},{"../Decorators":192,"../misc/MurmurHash":307}],256:[function(require,module,exports){
|
|
39254
39496
|
"use strict";
|
|
39255
39497
|
/*!
|
|
39256
39498
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39346,7 +39588,7 @@ exports.LexerMoreAction = LexerMoreAction;
|
|
|
39346
39588
|
LexerMoreAction.INSTANCE = new LexerMoreAction();
|
|
39347
39589
|
})(LexerMoreAction = exports.LexerMoreAction || (exports.LexerMoreAction = {}));
|
|
39348
39590
|
|
|
39349
|
-
},{"../Decorators":
|
|
39591
|
+
},{"../Decorators":192,"../misc/MurmurHash":307}],257:[function(require,module,exports){
|
|
39350
39592
|
"use strict";
|
|
39351
39593
|
/*!
|
|
39352
39594
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39442,7 +39684,7 @@ exports.LexerPopModeAction = LexerPopModeAction;
|
|
|
39442
39684
|
LexerPopModeAction.INSTANCE = new LexerPopModeAction();
|
|
39443
39685
|
})(LexerPopModeAction = exports.LexerPopModeAction || (exports.LexerPopModeAction = {}));
|
|
39444
39686
|
|
|
39445
|
-
},{"../Decorators":
|
|
39687
|
+
},{"../Decorators":192,"../misc/MurmurHash":307}],258:[function(require,module,exports){
|
|
39446
39688
|
"use strict";
|
|
39447
39689
|
/*!
|
|
39448
39690
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39547,7 +39789,7 @@ __decorate([
|
|
|
39547
39789
|
], LexerPushModeAction.prototype, "toString", null);
|
|
39548
39790
|
exports.LexerPushModeAction = LexerPushModeAction;
|
|
39549
39791
|
|
|
39550
|
-
},{"../Decorators":
|
|
39792
|
+
},{"../Decorators":192,"../misc/MurmurHash":307}],259:[function(require,module,exports){
|
|
39551
39793
|
"use strict";
|
|
39552
39794
|
/*!
|
|
39553
39795
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39643,7 +39885,7 @@ exports.LexerSkipAction = LexerSkipAction;
|
|
|
39643
39885
|
LexerSkipAction.INSTANCE = new LexerSkipAction();
|
|
39644
39886
|
})(LexerSkipAction = exports.LexerSkipAction || (exports.LexerSkipAction = {}));
|
|
39645
39887
|
|
|
39646
|
-
},{"../Decorators":
|
|
39888
|
+
},{"../Decorators":192,"../misc/MurmurHash":307}],260:[function(require,module,exports){
|
|
39647
39889
|
"use strict";
|
|
39648
39890
|
/*!
|
|
39649
39891
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39747,7 +39989,7 @@ __decorate([
|
|
|
39747
39989
|
], LexerTypeAction.prototype, "toString", null);
|
|
39748
39990
|
exports.LexerTypeAction = LexerTypeAction;
|
|
39749
39991
|
|
|
39750
|
-
},{"../Decorators":
|
|
39992
|
+
},{"../Decorators":192,"../misc/MurmurHash":307}],261:[function(require,module,exports){
|
|
39751
39993
|
"use strict";
|
|
39752
39994
|
/*!
|
|
39753
39995
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39799,7 +40041,7 @@ LookaheadEventInfo = __decorate([
|
|
|
39799
40041
|
], LookaheadEventInfo);
|
|
39800
40042
|
exports.LookaheadEventInfo = LookaheadEventInfo;
|
|
39801
40043
|
|
|
39802
|
-
},{"../Decorators":
|
|
40044
|
+
},{"../Decorators":192,"./DecisionEventInfo":243}],262:[function(require,module,exports){
|
|
39803
40045
|
"use strict";
|
|
39804
40046
|
/*!
|
|
39805
40047
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39828,7 +40070,7 @@ __decorate([
|
|
|
39828
40070
|
], LoopEndState.prototype, "stateType", null);
|
|
39829
40071
|
exports.LoopEndState = LoopEndState;
|
|
39830
40072
|
|
|
39831
|
-
},{"../Decorators":
|
|
40073
|
+
},{"../Decorators":192,"./ATNState":231,"./ATNStateType":232}],263:[function(require,module,exports){
|
|
39832
40074
|
"use strict";
|
|
39833
40075
|
/*!
|
|
39834
40076
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39877,7 +40119,7 @@ NotSetTransition = __decorate([
|
|
|
39877
40119
|
], NotSetTransition);
|
|
39878
40120
|
exports.NotSetTransition = NotSetTransition;
|
|
39879
40121
|
|
|
39880
|
-
},{"../Decorators":
|
|
40122
|
+
},{"../Decorators":192,"./SetTransition":281}],264:[function(require,module,exports){
|
|
39881
40123
|
"use strict";
|
|
39882
40124
|
/*!
|
|
39883
40125
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39932,7 +40174,7 @@ __decorate([
|
|
|
39932
40174
|
], OrderedATNConfigSet.prototype, "canMerge", null);
|
|
39933
40175
|
exports.OrderedATNConfigSet = OrderedATNConfigSet;
|
|
39934
40176
|
|
|
39935
|
-
},{"../Decorators":
|
|
40177
|
+
},{"../Decorators":192,"./ATNConfigSet":227}],265:[function(require,module,exports){
|
|
39936
40178
|
"use strict";
|
|
39937
40179
|
/*!
|
|
39938
40180
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40094,7 +40336,7 @@ ParseInfo = __decorate([
|
|
|
40094
40336
|
], ParseInfo);
|
|
40095
40337
|
exports.ParseInfo = ParseInfo;
|
|
40096
40338
|
|
|
40097
|
-
},{"../Decorators":
|
|
40339
|
+
},{"../Decorators":192}],266:[function(require,module,exports){
|
|
40098
40340
|
"use strict";
|
|
40099
40341
|
/*!
|
|
40100
40342
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42367,7 +42609,7 @@ ParserATNSimulator = __decorate([
|
|
|
42367
42609
|
], ParserATNSimulator);
|
|
42368
42610
|
exports.ParserATNSimulator = ParserATNSimulator;
|
|
42369
42611
|
|
|
42370
|
-
},{"../Decorators":
|
|
42612
|
+
},{"../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){
|
|
42371
42613
|
"use strict";
|
|
42372
42614
|
/*!
|
|
42373
42615
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42400,7 +42642,7 @@ __decorate([
|
|
|
42400
42642
|
], PlusBlockStartState.prototype, "stateType", null);
|
|
42401
42643
|
exports.PlusBlockStartState = PlusBlockStartState;
|
|
42402
42644
|
|
|
42403
|
-
},{"../Decorators":
|
|
42645
|
+
},{"../Decorators":192,"./ATNStateType":232,"./BlockStartState":240}],268:[function(require,module,exports){
|
|
42404
42646
|
"use strict";
|
|
42405
42647
|
/*!
|
|
42406
42648
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42431,7 +42673,7 @@ __decorate([
|
|
|
42431
42673
|
], PlusLoopbackState.prototype, "stateType", null);
|
|
42432
42674
|
exports.PlusLoopbackState = PlusLoopbackState;
|
|
42433
42675
|
|
|
42434
|
-
},{"../Decorators":
|
|
42676
|
+
},{"../Decorators":192,"./ATNStateType":232,"./DecisionState":245}],269:[function(require,module,exports){
|
|
42435
42677
|
"use strict";
|
|
42436
42678
|
/*!
|
|
42437
42679
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42494,7 +42736,7 @@ PrecedencePredicateTransition = __decorate([
|
|
|
42494
42736
|
], PrecedencePredicateTransition);
|
|
42495
42737
|
exports.PrecedencePredicateTransition = PrecedencePredicateTransition;
|
|
42496
42738
|
|
|
42497
|
-
},{"../Decorators":
|
|
42739
|
+
},{"../Decorators":192,"./AbstractPredicateTransition":233,"./SemanticContext":280}],270:[function(require,module,exports){
|
|
42498
42740
|
"use strict";
|
|
42499
42741
|
/*!
|
|
42500
42742
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42557,7 +42799,7 @@ PredicateEvalInfo = __decorate([
|
|
|
42557
42799
|
], PredicateEvalInfo);
|
|
42558
42800
|
exports.PredicateEvalInfo = PredicateEvalInfo;
|
|
42559
42801
|
|
|
42560
|
-
},{"../Decorators":
|
|
42802
|
+
},{"../Decorators":192,"./DecisionEventInfo":243}],271:[function(require,module,exports){
|
|
42561
42803
|
"use strict";
|
|
42562
42804
|
/*!
|
|
42563
42805
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42623,7 +42865,7 @@ PredicateTransition = __decorate([
|
|
|
42623
42865
|
], PredicateTransition);
|
|
42624
42866
|
exports.PredicateTransition = PredicateTransition;
|
|
42625
42867
|
|
|
42626
|
-
},{"../Decorators":
|
|
42868
|
+
},{"../Decorators":192,"./AbstractPredicateTransition":233,"./SemanticContext":280}],272:[function(require,module,exports){
|
|
42627
42869
|
"use strict";
|
|
42628
42870
|
/*!
|
|
42629
42871
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43314,7 +43556,7 @@ exports.SingletonPredictionContext = SingletonPredictionContext;
|
|
|
43314
43556
|
PredictionContext.IdentityEqualityComparator = IdentityEqualityComparator;
|
|
43315
43557
|
})(PredictionContext = exports.PredictionContext || (exports.PredictionContext = {}));
|
|
43316
43558
|
|
|
43317
|
-
},{"../Decorators":
|
|
43559
|
+
},{"../Decorators":192,"../misc/Array2DHashMap":295,"../misc/Array2DHashSet":296,"../misc/Arrays":298,"../misc/MurmurHash":307,"./PredictionContextCache":273,"assert":335}],273:[function(require,module,exports){
|
|
43318
43560
|
"use strict";
|
|
43319
43561
|
/*!
|
|
43320
43562
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43455,7 +43697,7 @@ PredictionContextCache.UNCACHED = new PredictionContextCache(false);
|
|
|
43455
43697
|
PredictionContextCache.IdentityCommutativePredictionContextOperands = IdentityCommutativePredictionContextOperands;
|
|
43456
43698
|
})(PredictionContextCache = exports.PredictionContextCache || (exports.PredictionContextCache = {}));
|
|
43457
43699
|
|
|
43458
|
-
},{"../Decorators":
|
|
43700
|
+
},{"../Decorators":192,"../misc/Array2DHashMap":295,"../misc/ObjectEqualityComparator":308,"./PredictionContext":272,"assert":335}],274:[function(require,module,exports){
|
|
43459
43701
|
"use strict";
|
|
43460
43702
|
/*!
|
|
43461
43703
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43616,7 +43858,7 @@ var PredictionMode;
|
|
|
43616
43858
|
PredictionMode.allConfigsInRuleStopStates = allConfigsInRuleStopStates;
|
|
43617
43859
|
})(PredictionMode = exports.PredictionMode || (exports.PredictionMode = {}));
|
|
43618
43860
|
|
|
43619
|
-
},{"../Decorators":
|
|
43861
|
+
},{"../Decorators":192,"../misc/Array2DHashMap":295,"../misc/MurmurHash":307,"./RuleStopState":278}],275:[function(require,module,exports){
|
|
43620
43862
|
(function (process){(function (){
|
|
43621
43863
|
"use strict";
|
|
43622
43864
|
/*!
|
|
@@ -43885,7 +44127,7 @@ __decorate([
|
|
|
43885
44127
|
exports.ProfilingATNSimulator = ProfilingATNSimulator;
|
|
43886
44128
|
|
|
43887
44129
|
}).call(this)}).call(this,require('_process'))
|
|
43888
|
-
},{"../Decorators":
|
|
44130
|
+
},{"../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){
|
|
43889
44131
|
"use strict";
|
|
43890
44132
|
/*!
|
|
43891
44133
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43943,7 +44185,7 @@ RangeTransition = __decorate([
|
|
|
43943
44185
|
], RangeTransition);
|
|
43944
44186
|
exports.RangeTransition = RangeTransition;
|
|
43945
44187
|
|
|
43946
|
-
},{"../Decorators":
|
|
44188
|
+
},{"../Decorators":192,"../misc/IntervalSet":305,"./Transition":287}],277:[function(require,module,exports){
|
|
43947
44189
|
"use strict";
|
|
43948
44190
|
/*!
|
|
43949
44191
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43976,7 +44218,7 @@ __decorate([
|
|
|
43976
44218
|
], RuleStartState.prototype, "stateType", null);
|
|
43977
44219
|
exports.RuleStartState = RuleStartState;
|
|
43978
44220
|
|
|
43979
|
-
},{"../Decorators":
|
|
44221
|
+
},{"../Decorators":192,"./ATNState":231,"./ATNStateType":232}],278:[function(require,module,exports){
|
|
43980
44222
|
"use strict";
|
|
43981
44223
|
/*!
|
|
43982
44224
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44015,7 +44257,7 @@ __decorate([
|
|
|
44015
44257
|
], RuleStopState.prototype, "stateType", null);
|
|
44016
44258
|
exports.RuleStopState = RuleStopState;
|
|
44017
44259
|
|
|
44018
|
-
},{"../Decorators":
|
|
44260
|
+
},{"../Decorators":192,"./ATNState":231,"./ATNStateType":232}],279:[function(require,module,exports){
|
|
44019
44261
|
"use strict";
|
|
44020
44262
|
/*!
|
|
44021
44263
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44071,7 +44313,7 @@ RuleTransition = __decorate([
|
|
|
44071
44313
|
], RuleTransition);
|
|
44072
44314
|
exports.RuleTransition = RuleTransition;
|
|
44073
44315
|
|
|
44074
|
-
},{"../Decorators":
|
|
44316
|
+
},{"../Decorators":192,"./Transition":287}],280:[function(require,module,exports){
|
|
44075
44317
|
"use strict";
|
|
44076
44318
|
/*!
|
|
44077
44319
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44551,7 +44793,7 @@ exports.SemanticContext = SemanticContext;
|
|
|
44551
44793
|
SemanticContext.OR = OR;
|
|
44552
44794
|
})(SemanticContext = exports.SemanticContext || (exports.SemanticContext = {}));
|
|
44553
44795
|
|
|
44554
|
-
},{"../Decorators":
|
|
44796
|
+
},{"../Decorators":192,"../misc/Array2DHashSet":296,"../misc/ArrayEqualityComparator":297,"../misc/MurmurHash":307,"../misc/ObjectEqualityComparator":308,"../misc/Utils":311}],281:[function(require,module,exports){
|
|
44555
44797
|
"use strict";
|
|
44556
44798
|
/*!
|
|
44557
44799
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44617,7 +44859,7 @@ SetTransition = __decorate([
|
|
|
44617
44859
|
], SetTransition);
|
|
44618
44860
|
exports.SetTransition = SetTransition;
|
|
44619
44861
|
|
|
44620
|
-
},{"../Decorators":
|
|
44862
|
+
},{"../Decorators":192,"../Token":217,"../misc/IntervalSet":305,"./Transition":287}],282:[function(require,module,exports){
|
|
44621
44863
|
"use strict";
|
|
44622
44864
|
/*!
|
|
44623
44865
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44653,7 +44895,7 @@ SimulatorState = __decorate([
|
|
|
44653
44895
|
], SimulatorState);
|
|
44654
44896
|
exports.SimulatorState = SimulatorState;
|
|
44655
44897
|
|
|
44656
|
-
},{"../Decorators":
|
|
44898
|
+
},{"../Decorators":192,"../ParserRuleContext":208}],283:[function(require,module,exports){
|
|
44657
44899
|
"use strict";
|
|
44658
44900
|
/*!
|
|
44659
44901
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44681,7 +44923,7 @@ __decorate([
|
|
|
44681
44923
|
], StarBlockStartState.prototype, "stateType", null);
|
|
44682
44924
|
exports.StarBlockStartState = StarBlockStartState;
|
|
44683
44925
|
|
|
44684
|
-
},{"../Decorators":
|
|
44926
|
+
},{"../Decorators":192,"./ATNStateType":232,"./BlockStartState":240}],284:[function(require,module,exports){
|
|
44685
44927
|
"use strict";
|
|
44686
44928
|
/*!
|
|
44687
44929
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44738,7 +44980,7 @@ __decorate([
|
|
|
44738
44980
|
], StarLoopEntryState.prototype, "stateType", null);
|
|
44739
44981
|
exports.StarLoopEntryState = StarLoopEntryState;
|
|
44740
44982
|
|
|
44741
|
-
},{"../Decorators":
|
|
44983
|
+
},{"../Decorators":192,"../misc/BitSet":299,"./ATNStateType":232,"./DecisionState":245}],285:[function(require,module,exports){
|
|
44742
44984
|
"use strict";
|
|
44743
44985
|
/*!
|
|
44744
44986
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44769,7 +45011,7 @@ __decorate([
|
|
|
44769
45011
|
], StarLoopbackState.prototype, "stateType", null);
|
|
44770
45012
|
exports.StarLoopbackState = StarLoopbackState;
|
|
44771
45013
|
|
|
44772
|
-
},{"../Decorators":
|
|
45014
|
+
},{"../Decorators":192,"./ATNState":231,"./ATNStateType":232}],286:[function(require,module,exports){
|
|
44773
45015
|
"use strict";
|
|
44774
45016
|
/*!
|
|
44775
45017
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44798,7 +45040,7 @@ __decorate([
|
|
|
44798
45040
|
], TokensStartState.prototype, "stateType", null);
|
|
44799
45041
|
exports.TokensStartState = TokensStartState;
|
|
44800
45042
|
|
|
44801
|
-
},{"../Decorators":
|
|
45043
|
+
},{"../Decorators":192,"./ATNStateType":232,"./DecisionState":245}],287:[function(require,module,exports){
|
|
44802
45044
|
"use strict";
|
|
44803
45045
|
/*!
|
|
44804
45046
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44872,7 +45114,7 @@ Transition = __decorate([
|
|
|
44872
45114
|
], Transition);
|
|
44873
45115
|
exports.Transition = Transition;
|
|
44874
45116
|
|
|
44875
|
-
},{"../Decorators":
|
|
45117
|
+
},{"../Decorators":192}],288:[function(require,module,exports){
|
|
44876
45118
|
"use strict";
|
|
44877
45119
|
/*!
|
|
44878
45120
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44920,7 +45162,7 @@ WildcardTransition = __decorate([
|
|
|
44920
45162
|
], WildcardTransition);
|
|
44921
45163
|
exports.WildcardTransition = WildcardTransition;
|
|
44922
45164
|
|
|
44923
|
-
},{"../Decorators":
|
|
45165
|
+
},{"../Decorators":192,"./Transition":287}],289:[function(require,module,exports){
|
|
44924
45166
|
"use strict";
|
|
44925
45167
|
/*!
|
|
44926
45168
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44962,7 +45204,7 @@ class AcceptStateInfo {
|
|
|
44962
45204
|
}
|
|
44963
45205
|
exports.AcceptStateInfo = AcceptStateInfo;
|
|
44964
45206
|
|
|
44965
|
-
},{}],
|
|
45207
|
+
},{}],290:[function(require,module,exports){
|
|
44966
45208
|
"use strict";
|
|
44967
45209
|
/*!
|
|
44968
45210
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45137,7 +45379,7 @@ DFA = __decorate([
|
|
|
45137
45379
|
], DFA);
|
|
45138
45380
|
exports.DFA = DFA;
|
|
45139
45381
|
|
|
45140
|
-
},{"../Decorators":
|
|
45382
|
+
},{"../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){
|
|
45141
45383
|
"use strict";
|
|
45142
45384
|
/*!
|
|
45143
45385
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45279,7 +45521,7 @@ __decorate([
|
|
|
45279
45521
|
], DFASerializer.prototype, "toString", null);
|
|
45280
45522
|
exports.DFASerializer = DFASerializer;
|
|
45281
45523
|
|
|
45282
|
-
},{"../Decorators":
|
|
45524
|
+
},{"../Decorators":192,"../Recognizer":212,"../VocabularyImpl":223,"../atn/ATNSimulator":230,"../atn/PredictionContext":272}],292:[function(require,module,exports){
|
|
45283
45525
|
"use strict";
|
|
45284
45526
|
/*!
|
|
45285
45527
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45510,7 +45752,7 @@ exports.DFAState = DFAState;
|
|
|
45510
45752
|
DFAState.PredPrediction = PredPrediction;
|
|
45511
45753
|
})(DFAState = exports.DFAState || (exports.DFAState = {}));
|
|
45512
45754
|
|
|
45513
|
-
},{"../Decorators":
|
|
45755
|
+
},{"../Decorators":192,"../atn/ATN":225,"../atn/PredictionContext":272,"../misc/BitSet":299,"../misc/MurmurHash":307,"assert":335}],293:[function(require,module,exports){
|
|
45514
45756
|
"use strict";
|
|
45515
45757
|
/*!
|
|
45516
45758
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45547,7 +45789,7 @@ LexerDFASerializer = __decorate([
|
|
|
45547
45789
|
], LexerDFASerializer);
|
|
45548
45790
|
exports.LexerDFASerializer = LexerDFASerializer;
|
|
45549
45791
|
|
|
45550
|
-
},{"../Decorators":
|
|
45792
|
+
},{"../Decorators":192,"../VocabularyImpl":223,"./DFASerializer":291}],294:[function(require,module,exports){
|
|
45551
45793
|
"use strict";
|
|
45552
45794
|
/*!
|
|
45553
45795
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45613,7 +45855,7 @@ __exportStar(require("./Vocabulary"), exports);
|
|
|
45613
45855
|
__exportStar(require("./VocabularyImpl"), exports);
|
|
45614
45856
|
__exportStar(require("./WritableToken"), exports);
|
|
45615
45857
|
|
|
45616
|
-
},{"./ANTLRErrorListener":
|
|
45858
|
+
},{"./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){
|
|
45617
45859
|
"use strict";
|
|
45618
45860
|
/*!
|
|
45619
45861
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45696,7 +45938,7 @@ class Array2DHashMap {
|
|
|
45696
45938
|
}
|
|
45697
45939
|
exports.Array2DHashMap = Array2DHashMap;
|
|
45698
45940
|
|
|
45699
|
-
},{"./Array2DHashSet":
|
|
45941
|
+
},{"./Array2DHashSet":296}],296:[function(require,module,exports){
|
|
45700
45942
|
"use strict";
|
|
45701
45943
|
/*!
|
|
45702
45944
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46063,7 +46305,7 @@ __decorate([
|
|
|
46063
46305
|
], Array2DHashSet.prototype, "createBuckets", null);
|
|
46064
46306
|
exports.Array2DHashSet = Array2DHashSet;
|
|
46065
46307
|
|
|
46066
|
-
},{"../Decorators":
|
|
46308
|
+
},{"../Decorators":192,"./DefaultEqualityComparator":301,"./MurmurHash":307,"assert":335}],297:[function(require,module,exports){
|
|
46067
46309
|
"use strict";
|
|
46068
46310
|
/*!
|
|
46069
46311
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46135,7 +46377,7 @@ __decorate([
|
|
|
46135
46377
|
], ArrayEqualityComparator.prototype, "equals", null);
|
|
46136
46378
|
exports.ArrayEqualityComparator = ArrayEqualityComparator;
|
|
46137
46379
|
|
|
46138
|
-
},{"../Decorators":
|
|
46380
|
+
},{"../Decorators":192,"./MurmurHash":307,"./ObjectEqualityComparator":308}],298:[function(require,module,exports){
|
|
46139
46381
|
"use strict";
|
|
46140
46382
|
/*!
|
|
46141
46383
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46205,7 +46447,7 @@ var Arrays;
|
|
|
46205
46447
|
Arrays.toString = toString;
|
|
46206
46448
|
})(Arrays = exports.Arrays || (exports.Arrays = {}));
|
|
46207
46449
|
|
|
46208
|
-
},{}],
|
|
46450
|
+
},{}],299:[function(require,module,exports){
|
|
46209
46451
|
"use strict";
|
|
46210
46452
|
/*!
|
|
46211
46453
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46877,7 +47119,7 @@ class BitSetIterator {
|
|
|
46877
47119
|
[Symbol.iterator]() { return this; }
|
|
46878
47120
|
}
|
|
46879
47121
|
|
|
46880
|
-
},{"./MurmurHash":
|
|
47122
|
+
},{"./MurmurHash":307,"util":388}],300:[function(require,module,exports){
|
|
46881
47123
|
"use strict";
|
|
46882
47124
|
/*!
|
|
46883
47125
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46898,7 +47140,7 @@ function isSupplementaryCodePoint(ch) {
|
|
|
46898
47140
|
}
|
|
46899
47141
|
exports.isSupplementaryCodePoint = isSupplementaryCodePoint;
|
|
46900
47142
|
|
|
46901
|
-
},{}],
|
|
47143
|
+
},{}],301:[function(require,module,exports){
|
|
46902
47144
|
"use strict";
|
|
46903
47145
|
/*!
|
|
46904
47146
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46969,7 +47211,7 @@ __decorate([
|
|
|
46969
47211
|
], DefaultEqualityComparator.prototype, "equals", null);
|
|
46970
47212
|
exports.DefaultEqualityComparator = DefaultEqualityComparator;
|
|
46971
47213
|
|
|
46972
|
-
},{"../Decorators":
|
|
47214
|
+
},{"../Decorators":192,"./MurmurHash":307,"./ObjectEqualityComparator":308}],302:[function(require,module,exports){
|
|
46973
47215
|
"use strict";
|
|
46974
47216
|
/*!
|
|
46975
47217
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47263,7 +47505,7 @@ __decorate([
|
|
|
47263
47505
|
], IntegerList.prototype, "toString", null);
|
|
47264
47506
|
exports.IntegerList = IntegerList;
|
|
47265
47507
|
|
|
47266
|
-
},{"../Decorators":
|
|
47508
|
+
},{"../Decorators":192,"./Arrays":298}],303:[function(require,module,exports){
|
|
47267
47509
|
"use strict";
|
|
47268
47510
|
/*!
|
|
47269
47511
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47293,7 +47535,7 @@ class IntegerStack extends IntegerList_1.IntegerList {
|
|
|
47293
47535
|
}
|
|
47294
47536
|
exports.IntegerStack = IntegerStack;
|
|
47295
47537
|
|
|
47296
|
-
},{"./IntegerList":
|
|
47538
|
+
},{"./IntegerList":302}],304:[function(require,module,exports){
|
|
47297
47539
|
"use strict";
|
|
47298
47540
|
/*!
|
|
47299
47541
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47436,7 +47678,7 @@ __decorate([
|
|
|
47436
47678
|
], Interval.prototype, "toString", null);
|
|
47437
47679
|
exports.Interval = Interval;
|
|
47438
47680
|
|
|
47439
|
-
},{"../Decorators":
|
|
47681
|
+
},{"../Decorators":192}],305:[function(require,module,exports){
|
|
47440
47682
|
"use strict";
|
|
47441
47683
|
/*!
|
|
47442
47684
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48082,7 +48324,7 @@ __decorate([
|
|
|
48082
48324
|
], IntervalSet, "subtract", null);
|
|
48083
48325
|
exports.IntervalSet = IntervalSet;
|
|
48084
48326
|
|
|
48085
|
-
},{"../Decorators":
|
|
48327
|
+
},{"../Decorators":192,"../Lexer":200,"../Token":217,"./ArrayEqualityComparator":297,"./IntegerList":302,"./Interval":304,"./MurmurHash":307}],306:[function(require,module,exports){
|
|
48086
48328
|
"use strict";
|
|
48087
48329
|
/*!
|
|
48088
48330
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48115,7 +48357,7 @@ class MultiMap extends Map {
|
|
|
48115
48357
|
}
|
|
48116
48358
|
exports.MultiMap = MultiMap;
|
|
48117
48359
|
|
|
48118
|
-
},{}],
|
|
48360
|
+
},{}],307:[function(require,module,exports){
|
|
48119
48361
|
"use strict";
|
|
48120
48362
|
/*!
|
|
48121
48363
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48230,7 +48472,7 @@ var MurmurHash;
|
|
|
48230
48472
|
}
|
|
48231
48473
|
})(MurmurHash = exports.MurmurHash || (exports.MurmurHash = {}));
|
|
48232
48474
|
|
|
48233
|
-
},{}],
|
|
48475
|
+
},{}],308:[function(require,module,exports){
|
|
48234
48476
|
"use strict";
|
|
48235
48477
|
/*!
|
|
48236
48478
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48289,7 +48531,7 @@ __decorate([
|
|
|
48289
48531
|
], ObjectEqualityComparator.prototype, "equals", null);
|
|
48290
48532
|
exports.ObjectEqualityComparator = ObjectEqualityComparator;
|
|
48291
48533
|
|
|
48292
|
-
},{"../Decorators":
|
|
48534
|
+
},{"../Decorators":192}],309:[function(require,module,exports){
|
|
48293
48535
|
"use strict";
|
|
48294
48536
|
/*!
|
|
48295
48537
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48318,7 +48560,7 @@ class ParseCancellationException extends Error {
|
|
|
48318
48560
|
}
|
|
48319
48561
|
exports.ParseCancellationException = ParseCancellationException;
|
|
48320
48562
|
|
|
48321
|
-
},{}],
|
|
48563
|
+
},{}],310:[function(require,module,exports){
|
|
48322
48564
|
"use strict";
|
|
48323
48565
|
/*!
|
|
48324
48566
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48372,7 +48614,7 @@ class UUID {
|
|
|
48372
48614
|
}
|
|
48373
48615
|
exports.UUID = UUID;
|
|
48374
48616
|
|
|
48375
|
-
},{"./MurmurHash":
|
|
48617
|
+
},{"./MurmurHash":307}],311:[function(require,module,exports){
|
|
48376
48618
|
"use strict";
|
|
48377
48619
|
/*!
|
|
48378
48620
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48547,7 +48789,7 @@ exports.toCharArray = toCharArray;
|
|
|
48547
48789
|
// return s;
|
|
48548
48790
|
// }
|
|
48549
48791
|
|
|
48550
|
-
},{}],
|
|
48792
|
+
},{}],312:[function(require,module,exports){
|
|
48551
48793
|
"use strict";
|
|
48552
48794
|
/*!
|
|
48553
48795
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48583,7 +48825,7 @@ __decorate([
|
|
|
48583
48825
|
], ErrorNode.prototype, "accept", null);
|
|
48584
48826
|
exports.ErrorNode = ErrorNode;
|
|
48585
48827
|
|
|
48586
|
-
},{"../Decorators":
|
|
48828
|
+
},{"../Decorators":192,"./TerminalNode":315}],313:[function(require,module,exports){
|
|
48587
48829
|
"use strict";
|
|
48588
48830
|
/*!
|
|
48589
48831
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48688,7 +48930,7 @@ exports.ParseTreeWalker = ParseTreeWalker;
|
|
|
48688
48930
|
ParseTreeWalker.DEFAULT = new ParseTreeWalker();
|
|
48689
48931
|
})(ParseTreeWalker = exports.ParseTreeWalker || (exports.ParseTreeWalker = {}));
|
|
48690
48932
|
|
|
48691
|
-
},{"./ErrorNode":
|
|
48933
|
+
},{"./ErrorNode":312,"./RuleNode":314,"./TerminalNode":315}],314:[function(require,module,exports){
|
|
48692
48934
|
"use strict";
|
|
48693
48935
|
/*!
|
|
48694
48936
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48700,7 +48942,7 @@ class RuleNode {
|
|
|
48700
48942
|
}
|
|
48701
48943
|
exports.RuleNode = RuleNode;
|
|
48702
48944
|
|
|
48703
|
-
},{}],
|
|
48945
|
+
},{}],315:[function(require,module,exports){
|
|
48704
48946
|
"use strict";
|
|
48705
48947
|
/*!
|
|
48706
48948
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48792,7 +49034,7 @@ __decorate([
|
|
|
48792
49034
|
], TerminalNode.prototype, "toString", null);
|
|
48793
49035
|
exports.TerminalNode = TerminalNode;
|
|
48794
49036
|
|
|
48795
|
-
},{"../Decorators":
|
|
49037
|
+
},{"../Decorators":192,"../Token":217,"../misc/Interval":304}],316:[function(require,module,exports){
|
|
48796
49038
|
"use strict";
|
|
48797
49039
|
/*!
|
|
48798
49040
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49036,7 +49278,7 @@ __decorate([
|
|
|
49036
49278
|
], Trees, "getRootOfSubtreeEnclosingRegion", null);
|
|
49037
49279
|
exports.Trees = Trees;
|
|
49038
49280
|
|
|
49039
|
-
},{"../CommonToken":
|
|
49281
|
+
},{"../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){
|
|
49040
49282
|
"use strict";
|
|
49041
49283
|
/*!
|
|
49042
49284
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49060,7 +49302,7 @@ class Chunk {
|
|
|
49060
49302
|
}
|
|
49061
49303
|
exports.Chunk = Chunk;
|
|
49062
49304
|
|
|
49063
|
-
},{}],
|
|
49305
|
+
},{}],318:[function(require,module,exports){
|
|
49064
49306
|
"use strict";
|
|
49065
49307
|
/*!
|
|
49066
49308
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49240,7 +49482,7 @@ ParseTreeMatch = __decorate([
|
|
|
49240
49482
|
], ParseTreeMatch);
|
|
49241
49483
|
exports.ParseTreeMatch = ParseTreeMatch;
|
|
49242
49484
|
|
|
49243
|
-
},{"../../Decorators":
|
|
49485
|
+
},{"../../Decorators":192}],319:[function(require,module,exports){
|
|
49244
49486
|
"use strict";
|
|
49245
49487
|
/*!
|
|
49246
49488
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49398,7 +49640,7 @@ ParseTreePattern = __decorate([
|
|
|
49398
49640
|
], ParseTreePattern);
|
|
49399
49641
|
exports.ParseTreePattern = ParseTreePattern;
|
|
49400
49642
|
|
|
49401
|
-
},{"../../Decorators":
|
|
49643
|
+
},{"../../Decorators":192,"../xpath/XPath":325}],320:[function(require,module,exports){
|
|
49402
49644
|
"use strict";
|
|
49403
49645
|
/*!
|
|
49404
49646
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49876,7 +50118,7 @@ exports.ParseTreePatternMatcher = ParseTreePatternMatcher;
|
|
|
49876
50118
|
ParseTreePatternMatcher.StartRuleDoesNotConsumeFullPattern = StartRuleDoesNotConsumeFullPattern;
|
|
49877
50119
|
})(ParseTreePatternMatcher = exports.ParseTreePatternMatcher || (exports.ParseTreePatternMatcher = {}));
|
|
49878
50120
|
|
|
49879
|
-
},{"../../BailErrorStrategy":
|
|
50121
|
+
},{"../../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){
|
|
49880
50122
|
"use strict";
|
|
49881
50123
|
/*!
|
|
49882
50124
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50074,7 +50316,7 @@ RuleTagToken = __decorate([
|
|
|
50074
50316
|
], RuleTagToken);
|
|
50075
50317
|
exports.RuleTagToken = RuleTagToken;
|
|
50076
50318
|
|
|
50077
|
-
},{"../../Decorators":
|
|
50319
|
+
},{"../../Decorators":192,"../../Token":217}],322:[function(require,module,exports){
|
|
50078
50320
|
"use strict";
|
|
50079
50321
|
/*!
|
|
50080
50322
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50161,7 +50403,7 @@ __decorate([
|
|
|
50161
50403
|
], TagChunk.prototype, "toString", null);
|
|
50162
50404
|
exports.TagChunk = TagChunk;
|
|
50163
50405
|
|
|
50164
|
-
},{"../../Decorators":
|
|
50406
|
+
},{"../../Decorators":192,"./Chunk":317}],323:[function(require,module,exports){
|
|
50165
50407
|
"use strict";
|
|
50166
50408
|
/*!
|
|
50167
50409
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50231,7 +50473,7 @@ TextChunk = __decorate([
|
|
|
50231
50473
|
], TextChunk);
|
|
50232
50474
|
exports.TextChunk = TextChunk;
|
|
50233
50475
|
|
|
50234
|
-
},{"../../Decorators":
|
|
50476
|
+
},{"../../Decorators":192,"./Chunk":317}],324:[function(require,module,exports){
|
|
50235
50477
|
"use strict";
|
|
50236
50478
|
/*!
|
|
50237
50479
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50326,7 +50568,7 @@ TokenTagToken = __decorate([
|
|
|
50326
50568
|
], TokenTagToken);
|
|
50327
50569
|
exports.TokenTagToken = TokenTagToken;
|
|
50328
50570
|
|
|
50329
|
-
},{"../../CommonToken":
|
|
50571
|
+
},{"../../CommonToken":188,"../../Decorators":192}],325:[function(require,module,exports){
|
|
50330
50572
|
"use strict";
|
|
50331
50573
|
/*!
|
|
50332
50574
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50523,7 +50765,7 @@ exports.XPath = XPath;
|
|
|
50523
50765
|
XPath.WILDCARD = "*"; // word not operator/separator
|
|
50524
50766
|
XPath.NOT = "!"; // word for invert operator
|
|
50525
50767
|
|
|
50526
|
-
},{"../../CharStreams":
|
|
50768
|
+
},{"../../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){
|
|
50527
50769
|
"use strict";
|
|
50528
50770
|
/*!
|
|
50529
50771
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50558,7 +50800,7 @@ __decorate([
|
|
|
50558
50800
|
], XPathElement.prototype, "toString", null);
|
|
50559
50801
|
exports.XPathElement = XPathElement;
|
|
50560
50802
|
|
|
50561
|
-
},{"../../Decorators":
|
|
50803
|
+
},{"../../Decorators":192}],327:[function(require,module,exports){
|
|
50562
50804
|
"use strict";
|
|
50563
50805
|
// Generated from XPathLexer.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
50564
50806
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -51033,7 +51275,7 @@ XPathLexer._serializedATN = Utils.join([
|
|
|
51033
51275
|
XPathLexer._serializedATNSegment1,
|
|
51034
51276
|
], "");
|
|
51035
51277
|
|
|
51036
|
-
},{"../../Lexer":
|
|
51278
|
+
},{"../../Lexer":200,"../../VocabularyImpl":223,"../../atn/ATNDeserializer":229,"../../atn/LexerATNSimulator":250,"../../misc/Utils":311}],328:[function(require,module,exports){
|
|
51037
51279
|
"use strict";
|
|
51038
51280
|
/*!
|
|
51039
51281
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51058,7 +51300,7 @@ __decorate([
|
|
|
51058
51300
|
], XPathLexerErrorListener.prototype, "syntaxError", null);
|
|
51059
51301
|
exports.XPathLexerErrorListener = XPathLexerErrorListener;
|
|
51060
51302
|
|
|
51061
|
-
},{"../../Decorators":
|
|
51303
|
+
},{"../../Decorators":192}],329:[function(require,module,exports){
|
|
51062
51304
|
"use strict";
|
|
51063
51305
|
/*!
|
|
51064
51306
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51092,7 +51334,7 @@ __decorate([
|
|
|
51092
51334
|
], XPathRuleAnywhereElement.prototype, "evaluate", null);
|
|
51093
51335
|
exports.XPathRuleAnywhereElement = XPathRuleAnywhereElement;
|
|
51094
51336
|
|
|
51095
|
-
},{"../../Decorators":
|
|
51337
|
+
},{"../../Decorators":192,"../Trees":316,"./XPathElement":326}],330:[function(require,module,exports){
|
|
51096
51338
|
"use strict";
|
|
51097
51339
|
/*!
|
|
51098
51340
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51135,7 +51377,7 @@ __decorate([
|
|
|
51135
51377
|
], XPathRuleElement.prototype, "evaluate", null);
|
|
51136
51378
|
exports.XPathRuleElement = XPathRuleElement;
|
|
51137
51379
|
|
|
51138
|
-
},{"../../Decorators":
|
|
51380
|
+
},{"../../Decorators":192,"../../ParserRuleContext":208,"../Trees":316,"./XPathElement":326}],331:[function(require,module,exports){
|
|
51139
51381
|
"use strict";
|
|
51140
51382
|
/*!
|
|
51141
51383
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51167,7 +51409,7 @@ __decorate([
|
|
|
51167
51409
|
], XPathTokenAnywhereElement.prototype, "evaluate", null);
|
|
51168
51410
|
exports.XPathTokenAnywhereElement = XPathTokenAnywhereElement;
|
|
51169
51411
|
|
|
51170
|
-
},{"../../Decorators":
|
|
51412
|
+
},{"../../Decorators":192,"../Trees":316,"./XPathElement":326}],332:[function(require,module,exports){
|
|
51171
51413
|
"use strict";
|
|
51172
51414
|
/*!
|
|
51173
51415
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51210,7 +51452,7 @@ __decorate([
|
|
|
51210
51452
|
], XPathTokenElement.prototype, "evaluate", null);
|
|
51211
51453
|
exports.XPathTokenElement = XPathTokenElement;
|
|
51212
51454
|
|
|
51213
|
-
},{"../../Decorators":
|
|
51455
|
+
},{"../../Decorators":192,"../TerminalNode":315,"../Trees":316,"./XPathElement":326}],333:[function(require,module,exports){
|
|
51214
51456
|
"use strict";
|
|
51215
51457
|
/*!
|
|
51216
51458
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51246,7 +51488,7 @@ __decorate([
|
|
|
51246
51488
|
], XPathWildcardAnywhereElement.prototype, "evaluate", null);
|
|
51247
51489
|
exports.XPathWildcardAnywhereElement = XPathWildcardAnywhereElement;
|
|
51248
51490
|
|
|
51249
|
-
},{"../../Decorators":
|
|
51491
|
+
},{"../../Decorators":192,"../Trees":316,"./XPath":325,"./XPathElement":326}],334:[function(require,module,exports){
|
|
51250
51492
|
"use strict";
|
|
51251
51493
|
/*!
|
|
51252
51494
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51286,7 +51528,7 @@ __decorate([
|
|
|
51286
51528
|
], XPathWildcardElement.prototype, "evaluate", null);
|
|
51287
51529
|
exports.XPathWildcardElement = XPathWildcardElement;
|
|
51288
51530
|
|
|
51289
|
-
},{"../../Decorators":
|
|
51531
|
+
},{"../../Decorators":192,"../Trees":316,"./XPath":325,"./XPathElement":326}],335:[function(require,module,exports){
|
|
51290
51532
|
(function (global){(function (){
|
|
51291
51533
|
'use strict';
|
|
51292
51534
|
|
|
@@ -51796,7 +52038,7 @@ var objectKeys = Object.keys || function (obj) {
|
|
|
51796
52038
|
};
|
|
51797
52039
|
|
|
51798
52040
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51799
|
-
},{"object.assign/polyfill":
|
|
52041
|
+
},{"object.assign/polyfill":381,"util/":338}],336:[function(require,module,exports){
|
|
51800
52042
|
if (typeof Object.create === 'function') {
|
|
51801
52043
|
// implementation from standard node.js 'util' module
|
|
51802
52044
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -51821,14 +52063,14 @@ if (typeof Object.create === 'function') {
|
|
|
51821
52063
|
}
|
|
51822
52064
|
}
|
|
51823
52065
|
|
|
51824
|
-
},{}],
|
|
52066
|
+
},{}],337:[function(require,module,exports){
|
|
51825
52067
|
module.exports = function isBuffer(arg) {
|
|
51826
52068
|
return arg && typeof arg === 'object'
|
|
51827
52069
|
&& typeof arg.copy === 'function'
|
|
51828
52070
|
&& typeof arg.fill === 'function'
|
|
51829
52071
|
&& typeof arg.readUInt8 === 'function';
|
|
51830
52072
|
}
|
|
51831
|
-
},{}],
|
|
52073
|
+
},{}],338:[function(require,module,exports){
|
|
51832
52074
|
(function (process,global){(function (){
|
|
51833
52075
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
51834
52076
|
//
|
|
@@ -52418,7 +52660,7 @@ function hasOwnProperty(obj, prop) {
|
|
|
52418
52660
|
}
|
|
52419
52661
|
|
|
52420
52662
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
52421
|
-
},{"./support/isBuffer":
|
|
52663
|
+
},{"./support/isBuffer":337,"_process":383,"inherits":336}],339:[function(require,module,exports){
|
|
52422
52664
|
(function (global){(function (){
|
|
52423
52665
|
'use strict';
|
|
52424
52666
|
|
|
@@ -52439,7 +52681,7 @@ module.exports = function availableTypedArrays() {
|
|
|
52439
52681
|
};
|
|
52440
52682
|
|
|
52441
52683
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
52442
|
-
},{"possible-typed-array-names":
|
|
52684
|
+
},{"possible-typed-array-names":382}],340:[function(require,module,exports){
|
|
52443
52685
|
(function (process,global){(function (){
|
|
52444
52686
|
module.exports = process.hrtime || hrtime
|
|
52445
52687
|
|
|
@@ -52470,7 +52712,7 @@ function hrtime(previousTimestamp){
|
|
|
52470
52712
|
return [seconds,nanoseconds]
|
|
52471
52713
|
}
|
|
52472
52714
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
52473
|
-
},{"_process":
|
|
52715
|
+
},{"_process":383}],341:[function(require,module,exports){
|
|
52474
52716
|
'use strict';
|
|
52475
52717
|
|
|
52476
52718
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -52487,7 +52729,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
52487
52729
|
return intrinsic;
|
|
52488
52730
|
};
|
|
52489
52731
|
|
|
52490
|
-
},{"./":
|
|
52732
|
+
},{"./":342,"get-intrinsic":345}],342:[function(require,module,exports){
|
|
52491
52733
|
'use strict';
|
|
52492
52734
|
|
|
52493
52735
|
var bind = require('function-bind');
|
|
@@ -52536,7 +52778,7 @@ if ($defineProperty) {
|
|
|
52536
52778
|
module.exports.apply = applyBind;
|
|
52537
52779
|
}
|
|
52538
52780
|
|
|
52539
|
-
},{"function-bind":
|
|
52781
|
+
},{"function-bind":344,"get-intrinsic":345}],343:[function(require,module,exports){
|
|
52540
52782
|
'use strict';
|
|
52541
52783
|
|
|
52542
52784
|
/* eslint no-invalid-this: 1 */
|
|
@@ -52590,14 +52832,14 @@ module.exports = function bind(that) {
|
|
|
52590
52832
|
return bound;
|
|
52591
52833
|
};
|
|
52592
52834
|
|
|
52593
|
-
},{}],
|
|
52835
|
+
},{}],344:[function(require,module,exports){
|
|
52594
52836
|
'use strict';
|
|
52595
52837
|
|
|
52596
52838
|
var implementation = require('./implementation');
|
|
52597
52839
|
|
|
52598
52840
|
module.exports = Function.prototype.bind || implementation;
|
|
52599
52841
|
|
|
52600
|
-
},{"./implementation":
|
|
52842
|
+
},{"./implementation":343}],345:[function(require,module,exports){
|
|
52601
52843
|
'use strict';
|
|
52602
52844
|
|
|
52603
52845
|
var undefined;
|
|
@@ -52943,7 +53185,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
52943
53185
|
return value;
|
|
52944
53186
|
};
|
|
52945
53187
|
|
|
52946
|
-
},{"function-bind":
|
|
53188
|
+
},{"function-bind":344,"has":369,"has-symbols":364}],346:[function(require,module,exports){
|
|
52947
53189
|
'use strict';
|
|
52948
53190
|
|
|
52949
53191
|
var $defineProperty = require('es-define-property');
|
|
@@ -53001,7 +53243,7 @@ module.exports = function defineDataProperty(
|
|
|
53001
53243
|
}
|
|
53002
53244
|
};
|
|
53003
53245
|
|
|
53004
|
-
},{"es-define-property":
|
|
53246
|
+
},{"es-define-property":347,"es-errors/syntax":352,"es-errors/type":353,"gopd":359}],347:[function(require,module,exports){
|
|
53005
53247
|
'use strict';
|
|
53006
53248
|
|
|
53007
53249
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -53019,49 +53261,49 @@ if ($defineProperty) {
|
|
|
53019
53261
|
|
|
53020
53262
|
module.exports = $defineProperty;
|
|
53021
53263
|
|
|
53022
|
-
},{"get-intrinsic":
|
|
53264
|
+
},{"get-intrinsic":358}],348:[function(require,module,exports){
|
|
53023
53265
|
'use strict';
|
|
53024
53266
|
|
|
53025
53267
|
/** @type {import('./eval')} */
|
|
53026
53268
|
module.exports = EvalError;
|
|
53027
53269
|
|
|
53028
|
-
},{}],
|
|
53270
|
+
},{}],349:[function(require,module,exports){
|
|
53029
53271
|
'use strict';
|
|
53030
53272
|
|
|
53031
53273
|
/** @type {import('.')} */
|
|
53032
53274
|
module.exports = Error;
|
|
53033
53275
|
|
|
53034
|
-
},{}],
|
|
53276
|
+
},{}],350:[function(require,module,exports){
|
|
53035
53277
|
'use strict';
|
|
53036
53278
|
|
|
53037
53279
|
/** @type {import('./range')} */
|
|
53038
53280
|
module.exports = RangeError;
|
|
53039
53281
|
|
|
53040
|
-
},{}],
|
|
53282
|
+
},{}],351:[function(require,module,exports){
|
|
53041
53283
|
'use strict';
|
|
53042
53284
|
|
|
53043
53285
|
/** @type {import('./ref')} */
|
|
53044
53286
|
module.exports = ReferenceError;
|
|
53045
53287
|
|
|
53046
|
-
},{}],
|
|
53288
|
+
},{}],352:[function(require,module,exports){
|
|
53047
53289
|
'use strict';
|
|
53048
53290
|
|
|
53049
53291
|
/** @type {import('./syntax')} */
|
|
53050
53292
|
module.exports = SyntaxError;
|
|
53051
53293
|
|
|
53052
|
-
},{}],
|
|
53294
|
+
},{}],353:[function(require,module,exports){
|
|
53053
53295
|
'use strict';
|
|
53054
53296
|
|
|
53055
53297
|
/** @type {import('./type')} */
|
|
53056
53298
|
module.exports = TypeError;
|
|
53057
53299
|
|
|
53058
|
-
},{}],
|
|
53300
|
+
},{}],354:[function(require,module,exports){
|
|
53059
53301
|
'use strict';
|
|
53060
53302
|
|
|
53061
53303
|
/** @type {import('./uri')} */
|
|
53062
53304
|
module.exports = URIError;
|
|
53063
53305
|
|
|
53064
|
-
},{}],
|
|
53306
|
+
},{}],355:[function(require,module,exports){
|
|
53065
53307
|
'use strict';
|
|
53066
53308
|
|
|
53067
53309
|
var isCallable = require('is-callable');
|
|
@@ -53125,7 +53367,7 @@ var forEach = function forEach(list, iterator, thisArg) {
|
|
|
53125
53367
|
|
|
53126
53368
|
module.exports = forEach;
|
|
53127
53369
|
|
|
53128
|
-
},{"is-callable":
|
|
53370
|
+
},{"is-callable":373}],356:[function(require,module,exports){
|
|
53129
53371
|
'use strict';
|
|
53130
53372
|
|
|
53131
53373
|
/* eslint no-invalid-this: 1 */
|
|
@@ -53211,9 +53453,9 @@ module.exports = function bind(that) {
|
|
|
53211
53453
|
return bound;
|
|
53212
53454
|
};
|
|
53213
53455
|
|
|
53214
|
-
},{}],
|
|
53215
|
-
arguments[4][
|
|
53216
|
-
},{"./implementation":
|
|
53456
|
+
},{}],357:[function(require,module,exports){
|
|
53457
|
+
arguments[4][344][0].apply(exports,arguments)
|
|
53458
|
+
},{"./implementation":356,"dup":344}],358:[function(require,module,exports){
|
|
53217
53459
|
'use strict';
|
|
53218
53460
|
|
|
53219
53461
|
var undefined;
|
|
@@ -53574,7 +53816,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
53574
53816
|
return value;
|
|
53575
53817
|
};
|
|
53576
53818
|
|
|
53577
|
-
},{"es-errors":
|
|
53819
|
+
},{"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){
|
|
53578
53820
|
'use strict';
|
|
53579
53821
|
|
|
53580
53822
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -53592,13 +53834,13 @@ if ($gOPD) {
|
|
|
53592
53834
|
|
|
53593
53835
|
module.exports = $gOPD;
|
|
53594
53836
|
|
|
53595
|
-
},{"get-intrinsic":
|
|
53596
|
-
arguments[4][342][0].apply(exports,arguments)
|
|
53597
|
-
},{"dup":342}],360:[function(require,module,exports){
|
|
53837
|
+
},{"get-intrinsic":362}],360:[function(require,module,exports){
|
|
53598
53838
|
arguments[4][343][0].apply(exports,arguments)
|
|
53599
|
-
},{"
|
|
53839
|
+
},{"dup":343}],361:[function(require,module,exports){
|
|
53600
53840
|
arguments[4][344][0].apply(exports,arguments)
|
|
53601
|
-
},{"
|
|
53841
|
+
},{"./implementation":360,"dup":344}],362:[function(require,module,exports){
|
|
53842
|
+
arguments[4][345][0].apply(exports,arguments)
|
|
53843
|
+
},{"dup":345,"function-bind":361,"has":369,"has-symbols":364}],363:[function(require,module,exports){
|
|
53602
53844
|
'use strict';
|
|
53603
53845
|
|
|
53604
53846
|
var test = {
|
|
@@ -53611,7 +53853,7 @@ module.exports = function hasProto() {
|
|
|
53611
53853
|
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
53612
53854
|
};
|
|
53613
53855
|
|
|
53614
|
-
},{}],
|
|
53856
|
+
},{}],364:[function(require,module,exports){
|
|
53615
53857
|
'use strict';
|
|
53616
53858
|
|
|
53617
53859
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -53626,7 +53868,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
53626
53868
|
return hasSymbolSham();
|
|
53627
53869
|
};
|
|
53628
53870
|
|
|
53629
|
-
},{"./shams":
|
|
53871
|
+
},{"./shams":365}],365:[function(require,module,exports){
|
|
53630
53872
|
'use strict';
|
|
53631
53873
|
|
|
53632
53874
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
@@ -53670,7 +53912,7 @@ module.exports = function hasSymbols() {
|
|
|
53670
53912
|
return true;
|
|
53671
53913
|
};
|
|
53672
53914
|
|
|
53673
|
-
},{}],
|
|
53915
|
+
},{}],366:[function(require,module,exports){
|
|
53674
53916
|
'use strict';
|
|
53675
53917
|
|
|
53676
53918
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -53679,18 +53921,18 @@ module.exports = function hasToStringTagShams() {
|
|
|
53679
53921
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
53680
53922
|
};
|
|
53681
53923
|
|
|
53682
|
-
},{"has-symbols/shams":
|
|
53683
|
-
arguments[4][342][0].apply(exports,arguments)
|
|
53684
|
-
},{"dup":342}],367:[function(require,module,exports){
|
|
53924
|
+
},{"has-symbols/shams":365}],367:[function(require,module,exports){
|
|
53685
53925
|
arguments[4][343][0].apply(exports,arguments)
|
|
53686
|
-
},{"
|
|
53926
|
+
},{"dup":343}],368:[function(require,module,exports){
|
|
53927
|
+
arguments[4][344][0].apply(exports,arguments)
|
|
53928
|
+
},{"./implementation":367,"dup":344}],369:[function(require,module,exports){
|
|
53687
53929
|
'use strict';
|
|
53688
53930
|
|
|
53689
53931
|
var bind = require('function-bind');
|
|
53690
53932
|
|
|
53691
53933
|
module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
53692
53934
|
|
|
53693
|
-
},{"function-bind":
|
|
53935
|
+
},{"function-bind":368}],370:[function(require,module,exports){
|
|
53694
53936
|
'use strict';
|
|
53695
53937
|
|
|
53696
53938
|
var call = Function.prototype.call;
|
|
@@ -53700,7 +53942,7 @@ var bind = require('function-bind');
|
|
|
53700
53942
|
/** @type {import('.')} */
|
|
53701
53943
|
module.exports = bind.call(call, $hasOwn);
|
|
53702
53944
|
|
|
53703
|
-
},{"function-bind":
|
|
53945
|
+
},{"function-bind":357}],371:[function(require,module,exports){
|
|
53704
53946
|
if (typeof Object.create === 'function') {
|
|
53705
53947
|
// implementation from standard node.js 'util' module
|
|
53706
53948
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -53729,7 +53971,7 @@ if (typeof Object.create === 'function') {
|
|
|
53729
53971
|
}
|
|
53730
53972
|
}
|
|
53731
53973
|
|
|
53732
|
-
},{}],
|
|
53974
|
+
},{}],372:[function(require,module,exports){
|
|
53733
53975
|
'use strict';
|
|
53734
53976
|
|
|
53735
53977
|
var hasToStringTag = require('has-tostringtag/shams')();
|
|
@@ -53764,7 +54006,7 @@ isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests
|
|
|
53764
54006
|
|
|
53765
54007
|
module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
53766
54008
|
|
|
53767
|
-
},{"call-bind/callBound":
|
|
54009
|
+
},{"call-bind/callBound":341,"has-tostringtag/shams":366}],373:[function(require,module,exports){
|
|
53768
54010
|
'use strict';
|
|
53769
54011
|
|
|
53770
54012
|
var fnToStr = Function.prototype.toString;
|
|
@@ -53867,7 +54109,7 @@ module.exports = reflectApply
|
|
|
53867
54109
|
return tryFunctionObject(value);
|
|
53868
54110
|
};
|
|
53869
54111
|
|
|
53870
|
-
},{}],
|
|
54112
|
+
},{}],374:[function(require,module,exports){
|
|
53871
54113
|
'use strict';
|
|
53872
54114
|
|
|
53873
54115
|
var toStr = Object.prototype.toString;
|
|
@@ -53907,7 +54149,7 @@ module.exports = function isGeneratorFunction(fn) {
|
|
|
53907
54149
|
return getProto(fn) === GeneratorFunction;
|
|
53908
54150
|
};
|
|
53909
54151
|
|
|
53910
|
-
},{"has-tostringtag/shams":
|
|
54152
|
+
},{"has-tostringtag/shams":366}],375:[function(require,module,exports){
|
|
53911
54153
|
'use strict';
|
|
53912
54154
|
|
|
53913
54155
|
var whichTypedArray = require('which-typed-array');
|
|
@@ -53917,7 +54159,7 @@ module.exports = function isTypedArray(value) {
|
|
|
53917
54159
|
return !!whichTypedArray(value);
|
|
53918
54160
|
};
|
|
53919
54161
|
|
|
53920
|
-
},{"which-typed-array":
|
|
54162
|
+
},{"which-typed-array":389}],376:[function(require,module,exports){
|
|
53921
54163
|
(function (global){(function (){
|
|
53922
54164
|
/**
|
|
53923
54165
|
* @license
|
|
@@ -71130,7 +71372,7 @@ module.exports = function isTypedArray(value) {
|
|
|
71130
71372
|
}.call(this));
|
|
71131
71373
|
|
|
71132
71374
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
71133
|
-
},{}],
|
|
71375
|
+
},{}],377:[function(require,module,exports){
|
|
71134
71376
|
'use strict';
|
|
71135
71377
|
|
|
71136
71378
|
var keysShim;
|
|
@@ -71254,7 +71496,7 @@ if (!Object.keys) {
|
|
|
71254
71496
|
}
|
|
71255
71497
|
module.exports = keysShim;
|
|
71256
71498
|
|
|
71257
|
-
},{"./isArguments":
|
|
71499
|
+
},{"./isArguments":379}],378:[function(require,module,exports){
|
|
71258
71500
|
'use strict';
|
|
71259
71501
|
|
|
71260
71502
|
var slice = Array.prototype.slice;
|
|
@@ -71288,7 +71530,7 @@ keysShim.shim = function shimObjectKeys() {
|
|
|
71288
71530
|
|
|
71289
71531
|
module.exports = keysShim;
|
|
71290
71532
|
|
|
71291
|
-
},{"./implementation":
|
|
71533
|
+
},{"./implementation":377,"./isArguments":379}],379:[function(require,module,exports){
|
|
71292
71534
|
'use strict';
|
|
71293
71535
|
|
|
71294
71536
|
var toStr = Object.prototype.toString;
|
|
@@ -71307,7 +71549,7 @@ module.exports = function isArguments(value) {
|
|
|
71307
71549
|
return isArgs;
|
|
71308
71550
|
};
|
|
71309
71551
|
|
|
71310
|
-
},{}],
|
|
71552
|
+
},{}],380:[function(require,module,exports){
|
|
71311
71553
|
'use strict';
|
|
71312
71554
|
|
|
71313
71555
|
// modified from https://github.com/es-shims/es6-shim
|
|
@@ -71355,7 +71597,7 @@ module.exports = function assign(target, source1) {
|
|
|
71355
71597
|
return to; // step 4
|
|
71356
71598
|
};
|
|
71357
71599
|
|
|
71358
|
-
},{"call-bind/callBound":
|
|
71600
|
+
},{"call-bind/callBound":341,"has-symbols/shams":365,"object-keys":378}],381:[function(require,module,exports){
|
|
71359
71601
|
'use strict';
|
|
71360
71602
|
|
|
71361
71603
|
var implementation = require('./implementation');
|
|
@@ -71412,7 +71654,7 @@ module.exports = function getPolyfill() {
|
|
|
71412
71654
|
return Object.assign;
|
|
71413
71655
|
};
|
|
71414
71656
|
|
|
71415
|
-
},{"./implementation":
|
|
71657
|
+
},{"./implementation":380}],382:[function(require,module,exports){
|
|
71416
71658
|
'use strict';
|
|
71417
71659
|
|
|
71418
71660
|
/** @type {import('.')} */
|
|
@@ -71430,7 +71672,7 @@ module.exports = [
|
|
|
71430
71672
|
'BigUint64Array'
|
|
71431
71673
|
];
|
|
71432
71674
|
|
|
71433
|
-
},{}],
|
|
71675
|
+
},{}],383:[function(require,module,exports){
|
|
71434
71676
|
// shim for using process in browser
|
|
71435
71677
|
var process = module.exports = {};
|
|
71436
71678
|
|
|
@@ -71616,7 +71858,7 @@ process.chdir = function (dir) {
|
|
|
71616
71858
|
};
|
|
71617
71859
|
process.umask = function() { return 0; };
|
|
71618
71860
|
|
|
71619
|
-
},{}],
|
|
71861
|
+
},{}],384:[function(require,module,exports){
|
|
71620
71862
|
'use strict';
|
|
71621
71863
|
|
|
71622
71864
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -71660,7 +71902,7 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
71660
71902
|
return fn;
|
|
71661
71903
|
};
|
|
71662
71904
|
|
|
71663
|
-
},{"define-data-property":
|
|
71905
|
+
},{"define-data-property":346,"es-errors/type":353,"get-intrinsic":358,"gopd":359,"has-property-descriptors":385}],385:[function(require,module,exports){
|
|
71664
71906
|
'use strict';
|
|
71665
71907
|
|
|
71666
71908
|
var $defineProperty = require('es-define-property');
|
|
@@ -71684,9 +71926,9 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
71684
71926
|
|
|
71685
71927
|
module.exports = hasPropertyDescriptors;
|
|
71686
71928
|
|
|
71687
|
-
},{"es-define-property":
|
|
71688
|
-
arguments[4][
|
|
71689
|
-
},{"dup":
|
|
71929
|
+
},{"es-define-property":347}],386:[function(require,module,exports){
|
|
71930
|
+
arguments[4][337][0].apply(exports,arguments)
|
|
71931
|
+
},{"dup":337}],387:[function(require,module,exports){
|
|
71690
71932
|
// Currently in sync with Node.js lib/internal/util/types.js
|
|
71691
71933
|
// https://github.com/nodejs/node/commit/112cc7c27551254aa2b17098fb774867f05ed0d9
|
|
71692
71934
|
|
|
@@ -72022,7 +72264,7 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
|
72022
72264
|
});
|
|
72023
72265
|
});
|
|
72024
72266
|
|
|
72025
|
-
},{"is-arguments":
|
|
72267
|
+
},{"is-arguments":372,"is-generator-function":374,"is-typed-array":375,"which-typed-array":389}],388:[function(require,module,exports){
|
|
72026
72268
|
(function (process){(function (){
|
|
72027
72269
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
72028
72270
|
//
|
|
@@ -72741,7 +72983,7 @@ function callbackify(original) {
|
|
|
72741
72983
|
exports.callbackify = callbackify;
|
|
72742
72984
|
|
|
72743
72985
|
}).call(this)}).call(this,require('_process'))
|
|
72744
|
-
},{"./support/isBuffer":
|
|
72986
|
+
},{"./support/isBuffer":386,"./support/types":387,"_process":383,"inherits":371}],389:[function(require,module,exports){
|
|
72745
72987
|
(function (global){(function (){
|
|
72746
72988
|
'use strict';
|
|
72747
72989
|
|
|
@@ -72861,9 +73103,9 @@ module.exports = function whichTypedArray(value) {
|
|
|
72861
73103
|
};
|
|
72862
73104
|
|
|
72863
73105
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
72864
|
-
},{"available-typed-arrays":
|
|
72865
|
-
arguments[4][
|
|
72866
|
-
},{"./":
|
|
73106
|
+
},{"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){
|
|
73107
|
+
arguments[4][341][0].apply(exports,arguments)
|
|
73108
|
+
},{"./":391,"dup":341,"get-intrinsic":358}],391:[function(require,module,exports){
|
|
72867
73109
|
'use strict';
|
|
72868
73110
|
|
|
72869
73111
|
var bind = require('function-bind');
|
|
@@ -72900,7 +73142,7 @@ if ($defineProperty) {
|
|
|
72900
73142
|
module.exports.apply = applyBind;
|
|
72901
73143
|
}
|
|
72902
73144
|
|
|
72903
|
-
},{"es-define-property":
|
|
73145
|
+
},{"es-define-property":347,"es-errors/type":353,"function-bind":357,"get-intrinsic":358,"set-function-length":384}],392:[function(require,module,exports){
|
|
72904
73146
|
'use strict';
|
|
72905
73147
|
|
|
72906
73148
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -72910,5 +73152,5 @@ module.exports = function hasToStringTagShams() {
|
|
|
72910
73152
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
72911
73153
|
};
|
|
72912
73154
|
|
|
72913
|
-
},{"has-symbols/shams":
|
|
73155
|
+
},{"has-symbols/shams":365}]},{},[115])(115)
|
|
72914
73156
|
});
|