@designliquido/delegua 0.38.3 → 0.39.0
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/README.md +2 -0
- package/analisador-semantico/analisador-semantico-base.d.ts +4 -2
- package/analisador-semantico/analisador-semantico-base.d.ts.map +1 -1
- package/analisador-semantico/analisador-semantico-base.js +7 -1
- package/analisador-semantico/analisador-semantico-base.js.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico-base.d.ts.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico-base.js +2 -4
- package/avaliador-sintatico/avaliador-sintatico-base.js.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico.d.ts +2 -1
- package/avaliador-sintatico/avaliador-sintatico.d.ts.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico.js +72 -4
- package/avaliador-sintatico/avaliador-sintatico.js.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js +2 -2
- package/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.js +2 -2
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.js.map +1 -1
- package/avaliador-sintatico/micro-avaliador-sintatico.js +2 -2
- package/avaliador-sintatico/micro-avaliador-sintatico.js.map +1 -1
- package/bibliotecas/primitivas-dicionario.d.ts +2 -3
- package/bibliotecas/primitivas-dicionario.d.ts.map +1 -1
- package/bibliotecas/primitivas-dicionario.js +10 -4
- package/bibliotecas/primitivas-dicionario.js.map +1 -1
- package/bibliotecas/primitivas-numero.d.ts +2 -3
- package/bibliotecas/primitivas-numero.d.ts.map +1 -1
- package/bibliotecas/primitivas-numero.js +10 -4
- package/bibliotecas/primitivas-numero.js.map +1 -1
- package/bibliotecas/primitivas-texto.d.ts +2 -14
- package/bibliotecas/primitivas-texto.d.ts.map +1 -1
- package/bibliotecas/primitivas-texto.js +56 -17
- package/bibliotecas/primitivas-texto.js.map +1 -1
- package/bibliotecas/primitivas-vetor.d.ts +2 -18
- package/bibliotecas/primitivas-vetor.d.ts.map +1 -1
- package/bibliotecas/primitivas-vetor.js +115 -65
- package/bibliotecas/primitivas-vetor.js.map +1 -1
- package/bin/package.json +1 -1
- package/construtos/acesso-metodo-ou-propriedade.d.ts +3 -1
- package/construtos/acesso-metodo-ou-propriedade.d.ts.map +1 -1
- package/construtos/acesso-metodo-ou-propriedade.js +4 -2
- package/construtos/acesso-metodo-ou-propriedade.js.map +1 -1
- package/construtos/acesso-metodo.d.ts +12 -0
- package/construtos/acesso-metodo.d.ts.map +1 -0
- package/construtos/acesso-metodo.js +18 -0
- package/construtos/acesso-metodo.js.map +1 -0
- package/construtos/acesso-propriedade.d.ts +11 -0
- package/construtos/acesso-propriedade.d.ts.map +1 -0
- package/construtos/acesso-propriedade.js +10 -0
- package/construtos/acesso-propriedade.js.map +1 -0
- package/construtos/chamada.d.ts +1 -2
- package/construtos/chamada.d.ts.map +1 -1
- package/construtos/chamada.js +1 -2
- package/construtos/chamada.js.map +1 -1
- package/construtos/index.d.ts +2 -0
- package/construtos/index.d.ts.map +1 -1
- package/construtos/index.js +2 -0
- package/construtos/index.js.map +1 -1
- package/estruturas/objeto-delegua-classe.d.ts +2 -0
- package/estruturas/objeto-delegua-classe.d.ts.map +1 -1
- package/estruturas/objeto-delegua-classe.js +12 -0
- package/estruturas/objeto-delegua-classe.js.map +1 -1
- package/formatadores/formatador-delegua.d.ts +4 -2
- package/formatadores/formatador-delegua.d.ts.map +1 -1
- package/formatadores/formatador-delegua.js +12 -2
- package/formatadores/formatador-delegua.js.map +1 -1
- package/interfaces/index.d.ts +1 -0
- package/interfaces/index.d.ts.map +1 -1
- package/interfaces/index.js +1 -0
- package/interfaces/index.js.map +1 -1
- package/interfaces/primitiva-interface.d.ts +5 -0
- package/interfaces/primitiva-interface.d.ts.map +1 -0
- package/interfaces/primitiva-interface.js +3 -0
- package/interfaces/primitiva-interface.js.map +1 -0
- package/interfaces/visitante-comum-interface.d.ts +4 -2
- package/interfaces/visitante-comum-interface.d.ts.map +1 -1
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.d.ts +4 -2
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.d.ts.map +1 -1
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.js +7 -1
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.js.map +1 -1
- package/interpretador/dialetos/egua-classico/resolvedor/resolvedor.d.ts +4 -2
- package/interpretador/dialetos/egua-classico/resolvedor/resolvedor.d.ts.map +1 -1
- package/interpretador/dialetos/egua-classico/resolvedor/resolvedor.js +7 -1
- package/interpretador/dialetos/egua-classico/resolvedor/resolvedor.js.map +1 -1
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.d.ts +4 -2
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.d.ts.map +1 -1
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.js +7 -1
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.js.map +1 -1
- package/interpretador/index.d.ts +1 -0
- package/interpretador/index.d.ts.map +1 -1
- package/interpretador/index.js +1 -0
- package/interpretador/index.js.map +1 -1
- package/interpretador/interpretador-base.d.ts +4 -2
- package/interpretador/interpretador-base.d.ts.map +1 -1
- package/interpretador/interpretador-base.js +40 -14
- package/interpretador/interpretador-base.js.map +1 -1
- package/interpretador/interpretador.d.ts +10 -0
- package/interpretador/interpretador.d.ts.map +1 -0
- package/interpretador/interpretador.js +169 -0
- package/interpretador/interpretador.js.map +1 -0
- package/interpretador/pilha-escopos-execucao.d.ts.map +1 -1
- package/interpretador/pilha-escopos-execucao.js +2 -2
- package/interpretador/pilha-escopos-execucao.js.map +1 -1
- package/lexador/micro-lexador.d.ts.map +1 -1
- package/lexador/micro-lexador.js +4 -0
- package/lexador/micro-lexador.js.map +1 -1
- package/package.json +1 -1
- package/tradutores/tradutor-javascript.d.ts +8 -2
- package/tradutores/tradutor-javascript.d.ts.map +1 -1
- package/tradutores/tradutor-javascript.js +40 -3
- package/tradutores/tradutor-javascript.js.map +1 -1
- package/tradutores/tradutor-python.d.ts +5 -1
- package/tradutores/tradutor-python.d.ts.map +1 -1
- package/tradutores/tradutor-python.js +30 -0
- package/tradutores/tradutor-python.js.map +1 -1
- package/umd/delegua.js +1003 -508
package/umd/delegua.js
CHANGED
|
@@ -22,8 +22,6 @@ class AvaliadorSintaticoBase {
|
|
|
22
22
|
}
|
|
23
23
|
erro(simbolo, mensagemDeErro) {
|
|
24
24
|
const excecao = new erro_avaliador_sintatico_1.ErroAvaliadorSintatico(simbolo, mensagemDeErro);
|
|
25
|
-
// TODO: Estudar remover.
|
|
26
|
-
// this.erros.push(excecao);
|
|
27
25
|
return excecao;
|
|
28
26
|
}
|
|
29
27
|
simboloAnterior() {
|
|
@@ -73,8 +71,8 @@ class AvaliadorSintaticoBase {
|
|
|
73
71
|
argumentos.push(this.expressao());
|
|
74
72
|
} while (this.verificarSeSimboloAtualEIgualA(comum_1.default.VIRGULA));
|
|
75
73
|
}
|
|
76
|
-
|
|
77
|
-
return new construtos_1.Chamada(this.hashArquivo, entidadeChamada,
|
|
74
|
+
this.consumir(comum_1.default.PARENTESE_DIREITO, "Esperado ')' após os argumentos.");
|
|
75
|
+
return new construtos_1.Chamada(this.hashArquivo, entidadeChamada, argumentos);
|
|
78
76
|
}
|
|
79
77
|
unario() {
|
|
80
78
|
if (this.verificarSeSimboloAtualEIgualA(comum_1.default.NEGACAO, comum_1.default.SUBTRACAO)) {
|
|
@@ -233,7 +231,7 @@ class AvaliadorSintaticoBase {
|
|
|
233
231
|
}
|
|
234
232
|
exports.AvaliadorSintaticoBase = AvaliadorSintaticoBase;
|
|
235
233
|
|
|
236
|
-
},{"../construtos":
|
|
234
|
+
},{"../construtos":43,"../declaracoes":81,"../tipos-de-simbolos/comum":162,"./erro-avaliador-sintatico":7}],2:[function(require,module,exports){
|
|
237
235
|
"use strict";
|
|
238
236
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
239
237
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -252,6 +250,9 @@ const avaliador_sintatico_base_1 = require("./avaliador-sintatico-base");
|
|
|
252
250
|
const inferenciador_1 = require("../inferenciador");
|
|
253
251
|
const pilha_escopos_1 = require("./pilha-escopos");
|
|
254
252
|
const informacao_escopo_1 = require("./informacao-escopo");
|
|
253
|
+
const primitivas_numero_1 = __importDefault(require("../bibliotecas/primitivas-numero"));
|
|
254
|
+
const primitivas_texto_1 = __importDefault(require("../bibliotecas/primitivas-texto"));
|
|
255
|
+
const primitivas_vetor_1 = __importDefault(require("../bibliotecas/primitivas-vetor"));
|
|
255
256
|
/**
|
|
256
257
|
* O avaliador sintático (_Parser_) é responsável por transformar os símbolos do Lexador em estruturas de alto nível.
|
|
257
258
|
* Essas estruturas de alto nível são as partes que executam lógica de programação de fato.
|
|
@@ -459,6 +460,53 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
459
460
|
}
|
|
460
461
|
return expressao;
|
|
461
462
|
}
|
|
463
|
+
finalizarChamada(entidadeChamada) {
|
|
464
|
+
const argumentos = [];
|
|
465
|
+
if (!this.verificarTipoSimboloAtual(delegua_2.default.PARENTESE_DIREITO)) {
|
|
466
|
+
do {
|
|
467
|
+
// `apply()` em JavaScript aceita até 255 parâmetros.
|
|
468
|
+
if (argumentos.length >= 255) {
|
|
469
|
+
throw this.erro(this.simbolos[this.atual], 'Não pode haver mais de 255 argumentos.');
|
|
470
|
+
}
|
|
471
|
+
argumentos.push(this.expressao());
|
|
472
|
+
} while (this.verificarSeSimboloAtualEIgualA(delegua_2.default.VIRGULA));
|
|
473
|
+
}
|
|
474
|
+
this.consumir(delegua_2.default.PARENTESE_DIREITO, "Esperado ')' após os argumentos.");
|
|
475
|
+
// Toda chamada precisa saber de antemão qual o tipo resolvido.
|
|
476
|
+
let entidadeChamadaResolvida = entidadeChamada;
|
|
477
|
+
if (entidadeChamadaResolvida.constructor.name === 'AcessoMetodoOuPropriedade') {
|
|
478
|
+
const acessoMetodoOuPropriedade = entidadeChamadaResolvida;
|
|
479
|
+
switch (entidadeChamadaResolvida.tipo) {
|
|
480
|
+
case delegua_1.default.INTEIRO:
|
|
481
|
+
case delegua_1.default.NUMERO:
|
|
482
|
+
case delegua_1.default.NÚMERO:
|
|
483
|
+
if (!(acessoMetodoOuPropriedade.simbolo.lexema in primitivas_numero_1.default)) {
|
|
484
|
+
throw this.erro(acessoMetodoOuPropriedade.simbolo, `${acessoMetodoOuPropriedade.simbolo.lexema} não é uma primitiva de número.`);
|
|
485
|
+
}
|
|
486
|
+
const primitivaNumeroSelecionada = primitivas_numero_1.default[acessoMetodoOuPropriedade.simbolo.lexema];
|
|
487
|
+
entidadeChamadaResolvida = new construtos_1.AcessoMetodo(acessoMetodoOuPropriedade.hashArquivo, acessoMetodoOuPropriedade.objeto, acessoMetodoOuPropriedade.simbolo.lexema, primitivaNumeroSelecionada.tipoRetorno);
|
|
488
|
+
break;
|
|
489
|
+
case delegua_1.default.TEXTO:
|
|
490
|
+
if (!(acessoMetodoOuPropriedade.simbolo.lexema in primitivas_texto_1.default)) {
|
|
491
|
+
throw this.erro(acessoMetodoOuPropriedade.simbolo, `${acessoMetodoOuPropriedade.simbolo.lexema} não é uma primitiva de texto.`);
|
|
492
|
+
}
|
|
493
|
+
const primitivaTextoSelecionada = primitivas_texto_1.default[acessoMetodoOuPropriedade.simbolo.lexema];
|
|
494
|
+
entidadeChamadaResolvida = new construtos_1.AcessoMetodo(acessoMetodoOuPropriedade.hashArquivo, acessoMetodoOuPropriedade.objeto, acessoMetodoOuPropriedade.simbolo.lexema, primitivaTextoSelecionada.tipoRetorno);
|
|
495
|
+
break;
|
|
496
|
+
case delegua_1.default.VETOR:
|
|
497
|
+
case delegua_1.default.VETOR_NUMERO:
|
|
498
|
+
case delegua_1.default.VETOR_NÚMERO:
|
|
499
|
+
case delegua_1.default.VETOR_TEXTO:
|
|
500
|
+
if (!(acessoMetodoOuPropriedade.simbolo.lexema in primitivas_vetor_1.default)) {
|
|
501
|
+
throw this.erro(acessoMetodoOuPropriedade.simbolo, `${acessoMetodoOuPropriedade.simbolo.lexema} não é uma primitiva de vetor.`);
|
|
502
|
+
}
|
|
503
|
+
const primitivaVetorSelecionada = primitivas_vetor_1.default[acessoMetodoOuPropriedade.simbolo.lexema];
|
|
504
|
+
entidadeChamadaResolvida = new construtos_1.AcessoMetodo(acessoMetodoOuPropriedade.hashArquivo, acessoMetodoOuPropriedade.objeto, acessoMetodoOuPropriedade.simbolo.lexema, primitivaVetorSelecionada.tipoRetorno);
|
|
505
|
+
break;
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
return new construtos_1.Chamada(this.hashArquivo, entidadeChamadaResolvida, argumentos);
|
|
509
|
+
}
|
|
462
510
|
unario() {
|
|
463
511
|
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.NEGACAO, delegua_2.default.SUBTRACAO, delegua_2.default.BIT_NOT, delegua_2.default.INCREMENTAR, delegua_2.default.DECREMENTAR)) {
|
|
464
512
|
const operador = this.simbolos[this.atual - 1];
|
|
@@ -483,11 +531,16 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
483
531
|
*/
|
|
484
532
|
adicaoOuSubtracao() {
|
|
485
533
|
let expressao = this.multiplicar();
|
|
486
|
-
while (this.verificarSeSimboloAtualEIgualA(delegua_2.default.SUBTRACAO, delegua_2.default.ADICAO, delegua_2.default.
|
|
534
|
+
while (this.verificarSeSimboloAtualEIgualA(delegua_2.default.SUBTRACAO, delegua_2.default.ADICAO, delegua_2.default.MENOS_IGUAL)) {
|
|
487
535
|
const operador = this.simbolos[this.atual - 1];
|
|
488
536
|
const direito = this.multiplicar();
|
|
489
537
|
expressao = new construtos_1.Binario(this.hashArquivo, expressao, operador, direito);
|
|
490
538
|
}
|
|
539
|
+
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.MAIS_IGUAL)) {
|
|
540
|
+
const operador = this.simbolos[this.atual - 1];
|
|
541
|
+
const direito = this.atribuir();
|
|
542
|
+
expressao = new construtos_1.Binario(this.hashArquivo, expressao, operador, direito);
|
|
543
|
+
}
|
|
491
544
|
return expressao;
|
|
492
545
|
}
|
|
493
546
|
bitShift() {
|
|
@@ -657,7 +710,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
657
710
|
do {
|
|
658
711
|
simboloComentario = this.avancarEDevolverAnterior();
|
|
659
712
|
conteudos.push(simboloComentario.literal);
|
|
660
|
-
} while (
|
|
713
|
+
} while (this.verificarTipoSimboloAtual(delegua_2.default.LINHA_COMENTARIO));
|
|
661
714
|
return new construtos_1.Comentario(simboloComentario.hashArquivo, simboloComentario.linha, conteudos, true);
|
|
662
715
|
}
|
|
663
716
|
declaracaoComentarioUmaLinha() {
|
|
@@ -1091,8 +1144,21 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1091
1144
|
if (tipo === 'qualquer') {
|
|
1092
1145
|
switch (inicializadores[indice].constructor.name) {
|
|
1093
1146
|
case 'AcessoIndiceVariavel':
|
|
1094
|
-
const
|
|
1095
|
-
tipo =
|
|
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
|
+
}
|
|
1096
1162
|
break;
|
|
1097
1163
|
case 'Dupla':
|
|
1098
1164
|
case 'Trio':
|
|
@@ -1480,7 +1546,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1480
1546
|
}
|
|
1481
1547
|
exports.AvaliadorSintatico = AvaliadorSintatico;
|
|
1482
1548
|
|
|
1483
|
-
},{"../construtos":
|
|
1549
|
+
},{"../bibliotecas/primitivas-numero":19,"../bibliotecas/primitivas-texto":20,"../bibliotecas/primitivas-vetor":21,"../construtos":43,"../construtos/tuplas":52,"../declaracoes":81,"../inferenciador":115,"../lexador":152,"../tipos-de-dados/delegua":160,"../tipos-de-simbolos/delegua":163,"./avaliador-sintatico-base":1,"./erro-avaliador-sintatico":7,"./informacao-escopo":9,"./pilha-escopos":12,"browser-process-hrtime":339}],3:[function(require,module,exports){
|
|
1484
1550
|
"use strict";
|
|
1485
1551
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
1486
1552
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -1653,8 +1719,8 @@ class AvaliadorSintaticoEguaClassico {
|
|
|
1653
1719
|
argumentos.push(this.expressao());
|
|
1654
1720
|
} while (this.verificarSeSimboloAtualEIgualA(egua_classico_1.default.VIRGULA));
|
|
1655
1721
|
}
|
|
1656
|
-
|
|
1657
|
-
return new construtos_1.Chamada(this.hashArquivo, entidadeChamada,
|
|
1722
|
+
this.consumir(egua_classico_1.default.PARENTESE_DIREITO, "Esperado ')' após os argumentos.");
|
|
1723
|
+
return new construtos_1.Chamada(this.hashArquivo, entidadeChamada, argumentos);
|
|
1658
1724
|
}
|
|
1659
1725
|
chamar() {
|
|
1660
1726
|
let expressao = this.primario();
|
|
@@ -2130,7 +2196,7 @@ class AvaliadorSintaticoEguaClassico {
|
|
|
2130
2196
|
}
|
|
2131
2197
|
exports.AvaliadorSintaticoEguaClassico = AvaliadorSintaticoEguaClassico;
|
|
2132
2198
|
|
|
2133
|
-
},{"../../construtos":
|
|
2199
|
+
},{"../../construtos":43,"../../declaracoes":81,"../../tipos-de-simbolos/egua-classico":164,"../erro-avaliador-sintatico":7}],4:[function(require,module,exports){
|
|
2134
2200
|
"use strict";
|
|
2135
2201
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2136
2202
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2329,8 +2395,8 @@ class AvaliadorSintaticoPitugues {
|
|
|
2329
2395
|
argumentos.push(this.expressao());
|
|
2330
2396
|
} while (this.verificarSeSimboloAtualEIgualA(pitugues_1.default.VIRGULA));
|
|
2331
2397
|
}
|
|
2332
|
-
|
|
2333
|
-
return new construtos_1.Chamada(this.hashArquivo, entidadeChamada,
|
|
2398
|
+
this.consumir(pitugues_1.default.PARENTESE_DIREITO, "Esperado ')' após os argumentos.");
|
|
2399
|
+
return new construtos_1.Chamada(this.hashArquivo, entidadeChamada, argumentos);
|
|
2334
2400
|
}
|
|
2335
2401
|
chamar() {
|
|
2336
2402
|
let expressao = this.primario();
|
|
@@ -2902,7 +2968,7 @@ class AvaliadorSintaticoPitugues {
|
|
|
2902
2968
|
}
|
|
2903
2969
|
exports.AvaliadorSintaticoPitugues = AvaliadorSintaticoPitugues;
|
|
2904
2970
|
|
|
2905
|
-
},{"../../construtos":
|
|
2971
|
+
},{"../../construtos":43,"../../declaracoes":81,"../../lexador":152,"../../tipos-de-simbolos/pitugues":167,"../erro-avaliador-sintatico":7,"browser-process-hrtime":339}],5:[function(require,module,exports){
|
|
2906
2972
|
"use strict";
|
|
2907
2973
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2908
2974
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3072,7 +3138,7 @@ class AvaliadorSintaticoPortugolIpt extends avaliador_sintatico_base_1.Avaliador
|
|
|
3072
3138
|
}
|
|
3073
3139
|
exports.AvaliadorSintaticoPortugolIpt = AvaliadorSintaticoPortugolIpt;
|
|
3074
3140
|
|
|
3075
|
-
},{"../../construtos":
|
|
3141
|
+
},{"../../construtos":43,"../../declaracoes":81,"../../tipos-de-simbolos/portugol-ipt":168,"../avaliador-sintatico-base":1}],6:[function(require,module,exports){
|
|
3076
3142
|
"use strict";
|
|
3077
3143
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3078
3144
|
if (k2 === undefined) k2 = k;
|
|
@@ -3259,7 +3325,7 @@ class MicroAvaliadorSintaticoBase {
|
|
|
3259
3325
|
}
|
|
3260
3326
|
exports.MicroAvaliadorSintaticoBase = MicroAvaliadorSintaticoBase;
|
|
3261
3327
|
|
|
3262
|
-
},{"../construtos":
|
|
3328
|
+
},{"../construtos":43,"../tipos-de-simbolos/comum":162,"./erro-avaliador-sintatico":7}],11:[function(require,module,exports){
|
|
3263
3329
|
"use strict";
|
|
3264
3330
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3265
3331
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3362,8 +3428,8 @@ class MicroAvaliadorSintatico extends micro_avaliador_sintatico_base_1.MicroAval
|
|
|
3362
3428
|
argumentos.push(this.ou());
|
|
3363
3429
|
} while (this.verificarSeSimboloAtualEIgualA(delegua_1.default.VIRGULA));
|
|
3364
3430
|
}
|
|
3365
|
-
|
|
3366
|
-
return new construtos_1.Chamada(-1, entidadeChamada,
|
|
3431
|
+
this.consumir(delegua_1.default.PARENTESE_DIREITO, "Esperado ')' após os argumentos.");
|
|
3432
|
+
return new construtos_1.Chamada(-1, entidadeChamada, argumentos);
|
|
3367
3433
|
}
|
|
3368
3434
|
chamar() {
|
|
3369
3435
|
let expressao = this.primario();
|
|
@@ -3465,7 +3531,7 @@ class MicroAvaliadorSintatico extends micro_avaliador_sintatico_base_1.MicroAval
|
|
|
3465
3531
|
}
|
|
3466
3532
|
exports.MicroAvaliadorSintatico = MicroAvaliadorSintatico;
|
|
3467
3533
|
|
|
3468
|
-
},{"../construtos":
|
|
3534
|
+
},{"../construtos":43,"../tipos-de-simbolos/microgramaticas/delegua":166,"./micro-avaliador-sintatico-base":10}],12:[function(require,module,exports){
|
|
3469
3535
|
"use strict";
|
|
3470
3536
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3471
3537
|
exports.PilhaEscopos = void 0;
|
|
@@ -4027,15 +4093,21 @@ async function tupla(interpretador, vetor) {
|
|
|
4027
4093
|
}
|
|
4028
4094
|
}
|
|
4029
4095
|
|
|
4030
|
-
},{"../construtos":
|
|
4096
|
+
},{"../construtos":43,"../estruturas":104,"../estruturas/descritor-tipo-classe":102,"../estruturas/funcao-padrao":103,"../estruturas/objeto-delegua-classe":107,"../excecoes":110}],18:[function(require,module,exports){
|
|
4031
4097
|
"use strict";
|
|
4032
4098
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4033
4099
|
exports.default = {
|
|
4034
|
-
chaves:
|
|
4035
|
-
|
|
4100
|
+
chaves: {
|
|
4101
|
+
tipoRetorno: 'texto[]',
|
|
4102
|
+
implementacao: (interpretador, valor) => {
|
|
4103
|
+
return Promise.resolve(Object.keys(valor));
|
|
4104
|
+
}
|
|
4036
4105
|
},
|
|
4037
|
-
valores:
|
|
4038
|
-
|
|
4106
|
+
valores: {
|
|
4107
|
+
tipoRetorno: 'qualquer[]',
|
|
4108
|
+
implementacao: (interpretador, valor) => {
|
|
4109
|
+
return Promise.resolve(Object.values(valor));
|
|
4110
|
+
}
|
|
4039
4111
|
},
|
|
4040
4112
|
};
|
|
4041
4113
|
|
|
@@ -4043,11 +4115,17 @@ exports.default = {
|
|
|
4043
4115
|
"use strict";
|
|
4044
4116
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4045
4117
|
exports.default = {
|
|
4046
|
-
arredondarParaBaixo:
|
|
4047
|
-
|
|
4118
|
+
arredondarParaBaixo: {
|
|
4119
|
+
tipoRetorno: 'número',
|
|
4120
|
+
implementacao: (interpretador, valor) => {
|
|
4121
|
+
return Promise.resolve(Math.floor(valor));
|
|
4122
|
+
}
|
|
4048
4123
|
},
|
|
4049
|
-
arredondarParaCima:
|
|
4050
|
-
|
|
4124
|
+
arredondarParaCima: {
|
|
4125
|
+
tipoRetorno: 'número',
|
|
4126
|
+
implementacao: (interpretador, valor) => {
|
|
4127
|
+
return Promise.resolve(Math.ceil(valor));
|
|
4128
|
+
}
|
|
4051
4129
|
},
|
|
4052
4130
|
};
|
|
4053
4131
|
|
|
@@ -4055,114 +4133,203 @@ exports.default = {
|
|
|
4055
4133
|
"use strict";
|
|
4056
4134
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4057
4135
|
exports.default = {
|
|
4058
|
-
aparar:
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4136
|
+
aparar: {
|
|
4137
|
+
tipoRetorno: 'texto',
|
|
4138
|
+
implementacao: (interpretador, texto) => Promise.resolve(texto.trim())
|
|
4139
|
+
},
|
|
4140
|
+
apararFim: {
|
|
4141
|
+
tipoRetorno: 'texto',
|
|
4142
|
+
implementacao: (interpretador, texto) => Promise.resolve(texto.trimEnd())
|
|
4143
|
+
},
|
|
4144
|
+
apararInicio: {
|
|
4145
|
+
tipoRetorno: 'texto',
|
|
4146
|
+
implementacao: (interpretador, texto) => Promise.resolve(texto.trimStart())
|
|
4147
|
+
},
|
|
4148
|
+
concatenar: {
|
|
4149
|
+
tipoRetorno: 'texto',
|
|
4150
|
+
implementacao: (interpretador, ...texto) => Promise.resolve(''.concat(...texto))
|
|
4067
4151
|
},
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4152
|
+
dividir: {
|
|
4153
|
+
tipoRetorno: 'texto[]',
|
|
4154
|
+
implementacao: (interpretador, texto, divisor, limite) => {
|
|
4155
|
+
if (limite) {
|
|
4156
|
+
return Promise.resolve(texto.split(divisor, limite));
|
|
4157
|
+
}
|
|
4158
|
+
return Promise.resolve(texto.split(divisor));
|
|
4159
|
+
}
|
|
4160
|
+
},
|
|
4161
|
+
fatiar: {
|
|
4162
|
+
tipoRetorno: 'texto',
|
|
4163
|
+
implementacao: (interpretador, texto, inicio, fim) => Promise.resolve(texto.slice(inicio, fim))
|
|
4164
|
+
},
|
|
4165
|
+
inclui: {
|
|
4166
|
+
tipoRetorno: 'texto',
|
|
4167
|
+
implementacao: (interpretador, texto, elemento) => Promise.resolve(texto.includes(elemento))
|
|
4168
|
+
},
|
|
4169
|
+
inverter: {
|
|
4170
|
+
tipoRetorno: 'texto',
|
|
4171
|
+
implementacao: (interpretador, texto) => Promise.resolve(texto.split('').reduce((texto, caracter) => (texto = caracter + texto), ''))
|
|
4172
|
+
},
|
|
4173
|
+
maiusculo: {
|
|
4174
|
+
tipoRetorno: 'texto',
|
|
4175
|
+
implementacao: (interpretador, texto) => Promise.resolve(texto.toUpperCase())
|
|
4176
|
+
},
|
|
4177
|
+
minusculo: {
|
|
4178
|
+
tipoRetorno: 'texto',
|
|
4179
|
+
implementacao: (interpretador, texto) => Promise.resolve(texto.toLowerCase())
|
|
4180
|
+
},
|
|
4181
|
+
substituir: {
|
|
4182
|
+
tipoRetorno: 'texto',
|
|
4183
|
+
implementacao: (interpretador, texto, elemento, substituto) => Promise.resolve(texto.replace(elemento, substituto))
|
|
4184
|
+
},
|
|
4185
|
+
subtexto: {
|
|
4186
|
+
tipoRetorno: 'texto',
|
|
4187
|
+
implementacao: (interpretador, texto, inicio, fim) => Promise.resolve(texto.slice(inicio, fim))
|
|
4188
|
+
},
|
|
4189
|
+
tamanho: {
|
|
4190
|
+
tipoRetorno: 'número',
|
|
4191
|
+
implementacao: (interpretador, texto) => Promise.resolve(texto.length)
|
|
4192
|
+
}
|
|
4076
4193
|
};
|
|
4077
4194
|
|
|
4078
4195
|
},{}],21:[function(require,module,exports){
|
|
4079
4196
|
"use strict";
|
|
4080
4197
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4081
4198
|
exports.default = {
|
|
4082
|
-
adicionar:
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
return Promise.resolve(vetor.concat(outroVetor));
|
|
4088
|
-
},
|
|
4089
|
-
empilhar: (interpretador, vetor, elemento) => {
|
|
4090
|
-
vetor.push(elemento);
|
|
4091
|
-
return Promise.resolve(vetor);
|
|
4092
|
-
},
|
|
4093
|
-
encaixar: (interpretador, vetor, inicio, excluirQuantidade, ...items) => {
|
|
4094
|
-
let elementos = [];
|
|
4095
|
-
if (excluirQuantidade || excluirQuantidade === 0) {
|
|
4096
|
-
elementos = !items.length
|
|
4097
|
-
? vetor.splice(inicio, excluirQuantidade)
|
|
4098
|
-
: vetor.splice(inicio, excluirQuantidade, ...items);
|
|
4199
|
+
adicionar: {
|
|
4200
|
+
tipoRetorno: 'qualquer[]',
|
|
4201
|
+
implementacao: (interpretador, vetor, elemento) => {
|
|
4202
|
+
vetor.push(elemento);
|
|
4203
|
+
return Promise.resolve(vetor);
|
|
4099
4204
|
}
|
|
4100
|
-
|
|
4101
|
-
|
|
4205
|
+
},
|
|
4206
|
+
concatenar: {
|
|
4207
|
+
tipoRetorno: 'qualquer[]',
|
|
4208
|
+
implementacao: (interpretador, vetor, outroVetor) => {
|
|
4209
|
+
return Promise.resolve(vetor.concat(outroVetor));
|
|
4102
4210
|
}
|
|
4103
|
-
return Promise.resolve(elementos);
|
|
4104
4211
|
},
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4212
|
+
empilhar: {
|
|
4213
|
+
tipoRetorno: 'qualquer[]',
|
|
4214
|
+
implementacao: (interpretador, vetor, elemento) => {
|
|
4215
|
+
vetor.push(elemento);
|
|
4216
|
+
return Promise.resolve(vetor);
|
|
4109
4217
|
}
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4218
|
+
},
|
|
4219
|
+
encaixar: {
|
|
4220
|
+
tipoRetorno: 'qualquer[]',
|
|
4221
|
+
implementacao: (interpretador, vetor, inicio, excluirQuantidade, ...items) => {
|
|
4222
|
+
let elementos = [];
|
|
4223
|
+
if (excluirQuantidade || excluirQuantidade === 0) {
|
|
4224
|
+
elementos = !items.length
|
|
4225
|
+
? vetor.splice(inicio, excluirQuantidade)
|
|
4226
|
+
: vetor.splice(inicio, excluirQuantidade, ...items);
|
|
4227
|
+
}
|
|
4228
|
+
else {
|
|
4229
|
+
elementos = !items.length ? vetor.splice(inicio) : vetor.splice(inicio, ...items);
|
|
4114
4230
|
}
|
|
4231
|
+
return Promise.resolve(elementos);
|
|
4115
4232
|
}
|
|
4116
|
-
return retorno;
|
|
4117
4233
|
},
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4234
|
+
fatiar: {
|
|
4235
|
+
tipoRetorno: 'qualquer[]',
|
|
4236
|
+
implementacao: (interpretador, vetor, inicio, fim) => Promise.resolve(vetor.slice(inicio, fim)),
|
|
4237
|
+
},
|
|
4238
|
+
filtrarPor: {
|
|
4239
|
+
tipoRetorno: 'qualquer[]',
|
|
4240
|
+
implementacao: async (interpretador, vetor, funcao) => {
|
|
4241
|
+
if (funcao === undefined || funcao === null) {
|
|
4242
|
+
return Promise.reject("É necessário passar uma função para o método 'filtrarPor'");
|
|
4243
|
+
}
|
|
4244
|
+
const retorno = [];
|
|
4245
|
+
for (let elemento of vetor) {
|
|
4246
|
+
if (await funcao.chamar(interpretador, [elemento])) {
|
|
4247
|
+
retorno.push(elemento);
|
|
4248
|
+
}
|
|
4249
|
+
}
|
|
4250
|
+
return retorno;
|
|
4124
4251
|
}
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4252
|
+
},
|
|
4253
|
+
inclui: {
|
|
4254
|
+
tipoRetorno: 'lógico',
|
|
4255
|
+
implementacao: (interpretador, vetor, elemento) => Promise.resolve(vetor.includes(elemento))
|
|
4256
|
+
},
|
|
4257
|
+
inverter: {
|
|
4258
|
+
tipoRetorno: 'qualquer[]',
|
|
4259
|
+
implementacao: (interpretador, vetor) => Promise.resolve(vetor.reverse())
|
|
4260
|
+
},
|
|
4261
|
+
juntar: {
|
|
4262
|
+
tipoRetorno: 'qualquer[]',
|
|
4263
|
+
implementacao: (interpretador, vetor, separador) => Promise.resolve(vetor.join(separador))
|
|
4264
|
+
},
|
|
4265
|
+
mapear: {
|
|
4266
|
+
tipoRetorno: 'qualquer[]',
|
|
4267
|
+
implementacao: async (interpretador, vetor, funcao) => {
|
|
4268
|
+
if (funcao === undefined || funcao === null) {
|
|
4269
|
+
return Promise.reject("É necessário passar uma função para o método 'mapear'");
|
|
4270
|
+
}
|
|
4271
|
+
const retorno = [];
|
|
4272
|
+
for (let elemento of vetor) {
|
|
4273
|
+
let resultado = await funcao.chamar(interpretador, [elemento]);
|
|
4274
|
+
retorno.push(resultado);
|
|
4275
|
+
}
|
|
4276
|
+
return retorno;
|
|
4129
4277
|
}
|
|
4130
|
-
return retorno;
|
|
4131
4278
|
},
|
|
4132
|
-
ordenar:
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
vetor[j]
|
|
4139
|
-
|
|
4279
|
+
ordenar: {
|
|
4280
|
+
tipoRetorno: 'qualquer[]',
|
|
4281
|
+
implementacao: async (interpretador, vetor, funcaoOrdenacao) => {
|
|
4282
|
+
if (funcaoOrdenacao !== undefined && funcaoOrdenacao !== null) {
|
|
4283
|
+
for (let i = 0; i < vetor.length - 1; i++) {
|
|
4284
|
+
for (let j = 1; j < vetor.length; j++) {
|
|
4285
|
+
if ((await funcaoOrdenacao.chamar(interpretador, [vetor[j - 1], vetor[j]])) > 0) {
|
|
4286
|
+
const aux = vetor[j];
|
|
4287
|
+
vetor[j] = vetor[j - 1];
|
|
4288
|
+
vetor[j - 1] = aux;
|
|
4289
|
+
}
|
|
4140
4290
|
}
|
|
4141
4291
|
}
|
|
4292
|
+
return vetor;
|
|
4293
|
+
}
|
|
4294
|
+
if (!vetor.every((v) => typeof v === 'number')) {
|
|
4295
|
+
return vetor.sort();
|
|
4142
4296
|
}
|
|
4143
|
-
return vetor;
|
|
4297
|
+
return vetor.sort((a, b) => a - b);
|
|
4144
4298
|
}
|
|
4145
|
-
|
|
4146
|
-
|
|
4299
|
+
},
|
|
4300
|
+
remover: {
|
|
4301
|
+
tipoRetorno: 'qualquer[]',
|
|
4302
|
+
implementacao: (interpretador, vetor, elemento) => {
|
|
4303
|
+
const index = vetor.indexOf(elemento);
|
|
4304
|
+
if (index !== -1)
|
|
4305
|
+
vetor.splice(index, 1);
|
|
4306
|
+
return Promise.resolve(vetor);
|
|
4147
4307
|
}
|
|
4148
|
-
return vetor.sort((a, b) => a - b);
|
|
4149
4308
|
},
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
vetor.
|
|
4154
|
-
|
|
4309
|
+
removerPrimeiro: {
|
|
4310
|
+
tipoRetorno: 'qualquer',
|
|
4311
|
+
implementacao: (interpretador, vetor) => {
|
|
4312
|
+
let elemento = vetor.shift();
|
|
4313
|
+
return Promise.resolve(elemento);
|
|
4314
|
+
}
|
|
4155
4315
|
},
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4316
|
+
removerUltimo: {
|
|
4317
|
+
tipoRetorno: 'qualquer',
|
|
4318
|
+
implementacao: (interpretador, vetor) => {
|
|
4319
|
+
let elemento = vetor.pop();
|
|
4320
|
+
return Promise.resolve(elemento);
|
|
4321
|
+
}
|
|
4159
4322
|
},
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4323
|
+
somar: {
|
|
4324
|
+
tipoRetorno: 'qualquer',
|
|
4325
|
+
implementacao: (interpretador, vetor) => {
|
|
4326
|
+
return Promise.resolve(vetor.reduce((acc, item) => acc + (typeof item === 'number' ? item : item.valor), 0));
|
|
4327
|
+
}
|
|
4163
4328
|
},
|
|
4164
|
-
|
|
4165
|
-
|
|
4329
|
+
tamanho: {
|
|
4330
|
+
tipoRetorno: 'número',
|
|
4331
|
+
implementacao: (interpretador, vetor) => Promise.resolve(vetor.length)
|
|
4332
|
+
}
|
|
4166
4333
|
};
|
|
4167
4334
|
|
|
4168
4335
|
},{}],22:[function(require,module,exports){
|
|
@@ -4212,7 +4379,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4212
4379
|
exports.AcessoMetodoOuPropriedade = void 0;
|
|
4213
4380
|
/**
|
|
4214
4381
|
* Chamado de `Get` em Égua Clássico, é o construto de acesso a métodos ou membros de
|
|
4215
|
-
* classe.
|
|
4382
|
+
* classe. Foi usado por Delégua até a versão 0.38.4, em que uma especialização maior
|
|
4383
|
+
* de tipos é necessária para o correto funcionamento da compilação por LLVM. Os demais
|
|
4384
|
+
* dialetos ainda a usam sem problemas.
|
|
4216
4385
|
*/
|
|
4217
4386
|
class AcessoMetodoOuPropriedade {
|
|
4218
4387
|
constructor(hashArquivo, objeto, simbolo, tipo = 'qualquer') {
|
|
@@ -4223,7 +4392,7 @@ class AcessoMetodoOuPropriedade {
|
|
|
4223
4392
|
this.tipo = objeto.tipo || tipo;
|
|
4224
4393
|
}
|
|
4225
4394
|
async aceitar(visitante) {
|
|
4226
|
-
return await visitante.
|
|
4395
|
+
return await visitante.visitarExpressaoAcessoMetodoOuPropriedade(this);
|
|
4227
4396
|
}
|
|
4228
4397
|
}
|
|
4229
4398
|
exports.AcessoMetodoOuPropriedade = AcessoMetodoOuPropriedade;
|
|
@@ -4231,6 +4400,36 @@ exports.AcessoMetodoOuPropriedade = AcessoMetodoOuPropriedade;
|
|
|
4231
4400
|
},{}],25:[function(require,module,exports){
|
|
4232
4401
|
"use strict";
|
|
4233
4402
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4403
|
+
exports.AcessoMetodo = void 0;
|
|
4404
|
+
class AcessoMetodo {
|
|
4405
|
+
constructor(hashArquivo, objeto, nomeMetodo, tipoRetornoMetodo = 'qualquer') {
|
|
4406
|
+
this.tipoRetornoMetodo = 'qualquer';
|
|
4407
|
+
this.linha = objeto.linha;
|
|
4408
|
+
this.hashArquivo = hashArquivo;
|
|
4409
|
+
this.objeto = objeto;
|
|
4410
|
+
this.nomeMetodo = nomeMetodo;
|
|
4411
|
+
this.tipoRetornoMetodo = tipoRetornoMetodo;
|
|
4412
|
+
}
|
|
4413
|
+
async aceitar(visitante) {
|
|
4414
|
+
return await visitante.visitarExpressaoAcessoMetodo(this);
|
|
4415
|
+
}
|
|
4416
|
+
}
|
|
4417
|
+
exports.AcessoMetodo = AcessoMetodo;
|
|
4418
|
+
|
|
4419
|
+
},{}],26:[function(require,module,exports){
|
|
4420
|
+
"use strict";
|
|
4421
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4422
|
+
exports.AcessoPropriedade = void 0;
|
|
4423
|
+
class AcessoPropriedade {
|
|
4424
|
+
async aceitar(visitante) {
|
|
4425
|
+
return await visitante.visitarExpressaoAcessoPropriedade(this);
|
|
4426
|
+
}
|
|
4427
|
+
}
|
|
4428
|
+
exports.AcessoPropriedade = AcessoPropriedade;
|
|
4429
|
+
|
|
4430
|
+
},{}],27:[function(require,module,exports){
|
|
4431
|
+
"use strict";
|
|
4432
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4234
4433
|
exports.Agrupamento = void 0;
|
|
4235
4434
|
/**
|
|
4236
4435
|
* Um agrupamento é essencialmente uma expressão qualquer dentro de parênteses.
|
|
@@ -4250,7 +4449,7 @@ class Agrupamento {
|
|
|
4250
4449
|
}
|
|
4251
4450
|
exports.Agrupamento = Agrupamento;
|
|
4252
4451
|
|
|
4253
|
-
},{}],
|
|
4452
|
+
},{}],28:[function(require,module,exports){
|
|
4254
4453
|
"use strict";
|
|
4255
4454
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4256
4455
|
exports.AtribuicaoPorIndice = void 0;
|
|
@@ -4268,7 +4467,7 @@ class AtribuicaoPorIndice {
|
|
|
4268
4467
|
}
|
|
4269
4468
|
exports.AtribuicaoPorIndice = AtribuicaoPorIndice;
|
|
4270
4469
|
|
|
4271
|
-
},{}],
|
|
4470
|
+
},{}],29:[function(require,module,exports){
|
|
4272
4471
|
"use strict";
|
|
4273
4472
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4274
4473
|
exports.AtribuicaoPorIndicesMatriz = void 0;
|
|
@@ -4287,7 +4486,7 @@ class AtribuicaoPorIndicesMatriz {
|
|
|
4287
4486
|
}
|
|
4288
4487
|
exports.AtribuicaoPorIndicesMatriz = AtribuicaoPorIndicesMatriz;
|
|
4289
4488
|
|
|
4290
|
-
},{}],
|
|
4489
|
+
},{}],30:[function(require,module,exports){
|
|
4291
4490
|
"use strict";
|
|
4292
4491
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4293
4492
|
exports.Atribuir = void 0;
|
|
@@ -4313,7 +4512,7 @@ class Atribuir {
|
|
|
4313
4512
|
}
|
|
4314
4513
|
exports.Atribuir = Atribuir;
|
|
4315
4514
|
|
|
4316
|
-
},{}],
|
|
4515
|
+
},{}],31:[function(require,module,exports){
|
|
4317
4516
|
"use strict";
|
|
4318
4517
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4319
4518
|
exports.Binario = void 0;
|
|
@@ -4370,7 +4569,7 @@ class Binario {
|
|
|
4370
4569
|
}
|
|
4371
4570
|
exports.Binario = Binario;
|
|
4372
4571
|
|
|
4373
|
-
},{}],
|
|
4572
|
+
},{}],32:[function(require,module,exports){
|
|
4374
4573
|
"use strict";
|
|
4375
4574
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4376
4575
|
exports.Chamada = void 0;
|
|
@@ -4379,12 +4578,11 @@ const geracao_identificadores_1 = require("../geracao-identificadores");
|
|
|
4379
4578
|
* Chamada de funções, métodos, etc.
|
|
4380
4579
|
*/
|
|
4381
4580
|
class Chamada {
|
|
4382
|
-
constructor(hashArquivo, entidadeChamada,
|
|
4581
|
+
constructor(hashArquivo, entidadeChamada, argumentos) {
|
|
4383
4582
|
this.id = (0, geracao_identificadores_1.uuidv4)();
|
|
4384
4583
|
this.linha = entidadeChamada.linha;
|
|
4385
4584
|
this.hashArquivo = hashArquivo;
|
|
4386
4585
|
this.entidadeChamada = entidadeChamada;
|
|
4387
|
-
this.parentese = parentese;
|
|
4388
4586
|
this.argumentos = argumentos;
|
|
4389
4587
|
}
|
|
4390
4588
|
async aceitar(visitante) {
|
|
@@ -4393,7 +4591,7 @@ class Chamada {
|
|
|
4393
4591
|
}
|
|
4394
4592
|
exports.Chamada = Chamada;
|
|
4395
4593
|
|
|
4396
|
-
},{"../geracao-identificadores":
|
|
4594
|
+
},{"../geracao-identificadores":113}],33:[function(require,module,exports){
|
|
4397
4595
|
"use strict";
|
|
4398
4596
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4399
4597
|
exports.Comentario = void 0;
|
|
@@ -4415,7 +4613,7 @@ class Comentario {
|
|
|
4415
4613
|
}
|
|
4416
4614
|
exports.Comentario = Comentario;
|
|
4417
4615
|
|
|
4418
|
-
},{}],
|
|
4616
|
+
},{}],34:[function(require,module,exports){
|
|
4419
4617
|
"use strict";
|
|
4420
4618
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4421
4619
|
exports.Constante = void 0;
|
|
@@ -4434,11 +4632,11 @@ class Constante {
|
|
|
4434
4632
|
}
|
|
4435
4633
|
exports.Constante = Constante;
|
|
4436
4634
|
|
|
4437
|
-
},{}],
|
|
4635
|
+
},{}],35:[function(require,module,exports){
|
|
4438
4636
|
"use strict";
|
|
4439
4637
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4440
4638
|
|
|
4441
|
-
},{}],
|
|
4639
|
+
},{}],36:[function(require,module,exports){
|
|
4442
4640
|
"use strict";
|
|
4443
4641
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4444
4642
|
exports.Decorador = void 0;
|
|
@@ -4459,7 +4657,7 @@ class Decorador {
|
|
|
4459
4657
|
}
|
|
4460
4658
|
exports.Decorador = Decorador;
|
|
4461
4659
|
|
|
4462
|
-
},{}],
|
|
4660
|
+
},{}],37:[function(require,module,exports){
|
|
4463
4661
|
"use strict";
|
|
4464
4662
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4465
4663
|
exports.DefinirValor = void 0;
|
|
@@ -4477,7 +4675,7 @@ class DefinirValor {
|
|
|
4477
4675
|
}
|
|
4478
4676
|
exports.DefinirValor = DefinirValor;
|
|
4479
4677
|
|
|
4480
|
-
},{}],
|
|
4678
|
+
},{}],38:[function(require,module,exports){
|
|
4481
4679
|
"use strict";
|
|
4482
4680
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4483
4681
|
exports.Dicionario = void 0;
|
|
@@ -4494,7 +4692,7 @@ class Dicionario {
|
|
|
4494
4692
|
}
|
|
4495
4693
|
exports.Dicionario = Dicionario;
|
|
4496
4694
|
|
|
4497
|
-
},{}],
|
|
4695
|
+
},{}],39:[function(require,module,exports){
|
|
4498
4696
|
"use strict";
|
|
4499
4697
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4500
4698
|
exports.ExpressaoRegular = void 0;
|
|
@@ -4511,7 +4709,7 @@ class ExpressaoRegular {
|
|
|
4511
4709
|
}
|
|
4512
4710
|
exports.ExpressaoRegular = ExpressaoRegular;
|
|
4513
4711
|
|
|
4514
|
-
},{}],
|
|
4712
|
+
},{}],40:[function(require,module,exports){
|
|
4515
4713
|
"use strict";
|
|
4516
4714
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4517
4715
|
exports.FimPara = void 0;
|
|
@@ -4538,7 +4736,7 @@ class FimPara {
|
|
|
4538
4736
|
}
|
|
4539
4737
|
exports.FimPara = FimPara;
|
|
4540
4738
|
|
|
4541
|
-
},{}],
|
|
4739
|
+
},{}],41:[function(require,module,exports){
|
|
4542
4740
|
"use strict";
|
|
4543
4741
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4544
4742
|
exports.FormatacaoEscrita = void 0;
|
|
@@ -4561,7 +4759,7 @@ class FormatacaoEscrita {
|
|
|
4561
4759
|
}
|
|
4562
4760
|
exports.FormatacaoEscrita = FormatacaoEscrita;
|
|
4563
4761
|
|
|
4564
|
-
},{}],
|
|
4762
|
+
},{}],42:[function(require,module,exports){
|
|
4565
4763
|
"use strict";
|
|
4566
4764
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4567
4765
|
exports.FuncaoConstruto = void 0;
|
|
@@ -4579,7 +4777,7 @@ class FuncaoConstruto {
|
|
|
4579
4777
|
}
|
|
4580
4778
|
exports.FuncaoConstruto = FuncaoConstruto;
|
|
4581
4779
|
|
|
4582
|
-
},{}],
|
|
4780
|
+
},{}],43:[function(require,module,exports){
|
|
4583
4781
|
"use strict";
|
|
4584
4782
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4585
4783
|
if (k2 === undefined) k2 = k;
|
|
@@ -4598,7 +4796,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
4598
4796
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4599
4797
|
__exportStar(require("./acesso-elemento-matriz"), exports);
|
|
4600
4798
|
__exportStar(require("./acesso-indice-variavel"), exports);
|
|
4799
|
+
__exportStar(require("./acesso-metodo"), exports);
|
|
4601
4800
|
__exportStar(require("./acesso-metodo-ou-propriedade"), exports);
|
|
4801
|
+
__exportStar(require("./acesso-propriedade"), exports);
|
|
4602
4802
|
__exportStar(require("./agrupamento"), exports);
|
|
4603
4803
|
__exportStar(require("./atribuicao-por-indice"), exports);
|
|
4604
4804
|
__exportStar(require("./atribuicao-por-indices-matriz"), exports);
|
|
@@ -4626,7 +4826,7 @@ __exportStar(require("./variavel"), exports);
|
|
|
4626
4826
|
__exportStar(require("./vetor"), exports);
|
|
4627
4827
|
__exportStar(require("./qual-tipo"), exports);
|
|
4628
4828
|
|
|
4629
|
-
},{"./acesso-elemento-matriz":22,"./acesso-indice-variavel":23,"./acesso-metodo-ou-propriedade":24,"./agrupamento":
|
|
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,"./constante":34,"./construto":35,"./decorador":36,"./definir-valor":37,"./dicionario":38,"./expressao-regular":39,"./fim-para":40,"./formatacao-escrita":41,"./funcao":42,"./isto":44,"./literal":45,"./logico":46,"./qual-tipo":47,"./super":48,"./tipo-de":49,"./tuplas":52,"./unario":61,"./variavel":62,"./vetor":63}],44:[function(require,module,exports){
|
|
4630
4830
|
"use strict";
|
|
4631
4831
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4632
4832
|
exports.Isto = void 0;
|
|
@@ -4642,7 +4842,7 @@ class Isto {
|
|
|
4642
4842
|
}
|
|
4643
4843
|
exports.Isto = Isto;
|
|
4644
4844
|
|
|
4645
|
-
},{}],
|
|
4845
|
+
},{}],45:[function(require,module,exports){
|
|
4646
4846
|
"use strict";
|
|
4647
4847
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4648
4848
|
exports.Literal = void 0;
|
|
@@ -4659,7 +4859,7 @@ class Literal {
|
|
|
4659
4859
|
}
|
|
4660
4860
|
exports.Literal = Literal;
|
|
4661
4861
|
|
|
4662
|
-
},{}],
|
|
4862
|
+
},{}],46:[function(require,module,exports){
|
|
4663
4863
|
"use strict";
|
|
4664
4864
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4665
4865
|
exports.Logico = void 0;
|
|
@@ -4677,7 +4877,7 @@ class Logico {
|
|
|
4677
4877
|
}
|
|
4678
4878
|
exports.Logico = Logico;
|
|
4679
4879
|
|
|
4680
|
-
},{}],
|
|
4880
|
+
},{}],47:[function(require,module,exports){
|
|
4681
4881
|
"use strict";
|
|
4682
4882
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4683
4883
|
exports.QualTipo = void 0;
|
|
@@ -4695,7 +4895,7 @@ class QualTipo {
|
|
|
4695
4895
|
}
|
|
4696
4896
|
exports.QualTipo = QualTipo;
|
|
4697
4897
|
|
|
4698
|
-
},{}],
|
|
4898
|
+
},{}],48:[function(require,module,exports){
|
|
4699
4899
|
"use strict";
|
|
4700
4900
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4701
4901
|
exports.Super = void 0;
|
|
@@ -4712,7 +4912,7 @@ class Super {
|
|
|
4712
4912
|
}
|
|
4713
4913
|
exports.Super = Super;
|
|
4714
4914
|
|
|
4715
|
-
},{}],
|
|
4915
|
+
},{}],49:[function(require,module,exports){
|
|
4716
4916
|
"use strict";
|
|
4717
4917
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4718
4918
|
exports.TipoDe = void 0;
|
|
@@ -4729,7 +4929,7 @@ class TipoDe {
|
|
|
4729
4929
|
}
|
|
4730
4930
|
exports.TipoDe = TipoDe;
|
|
4731
4931
|
|
|
4732
|
-
},{}],
|
|
4932
|
+
},{}],50:[function(require,module,exports){
|
|
4733
4933
|
"use strict";
|
|
4734
4934
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4735
4935
|
exports.Deceto = void 0;
|
|
@@ -4763,7 +4963,7 @@ class Deceto extends tupla_1.Tupla {
|
|
|
4763
4963
|
}
|
|
4764
4964
|
exports.Deceto = Deceto;
|
|
4765
4965
|
|
|
4766
|
-
},{"./tupla":
|
|
4966
|
+
},{"./tupla":60}],51:[function(require,module,exports){
|
|
4767
4967
|
"use strict";
|
|
4768
4968
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4769
4969
|
exports.Dupla = void 0;
|
|
@@ -4777,7 +4977,7 @@ class Dupla extends tupla_1.Tupla {
|
|
|
4777
4977
|
}
|
|
4778
4978
|
exports.Dupla = Dupla;
|
|
4779
4979
|
|
|
4780
|
-
},{"./tupla":
|
|
4980
|
+
},{"./tupla":60}],52:[function(require,module,exports){
|
|
4781
4981
|
"use strict";
|
|
4782
4982
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4783
4983
|
if (k2 === undefined) k2 = k;
|
|
@@ -4846,7 +5046,7 @@ class SeletorTuplas {
|
|
|
4846
5046
|
}
|
|
4847
5047
|
exports.SeletorTuplas = SeletorTuplas;
|
|
4848
5048
|
|
|
4849
|
-
},{"./deceto":
|
|
5049
|
+
},{"./deceto":50,"./dupla":51,"./noneto":53,"./octeto":54,"./quarteto":55,"./quinteto":56,"./septeto":57,"./sexteto":58,"./trio":59,"./tupla":60}],53:[function(require,module,exports){
|
|
4850
5050
|
"use strict";
|
|
4851
5051
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4852
5052
|
exports.Noneto = void 0;
|
|
@@ -4873,7 +5073,7 @@ class Noneto extends tupla_1.Tupla {
|
|
|
4873
5073
|
}
|
|
4874
5074
|
exports.Noneto = Noneto;
|
|
4875
5075
|
|
|
4876
|
-
},{"./tupla":
|
|
5076
|
+
},{"./tupla":60}],54:[function(require,module,exports){
|
|
4877
5077
|
"use strict";
|
|
4878
5078
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4879
5079
|
exports.Octeto = void 0;
|
|
@@ -4899,7 +5099,7 @@ class Octeto extends tupla_1.Tupla {
|
|
|
4899
5099
|
}
|
|
4900
5100
|
exports.Octeto = Octeto;
|
|
4901
5101
|
|
|
4902
|
-
},{"./tupla":
|
|
5102
|
+
},{"./tupla":60}],55:[function(require,module,exports){
|
|
4903
5103
|
"use strict";
|
|
4904
5104
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4905
5105
|
exports.Quarteto = void 0;
|
|
@@ -4915,7 +5115,7 @@ class Quarteto extends tupla_1.Tupla {
|
|
|
4915
5115
|
}
|
|
4916
5116
|
exports.Quarteto = Quarteto;
|
|
4917
5117
|
|
|
4918
|
-
},{"./tupla":
|
|
5118
|
+
},{"./tupla":60}],56:[function(require,module,exports){
|
|
4919
5119
|
"use strict";
|
|
4920
5120
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4921
5121
|
exports.Quinteto = void 0;
|
|
@@ -4932,7 +5132,7 @@ class Quinteto extends tupla_1.Tupla {
|
|
|
4932
5132
|
}
|
|
4933
5133
|
exports.Quinteto = Quinteto;
|
|
4934
5134
|
|
|
4935
|
-
},{"./tupla":
|
|
5135
|
+
},{"./tupla":60}],57:[function(require,module,exports){
|
|
4936
5136
|
"use strict";
|
|
4937
5137
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4938
5138
|
exports.Septeto = void 0;
|
|
@@ -4957,7 +5157,7 @@ class Septeto extends tupla_1.Tupla {
|
|
|
4957
5157
|
}
|
|
4958
5158
|
exports.Septeto = Septeto;
|
|
4959
5159
|
|
|
4960
|
-
},{"./tupla":
|
|
5160
|
+
},{"./tupla":60}],58:[function(require,module,exports){
|
|
4961
5161
|
"use strict";
|
|
4962
5162
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4963
5163
|
exports.Sexteto = void 0;
|
|
@@ -4975,7 +5175,7 @@ class Sexteto extends tupla_1.Tupla {
|
|
|
4975
5175
|
}
|
|
4976
5176
|
exports.Sexteto = Sexteto;
|
|
4977
5177
|
|
|
4978
|
-
},{"./tupla":
|
|
5178
|
+
},{"./tupla":60}],59:[function(require,module,exports){
|
|
4979
5179
|
"use strict";
|
|
4980
5180
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4981
5181
|
exports.Trio = void 0;
|
|
@@ -4990,7 +5190,7 @@ class Trio extends tupla_1.Tupla {
|
|
|
4990
5190
|
}
|
|
4991
5191
|
exports.Trio = Trio;
|
|
4992
5192
|
|
|
4993
|
-
},{"./tupla":
|
|
5193
|
+
},{"./tupla":60}],60:[function(require,module,exports){
|
|
4994
5194
|
"use strict";
|
|
4995
5195
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4996
5196
|
exports.Tupla = void 0;
|
|
@@ -5001,7 +5201,7 @@ class Tupla {
|
|
|
5001
5201
|
}
|
|
5002
5202
|
exports.Tupla = Tupla;
|
|
5003
5203
|
|
|
5004
|
-
},{}],
|
|
5204
|
+
},{}],61:[function(require,module,exports){
|
|
5005
5205
|
"use strict";
|
|
5006
5206
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5007
5207
|
exports.Unario = void 0;
|
|
@@ -5019,7 +5219,7 @@ class Unario {
|
|
|
5019
5219
|
}
|
|
5020
5220
|
exports.Unario = Unario;
|
|
5021
5221
|
|
|
5022
|
-
},{}],
|
|
5222
|
+
},{}],62:[function(require,module,exports){
|
|
5023
5223
|
"use strict";
|
|
5024
5224
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5025
5225
|
exports.Variavel = void 0;
|
|
@@ -5036,7 +5236,7 @@ class Variavel {
|
|
|
5036
5236
|
}
|
|
5037
5237
|
exports.Variavel = Variavel;
|
|
5038
5238
|
|
|
5039
|
-
},{}],
|
|
5239
|
+
},{}],63:[function(require,module,exports){
|
|
5040
5240
|
"use strict";
|
|
5041
5241
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5042
5242
|
exports.Vetor = void 0;
|
|
@@ -5059,7 +5259,7 @@ class Vetor {
|
|
|
5059
5259
|
}
|
|
5060
5260
|
exports.Vetor = Vetor;
|
|
5061
5261
|
|
|
5062
|
-
},{}],
|
|
5262
|
+
},{}],64:[function(require,module,exports){
|
|
5063
5263
|
"use strict";
|
|
5064
5264
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5065
5265
|
exports.Aleatorio = void 0;
|
|
@@ -5076,7 +5276,7 @@ class Aleatorio extends declaracao_1.Declaracao {
|
|
|
5076
5276
|
}
|
|
5077
5277
|
exports.Aleatorio = Aleatorio;
|
|
5078
5278
|
|
|
5079
|
-
},{"./declaracao":
|
|
5279
|
+
},{"./declaracao":71}],65:[function(require,module,exports){
|
|
5080
5280
|
"use strict";
|
|
5081
5281
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5082
5282
|
exports.Bloco = void 0;
|
|
@@ -5092,7 +5292,7 @@ class Bloco extends declaracao_1.Declaracao {
|
|
|
5092
5292
|
}
|
|
5093
5293
|
exports.Bloco = Bloco;
|
|
5094
5294
|
|
|
5095
|
-
},{"./declaracao":
|
|
5295
|
+
},{"./declaracao":71}],66:[function(require,module,exports){
|
|
5096
5296
|
"use strict";
|
|
5097
5297
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5098
5298
|
exports.CabecalhoPrograma = void 0;
|
|
@@ -5108,7 +5308,7 @@ class CabecalhoPrograma extends declaracao_1.Declaracao {
|
|
|
5108
5308
|
}
|
|
5109
5309
|
exports.CabecalhoPrograma = CabecalhoPrograma;
|
|
5110
5310
|
|
|
5111
|
-
},{"./declaracao":
|
|
5311
|
+
},{"./declaracao":71}],67:[function(require,module,exports){
|
|
5112
5312
|
"use strict";
|
|
5113
5313
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5114
5314
|
exports.Classe = void 0;
|
|
@@ -5128,7 +5328,7 @@ class Classe extends declaracao_1.Declaracao {
|
|
|
5128
5328
|
}
|
|
5129
5329
|
exports.Classe = Classe;
|
|
5130
5330
|
|
|
5131
|
-
},{"./declaracao":
|
|
5331
|
+
},{"./declaracao":71}],68:[function(require,module,exports){
|
|
5132
5332
|
"use strict";
|
|
5133
5333
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5134
5334
|
exports.ConstMultiplo = void 0;
|
|
@@ -5149,7 +5349,7 @@ class ConstMultiplo extends declaracao_1.Declaracao {
|
|
|
5149
5349
|
}
|
|
5150
5350
|
exports.ConstMultiplo = ConstMultiplo;
|
|
5151
5351
|
|
|
5152
|
-
},{"./declaracao":
|
|
5352
|
+
},{"./declaracao":71}],69:[function(require,module,exports){
|
|
5153
5353
|
"use strict";
|
|
5154
5354
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5155
5355
|
exports.Const = void 0;
|
|
@@ -5175,7 +5375,7 @@ class Const extends declaracao_1.Declaracao {
|
|
|
5175
5375
|
}
|
|
5176
5376
|
exports.Const = Const;
|
|
5177
5377
|
|
|
5178
|
-
},{"./declaracao":
|
|
5378
|
+
},{"./declaracao":71}],70:[function(require,module,exports){
|
|
5179
5379
|
"use strict";
|
|
5180
5380
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5181
5381
|
exports.Continua = void 0;
|
|
@@ -5190,7 +5390,7 @@ class Continua extends declaracao_1.Declaracao {
|
|
|
5190
5390
|
}
|
|
5191
5391
|
exports.Continua = Continua;
|
|
5192
5392
|
|
|
5193
|
-
},{"./declaracao":
|
|
5393
|
+
},{"./declaracao":71}],71:[function(require,module,exports){
|
|
5194
5394
|
"use strict";
|
|
5195
5395
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5196
5396
|
exports.Declaracao = void 0;
|
|
@@ -5210,7 +5410,7 @@ class Declaracao {
|
|
|
5210
5410
|
}
|
|
5211
5411
|
exports.Declaracao = Declaracao;
|
|
5212
5412
|
|
|
5213
|
-
},{}],
|
|
5413
|
+
},{}],72:[function(require,module,exports){
|
|
5214
5414
|
"use strict";
|
|
5215
5415
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5216
5416
|
exports.Enquanto = void 0;
|
|
@@ -5227,7 +5427,7 @@ class Enquanto extends declaracao_1.Declaracao {
|
|
|
5227
5427
|
}
|
|
5228
5428
|
exports.Enquanto = Enquanto;
|
|
5229
5429
|
|
|
5230
|
-
},{"./declaracao":
|
|
5430
|
+
},{"./declaracao":71}],73:[function(require,module,exports){
|
|
5231
5431
|
"use strict";
|
|
5232
5432
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5233
5433
|
exports.Escolha = void 0;
|
|
@@ -5248,7 +5448,7 @@ class Escolha extends declaracao_1.Declaracao {
|
|
|
5248
5448
|
}
|
|
5249
5449
|
exports.Escolha = Escolha;
|
|
5250
5450
|
|
|
5251
|
-
},{"./declaracao":
|
|
5451
|
+
},{"./declaracao":71}],74:[function(require,module,exports){
|
|
5252
5452
|
"use strict";
|
|
5253
5453
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5254
5454
|
exports.EscrevaMesmaLinha = void 0;
|
|
@@ -5264,7 +5464,7 @@ class EscrevaMesmaLinha extends declaracao_1.Declaracao {
|
|
|
5264
5464
|
}
|
|
5265
5465
|
exports.EscrevaMesmaLinha = EscrevaMesmaLinha;
|
|
5266
5466
|
|
|
5267
|
-
},{"./declaracao":
|
|
5467
|
+
},{"./declaracao":71}],75:[function(require,module,exports){
|
|
5268
5468
|
"use strict";
|
|
5269
5469
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5270
5470
|
exports.Escreva = void 0;
|
|
@@ -5280,7 +5480,7 @@ class Escreva extends declaracao_1.Declaracao {
|
|
|
5280
5480
|
}
|
|
5281
5481
|
exports.Escreva = Escreva;
|
|
5282
5482
|
|
|
5283
|
-
},{"./declaracao":
|
|
5483
|
+
},{"./declaracao":71}],76:[function(require,module,exports){
|
|
5284
5484
|
"use strict";
|
|
5285
5485
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5286
5486
|
exports.Expressao = void 0;
|
|
@@ -5296,7 +5496,7 @@ class Expressao extends declaracao_1.Declaracao {
|
|
|
5296
5496
|
}
|
|
5297
5497
|
exports.Expressao = Expressao;
|
|
5298
5498
|
|
|
5299
|
-
},{"./declaracao":
|
|
5499
|
+
},{"./declaracao":71}],77:[function(require,module,exports){
|
|
5300
5500
|
"use strict";
|
|
5301
5501
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5302
5502
|
exports.Falhar = void 0;
|
|
@@ -5313,7 +5513,7 @@ class Falhar extends declaracao_1.Declaracao {
|
|
|
5313
5513
|
}
|
|
5314
5514
|
exports.Falhar = Falhar;
|
|
5315
5515
|
|
|
5316
|
-
},{"./declaracao":
|
|
5516
|
+
},{"./declaracao":71}],78:[function(require,module,exports){
|
|
5317
5517
|
"use strict";
|
|
5318
5518
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5319
5519
|
exports.Fazer = void 0;
|
|
@@ -5330,7 +5530,7 @@ class Fazer extends declaracao_1.Declaracao {
|
|
|
5330
5530
|
}
|
|
5331
5531
|
exports.Fazer = Fazer;
|
|
5332
5532
|
|
|
5333
|
-
},{"./declaracao":
|
|
5533
|
+
},{"./declaracao":71}],79:[function(require,module,exports){
|
|
5334
5534
|
"use strict";
|
|
5335
5535
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5336
5536
|
exports.FuncaoDeclaracao = void 0;
|
|
@@ -5352,7 +5552,7 @@ class FuncaoDeclaracao extends declaracao_1.Declaracao {
|
|
|
5352
5552
|
}
|
|
5353
5553
|
exports.FuncaoDeclaracao = FuncaoDeclaracao;
|
|
5354
5554
|
|
|
5355
|
-
},{"./declaracao":
|
|
5555
|
+
},{"./declaracao":71}],80:[function(require,module,exports){
|
|
5356
5556
|
"use strict";
|
|
5357
5557
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5358
5558
|
exports.Importar = void 0;
|
|
@@ -5369,7 +5569,7 @@ class Importar extends declaracao_1.Declaracao {
|
|
|
5369
5569
|
}
|
|
5370
5570
|
exports.Importar = Importar;
|
|
5371
5571
|
|
|
5372
|
-
},{"./declaracao":
|
|
5572
|
+
},{"./declaracao":71}],81:[function(require,module,exports){
|
|
5373
5573
|
"use strict";
|
|
5374
5574
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5375
5575
|
if (k2 === undefined) k2 = k;
|
|
@@ -5418,7 +5618,7 @@ __exportStar(require("./var"), exports);
|
|
|
5418
5618
|
__exportStar(require("./var-multiplo"), exports);
|
|
5419
5619
|
__exportStar(require("./aleatorio"), exports);
|
|
5420
5620
|
|
|
5421
|
-
},{"./aleatorio":
|
|
5621
|
+
},{"./aleatorio":64,"./bloco":65,"./cabecalho-programa":66,"./classe":67,"./const":69,"./const-multiplo":68,"./continua":70,"./declaracao":71,"./enquanto":72,"./escolha":73,"./escreva":75,"./escreva-mesma-linha":74,"./expressao":76,"./falhar":77,"./fazer":78,"./funcao":79,"./importar":80,"./inicio-algoritmo":82,"./leia":84,"./leia-multiplo":83,"./para":86,"./para-cada":85,"./propriedade-classe":87,"./retorna":88,"./se":89,"./sustar":90,"./tendo-como":91,"./tente":92,"./var":94,"./var-multiplo":93}],82:[function(require,module,exports){
|
|
5422
5622
|
"use strict";
|
|
5423
5623
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5424
5624
|
exports.InicioAlgoritmo = void 0;
|
|
@@ -5433,7 +5633,7 @@ class InicioAlgoritmo extends declaracao_1.Declaracao {
|
|
|
5433
5633
|
}
|
|
5434
5634
|
exports.InicioAlgoritmo = InicioAlgoritmo;
|
|
5435
5635
|
|
|
5436
|
-
},{"./declaracao":
|
|
5636
|
+
},{"./declaracao":71}],83:[function(require,module,exports){
|
|
5437
5637
|
"use strict";
|
|
5438
5638
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5439
5639
|
exports.LeiaMultiplo = void 0;
|
|
@@ -5456,7 +5656,7 @@ class LeiaMultiplo extends declaracao_1.Declaracao {
|
|
|
5456
5656
|
}
|
|
5457
5657
|
exports.LeiaMultiplo = LeiaMultiplo;
|
|
5458
5658
|
|
|
5459
|
-
},{"../geracao-identificadores":
|
|
5659
|
+
},{"../geracao-identificadores":113,"./declaracao":71}],84:[function(require,module,exports){
|
|
5460
5660
|
"use strict";
|
|
5461
5661
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5462
5662
|
exports.Leia = void 0;
|
|
@@ -5479,7 +5679,7 @@ class Leia extends declaracao_1.Declaracao {
|
|
|
5479
5679
|
}
|
|
5480
5680
|
exports.Leia = Leia;
|
|
5481
5681
|
|
|
5482
|
-
},{"../geracao-identificadores":
|
|
5682
|
+
},{"../geracao-identificadores":113,"./declaracao":71}],85:[function(require,module,exports){
|
|
5483
5683
|
"use strict";
|
|
5484
5684
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5485
5685
|
exports.ParaCada = void 0;
|
|
@@ -5498,7 +5698,7 @@ class ParaCada extends declaracao_1.Declaracao {
|
|
|
5498
5698
|
}
|
|
5499
5699
|
exports.ParaCada = ParaCada;
|
|
5500
5700
|
|
|
5501
|
-
},{"./declaracao":
|
|
5701
|
+
},{"./declaracao":71}],86:[function(require,module,exports){
|
|
5502
5702
|
"use strict";
|
|
5503
5703
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5504
5704
|
exports.Para = void 0;
|
|
@@ -5524,7 +5724,7 @@ class Para extends declaracao_1.Declaracao {
|
|
|
5524
5724
|
}
|
|
5525
5725
|
exports.Para = Para;
|
|
5526
5726
|
|
|
5527
|
-
},{"./declaracao":
|
|
5727
|
+
},{"./declaracao":71}],87:[function(require,module,exports){
|
|
5528
5728
|
"use strict";
|
|
5529
5729
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5530
5730
|
exports.PropriedadeClasse = void 0;
|
|
@@ -5542,7 +5742,7 @@ class PropriedadeClasse extends declaracao_1.Declaracao {
|
|
|
5542
5742
|
}
|
|
5543
5743
|
exports.PropriedadeClasse = PropriedadeClasse;
|
|
5544
5744
|
|
|
5545
|
-
},{"./declaracao":
|
|
5745
|
+
},{"./declaracao":71}],88:[function(require,module,exports){
|
|
5546
5746
|
"use strict";
|
|
5547
5747
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5548
5748
|
exports.Retorna = void 0;
|
|
@@ -5565,7 +5765,7 @@ class Retorna extends declaracao_1.Declaracao {
|
|
|
5565
5765
|
}
|
|
5566
5766
|
exports.Retorna = Retorna;
|
|
5567
5767
|
|
|
5568
|
-
},{"./declaracao":
|
|
5768
|
+
},{"./declaracao":71}],89:[function(require,module,exports){
|
|
5569
5769
|
"use strict";
|
|
5570
5770
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5571
5771
|
exports.Se = void 0;
|
|
@@ -5584,7 +5784,7 @@ class Se extends declaracao_1.Declaracao {
|
|
|
5584
5784
|
}
|
|
5585
5785
|
exports.Se = Se;
|
|
5586
5786
|
|
|
5587
|
-
},{"./declaracao":
|
|
5787
|
+
},{"./declaracao":71}],90:[function(require,module,exports){
|
|
5588
5788
|
"use strict";
|
|
5589
5789
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5590
5790
|
exports.Sustar = void 0;
|
|
@@ -5599,7 +5799,7 @@ class Sustar extends declaracao_1.Declaracao {
|
|
|
5599
5799
|
}
|
|
5600
5800
|
exports.Sustar = Sustar;
|
|
5601
5801
|
|
|
5602
|
-
},{"./declaracao":
|
|
5802
|
+
},{"./declaracao":71}],91:[function(require,module,exports){
|
|
5603
5803
|
"use strict";
|
|
5604
5804
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5605
5805
|
exports.TendoComo = void 0;
|
|
@@ -5622,7 +5822,7 @@ class TendoComo extends declaracao_1.Declaracao {
|
|
|
5622
5822
|
}
|
|
5623
5823
|
exports.TendoComo = TendoComo;
|
|
5624
5824
|
|
|
5625
|
-
},{"./declaracao":
|
|
5825
|
+
},{"./declaracao":71}],92:[function(require,module,exports){
|
|
5626
5826
|
"use strict";
|
|
5627
5827
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5628
5828
|
exports.Tente = void 0;
|
|
@@ -5644,7 +5844,7 @@ class Tente extends declaracao_1.Declaracao {
|
|
|
5644
5844
|
}
|
|
5645
5845
|
exports.Tente = Tente;
|
|
5646
5846
|
|
|
5647
|
-
},{"./declaracao":
|
|
5847
|
+
},{"./declaracao":71}],93:[function(require,module,exports){
|
|
5648
5848
|
"use strict";
|
|
5649
5849
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5650
5850
|
exports.VarMultiplo = void 0;
|
|
@@ -5666,7 +5866,7 @@ class VarMultiplo extends declaracao_1.Declaracao {
|
|
|
5666
5866
|
}
|
|
5667
5867
|
exports.VarMultiplo = VarMultiplo;
|
|
5668
5868
|
|
|
5669
|
-
},{"./declaracao":
|
|
5869
|
+
},{"./declaracao":71}],94:[function(require,module,exports){
|
|
5670
5870
|
"use strict";
|
|
5671
5871
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5672
5872
|
exports.Var = void 0;
|
|
@@ -5694,7 +5894,7 @@ class Var extends declaracao_1.Declaracao {
|
|
|
5694
5894
|
}
|
|
5695
5895
|
exports.Var = Var;
|
|
5696
5896
|
|
|
5697
|
-
},{"./declaracao":
|
|
5897
|
+
},{"./declaracao":71}],95:[function(require,module,exports){
|
|
5698
5898
|
"use strict";
|
|
5699
5899
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5700
5900
|
exports.default = cyrb53;
|
|
@@ -5718,7 +5918,7 @@ function cyrb53(nomeArquivo, semente = 0) {
|
|
|
5718
5918
|
return 4294967296 * (2097151 & h2) + (h1 >>> 0);
|
|
5719
5919
|
}
|
|
5720
5920
|
|
|
5721
|
-
},{}],
|
|
5921
|
+
},{}],96:[function(require,module,exports){
|
|
5722
5922
|
"use strict";
|
|
5723
5923
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5724
5924
|
if (k2 === undefined) k2 = k;
|
|
@@ -5743,11 +5943,11 @@ var cyrb53_1 = require("./cyrb53");
|
|
|
5743
5943
|
Object.defineProperty(exports, "cyrb53", { enumerable: true, get: function () { return __importDefault(cyrb53_1).default; } });
|
|
5744
5944
|
__exportStar(require("./ponto-parada"), exports);
|
|
5745
5945
|
|
|
5746
|
-
},{"./cyrb53":
|
|
5946
|
+
},{"./cyrb53":95,"./ponto-parada":97}],97:[function(require,module,exports){
|
|
5747
5947
|
"use strict";
|
|
5748
5948
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5749
5949
|
|
|
5750
|
-
},{}],
|
|
5950
|
+
},{}],98:[function(require,module,exports){
|
|
5751
5951
|
"use strict";
|
|
5752
5952
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5753
5953
|
exports.EspacoVariaveis = void 0;
|
|
@@ -5768,7 +5968,7 @@ class EspacoVariaveis {
|
|
|
5768
5968
|
}
|
|
5769
5969
|
exports.EspacoVariaveis = EspacoVariaveis;
|
|
5770
5970
|
|
|
5771
|
-
},{}],
|
|
5971
|
+
},{}],99:[function(require,module,exports){
|
|
5772
5972
|
"use strict";
|
|
5773
5973
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5774
5974
|
exports.Chamavel = void 0;
|
|
@@ -5782,7 +5982,7 @@ class Chamavel {
|
|
|
5782
5982
|
}
|
|
5783
5983
|
exports.Chamavel = Chamavel;
|
|
5784
5984
|
|
|
5785
|
-
},{}],
|
|
5985
|
+
},{}],100:[function(require,module,exports){
|
|
5786
5986
|
"use strict";
|
|
5787
5987
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5788
5988
|
exports.ClassePadrao = void 0;
|
|
@@ -5823,7 +6023,7 @@ class ClassePadrao extends chamavel_1.Chamavel {
|
|
|
5823
6023
|
}
|
|
5824
6024
|
exports.ClassePadrao = ClassePadrao;
|
|
5825
6025
|
|
|
5826
|
-
},{"./chamavel":
|
|
6026
|
+
},{"./chamavel":99}],101:[function(require,module,exports){
|
|
5827
6027
|
"use strict";
|
|
5828
6028
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5829
6029
|
exports.DeleguaFuncao = void 0;
|
|
@@ -5965,7 +6165,7 @@ class DeleguaFuncao extends chamavel_1.Chamavel {
|
|
|
5965
6165
|
}
|
|
5966
6166
|
exports.DeleguaFuncao = DeleguaFuncao;
|
|
5967
6167
|
|
|
5968
|
-
},{"../declaracoes":
|
|
6168
|
+
},{"../declaracoes":81,"../espaco-variaveis":98,"../inferenciador":115,"../quebras":159,"./chamavel":99}],102:[function(require,module,exports){
|
|
5969
6169
|
"use strict";
|
|
5970
6170
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5971
6171
|
exports.DescritorTipoClasse = void 0;
|
|
@@ -6046,7 +6246,7 @@ class DescritorTipoClasse extends chamavel_1.Chamavel {
|
|
|
6046
6246
|
}
|
|
6047
6247
|
exports.DescritorTipoClasse = DescritorTipoClasse;
|
|
6048
6248
|
|
|
6049
|
-
},{"../excecoes":
|
|
6249
|
+
},{"../excecoes":110,"./chamavel":99,"./objeto-delegua-classe":107}],103:[function(require,module,exports){
|
|
6050
6250
|
"use strict";
|
|
6051
6251
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6052
6252
|
exports.FuncaoPadrao = void 0;
|
|
@@ -6082,7 +6282,7 @@ class FuncaoPadrao extends chamavel_1.Chamavel {
|
|
|
6082
6282
|
}
|
|
6083
6283
|
exports.FuncaoPadrao = FuncaoPadrao;
|
|
6084
6284
|
|
|
6085
|
-
},{"./chamavel":
|
|
6285
|
+
},{"./chamavel":99}],104:[function(require,module,exports){
|
|
6086
6286
|
"use strict";
|
|
6087
6287
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6088
6288
|
if (k2 === undefined) k2 = k;
|
|
@@ -6109,7 +6309,7 @@ __exportStar(require("./modulo"), exports);
|
|
|
6109
6309
|
__exportStar(require("./objeto-delegua-classe"), exports);
|
|
6110
6310
|
__exportStar(require("./objeto-padrao"), exports);
|
|
6111
6311
|
|
|
6112
|
-
},{"./chamavel":
|
|
6312
|
+
},{"./chamavel":99,"./classe-padrao":100,"./delegua-funcao":101,"./descritor-tipo-classe":102,"./funcao-padrao":103,"./metodo-primitiva":105,"./modulo":106,"./objeto-delegua-classe":107,"./objeto-padrao":108}],105:[function(require,module,exports){
|
|
6113
6313
|
"use strict";
|
|
6114
6314
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6115
6315
|
exports.MetodoPrimitiva = void 0;
|
|
@@ -6151,7 +6351,7 @@ class MetodoPrimitiva extends chamavel_1.Chamavel {
|
|
|
6151
6351
|
}
|
|
6152
6352
|
exports.MetodoPrimitiva = MetodoPrimitiva;
|
|
6153
6353
|
|
|
6154
|
-
},{"./chamavel":
|
|
6354
|
+
},{"./chamavel":99}],106:[function(require,module,exports){
|
|
6155
6355
|
"use strict";
|
|
6156
6356
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6157
6357
|
exports.DeleguaModulo = void 0;
|
|
@@ -6177,7 +6377,7 @@ class DeleguaModulo {
|
|
|
6177
6377
|
}
|
|
6178
6378
|
exports.DeleguaModulo = DeleguaModulo;
|
|
6179
6379
|
|
|
6180
|
-
},{}],
|
|
6380
|
+
},{}],107:[function(require,module,exports){
|
|
6181
6381
|
"use strict";
|
|
6182
6382
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6183
6383
|
exports.ObjetoDeleguaClasse = void 0;
|
|
@@ -6209,6 +6409,18 @@ class ObjetoDeleguaClasse {
|
|
|
6209
6409
|
return metodo.funcaoPorMetodoDeClasse(this);
|
|
6210
6410
|
throw new excecoes_1.ErroEmTempoDeExecucao(simbolo, `Método ou propriedade "${simbolo.lexema}" não existe neste objeto.`);
|
|
6211
6411
|
}
|
|
6412
|
+
obterMetodo(nomeMetodo) {
|
|
6413
|
+
const metodo = this.classe.encontrarMetodo(nomeMetodo);
|
|
6414
|
+
if (metodo)
|
|
6415
|
+
return metodo.funcaoPorMetodoDeClasse(this);
|
|
6416
|
+
throw new excecoes_1.ErroEmTempoDeExecucao(null, `Método "${nomeMetodo}" não existe neste objeto.`);
|
|
6417
|
+
}
|
|
6418
|
+
obterPropriedade(nomePropriedade) {
|
|
6419
|
+
if (this.propriedades.hasOwnProperty(nomePropriedade)) {
|
|
6420
|
+
return this.propriedades[nomePropriedade];
|
|
6421
|
+
}
|
|
6422
|
+
throw new excecoes_1.ErroEmTempoDeExecucao(null, `Propriedade "${nomePropriedade}" não existe neste objeto.`);
|
|
6423
|
+
}
|
|
6212
6424
|
definir(simbolo, valor) {
|
|
6213
6425
|
if (this.classe.dialetoRequerDeclaracaoPropriedades && !this.propriedades.hasOwnProperty(simbolo.lexema)) {
|
|
6214
6426
|
throw new excecoes_1.ErroEmTempoDeExecucao(simbolo, `Propriedade "${simbolo.lexema}" não foi definida na declaração da classe ${this.classe.simboloOriginal.lexema}.`);
|
|
@@ -6232,7 +6444,7 @@ class ObjetoDeleguaClasse {
|
|
|
6232
6444
|
}
|
|
6233
6445
|
exports.ObjetoDeleguaClasse = ObjetoDeleguaClasse;
|
|
6234
6446
|
|
|
6235
|
-
},{"../excecoes":
|
|
6447
|
+
},{"../excecoes":110}],108:[function(require,module,exports){
|
|
6236
6448
|
"use strict";
|
|
6237
6449
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6238
6450
|
exports.ObjetoPadrao = void 0;
|
|
@@ -6266,7 +6478,7 @@ class ObjetoPadrao {
|
|
|
6266
6478
|
}
|
|
6267
6479
|
exports.ObjetoPadrao = ObjetoPadrao;
|
|
6268
6480
|
|
|
6269
|
-
},{}],
|
|
6481
|
+
},{}],109:[function(require,module,exports){
|
|
6270
6482
|
"use strict";
|
|
6271
6483
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6272
6484
|
exports.ErroEmTempoDeExecucao = void 0;
|
|
@@ -6281,7 +6493,7 @@ class ErroEmTempoDeExecucao extends Error {
|
|
|
6281
6493
|
}
|
|
6282
6494
|
exports.ErroEmTempoDeExecucao = ErroEmTempoDeExecucao;
|
|
6283
6495
|
|
|
6284
|
-
},{}],
|
|
6496
|
+
},{}],110:[function(require,module,exports){
|
|
6285
6497
|
"use strict";
|
|
6286
6498
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6287
6499
|
if (k2 === undefined) k2 = k;
|
|
@@ -6300,7 +6512,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
6300
6512
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6301
6513
|
__exportStar(require("./erro-em-tempo-de-execucao"), exports);
|
|
6302
6514
|
|
|
6303
|
-
},{"./erro-em-tempo-de-execucao":
|
|
6515
|
+
},{"./erro-em-tempo-de-execucao":109}],111:[function(require,module,exports){
|
|
6304
6516
|
"use strict";
|
|
6305
6517
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6306
6518
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -6322,6 +6534,16 @@ class FormatadorDelegua {
|
|
|
6322
6534
|
this.devePularLinha = true;
|
|
6323
6535
|
this.deveIndentar = true;
|
|
6324
6536
|
}
|
|
6537
|
+
visitarExpressaoAcessoMetodo(expressao) {
|
|
6538
|
+
this.formatarDeclaracaoOuConstruto(expressao.objeto);
|
|
6539
|
+
this.codigoFormatado += '.';
|
|
6540
|
+
this.codigoFormatado += expressao.nomeMetodo;
|
|
6541
|
+
}
|
|
6542
|
+
visitarExpressaoAcessoPropriedade(expressao) {
|
|
6543
|
+
this.formatarDeclaracaoOuConstruto(expressao.objeto);
|
|
6544
|
+
this.codigoFormatado += '.';
|
|
6545
|
+
this.codigoFormatado += expressao.nomePropriedade;
|
|
6546
|
+
}
|
|
6325
6547
|
visitarDeclaracaoComentario(declaracao) {
|
|
6326
6548
|
if (declaracao.multilinha) {
|
|
6327
6549
|
this.codigoFormatado += `${' '.repeat(this.indentacaoAtual)}/* `;
|
|
@@ -6569,7 +6791,7 @@ class FormatadorDelegua {
|
|
|
6569
6791
|
this.formatarDeclaracaoOuConstruto(expressao.indice);
|
|
6570
6792
|
this.codigoFormatado += `]`;
|
|
6571
6793
|
}
|
|
6572
|
-
|
|
6794
|
+
visitarExpressaoAcessoMetodoOuPropriedade(expressao) {
|
|
6573
6795
|
this.formatarDeclaracaoOuConstruto(expressao.objeto);
|
|
6574
6796
|
this.codigoFormatado += '.';
|
|
6575
6797
|
this.codigoFormatado += expressao.simbolo.lexema;
|
|
@@ -6841,7 +7063,7 @@ class FormatadorDelegua {
|
|
|
6841
7063
|
this.visitarExpressaoAcessoIndiceVariavel(declaracaoOuConstruto);
|
|
6842
7064
|
break;
|
|
6843
7065
|
case 'AcessoMetodoOuPropriedade':
|
|
6844
|
-
this.
|
|
7066
|
+
this.visitarExpressaoAcessoMetodoOuPropriedade(declaracaoOuConstruto);
|
|
6845
7067
|
break;
|
|
6846
7068
|
case 'Agrupamento':
|
|
6847
7069
|
this.visitarExpressaoAgrupamento(declaracaoOuConstruto);
|
|
@@ -6978,7 +7200,7 @@ class FormatadorDelegua {
|
|
|
6978
7200
|
}
|
|
6979
7201
|
exports.FormatadorDelegua = FormatadorDelegua;
|
|
6980
7202
|
|
|
6981
|
-
},{"../construtos":
|
|
7203
|
+
},{"../construtos":43,"../tipos-de-simbolos/delegua":163}],112:[function(require,module,exports){
|
|
6982
7204
|
"use strict";
|
|
6983
7205
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6984
7206
|
if (k2 === undefined) k2 = k;
|
|
@@ -6997,7 +7219,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
6997
7219
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6998
7220
|
__exportStar(require("./formatador-delegua"), exports);
|
|
6999
7221
|
|
|
7000
|
-
},{"./formatador-delegua":
|
|
7222
|
+
},{"./formatador-delegua":111}],113:[function(require,module,exports){
|
|
7001
7223
|
"use strict";
|
|
7002
7224
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7003
7225
|
exports.uuidv4 = uuidv4;
|
|
@@ -7021,7 +7243,7 @@ function uuidv4() {
|
|
|
7021
7243
|
});
|
|
7022
7244
|
}
|
|
7023
7245
|
|
|
7024
|
-
},{}],
|
|
7246
|
+
},{}],114:[function(require,module,exports){
|
|
7025
7247
|
"use strict";
|
|
7026
7248
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7027
7249
|
if (k2 === undefined) k2 = k;
|
|
@@ -7050,7 +7272,7 @@ __exportStar(require("./interpretador"), exports);
|
|
|
7050
7272
|
__exportStar(require("./lexador"), exports);
|
|
7051
7273
|
__exportStar(require("./tradutores"), exports);
|
|
7052
7274
|
|
|
7053
|
-
},{"./avaliador-sintatico":8,"./construtos":
|
|
7275
|
+
},{"./avaliador-sintatico":8,"./construtos":43,"./declaracoes":81,"./depuracao":96,"./formatadores":112,"./interfaces":121,"./interpretador":139,"./lexador":152,"./tradutores":169}],115:[function(require,module,exports){
|
|
7054
7276
|
"use strict";
|
|
7055
7277
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7056
7278
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -7177,15 +7399,15 @@ function tipoInferenciaParaTipoDadosElementar(tipoInferencia) {
|
|
|
7177
7399
|
}
|
|
7178
7400
|
}
|
|
7179
7401
|
|
|
7180
|
-
},{"./tipos-de-dados/delegua":
|
|
7402
|
+
},{"./tipos-de-dados/delegua":160,"./tipos-de-dados/primitivos":161,"./tipos-de-simbolos/delegua":163}],116:[function(require,module,exports){
|
|
7181
7403
|
"use strict";
|
|
7182
7404
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7183
7405
|
|
|
7184
|
-
},{}],
|
|
7406
|
+
},{}],117:[function(require,module,exports){
|
|
7185
7407
|
"use strict";
|
|
7186
7408
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7187
7409
|
|
|
7188
|
-
},{}],
|
|
7410
|
+
},{}],118:[function(require,module,exports){
|
|
7189
7411
|
"use strict";
|
|
7190
7412
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7191
7413
|
exports.DiagnosticoSeveridade = void 0;
|
|
@@ -7197,7 +7419,7 @@ var DiagnosticoSeveridade;
|
|
|
7197
7419
|
DiagnosticoSeveridade[DiagnosticoSeveridade["SUGESTAO"] = 3] = "SUGESTAO";
|
|
7198
7420
|
})(DiagnosticoSeveridade || (exports.DiagnosticoSeveridade = DiagnosticoSeveridade = {}));
|
|
7199
7421
|
|
|
7200
|
-
},{}],
|
|
7422
|
+
},{}],119:[function(require,module,exports){
|
|
7201
7423
|
"use strict";
|
|
7202
7424
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7203
7425
|
if (k2 === undefined) k2 = k;
|
|
@@ -7216,11 +7438,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
7216
7438
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7217
7439
|
__exportStar(require("./diagnostico-analisador-semantico"), exports);
|
|
7218
7440
|
|
|
7219
|
-
},{"./diagnostico-analisador-semantico":
|
|
7441
|
+
},{"./diagnostico-analisador-semantico":118}],120:[function(require,module,exports){
|
|
7220
7442
|
"use strict";
|
|
7221
7443
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7222
7444
|
|
|
7223
|
-
},{}],
|
|
7445
|
+
},{}],121:[function(require,module,exports){
|
|
7224
7446
|
"use strict";
|
|
7225
7447
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7226
7448
|
if (k2 === undefined) k2 = k;
|
|
@@ -7244,6 +7466,7 @@ __exportStar(require("./interpretador-interface"), exports);
|
|
|
7244
7466
|
__exportStar(require("./lexador-interface"), exports);
|
|
7245
7467
|
__exportStar(require("./parametro-interface"), exports);
|
|
7246
7468
|
__exportStar(require("./pilha-interface"), exports);
|
|
7469
|
+
__exportStar(require("./primitiva-interface"), exports);
|
|
7247
7470
|
__exportStar(require("./resolvedor-interface"), exports);
|
|
7248
7471
|
__exportStar(require("./retornos/retorno-execucao-interface"), exports);
|
|
7249
7472
|
__exportStar(require("./simbolo-interface"), exports);
|
|
@@ -7254,31 +7477,35 @@ __exportStar(require("./construtos"), exports);
|
|
|
7254
7477
|
__exportStar(require("./erros"), exports);
|
|
7255
7478
|
__exportStar(require("./retornos"), exports);
|
|
7256
7479
|
|
|
7257
|
-
},{"./avaliador-sintatico-interface":
|
|
7480
|
+
},{"./avaliador-sintatico-interface":116,"./construtos":117,"./erros":119,"./formatador-comum-interface":120,"./interpretador-com-depuracao-interface":122,"./interpretador-interface":123,"./lexador-interface":124,"./parametro-interface":125,"./pilha-interface":126,"./primitiva-interface":127,"./resolvedor-interface":128,"./retornos":129,"./retornos/retorno-execucao-interface":131,"./simbolo-interface":134,"./tradutor-interface":135,"./variavel-interface":136,"./visitante-comum-interface":137}],122:[function(require,module,exports){
|
|
7258
7481
|
"use strict";
|
|
7259
7482
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7260
7483
|
|
|
7261
|
-
},{}],
|
|
7484
|
+
},{}],123:[function(require,module,exports){
|
|
7262
7485
|
"use strict";
|
|
7263
7486
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7264
7487
|
|
|
7265
|
-
},{}],
|
|
7488
|
+
},{}],124:[function(require,module,exports){
|
|
7266
7489
|
"use strict";
|
|
7267
7490
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7268
7491
|
|
|
7269
|
-
},{}],
|
|
7492
|
+
},{}],125:[function(require,module,exports){
|
|
7270
7493
|
"use strict";
|
|
7271
7494
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7272
7495
|
|
|
7273
|
-
},{}],
|
|
7496
|
+
},{}],126:[function(require,module,exports){
|
|
7274
7497
|
"use strict";
|
|
7275
7498
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7276
7499
|
|
|
7277
|
-
},{}],
|
|
7500
|
+
},{}],127:[function(require,module,exports){
|
|
7278
7501
|
"use strict";
|
|
7279
7502
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7280
7503
|
|
|
7281
|
-
},{}],
|
|
7504
|
+
},{}],128:[function(require,module,exports){
|
|
7505
|
+
"use strict";
|
|
7506
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7507
|
+
|
|
7508
|
+
},{}],129:[function(require,module,exports){
|
|
7282
7509
|
"use strict";
|
|
7283
7510
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7284
7511
|
if (k2 === undefined) k2 = k;
|
|
@@ -7300,39 +7527,39 @@ __exportStar(require("./retorno-execucao-interface"), exports);
|
|
|
7300
7527
|
__exportStar(require("./retorno-interpretador"), exports);
|
|
7301
7528
|
__exportStar(require("./retorno-lexador"), exports);
|
|
7302
7529
|
|
|
7303
|
-
},{"./retorno-avaliador-sintatico":
|
|
7530
|
+
},{"./retorno-avaliador-sintatico":130,"./retorno-execucao-interface":131,"./retorno-interpretador":132,"./retorno-lexador":133}],130:[function(require,module,exports){
|
|
7304
7531
|
"use strict";
|
|
7305
7532
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7306
7533
|
|
|
7307
|
-
},{}],
|
|
7534
|
+
},{}],131:[function(require,module,exports){
|
|
7308
7535
|
"use strict";
|
|
7309
7536
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7310
7537
|
|
|
7311
|
-
},{}],
|
|
7538
|
+
},{}],132:[function(require,module,exports){
|
|
7312
7539
|
"use strict";
|
|
7313
7540
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7314
7541
|
|
|
7315
|
-
},{}],
|
|
7542
|
+
},{}],133:[function(require,module,exports){
|
|
7316
7543
|
"use strict";
|
|
7317
7544
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7318
7545
|
|
|
7319
|
-
},{}],
|
|
7546
|
+
},{}],134:[function(require,module,exports){
|
|
7320
7547
|
"use strict";
|
|
7321
7548
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7322
7549
|
|
|
7323
|
-
},{}],
|
|
7550
|
+
},{}],135:[function(require,module,exports){
|
|
7324
7551
|
"use strict";
|
|
7325
7552
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7326
7553
|
|
|
7327
|
-
},{}],
|
|
7554
|
+
},{}],136:[function(require,module,exports){
|
|
7328
7555
|
"use strict";
|
|
7329
7556
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7330
7557
|
|
|
7331
|
-
},{}],
|
|
7558
|
+
},{}],137:[function(require,module,exports){
|
|
7332
7559
|
"use strict";
|
|
7333
7560
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7334
7561
|
|
|
7335
|
-
},{}],
|
|
7562
|
+
},{}],138:[function(require,module,exports){
|
|
7336
7563
|
"use strict";
|
|
7337
7564
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7338
7565
|
if (k2 === undefined) k2 = k;
|
|
@@ -7385,7 +7612,7 @@ function carregarBibliotecasGlobais(pilhaEscoposExecucao) {
|
|
|
7385
7612
|
pilhaEscoposExecucao.definirVariavel('tupla', new funcao_padrao_1.FuncaoPadrao(1, bibliotecaGlobal.tupla));
|
|
7386
7613
|
}
|
|
7387
7614
|
|
|
7388
|
-
},{"../bibliotecas/biblioteca-global":17,"../estruturas/funcao-padrao":
|
|
7615
|
+
},{"../bibliotecas/biblioteca-global":17,"../estruturas/funcao-padrao":103}],139:[function(require,module,exports){
|
|
7389
7616
|
"use strict";
|
|
7390
7617
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7391
7618
|
if (k2 === undefined) k2 = k;
|
|
@@ -7402,10 +7629,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
7402
7629
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
7403
7630
|
};
|
|
7404
7631
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7632
|
+
__exportStar(require("./interpretador"), exports);
|
|
7405
7633
|
__exportStar(require("./interpretador-base"), exports);
|
|
7406
7634
|
__exportStar(require("./interpretador-com-depuracao"), exports);
|
|
7407
7635
|
|
|
7408
|
-
},{"./interpretador-base":
|
|
7636
|
+
},{"./interpretador":142,"./interpretador-base":140,"./interpretador-com-depuracao":141}],140:[function(require,module,exports){
|
|
7409
7637
|
(function (process){(function (){
|
|
7410
7638
|
"use strict";
|
|
7411
7639
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -7481,6 +7709,12 @@ class InterpretadorBase {
|
|
|
7481
7709
|
this.pilhaEscoposExecucao.empilhar(escopoExecucao);
|
|
7482
7710
|
(0, comum_1.carregarBibliotecasGlobais)(this.pilhaEscoposExecucao);
|
|
7483
7711
|
}
|
|
7712
|
+
visitarExpressaoAcessoMetodo(expressao) {
|
|
7713
|
+
throw new Error('Método não implementado.');
|
|
7714
|
+
}
|
|
7715
|
+
visitarExpressaoAcessoPropriedade(expressao) {
|
|
7716
|
+
throw new Error('Método não implementado.');
|
|
7717
|
+
}
|
|
7484
7718
|
/**
|
|
7485
7719
|
* Construtos de comentários não têm utilidade para o Interpretador.
|
|
7486
7720
|
* Apenas retornamos `Promise.resolve()` para não termos erros.
|
|
@@ -7537,7 +7771,8 @@ class InterpretadorBase {
|
|
|
7537
7771
|
}
|
|
7538
7772
|
async visitarExpressaoTipoDe(expressao) {
|
|
7539
7773
|
let tipoDe = expressao.valor;
|
|
7540
|
-
if (tipoDe instanceof construtos_1.
|
|
7774
|
+
if (tipoDe instanceof construtos_1.AcessoIndiceVariavel ||
|
|
7775
|
+
tipoDe instanceof construtos_1.Agrupamento ||
|
|
7541
7776
|
tipoDe instanceof construtos_1.Binario ||
|
|
7542
7777
|
tipoDe instanceof construtos_1.Chamada ||
|
|
7543
7778
|
tipoDe instanceof construtos_1.Dicionario ||
|
|
@@ -8030,12 +8265,10 @@ class InterpretadorBase {
|
|
|
8030
8265
|
if (Array.isArray(direita) || typeof direita === primitivos_1.default.TEXTO) {
|
|
8031
8266
|
return direita.includes(esquerda);
|
|
8032
8267
|
}
|
|
8033
|
-
else if (direita
|
|
8034
|
-
return esquerda in direita;
|
|
8035
|
-
}
|
|
8036
|
-
else {
|
|
8037
|
-
throw new excecoes_1.ErroEmTempoDeExecucao(esquerda, "Tipo de chamada inválida com 'em'.", expressao.linha);
|
|
8268
|
+
else if (direita !== null && typeof direita === 'object') {
|
|
8269
|
+
return esquerda in direita || (direita.valor !== undefined && esquerda in direita.valor);
|
|
8038
8270
|
}
|
|
8271
|
+
throw new excecoes_1.ErroEmTempoDeExecucao(esquerda, "Tipo de chamada inválida com 'em'.", expressao.linha);
|
|
8039
8272
|
}
|
|
8040
8273
|
// se um estado for verdadeiro, retorna verdadeiro
|
|
8041
8274
|
if (expressao.operador.tipo === delegua_1.default.OU) {
|
|
@@ -8086,6 +8319,9 @@ class InterpretadorBase {
|
|
|
8086
8319
|
}
|
|
8087
8320
|
async visitarDeclaracaoParaCada(declaracao) {
|
|
8088
8321
|
let retornoExecucao;
|
|
8322
|
+
// Posição atual precisa ser reiniciada, pois pode estar dentro de outro
|
|
8323
|
+
// laço de repetição.
|
|
8324
|
+
declaracao.posicaoAtual = 0;
|
|
8089
8325
|
const vetorResolvido = await this.avaliar(declaracao.vetor);
|
|
8090
8326
|
const valorVetorResolvido = vetorResolvido.hasOwnProperty('valor') ? vetorResolvido.valor : vetorResolvido;
|
|
8091
8327
|
if (!Array.isArray(valorVetorResolvido)) {
|
|
@@ -8242,7 +8478,7 @@ class InterpretadorBase {
|
|
|
8242
8478
|
}
|
|
8243
8479
|
else {
|
|
8244
8480
|
const literalErro = new construtos_1.Literal(declaracao.hashArquivo, Number(declaracao.linha), erro.mensagem);
|
|
8245
|
-
const chamadaPegue = new construtos_1.Chamada(declaracao.caminhoPegue.hashArquivo, declaracao.caminhoPegue,
|
|
8481
|
+
const chamadaPegue = new construtos_1.Chamada(declaracao.caminhoPegue.hashArquivo, declaracao.caminhoPegue, [literalErro]);
|
|
8246
8482
|
valorRetorno = await chamadaPegue.aceitar(this);
|
|
8247
8483
|
}
|
|
8248
8484
|
}
|
|
@@ -8449,6 +8685,8 @@ class InterpretadorBase {
|
|
|
8449
8685
|
objeto instanceof estruturas_1.DeleguaFuncao ||
|
|
8450
8686
|
objeto instanceof estruturas_1.DescritorTipoClasse ||
|
|
8451
8687
|
objeto instanceof estruturas_1.DeleguaModulo) {
|
|
8688
|
+
if (objeto[valorIndice] === 0)
|
|
8689
|
+
return 0;
|
|
8452
8690
|
return objeto[valorIndice] || null;
|
|
8453
8691
|
}
|
|
8454
8692
|
if (typeof objeto === primitivos_1.default.TEXTO) {
|
|
@@ -8530,7 +8768,7 @@ class InterpretadorBase {
|
|
|
8530
8768
|
* @param {AcessoMetodoOuPropriedade} expressao A expressão de acesso.
|
|
8531
8769
|
* @returns O resultado da execução.
|
|
8532
8770
|
*/
|
|
8533
|
-
async
|
|
8771
|
+
async visitarExpressaoAcessoMetodoOuPropriedade(expressao) {
|
|
8534
8772
|
let variavelObjeto = await this.avaliar(expressao.objeto);
|
|
8535
8773
|
// Este caso acontece quando há encadeamento de métodos.
|
|
8536
8774
|
// Por exemplo, `objeto1.metodo1().metodo2()`.
|
|
@@ -8543,12 +8781,15 @@ class InterpretadorBase {
|
|
|
8543
8781
|
// Outro caso que `instanceof` simplesmente não funciona para casos em Liquido,
|
|
8544
8782
|
// então testamos também o nome do construtor.
|
|
8545
8783
|
if (objeto instanceof estruturas_1.ObjetoDeleguaClasse || objeto.constructor.name === 'ObjetoDeleguaClasse') {
|
|
8546
|
-
|
|
8784
|
+
const valor = objeto.obter(expressao.simbolo);
|
|
8785
|
+
if (valor === 0)
|
|
8786
|
+
return 0;
|
|
8787
|
+
return valor || null;
|
|
8547
8788
|
}
|
|
8548
8789
|
// Objeto simples do JavaScript, ou dicionário de Delégua.
|
|
8549
8790
|
if (objeto.constructor === Object) {
|
|
8550
|
-
|
|
8551
|
-
|
|
8791
|
+
if (expressao.simbolo.lexema in primitivas_dicionario_1.default) {
|
|
8792
|
+
const metodoDePrimitivaDicionario = primitivas_dicionario_1.default[expressao.simbolo.lexema].implementacao;
|
|
8552
8793
|
return new metodo_primitiva_1.MetodoPrimitiva(objeto, metodoDePrimitivaDicionario);
|
|
8553
8794
|
}
|
|
8554
8795
|
return objeto[expressao.simbolo.lexema] || null;
|
|
@@ -8580,13 +8821,13 @@ class InterpretadorBase {
|
|
|
8580
8821
|
case delegua_2.default.INTEIRO:
|
|
8581
8822
|
case delegua_2.default.NUMERO:
|
|
8582
8823
|
case delegua_2.default.NÚMERO:
|
|
8583
|
-
const metodoDePrimitivaNumero = primitivas_numero_1.default[expressao.simbolo.lexema];
|
|
8824
|
+
const metodoDePrimitivaNumero = primitivas_numero_1.default[expressao.simbolo.lexema].implementacao;
|
|
8584
8825
|
if (metodoDePrimitivaNumero) {
|
|
8585
8826
|
return new metodo_primitiva_1.MetodoPrimitiva(objeto, metodoDePrimitivaNumero);
|
|
8586
8827
|
}
|
|
8587
8828
|
break;
|
|
8588
8829
|
case delegua_2.default.TEXTO:
|
|
8589
|
-
const metodoDePrimitivaTexto = primitivas_texto_1.default[expressao.simbolo.lexema];
|
|
8830
|
+
const metodoDePrimitivaTexto = primitivas_texto_1.default[expressao.simbolo.lexema].implementacao;
|
|
8590
8831
|
if (metodoDePrimitivaTexto) {
|
|
8591
8832
|
return new metodo_primitiva_1.MetodoPrimitiva(objeto, metodoDePrimitivaTexto);
|
|
8592
8833
|
}
|
|
@@ -8595,7 +8836,7 @@ class InterpretadorBase {
|
|
|
8595
8836
|
case delegua_2.default.VETOR_NUMERO:
|
|
8596
8837
|
case delegua_2.default.VETOR_NÚMERO:
|
|
8597
8838
|
case delegua_2.default.VETOR_TEXTO:
|
|
8598
|
-
const metodoDePrimitivaVetor = primitivas_vetor_1.default[expressao.simbolo.lexema];
|
|
8839
|
+
const metodoDePrimitivaVetor = primitivas_vetor_1.default[expressao.simbolo.lexema].implementacao;
|
|
8599
8840
|
if (metodoDePrimitivaVetor) {
|
|
8600
8841
|
return new metodo_primitiva_1.MetodoPrimitiva(objeto, metodoDePrimitivaVetor);
|
|
8601
8842
|
}
|
|
@@ -8613,6 +8854,15 @@ class InterpretadorBase {
|
|
|
8613
8854
|
const dicionario = {};
|
|
8614
8855
|
for (let i = 0; i < expressao.chaves.length; i++) {
|
|
8615
8856
|
const promises = await Promise.all([this.avaliar(expressao.chaves[i]), this.avaliar(expressao.valores[i])]);
|
|
8857
|
+
if (typeof promises[0] === 'boolean') {
|
|
8858
|
+
const chaveLogico = promises[0] === true ? 'verdadeiro' : 'falso';
|
|
8859
|
+
dicionario[chaveLogico] = promises[1];
|
|
8860
|
+
continue;
|
|
8861
|
+
}
|
|
8862
|
+
else if (typeof promises[1] === 'object') {
|
|
8863
|
+
dicionario[promises[0]] = promises[1].valor;
|
|
8864
|
+
continue;
|
|
8865
|
+
}
|
|
8616
8866
|
dicionario[promises[0]] = promises[1];
|
|
8617
8867
|
}
|
|
8618
8868
|
return dicionario;
|
|
@@ -8676,6 +8926,10 @@ class InterpretadorBase {
|
|
|
8676
8926
|
if (Array.isArray(objeto)) {
|
|
8677
8927
|
let retornoVetor = '[';
|
|
8678
8928
|
for (let elemento of objeto) {
|
|
8929
|
+
if (typeof elemento === 'object') {
|
|
8930
|
+
retornoVetor += `${JSON.stringify(elemento)}, `;
|
|
8931
|
+
continue;
|
|
8932
|
+
}
|
|
8679
8933
|
retornoVetor += typeof elemento === 'string' ? `'${elemento}', ` : `${this.paraTexto(elemento)}, `;
|
|
8680
8934
|
}
|
|
8681
8935
|
if (retornoVetor.length > 1) {
|
|
@@ -8815,7 +9069,7 @@ class InterpretadorBase {
|
|
|
8815
9069
|
exports.InterpretadorBase = InterpretadorBase;
|
|
8816
9070
|
|
|
8817
9071
|
}).call(this)}).call(this,require('_process'))
|
|
8818
|
-
},{"../avaliador-sintatico":8,"../bibliotecas/primitivas-dicionario":18,"../bibliotecas/primitivas-numero":19,"../bibliotecas/primitivas-texto":20,"../bibliotecas/primitivas-vetor":21,"../construtos":
|
|
9072
|
+
},{"../avaliador-sintatico":8,"../bibliotecas/primitivas-dicionario":18,"../bibliotecas/primitivas-numero":19,"../bibliotecas/primitivas-texto":20,"../bibliotecas/primitivas-vetor":21,"../construtos":43,"../espaco-variaveis":98,"../estruturas":104,"../estruturas/metodo-primitiva":105,"../excecoes":110,"../inferenciador":115,"../lexador":152,"../quebras":159,"../tipos-de-dados/delegua":160,"../tipos-de-dados/primitivos":161,"../tipos-de-simbolos/delegua":163,"./comum":138,"./pilha-escopos-execucao":143,"_process":382,"browser-process-hrtime":339}],141:[function(require,module,exports){
|
|
8819
9073
|
"use strict";
|
|
8820
9074
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8821
9075
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9387,7 +9641,177 @@ class InterpretadorComDepuracao extends interpretador_base_1.InterpretadorBase {
|
|
|
9387
9641
|
}
|
|
9388
9642
|
exports.InterpretadorComDepuracao = InterpretadorComDepuracao;
|
|
9389
9643
|
|
|
9390
|
-
},{"../declaracoes":
|
|
9644
|
+
},{"../declaracoes":81,"../espaco-variaveis":98,"../inferenciador":115,"../quebras":159,"./interpretador-base":140,"lodash":375}],142:[function(require,module,exports){
|
|
9645
|
+
"use strict";
|
|
9646
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9647
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9648
|
+
};
|
|
9649
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9650
|
+
exports.Interpretador = void 0;
|
|
9651
|
+
const estruturas_1 = require("../estruturas");
|
|
9652
|
+
const interpretador_base_1 = require("./interpretador-base");
|
|
9653
|
+
const primitivas_dicionario_1 = __importDefault(require("../bibliotecas/primitivas-dicionario"));
|
|
9654
|
+
const primitivas_numero_1 = __importDefault(require("../bibliotecas/primitivas-numero"));
|
|
9655
|
+
const primitivas_texto_1 = __importDefault(require("../bibliotecas/primitivas-texto"));
|
|
9656
|
+
const primitivas_vetor_1 = __importDefault(require("../bibliotecas/primitivas-vetor"));
|
|
9657
|
+
const primitivos_1 = __importDefault(require("../tipos-de-dados/primitivos"));
|
|
9658
|
+
const delegua_1 = __importDefault(require("../tipos-de-dados/delegua"));
|
|
9659
|
+
const inferenciador_1 = require("../inferenciador");
|
|
9660
|
+
const excecoes_1 = require("../excecoes");
|
|
9661
|
+
/**
|
|
9662
|
+
* O interpretador de Delégua.
|
|
9663
|
+
*/
|
|
9664
|
+
class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
9665
|
+
async visitarExpressaoAcessoMetodo(expressao) {
|
|
9666
|
+
let variavelObjeto = await this.avaliar(expressao.objeto);
|
|
9667
|
+
// Este caso acontece quando há encadeamento de métodos.
|
|
9668
|
+
// Por exemplo, `objeto1.metodo1().metodo2()`.
|
|
9669
|
+
// Como `RetornoQuebra` também possui `valor`, precisamos extrair o
|
|
9670
|
+
// valor dele primeiro.
|
|
9671
|
+
if (variavelObjeto.constructor.name === 'RetornoQuebra') {
|
|
9672
|
+
variavelObjeto = variavelObjeto.valor;
|
|
9673
|
+
}
|
|
9674
|
+
const objeto = variavelObjeto.hasOwnProperty('valor') ? variavelObjeto.valor : variavelObjeto;
|
|
9675
|
+
// Outro caso que `instanceof` simplesmente não funciona para casos em Liquido,
|
|
9676
|
+
// então testamos também o nome do construtor.
|
|
9677
|
+
if (objeto instanceof estruturas_1.ObjetoDeleguaClasse || objeto.constructor.name === 'ObjetoDeleguaClasse') {
|
|
9678
|
+
return objeto.obterMetodo(expressao.nomeMetodo) || null;
|
|
9679
|
+
}
|
|
9680
|
+
// Objeto simples do JavaScript, ou dicionário de Delégua.
|
|
9681
|
+
if (objeto.constructor === Object) {
|
|
9682
|
+
if (expressao.nomeMetodo in primitivas_dicionario_1.default) {
|
|
9683
|
+
const metodoDePrimitivaDicionario = primitivas_dicionario_1.default[expressao.nomeMetodo].implementacao;
|
|
9684
|
+
return new estruturas_1.MetodoPrimitiva(objeto, metodoDePrimitivaDicionario);
|
|
9685
|
+
}
|
|
9686
|
+
return objeto[expressao.nomeMetodo] || null;
|
|
9687
|
+
}
|
|
9688
|
+
// Casos em que o objeto possui algum outro tipo que não o de objeto simples.
|
|
9689
|
+
// Normalmente executam quando uma biblioteca é importada, e estamos tentando
|
|
9690
|
+
// obter alguma propriedade ou método desse objeto.
|
|
9691
|
+
// Caso 1: Função tradicional do JavaScript.
|
|
9692
|
+
if (typeof objeto[expressao.nomeMetodo] === primitivos_1.default.FUNCAO) {
|
|
9693
|
+
return objeto[expressao.nomeMetodo];
|
|
9694
|
+
}
|
|
9695
|
+
// Caso 2: Objeto tradicional do JavaScript.
|
|
9696
|
+
if (typeof objeto[expressao.nomeMetodo] === primitivos_1.default.OBJETO) {
|
|
9697
|
+
return objeto[expressao.nomeMetodo];
|
|
9698
|
+
}
|
|
9699
|
+
// A partir daqui, presume-se que o objeto é uma das estruturas
|
|
9700
|
+
// de Delégua.
|
|
9701
|
+
if (objeto instanceof estruturas_1.DeleguaModulo) {
|
|
9702
|
+
return objeto.componentes[expressao.nomeMetodo] || null;
|
|
9703
|
+
}
|
|
9704
|
+
let tipoObjeto = variavelObjeto.tipo;
|
|
9705
|
+
if (tipoObjeto === null || tipoObjeto === undefined) {
|
|
9706
|
+
tipoObjeto = (0, inferenciador_1.inferirTipoVariavel)(variavelObjeto);
|
|
9707
|
+
}
|
|
9708
|
+
// Como internamente um dicionário de Delégua é simplesmente um objeto de
|
|
9709
|
+
// JavaScript, as primitivas de dicionário, especificamente, são tratadas
|
|
9710
|
+
// mais acima.
|
|
9711
|
+
switch (tipoObjeto) {
|
|
9712
|
+
case delegua_1.default.INTEIRO:
|
|
9713
|
+
case delegua_1.default.NUMERO:
|
|
9714
|
+
case delegua_1.default.NÚMERO:
|
|
9715
|
+
const metodoDePrimitivaNumero = primitivas_numero_1.default[expressao.nomeMetodo].implementacao;
|
|
9716
|
+
if (metodoDePrimitivaNumero) {
|
|
9717
|
+
return new estruturas_1.MetodoPrimitiva(objeto, metodoDePrimitivaNumero);
|
|
9718
|
+
}
|
|
9719
|
+
break;
|
|
9720
|
+
case delegua_1.default.TEXTO:
|
|
9721
|
+
const metodoDePrimitivaTexto = primitivas_texto_1.default[expressao.nomeMetodo].implementacao;
|
|
9722
|
+
if (metodoDePrimitivaTexto) {
|
|
9723
|
+
return new estruturas_1.MetodoPrimitiva(objeto, metodoDePrimitivaTexto);
|
|
9724
|
+
}
|
|
9725
|
+
break;
|
|
9726
|
+
case delegua_1.default.VETOR:
|
|
9727
|
+
case delegua_1.default.VETOR_NUMERO:
|
|
9728
|
+
case delegua_1.default.VETOR_NÚMERO:
|
|
9729
|
+
case delegua_1.default.VETOR_TEXTO:
|
|
9730
|
+
const metodoDePrimitivaVetor = primitivas_vetor_1.default[expressao.nomeMetodo].implementacao;
|
|
9731
|
+
if (metodoDePrimitivaVetor) {
|
|
9732
|
+
return new estruturas_1.MetodoPrimitiva(objeto, metodoDePrimitivaVetor);
|
|
9733
|
+
}
|
|
9734
|
+
break;
|
|
9735
|
+
}
|
|
9736
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(null, `Método para objeto ou primitiva não encontrado: ${expressao.nomeMetodo}.`, expressao.linha));
|
|
9737
|
+
}
|
|
9738
|
+
async visitarExpressaoAcessoPropriedade(expressao) {
|
|
9739
|
+
let variavelObjeto = await this.avaliar(expressao.objeto);
|
|
9740
|
+
// Este caso acontece quando há encadeamento de métodos.
|
|
9741
|
+
// Por exemplo, `objeto1.metodo1().metodo2()`.
|
|
9742
|
+
// Como `RetornoQuebra` também possui `valor`, precisamos extrair o
|
|
9743
|
+
// valor dele primeiro.
|
|
9744
|
+
if (variavelObjeto.constructor.name === 'RetornoQuebra') {
|
|
9745
|
+
variavelObjeto = variavelObjeto.valor;
|
|
9746
|
+
}
|
|
9747
|
+
const objeto = variavelObjeto.hasOwnProperty('valor') ? variavelObjeto.valor : variavelObjeto;
|
|
9748
|
+
// Outro caso que `instanceof` simplesmente não funciona para casos em Liquido,
|
|
9749
|
+
// então testamos também o nome do construtor.
|
|
9750
|
+
if (objeto instanceof estruturas_1.ObjetoDeleguaClasse || objeto.constructor.name === 'ObjetoDeleguaClasse') {
|
|
9751
|
+
return objeto.obterMetodo(expressao.nomePropriedade) || null;
|
|
9752
|
+
}
|
|
9753
|
+
// Objeto simples do JavaScript, ou dicionário de Delégua.
|
|
9754
|
+
if (objeto.constructor === Object) {
|
|
9755
|
+
if (expressao.nomePropriedade in primitivas_dicionario_1.default) {
|
|
9756
|
+
const metodoDePrimitivaDicionario = primitivas_dicionario_1.default[expressao.nomePropriedade].implementacao;
|
|
9757
|
+
return new estruturas_1.MetodoPrimitiva(objeto, metodoDePrimitivaDicionario);
|
|
9758
|
+
}
|
|
9759
|
+
return objeto[expressao.nomePropriedade] || null;
|
|
9760
|
+
}
|
|
9761
|
+
// Casos em que o objeto possui algum outro tipo que não o de objeto simples.
|
|
9762
|
+
// Normalmente executam quando uma biblioteca é importada, e estamos tentando
|
|
9763
|
+
// obter alguma propriedade ou método desse objeto.
|
|
9764
|
+
// Caso 1: Função tradicional do JavaScript.
|
|
9765
|
+
if (typeof objeto[expressao.nomePropriedade] === primitivos_1.default.FUNCAO) {
|
|
9766
|
+
return objeto[expressao.nomePropriedade];
|
|
9767
|
+
}
|
|
9768
|
+
// Caso 2: Objeto tradicional do JavaScript.
|
|
9769
|
+
if (typeof objeto[expressao.nomePropriedade] === primitivos_1.default.OBJETO) {
|
|
9770
|
+
return objeto[expressao.nomePropriedade];
|
|
9771
|
+
}
|
|
9772
|
+
// A partir daqui, presume-se que o objeto é uma das estruturas
|
|
9773
|
+
// de Delégua.
|
|
9774
|
+
if (objeto instanceof estruturas_1.DeleguaModulo) {
|
|
9775
|
+
return objeto.componentes[expressao.nomePropriedade] || null;
|
|
9776
|
+
}
|
|
9777
|
+
let tipoObjeto = variavelObjeto.tipo;
|
|
9778
|
+
if (tipoObjeto === null || tipoObjeto === undefined) {
|
|
9779
|
+
tipoObjeto = (0, inferenciador_1.inferirTipoVariavel)(variavelObjeto);
|
|
9780
|
+
}
|
|
9781
|
+
// Como internamente um dicionário de Delégua é simplesmente um objeto de
|
|
9782
|
+
// JavaScript, as primitivas de dicionário, especificamente, são tratadas
|
|
9783
|
+
// mais acima.
|
|
9784
|
+
switch (tipoObjeto) {
|
|
9785
|
+
case delegua_1.default.INTEIRO:
|
|
9786
|
+
case delegua_1.default.NUMERO:
|
|
9787
|
+
case delegua_1.default.NÚMERO:
|
|
9788
|
+
const metodoDePrimitivaNumero = primitivas_numero_1.default[expressao.nomePropriedade].implementacao;
|
|
9789
|
+
if (metodoDePrimitivaNumero) {
|
|
9790
|
+
return new estruturas_1.MetodoPrimitiva(objeto, metodoDePrimitivaNumero);
|
|
9791
|
+
}
|
|
9792
|
+
break;
|
|
9793
|
+
case delegua_1.default.TEXTO:
|
|
9794
|
+
const metodoDePrimitivaTexto = primitivas_texto_1.default[expressao.nomePropriedade].implementacao;
|
|
9795
|
+
if (metodoDePrimitivaTexto) {
|
|
9796
|
+
return new estruturas_1.MetodoPrimitiva(objeto, metodoDePrimitivaTexto);
|
|
9797
|
+
}
|
|
9798
|
+
break;
|
|
9799
|
+
case delegua_1.default.VETOR:
|
|
9800
|
+
case delegua_1.default.VETOR_NUMERO:
|
|
9801
|
+
case delegua_1.default.VETOR_NÚMERO:
|
|
9802
|
+
case delegua_1.default.VETOR_TEXTO:
|
|
9803
|
+
const metodoDePrimitivaVetor = primitivas_vetor_1.default[expressao.nomePropriedade].implementacao;
|
|
9804
|
+
if (metodoDePrimitivaVetor) {
|
|
9805
|
+
return new estruturas_1.MetodoPrimitiva(objeto, metodoDePrimitivaVetor);
|
|
9806
|
+
}
|
|
9807
|
+
break;
|
|
9808
|
+
}
|
|
9809
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(null, `Método para objeto ou primitiva não encontrado: ${expressao.nomePropriedade}.`, expressao.linha));
|
|
9810
|
+
}
|
|
9811
|
+
}
|
|
9812
|
+
exports.Interpretador = Interpretador;
|
|
9813
|
+
|
|
9814
|
+
},{"../bibliotecas/primitivas-dicionario":18,"../bibliotecas/primitivas-numero":19,"../bibliotecas/primitivas-texto":20,"../bibliotecas/primitivas-vetor":21,"../estruturas":104,"../excecoes":110,"../inferenciador":115,"../tipos-de-dados/delegua":160,"../tipos-de-dados/primitivos":161,"./interpretador-base":140}],143:[function(require,module,exports){
|
|
9391
9815
|
"use strict";
|
|
9392
9816
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9393
9817
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9539,11 +9963,11 @@ class PilhaEscoposExecucao {
|
|
|
9539
9963
|
const tipo = tipoInferido.toLowerCase();
|
|
9540
9964
|
const valorResolvido = this.converterValor(tipo, valor);
|
|
9541
9965
|
if (indice !== undefined && indice !== null) {
|
|
9542
|
-
if (variavel.valor instanceof Array) {
|
|
9966
|
+
if (variavel.valor instanceof Array || variavel.valor instanceof Object) {
|
|
9543
9967
|
variavel.valor[indice] = valorResolvido;
|
|
9544
9968
|
}
|
|
9545
9969
|
else {
|
|
9546
|
-
throw new excecoes_1.ErroEmTempoDeExecucao(simbolo, 'Variável não é um vetor.');
|
|
9970
|
+
throw new excecoes_1.ErroEmTempoDeExecucao(simbolo, 'Variável não é um vetor ou dicionário.');
|
|
9547
9971
|
}
|
|
9548
9972
|
}
|
|
9549
9973
|
else {
|
|
@@ -9638,7 +10062,7 @@ class PilhaEscoposExecucao {
|
|
|
9638
10062
|
}
|
|
9639
10063
|
exports.PilhaEscoposExecucao = PilhaEscoposExecucao;
|
|
9640
10064
|
|
|
9641
|
-
},{"../estruturas":
|
|
10065
|
+
},{"../estruturas":104,"../excecoes":110,"../inferenciador":115,"../lexador":152,"../tipos-de-dados/delegua":160}],144:[function(require,module,exports){
|
|
9642
10066
|
"use strict";
|
|
9643
10067
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9644
10068
|
if (k2 === undefined) k2 = k;
|
|
@@ -9660,7 +10084,7 @@ __exportStar(require("./lexador-pitugues"), exports);
|
|
|
9660
10084
|
__exportStar(require("./lexador-guarani"), exports);
|
|
9661
10085
|
__exportStar(require("./lexador-portugol-ipt"), exports);
|
|
9662
10086
|
|
|
9663
|
-
},{"./lexador-egua-classico":
|
|
10087
|
+
},{"./lexador-egua-classico":145,"./lexador-guarani":146,"./lexador-pitugues":147,"./lexador-portugol-ipt":148}],145:[function(require,module,exports){
|
|
9664
10088
|
"use strict";
|
|
9665
10089
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9666
10090
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9948,7 +10372,7 @@ class LexadorEguaClassico {
|
|
|
9948
10372
|
}
|
|
9949
10373
|
exports.LexadorEguaClassico = LexadorEguaClassico;
|
|
9950
10374
|
|
|
9951
|
-
},{"../../tipos-de-simbolos/egua-classico":
|
|
10375
|
+
},{"../../tipos-de-simbolos/egua-classico":164,"../simbolo":158,"./palavras-reservadas/egua-classico":149}],146:[function(require,module,exports){
|
|
9952
10376
|
"use strict";
|
|
9953
10377
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9954
10378
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10063,7 +10487,7 @@ class LexadorGuarani extends lexador_base_1.LexadorBase {
|
|
|
10063
10487
|
}
|
|
10064
10488
|
exports.LexadorGuarani = LexadorGuarani;
|
|
10065
10489
|
|
|
10066
|
-
},{"../../tipos-de-simbolos/guarani":
|
|
10490
|
+
},{"../../tipos-de-simbolos/guarani":165,"../lexador-base":154,"./palavras-reservadas/guarani":150}],147:[function(require,module,exports){
|
|
10067
10491
|
"use strict";
|
|
10068
10492
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10069
10493
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10463,7 +10887,7 @@ class LexadorPitugues {
|
|
|
10463
10887
|
}
|
|
10464
10888
|
exports.LexadorPitugues = LexadorPitugues;
|
|
10465
10889
|
|
|
10466
|
-
},{"../../tipos-de-simbolos/pitugues":
|
|
10890
|
+
},{"../../tipos-de-simbolos/pitugues":167,"../palavras-reservadas":157,"../simbolo":158,"browser-process-hrtime":339}],148:[function(require,module,exports){
|
|
10467
10891
|
"use strict";
|
|
10468
10892
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10469
10893
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10702,7 +11126,7 @@ class LexadorPortugolIpt {
|
|
|
10702
11126
|
}
|
|
10703
11127
|
exports.LexadorPortugolIpt = LexadorPortugolIpt;
|
|
10704
11128
|
|
|
10705
|
-
},{"../../tipos-de-simbolos/portugol-ipt":
|
|
11129
|
+
},{"../../tipos-de-simbolos/portugol-ipt":168,"../simbolo":158,"./palavras-reservadas/portugol-ipt":151}],149:[function(require,module,exports){
|
|
10706
11130
|
"use strict";
|
|
10707
11131
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10708
11132
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10743,7 +11167,7 @@ exports.palavrasReservadas = {
|
|
|
10743
11167
|
verdadeiro: egua_classico_1.default.VERDADEIRO,
|
|
10744
11168
|
};
|
|
10745
11169
|
|
|
10746
|
-
},{"../../../tipos-de-simbolos/egua-classico":
|
|
11170
|
+
},{"../../../tipos-de-simbolos/egua-classico":164}],150:[function(require,module,exports){
|
|
10747
11171
|
"use strict";
|
|
10748
11172
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10749
11173
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10755,7 +11179,7 @@ exports.palavrasReservadas = {
|
|
|
10755
11179
|
hai: guarani_1.default.HAI,
|
|
10756
11180
|
};
|
|
10757
11181
|
|
|
10758
|
-
},{"../../../tipos-de-simbolos/guarani":
|
|
11182
|
+
},{"../../../tipos-de-simbolos/guarani":165}],151:[function(require,module,exports){
|
|
10759
11183
|
"use strict";
|
|
10760
11184
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10761
11185
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10777,7 +11201,7 @@ exports.palavrasReservadas = {
|
|
|
10777
11201
|
senão: portugol_ipt_1.default.SENAO,
|
|
10778
11202
|
};
|
|
10779
11203
|
|
|
10780
|
-
},{"../../../tipos-de-simbolos/portugol-ipt":
|
|
11204
|
+
},{"../../../tipos-de-simbolos/portugol-ipt":168}],152:[function(require,module,exports){
|
|
10781
11205
|
"use strict";
|
|
10782
11206
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10783
11207
|
if (k2 === undefined) k2 = k;
|
|
@@ -10799,7 +11223,7 @@ __exportStar(require("./lexador-base-linha-unica"), exports);
|
|
|
10799
11223
|
__exportStar(require("./micro-lexador"), exports);
|
|
10800
11224
|
__exportStar(require("./simbolo"), exports);
|
|
10801
11225
|
|
|
10802
|
-
},{"./lexador":
|
|
11226
|
+
},{"./lexador":155,"./lexador-base-linha-unica":153,"./micro-lexador":156,"./simbolo":158}],153:[function(require,module,exports){
|
|
10803
11227
|
"use strict";
|
|
10804
11228
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10805
11229
|
exports.LexadorBaseLinhaUnica = void 0;
|
|
@@ -10883,7 +11307,7 @@ class LexadorBaseLinhaUnica {
|
|
|
10883
11307
|
}
|
|
10884
11308
|
exports.LexadorBaseLinhaUnica = LexadorBaseLinhaUnica;
|
|
10885
11309
|
|
|
10886
|
-
},{"./simbolo":
|
|
11310
|
+
},{"./simbolo":158}],154:[function(require,module,exports){
|
|
10887
11311
|
"use strict";
|
|
10888
11312
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10889
11313
|
exports.LexadorBase = void 0;
|
|
@@ -10997,7 +11421,7 @@ class LexadorBase {
|
|
|
10997
11421
|
}
|
|
10998
11422
|
exports.LexadorBase = LexadorBase;
|
|
10999
11423
|
|
|
11000
|
-
},{"./simbolo":
|
|
11424
|
+
},{"./simbolo":158}],155:[function(require,module,exports){
|
|
11001
11425
|
"use strict";
|
|
11002
11426
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11003
11427
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11442,7 +11866,7 @@ class Lexador {
|
|
|
11442
11866
|
}
|
|
11443
11867
|
exports.Lexador = Lexador;
|
|
11444
11868
|
|
|
11445
|
-
},{"../tipos-de-simbolos/delegua":
|
|
11869
|
+
},{"../tipos-de-simbolos/delegua":163,"./palavras-reservadas":157,"./simbolo":158,"browser-process-hrtime":339}],156:[function(require,module,exports){
|
|
11446
11870
|
"use strict";
|
|
11447
11871
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11448
11872
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11614,6 +12038,10 @@ class MicroLexador {
|
|
|
11614
12038
|
this.analisarTexto("'");
|
|
11615
12039
|
this.atual++;
|
|
11616
12040
|
break;
|
|
12041
|
+
case '.':
|
|
12042
|
+
this.atual++;
|
|
12043
|
+
this.adicionarSimbolo(delegua_1.default.PONTO);
|
|
12044
|
+
break;
|
|
11617
12045
|
default:
|
|
11618
12046
|
if (this.eDigito(caractere))
|
|
11619
12047
|
this.analisarNumero();
|
|
@@ -11651,7 +12079,7 @@ class MicroLexador {
|
|
|
11651
12079
|
}
|
|
11652
12080
|
exports.MicroLexador = MicroLexador;
|
|
11653
12081
|
|
|
11654
|
-
},{"../tipos-de-simbolos/microgramaticas/delegua":
|
|
12082
|
+
},{"../tipos-de-simbolos/microgramaticas/delegua":166,"./palavras-reservadas":157,"./simbolo":158}],157:[function(require,module,exports){
|
|
11655
12083
|
"use strict";
|
|
11656
12084
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11657
12085
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11714,7 +12142,7 @@ exports.palavrasReservadasMicroGramatica = {
|
|
|
11714
12142
|
verdadeiro: delegua_1.default.VERDADEIRO,
|
|
11715
12143
|
};
|
|
11716
12144
|
|
|
11717
|
-
},{"../tipos-de-simbolos/delegua":
|
|
12145
|
+
},{"../tipos-de-simbolos/delegua":163}],158:[function(require,module,exports){
|
|
11718
12146
|
"use strict";
|
|
11719
12147
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11720
12148
|
exports.Simbolo = void 0;
|
|
@@ -11732,7 +12160,7 @@ class Simbolo {
|
|
|
11732
12160
|
}
|
|
11733
12161
|
exports.Simbolo = Simbolo;
|
|
11734
12162
|
|
|
11735
|
-
},{}],
|
|
12163
|
+
},{}],159:[function(require,module,exports){
|
|
11736
12164
|
"use strict";
|
|
11737
12165
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11738
12166
|
exports.ContinuarQuebra = exports.SustarQuebra = exports.RetornoQuebra = exports.Quebra = void 0;
|
|
@@ -11753,7 +12181,7 @@ class ContinuarQuebra extends Quebra {
|
|
|
11753
12181
|
}
|
|
11754
12182
|
exports.ContinuarQuebra = ContinuarQuebra;
|
|
11755
12183
|
|
|
11756
|
-
},{}],
|
|
12184
|
+
},{}],160:[function(require,module,exports){
|
|
11757
12185
|
"use strict";
|
|
11758
12186
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11759
12187
|
exports.default = {
|
|
@@ -11777,7 +12205,7 @@ exports.default = {
|
|
|
11777
12205
|
VETOR_TEXTO: 'texto[]',
|
|
11778
12206
|
};
|
|
11779
12207
|
|
|
11780
|
-
},{}],
|
|
12208
|
+
},{}],161:[function(require,module,exports){
|
|
11781
12209
|
"use strict";
|
|
11782
12210
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11783
12211
|
exports.default = {
|
|
@@ -11796,7 +12224,7 @@ exports.default = {
|
|
|
11796
12224
|
TEXTO: 'string',
|
|
11797
12225
|
};
|
|
11798
12226
|
|
|
11799
|
-
},{}],
|
|
12227
|
+
},{}],162:[function(require,module,exports){
|
|
11800
12228
|
"use strict";
|
|
11801
12229
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11802
12230
|
exports.default = {
|
|
@@ -11822,7 +12250,7 @@ exports.default = {
|
|
|
11822
12250
|
VIRGULA: 'VIRGULA',
|
|
11823
12251
|
};
|
|
11824
12252
|
|
|
11825
|
-
},{}],
|
|
12253
|
+
},{}],163:[function(require,module,exports){
|
|
11826
12254
|
"use strict";
|
|
11827
12255
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11828
12256
|
exports.default = {
|
|
@@ -11916,7 +12344,7 @@ exports.default = {
|
|
|
11916
12344
|
VIRGULA: 'VIRGULA',
|
|
11917
12345
|
};
|
|
11918
12346
|
|
|
11919
|
-
},{}],
|
|
12347
|
+
},{}],164:[function(require,module,exports){
|
|
11920
12348
|
"use strict";
|
|
11921
12349
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11922
12350
|
exports.default = {
|
|
@@ -11994,7 +12422,7 @@ exports.default = {
|
|
|
11994
12422
|
VIRGULA: 'VIRGULA',
|
|
11995
12423
|
};
|
|
11996
12424
|
|
|
11997
|
-
},{}],
|
|
12425
|
+
},{}],165:[function(require,module,exports){
|
|
11998
12426
|
"use strict";
|
|
11999
12427
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12000
12428
|
exports.default = {
|
|
@@ -12011,7 +12439,7 @@ exports.default = {
|
|
|
12011
12439
|
VIRGULA: 'VIRGULA',
|
|
12012
12440
|
};
|
|
12013
12441
|
|
|
12014
|
-
},{}],
|
|
12442
|
+
},{}],166:[function(require,module,exports){
|
|
12015
12443
|
"use strict";
|
|
12016
12444
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12017
12445
|
exports.default = {
|
|
@@ -12060,7 +12488,7 @@ exports.default = {
|
|
|
12060
12488
|
VIRGULA: 'VIRGULA',
|
|
12061
12489
|
};
|
|
12062
12490
|
|
|
12063
|
-
},{}],
|
|
12491
|
+
},{}],167:[function(require,module,exports){
|
|
12064
12492
|
"use strict";
|
|
12065
12493
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12066
12494
|
exports.default = {
|
|
@@ -12138,7 +12566,7 @@ exports.default = {
|
|
|
12138
12566
|
VIRGULA: 'VIRGULA',
|
|
12139
12567
|
};
|
|
12140
12568
|
|
|
12141
|
-
},{}],
|
|
12569
|
+
},{}],168:[function(require,module,exports){
|
|
12142
12570
|
"use strict";
|
|
12143
12571
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12144
12572
|
exports.default = {
|
|
@@ -12177,7 +12605,7 @@ exports.default = {
|
|
|
12177
12605
|
VIRGULA: 'VIRGULA',
|
|
12178
12606
|
};
|
|
12179
12607
|
|
|
12180
|
-
},{}],
|
|
12608
|
+
},{}],169:[function(require,module,exports){
|
|
12181
12609
|
"use strict";
|
|
12182
12610
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
12183
12611
|
if (k2 === undefined) k2 = k;
|
|
@@ -12201,7 +12629,7 @@ __exportStar(require("./tradutor-python"), exports);
|
|
|
12201
12629
|
__exportStar(require("./tradutor-reverso-javascript"), exports);
|
|
12202
12630
|
__exportStar(require("./tradutor-reverso-python"), exports);
|
|
12203
12631
|
|
|
12204
|
-
},{"./tradutor-assemblyscript":
|
|
12632
|
+
},{"./tradutor-assemblyscript":172,"./tradutor-javascript":173,"./tradutor-portugol-ipt":174,"./tradutor-python":175,"./tradutor-reverso-javascript":176,"./tradutor-reverso-python":177}],170:[function(require,module,exports){
|
|
12205
12633
|
"use strict";
|
|
12206
12634
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
12207
12635
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -13430,7 +13858,7 @@ __decorate([
|
|
|
13430
13858
|
Decorators_1.Override
|
|
13431
13859
|
], Python3Lexer.prototype, "nextToken", null);
|
|
13432
13860
|
|
|
13433
|
-
},{"./python3-parser":
|
|
13861
|
+
},{"./python3-parser":171,"antlr4ts/CommonToken":187,"antlr4ts/Decorators":191,"antlr4ts/Lexer":199,"antlr4ts/Token":216,"antlr4ts/VocabularyImpl":222,"antlr4ts/atn/ATNDeserializer":228,"antlr4ts/atn/LexerATNSimulator":249,"antlr4ts/misc/Utils":310}],171:[function(require,module,exports){
|
|
13434
13862
|
"use strict";
|
|
13435
13863
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
13436
13864
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -24658,7 +25086,7 @@ class Yield_argContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
24658
25086
|
}
|
|
24659
25087
|
exports.Yield_argContext = Yield_argContext;
|
|
24660
25088
|
|
|
24661
|
-
},{"antlr4ts/FailedPredicateException":
|
|
25089
|
+
},{"antlr4ts/FailedPredicateException":195,"antlr4ts/NoViableAltException":203,"antlr4ts/Parser":204,"antlr4ts/ParserRuleContext":207,"antlr4ts/RecognitionException":210,"antlr4ts/Token":216,"antlr4ts/VocabularyImpl":222,"antlr4ts/atn/ATN":224,"antlr4ts/atn/ATNDeserializer":228,"antlr4ts/atn/ParserATNSimulator":265,"antlr4ts/misc/Utils":310}],172:[function(require,module,exports){
|
|
24662
25090
|
"use strict";
|
|
24663
25091
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
24664
25092
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -25255,7 +25683,7 @@ class TradutorAssemblyScript {
|
|
|
25255
25683
|
}
|
|
25256
25684
|
exports.TradutorAssemblyScript = TradutorAssemblyScript;
|
|
25257
25685
|
|
|
25258
|
-
},{"../construtos":
|
|
25686
|
+
},{"../construtos":43,"../declaracoes":81,"../tipos-de-simbolos/delegua":163}],173:[function(require,module,exports){
|
|
25259
25687
|
"use strict";
|
|
25260
25688
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25261
25689
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -25275,7 +25703,9 @@ class TradutorJavaScript {
|
|
|
25275
25703
|
this.indentacao = 0;
|
|
25276
25704
|
this.dicionarioConstrutos = {
|
|
25277
25705
|
AcessoIndiceVariavel: this.traduzirAcessoIndiceVariavel.bind(this),
|
|
25278
|
-
|
|
25706
|
+
AcessoMetodo: this.traduzirConstrutoAcessoMetodo.bind(this),
|
|
25707
|
+
AcessoMetodoOuPropriedade: this.traduzirConstrutoAcessoMetodoOuPropriedade.bind(this),
|
|
25708
|
+
AcessoPropriedade: this.traduzirConstrutoAcessoPropriedade.bind(this),
|
|
25279
25709
|
Agrupamento: this.traduzirConstrutoAgrupamento.bind(this),
|
|
25280
25710
|
AtribuicaoPorIndice: this.traduzirConstrutoAtribuicaoPorIndice.bind(this),
|
|
25281
25711
|
Atribuir: this.traduzirConstrutoAtribuir.bind(this),
|
|
@@ -25283,6 +25713,7 @@ class TradutorJavaScript {
|
|
|
25283
25713
|
Chamada: this.traduzirConstrutoChamada.bind(this),
|
|
25284
25714
|
Comentario: this.traduzirConstrutoComentario.bind(this),
|
|
25285
25715
|
DefinirValor: this.traduzirConstrutoDefinirValor.bind(this),
|
|
25716
|
+
Dicionario: this.traduzirConstrutoDicionario.bind(this),
|
|
25286
25717
|
FuncaoConstruto: this.traduzirFuncaoConstruto.bind(this),
|
|
25287
25718
|
Isto: () => 'this',
|
|
25288
25719
|
Literal: this.traduzirConstrutoLiteral.bind(this),
|
|
@@ -25463,9 +25894,29 @@ class TradutorJavaScript {
|
|
|
25463
25894
|
resultado += definirValor.valor.simbolo.lexema;
|
|
25464
25895
|
return resultado;
|
|
25465
25896
|
}
|
|
25897
|
+
traduzirConstrutoDicionario(dicionario) {
|
|
25898
|
+
let resultado = '{';
|
|
25899
|
+
for (let i = 0; i < dicionario.chaves.length; i++) {
|
|
25900
|
+
resultado += this.dicionarioConstrutos[dicionario.chaves[i].constructor.name](dicionario.chaves[i]);
|
|
25901
|
+
resultado += ":";
|
|
25902
|
+
resultado += this.dicionarioConstrutos[dicionario.valores[i].constructor.name](dicionario.valores[i]) + ',';
|
|
25903
|
+
}
|
|
25904
|
+
resultado += '}';
|
|
25905
|
+
return resultado;
|
|
25906
|
+
}
|
|
25466
25907
|
traduzirConstrutoLiteral(literal) {
|
|
25467
|
-
if (typeof literal.valor === 'string')
|
|
25468
|
-
|
|
25908
|
+
if (typeof literal.valor === 'string') {
|
|
25909
|
+
const possuiInterpolacao = /\$\{(verdadeiro|falso|nulo)\}/.test(literal.valor);
|
|
25910
|
+
const valor = literal.valor.replace(/\$\{(verdadeiro|falso|nulo)\}/g, (_, match) => {
|
|
25911
|
+
switch (match) {
|
|
25912
|
+
case 'verdadeiro': return '${true}';
|
|
25913
|
+
case 'falso': return '${false}';
|
|
25914
|
+
case 'nulo': return '${null}';
|
|
25915
|
+
default: return match;
|
|
25916
|
+
}
|
|
25917
|
+
});
|
|
25918
|
+
return possuiInterpolacao ? `\`${valor}\`` : `'${literal.valor}'`;
|
|
25919
|
+
}
|
|
25469
25920
|
return literal.valor;
|
|
25470
25921
|
}
|
|
25471
25922
|
traduzirConstrutoVariavel(variavel) {
|
|
@@ -25737,12 +26188,26 @@ class TradutorJavaScript {
|
|
|
25737
26188
|
return resultado;
|
|
25738
26189
|
}
|
|
25739
26190
|
traduzirConstrutoAcessoMetodo(acessoMetodo) {
|
|
26191
|
+
if (acessoMetodo.objeto instanceof construtos_1.Variavel) {
|
|
26192
|
+
let objetoVariavel = acessoMetodo.objeto;
|
|
26193
|
+
return `${objetoVariavel.simbolo.lexema}.${this.traduzirFuncoesNativas(acessoMetodo.nomeMetodo)}`;
|
|
26194
|
+
}
|
|
26195
|
+
return `this.${acessoMetodo.nomeMetodo}`;
|
|
26196
|
+
}
|
|
26197
|
+
traduzirConstrutoAcessoMetodoOuPropriedade(acessoMetodo) {
|
|
25740
26198
|
if (acessoMetodo.objeto instanceof construtos_1.Variavel) {
|
|
25741
26199
|
let objetoVariavel = acessoMetodo.objeto;
|
|
25742
26200
|
return `${objetoVariavel.simbolo.lexema}.${this.traduzirFuncoesNativas(acessoMetodo.simbolo.lexema)}`;
|
|
25743
26201
|
}
|
|
25744
26202
|
return `this.${acessoMetodo.simbolo.lexema}`;
|
|
25745
26203
|
}
|
|
26204
|
+
traduzirConstrutoAcessoPropriedade(acessoMetodo) {
|
|
26205
|
+
if (acessoMetodo.objeto instanceof construtos_1.Variavel) {
|
|
26206
|
+
let objetoVariavel = acessoMetodo.objeto;
|
|
26207
|
+
return `${objetoVariavel.simbolo.lexema}.${this.traduzirFuncoesNativas(acessoMetodo.nomePropriedade)}`;
|
|
26208
|
+
}
|
|
26209
|
+
return `this.${acessoMetodo.nomePropriedade}`;
|
|
26210
|
+
}
|
|
25746
26211
|
traduzirFuncaoConstruto(funcaoConstruto) {
|
|
25747
26212
|
let resultado = 'function(';
|
|
25748
26213
|
for (const parametro of funcaoConstruto.parametros) {
|
|
@@ -25837,7 +26302,7 @@ class TradutorJavaScript {
|
|
|
25837
26302
|
}
|
|
25838
26303
|
exports.TradutorJavaScript = TradutorJavaScript;
|
|
25839
26304
|
|
|
25840
|
-
},{"../construtos":
|
|
26305
|
+
},{"../construtos":43,"../declaracoes":81,"../tipos-de-simbolos/delegua":163}],174:[function(require,module,exports){
|
|
25841
26306
|
"use strict";
|
|
25842
26307
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25843
26308
|
exports.TradutorPortugolIpt = void 0;
|
|
@@ -25899,7 +26364,7 @@ class TradutorPortugolIpt {
|
|
|
25899
26364
|
}
|
|
25900
26365
|
exports.TradutorPortugolIpt = TradutorPortugolIpt;
|
|
25901
26366
|
|
|
25902
|
-
},{"../avaliador-sintatico/dialetos":6,"../lexador/dialetos":
|
|
26367
|
+
},{"../avaliador-sintatico/dialetos":6,"../lexador/dialetos":144}],175:[function(require,module,exports){
|
|
25903
26368
|
"use strict";
|
|
25904
26369
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25905
26370
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -25913,7 +26378,9 @@ class TradutorPython {
|
|
|
25913
26378
|
constructor() {
|
|
25914
26379
|
this.indentacao = 0;
|
|
25915
26380
|
this.dicionarioConstrutos = {
|
|
26381
|
+
AcessoMetodo: this.traduzirConstrutoAcessoMetodo.bind(this),
|
|
25916
26382
|
AcessoMetodoOuPropriedade: this.traduzirConstrutoAcessoMetodoOuPropriedade.bind(this),
|
|
26383
|
+
AcessoPropriedade: this.traduzirConstrutoAcessoPropriedade.bind(this),
|
|
25917
26384
|
AcessoIndiceVariavel: this.traduzirConstrutoAcessoIndiceVariavel.bind(this),
|
|
25918
26385
|
Agrupamento: this.traduzirConstrutoAgrupamento.bind(this),
|
|
25919
26386
|
AtribuicaoPorIndice: this.traduzirConstrutoAtribuicaoPorIndice.bind(this),
|
|
@@ -26048,6 +26515,20 @@ class TradutorPython {
|
|
|
26048
26515
|
const indice = this.dicionarioConstrutos[acessoIndiceVariavel.indice.constructor.name](acessoIndiceVariavel.indice);
|
|
26049
26516
|
return `${entidade}[${indice}]`;
|
|
26050
26517
|
}
|
|
26518
|
+
traduzirConstrutoAcessoMetodo(acessoMetodo) {
|
|
26519
|
+
if (acessoMetodo.objeto instanceof construtos_1.Variavel) {
|
|
26520
|
+
let objetoVariavel = acessoMetodo.objeto;
|
|
26521
|
+
let funcaoTraduzida = this.traduzirFuncoesNativas(acessoMetodo.nomeMetodo);
|
|
26522
|
+
if (funcaoTraduzida === 'in') {
|
|
26523
|
+
return `in ${objetoVariavel.simbolo.lexema}`;
|
|
26524
|
+
}
|
|
26525
|
+
else if (funcaoTraduzida === 'len') {
|
|
26526
|
+
return `len(${objetoVariavel.simbolo.lexema})`;
|
|
26527
|
+
}
|
|
26528
|
+
return `${objetoVariavel.simbolo.lexema}.${funcaoTraduzida}`;
|
|
26529
|
+
}
|
|
26530
|
+
return `self.${acessoMetodo.nomeMetodo}`;
|
|
26531
|
+
}
|
|
26051
26532
|
traduzirConstrutoAcessoMetodoOuPropriedade(acessoMetodo) {
|
|
26052
26533
|
if (acessoMetodo.objeto instanceof construtos_1.Variavel) {
|
|
26053
26534
|
let objetoVariavel = acessoMetodo.objeto;
|
|
@@ -26062,6 +26543,20 @@ class TradutorPython {
|
|
|
26062
26543
|
}
|
|
26063
26544
|
return `self.${acessoMetodo.simbolo.lexema}`;
|
|
26064
26545
|
}
|
|
26546
|
+
traduzirConstrutoAcessoPropriedade(acessoPropriedade) {
|
|
26547
|
+
if (acessoPropriedade.objeto instanceof construtos_1.Variavel) {
|
|
26548
|
+
let objetoVariavel = acessoPropriedade.objeto;
|
|
26549
|
+
let funcaoTraduzida = this.traduzirFuncoesNativas(acessoPropriedade.nomePropriedade);
|
|
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}`;
|
|
26557
|
+
}
|
|
26558
|
+
return `self.${acessoPropriedade.nomePropriedade}`;
|
|
26559
|
+
}
|
|
26065
26560
|
traduzirConstrutoAgrupamento(agrupamento) {
|
|
26066
26561
|
return this.dicionarioConstrutos[agrupamento.constructor.name](agrupamento.expressao || agrupamento);
|
|
26067
26562
|
}
|
|
@@ -26419,7 +26914,7 @@ class TradutorPython {
|
|
|
26419
26914
|
}
|
|
26420
26915
|
exports.TradutorPython = TradutorPython;
|
|
26421
26916
|
|
|
26422
|
-
},{"../construtos":
|
|
26917
|
+
},{"../construtos":43,"../declaracoes":81,"../tipos-de-simbolos/delegua":163}],176:[function(require,module,exports){
|
|
26423
26918
|
"use strict";
|
|
26424
26919
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26425
26920
|
exports.TradutorReversoJavaScript = void 0;
|
|
@@ -26813,7 +27308,7 @@ class TradutorReversoJavaScript {
|
|
|
26813
27308
|
}
|
|
26814
27309
|
exports.TradutorReversoJavaScript = TradutorReversoJavaScript;
|
|
26815
27310
|
|
|
26816
|
-
},{}],
|
|
27311
|
+
},{}],177:[function(require,module,exports){
|
|
26817
27312
|
"use strict";
|
|
26818
27313
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26819
27314
|
exports.TradutorReversoPython = void 0;
|
|
@@ -26886,7 +27381,7 @@ class TradutorReversoPython {
|
|
|
26886
27381
|
}
|
|
26887
27382
|
exports.TradutorReversoPython = TradutorReversoPython;
|
|
26888
27383
|
|
|
26889
|
-
},{"./python/python3-lexer":
|
|
27384
|
+
},{"./python/python3-lexer":170,"./python/python3-parser":171,"antlr4ts":293,"antlr4ts/tree/ParseTreeWalker":312}],178:[function(require,module,exports){
|
|
26890
27385
|
"use strict";
|
|
26891
27386
|
/*!
|
|
26892
27387
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -26894,7 +27389,7 @@ exports.TradutorReversoPython = TradutorReversoPython;
|
|
|
26894
27389
|
*/
|
|
26895
27390
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26896
27391
|
|
|
26897
|
-
},{}],
|
|
27392
|
+
},{}],179:[function(require,module,exports){
|
|
26898
27393
|
"use strict";
|
|
26899
27394
|
/*!
|
|
26900
27395
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -26902,7 +27397,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26902
27397
|
*/
|
|
26903
27398
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26904
27399
|
|
|
26905
|
-
},{}],
|
|
27400
|
+
},{}],180:[function(require,module,exports){
|
|
26906
27401
|
"use strict";
|
|
26907
27402
|
/*!
|
|
26908
27403
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27064,7 +27559,7 @@ __decorate([
|
|
|
27064
27559
|
], ANTLRInputStream.prototype, "toString", null);
|
|
27065
27560
|
exports.ANTLRInputStream = ANTLRInputStream;
|
|
27066
27561
|
|
|
27067
|
-
},{"./Decorators":
|
|
27562
|
+
},{"./Decorators":191,"./IntStream":197,"assert":334}],181:[function(require,module,exports){
|
|
27068
27563
|
"use strict";
|
|
27069
27564
|
/*!
|
|
27070
27565
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27147,7 +27642,7 @@ __decorate([
|
|
|
27147
27642
|
], BailErrorStrategy.prototype, "sync", null);
|
|
27148
27643
|
exports.BailErrorStrategy = BailErrorStrategy;
|
|
27149
27644
|
|
|
27150
|
-
},{"./Decorators":
|
|
27645
|
+
},{"./Decorators":191,"./DefaultErrorStrategy":192,"./InputMismatchException":196,"./misc/ParseCancellationException":308}],182:[function(require,module,exports){
|
|
27151
27646
|
"use strict";
|
|
27152
27647
|
/*!
|
|
27153
27648
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27637,7 +28132,7 @@ BufferedTokenStream = __decorate([
|
|
|
27637
28132
|
], BufferedTokenStream);
|
|
27638
28133
|
exports.BufferedTokenStream = BufferedTokenStream;
|
|
27639
28134
|
|
|
27640
|
-
},{"./CommonToken":
|
|
28135
|
+
},{"./CommonToken":187,"./Decorators":191,"./Lexer":199,"./Token":216,"./misc/Interval":303,"assert":334}],183:[function(require,module,exports){
|
|
27641
28136
|
"use strict";
|
|
27642
28137
|
/*!
|
|
27643
28138
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27645,7 +28140,7 @@ exports.BufferedTokenStream = BufferedTokenStream;
|
|
|
27645
28140
|
*/
|
|
27646
28141
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27647
28142
|
|
|
27648
|
-
},{}],
|
|
28143
|
+
},{}],184:[function(require,module,exports){
|
|
27649
28144
|
"use strict";
|
|
27650
28145
|
/*!
|
|
27651
28146
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27779,7 +28274,7 @@ var CharStreams;
|
|
|
27779
28274
|
// }
|
|
27780
28275
|
})(CharStreams = exports.CharStreams || (exports.CharStreams = {}));
|
|
27781
28276
|
|
|
27782
|
-
},{"./CodePointBuffer":
|
|
28277
|
+
},{"./CodePointBuffer":185,"./CodePointCharStream":186,"./IntStream":197}],185:[function(require,module,exports){
|
|
27783
28278
|
"use strict";
|
|
27784
28279
|
/*!
|
|
27785
28280
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28014,7 +28509,7 @@ exports.CodePointBuffer = CodePointBuffer;
|
|
|
28014
28509
|
CodePointBuffer.Builder = Builder;
|
|
28015
28510
|
})(CodePointBuffer = exports.CodePointBuffer || (exports.CodePointBuffer = {}));
|
|
28016
28511
|
|
|
28017
|
-
},{"./misc/Character":
|
|
28512
|
+
},{"./misc/Character":299,"assert":334}],186:[function(require,module,exports){
|
|
28018
28513
|
"use strict";
|
|
28019
28514
|
/*!
|
|
28020
28515
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28164,7 +28659,7 @@ __decorate([
|
|
|
28164
28659
|
], CodePointCharStream.prototype, "getText", null);
|
|
28165
28660
|
exports.CodePointCharStream = CodePointCharStream;
|
|
28166
28661
|
|
|
28167
|
-
},{"./Decorators":
|
|
28662
|
+
},{"./Decorators":191,"./IntStream":197,"./misc/Interval":303,"assert":334}],187:[function(require,module,exports){
|
|
28168
28663
|
"use strict";
|
|
28169
28664
|
/*!
|
|
28170
28665
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28394,7 +28889,7 @@ CommonToken = __decorate([
|
|
|
28394
28889
|
], CommonToken);
|
|
28395
28890
|
exports.CommonToken = CommonToken;
|
|
28396
28891
|
|
|
28397
|
-
},{"./Decorators":
|
|
28892
|
+
},{"./Decorators":191,"./Token":216,"./misc/Interval":303}],188:[function(require,module,exports){
|
|
28398
28893
|
"use strict";
|
|
28399
28894
|
/*!
|
|
28400
28895
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28458,7 +28953,7 @@ exports.CommonTokenFactory = CommonTokenFactory;
|
|
|
28458
28953
|
CommonTokenFactory.DEFAULT = new CommonTokenFactory();
|
|
28459
28954
|
})(CommonTokenFactory = exports.CommonTokenFactory || (exports.CommonTokenFactory = {}));
|
|
28460
28955
|
|
|
28461
|
-
},{"./CommonToken":
|
|
28956
|
+
},{"./CommonToken":187,"./Decorators":191,"./misc/Interval":303}],189:[function(require,module,exports){
|
|
28462
28957
|
"use strict";
|
|
28463
28958
|
/*!
|
|
28464
28959
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28585,7 +29080,7 @@ CommonTokenStream = __decorate([
|
|
|
28585
29080
|
], CommonTokenStream);
|
|
28586
29081
|
exports.CommonTokenStream = CommonTokenStream;
|
|
28587
29082
|
|
|
28588
|
-
},{"./BufferedTokenStream":
|
|
29083
|
+
},{"./BufferedTokenStream":182,"./Decorators":191,"./Token":216}],190:[function(require,module,exports){
|
|
28589
29084
|
"use strict";
|
|
28590
29085
|
/*!
|
|
28591
29086
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28619,7 +29114,7 @@ exports.ConsoleErrorListener = ConsoleErrorListener;
|
|
|
28619
29114
|
*/
|
|
28620
29115
|
ConsoleErrorListener.INSTANCE = new ConsoleErrorListener();
|
|
28621
29116
|
|
|
28622
|
-
},{}],
|
|
29117
|
+
},{}],191:[function(require,module,exports){
|
|
28623
29118
|
"use strict";
|
|
28624
29119
|
/*!
|
|
28625
29120
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28646,7 +29141,7 @@ function SuppressWarnings(options) {
|
|
|
28646
29141
|
}
|
|
28647
29142
|
exports.SuppressWarnings = SuppressWarnings;
|
|
28648
29143
|
|
|
28649
|
-
},{}],
|
|
29144
|
+
},{}],192:[function(require,module,exports){
|
|
28650
29145
|
"use strict";
|
|
28651
29146
|
/*!
|
|
28652
29147
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29460,7 +29955,7 @@ __decorate([
|
|
|
29460
29955
|
], DefaultErrorStrategy.prototype, "consumeUntil", null);
|
|
29461
29956
|
exports.DefaultErrorStrategy = DefaultErrorStrategy;
|
|
29462
29957
|
|
|
29463
|
-
},{"./Decorators":
|
|
29958
|
+
},{"./Decorators":191,"./FailedPredicateException":195,"./InputMismatchException":196,"./NoViableAltException":203,"./Token":216,"./atn/ATNState":230,"./atn/ATNStateType":231,"./atn/PredictionContext":271,"./misc/IntervalSet":304}],193:[function(require,module,exports){
|
|
29464
29959
|
"use strict";
|
|
29465
29960
|
/*!
|
|
29466
29961
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29536,7 +30031,7 @@ var Dependents;
|
|
|
29536
30031
|
Dependents[Dependents["FOLLOWING"] = 9] = "FOLLOWING";
|
|
29537
30032
|
})(Dependents = exports.Dependents || (exports.Dependents = {}));
|
|
29538
30033
|
|
|
29539
|
-
},{}],
|
|
30034
|
+
},{}],194:[function(require,module,exports){
|
|
29540
30035
|
"use strict";
|
|
29541
30036
|
/*!
|
|
29542
30037
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29684,7 +30179,7 @@ __decorate([
|
|
|
29684
30179
|
], DiagnosticErrorListener.prototype, "getConflictingAlts", null);
|
|
29685
30180
|
exports.DiagnosticErrorListener = DiagnosticErrorListener;
|
|
29686
30181
|
|
|
29687
|
-
},{"./Decorators":
|
|
30182
|
+
},{"./Decorators":191,"./misc/BitSet":298,"./misc/Interval":303}],195:[function(require,module,exports){
|
|
29688
30183
|
"use strict";
|
|
29689
30184
|
/*!
|
|
29690
30185
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29749,7 +30244,7 @@ FailedPredicateException = __decorate([
|
|
|
29749
30244
|
], FailedPredicateException);
|
|
29750
30245
|
exports.FailedPredicateException = FailedPredicateException;
|
|
29751
30246
|
|
|
29752
|
-
},{"./Decorators":
|
|
30247
|
+
},{"./Decorators":191,"./RecognitionException":210,"./atn/PredicateTransition":270}],196:[function(require,module,exports){
|
|
29753
30248
|
"use strict";
|
|
29754
30249
|
/*!
|
|
29755
30250
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29789,7 +30284,7 @@ InputMismatchException = __decorate([
|
|
|
29789
30284
|
], InputMismatchException);
|
|
29790
30285
|
exports.InputMismatchException = InputMismatchException;
|
|
29791
30286
|
|
|
29792
|
-
},{"./Decorators":
|
|
30287
|
+
},{"./Decorators":191,"./RecognitionException":210}],197:[function(require,module,exports){
|
|
29793
30288
|
"use strict";
|
|
29794
30289
|
/*!
|
|
29795
30290
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29812,7 +30307,7 @@ var IntStream;
|
|
|
29812
30307
|
IntStream.UNKNOWN_SOURCE_NAME = "<unknown>";
|
|
29813
30308
|
})(IntStream = exports.IntStream || (exports.IntStream = {}));
|
|
29814
30309
|
|
|
29815
|
-
},{}],
|
|
30310
|
+
},{}],198:[function(require,module,exports){
|
|
29816
30311
|
"use strict";
|
|
29817
30312
|
/*!
|
|
29818
30313
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29859,7 +30354,7 @@ __decorate([
|
|
|
29859
30354
|
], InterpreterRuleContext.prototype, "ruleIndex", null);
|
|
29860
30355
|
exports.InterpreterRuleContext = InterpreterRuleContext;
|
|
29861
30356
|
|
|
29862
|
-
},{"./Decorators":
|
|
30357
|
+
},{"./Decorators":191,"./ParserRuleContext":207}],199:[function(require,module,exports){
|
|
29863
30358
|
"use strict";
|
|
29864
30359
|
/*!
|
|
29865
30360
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30195,7 +30690,7 @@ __decorate([
|
|
|
30195
30690
|
], Lexer.prototype, "charPositionInLine", null);
|
|
30196
30691
|
exports.Lexer = Lexer;
|
|
30197
30692
|
|
|
30198
|
-
},{"./CommonTokenFactory":
|
|
30693
|
+
},{"./CommonTokenFactory":188,"./Decorators":191,"./IntStream":197,"./LexerNoViableAltException":201,"./Recognizer":211,"./Token":216,"./atn/LexerATNSimulator":249,"./misc/IntegerStack":302,"./misc/Interval":303}],200:[function(require,module,exports){
|
|
30199
30694
|
"use strict";
|
|
30200
30695
|
/*!
|
|
30201
30696
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30275,7 +30770,7 @@ LexerInterpreter = __decorate([
|
|
|
30275
30770
|
], LexerInterpreter);
|
|
30276
30771
|
exports.LexerInterpreter = LexerInterpreter;
|
|
30277
30772
|
|
|
30278
|
-
},{"./Decorators":
|
|
30773
|
+
},{"./Decorators":191,"./Lexer":199,"./atn/LexerATNSimulator":249}],201:[function(require,module,exports){
|
|
30279
30774
|
"use strict";
|
|
30280
30775
|
/*!
|
|
30281
30776
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30332,7 +30827,7 @@ LexerNoViableAltException = __decorate([
|
|
|
30332
30827
|
], LexerNoViableAltException);
|
|
30333
30828
|
exports.LexerNoViableAltException = LexerNoViableAltException;
|
|
30334
30829
|
|
|
30335
|
-
},{"./Decorators":
|
|
30830
|
+
},{"./Decorators":191,"./RecognitionException":210,"./misc/Interval":303,"./misc/Utils":310}],202:[function(require,module,exports){
|
|
30336
30831
|
"use strict";
|
|
30337
30832
|
/*!
|
|
30338
30833
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30542,7 +31037,7 @@ ListTokenSource = __decorate([
|
|
|
30542
31037
|
], ListTokenSource);
|
|
30543
31038
|
exports.ListTokenSource = ListTokenSource;
|
|
30544
31039
|
|
|
30545
|
-
},{"./CommonTokenFactory":
|
|
31040
|
+
},{"./CommonTokenFactory":188,"./Decorators":191,"./Token":216}],203:[function(require,module,exports){
|
|
30546
31041
|
"use strict";
|
|
30547
31042
|
/*!
|
|
30548
31043
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30597,7 +31092,7 @@ __decorate([
|
|
|
30597
31092
|
], NoViableAltException.prototype, "_startToken", void 0);
|
|
30598
31093
|
exports.NoViableAltException = NoViableAltException;
|
|
30599
31094
|
|
|
30600
|
-
},{"./Decorators":
|
|
31095
|
+
},{"./Decorators":191,"./Parser":204,"./RecognitionException":210}],204:[function(require,module,exports){
|
|
30601
31096
|
(function (process){(function (){
|
|
30602
31097
|
"use strict";
|
|
30603
31098
|
/*!
|
|
@@ -31443,7 +31938,7 @@ __decorate([
|
|
|
31443
31938
|
exports.Parser = Parser;
|
|
31444
31939
|
|
|
31445
31940
|
}).call(this)}).call(this,require('_process'))
|
|
31446
|
-
},{"./Decorators":
|
|
31941
|
+
},{"./Decorators":191,"./DefaultErrorStrategy":192,"./Lexer":199,"./ProxyParserErrorListener":209,"./Recognizer":211,"./Token":216,"./atn/ATNDeserializationOptions":227,"./atn/ATNDeserializer":228,"./atn/ParseInfo":264,"./atn/ParserATNSimulator":265,"./atn/ProfilingATNSimulator":274,"./misc/IntegerStack":302,"./misc/Utils":310,"./tree/ErrorNode":311,"./tree/TerminalNode":314,"./tree/pattern/ParseTreePatternMatcher":319,"_process":382}],205:[function(require,module,exports){
|
|
31447
31942
|
"use strict";
|
|
31448
31943
|
/*!
|
|
31449
31944
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31451,7 +31946,7 @@ exports.Parser = Parser;
|
|
|
31451
31946
|
*/
|
|
31452
31947
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31453
31948
|
|
|
31454
|
-
},{}],
|
|
31949
|
+
},{}],206:[function(require,module,exports){
|
|
31455
31950
|
"use strict";
|
|
31456
31951
|
/*!
|
|
31457
31952
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31859,7 +32354,7 @@ ParserInterpreter = __decorate([
|
|
|
31859
32354
|
], ParserInterpreter);
|
|
31860
32355
|
exports.ParserInterpreter = ParserInterpreter;
|
|
31861
32356
|
|
|
31862
|
-
},{"./Decorators":
|
|
32357
|
+
},{"./Decorators":191,"./FailedPredicateException":195,"./InputMismatchException":196,"./InterpreterRuleContext":198,"./Parser":204,"./RecognitionException":210,"./Token":216,"./atn/ATNState":230,"./atn/ATNStateType":231,"./atn/LoopEndState":261,"./atn/ParserATNSimulator":265,"./atn/StarLoopEntryState":283,"./misc/BitSet":298}],207:[function(require,module,exports){
|
|
31863
32358
|
"use strict";
|
|
31864
32359
|
/*!
|
|
31865
32360
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32160,7 +32655,7 @@ __decorate([
|
|
|
32160
32655
|
], ParserRuleContext.prototype, "sourceInterval", null);
|
|
32161
32656
|
exports.ParserRuleContext = ParserRuleContext;
|
|
32162
32657
|
|
|
32163
|
-
},{"./Decorators":
|
|
32658
|
+
},{"./Decorators":191,"./RuleContext":212,"./misc/Interval":303,"./tree/ErrorNode":311,"./tree/TerminalNode":314}],208:[function(require,module,exports){
|
|
32164
32659
|
"use strict";
|
|
32165
32660
|
/*!
|
|
32166
32661
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32210,7 +32705,7 @@ __decorate([
|
|
|
32210
32705
|
], ProxyErrorListener.prototype, "syntaxError", null);
|
|
32211
32706
|
exports.ProxyErrorListener = ProxyErrorListener;
|
|
32212
32707
|
|
|
32213
|
-
},{"./Decorators":
|
|
32708
|
+
},{"./Decorators":191}],209:[function(require,module,exports){
|
|
32214
32709
|
"use strict";
|
|
32215
32710
|
/*!
|
|
32216
32711
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32269,7 +32764,7 @@ __decorate([
|
|
|
32269
32764
|
], ProxyParserErrorListener.prototype, "reportContextSensitivity", null);
|
|
32270
32765
|
exports.ProxyParserErrorListener = ProxyParserErrorListener;
|
|
32271
32766
|
|
|
32272
|
-
},{"./Decorators":
|
|
32767
|
+
},{"./Decorators":191,"./ProxyErrorListener":208}],210:[function(require,module,exports){
|
|
32273
32768
|
"use strict";
|
|
32274
32769
|
/*!
|
|
32275
32770
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32374,7 +32869,7 @@ class RecognitionException extends Error {
|
|
|
32374
32869
|
}
|
|
32375
32870
|
exports.RecognitionException = RecognitionException;
|
|
32376
32871
|
|
|
32377
|
-
},{}],
|
|
32872
|
+
},{}],211:[function(require,module,exports){
|
|
32378
32873
|
"use strict";
|
|
32379
32874
|
/*!
|
|
32380
32875
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32593,7 +33088,7 @@ __decorate([
|
|
|
32593
33088
|
], Recognizer.prototype, "getErrorListeners", null);
|
|
32594
33089
|
exports.Recognizer = Recognizer;
|
|
32595
33090
|
|
|
32596
|
-
},{"./ConsoleErrorListener":
|
|
33091
|
+
},{"./ConsoleErrorListener":190,"./Decorators":191,"./ProxyErrorListener":208,"./Token":216,"./misc/Utils":310}],212:[function(require,module,exports){
|
|
32597
33092
|
"use strict";
|
|
32598
33093
|
/*!
|
|
32599
33094
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32810,7 +33305,7 @@ __decorate([
|
|
|
32810
33305
|
], RuleContext.prototype, "toStringTree", null);
|
|
32811
33306
|
exports.RuleContext = RuleContext;
|
|
32812
33307
|
|
|
32813
|
-
},{"./Decorators":
|
|
33308
|
+
},{"./Decorators":191,"./ParserRuleContext":207,"./Recognizer":211,"./atn/ATN":224,"./misc/Interval":303,"./tree/RuleNode":313,"./tree/Trees":315}],213:[function(require,module,exports){
|
|
32814
33309
|
"use strict";
|
|
32815
33310
|
/*!
|
|
32816
33311
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32861,7 +33356,7 @@ __decorate([
|
|
|
32861
33356
|
], RuleContextWithAltNum.prototype, "altNumber", null);
|
|
32862
33357
|
exports.RuleContextWithAltNum = RuleContextWithAltNum;
|
|
32863
33358
|
|
|
32864
|
-
},{"./Decorators":
|
|
33359
|
+
},{"./Decorators":191,"./ParserRuleContext":207,"./atn/ATN":224}],214:[function(require,module,exports){
|
|
32865
33360
|
"use strict";
|
|
32866
33361
|
/*!
|
|
32867
33362
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32884,7 +33379,7 @@ function RuleDependency(dependency) {
|
|
|
32884
33379
|
}
|
|
32885
33380
|
exports.RuleDependency = RuleDependency;
|
|
32886
33381
|
|
|
32887
|
-
},{}],
|
|
33382
|
+
},{}],215:[function(require,module,exports){
|
|
32888
33383
|
"use strict";
|
|
32889
33384
|
/*!
|
|
32890
33385
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32903,7 +33398,7 @@ function RuleVersion(version) {
|
|
|
32903
33398
|
}
|
|
32904
33399
|
exports.RuleVersion = RuleVersion;
|
|
32905
33400
|
|
|
32906
|
-
},{}],
|
|
33401
|
+
},{}],216:[function(require,module,exports){
|
|
32907
33402
|
"use strict";
|
|
32908
33403
|
/*!
|
|
32909
33404
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32943,7 +33438,7 @@ var Token;
|
|
|
32943
33438
|
Token.MIN_USER_CHANNEL_VALUE = 2;
|
|
32944
33439
|
})(Token = exports.Token || (exports.Token = {}));
|
|
32945
33440
|
|
|
32946
|
-
},{"./IntStream":
|
|
33441
|
+
},{"./IntStream":197}],217:[function(require,module,exports){
|
|
32947
33442
|
"use strict";
|
|
32948
33443
|
/*!
|
|
32949
33444
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32951,7 +33446,7 @@ var Token;
|
|
|
32951
33446
|
*/
|
|
32952
33447
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32953
33448
|
|
|
32954
|
-
},{}],
|
|
33449
|
+
},{}],218:[function(require,module,exports){
|
|
32955
33450
|
"use strict";
|
|
32956
33451
|
/*!
|
|
32957
33452
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32959,7 +33454,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
32959
33454
|
*/
|
|
32960
33455
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32961
33456
|
|
|
32962
|
-
},{}],
|
|
33457
|
+
},{}],219:[function(require,module,exports){
|
|
32963
33458
|
"use strict";
|
|
32964
33459
|
/*!
|
|
32965
33460
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32967,7 +33462,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
32967
33462
|
*/
|
|
32968
33463
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32969
33464
|
|
|
32970
|
-
},{}],
|
|
33465
|
+
},{}],220:[function(require,module,exports){
|
|
32971
33466
|
"use strict";
|
|
32972
33467
|
/*!
|
|
32973
33468
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33475,7 +33970,7 @@ __decorate([
|
|
|
33475
33970
|
Decorators_1.Override
|
|
33476
33971
|
], ReplaceOp.prototype, "toString", null);
|
|
33477
33972
|
|
|
33478
|
-
},{"./Decorators":
|
|
33973
|
+
},{"./Decorators":191,"./Token":216,"./misc/Interval":303}],221:[function(require,module,exports){
|
|
33479
33974
|
"use strict";
|
|
33480
33975
|
/*!
|
|
33481
33976
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33483,7 +33978,7 @@ __decorate([
|
|
|
33483
33978
|
*/
|
|
33484
33979
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33485
33980
|
|
|
33486
|
-
},{}],
|
|
33981
|
+
},{}],222:[function(require,module,exports){
|
|
33487
33982
|
"use strict";
|
|
33488
33983
|
/*!
|
|
33489
33984
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33603,7 +34098,7 @@ __decorate([
|
|
|
33603
34098
|
], VocabularyImpl, "EMPTY_VOCABULARY", void 0);
|
|
33604
34099
|
exports.VocabularyImpl = VocabularyImpl;
|
|
33605
34100
|
|
|
33606
|
-
},{"./Decorators":
|
|
34101
|
+
},{"./Decorators":191,"./Token":216}],223:[function(require,module,exports){
|
|
33607
34102
|
"use strict";
|
|
33608
34103
|
/*!
|
|
33609
34104
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33611,7 +34106,7 @@ exports.VocabularyImpl = VocabularyImpl;
|
|
|
33611
34106
|
*/
|
|
33612
34107
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33613
34108
|
|
|
33614
|
-
},{}],
|
|
34109
|
+
},{}],224:[function(require,module,exports){
|
|
33615
34110
|
"use strict";
|
|
33616
34111
|
/*!
|
|
33617
34112
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33833,7 +34328,7 @@ exports.ATN = ATN;
|
|
|
33833
34328
|
})(ATN = exports.ATN || (exports.ATN = {}));
|
|
33834
34329
|
exports.ATN = ATN;
|
|
33835
34330
|
|
|
33836
|
-
},{"../Decorators":
|
|
34331
|
+
},{"../Decorators":191,"../Token":216,"../dfa/DFA":289,"../misc/Array2DHashMap":294,"../misc/IntervalSet":304,"../misc/ObjectEqualityComparator":307,"./InvalidState":247,"./LL1Analyzer":248,"./PredictionContext":271,"assert":334}],225:[function(require,module,exports){
|
|
33837
34332
|
"use strict";
|
|
33838
34333
|
/*!
|
|
33839
34334
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34358,7 +34853,7 @@ ActionSemanticContextATNConfig = __decorate([
|
|
|
34358
34853
|
__param(1, Decorators_1.NotNull), __param(2, Decorators_1.NotNull)
|
|
34359
34854
|
], ActionSemanticContextATNConfig);
|
|
34360
34855
|
|
|
34361
|
-
},{"../Decorators":
|
|
34856
|
+
},{"../Decorators":191,"../misc/Array2DHashMap":294,"../misc/MurmurHash":306,"../misc/ObjectEqualityComparator":307,"./DecisionState":244,"./PredictionContext":271,"./SemanticContext":279,"assert":334}],226:[function(require,module,exports){
|
|
34362
34857
|
"use strict";
|
|
34363
34858
|
/*!
|
|
34364
34859
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34805,7 +35300,7 @@ __decorate([
|
|
|
34805
35300
|
], ATNConfigSet.prototype, "hashCode", null);
|
|
34806
35301
|
exports.ATNConfigSet = ATNConfigSet;
|
|
34807
35302
|
|
|
34808
|
-
},{"../Decorators":
|
|
35303
|
+
},{"../Decorators":191,"../misc/Array2DHashMap":294,"../misc/Array2DHashSet":295,"../misc/ArrayEqualityComparator":296,"../misc/BitSet":298,"../misc/ObjectEqualityComparator":307,"../misc/Utils":310,"./ATN":224,"./ATNConfig":225,"./PredictionContext":271,"./PredictionContextCache":272,"./SemanticContext":279,"assert":334}],227:[function(require,module,exports){
|
|
34809
35304
|
"use strict";
|
|
34810
35305
|
/*!
|
|
34811
35306
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34884,7 +35379,7 @@ __decorate([
|
|
|
34884
35379
|
], ATNDeserializationOptions, "defaultOptions", null);
|
|
34885
35380
|
exports.ATNDeserializationOptions = ATNDeserializationOptions;
|
|
34886
35381
|
|
|
34887
|
-
},{"../Decorators":
|
|
35382
|
+
},{"../Decorators":191}],228:[function(require,module,exports){
|
|
34888
35383
|
"use strict";
|
|
34889
35384
|
/*!
|
|
34890
35385
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35971,7 +36466,7 @@ __decorate([
|
|
|
35971
36466
|
], ATNDeserializer.prototype, "edgeFactory", null);
|
|
35972
36467
|
exports.ATNDeserializer = ATNDeserializer;
|
|
35973
36468
|
|
|
35974
|
-
},{"../Decorators":
|
|
36469
|
+
},{"../Decorators":191,"../Token":216,"../dfa/DFA":289,"../misc/Array2DHashSet":295,"../misc/BitSet":298,"../misc/IntervalSet":304,"../misc/UUID":309,"./ATN":224,"./ATNDeserializationOptions":227,"./ATNStateType":231,"./ActionTransition":233,"./AtomTransition":235,"./BasicBlockStartState":236,"./BasicState":237,"./BlockEndState":238,"./BlockStartState":239,"./DecisionState":244,"./EpsilonTransition":245,"./InvalidState":247,"./LexerChannelAction":251,"./LexerCustomAction":252,"./LexerModeAction":254,"./LexerMoreAction":255,"./LexerPopModeAction":256,"./LexerPushModeAction":257,"./LexerSkipAction":258,"./LexerTypeAction":259,"./LoopEndState":261,"./NotSetTransition":262,"./ParserATNSimulator":265,"./PlusBlockStartState":266,"./PlusLoopbackState":267,"./PrecedencePredicateTransition":268,"./PredicateTransition":270,"./RangeTransition":275,"./RuleStartState":276,"./RuleStopState":277,"./RuleTransition":278,"./SetTransition":280,"./StarBlockStartState":282,"./StarLoopEntryState":283,"./StarLoopbackState":284,"./TokensStartState":285,"./WildcardTransition":287}],229:[function(require,module,exports){
|
|
35975
36470
|
"use strict";
|
|
35976
36471
|
/*!
|
|
35977
36472
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36035,7 +36530,7 @@ exports.ATNSimulator = ATNSimulator;
|
|
|
36035
36530
|
})(ATNSimulator = exports.ATNSimulator || (exports.ATNSimulator = {}));
|
|
36036
36531
|
exports.ATNSimulator = ATNSimulator;
|
|
36037
36532
|
|
|
36038
|
-
},{"../Decorators":
|
|
36533
|
+
},{"../Decorators":191,"../dfa/DFAState":291,"./ATNConfigSet":226,"./PredictionContext":271}],230:[function(require,module,exports){
|
|
36039
36534
|
"use strict";
|
|
36040
36535
|
/*!
|
|
36041
36536
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36222,7 +36717,7 @@ exports.ATNState = ATNState;
|
|
|
36222
36717
|
ATNState.INVALID_STATE_NUMBER = -1;
|
|
36223
36718
|
})(ATNState = exports.ATNState || (exports.ATNState = {}));
|
|
36224
36719
|
|
|
36225
|
-
},{"../Decorators":
|
|
36720
|
+
},{"../Decorators":191}],231:[function(require,module,exports){
|
|
36226
36721
|
"use strict";
|
|
36227
36722
|
/*!
|
|
36228
36723
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36248,7 +36743,7 @@ var ATNStateType;
|
|
|
36248
36743
|
ATNStateType[ATNStateType["LOOP_END"] = 12] = "LOOP_END";
|
|
36249
36744
|
})(ATNStateType = exports.ATNStateType || (exports.ATNStateType = {}));
|
|
36250
36745
|
|
|
36251
|
-
},{}],
|
|
36746
|
+
},{}],232:[function(require,module,exports){
|
|
36252
36747
|
"use strict";
|
|
36253
36748
|
/*!
|
|
36254
36749
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36268,7 +36763,7 @@ class AbstractPredicateTransition extends Transition_1.Transition {
|
|
|
36268
36763
|
}
|
|
36269
36764
|
exports.AbstractPredicateTransition = AbstractPredicateTransition;
|
|
36270
36765
|
|
|
36271
|
-
},{"./Transition":
|
|
36766
|
+
},{"./Transition":286}],233:[function(require,module,exports){
|
|
36272
36767
|
"use strict";
|
|
36273
36768
|
/*!
|
|
36274
36769
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36324,7 +36819,7 @@ ActionTransition = __decorate([
|
|
|
36324
36819
|
], ActionTransition);
|
|
36325
36820
|
exports.ActionTransition = ActionTransition;
|
|
36326
36821
|
|
|
36327
|
-
},{"../Decorators":
|
|
36822
|
+
},{"../Decorators":191,"./Transition":286}],234:[function(require,module,exports){
|
|
36328
36823
|
"use strict";
|
|
36329
36824
|
/*!
|
|
36330
36825
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36411,7 +36906,7 @@ AmbiguityInfo = __decorate([
|
|
|
36411
36906
|
], AmbiguityInfo);
|
|
36412
36907
|
exports.AmbiguityInfo = AmbiguityInfo;
|
|
36413
36908
|
|
|
36414
|
-
},{"../Decorators":
|
|
36909
|
+
},{"../Decorators":191,"./DecisionEventInfo":242}],235:[function(require,module,exports){
|
|
36415
36910
|
"use strict";
|
|
36416
36911
|
/*!
|
|
36417
36912
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36469,7 +36964,7 @@ AtomTransition = __decorate([
|
|
|
36469
36964
|
], AtomTransition);
|
|
36470
36965
|
exports.AtomTransition = AtomTransition;
|
|
36471
36966
|
|
|
36472
|
-
},{"../Decorators":
|
|
36967
|
+
},{"../Decorators":191,"../misc/IntervalSet":304,"./Transition":286}],236:[function(require,module,exports){
|
|
36473
36968
|
"use strict";
|
|
36474
36969
|
/*!
|
|
36475
36970
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36501,7 +36996,7 @@ __decorate([
|
|
|
36501
36996
|
], BasicBlockStartState.prototype, "stateType", null);
|
|
36502
36997
|
exports.BasicBlockStartState = BasicBlockStartState;
|
|
36503
36998
|
|
|
36504
|
-
},{"../Decorators":
|
|
36999
|
+
},{"../Decorators":191,"./ATNStateType":231,"./BlockStartState":239}],237:[function(require,module,exports){
|
|
36505
37000
|
"use strict";
|
|
36506
37001
|
/*!
|
|
36507
37002
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36533,7 +37028,7 @@ __decorate([
|
|
|
36533
37028
|
], BasicState.prototype, "stateType", null);
|
|
36534
37029
|
exports.BasicState = BasicState;
|
|
36535
37030
|
|
|
36536
|
-
},{"../Decorators":
|
|
37031
|
+
},{"../Decorators":191,"./ATNState":230,"./ATNStateType":231}],238:[function(require,module,exports){
|
|
36537
37032
|
"use strict";
|
|
36538
37033
|
/*!
|
|
36539
37034
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36562,7 +37057,7 @@ __decorate([
|
|
|
36562
37057
|
], BlockEndState.prototype, "stateType", null);
|
|
36563
37058
|
exports.BlockEndState = BlockEndState;
|
|
36564
37059
|
|
|
36565
|
-
},{"../Decorators":
|
|
37060
|
+
},{"../Decorators":191,"./ATNState":230,"./ATNStateType":231}],239:[function(require,module,exports){
|
|
36566
37061
|
"use strict";
|
|
36567
37062
|
/*!
|
|
36568
37063
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36576,7 +37071,7 @@ class BlockStartState extends DecisionState_1.DecisionState {
|
|
|
36576
37071
|
}
|
|
36577
37072
|
exports.BlockStartState = BlockStartState;
|
|
36578
37073
|
|
|
36579
|
-
},{"./DecisionState":
|
|
37074
|
+
},{"./DecisionState":244}],240:[function(require,module,exports){
|
|
36580
37075
|
"use strict";
|
|
36581
37076
|
/*!
|
|
36582
37077
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36646,7 +37141,7 @@ __decorate([
|
|
|
36646
37141
|
], ConflictInfo.prototype, "hashCode", null);
|
|
36647
37142
|
exports.ConflictInfo = ConflictInfo;
|
|
36648
37143
|
|
|
36649
|
-
},{"../Decorators":
|
|
37144
|
+
},{"../Decorators":191,"../misc/Utils":310}],241:[function(require,module,exports){
|
|
36650
37145
|
"use strict";
|
|
36651
37146
|
/*!
|
|
36652
37147
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36706,7 +37201,7 @@ ContextSensitivityInfo = __decorate([
|
|
|
36706
37201
|
], ContextSensitivityInfo);
|
|
36707
37202
|
exports.ContextSensitivityInfo = ContextSensitivityInfo;
|
|
36708
37203
|
|
|
36709
|
-
},{"../Decorators":
|
|
37204
|
+
},{"../Decorators":191,"./DecisionEventInfo":242}],242:[function(require,module,exports){
|
|
36710
37205
|
"use strict";
|
|
36711
37206
|
/*!
|
|
36712
37207
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36758,7 +37253,7 @@ DecisionEventInfo = __decorate([
|
|
|
36758
37253
|
], DecisionEventInfo);
|
|
36759
37254
|
exports.DecisionEventInfo = DecisionEventInfo;
|
|
36760
37255
|
|
|
36761
|
-
},{"../Decorators":
|
|
37256
|
+
},{"../Decorators":191}],243:[function(require,module,exports){
|
|
36762
37257
|
"use strict";
|
|
36763
37258
|
/*!
|
|
36764
37259
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36971,7 +37466,7 @@ __decorate([
|
|
|
36971
37466
|
], DecisionInfo.prototype, "toString", null);
|
|
36972
37467
|
exports.DecisionInfo = DecisionInfo;
|
|
36973
37468
|
|
|
36974
|
-
},{"../Decorators":
|
|
37469
|
+
},{"../Decorators":191}],244:[function(require,module,exports){
|
|
36975
37470
|
"use strict";
|
|
36976
37471
|
/*!
|
|
36977
37472
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36991,7 +37486,7 @@ class DecisionState extends ATNState_1.ATNState {
|
|
|
36991
37486
|
}
|
|
36992
37487
|
exports.DecisionState = DecisionState;
|
|
36993
37488
|
|
|
36994
|
-
},{"./ATNState":
|
|
37489
|
+
},{"./ATNState":230}],245:[function(require,module,exports){
|
|
36995
37490
|
"use strict";
|
|
36996
37491
|
/*!
|
|
36997
37492
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37057,7 +37552,7 @@ EpsilonTransition = __decorate([
|
|
|
37057
37552
|
], EpsilonTransition);
|
|
37058
37553
|
exports.EpsilonTransition = EpsilonTransition;
|
|
37059
37554
|
|
|
37060
|
-
},{"../Decorators":
|
|
37555
|
+
},{"../Decorators":191,"./Transition":286}],246:[function(require,module,exports){
|
|
37061
37556
|
"use strict";
|
|
37062
37557
|
/*!
|
|
37063
37558
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37110,7 +37605,7 @@ ErrorInfo = __decorate([
|
|
|
37110
37605
|
], ErrorInfo);
|
|
37111
37606
|
exports.ErrorInfo = ErrorInfo;
|
|
37112
37607
|
|
|
37113
|
-
},{"../Decorators":
|
|
37608
|
+
},{"../Decorators":191,"./DecisionEventInfo":242}],247:[function(require,module,exports){
|
|
37114
37609
|
"use strict";
|
|
37115
37610
|
/*!
|
|
37116
37611
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37141,7 +37636,7 @@ __decorate([
|
|
|
37141
37636
|
], InvalidState.prototype, "stateType", null);
|
|
37142
37637
|
exports.InvalidState = InvalidState;
|
|
37143
37638
|
|
|
37144
|
-
},{"../Decorators":
|
|
37639
|
+
},{"../Decorators":191,"./ATNStateType":231,"./BasicState":237}],248:[function(require,module,exports){
|
|
37145
37640
|
"use strict";
|
|
37146
37641
|
/*!
|
|
37147
37642
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37363,7 +37858,7 @@ LL1Analyzer = __decorate([
|
|
|
37363
37858
|
], LL1Analyzer);
|
|
37364
37859
|
exports.LL1Analyzer = LL1Analyzer;
|
|
37365
37860
|
|
|
37366
|
-
},{"../Decorators":
|
|
37861
|
+
},{"../Decorators":191,"../Token":216,"../misc/Array2DHashSet":295,"../misc/BitSet":298,"../misc/IntervalSet":304,"../misc/ObjectEqualityComparator":307,"./ATNConfig":225,"./AbstractPredicateTransition":232,"./NotSetTransition":262,"./PredictionContext":271,"./RuleStopState":277,"./RuleTransition":278,"./WildcardTransition":287}],249:[function(require,module,exports){
|
|
37367
37862
|
"use strict";
|
|
37368
37863
|
/*!
|
|
37369
37864
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38080,7 +38575,7 @@ exports.LexerATNSimulator = LexerATNSimulator;
|
|
|
38080
38575
|
})(LexerATNSimulator = exports.LexerATNSimulator || (exports.LexerATNSimulator = {}));
|
|
38081
38576
|
exports.LexerATNSimulator = LexerATNSimulator;
|
|
38082
38577
|
|
|
38083
|
-
},{"../Decorators":
|
|
38578
|
+
},{"../Decorators":191,"../IntStream":197,"../Lexer":199,"../LexerNoViableAltException":201,"../Token":216,"../dfa/AcceptStateInfo":288,"../dfa/DFAState":291,"../misc/Interval":303,"./ATN":224,"./ATNConfig":225,"./ATNConfigSet":226,"./ATNSimulator":229,"./LexerActionExecutor":250,"./OrderedATNConfigSet":263,"./PredictionContext":271,"./RuleStopState":277,"assert":334}],250:[function(require,module,exports){
|
|
38084
38579
|
"use strict";
|
|
38085
38580
|
/*!
|
|
38086
38581
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38281,7 +38776,7 @@ LexerActionExecutor = __decorate([
|
|
|
38281
38776
|
], LexerActionExecutor);
|
|
38282
38777
|
exports.LexerActionExecutor = LexerActionExecutor;
|
|
38283
38778
|
|
|
38284
|
-
},{"../Decorators":
|
|
38779
|
+
},{"../Decorators":191,"../misc/ArrayEqualityComparator":296,"../misc/MurmurHash":306,"./LexerIndexedCustomAction":253}],251:[function(require,module,exports){
|
|
38285
38780
|
"use strict";
|
|
38286
38781
|
/*!
|
|
38287
38782
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38386,7 +38881,7 @@ __decorate([
|
|
|
38386
38881
|
], LexerChannelAction.prototype, "toString", null);
|
|
38387
38882
|
exports.LexerChannelAction = LexerChannelAction;
|
|
38388
38883
|
|
|
38389
|
-
},{"../Decorators":
|
|
38884
|
+
},{"../Decorators":191,"../misc/MurmurHash":306}],252:[function(require,module,exports){
|
|
38390
38885
|
"use strict";
|
|
38391
38886
|
/*!
|
|
38392
38887
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38515,7 +39010,7 @@ __decorate([
|
|
|
38515
39010
|
], LexerCustomAction.prototype, "equals", null);
|
|
38516
39011
|
exports.LexerCustomAction = LexerCustomAction;
|
|
38517
39012
|
|
|
38518
|
-
},{"../Decorators":
|
|
39013
|
+
},{"../Decorators":191,"../misc/MurmurHash":306}],253:[function(require,module,exports){
|
|
38519
39014
|
"use strict";
|
|
38520
39015
|
/*!
|
|
38521
39016
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38650,7 +39145,7 @@ LexerIndexedCustomAction = __decorate([
|
|
|
38650
39145
|
], LexerIndexedCustomAction);
|
|
38651
39146
|
exports.LexerIndexedCustomAction = LexerIndexedCustomAction;
|
|
38652
39147
|
|
|
38653
|
-
},{"../Decorators":
|
|
39148
|
+
},{"../Decorators":191,"../misc/MurmurHash":306}],254:[function(require,module,exports){
|
|
38654
39149
|
"use strict";
|
|
38655
39150
|
/*!
|
|
38656
39151
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38755,7 +39250,7 @@ __decorate([
|
|
|
38755
39250
|
], LexerModeAction.prototype, "toString", null);
|
|
38756
39251
|
exports.LexerModeAction = LexerModeAction;
|
|
38757
39252
|
|
|
38758
|
-
},{"../Decorators":
|
|
39253
|
+
},{"../Decorators":191,"../misc/MurmurHash":306}],255:[function(require,module,exports){
|
|
38759
39254
|
"use strict";
|
|
38760
39255
|
/*!
|
|
38761
39256
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38851,7 +39346,7 @@ exports.LexerMoreAction = LexerMoreAction;
|
|
|
38851
39346
|
LexerMoreAction.INSTANCE = new LexerMoreAction();
|
|
38852
39347
|
})(LexerMoreAction = exports.LexerMoreAction || (exports.LexerMoreAction = {}));
|
|
38853
39348
|
|
|
38854
|
-
},{"../Decorators":
|
|
39349
|
+
},{"../Decorators":191,"../misc/MurmurHash":306}],256:[function(require,module,exports){
|
|
38855
39350
|
"use strict";
|
|
38856
39351
|
/*!
|
|
38857
39352
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38947,7 +39442,7 @@ exports.LexerPopModeAction = LexerPopModeAction;
|
|
|
38947
39442
|
LexerPopModeAction.INSTANCE = new LexerPopModeAction();
|
|
38948
39443
|
})(LexerPopModeAction = exports.LexerPopModeAction || (exports.LexerPopModeAction = {}));
|
|
38949
39444
|
|
|
38950
|
-
},{"../Decorators":
|
|
39445
|
+
},{"../Decorators":191,"../misc/MurmurHash":306}],257:[function(require,module,exports){
|
|
38951
39446
|
"use strict";
|
|
38952
39447
|
/*!
|
|
38953
39448
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39052,7 +39547,7 @@ __decorate([
|
|
|
39052
39547
|
], LexerPushModeAction.prototype, "toString", null);
|
|
39053
39548
|
exports.LexerPushModeAction = LexerPushModeAction;
|
|
39054
39549
|
|
|
39055
|
-
},{"../Decorators":
|
|
39550
|
+
},{"../Decorators":191,"../misc/MurmurHash":306}],258:[function(require,module,exports){
|
|
39056
39551
|
"use strict";
|
|
39057
39552
|
/*!
|
|
39058
39553
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39148,7 +39643,7 @@ exports.LexerSkipAction = LexerSkipAction;
|
|
|
39148
39643
|
LexerSkipAction.INSTANCE = new LexerSkipAction();
|
|
39149
39644
|
})(LexerSkipAction = exports.LexerSkipAction || (exports.LexerSkipAction = {}));
|
|
39150
39645
|
|
|
39151
|
-
},{"../Decorators":
|
|
39646
|
+
},{"../Decorators":191,"../misc/MurmurHash":306}],259:[function(require,module,exports){
|
|
39152
39647
|
"use strict";
|
|
39153
39648
|
/*!
|
|
39154
39649
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39252,7 +39747,7 @@ __decorate([
|
|
|
39252
39747
|
], LexerTypeAction.prototype, "toString", null);
|
|
39253
39748
|
exports.LexerTypeAction = LexerTypeAction;
|
|
39254
39749
|
|
|
39255
|
-
},{"../Decorators":
|
|
39750
|
+
},{"../Decorators":191,"../misc/MurmurHash":306}],260:[function(require,module,exports){
|
|
39256
39751
|
"use strict";
|
|
39257
39752
|
/*!
|
|
39258
39753
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39304,7 +39799,7 @@ LookaheadEventInfo = __decorate([
|
|
|
39304
39799
|
], LookaheadEventInfo);
|
|
39305
39800
|
exports.LookaheadEventInfo = LookaheadEventInfo;
|
|
39306
39801
|
|
|
39307
|
-
},{"../Decorators":
|
|
39802
|
+
},{"../Decorators":191,"./DecisionEventInfo":242}],261:[function(require,module,exports){
|
|
39308
39803
|
"use strict";
|
|
39309
39804
|
/*!
|
|
39310
39805
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39333,7 +39828,7 @@ __decorate([
|
|
|
39333
39828
|
], LoopEndState.prototype, "stateType", null);
|
|
39334
39829
|
exports.LoopEndState = LoopEndState;
|
|
39335
39830
|
|
|
39336
|
-
},{"../Decorators":
|
|
39831
|
+
},{"../Decorators":191,"./ATNState":230,"./ATNStateType":231}],262:[function(require,module,exports){
|
|
39337
39832
|
"use strict";
|
|
39338
39833
|
/*!
|
|
39339
39834
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39382,7 +39877,7 @@ NotSetTransition = __decorate([
|
|
|
39382
39877
|
], NotSetTransition);
|
|
39383
39878
|
exports.NotSetTransition = NotSetTransition;
|
|
39384
39879
|
|
|
39385
|
-
},{"../Decorators":
|
|
39880
|
+
},{"../Decorators":191,"./SetTransition":280}],263:[function(require,module,exports){
|
|
39386
39881
|
"use strict";
|
|
39387
39882
|
/*!
|
|
39388
39883
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39437,7 +39932,7 @@ __decorate([
|
|
|
39437
39932
|
], OrderedATNConfigSet.prototype, "canMerge", null);
|
|
39438
39933
|
exports.OrderedATNConfigSet = OrderedATNConfigSet;
|
|
39439
39934
|
|
|
39440
|
-
},{"../Decorators":
|
|
39935
|
+
},{"../Decorators":191,"./ATNConfigSet":226}],264:[function(require,module,exports){
|
|
39441
39936
|
"use strict";
|
|
39442
39937
|
/*!
|
|
39443
39938
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39599,7 +40094,7 @@ ParseInfo = __decorate([
|
|
|
39599
40094
|
], ParseInfo);
|
|
39600
40095
|
exports.ParseInfo = ParseInfo;
|
|
39601
40096
|
|
|
39602
|
-
},{"../Decorators":
|
|
40097
|
+
},{"../Decorators":191}],265:[function(require,module,exports){
|
|
39603
40098
|
"use strict";
|
|
39604
40099
|
/*!
|
|
39605
40100
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41872,7 +42367,7 @@ ParserATNSimulator = __decorate([
|
|
|
41872
42367
|
], ParserATNSimulator);
|
|
41873
42368
|
exports.ParserATNSimulator = ParserATNSimulator;
|
|
41874
42369
|
|
|
41875
|
-
},{"../Decorators":
|
|
42370
|
+
},{"../Decorators":191,"../IntStream":197,"../NoViableAltException":203,"../ParserRuleContext":207,"../Token":216,"../VocabularyImpl":222,"../dfa/AcceptStateInfo":288,"../dfa/DFAState":291,"../misc/Array2DHashSet":295,"../misc/Arrays":297,"../misc/BitSet":298,"../misc/IntegerList":301,"../misc/Interval":303,"../misc/ObjectEqualityComparator":307,"./ATN":224,"./ATNConfig":225,"./ATNConfigSet":226,"./ATNSimulator":229,"./ATNStateType":231,"./ActionTransition":233,"./AtomTransition":235,"./ConflictInfo":240,"./DecisionState":244,"./NotSetTransition":262,"./PredictionContext":271,"./PredictionContextCache":272,"./PredictionMode":273,"./RuleStopState":277,"./RuleTransition":278,"./SemanticContext":279,"./SetTransition":280,"./SimulatorState":281,"assert":334}],266:[function(require,module,exports){
|
|
41876
42371
|
"use strict";
|
|
41877
42372
|
/*!
|
|
41878
42373
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41905,7 +42400,7 @@ __decorate([
|
|
|
41905
42400
|
], PlusBlockStartState.prototype, "stateType", null);
|
|
41906
42401
|
exports.PlusBlockStartState = PlusBlockStartState;
|
|
41907
42402
|
|
|
41908
|
-
},{"../Decorators":
|
|
42403
|
+
},{"../Decorators":191,"./ATNStateType":231,"./BlockStartState":239}],267:[function(require,module,exports){
|
|
41909
42404
|
"use strict";
|
|
41910
42405
|
/*!
|
|
41911
42406
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41936,7 +42431,7 @@ __decorate([
|
|
|
41936
42431
|
], PlusLoopbackState.prototype, "stateType", null);
|
|
41937
42432
|
exports.PlusLoopbackState = PlusLoopbackState;
|
|
41938
42433
|
|
|
41939
|
-
},{"../Decorators":
|
|
42434
|
+
},{"../Decorators":191,"./ATNStateType":231,"./DecisionState":244}],268:[function(require,module,exports){
|
|
41940
42435
|
"use strict";
|
|
41941
42436
|
/*!
|
|
41942
42437
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41999,7 +42494,7 @@ PrecedencePredicateTransition = __decorate([
|
|
|
41999
42494
|
], PrecedencePredicateTransition);
|
|
42000
42495
|
exports.PrecedencePredicateTransition = PrecedencePredicateTransition;
|
|
42001
42496
|
|
|
42002
|
-
},{"../Decorators":
|
|
42497
|
+
},{"../Decorators":191,"./AbstractPredicateTransition":232,"./SemanticContext":279}],269:[function(require,module,exports){
|
|
42003
42498
|
"use strict";
|
|
42004
42499
|
/*!
|
|
42005
42500
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42062,7 +42557,7 @@ PredicateEvalInfo = __decorate([
|
|
|
42062
42557
|
], PredicateEvalInfo);
|
|
42063
42558
|
exports.PredicateEvalInfo = PredicateEvalInfo;
|
|
42064
42559
|
|
|
42065
|
-
},{"../Decorators":
|
|
42560
|
+
},{"../Decorators":191,"./DecisionEventInfo":242}],270:[function(require,module,exports){
|
|
42066
42561
|
"use strict";
|
|
42067
42562
|
/*!
|
|
42068
42563
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42128,7 +42623,7 @@ PredicateTransition = __decorate([
|
|
|
42128
42623
|
], PredicateTransition);
|
|
42129
42624
|
exports.PredicateTransition = PredicateTransition;
|
|
42130
42625
|
|
|
42131
|
-
},{"../Decorators":
|
|
42626
|
+
},{"../Decorators":191,"./AbstractPredicateTransition":232,"./SemanticContext":279}],271:[function(require,module,exports){
|
|
42132
42627
|
"use strict";
|
|
42133
42628
|
/*!
|
|
42134
42629
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42819,7 +43314,7 @@ exports.SingletonPredictionContext = SingletonPredictionContext;
|
|
|
42819
43314
|
PredictionContext.IdentityEqualityComparator = IdentityEqualityComparator;
|
|
42820
43315
|
})(PredictionContext = exports.PredictionContext || (exports.PredictionContext = {}));
|
|
42821
43316
|
|
|
42822
|
-
},{"../Decorators":
|
|
43317
|
+
},{"../Decorators":191,"../misc/Array2DHashMap":294,"../misc/Array2DHashSet":295,"../misc/Arrays":297,"../misc/MurmurHash":306,"./PredictionContextCache":272,"assert":334}],272:[function(require,module,exports){
|
|
42823
43318
|
"use strict";
|
|
42824
43319
|
/*!
|
|
42825
43320
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42960,7 +43455,7 @@ PredictionContextCache.UNCACHED = new PredictionContextCache(false);
|
|
|
42960
43455
|
PredictionContextCache.IdentityCommutativePredictionContextOperands = IdentityCommutativePredictionContextOperands;
|
|
42961
43456
|
})(PredictionContextCache = exports.PredictionContextCache || (exports.PredictionContextCache = {}));
|
|
42962
43457
|
|
|
42963
|
-
},{"../Decorators":
|
|
43458
|
+
},{"../Decorators":191,"../misc/Array2DHashMap":294,"../misc/ObjectEqualityComparator":307,"./PredictionContext":271,"assert":334}],273:[function(require,module,exports){
|
|
42964
43459
|
"use strict";
|
|
42965
43460
|
/*!
|
|
42966
43461
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43121,7 +43616,7 @@ var PredictionMode;
|
|
|
43121
43616
|
PredictionMode.allConfigsInRuleStopStates = allConfigsInRuleStopStates;
|
|
43122
43617
|
})(PredictionMode = exports.PredictionMode || (exports.PredictionMode = {}));
|
|
43123
43618
|
|
|
43124
|
-
},{"../Decorators":
|
|
43619
|
+
},{"../Decorators":191,"../misc/Array2DHashMap":294,"../misc/MurmurHash":306,"./RuleStopState":277}],274:[function(require,module,exports){
|
|
43125
43620
|
(function (process){(function (){
|
|
43126
43621
|
"use strict";
|
|
43127
43622
|
/*!
|
|
@@ -43390,7 +43885,7 @@ __decorate([
|
|
|
43390
43885
|
exports.ProfilingATNSimulator = ProfilingATNSimulator;
|
|
43391
43886
|
|
|
43392
43887
|
}).call(this)}).call(this,require('_process'))
|
|
43393
|
-
},{"../Decorators":
|
|
43888
|
+
},{"../Decorators":191,"./ATN":224,"./ATNSimulator":229,"./AmbiguityInfo":234,"./ContextSensitivityInfo":241,"./DecisionInfo":243,"./ErrorInfo":246,"./LookaheadEventInfo":260,"./ParserATNSimulator":265,"./PredicateEvalInfo":269,"./SemanticContext":279,"./SimulatorState":281,"_process":382}],275:[function(require,module,exports){
|
|
43394
43889
|
"use strict";
|
|
43395
43890
|
/*!
|
|
43396
43891
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43448,7 +43943,7 @@ RangeTransition = __decorate([
|
|
|
43448
43943
|
], RangeTransition);
|
|
43449
43944
|
exports.RangeTransition = RangeTransition;
|
|
43450
43945
|
|
|
43451
|
-
},{"../Decorators":
|
|
43946
|
+
},{"../Decorators":191,"../misc/IntervalSet":304,"./Transition":286}],276:[function(require,module,exports){
|
|
43452
43947
|
"use strict";
|
|
43453
43948
|
/*!
|
|
43454
43949
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43481,7 +43976,7 @@ __decorate([
|
|
|
43481
43976
|
], RuleStartState.prototype, "stateType", null);
|
|
43482
43977
|
exports.RuleStartState = RuleStartState;
|
|
43483
43978
|
|
|
43484
|
-
},{"../Decorators":
|
|
43979
|
+
},{"../Decorators":191,"./ATNState":230,"./ATNStateType":231}],277:[function(require,module,exports){
|
|
43485
43980
|
"use strict";
|
|
43486
43981
|
/*!
|
|
43487
43982
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43520,7 +44015,7 @@ __decorate([
|
|
|
43520
44015
|
], RuleStopState.prototype, "stateType", null);
|
|
43521
44016
|
exports.RuleStopState = RuleStopState;
|
|
43522
44017
|
|
|
43523
|
-
},{"../Decorators":
|
|
44018
|
+
},{"../Decorators":191,"./ATNState":230,"./ATNStateType":231}],278:[function(require,module,exports){
|
|
43524
44019
|
"use strict";
|
|
43525
44020
|
/*!
|
|
43526
44021
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43576,7 +44071,7 @@ RuleTransition = __decorate([
|
|
|
43576
44071
|
], RuleTransition);
|
|
43577
44072
|
exports.RuleTransition = RuleTransition;
|
|
43578
44073
|
|
|
43579
|
-
},{"../Decorators":
|
|
44074
|
+
},{"../Decorators":191,"./Transition":286}],279:[function(require,module,exports){
|
|
43580
44075
|
"use strict";
|
|
43581
44076
|
/*!
|
|
43582
44077
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44056,7 +44551,7 @@ exports.SemanticContext = SemanticContext;
|
|
|
44056
44551
|
SemanticContext.OR = OR;
|
|
44057
44552
|
})(SemanticContext = exports.SemanticContext || (exports.SemanticContext = {}));
|
|
44058
44553
|
|
|
44059
|
-
},{"../Decorators":
|
|
44554
|
+
},{"../Decorators":191,"../misc/Array2DHashSet":295,"../misc/ArrayEqualityComparator":296,"../misc/MurmurHash":306,"../misc/ObjectEqualityComparator":307,"../misc/Utils":310}],280:[function(require,module,exports){
|
|
44060
44555
|
"use strict";
|
|
44061
44556
|
/*!
|
|
44062
44557
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44122,7 +44617,7 @@ SetTransition = __decorate([
|
|
|
44122
44617
|
], SetTransition);
|
|
44123
44618
|
exports.SetTransition = SetTransition;
|
|
44124
44619
|
|
|
44125
|
-
},{"../Decorators":
|
|
44620
|
+
},{"../Decorators":191,"../Token":216,"../misc/IntervalSet":304,"./Transition":286}],281:[function(require,module,exports){
|
|
44126
44621
|
"use strict";
|
|
44127
44622
|
/*!
|
|
44128
44623
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44158,7 +44653,7 @@ SimulatorState = __decorate([
|
|
|
44158
44653
|
], SimulatorState);
|
|
44159
44654
|
exports.SimulatorState = SimulatorState;
|
|
44160
44655
|
|
|
44161
|
-
},{"../Decorators":
|
|
44656
|
+
},{"../Decorators":191,"../ParserRuleContext":207}],282:[function(require,module,exports){
|
|
44162
44657
|
"use strict";
|
|
44163
44658
|
/*!
|
|
44164
44659
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44186,7 +44681,7 @@ __decorate([
|
|
|
44186
44681
|
], StarBlockStartState.prototype, "stateType", null);
|
|
44187
44682
|
exports.StarBlockStartState = StarBlockStartState;
|
|
44188
44683
|
|
|
44189
|
-
},{"../Decorators":
|
|
44684
|
+
},{"../Decorators":191,"./ATNStateType":231,"./BlockStartState":239}],283:[function(require,module,exports){
|
|
44190
44685
|
"use strict";
|
|
44191
44686
|
/*!
|
|
44192
44687
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44243,7 +44738,7 @@ __decorate([
|
|
|
44243
44738
|
], StarLoopEntryState.prototype, "stateType", null);
|
|
44244
44739
|
exports.StarLoopEntryState = StarLoopEntryState;
|
|
44245
44740
|
|
|
44246
|
-
},{"../Decorators":
|
|
44741
|
+
},{"../Decorators":191,"../misc/BitSet":298,"./ATNStateType":231,"./DecisionState":244}],284:[function(require,module,exports){
|
|
44247
44742
|
"use strict";
|
|
44248
44743
|
/*!
|
|
44249
44744
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44274,7 +44769,7 @@ __decorate([
|
|
|
44274
44769
|
], StarLoopbackState.prototype, "stateType", null);
|
|
44275
44770
|
exports.StarLoopbackState = StarLoopbackState;
|
|
44276
44771
|
|
|
44277
|
-
},{"../Decorators":
|
|
44772
|
+
},{"../Decorators":191,"./ATNState":230,"./ATNStateType":231}],285:[function(require,module,exports){
|
|
44278
44773
|
"use strict";
|
|
44279
44774
|
/*!
|
|
44280
44775
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44303,7 +44798,7 @@ __decorate([
|
|
|
44303
44798
|
], TokensStartState.prototype, "stateType", null);
|
|
44304
44799
|
exports.TokensStartState = TokensStartState;
|
|
44305
44800
|
|
|
44306
|
-
},{"../Decorators":
|
|
44801
|
+
},{"../Decorators":191,"./ATNStateType":231,"./DecisionState":244}],286:[function(require,module,exports){
|
|
44307
44802
|
"use strict";
|
|
44308
44803
|
/*!
|
|
44309
44804
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44377,7 +44872,7 @@ Transition = __decorate([
|
|
|
44377
44872
|
], Transition);
|
|
44378
44873
|
exports.Transition = Transition;
|
|
44379
44874
|
|
|
44380
|
-
},{"../Decorators":
|
|
44875
|
+
},{"../Decorators":191}],287:[function(require,module,exports){
|
|
44381
44876
|
"use strict";
|
|
44382
44877
|
/*!
|
|
44383
44878
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44425,7 +44920,7 @@ WildcardTransition = __decorate([
|
|
|
44425
44920
|
], WildcardTransition);
|
|
44426
44921
|
exports.WildcardTransition = WildcardTransition;
|
|
44427
44922
|
|
|
44428
|
-
},{"../Decorators":
|
|
44923
|
+
},{"../Decorators":191,"./Transition":286}],288:[function(require,module,exports){
|
|
44429
44924
|
"use strict";
|
|
44430
44925
|
/*!
|
|
44431
44926
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44467,7 +44962,7 @@ class AcceptStateInfo {
|
|
|
44467
44962
|
}
|
|
44468
44963
|
exports.AcceptStateInfo = AcceptStateInfo;
|
|
44469
44964
|
|
|
44470
|
-
},{}],
|
|
44965
|
+
},{}],289:[function(require,module,exports){
|
|
44471
44966
|
"use strict";
|
|
44472
44967
|
/*!
|
|
44473
44968
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44642,7 +45137,7 @@ DFA = __decorate([
|
|
|
44642
45137
|
], DFA);
|
|
44643
45138
|
exports.DFA = DFA;
|
|
44644
45139
|
|
|
44645
|
-
},{"../Decorators":
|
|
45140
|
+
},{"../Decorators":191,"../VocabularyImpl":222,"../atn/ATNConfigSet":226,"../atn/StarLoopEntryState":283,"../misc/Array2DHashSet":295,"../misc/ObjectEqualityComparator":307,"./DFASerializer":290,"./DFAState":291,"./LexerDFASerializer":292}],290:[function(require,module,exports){
|
|
44646
45141
|
"use strict";
|
|
44647
45142
|
/*!
|
|
44648
45143
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44784,7 +45279,7 @@ __decorate([
|
|
|
44784
45279
|
], DFASerializer.prototype, "toString", null);
|
|
44785
45280
|
exports.DFASerializer = DFASerializer;
|
|
44786
45281
|
|
|
44787
|
-
},{"../Decorators":
|
|
45282
|
+
},{"../Decorators":191,"../Recognizer":211,"../VocabularyImpl":222,"../atn/ATNSimulator":229,"../atn/PredictionContext":271}],291:[function(require,module,exports){
|
|
44788
45283
|
"use strict";
|
|
44789
45284
|
/*!
|
|
44790
45285
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45015,7 +45510,7 @@ exports.DFAState = DFAState;
|
|
|
45015
45510
|
DFAState.PredPrediction = PredPrediction;
|
|
45016
45511
|
})(DFAState = exports.DFAState || (exports.DFAState = {}));
|
|
45017
45512
|
|
|
45018
|
-
},{"../Decorators":
|
|
45513
|
+
},{"../Decorators":191,"../atn/ATN":224,"../atn/PredictionContext":271,"../misc/BitSet":298,"../misc/MurmurHash":306,"assert":334}],292:[function(require,module,exports){
|
|
45019
45514
|
"use strict";
|
|
45020
45515
|
/*!
|
|
45021
45516
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45052,7 +45547,7 @@ LexerDFASerializer = __decorate([
|
|
|
45052
45547
|
], LexerDFASerializer);
|
|
45053
45548
|
exports.LexerDFASerializer = LexerDFASerializer;
|
|
45054
45549
|
|
|
45055
|
-
},{"../Decorators":
|
|
45550
|
+
},{"../Decorators":191,"../VocabularyImpl":222,"./DFASerializer":290}],293:[function(require,module,exports){
|
|
45056
45551
|
"use strict";
|
|
45057
45552
|
/*!
|
|
45058
45553
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45118,7 +45613,7 @@ __exportStar(require("./Vocabulary"), exports);
|
|
|
45118
45613
|
__exportStar(require("./VocabularyImpl"), exports);
|
|
45119
45614
|
__exportStar(require("./WritableToken"), exports);
|
|
45120
45615
|
|
|
45121
|
-
},{"./ANTLRErrorListener":
|
|
45616
|
+
},{"./ANTLRErrorListener":178,"./ANTLRErrorStrategy":179,"./ANTLRInputStream":180,"./BailErrorStrategy":181,"./BufferedTokenStream":182,"./CharStream":183,"./CharStreams":184,"./CodePointBuffer":185,"./CodePointCharStream":186,"./CommonToken":187,"./CommonTokenFactory":188,"./CommonTokenStream":189,"./ConsoleErrorListener":190,"./DefaultErrorStrategy":192,"./Dependents":193,"./DiagnosticErrorListener":194,"./FailedPredicateException":195,"./InputMismatchException":196,"./IntStream":197,"./InterpreterRuleContext":198,"./Lexer":199,"./LexerInterpreter":200,"./LexerNoViableAltException":201,"./ListTokenSource":202,"./NoViableAltException":203,"./Parser":204,"./ParserErrorListener":205,"./ParserInterpreter":206,"./ParserRuleContext":207,"./ProxyErrorListener":208,"./ProxyParserErrorListener":209,"./RecognitionException":210,"./Recognizer":211,"./RuleContext":212,"./RuleContextWithAltNum":213,"./RuleDependency":214,"./RuleVersion":215,"./Token":216,"./TokenFactory":217,"./TokenSource":218,"./TokenStream":219,"./TokenStreamRewriter":220,"./Vocabulary":221,"./VocabularyImpl":222,"./WritableToken":223}],294:[function(require,module,exports){
|
|
45122
45617
|
"use strict";
|
|
45123
45618
|
/*!
|
|
45124
45619
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45201,7 +45696,7 @@ class Array2DHashMap {
|
|
|
45201
45696
|
}
|
|
45202
45697
|
exports.Array2DHashMap = Array2DHashMap;
|
|
45203
45698
|
|
|
45204
|
-
},{"./Array2DHashSet":
|
|
45699
|
+
},{"./Array2DHashSet":295}],295:[function(require,module,exports){
|
|
45205
45700
|
"use strict";
|
|
45206
45701
|
/*!
|
|
45207
45702
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45568,7 +46063,7 @@ __decorate([
|
|
|
45568
46063
|
], Array2DHashSet.prototype, "createBuckets", null);
|
|
45569
46064
|
exports.Array2DHashSet = Array2DHashSet;
|
|
45570
46065
|
|
|
45571
|
-
},{"../Decorators":
|
|
46066
|
+
},{"../Decorators":191,"./DefaultEqualityComparator":300,"./MurmurHash":306,"assert":334}],296:[function(require,module,exports){
|
|
45572
46067
|
"use strict";
|
|
45573
46068
|
/*!
|
|
45574
46069
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45640,7 +46135,7 @@ __decorate([
|
|
|
45640
46135
|
], ArrayEqualityComparator.prototype, "equals", null);
|
|
45641
46136
|
exports.ArrayEqualityComparator = ArrayEqualityComparator;
|
|
45642
46137
|
|
|
45643
|
-
},{"../Decorators":
|
|
46138
|
+
},{"../Decorators":191,"./MurmurHash":306,"./ObjectEqualityComparator":307}],297:[function(require,module,exports){
|
|
45644
46139
|
"use strict";
|
|
45645
46140
|
/*!
|
|
45646
46141
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45710,7 +46205,7 @@ var Arrays;
|
|
|
45710
46205
|
Arrays.toString = toString;
|
|
45711
46206
|
})(Arrays = exports.Arrays || (exports.Arrays = {}));
|
|
45712
46207
|
|
|
45713
|
-
},{}],
|
|
46208
|
+
},{}],298:[function(require,module,exports){
|
|
45714
46209
|
"use strict";
|
|
45715
46210
|
/*!
|
|
45716
46211
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46382,7 +46877,7 @@ class BitSetIterator {
|
|
|
46382
46877
|
[Symbol.iterator]() { return this; }
|
|
46383
46878
|
}
|
|
46384
46879
|
|
|
46385
|
-
},{"./MurmurHash":
|
|
46880
|
+
},{"./MurmurHash":306,"util":387}],299:[function(require,module,exports){
|
|
46386
46881
|
"use strict";
|
|
46387
46882
|
/*!
|
|
46388
46883
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46403,7 +46898,7 @@ function isSupplementaryCodePoint(ch) {
|
|
|
46403
46898
|
}
|
|
46404
46899
|
exports.isSupplementaryCodePoint = isSupplementaryCodePoint;
|
|
46405
46900
|
|
|
46406
|
-
},{}],
|
|
46901
|
+
},{}],300:[function(require,module,exports){
|
|
46407
46902
|
"use strict";
|
|
46408
46903
|
/*!
|
|
46409
46904
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46474,7 +46969,7 @@ __decorate([
|
|
|
46474
46969
|
], DefaultEqualityComparator.prototype, "equals", null);
|
|
46475
46970
|
exports.DefaultEqualityComparator = DefaultEqualityComparator;
|
|
46476
46971
|
|
|
46477
|
-
},{"../Decorators":
|
|
46972
|
+
},{"../Decorators":191,"./MurmurHash":306,"./ObjectEqualityComparator":307}],301:[function(require,module,exports){
|
|
46478
46973
|
"use strict";
|
|
46479
46974
|
/*!
|
|
46480
46975
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46768,7 +47263,7 @@ __decorate([
|
|
|
46768
47263
|
], IntegerList.prototype, "toString", null);
|
|
46769
47264
|
exports.IntegerList = IntegerList;
|
|
46770
47265
|
|
|
46771
|
-
},{"../Decorators":
|
|
47266
|
+
},{"../Decorators":191,"./Arrays":297}],302:[function(require,module,exports){
|
|
46772
47267
|
"use strict";
|
|
46773
47268
|
/*!
|
|
46774
47269
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46798,7 +47293,7 @@ class IntegerStack extends IntegerList_1.IntegerList {
|
|
|
46798
47293
|
}
|
|
46799
47294
|
exports.IntegerStack = IntegerStack;
|
|
46800
47295
|
|
|
46801
|
-
},{"./IntegerList":
|
|
47296
|
+
},{"./IntegerList":301}],303:[function(require,module,exports){
|
|
46802
47297
|
"use strict";
|
|
46803
47298
|
/*!
|
|
46804
47299
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46941,7 +47436,7 @@ __decorate([
|
|
|
46941
47436
|
], Interval.prototype, "toString", null);
|
|
46942
47437
|
exports.Interval = Interval;
|
|
46943
47438
|
|
|
46944
|
-
},{"../Decorators":
|
|
47439
|
+
},{"../Decorators":191}],304:[function(require,module,exports){
|
|
46945
47440
|
"use strict";
|
|
46946
47441
|
/*!
|
|
46947
47442
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47587,7 +48082,7 @@ __decorate([
|
|
|
47587
48082
|
], IntervalSet, "subtract", null);
|
|
47588
48083
|
exports.IntervalSet = IntervalSet;
|
|
47589
48084
|
|
|
47590
|
-
},{"../Decorators":
|
|
48085
|
+
},{"../Decorators":191,"../Lexer":199,"../Token":216,"./ArrayEqualityComparator":296,"./IntegerList":301,"./Interval":303,"./MurmurHash":306}],305:[function(require,module,exports){
|
|
47591
48086
|
"use strict";
|
|
47592
48087
|
/*!
|
|
47593
48088
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47620,7 +48115,7 @@ class MultiMap extends Map {
|
|
|
47620
48115
|
}
|
|
47621
48116
|
exports.MultiMap = MultiMap;
|
|
47622
48117
|
|
|
47623
|
-
},{}],
|
|
48118
|
+
},{}],306:[function(require,module,exports){
|
|
47624
48119
|
"use strict";
|
|
47625
48120
|
/*!
|
|
47626
48121
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47735,7 +48230,7 @@ var MurmurHash;
|
|
|
47735
48230
|
}
|
|
47736
48231
|
})(MurmurHash = exports.MurmurHash || (exports.MurmurHash = {}));
|
|
47737
48232
|
|
|
47738
|
-
},{}],
|
|
48233
|
+
},{}],307:[function(require,module,exports){
|
|
47739
48234
|
"use strict";
|
|
47740
48235
|
/*!
|
|
47741
48236
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47794,7 +48289,7 @@ __decorate([
|
|
|
47794
48289
|
], ObjectEqualityComparator.prototype, "equals", null);
|
|
47795
48290
|
exports.ObjectEqualityComparator = ObjectEqualityComparator;
|
|
47796
48291
|
|
|
47797
|
-
},{"../Decorators":
|
|
48292
|
+
},{"../Decorators":191}],308:[function(require,module,exports){
|
|
47798
48293
|
"use strict";
|
|
47799
48294
|
/*!
|
|
47800
48295
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47823,7 +48318,7 @@ class ParseCancellationException extends Error {
|
|
|
47823
48318
|
}
|
|
47824
48319
|
exports.ParseCancellationException = ParseCancellationException;
|
|
47825
48320
|
|
|
47826
|
-
},{}],
|
|
48321
|
+
},{}],309:[function(require,module,exports){
|
|
47827
48322
|
"use strict";
|
|
47828
48323
|
/*!
|
|
47829
48324
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47877,7 +48372,7 @@ class UUID {
|
|
|
47877
48372
|
}
|
|
47878
48373
|
exports.UUID = UUID;
|
|
47879
48374
|
|
|
47880
|
-
},{"./MurmurHash":
|
|
48375
|
+
},{"./MurmurHash":306}],310:[function(require,module,exports){
|
|
47881
48376
|
"use strict";
|
|
47882
48377
|
/*!
|
|
47883
48378
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48052,7 +48547,7 @@ exports.toCharArray = toCharArray;
|
|
|
48052
48547
|
// return s;
|
|
48053
48548
|
// }
|
|
48054
48549
|
|
|
48055
|
-
},{}],
|
|
48550
|
+
},{}],311:[function(require,module,exports){
|
|
48056
48551
|
"use strict";
|
|
48057
48552
|
/*!
|
|
48058
48553
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48088,7 +48583,7 @@ __decorate([
|
|
|
48088
48583
|
], ErrorNode.prototype, "accept", null);
|
|
48089
48584
|
exports.ErrorNode = ErrorNode;
|
|
48090
48585
|
|
|
48091
|
-
},{"../Decorators":
|
|
48586
|
+
},{"../Decorators":191,"./TerminalNode":314}],312:[function(require,module,exports){
|
|
48092
48587
|
"use strict";
|
|
48093
48588
|
/*!
|
|
48094
48589
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48193,7 +48688,7 @@ exports.ParseTreeWalker = ParseTreeWalker;
|
|
|
48193
48688
|
ParseTreeWalker.DEFAULT = new ParseTreeWalker();
|
|
48194
48689
|
})(ParseTreeWalker = exports.ParseTreeWalker || (exports.ParseTreeWalker = {}));
|
|
48195
48690
|
|
|
48196
|
-
},{"./ErrorNode":
|
|
48691
|
+
},{"./ErrorNode":311,"./RuleNode":313,"./TerminalNode":314}],313:[function(require,module,exports){
|
|
48197
48692
|
"use strict";
|
|
48198
48693
|
/*!
|
|
48199
48694
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48205,7 +48700,7 @@ class RuleNode {
|
|
|
48205
48700
|
}
|
|
48206
48701
|
exports.RuleNode = RuleNode;
|
|
48207
48702
|
|
|
48208
|
-
},{}],
|
|
48703
|
+
},{}],314:[function(require,module,exports){
|
|
48209
48704
|
"use strict";
|
|
48210
48705
|
/*!
|
|
48211
48706
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48297,7 +48792,7 @@ __decorate([
|
|
|
48297
48792
|
], TerminalNode.prototype, "toString", null);
|
|
48298
48793
|
exports.TerminalNode = TerminalNode;
|
|
48299
48794
|
|
|
48300
|
-
},{"../Decorators":
|
|
48795
|
+
},{"../Decorators":191,"../Token":216,"../misc/Interval":303}],315:[function(require,module,exports){
|
|
48301
48796
|
"use strict";
|
|
48302
48797
|
/*!
|
|
48303
48798
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48541,7 +49036,7 @@ __decorate([
|
|
|
48541
49036
|
], Trees, "getRootOfSubtreeEnclosingRegion", null);
|
|
48542
49037
|
exports.Trees = Trees;
|
|
48543
49038
|
|
|
48544
|
-
},{"../CommonToken":
|
|
49039
|
+
},{"../CommonToken":187,"../Decorators":191,"../Parser":204,"../ParserRuleContext":207,"../Token":216,"../atn/ATN":224,"../misc/Utils":310,"./ErrorNode":311,"./RuleNode":313,"./TerminalNode":314}],316:[function(require,module,exports){
|
|
48545
49040
|
"use strict";
|
|
48546
49041
|
/*!
|
|
48547
49042
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48565,7 +49060,7 @@ class Chunk {
|
|
|
48565
49060
|
}
|
|
48566
49061
|
exports.Chunk = Chunk;
|
|
48567
49062
|
|
|
48568
|
-
},{}],
|
|
49063
|
+
},{}],317:[function(require,module,exports){
|
|
48569
49064
|
"use strict";
|
|
48570
49065
|
/*!
|
|
48571
49066
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48745,7 +49240,7 @@ ParseTreeMatch = __decorate([
|
|
|
48745
49240
|
], ParseTreeMatch);
|
|
48746
49241
|
exports.ParseTreeMatch = ParseTreeMatch;
|
|
48747
49242
|
|
|
48748
|
-
},{"../../Decorators":
|
|
49243
|
+
},{"../../Decorators":191}],318:[function(require,module,exports){
|
|
48749
49244
|
"use strict";
|
|
48750
49245
|
/*!
|
|
48751
49246
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48903,7 +49398,7 @@ ParseTreePattern = __decorate([
|
|
|
48903
49398
|
], ParseTreePattern);
|
|
48904
49399
|
exports.ParseTreePattern = ParseTreePattern;
|
|
48905
49400
|
|
|
48906
|
-
},{"../../Decorators":
|
|
49401
|
+
},{"../../Decorators":191,"../xpath/XPath":324}],319:[function(require,module,exports){
|
|
48907
49402
|
"use strict";
|
|
48908
49403
|
/*!
|
|
48909
49404
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49381,7 +49876,7 @@ exports.ParseTreePatternMatcher = ParseTreePatternMatcher;
|
|
|
49381
49876
|
ParseTreePatternMatcher.StartRuleDoesNotConsumeFullPattern = StartRuleDoesNotConsumeFullPattern;
|
|
49382
49877
|
})(ParseTreePatternMatcher = exports.ParseTreePatternMatcher || (exports.ParseTreePatternMatcher = {}));
|
|
49383
49878
|
|
|
49384
|
-
},{"../../BailErrorStrategy":
|
|
49879
|
+
},{"../../BailErrorStrategy":181,"../../CharStreams":184,"../../CommonTokenStream":189,"../../Decorators":191,"../../ListTokenSource":202,"../../ParserInterpreter":206,"../../ParserRuleContext":207,"../../RecognitionException":210,"../../Token":216,"../../misc/MultiMap":305,"../../misc/ParseCancellationException":308,"../RuleNode":313,"../TerminalNode":314,"./ParseTreeMatch":317,"./ParseTreePattern":318,"./RuleTagToken":320,"./TagChunk":321,"./TextChunk":322,"./TokenTagToken":323}],320:[function(require,module,exports){
|
|
49385
49880
|
"use strict";
|
|
49386
49881
|
/*!
|
|
49387
49882
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49579,7 +50074,7 @@ RuleTagToken = __decorate([
|
|
|
49579
50074
|
], RuleTagToken);
|
|
49580
50075
|
exports.RuleTagToken = RuleTagToken;
|
|
49581
50076
|
|
|
49582
|
-
},{"../../Decorators":
|
|
50077
|
+
},{"../../Decorators":191,"../../Token":216}],321:[function(require,module,exports){
|
|
49583
50078
|
"use strict";
|
|
49584
50079
|
/*!
|
|
49585
50080
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49666,7 +50161,7 @@ __decorate([
|
|
|
49666
50161
|
], TagChunk.prototype, "toString", null);
|
|
49667
50162
|
exports.TagChunk = TagChunk;
|
|
49668
50163
|
|
|
49669
|
-
},{"../../Decorators":
|
|
50164
|
+
},{"../../Decorators":191,"./Chunk":316}],322:[function(require,module,exports){
|
|
49670
50165
|
"use strict";
|
|
49671
50166
|
/*!
|
|
49672
50167
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49736,7 +50231,7 @@ TextChunk = __decorate([
|
|
|
49736
50231
|
], TextChunk);
|
|
49737
50232
|
exports.TextChunk = TextChunk;
|
|
49738
50233
|
|
|
49739
|
-
},{"../../Decorators":
|
|
50234
|
+
},{"../../Decorators":191,"./Chunk":316}],323:[function(require,module,exports){
|
|
49740
50235
|
"use strict";
|
|
49741
50236
|
/*!
|
|
49742
50237
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49831,7 +50326,7 @@ TokenTagToken = __decorate([
|
|
|
49831
50326
|
], TokenTagToken);
|
|
49832
50327
|
exports.TokenTagToken = TokenTagToken;
|
|
49833
50328
|
|
|
49834
|
-
},{"../../CommonToken":
|
|
50329
|
+
},{"../../CommonToken":187,"../../Decorators":191}],324:[function(require,module,exports){
|
|
49835
50330
|
"use strict";
|
|
49836
50331
|
/*!
|
|
49837
50332
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50028,7 +50523,7 @@ exports.XPath = XPath;
|
|
|
50028
50523
|
XPath.WILDCARD = "*"; // word not operator/separator
|
|
50029
50524
|
XPath.NOT = "!"; // word for invert operator
|
|
50030
50525
|
|
|
50031
|
-
},{"../../CharStreams":
|
|
50526
|
+
},{"../../CharStreams":184,"../../CommonTokenStream":189,"../../LexerNoViableAltException":201,"../../ParserRuleContext":207,"../../Token":216,"./XPathLexer":326,"./XPathLexerErrorListener":327,"./XPathRuleAnywhereElement":328,"./XPathRuleElement":329,"./XPathTokenAnywhereElement":330,"./XPathTokenElement":331,"./XPathWildcardAnywhereElement":332,"./XPathWildcardElement":333}],325:[function(require,module,exports){
|
|
50032
50527
|
"use strict";
|
|
50033
50528
|
/*!
|
|
50034
50529
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50063,7 +50558,7 @@ __decorate([
|
|
|
50063
50558
|
], XPathElement.prototype, "toString", null);
|
|
50064
50559
|
exports.XPathElement = XPathElement;
|
|
50065
50560
|
|
|
50066
|
-
},{"../../Decorators":
|
|
50561
|
+
},{"../../Decorators":191}],326:[function(require,module,exports){
|
|
50067
50562
|
"use strict";
|
|
50068
50563
|
// Generated from XPathLexer.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
50069
50564
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -50538,7 +51033,7 @@ XPathLexer._serializedATN = Utils.join([
|
|
|
50538
51033
|
XPathLexer._serializedATNSegment1,
|
|
50539
51034
|
], "");
|
|
50540
51035
|
|
|
50541
|
-
},{"../../Lexer":
|
|
51036
|
+
},{"../../Lexer":199,"../../VocabularyImpl":222,"../../atn/ATNDeserializer":228,"../../atn/LexerATNSimulator":249,"../../misc/Utils":310}],327:[function(require,module,exports){
|
|
50542
51037
|
"use strict";
|
|
50543
51038
|
/*!
|
|
50544
51039
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50563,7 +51058,7 @@ __decorate([
|
|
|
50563
51058
|
], XPathLexerErrorListener.prototype, "syntaxError", null);
|
|
50564
51059
|
exports.XPathLexerErrorListener = XPathLexerErrorListener;
|
|
50565
51060
|
|
|
50566
|
-
},{"../../Decorators":
|
|
51061
|
+
},{"../../Decorators":191}],328:[function(require,module,exports){
|
|
50567
51062
|
"use strict";
|
|
50568
51063
|
/*!
|
|
50569
51064
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50597,7 +51092,7 @@ __decorate([
|
|
|
50597
51092
|
], XPathRuleAnywhereElement.prototype, "evaluate", null);
|
|
50598
51093
|
exports.XPathRuleAnywhereElement = XPathRuleAnywhereElement;
|
|
50599
51094
|
|
|
50600
|
-
},{"../../Decorators":
|
|
51095
|
+
},{"../../Decorators":191,"../Trees":315,"./XPathElement":325}],329:[function(require,module,exports){
|
|
50601
51096
|
"use strict";
|
|
50602
51097
|
/*!
|
|
50603
51098
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50640,7 +51135,7 @@ __decorate([
|
|
|
50640
51135
|
], XPathRuleElement.prototype, "evaluate", null);
|
|
50641
51136
|
exports.XPathRuleElement = XPathRuleElement;
|
|
50642
51137
|
|
|
50643
|
-
},{"../../Decorators":
|
|
51138
|
+
},{"../../Decorators":191,"../../ParserRuleContext":207,"../Trees":315,"./XPathElement":325}],330:[function(require,module,exports){
|
|
50644
51139
|
"use strict";
|
|
50645
51140
|
/*!
|
|
50646
51141
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50672,7 +51167,7 @@ __decorate([
|
|
|
50672
51167
|
], XPathTokenAnywhereElement.prototype, "evaluate", null);
|
|
50673
51168
|
exports.XPathTokenAnywhereElement = XPathTokenAnywhereElement;
|
|
50674
51169
|
|
|
50675
|
-
},{"../../Decorators":
|
|
51170
|
+
},{"../../Decorators":191,"../Trees":315,"./XPathElement":325}],331:[function(require,module,exports){
|
|
50676
51171
|
"use strict";
|
|
50677
51172
|
/*!
|
|
50678
51173
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50715,7 +51210,7 @@ __decorate([
|
|
|
50715
51210
|
], XPathTokenElement.prototype, "evaluate", null);
|
|
50716
51211
|
exports.XPathTokenElement = XPathTokenElement;
|
|
50717
51212
|
|
|
50718
|
-
},{"../../Decorators":
|
|
51213
|
+
},{"../../Decorators":191,"../TerminalNode":314,"../Trees":315,"./XPathElement":325}],332:[function(require,module,exports){
|
|
50719
51214
|
"use strict";
|
|
50720
51215
|
/*!
|
|
50721
51216
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50751,7 +51246,7 @@ __decorate([
|
|
|
50751
51246
|
], XPathWildcardAnywhereElement.prototype, "evaluate", null);
|
|
50752
51247
|
exports.XPathWildcardAnywhereElement = XPathWildcardAnywhereElement;
|
|
50753
51248
|
|
|
50754
|
-
},{"../../Decorators":
|
|
51249
|
+
},{"../../Decorators":191,"../Trees":315,"./XPath":324,"./XPathElement":325}],333:[function(require,module,exports){
|
|
50755
51250
|
"use strict";
|
|
50756
51251
|
/*!
|
|
50757
51252
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50791,7 +51286,7 @@ __decorate([
|
|
|
50791
51286
|
], XPathWildcardElement.prototype, "evaluate", null);
|
|
50792
51287
|
exports.XPathWildcardElement = XPathWildcardElement;
|
|
50793
51288
|
|
|
50794
|
-
},{"../../Decorators":
|
|
51289
|
+
},{"../../Decorators":191,"../Trees":315,"./XPath":324,"./XPathElement":325}],334:[function(require,module,exports){
|
|
50795
51290
|
(function (global){(function (){
|
|
50796
51291
|
'use strict';
|
|
50797
51292
|
|
|
@@ -51301,7 +51796,7 @@ var objectKeys = Object.keys || function (obj) {
|
|
|
51301
51796
|
};
|
|
51302
51797
|
|
|
51303
51798
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51304
|
-
},{"object.assign/polyfill":
|
|
51799
|
+
},{"object.assign/polyfill":380,"util/":337}],335:[function(require,module,exports){
|
|
51305
51800
|
if (typeof Object.create === 'function') {
|
|
51306
51801
|
// implementation from standard node.js 'util' module
|
|
51307
51802
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -51326,14 +51821,14 @@ if (typeof Object.create === 'function') {
|
|
|
51326
51821
|
}
|
|
51327
51822
|
}
|
|
51328
51823
|
|
|
51329
|
-
},{}],
|
|
51824
|
+
},{}],336:[function(require,module,exports){
|
|
51330
51825
|
module.exports = function isBuffer(arg) {
|
|
51331
51826
|
return arg && typeof arg === 'object'
|
|
51332
51827
|
&& typeof arg.copy === 'function'
|
|
51333
51828
|
&& typeof arg.fill === 'function'
|
|
51334
51829
|
&& typeof arg.readUInt8 === 'function';
|
|
51335
51830
|
}
|
|
51336
|
-
},{}],
|
|
51831
|
+
},{}],337:[function(require,module,exports){
|
|
51337
51832
|
(function (process,global){(function (){
|
|
51338
51833
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
51339
51834
|
//
|
|
@@ -51923,7 +52418,7 @@ function hasOwnProperty(obj, prop) {
|
|
|
51923
52418
|
}
|
|
51924
52419
|
|
|
51925
52420
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51926
|
-
},{"./support/isBuffer":
|
|
52421
|
+
},{"./support/isBuffer":336,"_process":382,"inherits":335}],338:[function(require,module,exports){
|
|
51927
52422
|
(function (global){(function (){
|
|
51928
52423
|
'use strict';
|
|
51929
52424
|
|
|
@@ -51944,7 +52439,7 @@ module.exports = function availableTypedArrays() {
|
|
|
51944
52439
|
};
|
|
51945
52440
|
|
|
51946
52441
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51947
|
-
},{"possible-typed-array-names":
|
|
52442
|
+
},{"possible-typed-array-names":381}],339:[function(require,module,exports){
|
|
51948
52443
|
(function (process,global){(function (){
|
|
51949
52444
|
module.exports = process.hrtime || hrtime
|
|
51950
52445
|
|
|
@@ -51975,7 +52470,7 @@ function hrtime(previousTimestamp){
|
|
|
51975
52470
|
return [seconds,nanoseconds]
|
|
51976
52471
|
}
|
|
51977
52472
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51978
|
-
},{"_process":
|
|
52473
|
+
},{"_process":382}],340:[function(require,module,exports){
|
|
51979
52474
|
'use strict';
|
|
51980
52475
|
|
|
51981
52476
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -51992,7 +52487,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
51992
52487
|
return intrinsic;
|
|
51993
52488
|
};
|
|
51994
52489
|
|
|
51995
|
-
},{"./":
|
|
52490
|
+
},{"./":341,"get-intrinsic":344}],341:[function(require,module,exports){
|
|
51996
52491
|
'use strict';
|
|
51997
52492
|
|
|
51998
52493
|
var bind = require('function-bind');
|
|
@@ -52041,7 +52536,7 @@ if ($defineProperty) {
|
|
|
52041
52536
|
module.exports.apply = applyBind;
|
|
52042
52537
|
}
|
|
52043
52538
|
|
|
52044
|
-
},{"function-bind":
|
|
52539
|
+
},{"function-bind":343,"get-intrinsic":344}],342:[function(require,module,exports){
|
|
52045
52540
|
'use strict';
|
|
52046
52541
|
|
|
52047
52542
|
/* eslint no-invalid-this: 1 */
|
|
@@ -52095,14 +52590,14 @@ module.exports = function bind(that) {
|
|
|
52095
52590
|
return bound;
|
|
52096
52591
|
};
|
|
52097
52592
|
|
|
52098
|
-
},{}],
|
|
52593
|
+
},{}],343:[function(require,module,exports){
|
|
52099
52594
|
'use strict';
|
|
52100
52595
|
|
|
52101
52596
|
var implementation = require('./implementation');
|
|
52102
52597
|
|
|
52103
52598
|
module.exports = Function.prototype.bind || implementation;
|
|
52104
52599
|
|
|
52105
|
-
},{"./implementation":
|
|
52600
|
+
},{"./implementation":342}],344:[function(require,module,exports){
|
|
52106
52601
|
'use strict';
|
|
52107
52602
|
|
|
52108
52603
|
var undefined;
|
|
@@ -52448,7 +52943,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
52448
52943
|
return value;
|
|
52449
52944
|
};
|
|
52450
52945
|
|
|
52451
|
-
},{"function-bind":
|
|
52946
|
+
},{"function-bind":343,"has":368,"has-symbols":363}],345:[function(require,module,exports){
|
|
52452
52947
|
'use strict';
|
|
52453
52948
|
|
|
52454
52949
|
var $defineProperty = require('es-define-property');
|
|
@@ -52506,7 +53001,7 @@ module.exports = function defineDataProperty(
|
|
|
52506
53001
|
}
|
|
52507
53002
|
};
|
|
52508
53003
|
|
|
52509
|
-
},{"es-define-property":
|
|
53004
|
+
},{"es-define-property":346,"es-errors/syntax":351,"es-errors/type":352,"gopd":358}],346:[function(require,module,exports){
|
|
52510
53005
|
'use strict';
|
|
52511
53006
|
|
|
52512
53007
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -52524,49 +53019,49 @@ if ($defineProperty) {
|
|
|
52524
53019
|
|
|
52525
53020
|
module.exports = $defineProperty;
|
|
52526
53021
|
|
|
52527
|
-
},{"get-intrinsic":
|
|
53022
|
+
},{"get-intrinsic":357}],347:[function(require,module,exports){
|
|
52528
53023
|
'use strict';
|
|
52529
53024
|
|
|
52530
53025
|
/** @type {import('./eval')} */
|
|
52531
53026
|
module.exports = EvalError;
|
|
52532
53027
|
|
|
52533
|
-
},{}],
|
|
53028
|
+
},{}],348:[function(require,module,exports){
|
|
52534
53029
|
'use strict';
|
|
52535
53030
|
|
|
52536
53031
|
/** @type {import('.')} */
|
|
52537
53032
|
module.exports = Error;
|
|
52538
53033
|
|
|
52539
|
-
},{}],
|
|
53034
|
+
},{}],349:[function(require,module,exports){
|
|
52540
53035
|
'use strict';
|
|
52541
53036
|
|
|
52542
53037
|
/** @type {import('./range')} */
|
|
52543
53038
|
module.exports = RangeError;
|
|
52544
53039
|
|
|
52545
|
-
},{}],
|
|
53040
|
+
},{}],350:[function(require,module,exports){
|
|
52546
53041
|
'use strict';
|
|
52547
53042
|
|
|
52548
53043
|
/** @type {import('./ref')} */
|
|
52549
53044
|
module.exports = ReferenceError;
|
|
52550
53045
|
|
|
52551
|
-
},{}],
|
|
53046
|
+
},{}],351:[function(require,module,exports){
|
|
52552
53047
|
'use strict';
|
|
52553
53048
|
|
|
52554
53049
|
/** @type {import('./syntax')} */
|
|
52555
53050
|
module.exports = SyntaxError;
|
|
52556
53051
|
|
|
52557
|
-
},{}],
|
|
53052
|
+
},{}],352:[function(require,module,exports){
|
|
52558
53053
|
'use strict';
|
|
52559
53054
|
|
|
52560
53055
|
/** @type {import('./type')} */
|
|
52561
53056
|
module.exports = TypeError;
|
|
52562
53057
|
|
|
52563
|
-
},{}],
|
|
53058
|
+
},{}],353:[function(require,module,exports){
|
|
52564
53059
|
'use strict';
|
|
52565
53060
|
|
|
52566
53061
|
/** @type {import('./uri')} */
|
|
52567
53062
|
module.exports = URIError;
|
|
52568
53063
|
|
|
52569
|
-
},{}],
|
|
53064
|
+
},{}],354:[function(require,module,exports){
|
|
52570
53065
|
'use strict';
|
|
52571
53066
|
|
|
52572
53067
|
var isCallable = require('is-callable');
|
|
@@ -52630,7 +53125,7 @@ var forEach = function forEach(list, iterator, thisArg) {
|
|
|
52630
53125
|
|
|
52631
53126
|
module.exports = forEach;
|
|
52632
53127
|
|
|
52633
|
-
},{"is-callable":
|
|
53128
|
+
},{"is-callable":372}],355:[function(require,module,exports){
|
|
52634
53129
|
'use strict';
|
|
52635
53130
|
|
|
52636
53131
|
/* eslint no-invalid-this: 1 */
|
|
@@ -52716,9 +53211,9 @@ module.exports = function bind(that) {
|
|
|
52716
53211
|
return bound;
|
|
52717
53212
|
};
|
|
52718
53213
|
|
|
52719
|
-
},{}],
|
|
52720
|
-
arguments[4][
|
|
52721
|
-
},{"./implementation":
|
|
53214
|
+
},{}],356:[function(require,module,exports){
|
|
53215
|
+
arguments[4][343][0].apply(exports,arguments)
|
|
53216
|
+
},{"./implementation":355,"dup":343}],357:[function(require,module,exports){
|
|
52722
53217
|
'use strict';
|
|
52723
53218
|
|
|
52724
53219
|
var undefined;
|
|
@@ -53079,7 +53574,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
53079
53574
|
return value;
|
|
53080
53575
|
};
|
|
53081
53576
|
|
|
53082
|
-
},{"es-errors":
|
|
53577
|
+
},{"es-errors":348,"es-errors/eval":347,"es-errors/range":349,"es-errors/ref":350,"es-errors/syntax":351,"es-errors/type":352,"es-errors/uri":353,"function-bind":356,"has-proto":362,"has-symbols":363,"hasown":369}],358:[function(require,module,exports){
|
|
53083
53578
|
'use strict';
|
|
53084
53579
|
|
|
53085
53580
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -53097,13 +53592,13 @@ if ($gOPD) {
|
|
|
53097
53592
|
|
|
53098
53593
|
module.exports = $gOPD;
|
|
53099
53594
|
|
|
53100
|
-
},{"get-intrinsic":
|
|
53101
|
-
arguments[4][
|
|
53102
|
-
},{"dup":
|
|
53103
|
-
arguments[4][
|
|
53104
|
-
},{"./implementation":
|
|
53105
|
-
arguments[4][
|
|
53106
|
-
},{"dup":
|
|
53595
|
+
},{"get-intrinsic":361}],359:[function(require,module,exports){
|
|
53596
|
+
arguments[4][342][0].apply(exports,arguments)
|
|
53597
|
+
},{"dup":342}],360:[function(require,module,exports){
|
|
53598
|
+
arguments[4][343][0].apply(exports,arguments)
|
|
53599
|
+
},{"./implementation":359,"dup":343}],361:[function(require,module,exports){
|
|
53600
|
+
arguments[4][344][0].apply(exports,arguments)
|
|
53601
|
+
},{"dup":344,"function-bind":360,"has":368,"has-symbols":363}],362:[function(require,module,exports){
|
|
53107
53602
|
'use strict';
|
|
53108
53603
|
|
|
53109
53604
|
var test = {
|
|
@@ -53116,7 +53611,7 @@ module.exports = function hasProto() {
|
|
|
53116
53611
|
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
53117
53612
|
};
|
|
53118
53613
|
|
|
53119
|
-
},{}],
|
|
53614
|
+
},{}],363:[function(require,module,exports){
|
|
53120
53615
|
'use strict';
|
|
53121
53616
|
|
|
53122
53617
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -53131,7 +53626,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
53131
53626
|
return hasSymbolSham();
|
|
53132
53627
|
};
|
|
53133
53628
|
|
|
53134
|
-
},{"./shams":
|
|
53629
|
+
},{"./shams":364}],364:[function(require,module,exports){
|
|
53135
53630
|
'use strict';
|
|
53136
53631
|
|
|
53137
53632
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
@@ -53175,7 +53670,7 @@ module.exports = function hasSymbols() {
|
|
|
53175
53670
|
return true;
|
|
53176
53671
|
};
|
|
53177
53672
|
|
|
53178
|
-
},{}],
|
|
53673
|
+
},{}],365:[function(require,module,exports){
|
|
53179
53674
|
'use strict';
|
|
53180
53675
|
|
|
53181
53676
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -53184,18 +53679,18 @@ module.exports = function hasToStringTagShams() {
|
|
|
53184
53679
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
53185
53680
|
};
|
|
53186
53681
|
|
|
53187
|
-
},{"has-symbols/shams":
|
|
53188
|
-
arguments[4][
|
|
53189
|
-
},{"dup":
|
|
53190
|
-
arguments[4][
|
|
53191
|
-
},{"./implementation":
|
|
53682
|
+
},{"has-symbols/shams":364}],366:[function(require,module,exports){
|
|
53683
|
+
arguments[4][342][0].apply(exports,arguments)
|
|
53684
|
+
},{"dup":342}],367:[function(require,module,exports){
|
|
53685
|
+
arguments[4][343][0].apply(exports,arguments)
|
|
53686
|
+
},{"./implementation":366,"dup":343}],368:[function(require,module,exports){
|
|
53192
53687
|
'use strict';
|
|
53193
53688
|
|
|
53194
53689
|
var bind = require('function-bind');
|
|
53195
53690
|
|
|
53196
53691
|
module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
53197
53692
|
|
|
53198
|
-
},{"function-bind":
|
|
53693
|
+
},{"function-bind":367}],369:[function(require,module,exports){
|
|
53199
53694
|
'use strict';
|
|
53200
53695
|
|
|
53201
53696
|
var call = Function.prototype.call;
|
|
@@ -53205,7 +53700,7 @@ var bind = require('function-bind');
|
|
|
53205
53700
|
/** @type {import('.')} */
|
|
53206
53701
|
module.exports = bind.call(call, $hasOwn);
|
|
53207
53702
|
|
|
53208
|
-
},{"function-bind":
|
|
53703
|
+
},{"function-bind":356}],370:[function(require,module,exports){
|
|
53209
53704
|
if (typeof Object.create === 'function') {
|
|
53210
53705
|
// implementation from standard node.js 'util' module
|
|
53211
53706
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -53234,7 +53729,7 @@ if (typeof Object.create === 'function') {
|
|
|
53234
53729
|
}
|
|
53235
53730
|
}
|
|
53236
53731
|
|
|
53237
|
-
},{}],
|
|
53732
|
+
},{}],371:[function(require,module,exports){
|
|
53238
53733
|
'use strict';
|
|
53239
53734
|
|
|
53240
53735
|
var hasToStringTag = require('has-tostringtag/shams')();
|
|
@@ -53269,7 +53764,7 @@ isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests
|
|
|
53269
53764
|
|
|
53270
53765
|
module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
53271
53766
|
|
|
53272
|
-
},{"call-bind/callBound":
|
|
53767
|
+
},{"call-bind/callBound":340,"has-tostringtag/shams":365}],372:[function(require,module,exports){
|
|
53273
53768
|
'use strict';
|
|
53274
53769
|
|
|
53275
53770
|
var fnToStr = Function.prototype.toString;
|
|
@@ -53372,7 +53867,7 @@ module.exports = reflectApply
|
|
|
53372
53867
|
return tryFunctionObject(value);
|
|
53373
53868
|
};
|
|
53374
53869
|
|
|
53375
|
-
},{}],
|
|
53870
|
+
},{}],373:[function(require,module,exports){
|
|
53376
53871
|
'use strict';
|
|
53377
53872
|
|
|
53378
53873
|
var toStr = Object.prototype.toString;
|
|
@@ -53412,7 +53907,7 @@ module.exports = function isGeneratorFunction(fn) {
|
|
|
53412
53907
|
return getProto(fn) === GeneratorFunction;
|
|
53413
53908
|
};
|
|
53414
53909
|
|
|
53415
|
-
},{"has-tostringtag/shams":
|
|
53910
|
+
},{"has-tostringtag/shams":365}],374:[function(require,module,exports){
|
|
53416
53911
|
'use strict';
|
|
53417
53912
|
|
|
53418
53913
|
var whichTypedArray = require('which-typed-array');
|
|
@@ -53422,7 +53917,7 @@ module.exports = function isTypedArray(value) {
|
|
|
53422
53917
|
return !!whichTypedArray(value);
|
|
53423
53918
|
};
|
|
53424
53919
|
|
|
53425
|
-
},{"which-typed-array":
|
|
53920
|
+
},{"which-typed-array":388}],375:[function(require,module,exports){
|
|
53426
53921
|
(function (global){(function (){
|
|
53427
53922
|
/**
|
|
53428
53923
|
* @license
|
|
@@ -70635,7 +71130,7 @@ module.exports = function isTypedArray(value) {
|
|
|
70635
71130
|
}.call(this));
|
|
70636
71131
|
|
|
70637
71132
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
70638
|
-
},{}],
|
|
71133
|
+
},{}],376:[function(require,module,exports){
|
|
70639
71134
|
'use strict';
|
|
70640
71135
|
|
|
70641
71136
|
var keysShim;
|
|
@@ -70759,7 +71254,7 @@ if (!Object.keys) {
|
|
|
70759
71254
|
}
|
|
70760
71255
|
module.exports = keysShim;
|
|
70761
71256
|
|
|
70762
|
-
},{"./isArguments":
|
|
71257
|
+
},{"./isArguments":378}],377:[function(require,module,exports){
|
|
70763
71258
|
'use strict';
|
|
70764
71259
|
|
|
70765
71260
|
var slice = Array.prototype.slice;
|
|
@@ -70793,7 +71288,7 @@ keysShim.shim = function shimObjectKeys() {
|
|
|
70793
71288
|
|
|
70794
71289
|
module.exports = keysShim;
|
|
70795
71290
|
|
|
70796
|
-
},{"./implementation":
|
|
71291
|
+
},{"./implementation":376,"./isArguments":378}],378:[function(require,module,exports){
|
|
70797
71292
|
'use strict';
|
|
70798
71293
|
|
|
70799
71294
|
var toStr = Object.prototype.toString;
|
|
@@ -70812,7 +71307,7 @@ module.exports = function isArguments(value) {
|
|
|
70812
71307
|
return isArgs;
|
|
70813
71308
|
};
|
|
70814
71309
|
|
|
70815
|
-
},{}],
|
|
71310
|
+
},{}],379:[function(require,module,exports){
|
|
70816
71311
|
'use strict';
|
|
70817
71312
|
|
|
70818
71313
|
// modified from https://github.com/es-shims/es6-shim
|
|
@@ -70860,7 +71355,7 @@ module.exports = function assign(target, source1) {
|
|
|
70860
71355
|
return to; // step 4
|
|
70861
71356
|
};
|
|
70862
71357
|
|
|
70863
|
-
},{"call-bind/callBound":
|
|
71358
|
+
},{"call-bind/callBound":340,"has-symbols/shams":364,"object-keys":377}],380:[function(require,module,exports){
|
|
70864
71359
|
'use strict';
|
|
70865
71360
|
|
|
70866
71361
|
var implementation = require('./implementation');
|
|
@@ -70917,7 +71412,7 @@ module.exports = function getPolyfill() {
|
|
|
70917
71412
|
return Object.assign;
|
|
70918
71413
|
};
|
|
70919
71414
|
|
|
70920
|
-
},{"./implementation":
|
|
71415
|
+
},{"./implementation":379}],381:[function(require,module,exports){
|
|
70921
71416
|
'use strict';
|
|
70922
71417
|
|
|
70923
71418
|
/** @type {import('.')} */
|
|
@@ -70935,7 +71430,7 @@ module.exports = [
|
|
|
70935
71430
|
'BigUint64Array'
|
|
70936
71431
|
];
|
|
70937
71432
|
|
|
70938
|
-
},{}],
|
|
71433
|
+
},{}],382:[function(require,module,exports){
|
|
70939
71434
|
// shim for using process in browser
|
|
70940
71435
|
var process = module.exports = {};
|
|
70941
71436
|
|
|
@@ -71121,7 +71616,7 @@ process.chdir = function (dir) {
|
|
|
71121
71616
|
};
|
|
71122
71617
|
process.umask = function() { return 0; };
|
|
71123
71618
|
|
|
71124
|
-
},{}],
|
|
71619
|
+
},{}],383:[function(require,module,exports){
|
|
71125
71620
|
'use strict';
|
|
71126
71621
|
|
|
71127
71622
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -71165,7 +71660,7 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
71165
71660
|
return fn;
|
|
71166
71661
|
};
|
|
71167
71662
|
|
|
71168
|
-
},{"define-data-property":
|
|
71663
|
+
},{"define-data-property":345,"es-errors/type":352,"get-intrinsic":357,"gopd":358,"has-property-descriptors":384}],384:[function(require,module,exports){
|
|
71169
71664
|
'use strict';
|
|
71170
71665
|
|
|
71171
71666
|
var $defineProperty = require('es-define-property');
|
|
@@ -71189,9 +71684,9 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
71189
71684
|
|
|
71190
71685
|
module.exports = hasPropertyDescriptors;
|
|
71191
71686
|
|
|
71192
|
-
},{"es-define-property":
|
|
71193
|
-
arguments[4][
|
|
71194
|
-
},{"dup":
|
|
71687
|
+
},{"es-define-property":346}],385:[function(require,module,exports){
|
|
71688
|
+
arguments[4][336][0].apply(exports,arguments)
|
|
71689
|
+
},{"dup":336}],386:[function(require,module,exports){
|
|
71195
71690
|
// Currently in sync with Node.js lib/internal/util/types.js
|
|
71196
71691
|
// https://github.com/nodejs/node/commit/112cc7c27551254aa2b17098fb774867f05ed0d9
|
|
71197
71692
|
|
|
@@ -71527,7 +72022,7 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
|
71527
72022
|
});
|
|
71528
72023
|
});
|
|
71529
72024
|
|
|
71530
|
-
},{"is-arguments":
|
|
72025
|
+
},{"is-arguments":371,"is-generator-function":373,"is-typed-array":374,"which-typed-array":388}],387:[function(require,module,exports){
|
|
71531
72026
|
(function (process){(function (){
|
|
71532
72027
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
71533
72028
|
//
|
|
@@ -72246,7 +72741,7 @@ function callbackify(original) {
|
|
|
72246
72741
|
exports.callbackify = callbackify;
|
|
72247
72742
|
|
|
72248
72743
|
}).call(this)}).call(this,require('_process'))
|
|
72249
|
-
},{"./support/isBuffer":
|
|
72744
|
+
},{"./support/isBuffer":385,"./support/types":386,"_process":382,"inherits":370}],388:[function(require,module,exports){
|
|
72250
72745
|
(function (global){(function (){
|
|
72251
72746
|
'use strict';
|
|
72252
72747
|
|
|
@@ -72366,9 +72861,9 @@ module.exports = function whichTypedArray(value) {
|
|
|
72366
72861
|
};
|
|
72367
72862
|
|
|
72368
72863
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
72369
|
-
},{"available-typed-arrays":
|
|
72370
|
-
arguments[4][
|
|
72371
|
-
},{"./":
|
|
72864
|
+
},{"available-typed-arrays":338,"call-bind":390,"call-bind/callBound":389,"for-each":354,"gopd":358,"has-tostringtag/shams":391}],389:[function(require,module,exports){
|
|
72865
|
+
arguments[4][340][0].apply(exports,arguments)
|
|
72866
|
+
},{"./":390,"dup":340,"get-intrinsic":357}],390:[function(require,module,exports){
|
|
72372
72867
|
'use strict';
|
|
72373
72868
|
|
|
72374
72869
|
var bind = require('function-bind');
|
|
@@ -72405,7 +72900,7 @@ if ($defineProperty) {
|
|
|
72405
72900
|
module.exports.apply = applyBind;
|
|
72406
72901
|
}
|
|
72407
72902
|
|
|
72408
|
-
},{"es-define-property":
|
|
72903
|
+
},{"es-define-property":346,"es-errors/type":352,"function-bind":356,"get-intrinsic":357,"set-function-length":383}],391:[function(require,module,exports){
|
|
72409
72904
|
'use strict';
|
|
72410
72905
|
|
|
72411
72906
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -72415,5 +72910,5 @@ module.exports = function hasToStringTagShams() {
|
|
|
72415
72910
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
72416
72911
|
};
|
|
72417
72912
|
|
|
72418
|
-
},{"has-symbols/shams":
|
|
72913
|
+
},{"has-symbols/shams":364}]},{},[114])(114)
|
|
72419
72914
|
});
|