@designliquido/delegua 0.38.4 → 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/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 +71 -3
- package/avaliador-sintatico/avaliador-sintatico.js.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js +2 -2
- package/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.js +2 -2
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.js.map +1 -1
- package/avaliador-sintatico/micro-avaliador-sintatico.js +2 -2
- package/avaliador-sintatico/micro-avaliador-sintatico.js.map +1 -1
- package/bibliotecas/primitivas-dicionario.d.ts +2 -3
- package/bibliotecas/primitivas-dicionario.d.ts.map +1 -1
- package/bibliotecas/primitivas-dicionario.js +10 -4
- package/bibliotecas/primitivas-dicionario.js.map +1 -1
- package/bibliotecas/primitivas-numero.d.ts +2 -3
- package/bibliotecas/primitivas-numero.d.ts.map +1 -1
- package/bibliotecas/primitivas-numero.js +10 -4
- package/bibliotecas/primitivas-numero.js.map +1 -1
- package/bibliotecas/primitivas-texto.d.ts +2 -14
- package/bibliotecas/primitivas-texto.d.ts.map +1 -1
- package/bibliotecas/primitivas-texto.js +56 -17
- package/bibliotecas/primitivas-texto.js.map +1 -1
- package/bibliotecas/primitivas-vetor.d.ts +2 -22
- package/bibliotecas/primitivas-vetor.d.ts.map +1 -1
- package/bibliotecas/primitivas-vetor.js +115 -67
- package/bibliotecas/primitivas-vetor.js.map +1 -1
- package/bin/package.json +1 -1
- package/construtos/acesso-metodo-ou-propriedade.d.ts +3 -1
- package/construtos/acesso-metodo-ou-propriedade.d.ts.map +1 -1
- package/construtos/acesso-metodo-ou-propriedade.js +4 -2
- package/construtos/acesso-metodo-ou-propriedade.js.map +1 -1
- package/construtos/acesso-metodo.d.ts +12 -0
- package/construtos/acesso-metodo.d.ts.map +1 -0
- package/construtos/acesso-metodo.js +18 -0
- package/construtos/acesso-metodo.js.map +1 -0
- package/construtos/acesso-propriedade.d.ts +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 +34 -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/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 +994 -507
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() {
|
|
@@ -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,116 +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;
|
|
4142
4293
|
}
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
return vetor.sort();
|
|
4294
|
+
if (!vetor.every((v) => typeof v === 'number')) {
|
|
4295
|
+
return vetor.sort();
|
|
4296
|
+
}
|
|
4297
|
+
return vetor.sort((a, b) => a - b);
|
|
4147
4298
|
}
|
|
4148
|
-
return vetor.sort((a, b) => a - b);
|
|
4149
4299
|
},
|
|
4150
|
-
remover:
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
vetor.
|
|
4154
|
-
|
|
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);
|
|
4307
|
+
}
|
|
4155
4308
|
},
|
|
4156
|
-
removerPrimeiro:
|
|
4157
|
-
|
|
4158
|
-
|
|
4309
|
+
removerPrimeiro: {
|
|
4310
|
+
tipoRetorno: 'qualquer',
|
|
4311
|
+
implementacao: (interpretador, vetor) => {
|
|
4312
|
+
let elemento = vetor.shift();
|
|
4313
|
+
return Promise.resolve(elemento);
|
|
4314
|
+
}
|
|
4159
4315
|
},
|
|
4160
|
-
removerUltimo:
|
|
4161
|
-
|
|
4162
|
-
|
|
4316
|
+
removerUltimo: {
|
|
4317
|
+
tipoRetorno: 'qualquer',
|
|
4318
|
+
implementacao: (interpretador, vetor) => {
|
|
4319
|
+
let elemento = vetor.pop();
|
|
4320
|
+
return Promise.resolve(elemento);
|
|
4321
|
+
}
|
|
4163
4322
|
},
|
|
4164
|
-
somar:
|
|
4165
|
-
|
|
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
|
+
}
|
|
4166
4328
|
},
|
|
4167
|
-
tamanho:
|
|
4329
|
+
tamanho: {
|
|
4330
|
+
tipoRetorno: 'número',
|
|
4331
|
+
implementacao: (interpretador, vetor) => Promise.resolve(vetor.length)
|
|
4332
|
+
}
|
|
4168
4333
|
};
|
|
4169
4334
|
|
|
4170
4335
|
},{}],22:[function(require,module,exports){
|
|
@@ -4214,7 +4379,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4214
4379
|
exports.AcessoMetodoOuPropriedade = void 0;
|
|
4215
4380
|
/**
|
|
4216
4381
|
* Chamado de `Get` em Égua Clássico, é o construto de acesso a métodos ou membros de
|
|
4217
|
-
* 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.
|
|
4218
4385
|
*/
|
|
4219
4386
|
class AcessoMetodoOuPropriedade {
|
|
4220
4387
|
constructor(hashArquivo, objeto, simbolo, tipo = 'qualquer') {
|
|
@@ -4225,7 +4392,7 @@ class AcessoMetodoOuPropriedade {
|
|
|
4225
4392
|
this.tipo = objeto.tipo || tipo;
|
|
4226
4393
|
}
|
|
4227
4394
|
async aceitar(visitante) {
|
|
4228
|
-
return await visitante.
|
|
4395
|
+
return await visitante.visitarExpressaoAcessoMetodoOuPropriedade(this);
|
|
4229
4396
|
}
|
|
4230
4397
|
}
|
|
4231
4398
|
exports.AcessoMetodoOuPropriedade = AcessoMetodoOuPropriedade;
|
|
@@ -4233,6 +4400,36 @@ exports.AcessoMetodoOuPropriedade = AcessoMetodoOuPropriedade;
|
|
|
4233
4400
|
},{}],25:[function(require,module,exports){
|
|
4234
4401
|
"use strict";
|
|
4235
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 });
|
|
4236
4433
|
exports.Agrupamento = void 0;
|
|
4237
4434
|
/**
|
|
4238
4435
|
* Um agrupamento é essencialmente uma expressão qualquer dentro de parênteses.
|
|
@@ -4252,7 +4449,7 @@ class Agrupamento {
|
|
|
4252
4449
|
}
|
|
4253
4450
|
exports.Agrupamento = Agrupamento;
|
|
4254
4451
|
|
|
4255
|
-
},{}],
|
|
4452
|
+
},{}],28:[function(require,module,exports){
|
|
4256
4453
|
"use strict";
|
|
4257
4454
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4258
4455
|
exports.AtribuicaoPorIndice = void 0;
|
|
@@ -4270,7 +4467,7 @@ class AtribuicaoPorIndice {
|
|
|
4270
4467
|
}
|
|
4271
4468
|
exports.AtribuicaoPorIndice = AtribuicaoPorIndice;
|
|
4272
4469
|
|
|
4273
|
-
},{}],
|
|
4470
|
+
},{}],29:[function(require,module,exports){
|
|
4274
4471
|
"use strict";
|
|
4275
4472
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4276
4473
|
exports.AtribuicaoPorIndicesMatriz = void 0;
|
|
@@ -4289,7 +4486,7 @@ class AtribuicaoPorIndicesMatriz {
|
|
|
4289
4486
|
}
|
|
4290
4487
|
exports.AtribuicaoPorIndicesMatriz = AtribuicaoPorIndicesMatriz;
|
|
4291
4488
|
|
|
4292
|
-
},{}],
|
|
4489
|
+
},{}],30:[function(require,module,exports){
|
|
4293
4490
|
"use strict";
|
|
4294
4491
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4295
4492
|
exports.Atribuir = void 0;
|
|
@@ -4315,7 +4512,7 @@ class Atribuir {
|
|
|
4315
4512
|
}
|
|
4316
4513
|
exports.Atribuir = Atribuir;
|
|
4317
4514
|
|
|
4318
|
-
},{}],
|
|
4515
|
+
},{}],31:[function(require,module,exports){
|
|
4319
4516
|
"use strict";
|
|
4320
4517
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4321
4518
|
exports.Binario = void 0;
|
|
@@ -4372,7 +4569,7 @@ class Binario {
|
|
|
4372
4569
|
}
|
|
4373
4570
|
exports.Binario = Binario;
|
|
4374
4571
|
|
|
4375
|
-
},{}],
|
|
4572
|
+
},{}],32:[function(require,module,exports){
|
|
4376
4573
|
"use strict";
|
|
4377
4574
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4378
4575
|
exports.Chamada = void 0;
|
|
@@ -4381,12 +4578,11 @@ const geracao_identificadores_1 = require("../geracao-identificadores");
|
|
|
4381
4578
|
* Chamada de funções, métodos, etc.
|
|
4382
4579
|
*/
|
|
4383
4580
|
class Chamada {
|
|
4384
|
-
constructor(hashArquivo, entidadeChamada,
|
|
4581
|
+
constructor(hashArquivo, entidadeChamada, argumentos) {
|
|
4385
4582
|
this.id = (0, geracao_identificadores_1.uuidv4)();
|
|
4386
4583
|
this.linha = entidadeChamada.linha;
|
|
4387
4584
|
this.hashArquivo = hashArquivo;
|
|
4388
4585
|
this.entidadeChamada = entidadeChamada;
|
|
4389
|
-
this.parentese = parentese;
|
|
4390
4586
|
this.argumentos = argumentos;
|
|
4391
4587
|
}
|
|
4392
4588
|
async aceitar(visitante) {
|
|
@@ -4395,7 +4591,7 @@ class Chamada {
|
|
|
4395
4591
|
}
|
|
4396
4592
|
exports.Chamada = Chamada;
|
|
4397
4593
|
|
|
4398
|
-
},{"../geracao-identificadores":
|
|
4594
|
+
},{"../geracao-identificadores":113}],33:[function(require,module,exports){
|
|
4399
4595
|
"use strict";
|
|
4400
4596
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4401
4597
|
exports.Comentario = void 0;
|
|
@@ -4417,7 +4613,7 @@ class Comentario {
|
|
|
4417
4613
|
}
|
|
4418
4614
|
exports.Comentario = Comentario;
|
|
4419
4615
|
|
|
4420
|
-
},{}],
|
|
4616
|
+
},{}],34:[function(require,module,exports){
|
|
4421
4617
|
"use strict";
|
|
4422
4618
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4423
4619
|
exports.Constante = void 0;
|
|
@@ -4436,11 +4632,11 @@ class Constante {
|
|
|
4436
4632
|
}
|
|
4437
4633
|
exports.Constante = Constante;
|
|
4438
4634
|
|
|
4439
|
-
},{}],
|
|
4635
|
+
},{}],35:[function(require,module,exports){
|
|
4440
4636
|
"use strict";
|
|
4441
4637
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4442
4638
|
|
|
4443
|
-
},{}],
|
|
4639
|
+
},{}],36:[function(require,module,exports){
|
|
4444
4640
|
"use strict";
|
|
4445
4641
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4446
4642
|
exports.Decorador = void 0;
|
|
@@ -4461,7 +4657,7 @@ class Decorador {
|
|
|
4461
4657
|
}
|
|
4462
4658
|
exports.Decorador = Decorador;
|
|
4463
4659
|
|
|
4464
|
-
},{}],
|
|
4660
|
+
},{}],37:[function(require,module,exports){
|
|
4465
4661
|
"use strict";
|
|
4466
4662
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4467
4663
|
exports.DefinirValor = void 0;
|
|
@@ -4479,7 +4675,7 @@ class DefinirValor {
|
|
|
4479
4675
|
}
|
|
4480
4676
|
exports.DefinirValor = DefinirValor;
|
|
4481
4677
|
|
|
4482
|
-
},{}],
|
|
4678
|
+
},{}],38:[function(require,module,exports){
|
|
4483
4679
|
"use strict";
|
|
4484
4680
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4485
4681
|
exports.Dicionario = void 0;
|
|
@@ -4496,7 +4692,7 @@ class Dicionario {
|
|
|
4496
4692
|
}
|
|
4497
4693
|
exports.Dicionario = Dicionario;
|
|
4498
4694
|
|
|
4499
|
-
},{}],
|
|
4695
|
+
},{}],39:[function(require,module,exports){
|
|
4500
4696
|
"use strict";
|
|
4501
4697
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4502
4698
|
exports.ExpressaoRegular = void 0;
|
|
@@ -4513,7 +4709,7 @@ class ExpressaoRegular {
|
|
|
4513
4709
|
}
|
|
4514
4710
|
exports.ExpressaoRegular = ExpressaoRegular;
|
|
4515
4711
|
|
|
4516
|
-
},{}],
|
|
4712
|
+
},{}],40:[function(require,module,exports){
|
|
4517
4713
|
"use strict";
|
|
4518
4714
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4519
4715
|
exports.FimPara = void 0;
|
|
@@ -4540,7 +4736,7 @@ class FimPara {
|
|
|
4540
4736
|
}
|
|
4541
4737
|
exports.FimPara = FimPara;
|
|
4542
4738
|
|
|
4543
|
-
},{}],
|
|
4739
|
+
},{}],41:[function(require,module,exports){
|
|
4544
4740
|
"use strict";
|
|
4545
4741
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4546
4742
|
exports.FormatacaoEscrita = void 0;
|
|
@@ -4563,7 +4759,7 @@ class FormatacaoEscrita {
|
|
|
4563
4759
|
}
|
|
4564
4760
|
exports.FormatacaoEscrita = FormatacaoEscrita;
|
|
4565
4761
|
|
|
4566
|
-
},{}],
|
|
4762
|
+
},{}],42:[function(require,module,exports){
|
|
4567
4763
|
"use strict";
|
|
4568
4764
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4569
4765
|
exports.FuncaoConstruto = void 0;
|
|
@@ -4581,7 +4777,7 @@ class FuncaoConstruto {
|
|
|
4581
4777
|
}
|
|
4582
4778
|
exports.FuncaoConstruto = FuncaoConstruto;
|
|
4583
4779
|
|
|
4584
|
-
},{}],
|
|
4780
|
+
},{}],43:[function(require,module,exports){
|
|
4585
4781
|
"use strict";
|
|
4586
4782
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4587
4783
|
if (k2 === undefined) k2 = k;
|
|
@@ -4600,7 +4796,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
4600
4796
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4601
4797
|
__exportStar(require("./acesso-elemento-matriz"), exports);
|
|
4602
4798
|
__exportStar(require("./acesso-indice-variavel"), exports);
|
|
4799
|
+
__exportStar(require("./acesso-metodo"), exports);
|
|
4603
4800
|
__exportStar(require("./acesso-metodo-ou-propriedade"), exports);
|
|
4801
|
+
__exportStar(require("./acesso-propriedade"), exports);
|
|
4604
4802
|
__exportStar(require("./agrupamento"), exports);
|
|
4605
4803
|
__exportStar(require("./atribuicao-por-indice"), exports);
|
|
4606
4804
|
__exportStar(require("./atribuicao-por-indices-matriz"), exports);
|
|
@@ -4628,7 +4826,7 @@ __exportStar(require("./variavel"), exports);
|
|
|
4628
4826
|
__exportStar(require("./vetor"), exports);
|
|
4629
4827
|
__exportStar(require("./qual-tipo"), exports);
|
|
4630
4828
|
|
|
4631
|
-
},{"./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){
|
|
4632
4830
|
"use strict";
|
|
4633
4831
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4634
4832
|
exports.Isto = void 0;
|
|
@@ -4644,7 +4842,7 @@ class Isto {
|
|
|
4644
4842
|
}
|
|
4645
4843
|
exports.Isto = Isto;
|
|
4646
4844
|
|
|
4647
|
-
},{}],
|
|
4845
|
+
},{}],45:[function(require,module,exports){
|
|
4648
4846
|
"use strict";
|
|
4649
4847
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4650
4848
|
exports.Literal = void 0;
|
|
@@ -4661,7 +4859,7 @@ class Literal {
|
|
|
4661
4859
|
}
|
|
4662
4860
|
exports.Literal = Literal;
|
|
4663
4861
|
|
|
4664
|
-
},{}],
|
|
4862
|
+
},{}],46:[function(require,module,exports){
|
|
4665
4863
|
"use strict";
|
|
4666
4864
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4667
4865
|
exports.Logico = void 0;
|
|
@@ -4679,7 +4877,7 @@ class Logico {
|
|
|
4679
4877
|
}
|
|
4680
4878
|
exports.Logico = Logico;
|
|
4681
4879
|
|
|
4682
|
-
},{}],
|
|
4880
|
+
},{}],47:[function(require,module,exports){
|
|
4683
4881
|
"use strict";
|
|
4684
4882
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4685
4883
|
exports.QualTipo = void 0;
|
|
@@ -4697,7 +4895,7 @@ class QualTipo {
|
|
|
4697
4895
|
}
|
|
4698
4896
|
exports.QualTipo = QualTipo;
|
|
4699
4897
|
|
|
4700
|
-
},{}],
|
|
4898
|
+
},{}],48:[function(require,module,exports){
|
|
4701
4899
|
"use strict";
|
|
4702
4900
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4703
4901
|
exports.Super = void 0;
|
|
@@ -4714,7 +4912,7 @@ class Super {
|
|
|
4714
4912
|
}
|
|
4715
4913
|
exports.Super = Super;
|
|
4716
4914
|
|
|
4717
|
-
},{}],
|
|
4915
|
+
},{}],49:[function(require,module,exports){
|
|
4718
4916
|
"use strict";
|
|
4719
4917
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4720
4918
|
exports.TipoDe = void 0;
|
|
@@ -4731,7 +4929,7 @@ class TipoDe {
|
|
|
4731
4929
|
}
|
|
4732
4930
|
exports.TipoDe = TipoDe;
|
|
4733
4931
|
|
|
4734
|
-
},{}],
|
|
4932
|
+
},{}],50:[function(require,module,exports){
|
|
4735
4933
|
"use strict";
|
|
4736
4934
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4737
4935
|
exports.Deceto = void 0;
|
|
@@ -4765,7 +4963,7 @@ class Deceto extends tupla_1.Tupla {
|
|
|
4765
4963
|
}
|
|
4766
4964
|
exports.Deceto = Deceto;
|
|
4767
4965
|
|
|
4768
|
-
},{"./tupla":
|
|
4966
|
+
},{"./tupla":60}],51:[function(require,module,exports){
|
|
4769
4967
|
"use strict";
|
|
4770
4968
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4771
4969
|
exports.Dupla = void 0;
|
|
@@ -4779,7 +4977,7 @@ class Dupla extends tupla_1.Tupla {
|
|
|
4779
4977
|
}
|
|
4780
4978
|
exports.Dupla = Dupla;
|
|
4781
4979
|
|
|
4782
|
-
},{"./tupla":
|
|
4980
|
+
},{"./tupla":60}],52:[function(require,module,exports){
|
|
4783
4981
|
"use strict";
|
|
4784
4982
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4785
4983
|
if (k2 === undefined) k2 = k;
|
|
@@ -4848,7 +5046,7 @@ class SeletorTuplas {
|
|
|
4848
5046
|
}
|
|
4849
5047
|
exports.SeletorTuplas = SeletorTuplas;
|
|
4850
5048
|
|
|
4851
|
-
},{"./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){
|
|
4852
5050
|
"use strict";
|
|
4853
5051
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4854
5052
|
exports.Noneto = void 0;
|
|
@@ -4875,7 +5073,7 @@ class Noneto extends tupla_1.Tupla {
|
|
|
4875
5073
|
}
|
|
4876
5074
|
exports.Noneto = Noneto;
|
|
4877
5075
|
|
|
4878
|
-
},{"./tupla":
|
|
5076
|
+
},{"./tupla":60}],54:[function(require,module,exports){
|
|
4879
5077
|
"use strict";
|
|
4880
5078
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4881
5079
|
exports.Octeto = void 0;
|
|
@@ -4901,7 +5099,7 @@ class Octeto extends tupla_1.Tupla {
|
|
|
4901
5099
|
}
|
|
4902
5100
|
exports.Octeto = Octeto;
|
|
4903
5101
|
|
|
4904
|
-
},{"./tupla":
|
|
5102
|
+
},{"./tupla":60}],55:[function(require,module,exports){
|
|
4905
5103
|
"use strict";
|
|
4906
5104
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4907
5105
|
exports.Quarteto = void 0;
|
|
@@ -4917,7 +5115,7 @@ class Quarteto extends tupla_1.Tupla {
|
|
|
4917
5115
|
}
|
|
4918
5116
|
exports.Quarteto = Quarteto;
|
|
4919
5117
|
|
|
4920
|
-
},{"./tupla":
|
|
5118
|
+
},{"./tupla":60}],56:[function(require,module,exports){
|
|
4921
5119
|
"use strict";
|
|
4922
5120
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4923
5121
|
exports.Quinteto = void 0;
|
|
@@ -4934,7 +5132,7 @@ class Quinteto extends tupla_1.Tupla {
|
|
|
4934
5132
|
}
|
|
4935
5133
|
exports.Quinteto = Quinteto;
|
|
4936
5134
|
|
|
4937
|
-
},{"./tupla":
|
|
5135
|
+
},{"./tupla":60}],57:[function(require,module,exports){
|
|
4938
5136
|
"use strict";
|
|
4939
5137
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4940
5138
|
exports.Septeto = void 0;
|
|
@@ -4959,7 +5157,7 @@ class Septeto extends tupla_1.Tupla {
|
|
|
4959
5157
|
}
|
|
4960
5158
|
exports.Septeto = Septeto;
|
|
4961
5159
|
|
|
4962
|
-
},{"./tupla":
|
|
5160
|
+
},{"./tupla":60}],58:[function(require,module,exports){
|
|
4963
5161
|
"use strict";
|
|
4964
5162
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4965
5163
|
exports.Sexteto = void 0;
|
|
@@ -4977,7 +5175,7 @@ class Sexteto extends tupla_1.Tupla {
|
|
|
4977
5175
|
}
|
|
4978
5176
|
exports.Sexteto = Sexteto;
|
|
4979
5177
|
|
|
4980
|
-
},{"./tupla":
|
|
5178
|
+
},{"./tupla":60}],59:[function(require,module,exports){
|
|
4981
5179
|
"use strict";
|
|
4982
5180
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4983
5181
|
exports.Trio = void 0;
|
|
@@ -4992,7 +5190,7 @@ class Trio extends tupla_1.Tupla {
|
|
|
4992
5190
|
}
|
|
4993
5191
|
exports.Trio = Trio;
|
|
4994
5192
|
|
|
4995
|
-
},{"./tupla":
|
|
5193
|
+
},{"./tupla":60}],60:[function(require,module,exports){
|
|
4996
5194
|
"use strict";
|
|
4997
5195
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4998
5196
|
exports.Tupla = void 0;
|
|
@@ -5003,7 +5201,7 @@ class Tupla {
|
|
|
5003
5201
|
}
|
|
5004
5202
|
exports.Tupla = Tupla;
|
|
5005
5203
|
|
|
5006
|
-
},{}],
|
|
5204
|
+
},{}],61:[function(require,module,exports){
|
|
5007
5205
|
"use strict";
|
|
5008
5206
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5009
5207
|
exports.Unario = void 0;
|
|
@@ -5021,7 +5219,7 @@ class Unario {
|
|
|
5021
5219
|
}
|
|
5022
5220
|
exports.Unario = Unario;
|
|
5023
5221
|
|
|
5024
|
-
},{}],
|
|
5222
|
+
},{}],62:[function(require,module,exports){
|
|
5025
5223
|
"use strict";
|
|
5026
5224
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5027
5225
|
exports.Variavel = void 0;
|
|
@@ -5038,7 +5236,7 @@ class Variavel {
|
|
|
5038
5236
|
}
|
|
5039
5237
|
exports.Variavel = Variavel;
|
|
5040
5238
|
|
|
5041
|
-
},{}],
|
|
5239
|
+
},{}],63:[function(require,module,exports){
|
|
5042
5240
|
"use strict";
|
|
5043
5241
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5044
5242
|
exports.Vetor = void 0;
|
|
@@ -5061,7 +5259,7 @@ class Vetor {
|
|
|
5061
5259
|
}
|
|
5062
5260
|
exports.Vetor = Vetor;
|
|
5063
5261
|
|
|
5064
|
-
},{}],
|
|
5262
|
+
},{}],64:[function(require,module,exports){
|
|
5065
5263
|
"use strict";
|
|
5066
5264
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5067
5265
|
exports.Aleatorio = void 0;
|
|
@@ -5078,7 +5276,7 @@ class Aleatorio extends declaracao_1.Declaracao {
|
|
|
5078
5276
|
}
|
|
5079
5277
|
exports.Aleatorio = Aleatorio;
|
|
5080
5278
|
|
|
5081
|
-
},{"./declaracao":
|
|
5279
|
+
},{"./declaracao":71}],65:[function(require,module,exports){
|
|
5082
5280
|
"use strict";
|
|
5083
5281
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5084
5282
|
exports.Bloco = void 0;
|
|
@@ -5094,7 +5292,7 @@ class Bloco extends declaracao_1.Declaracao {
|
|
|
5094
5292
|
}
|
|
5095
5293
|
exports.Bloco = Bloco;
|
|
5096
5294
|
|
|
5097
|
-
},{"./declaracao":
|
|
5295
|
+
},{"./declaracao":71}],66:[function(require,module,exports){
|
|
5098
5296
|
"use strict";
|
|
5099
5297
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5100
5298
|
exports.CabecalhoPrograma = void 0;
|
|
@@ -5110,7 +5308,7 @@ class CabecalhoPrograma extends declaracao_1.Declaracao {
|
|
|
5110
5308
|
}
|
|
5111
5309
|
exports.CabecalhoPrograma = CabecalhoPrograma;
|
|
5112
5310
|
|
|
5113
|
-
},{"./declaracao":
|
|
5311
|
+
},{"./declaracao":71}],67:[function(require,module,exports){
|
|
5114
5312
|
"use strict";
|
|
5115
5313
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5116
5314
|
exports.Classe = void 0;
|
|
@@ -5130,7 +5328,7 @@ class Classe extends declaracao_1.Declaracao {
|
|
|
5130
5328
|
}
|
|
5131
5329
|
exports.Classe = Classe;
|
|
5132
5330
|
|
|
5133
|
-
},{"./declaracao":
|
|
5331
|
+
},{"./declaracao":71}],68:[function(require,module,exports){
|
|
5134
5332
|
"use strict";
|
|
5135
5333
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5136
5334
|
exports.ConstMultiplo = void 0;
|
|
@@ -5151,7 +5349,7 @@ class ConstMultiplo extends declaracao_1.Declaracao {
|
|
|
5151
5349
|
}
|
|
5152
5350
|
exports.ConstMultiplo = ConstMultiplo;
|
|
5153
5351
|
|
|
5154
|
-
},{"./declaracao":
|
|
5352
|
+
},{"./declaracao":71}],69:[function(require,module,exports){
|
|
5155
5353
|
"use strict";
|
|
5156
5354
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5157
5355
|
exports.Const = void 0;
|
|
@@ -5177,7 +5375,7 @@ class Const extends declaracao_1.Declaracao {
|
|
|
5177
5375
|
}
|
|
5178
5376
|
exports.Const = Const;
|
|
5179
5377
|
|
|
5180
|
-
},{"./declaracao":
|
|
5378
|
+
},{"./declaracao":71}],70:[function(require,module,exports){
|
|
5181
5379
|
"use strict";
|
|
5182
5380
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5183
5381
|
exports.Continua = void 0;
|
|
@@ -5192,7 +5390,7 @@ class Continua extends declaracao_1.Declaracao {
|
|
|
5192
5390
|
}
|
|
5193
5391
|
exports.Continua = Continua;
|
|
5194
5392
|
|
|
5195
|
-
},{"./declaracao":
|
|
5393
|
+
},{"./declaracao":71}],71:[function(require,module,exports){
|
|
5196
5394
|
"use strict";
|
|
5197
5395
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5198
5396
|
exports.Declaracao = void 0;
|
|
@@ -5212,7 +5410,7 @@ class Declaracao {
|
|
|
5212
5410
|
}
|
|
5213
5411
|
exports.Declaracao = Declaracao;
|
|
5214
5412
|
|
|
5215
|
-
},{}],
|
|
5413
|
+
},{}],72:[function(require,module,exports){
|
|
5216
5414
|
"use strict";
|
|
5217
5415
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5218
5416
|
exports.Enquanto = void 0;
|
|
@@ -5229,7 +5427,7 @@ class Enquanto extends declaracao_1.Declaracao {
|
|
|
5229
5427
|
}
|
|
5230
5428
|
exports.Enquanto = Enquanto;
|
|
5231
5429
|
|
|
5232
|
-
},{"./declaracao":
|
|
5430
|
+
},{"./declaracao":71}],73:[function(require,module,exports){
|
|
5233
5431
|
"use strict";
|
|
5234
5432
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5235
5433
|
exports.Escolha = void 0;
|
|
@@ -5250,7 +5448,7 @@ class Escolha extends declaracao_1.Declaracao {
|
|
|
5250
5448
|
}
|
|
5251
5449
|
exports.Escolha = Escolha;
|
|
5252
5450
|
|
|
5253
|
-
},{"./declaracao":
|
|
5451
|
+
},{"./declaracao":71}],74:[function(require,module,exports){
|
|
5254
5452
|
"use strict";
|
|
5255
5453
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5256
5454
|
exports.EscrevaMesmaLinha = void 0;
|
|
@@ -5266,7 +5464,7 @@ class EscrevaMesmaLinha extends declaracao_1.Declaracao {
|
|
|
5266
5464
|
}
|
|
5267
5465
|
exports.EscrevaMesmaLinha = EscrevaMesmaLinha;
|
|
5268
5466
|
|
|
5269
|
-
},{"./declaracao":
|
|
5467
|
+
},{"./declaracao":71}],75:[function(require,module,exports){
|
|
5270
5468
|
"use strict";
|
|
5271
5469
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5272
5470
|
exports.Escreva = void 0;
|
|
@@ -5282,7 +5480,7 @@ class Escreva extends declaracao_1.Declaracao {
|
|
|
5282
5480
|
}
|
|
5283
5481
|
exports.Escreva = Escreva;
|
|
5284
5482
|
|
|
5285
|
-
},{"./declaracao":
|
|
5483
|
+
},{"./declaracao":71}],76:[function(require,module,exports){
|
|
5286
5484
|
"use strict";
|
|
5287
5485
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5288
5486
|
exports.Expressao = void 0;
|
|
@@ -5298,7 +5496,7 @@ class Expressao extends declaracao_1.Declaracao {
|
|
|
5298
5496
|
}
|
|
5299
5497
|
exports.Expressao = Expressao;
|
|
5300
5498
|
|
|
5301
|
-
},{"./declaracao":
|
|
5499
|
+
},{"./declaracao":71}],77:[function(require,module,exports){
|
|
5302
5500
|
"use strict";
|
|
5303
5501
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5304
5502
|
exports.Falhar = void 0;
|
|
@@ -5315,7 +5513,7 @@ class Falhar extends declaracao_1.Declaracao {
|
|
|
5315
5513
|
}
|
|
5316
5514
|
exports.Falhar = Falhar;
|
|
5317
5515
|
|
|
5318
|
-
},{"./declaracao":
|
|
5516
|
+
},{"./declaracao":71}],78:[function(require,module,exports){
|
|
5319
5517
|
"use strict";
|
|
5320
5518
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5321
5519
|
exports.Fazer = void 0;
|
|
@@ -5332,7 +5530,7 @@ class Fazer extends declaracao_1.Declaracao {
|
|
|
5332
5530
|
}
|
|
5333
5531
|
exports.Fazer = Fazer;
|
|
5334
5532
|
|
|
5335
|
-
},{"./declaracao":
|
|
5533
|
+
},{"./declaracao":71}],79:[function(require,module,exports){
|
|
5336
5534
|
"use strict";
|
|
5337
5535
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5338
5536
|
exports.FuncaoDeclaracao = void 0;
|
|
@@ -5354,7 +5552,7 @@ class FuncaoDeclaracao extends declaracao_1.Declaracao {
|
|
|
5354
5552
|
}
|
|
5355
5553
|
exports.FuncaoDeclaracao = FuncaoDeclaracao;
|
|
5356
5554
|
|
|
5357
|
-
},{"./declaracao":
|
|
5555
|
+
},{"./declaracao":71}],80:[function(require,module,exports){
|
|
5358
5556
|
"use strict";
|
|
5359
5557
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5360
5558
|
exports.Importar = void 0;
|
|
@@ -5371,7 +5569,7 @@ class Importar extends declaracao_1.Declaracao {
|
|
|
5371
5569
|
}
|
|
5372
5570
|
exports.Importar = Importar;
|
|
5373
5571
|
|
|
5374
|
-
},{"./declaracao":
|
|
5572
|
+
},{"./declaracao":71}],81:[function(require,module,exports){
|
|
5375
5573
|
"use strict";
|
|
5376
5574
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5377
5575
|
if (k2 === undefined) k2 = k;
|
|
@@ -5420,7 +5618,7 @@ __exportStar(require("./var"), exports);
|
|
|
5420
5618
|
__exportStar(require("./var-multiplo"), exports);
|
|
5421
5619
|
__exportStar(require("./aleatorio"), exports);
|
|
5422
5620
|
|
|
5423
|
-
},{"./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){
|
|
5424
5622
|
"use strict";
|
|
5425
5623
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5426
5624
|
exports.InicioAlgoritmo = void 0;
|
|
@@ -5435,7 +5633,7 @@ class InicioAlgoritmo extends declaracao_1.Declaracao {
|
|
|
5435
5633
|
}
|
|
5436
5634
|
exports.InicioAlgoritmo = InicioAlgoritmo;
|
|
5437
5635
|
|
|
5438
|
-
},{"./declaracao":
|
|
5636
|
+
},{"./declaracao":71}],83:[function(require,module,exports){
|
|
5439
5637
|
"use strict";
|
|
5440
5638
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5441
5639
|
exports.LeiaMultiplo = void 0;
|
|
@@ -5458,7 +5656,7 @@ class LeiaMultiplo extends declaracao_1.Declaracao {
|
|
|
5458
5656
|
}
|
|
5459
5657
|
exports.LeiaMultiplo = LeiaMultiplo;
|
|
5460
5658
|
|
|
5461
|
-
},{"../geracao-identificadores":
|
|
5659
|
+
},{"../geracao-identificadores":113,"./declaracao":71}],84:[function(require,module,exports){
|
|
5462
5660
|
"use strict";
|
|
5463
5661
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5464
5662
|
exports.Leia = void 0;
|
|
@@ -5481,7 +5679,7 @@ class Leia extends declaracao_1.Declaracao {
|
|
|
5481
5679
|
}
|
|
5482
5680
|
exports.Leia = Leia;
|
|
5483
5681
|
|
|
5484
|
-
},{"../geracao-identificadores":
|
|
5682
|
+
},{"../geracao-identificadores":113,"./declaracao":71}],85:[function(require,module,exports){
|
|
5485
5683
|
"use strict";
|
|
5486
5684
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5487
5685
|
exports.ParaCada = void 0;
|
|
@@ -5500,7 +5698,7 @@ class ParaCada extends declaracao_1.Declaracao {
|
|
|
5500
5698
|
}
|
|
5501
5699
|
exports.ParaCada = ParaCada;
|
|
5502
5700
|
|
|
5503
|
-
},{"./declaracao":
|
|
5701
|
+
},{"./declaracao":71}],86:[function(require,module,exports){
|
|
5504
5702
|
"use strict";
|
|
5505
5703
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5506
5704
|
exports.Para = void 0;
|
|
@@ -5526,7 +5724,7 @@ class Para extends declaracao_1.Declaracao {
|
|
|
5526
5724
|
}
|
|
5527
5725
|
exports.Para = Para;
|
|
5528
5726
|
|
|
5529
|
-
},{"./declaracao":
|
|
5727
|
+
},{"./declaracao":71}],87:[function(require,module,exports){
|
|
5530
5728
|
"use strict";
|
|
5531
5729
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5532
5730
|
exports.PropriedadeClasse = void 0;
|
|
@@ -5544,7 +5742,7 @@ class PropriedadeClasse extends declaracao_1.Declaracao {
|
|
|
5544
5742
|
}
|
|
5545
5743
|
exports.PropriedadeClasse = PropriedadeClasse;
|
|
5546
5744
|
|
|
5547
|
-
},{"./declaracao":
|
|
5745
|
+
},{"./declaracao":71}],88:[function(require,module,exports){
|
|
5548
5746
|
"use strict";
|
|
5549
5747
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5550
5748
|
exports.Retorna = void 0;
|
|
@@ -5567,7 +5765,7 @@ class Retorna extends declaracao_1.Declaracao {
|
|
|
5567
5765
|
}
|
|
5568
5766
|
exports.Retorna = Retorna;
|
|
5569
5767
|
|
|
5570
|
-
},{"./declaracao":
|
|
5768
|
+
},{"./declaracao":71}],89:[function(require,module,exports){
|
|
5571
5769
|
"use strict";
|
|
5572
5770
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5573
5771
|
exports.Se = void 0;
|
|
@@ -5586,7 +5784,7 @@ class Se extends declaracao_1.Declaracao {
|
|
|
5586
5784
|
}
|
|
5587
5785
|
exports.Se = Se;
|
|
5588
5786
|
|
|
5589
|
-
},{"./declaracao":
|
|
5787
|
+
},{"./declaracao":71}],90:[function(require,module,exports){
|
|
5590
5788
|
"use strict";
|
|
5591
5789
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5592
5790
|
exports.Sustar = void 0;
|
|
@@ -5601,7 +5799,7 @@ class Sustar extends declaracao_1.Declaracao {
|
|
|
5601
5799
|
}
|
|
5602
5800
|
exports.Sustar = Sustar;
|
|
5603
5801
|
|
|
5604
|
-
},{"./declaracao":
|
|
5802
|
+
},{"./declaracao":71}],91:[function(require,module,exports){
|
|
5605
5803
|
"use strict";
|
|
5606
5804
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5607
5805
|
exports.TendoComo = void 0;
|
|
@@ -5624,7 +5822,7 @@ class TendoComo extends declaracao_1.Declaracao {
|
|
|
5624
5822
|
}
|
|
5625
5823
|
exports.TendoComo = TendoComo;
|
|
5626
5824
|
|
|
5627
|
-
},{"./declaracao":
|
|
5825
|
+
},{"./declaracao":71}],92:[function(require,module,exports){
|
|
5628
5826
|
"use strict";
|
|
5629
5827
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5630
5828
|
exports.Tente = void 0;
|
|
@@ -5646,7 +5844,7 @@ class Tente extends declaracao_1.Declaracao {
|
|
|
5646
5844
|
}
|
|
5647
5845
|
exports.Tente = Tente;
|
|
5648
5846
|
|
|
5649
|
-
},{"./declaracao":
|
|
5847
|
+
},{"./declaracao":71}],93:[function(require,module,exports){
|
|
5650
5848
|
"use strict";
|
|
5651
5849
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5652
5850
|
exports.VarMultiplo = void 0;
|
|
@@ -5668,7 +5866,7 @@ class VarMultiplo extends declaracao_1.Declaracao {
|
|
|
5668
5866
|
}
|
|
5669
5867
|
exports.VarMultiplo = VarMultiplo;
|
|
5670
5868
|
|
|
5671
|
-
},{"./declaracao":
|
|
5869
|
+
},{"./declaracao":71}],94:[function(require,module,exports){
|
|
5672
5870
|
"use strict";
|
|
5673
5871
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5674
5872
|
exports.Var = void 0;
|
|
@@ -5696,7 +5894,7 @@ class Var extends declaracao_1.Declaracao {
|
|
|
5696
5894
|
}
|
|
5697
5895
|
exports.Var = Var;
|
|
5698
5896
|
|
|
5699
|
-
},{"./declaracao":
|
|
5897
|
+
},{"./declaracao":71}],95:[function(require,module,exports){
|
|
5700
5898
|
"use strict";
|
|
5701
5899
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5702
5900
|
exports.default = cyrb53;
|
|
@@ -5720,7 +5918,7 @@ function cyrb53(nomeArquivo, semente = 0) {
|
|
|
5720
5918
|
return 4294967296 * (2097151 & h2) + (h1 >>> 0);
|
|
5721
5919
|
}
|
|
5722
5920
|
|
|
5723
|
-
},{}],
|
|
5921
|
+
},{}],96:[function(require,module,exports){
|
|
5724
5922
|
"use strict";
|
|
5725
5923
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5726
5924
|
if (k2 === undefined) k2 = k;
|
|
@@ -5745,11 +5943,11 @@ var cyrb53_1 = require("./cyrb53");
|
|
|
5745
5943
|
Object.defineProperty(exports, "cyrb53", { enumerable: true, get: function () { return __importDefault(cyrb53_1).default; } });
|
|
5746
5944
|
__exportStar(require("./ponto-parada"), exports);
|
|
5747
5945
|
|
|
5748
|
-
},{"./cyrb53":
|
|
5946
|
+
},{"./cyrb53":95,"./ponto-parada":97}],97:[function(require,module,exports){
|
|
5749
5947
|
"use strict";
|
|
5750
5948
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5751
5949
|
|
|
5752
|
-
},{}],
|
|
5950
|
+
},{}],98:[function(require,module,exports){
|
|
5753
5951
|
"use strict";
|
|
5754
5952
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5755
5953
|
exports.EspacoVariaveis = void 0;
|
|
@@ -5770,7 +5968,7 @@ class EspacoVariaveis {
|
|
|
5770
5968
|
}
|
|
5771
5969
|
exports.EspacoVariaveis = EspacoVariaveis;
|
|
5772
5970
|
|
|
5773
|
-
},{}],
|
|
5971
|
+
},{}],99:[function(require,module,exports){
|
|
5774
5972
|
"use strict";
|
|
5775
5973
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5776
5974
|
exports.Chamavel = void 0;
|
|
@@ -5784,7 +5982,7 @@ class Chamavel {
|
|
|
5784
5982
|
}
|
|
5785
5983
|
exports.Chamavel = Chamavel;
|
|
5786
5984
|
|
|
5787
|
-
},{}],
|
|
5985
|
+
},{}],100:[function(require,module,exports){
|
|
5788
5986
|
"use strict";
|
|
5789
5987
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5790
5988
|
exports.ClassePadrao = void 0;
|
|
@@ -5825,7 +6023,7 @@ class ClassePadrao extends chamavel_1.Chamavel {
|
|
|
5825
6023
|
}
|
|
5826
6024
|
exports.ClassePadrao = ClassePadrao;
|
|
5827
6025
|
|
|
5828
|
-
},{"./chamavel":
|
|
6026
|
+
},{"./chamavel":99}],101:[function(require,module,exports){
|
|
5829
6027
|
"use strict";
|
|
5830
6028
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5831
6029
|
exports.DeleguaFuncao = void 0;
|
|
@@ -5967,7 +6165,7 @@ class DeleguaFuncao extends chamavel_1.Chamavel {
|
|
|
5967
6165
|
}
|
|
5968
6166
|
exports.DeleguaFuncao = DeleguaFuncao;
|
|
5969
6167
|
|
|
5970
|
-
},{"../declaracoes":
|
|
6168
|
+
},{"../declaracoes":81,"../espaco-variaveis":98,"../inferenciador":115,"../quebras":159,"./chamavel":99}],102:[function(require,module,exports){
|
|
5971
6169
|
"use strict";
|
|
5972
6170
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5973
6171
|
exports.DescritorTipoClasse = void 0;
|
|
@@ -6048,7 +6246,7 @@ class DescritorTipoClasse extends chamavel_1.Chamavel {
|
|
|
6048
6246
|
}
|
|
6049
6247
|
exports.DescritorTipoClasse = DescritorTipoClasse;
|
|
6050
6248
|
|
|
6051
|
-
},{"../excecoes":
|
|
6249
|
+
},{"../excecoes":110,"./chamavel":99,"./objeto-delegua-classe":107}],103:[function(require,module,exports){
|
|
6052
6250
|
"use strict";
|
|
6053
6251
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6054
6252
|
exports.FuncaoPadrao = void 0;
|
|
@@ -6084,7 +6282,7 @@ class FuncaoPadrao extends chamavel_1.Chamavel {
|
|
|
6084
6282
|
}
|
|
6085
6283
|
exports.FuncaoPadrao = FuncaoPadrao;
|
|
6086
6284
|
|
|
6087
|
-
},{"./chamavel":
|
|
6285
|
+
},{"./chamavel":99}],104:[function(require,module,exports){
|
|
6088
6286
|
"use strict";
|
|
6089
6287
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6090
6288
|
if (k2 === undefined) k2 = k;
|
|
@@ -6111,7 +6309,7 @@ __exportStar(require("./modulo"), exports);
|
|
|
6111
6309
|
__exportStar(require("./objeto-delegua-classe"), exports);
|
|
6112
6310
|
__exportStar(require("./objeto-padrao"), exports);
|
|
6113
6311
|
|
|
6114
|
-
},{"./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){
|
|
6115
6313
|
"use strict";
|
|
6116
6314
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6117
6315
|
exports.MetodoPrimitiva = void 0;
|
|
@@ -6153,7 +6351,7 @@ class MetodoPrimitiva extends chamavel_1.Chamavel {
|
|
|
6153
6351
|
}
|
|
6154
6352
|
exports.MetodoPrimitiva = MetodoPrimitiva;
|
|
6155
6353
|
|
|
6156
|
-
},{"./chamavel":
|
|
6354
|
+
},{"./chamavel":99}],106:[function(require,module,exports){
|
|
6157
6355
|
"use strict";
|
|
6158
6356
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6159
6357
|
exports.DeleguaModulo = void 0;
|
|
@@ -6179,7 +6377,7 @@ class DeleguaModulo {
|
|
|
6179
6377
|
}
|
|
6180
6378
|
exports.DeleguaModulo = DeleguaModulo;
|
|
6181
6379
|
|
|
6182
|
-
},{}],
|
|
6380
|
+
},{}],107:[function(require,module,exports){
|
|
6183
6381
|
"use strict";
|
|
6184
6382
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6185
6383
|
exports.ObjetoDeleguaClasse = void 0;
|
|
@@ -6211,6 +6409,18 @@ class ObjetoDeleguaClasse {
|
|
|
6211
6409
|
return metodo.funcaoPorMetodoDeClasse(this);
|
|
6212
6410
|
throw new excecoes_1.ErroEmTempoDeExecucao(simbolo, `Método ou propriedade "${simbolo.lexema}" não existe neste objeto.`);
|
|
6213
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
|
+
}
|
|
6214
6424
|
definir(simbolo, valor) {
|
|
6215
6425
|
if (this.classe.dialetoRequerDeclaracaoPropriedades && !this.propriedades.hasOwnProperty(simbolo.lexema)) {
|
|
6216
6426
|
throw new excecoes_1.ErroEmTempoDeExecucao(simbolo, `Propriedade "${simbolo.lexema}" não foi definida na declaração da classe ${this.classe.simboloOriginal.lexema}.`);
|
|
@@ -6234,7 +6444,7 @@ class ObjetoDeleguaClasse {
|
|
|
6234
6444
|
}
|
|
6235
6445
|
exports.ObjetoDeleguaClasse = ObjetoDeleguaClasse;
|
|
6236
6446
|
|
|
6237
|
-
},{"../excecoes":
|
|
6447
|
+
},{"../excecoes":110}],108:[function(require,module,exports){
|
|
6238
6448
|
"use strict";
|
|
6239
6449
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6240
6450
|
exports.ObjetoPadrao = void 0;
|
|
@@ -6268,7 +6478,7 @@ class ObjetoPadrao {
|
|
|
6268
6478
|
}
|
|
6269
6479
|
exports.ObjetoPadrao = ObjetoPadrao;
|
|
6270
6480
|
|
|
6271
|
-
},{}],
|
|
6481
|
+
},{}],109:[function(require,module,exports){
|
|
6272
6482
|
"use strict";
|
|
6273
6483
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6274
6484
|
exports.ErroEmTempoDeExecucao = void 0;
|
|
@@ -6283,7 +6493,7 @@ class ErroEmTempoDeExecucao extends Error {
|
|
|
6283
6493
|
}
|
|
6284
6494
|
exports.ErroEmTempoDeExecucao = ErroEmTempoDeExecucao;
|
|
6285
6495
|
|
|
6286
|
-
},{}],
|
|
6496
|
+
},{}],110:[function(require,module,exports){
|
|
6287
6497
|
"use strict";
|
|
6288
6498
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6289
6499
|
if (k2 === undefined) k2 = k;
|
|
@@ -6302,7 +6512,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
6302
6512
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6303
6513
|
__exportStar(require("./erro-em-tempo-de-execucao"), exports);
|
|
6304
6514
|
|
|
6305
|
-
},{"./erro-em-tempo-de-execucao":
|
|
6515
|
+
},{"./erro-em-tempo-de-execucao":109}],111:[function(require,module,exports){
|
|
6306
6516
|
"use strict";
|
|
6307
6517
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6308
6518
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -6324,6 +6534,16 @@ class FormatadorDelegua {
|
|
|
6324
6534
|
this.devePularLinha = true;
|
|
6325
6535
|
this.deveIndentar = true;
|
|
6326
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
|
+
}
|
|
6327
6547
|
visitarDeclaracaoComentario(declaracao) {
|
|
6328
6548
|
if (declaracao.multilinha) {
|
|
6329
6549
|
this.codigoFormatado += `${' '.repeat(this.indentacaoAtual)}/* `;
|
|
@@ -6571,7 +6791,7 @@ class FormatadorDelegua {
|
|
|
6571
6791
|
this.formatarDeclaracaoOuConstruto(expressao.indice);
|
|
6572
6792
|
this.codigoFormatado += `]`;
|
|
6573
6793
|
}
|
|
6574
|
-
|
|
6794
|
+
visitarExpressaoAcessoMetodoOuPropriedade(expressao) {
|
|
6575
6795
|
this.formatarDeclaracaoOuConstruto(expressao.objeto);
|
|
6576
6796
|
this.codigoFormatado += '.';
|
|
6577
6797
|
this.codigoFormatado += expressao.simbolo.lexema;
|
|
@@ -6843,7 +7063,7 @@ class FormatadorDelegua {
|
|
|
6843
7063
|
this.visitarExpressaoAcessoIndiceVariavel(declaracaoOuConstruto);
|
|
6844
7064
|
break;
|
|
6845
7065
|
case 'AcessoMetodoOuPropriedade':
|
|
6846
|
-
this.
|
|
7066
|
+
this.visitarExpressaoAcessoMetodoOuPropriedade(declaracaoOuConstruto);
|
|
6847
7067
|
break;
|
|
6848
7068
|
case 'Agrupamento':
|
|
6849
7069
|
this.visitarExpressaoAgrupamento(declaracaoOuConstruto);
|
|
@@ -6980,7 +7200,7 @@ class FormatadorDelegua {
|
|
|
6980
7200
|
}
|
|
6981
7201
|
exports.FormatadorDelegua = FormatadorDelegua;
|
|
6982
7202
|
|
|
6983
|
-
},{"../construtos":
|
|
7203
|
+
},{"../construtos":43,"../tipos-de-simbolos/delegua":163}],112:[function(require,module,exports){
|
|
6984
7204
|
"use strict";
|
|
6985
7205
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6986
7206
|
if (k2 === undefined) k2 = k;
|
|
@@ -6999,7 +7219,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
6999
7219
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7000
7220
|
__exportStar(require("./formatador-delegua"), exports);
|
|
7001
7221
|
|
|
7002
|
-
},{"./formatador-delegua":
|
|
7222
|
+
},{"./formatador-delegua":111}],113:[function(require,module,exports){
|
|
7003
7223
|
"use strict";
|
|
7004
7224
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7005
7225
|
exports.uuidv4 = uuidv4;
|
|
@@ -7023,7 +7243,7 @@ function uuidv4() {
|
|
|
7023
7243
|
});
|
|
7024
7244
|
}
|
|
7025
7245
|
|
|
7026
|
-
},{}],
|
|
7246
|
+
},{}],114:[function(require,module,exports){
|
|
7027
7247
|
"use strict";
|
|
7028
7248
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7029
7249
|
if (k2 === undefined) k2 = k;
|
|
@@ -7052,7 +7272,7 @@ __exportStar(require("./interpretador"), exports);
|
|
|
7052
7272
|
__exportStar(require("./lexador"), exports);
|
|
7053
7273
|
__exportStar(require("./tradutores"), exports);
|
|
7054
7274
|
|
|
7055
|
-
},{"./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){
|
|
7056
7276
|
"use strict";
|
|
7057
7277
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7058
7278
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -7179,15 +7399,15 @@ function tipoInferenciaParaTipoDadosElementar(tipoInferencia) {
|
|
|
7179
7399
|
}
|
|
7180
7400
|
}
|
|
7181
7401
|
|
|
7182
|
-
},{"./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){
|
|
7183
7403
|
"use strict";
|
|
7184
7404
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7185
7405
|
|
|
7186
|
-
},{}],
|
|
7406
|
+
},{}],117:[function(require,module,exports){
|
|
7187
7407
|
"use strict";
|
|
7188
7408
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7189
7409
|
|
|
7190
|
-
},{}],
|
|
7410
|
+
},{}],118:[function(require,module,exports){
|
|
7191
7411
|
"use strict";
|
|
7192
7412
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7193
7413
|
exports.DiagnosticoSeveridade = void 0;
|
|
@@ -7199,7 +7419,7 @@ var DiagnosticoSeveridade;
|
|
|
7199
7419
|
DiagnosticoSeveridade[DiagnosticoSeveridade["SUGESTAO"] = 3] = "SUGESTAO";
|
|
7200
7420
|
})(DiagnosticoSeveridade || (exports.DiagnosticoSeveridade = DiagnosticoSeveridade = {}));
|
|
7201
7421
|
|
|
7202
|
-
},{}],
|
|
7422
|
+
},{}],119:[function(require,module,exports){
|
|
7203
7423
|
"use strict";
|
|
7204
7424
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7205
7425
|
if (k2 === undefined) k2 = k;
|
|
@@ -7218,11 +7438,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
7218
7438
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7219
7439
|
__exportStar(require("./diagnostico-analisador-semantico"), exports);
|
|
7220
7440
|
|
|
7221
|
-
},{"./diagnostico-analisador-semantico":
|
|
7441
|
+
},{"./diagnostico-analisador-semantico":118}],120:[function(require,module,exports){
|
|
7222
7442
|
"use strict";
|
|
7223
7443
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7224
7444
|
|
|
7225
|
-
},{}],
|
|
7445
|
+
},{}],121:[function(require,module,exports){
|
|
7226
7446
|
"use strict";
|
|
7227
7447
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7228
7448
|
if (k2 === undefined) k2 = k;
|
|
@@ -7246,6 +7466,7 @@ __exportStar(require("./interpretador-interface"), exports);
|
|
|
7246
7466
|
__exportStar(require("./lexador-interface"), exports);
|
|
7247
7467
|
__exportStar(require("./parametro-interface"), exports);
|
|
7248
7468
|
__exportStar(require("./pilha-interface"), exports);
|
|
7469
|
+
__exportStar(require("./primitiva-interface"), exports);
|
|
7249
7470
|
__exportStar(require("./resolvedor-interface"), exports);
|
|
7250
7471
|
__exportStar(require("./retornos/retorno-execucao-interface"), exports);
|
|
7251
7472
|
__exportStar(require("./simbolo-interface"), exports);
|
|
@@ -7256,31 +7477,35 @@ __exportStar(require("./construtos"), exports);
|
|
|
7256
7477
|
__exportStar(require("./erros"), exports);
|
|
7257
7478
|
__exportStar(require("./retornos"), exports);
|
|
7258
7479
|
|
|
7259
|
-
},{"./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){
|
|
7260
7481
|
"use strict";
|
|
7261
7482
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7262
7483
|
|
|
7263
|
-
},{}],
|
|
7484
|
+
},{}],123:[function(require,module,exports){
|
|
7485
|
+
"use strict";
|
|
7486
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7487
|
+
|
|
7488
|
+
},{}],124:[function(require,module,exports){
|
|
7264
7489
|
"use strict";
|
|
7265
7490
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7266
7491
|
|
|
7267
|
-
},{}],
|
|
7492
|
+
},{}],125:[function(require,module,exports){
|
|
7268
7493
|
"use strict";
|
|
7269
7494
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7270
7495
|
|
|
7271
|
-
},{}],
|
|
7496
|
+
},{}],126:[function(require,module,exports){
|
|
7272
7497
|
"use strict";
|
|
7273
7498
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7274
7499
|
|
|
7275
|
-
},{}],
|
|
7500
|
+
},{}],127:[function(require,module,exports){
|
|
7276
7501
|
"use strict";
|
|
7277
7502
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7278
7503
|
|
|
7279
|
-
},{}],
|
|
7504
|
+
},{}],128:[function(require,module,exports){
|
|
7280
7505
|
"use strict";
|
|
7281
7506
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7282
7507
|
|
|
7283
|
-
},{}],
|
|
7508
|
+
},{}],129:[function(require,module,exports){
|
|
7284
7509
|
"use strict";
|
|
7285
7510
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7286
7511
|
if (k2 === undefined) k2 = k;
|
|
@@ -7302,39 +7527,39 @@ __exportStar(require("./retorno-execucao-interface"), exports);
|
|
|
7302
7527
|
__exportStar(require("./retorno-interpretador"), exports);
|
|
7303
7528
|
__exportStar(require("./retorno-lexador"), exports);
|
|
7304
7529
|
|
|
7305
|
-
},{"./retorno-avaliador-sintatico":
|
|
7530
|
+
},{"./retorno-avaliador-sintatico":130,"./retorno-execucao-interface":131,"./retorno-interpretador":132,"./retorno-lexador":133}],130:[function(require,module,exports){
|
|
7306
7531
|
"use strict";
|
|
7307
7532
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7308
7533
|
|
|
7309
|
-
},{}],
|
|
7534
|
+
},{}],131:[function(require,module,exports){
|
|
7310
7535
|
"use strict";
|
|
7311
7536
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7312
7537
|
|
|
7313
|
-
},{}],
|
|
7538
|
+
},{}],132:[function(require,module,exports){
|
|
7314
7539
|
"use strict";
|
|
7315
7540
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7316
7541
|
|
|
7317
|
-
},{}],
|
|
7542
|
+
},{}],133:[function(require,module,exports){
|
|
7318
7543
|
"use strict";
|
|
7319
7544
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7320
7545
|
|
|
7321
|
-
},{}],
|
|
7546
|
+
},{}],134:[function(require,module,exports){
|
|
7322
7547
|
"use strict";
|
|
7323
7548
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7324
7549
|
|
|
7325
|
-
},{}],
|
|
7550
|
+
},{}],135:[function(require,module,exports){
|
|
7326
7551
|
"use strict";
|
|
7327
7552
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7328
7553
|
|
|
7329
|
-
},{}],
|
|
7554
|
+
},{}],136:[function(require,module,exports){
|
|
7330
7555
|
"use strict";
|
|
7331
7556
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7332
7557
|
|
|
7333
|
-
},{}],
|
|
7558
|
+
},{}],137:[function(require,module,exports){
|
|
7334
7559
|
"use strict";
|
|
7335
7560
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7336
7561
|
|
|
7337
|
-
},{}],
|
|
7562
|
+
},{}],138:[function(require,module,exports){
|
|
7338
7563
|
"use strict";
|
|
7339
7564
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7340
7565
|
if (k2 === undefined) k2 = k;
|
|
@@ -7387,7 +7612,7 @@ function carregarBibliotecasGlobais(pilhaEscoposExecucao) {
|
|
|
7387
7612
|
pilhaEscoposExecucao.definirVariavel('tupla', new funcao_padrao_1.FuncaoPadrao(1, bibliotecaGlobal.tupla));
|
|
7388
7613
|
}
|
|
7389
7614
|
|
|
7390
|
-
},{"../bibliotecas/biblioteca-global":17,"../estruturas/funcao-padrao":
|
|
7615
|
+
},{"../bibliotecas/biblioteca-global":17,"../estruturas/funcao-padrao":103}],139:[function(require,module,exports){
|
|
7391
7616
|
"use strict";
|
|
7392
7617
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7393
7618
|
if (k2 === undefined) k2 = k;
|
|
@@ -7404,10 +7629,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
7404
7629
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
7405
7630
|
};
|
|
7406
7631
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7632
|
+
__exportStar(require("./interpretador"), exports);
|
|
7407
7633
|
__exportStar(require("./interpretador-base"), exports);
|
|
7408
7634
|
__exportStar(require("./interpretador-com-depuracao"), exports);
|
|
7409
7635
|
|
|
7410
|
-
},{"./interpretador-base":
|
|
7636
|
+
},{"./interpretador":142,"./interpretador-base":140,"./interpretador-com-depuracao":141}],140:[function(require,module,exports){
|
|
7411
7637
|
(function (process){(function (){
|
|
7412
7638
|
"use strict";
|
|
7413
7639
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -7483,6 +7709,12 @@ class InterpretadorBase {
|
|
|
7483
7709
|
this.pilhaEscoposExecucao.empilhar(escopoExecucao);
|
|
7484
7710
|
(0, comum_1.carregarBibliotecasGlobais)(this.pilhaEscoposExecucao);
|
|
7485
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
|
+
}
|
|
7486
7718
|
/**
|
|
7487
7719
|
* Construtos de comentários não têm utilidade para o Interpretador.
|
|
7488
7720
|
* Apenas retornamos `Promise.resolve()` para não termos erros.
|
|
@@ -7539,7 +7771,8 @@ class InterpretadorBase {
|
|
|
7539
7771
|
}
|
|
7540
7772
|
async visitarExpressaoTipoDe(expressao) {
|
|
7541
7773
|
let tipoDe = expressao.valor;
|
|
7542
|
-
if (tipoDe instanceof construtos_1.
|
|
7774
|
+
if (tipoDe instanceof construtos_1.AcessoIndiceVariavel ||
|
|
7775
|
+
tipoDe instanceof construtos_1.Agrupamento ||
|
|
7543
7776
|
tipoDe instanceof construtos_1.Binario ||
|
|
7544
7777
|
tipoDe instanceof construtos_1.Chamada ||
|
|
7545
7778
|
tipoDe instanceof construtos_1.Dicionario ||
|
|
@@ -8032,12 +8265,10 @@ class InterpretadorBase {
|
|
|
8032
8265
|
if (Array.isArray(direita) || typeof direita === primitivos_1.default.TEXTO) {
|
|
8033
8266
|
return direita.includes(esquerda);
|
|
8034
8267
|
}
|
|
8035
|
-
else if (direita
|
|
8036
|
-
return esquerda in direita;
|
|
8037
|
-
}
|
|
8038
|
-
else {
|
|
8039
|
-
throw new excecoes_1.ErroEmTempoDeExecucao(esquerda, "Tipo de chamada inválida com 'em'.", expressao.linha);
|
|
8268
|
+
else if (direita !== null && typeof direita === 'object') {
|
|
8269
|
+
return esquerda in direita || (direita.valor !== undefined && esquerda in direita.valor);
|
|
8040
8270
|
}
|
|
8271
|
+
throw new excecoes_1.ErroEmTempoDeExecucao(esquerda, "Tipo de chamada inválida com 'em'.", expressao.linha);
|
|
8041
8272
|
}
|
|
8042
8273
|
// se um estado for verdadeiro, retorna verdadeiro
|
|
8043
8274
|
if (expressao.operador.tipo === delegua_1.default.OU) {
|
|
@@ -8088,6 +8319,9 @@ class InterpretadorBase {
|
|
|
8088
8319
|
}
|
|
8089
8320
|
async visitarDeclaracaoParaCada(declaracao) {
|
|
8090
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;
|
|
8091
8325
|
const vetorResolvido = await this.avaliar(declaracao.vetor);
|
|
8092
8326
|
const valorVetorResolvido = vetorResolvido.hasOwnProperty('valor') ? vetorResolvido.valor : vetorResolvido;
|
|
8093
8327
|
if (!Array.isArray(valorVetorResolvido)) {
|
|
@@ -8244,7 +8478,7 @@ class InterpretadorBase {
|
|
|
8244
8478
|
}
|
|
8245
8479
|
else {
|
|
8246
8480
|
const literalErro = new construtos_1.Literal(declaracao.hashArquivo, Number(declaracao.linha), erro.mensagem);
|
|
8247
|
-
const chamadaPegue = new construtos_1.Chamada(declaracao.caminhoPegue.hashArquivo, declaracao.caminhoPegue,
|
|
8481
|
+
const chamadaPegue = new construtos_1.Chamada(declaracao.caminhoPegue.hashArquivo, declaracao.caminhoPegue, [literalErro]);
|
|
8248
8482
|
valorRetorno = await chamadaPegue.aceitar(this);
|
|
8249
8483
|
}
|
|
8250
8484
|
}
|
|
@@ -8534,7 +8768,7 @@ class InterpretadorBase {
|
|
|
8534
8768
|
* @param {AcessoMetodoOuPropriedade} expressao A expressão de acesso.
|
|
8535
8769
|
* @returns O resultado da execução.
|
|
8536
8770
|
*/
|
|
8537
|
-
async
|
|
8771
|
+
async visitarExpressaoAcessoMetodoOuPropriedade(expressao) {
|
|
8538
8772
|
let variavelObjeto = await this.avaliar(expressao.objeto);
|
|
8539
8773
|
// Este caso acontece quando há encadeamento de métodos.
|
|
8540
8774
|
// Por exemplo, `objeto1.metodo1().metodo2()`.
|
|
@@ -8547,12 +8781,15 @@ class InterpretadorBase {
|
|
|
8547
8781
|
// Outro caso que `instanceof` simplesmente não funciona para casos em Liquido,
|
|
8548
8782
|
// então testamos também o nome do construtor.
|
|
8549
8783
|
if (objeto instanceof estruturas_1.ObjetoDeleguaClasse || objeto.constructor.name === 'ObjetoDeleguaClasse') {
|
|
8550
|
-
|
|
8784
|
+
const valor = objeto.obter(expressao.simbolo);
|
|
8785
|
+
if (valor === 0)
|
|
8786
|
+
return 0;
|
|
8787
|
+
return valor || null;
|
|
8551
8788
|
}
|
|
8552
8789
|
// Objeto simples do JavaScript, ou dicionário de Delégua.
|
|
8553
8790
|
if (objeto.constructor === Object) {
|
|
8554
|
-
|
|
8555
|
-
|
|
8791
|
+
if (expressao.simbolo.lexema in primitivas_dicionario_1.default) {
|
|
8792
|
+
const metodoDePrimitivaDicionario = primitivas_dicionario_1.default[expressao.simbolo.lexema].implementacao;
|
|
8556
8793
|
return new metodo_primitiva_1.MetodoPrimitiva(objeto, metodoDePrimitivaDicionario);
|
|
8557
8794
|
}
|
|
8558
8795
|
return objeto[expressao.simbolo.lexema] || null;
|
|
@@ -8584,13 +8821,13 @@ class InterpretadorBase {
|
|
|
8584
8821
|
case delegua_2.default.INTEIRO:
|
|
8585
8822
|
case delegua_2.default.NUMERO:
|
|
8586
8823
|
case delegua_2.default.NÚMERO:
|
|
8587
|
-
const metodoDePrimitivaNumero = primitivas_numero_1.default[expressao.simbolo.lexema];
|
|
8824
|
+
const metodoDePrimitivaNumero = primitivas_numero_1.default[expressao.simbolo.lexema].implementacao;
|
|
8588
8825
|
if (metodoDePrimitivaNumero) {
|
|
8589
8826
|
return new metodo_primitiva_1.MetodoPrimitiva(objeto, metodoDePrimitivaNumero);
|
|
8590
8827
|
}
|
|
8591
8828
|
break;
|
|
8592
8829
|
case delegua_2.default.TEXTO:
|
|
8593
|
-
const metodoDePrimitivaTexto = primitivas_texto_1.default[expressao.simbolo.lexema];
|
|
8830
|
+
const metodoDePrimitivaTexto = primitivas_texto_1.default[expressao.simbolo.lexema].implementacao;
|
|
8594
8831
|
if (metodoDePrimitivaTexto) {
|
|
8595
8832
|
return new metodo_primitiva_1.MetodoPrimitiva(objeto, metodoDePrimitivaTexto);
|
|
8596
8833
|
}
|
|
@@ -8599,7 +8836,7 @@ class InterpretadorBase {
|
|
|
8599
8836
|
case delegua_2.default.VETOR_NUMERO:
|
|
8600
8837
|
case delegua_2.default.VETOR_NÚMERO:
|
|
8601
8838
|
case delegua_2.default.VETOR_TEXTO:
|
|
8602
|
-
const metodoDePrimitivaVetor = primitivas_vetor_1.default[expressao.simbolo.lexema];
|
|
8839
|
+
const metodoDePrimitivaVetor = primitivas_vetor_1.default[expressao.simbolo.lexema].implementacao;
|
|
8603
8840
|
if (metodoDePrimitivaVetor) {
|
|
8604
8841
|
return new metodo_primitiva_1.MetodoPrimitiva(objeto, metodoDePrimitivaVetor);
|
|
8605
8842
|
}
|
|
@@ -8617,6 +8854,15 @@ class InterpretadorBase {
|
|
|
8617
8854
|
const dicionario = {};
|
|
8618
8855
|
for (let i = 0; i < expressao.chaves.length; i++) {
|
|
8619
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
|
+
}
|
|
8620
8866
|
dicionario[promises[0]] = promises[1];
|
|
8621
8867
|
}
|
|
8622
8868
|
return dicionario;
|
|
@@ -8823,7 +9069,7 @@ class InterpretadorBase {
|
|
|
8823
9069
|
exports.InterpretadorBase = InterpretadorBase;
|
|
8824
9070
|
|
|
8825
9071
|
}).call(this)}).call(this,require('_process'))
|
|
8826
|
-
},{"../avaliador-sintatico":8,"../bibliotecas/primitivas-dicionario":18,"../bibliotecas/primitivas-numero":19,"../bibliotecas/primitivas-texto":20,"../bibliotecas/primitivas-vetor":21,"../construtos":
|
|
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){
|
|
8827
9073
|
"use strict";
|
|
8828
9074
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8829
9075
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9395,7 +9641,177 @@ class InterpretadorComDepuracao extends interpretador_base_1.InterpretadorBase {
|
|
|
9395
9641
|
}
|
|
9396
9642
|
exports.InterpretadorComDepuracao = InterpretadorComDepuracao;
|
|
9397
9643
|
|
|
9398
|
-
},{"../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){
|
|
9399
9815
|
"use strict";
|
|
9400
9816
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9401
9817
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9646,7 +10062,7 @@ class PilhaEscoposExecucao {
|
|
|
9646
10062
|
}
|
|
9647
10063
|
exports.PilhaEscoposExecucao = PilhaEscoposExecucao;
|
|
9648
10064
|
|
|
9649
|
-
},{"../estruturas":
|
|
10065
|
+
},{"../estruturas":104,"../excecoes":110,"../inferenciador":115,"../lexador":152,"../tipos-de-dados/delegua":160}],144:[function(require,module,exports){
|
|
9650
10066
|
"use strict";
|
|
9651
10067
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9652
10068
|
if (k2 === undefined) k2 = k;
|
|
@@ -9668,7 +10084,7 @@ __exportStar(require("./lexador-pitugues"), exports);
|
|
|
9668
10084
|
__exportStar(require("./lexador-guarani"), exports);
|
|
9669
10085
|
__exportStar(require("./lexador-portugol-ipt"), exports);
|
|
9670
10086
|
|
|
9671
|
-
},{"./lexador-egua-classico":
|
|
10087
|
+
},{"./lexador-egua-classico":145,"./lexador-guarani":146,"./lexador-pitugues":147,"./lexador-portugol-ipt":148}],145:[function(require,module,exports){
|
|
9672
10088
|
"use strict";
|
|
9673
10089
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9674
10090
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9956,7 +10372,7 @@ class LexadorEguaClassico {
|
|
|
9956
10372
|
}
|
|
9957
10373
|
exports.LexadorEguaClassico = LexadorEguaClassico;
|
|
9958
10374
|
|
|
9959
|
-
},{"../../tipos-de-simbolos/egua-classico":
|
|
10375
|
+
},{"../../tipos-de-simbolos/egua-classico":164,"../simbolo":158,"./palavras-reservadas/egua-classico":149}],146:[function(require,module,exports){
|
|
9960
10376
|
"use strict";
|
|
9961
10377
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9962
10378
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10071,7 +10487,7 @@ class LexadorGuarani extends lexador_base_1.LexadorBase {
|
|
|
10071
10487
|
}
|
|
10072
10488
|
exports.LexadorGuarani = LexadorGuarani;
|
|
10073
10489
|
|
|
10074
|
-
},{"../../tipos-de-simbolos/guarani":
|
|
10490
|
+
},{"../../tipos-de-simbolos/guarani":165,"../lexador-base":154,"./palavras-reservadas/guarani":150}],147:[function(require,module,exports){
|
|
10075
10491
|
"use strict";
|
|
10076
10492
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10077
10493
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10471,7 +10887,7 @@ class LexadorPitugues {
|
|
|
10471
10887
|
}
|
|
10472
10888
|
exports.LexadorPitugues = LexadorPitugues;
|
|
10473
10889
|
|
|
10474
|
-
},{"../../tipos-de-simbolos/pitugues":
|
|
10890
|
+
},{"../../tipos-de-simbolos/pitugues":167,"../palavras-reservadas":157,"../simbolo":158,"browser-process-hrtime":339}],148:[function(require,module,exports){
|
|
10475
10891
|
"use strict";
|
|
10476
10892
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10477
10893
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10710,7 +11126,7 @@ class LexadorPortugolIpt {
|
|
|
10710
11126
|
}
|
|
10711
11127
|
exports.LexadorPortugolIpt = LexadorPortugolIpt;
|
|
10712
11128
|
|
|
10713
|
-
},{"../../tipos-de-simbolos/portugol-ipt":
|
|
11129
|
+
},{"../../tipos-de-simbolos/portugol-ipt":168,"../simbolo":158,"./palavras-reservadas/portugol-ipt":151}],149:[function(require,module,exports){
|
|
10714
11130
|
"use strict";
|
|
10715
11131
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10716
11132
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10751,7 +11167,7 @@ exports.palavrasReservadas = {
|
|
|
10751
11167
|
verdadeiro: egua_classico_1.default.VERDADEIRO,
|
|
10752
11168
|
};
|
|
10753
11169
|
|
|
10754
|
-
},{"../../../tipos-de-simbolos/egua-classico":
|
|
11170
|
+
},{"../../../tipos-de-simbolos/egua-classico":164}],150:[function(require,module,exports){
|
|
10755
11171
|
"use strict";
|
|
10756
11172
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10757
11173
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10763,7 +11179,7 @@ exports.palavrasReservadas = {
|
|
|
10763
11179
|
hai: guarani_1.default.HAI,
|
|
10764
11180
|
};
|
|
10765
11181
|
|
|
10766
|
-
},{"../../../tipos-de-simbolos/guarani":
|
|
11182
|
+
},{"../../../tipos-de-simbolos/guarani":165}],151:[function(require,module,exports){
|
|
10767
11183
|
"use strict";
|
|
10768
11184
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10769
11185
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10785,7 +11201,7 @@ exports.palavrasReservadas = {
|
|
|
10785
11201
|
senão: portugol_ipt_1.default.SENAO,
|
|
10786
11202
|
};
|
|
10787
11203
|
|
|
10788
|
-
},{"../../../tipos-de-simbolos/portugol-ipt":
|
|
11204
|
+
},{"../../../tipos-de-simbolos/portugol-ipt":168}],152:[function(require,module,exports){
|
|
10789
11205
|
"use strict";
|
|
10790
11206
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10791
11207
|
if (k2 === undefined) k2 = k;
|
|
@@ -10807,7 +11223,7 @@ __exportStar(require("./lexador-base-linha-unica"), exports);
|
|
|
10807
11223
|
__exportStar(require("./micro-lexador"), exports);
|
|
10808
11224
|
__exportStar(require("./simbolo"), exports);
|
|
10809
11225
|
|
|
10810
|
-
},{"./lexador":
|
|
11226
|
+
},{"./lexador":155,"./lexador-base-linha-unica":153,"./micro-lexador":156,"./simbolo":158}],153:[function(require,module,exports){
|
|
10811
11227
|
"use strict";
|
|
10812
11228
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10813
11229
|
exports.LexadorBaseLinhaUnica = void 0;
|
|
@@ -10891,7 +11307,7 @@ class LexadorBaseLinhaUnica {
|
|
|
10891
11307
|
}
|
|
10892
11308
|
exports.LexadorBaseLinhaUnica = LexadorBaseLinhaUnica;
|
|
10893
11309
|
|
|
10894
|
-
},{"./simbolo":
|
|
11310
|
+
},{"./simbolo":158}],154:[function(require,module,exports){
|
|
10895
11311
|
"use strict";
|
|
10896
11312
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10897
11313
|
exports.LexadorBase = void 0;
|
|
@@ -11005,7 +11421,7 @@ class LexadorBase {
|
|
|
11005
11421
|
}
|
|
11006
11422
|
exports.LexadorBase = LexadorBase;
|
|
11007
11423
|
|
|
11008
|
-
},{"./simbolo":
|
|
11424
|
+
},{"./simbolo":158}],155:[function(require,module,exports){
|
|
11009
11425
|
"use strict";
|
|
11010
11426
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11011
11427
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11450,7 +11866,7 @@ class Lexador {
|
|
|
11450
11866
|
}
|
|
11451
11867
|
exports.Lexador = Lexador;
|
|
11452
11868
|
|
|
11453
|
-
},{"../tipos-de-simbolos/delegua":
|
|
11869
|
+
},{"../tipos-de-simbolos/delegua":163,"./palavras-reservadas":157,"./simbolo":158,"browser-process-hrtime":339}],156:[function(require,module,exports){
|
|
11454
11870
|
"use strict";
|
|
11455
11871
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11456
11872
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11622,6 +12038,10 @@ class MicroLexador {
|
|
|
11622
12038
|
this.analisarTexto("'");
|
|
11623
12039
|
this.atual++;
|
|
11624
12040
|
break;
|
|
12041
|
+
case '.':
|
|
12042
|
+
this.atual++;
|
|
12043
|
+
this.adicionarSimbolo(delegua_1.default.PONTO);
|
|
12044
|
+
break;
|
|
11625
12045
|
default:
|
|
11626
12046
|
if (this.eDigito(caractere))
|
|
11627
12047
|
this.analisarNumero();
|
|
@@ -11659,7 +12079,7 @@ class MicroLexador {
|
|
|
11659
12079
|
}
|
|
11660
12080
|
exports.MicroLexador = MicroLexador;
|
|
11661
12081
|
|
|
11662
|
-
},{"../tipos-de-simbolos/microgramaticas/delegua":
|
|
12082
|
+
},{"../tipos-de-simbolos/microgramaticas/delegua":166,"./palavras-reservadas":157,"./simbolo":158}],157:[function(require,module,exports){
|
|
11663
12083
|
"use strict";
|
|
11664
12084
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11665
12085
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11722,7 +12142,7 @@ exports.palavrasReservadasMicroGramatica = {
|
|
|
11722
12142
|
verdadeiro: delegua_1.default.VERDADEIRO,
|
|
11723
12143
|
};
|
|
11724
12144
|
|
|
11725
|
-
},{"../tipos-de-simbolos/delegua":
|
|
12145
|
+
},{"../tipos-de-simbolos/delegua":163}],158:[function(require,module,exports){
|
|
11726
12146
|
"use strict";
|
|
11727
12147
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11728
12148
|
exports.Simbolo = void 0;
|
|
@@ -11740,7 +12160,7 @@ class Simbolo {
|
|
|
11740
12160
|
}
|
|
11741
12161
|
exports.Simbolo = Simbolo;
|
|
11742
12162
|
|
|
11743
|
-
},{}],
|
|
12163
|
+
},{}],159:[function(require,module,exports){
|
|
11744
12164
|
"use strict";
|
|
11745
12165
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11746
12166
|
exports.ContinuarQuebra = exports.SustarQuebra = exports.RetornoQuebra = exports.Quebra = void 0;
|
|
@@ -11761,7 +12181,7 @@ class ContinuarQuebra extends Quebra {
|
|
|
11761
12181
|
}
|
|
11762
12182
|
exports.ContinuarQuebra = ContinuarQuebra;
|
|
11763
12183
|
|
|
11764
|
-
},{}],
|
|
12184
|
+
},{}],160:[function(require,module,exports){
|
|
11765
12185
|
"use strict";
|
|
11766
12186
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11767
12187
|
exports.default = {
|
|
@@ -11785,7 +12205,7 @@ exports.default = {
|
|
|
11785
12205
|
VETOR_TEXTO: 'texto[]',
|
|
11786
12206
|
};
|
|
11787
12207
|
|
|
11788
|
-
},{}],
|
|
12208
|
+
},{}],161:[function(require,module,exports){
|
|
11789
12209
|
"use strict";
|
|
11790
12210
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11791
12211
|
exports.default = {
|
|
@@ -11804,7 +12224,7 @@ exports.default = {
|
|
|
11804
12224
|
TEXTO: 'string',
|
|
11805
12225
|
};
|
|
11806
12226
|
|
|
11807
|
-
},{}],
|
|
12227
|
+
},{}],162:[function(require,module,exports){
|
|
11808
12228
|
"use strict";
|
|
11809
12229
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11810
12230
|
exports.default = {
|
|
@@ -11830,7 +12250,7 @@ exports.default = {
|
|
|
11830
12250
|
VIRGULA: 'VIRGULA',
|
|
11831
12251
|
};
|
|
11832
12252
|
|
|
11833
|
-
},{}],
|
|
12253
|
+
},{}],163:[function(require,module,exports){
|
|
11834
12254
|
"use strict";
|
|
11835
12255
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11836
12256
|
exports.default = {
|
|
@@ -11924,7 +12344,7 @@ exports.default = {
|
|
|
11924
12344
|
VIRGULA: 'VIRGULA',
|
|
11925
12345
|
};
|
|
11926
12346
|
|
|
11927
|
-
},{}],
|
|
12347
|
+
},{}],164:[function(require,module,exports){
|
|
11928
12348
|
"use strict";
|
|
11929
12349
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11930
12350
|
exports.default = {
|
|
@@ -12002,7 +12422,7 @@ exports.default = {
|
|
|
12002
12422
|
VIRGULA: 'VIRGULA',
|
|
12003
12423
|
};
|
|
12004
12424
|
|
|
12005
|
-
},{}],
|
|
12425
|
+
},{}],165:[function(require,module,exports){
|
|
12006
12426
|
"use strict";
|
|
12007
12427
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12008
12428
|
exports.default = {
|
|
@@ -12019,7 +12439,7 @@ exports.default = {
|
|
|
12019
12439
|
VIRGULA: 'VIRGULA',
|
|
12020
12440
|
};
|
|
12021
12441
|
|
|
12022
|
-
},{}],
|
|
12442
|
+
},{}],166:[function(require,module,exports){
|
|
12023
12443
|
"use strict";
|
|
12024
12444
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12025
12445
|
exports.default = {
|
|
@@ -12068,7 +12488,7 @@ exports.default = {
|
|
|
12068
12488
|
VIRGULA: 'VIRGULA',
|
|
12069
12489
|
};
|
|
12070
12490
|
|
|
12071
|
-
},{}],
|
|
12491
|
+
},{}],167:[function(require,module,exports){
|
|
12072
12492
|
"use strict";
|
|
12073
12493
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12074
12494
|
exports.default = {
|
|
@@ -12146,7 +12566,7 @@ exports.default = {
|
|
|
12146
12566
|
VIRGULA: 'VIRGULA',
|
|
12147
12567
|
};
|
|
12148
12568
|
|
|
12149
|
-
},{}],
|
|
12569
|
+
},{}],168:[function(require,module,exports){
|
|
12150
12570
|
"use strict";
|
|
12151
12571
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12152
12572
|
exports.default = {
|
|
@@ -12185,7 +12605,7 @@ exports.default = {
|
|
|
12185
12605
|
VIRGULA: 'VIRGULA',
|
|
12186
12606
|
};
|
|
12187
12607
|
|
|
12188
|
-
},{}],
|
|
12608
|
+
},{}],169:[function(require,module,exports){
|
|
12189
12609
|
"use strict";
|
|
12190
12610
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
12191
12611
|
if (k2 === undefined) k2 = k;
|
|
@@ -12209,7 +12629,7 @@ __exportStar(require("./tradutor-python"), exports);
|
|
|
12209
12629
|
__exportStar(require("./tradutor-reverso-javascript"), exports);
|
|
12210
12630
|
__exportStar(require("./tradutor-reverso-python"), exports);
|
|
12211
12631
|
|
|
12212
|
-
},{"./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){
|
|
12213
12633
|
"use strict";
|
|
12214
12634
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
12215
12635
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -13438,7 +13858,7 @@ __decorate([
|
|
|
13438
13858
|
Decorators_1.Override
|
|
13439
13859
|
], Python3Lexer.prototype, "nextToken", null);
|
|
13440
13860
|
|
|
13441
|
-
},{"./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){
|
|
13442
13862
|
"use strict";
|
|
13443
13863
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
13444
13864
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -24666,7 +25086,7 @@ class Yield_argContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
24666
25086
|
}
|
|
24667
25087
|
exports.Yield_argContext = Yield_argContext;
|
|
24668
25088
|
|
|
24669
|
-
},{"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){
|
|
24670
25090
|
"use strict";
|
|
24671
25091
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
24672
25092
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -25263,7 +25683,7 @@ class TradutorAssemblyScript {
|
|
|
25263
25683
|
}
|
|
25264
25684
|
exports.TradutorAssemblyScript = TradutorAssemblyScript;
|
|
25265
25685
|
|
|
25266
|
-
},{"../construtos":
|
|
25686
|
+
},{"../construtos":43,"../declaracoes":81,"../tipos-de-simbolos/delegua":163}],173:[function(require,module,exports){
|
|
25267
25687
|
"use strict";
|
|
25268
25688
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25269
25689
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -25283,7 +25703,9 @@ class TradutorJavaScript {
|
|
|
25283
25703
|
this.indentacao = 0;
|
|
25284
25704
|
this.dicionarioConstrutos = {
|
|
25285
25705
|
AcessoIndiceVariavel: this.traduzirAcessoIndiceVariavel.bind(this),
|
|
25286
|
-
|
|
25706
|
+
AcessoMetodo: this.traduzirConstrutoAcessoMetodo.bind(this),
|
|
25707
|
+
AcessoMetodoOuPropriedade: this.traduzirConstrutoAcessoMetodoOuPropriedade.bind(this),
|
|
25708
|
+
AcessoPropriedade: this.traduzirConstrutoAcessoPropriedade.bind(this),
|
|
25287
25709
|
Agrupamento: this.traduzirConstrutoAgrupamento.bind(this),
|
|
25288
25710
|
AtribuicaoPorIndice: this.traduzirConstrutoAtribuicaoPorIndice.bind(this),
|
|
25289
25711
|
Atribuir: this.traduzirConstrutoAtribuir.bind(this),
|
|
@@ -25291,6 +25713,7 @@ class TradutorJavaScript {
|
|
|
25291
25713
|
Chamada: this.traduzirConstrutoChamada.bind(this),
|
|
25292
25714
|
Comentario: this.traduzirConstrutoComentario.bind(this),
|
|
25293
25715
|
DefinirValor: this.traduzirConstrutoDefinirValor.bind(this),
|
|
25716
|
+
Dicionario: this.traduzirConstrutoDicionario.bind(this),
|
|
25294
25717
|
FuncaoConstruto: this.traduzirFuncaoConstruto.bind(this),
|
|
25295
25718
|
Isto: () => 'this',
|
|
25296
25719
|
Literal: this.traduzirConstrutoLiteral.bind(this),
|
|
@@ -25471,9 +25894,29 @@ class TradutorJavaScript {
|
|
|
25471
25894
|
resultado += definirValor.valor.simbolo.lexema;
|
|
25472
25895
|
return resultado;
|
|
25473
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
|
+
}
|
|
25474
25907
|
traduzirConstrutoLiteral(literal) {
|
|
25475
|
-
if (typeof literal.valor === 'string')
|
|
25476
|
-
|
|
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
|
+
}
|
|
25477
25920
|
return literal.valor;
|
|
25478
25921
|
}
|
|
25479
25922
|
traduzirConstrutoVariavel(variavel) {
|
|
@@ -25745,12 +26188,26 @@ class TradutorJavaScript {
|
|
|
25745
26188
|
return resultado;
|
|
25746
26189
|
}
|
|
25747
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) {
|
|
25748
26198
|
if (acessoMetodo.objeto instanceof construtos_1.Variavel) {
|
|
25749
26199
|
let objetoVariavel = acessoMetodo.objeto;
|
|
25750
26200
|
return `${objetoVariavel.simbolo.lexema}.${this.traduzirFuncoesNativas(acessoMetodo.simbolo.lexema)}`;
|
|
25751
26201
|
}
|
|
25752
26202
|
return `this.${acessoMetodo.simbolo.lexema}`;
|
|
25753
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
|
+
}
|
|
25754
26211
|
traduzirFuncaoConstruto(funcaoConstruto) {
|
|
25755
26212
|
let resultado = 'function(';
|
|
25756
26213
|
for (const parametro of funcaoConstruto.parametros) {
|
|
@@ -25845,7 +26302,7 @@ class TradutorJavaScript {
|
|
|
25845
26302
|
}
|
|
25846
26303
|
exports.TradutorJavaScript = TradutorJavaScript;
|
|
25847
26304
|
|
|
25848
|
-
},{"../construtos":
|
|
26305
|
+
},{"../construtos":43,"../declaracoes":81,"../tipos-de-simbolos/delegua":163}],174:[function(require,module,exports){
|
|
25849
26306
|
"use strict";
|
|
25850
26307
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25851
26308
|
exports.TradutorPortugolIpt = void 0;
|
|
@@ -25907,7 +26364,7 @@ class TradutorPortugolIpt {
|
|
|
25907
26364
|
}
|
|
25908
26365
|
exports.TradutorPortugolIpt = TradutorPortugolIpt;
|
|
25909
26366
|
|
|
25910
|
-
},{"../avaliador-sintatico/dialetos":6,"../lexador/dialetos":
|
|
26367
|
+
},{"../avaliador-sintatico/dialetos":6,"../lexador/dialetos":144}],175:[function(require,module,exports){
|
|
25911
26368
|
"use strict";
|
|
25912
26369
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25913
26370
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -25921,7 +26378,9 @@ class TradutorPython {
|
|
|
25921
26378
|
constructor() {
|
|
25922
26379
|
this.indentacao = 0;
|
|
25923
26380
|
this.dicionarioConstrutos = {
|
|
26381
|
+
AcessoMetodo: this.traduzirConstrutoAcessoMetodo.bind(this),
|
|
25924
26382
|
AcessoMetodoOuPropriedade: this.traduzirConstrutoAcessoMetodoOuPropriedade.bind(this),
|
|
26383
|
+
AcessoPropriedade: this.traduzirConstrutoAcessoPropriedade.bind(this),
|
|
25925
26384
|
AcessoIndiceVariavel: this.traduzirConstrutoAcessoIndiceVariavel.bind(this),
|
|
25926
26385
|
Agrupamento: this.traduzirConstrutoAgrupamento.bind(this),
|
|
25927
26386
|
AtribuicaoPorIndice: this.traduzirConstrutoAtribuicaoPorIndice.bind(this),
|
|
@@ -26056,6 +26515,20 @@ class TradutorPython {
|
|
|
26056
26515
|
const indice = this.dicionarioConstrutos[acessoIndiceVariavel.indice.constructor.name](acessoIndiceVariavel.indice);
|
|
26057
26516
|
return `${entidade}[${indice}]`;
|
|
26058
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
|
+
}
|
|
26059
26532
|
traduzirConstrutoAcessoMetodoOuPropriedade(acessoMetodo) {
|
|
26060
26533
|
if (acessoMetodo.objeto instanceof construtos_1.Variavel) {
|
|
26061
26534
|
let objetoVariavel = acessoMetodo.objeto;
|
|
@@ -26070,6 +26543,20 @@ class TradutorPython {
|
|
|
26070
26543
|
}
|
|
26071
26544
|
return `self.${acessoMetodo.simbolo.lexema}`;
|
|
26072
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
|
+
}
|
|
26073
26560
|
traduzirConstrutoAgrupamento(agrupamento) {
|
|
26074
26561
|
return this.dicionarioConstrutos[agrupamento.constructor.name](agrupamento.expressao || agrupamento);
|
|
26075
26562
|
}
|
|
@@ -26427,7 +26914,7 @@ class TradutorPython {
|
|
|
26427
26914
|
}
|
|
26428
26915
|
exports.TradutorPython = TradutorPython;
|
|
26429
26916
|
|
|
26430
|
-
},{"../construtos":
|
|
26917
|
+
},{"../construtos":43,"../declaracoes":81,"../tipos-de-simbolos/delegua":163}],176:[function(require,module,exports){
|
|
26431
26918
|
"use strict";
|
|
26432
26919
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26433
26920
|
exports.TradutorReversoJavaScript = void 0;
|
|
@@ -26821,7 +27308,7 @@ class TradutorReversoJavaScript {
|
|
|
26821
27308
|
}
|
|
26822
27309
|
exports.TradutorReversoJavaScript = TradutorReversoJavaScript;
|
|
26823
27310
|
|
|
26824
|
-
},{}],
|
|
27311
|
+
},{}],177:[function(require,module,exports){
|
|
26825
27312
|
"use strict";
|
|
26826
27313
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26827
27314
|
exports.TradutorReversoPython = void 0;
|
|
@@ -26894,7 +27381,7 @@ class TradutorReversoPython {
|
|
|
26894
27381
|
}
|
|
26895
27382
|
exports.TradutorReversoPython = TradutorReversoPython;
|
|
26896
27383
|
|
|
26897
|
-
},{"./python/python3-lexer":
|
|
27384
|
+
},{"./python/python3-lexer":170,"./python/python3-parser":171,"antlr4ts":293,"antlr4ts/tree/ParseTreeWalker":312}],178:[function(require,module,exports){
|
|
26898
27385
|
"use strict";
|
|
26899
27386
|
/*!
|
|
26900
27387
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -26902,7 +27389,7 @@ exports.TradutorReversoPython = TradutorReversoPython;
|
|
|
26902
27389
|
*/
|
|
26903
27390
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26904
27391
|
|
|
26905
|
-
},{}],
|
|
27392
|
+
},{}],179:[function(require,module,exports){
|
|
26906
27393
|
"use strict";
|
|
26907
27394
|
/*!
|
|
26908
27395
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -26910,7 +27397,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26910
27397
|
*/
|
|
26911
27398
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26912
27399
|
|
|
26913
|
-
},{}],
|
|
27400
|
+
},{}],180:[function(require,module,exports){
|
|
26914
27401
|
"use strict";
|
|
26915
27402
|
/*!
|
|
26916
27403
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27072,7 +27559,7 @@ __decorate([
|
|
|
27072
27559
|
], ANTLRInputStream.prototype, "toString", null);
|
|
27073
27560
|
exports.ANTLRInputStream = ANTLRInputStream;
|
|
27074
27561
|
|
|
27075
|
-
},{"./Decorators":
|
|
27562
|
+
},{"./Decorators":191,"./IntStream":197,"assert":334}],181:[function(require,module,exports){
|
|
27076
27563
|
"use strict";
|
|
27077
27564
|
/*!
|
|
27078
27565
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27155,7 +27642,7 @@ __decorate([
|
|
|
27155
27642
|
], BailErrorStrategy.prototype, "sync", null);
|
|
27156
27643
|
exports.BailErrorStrategy = BailErrorStrategy;
|
|
27157
27644
|
|
|
27158
|
-
},{"./Decorators":
|
|
27645
|
+
},{"./Decorators":191,"./DefaultErrorStrategy":192,"./InputMismatchException":196,"./misc/ParseCancellationException":308}],182:[function(require,module,exports){
|
|
27159
27646
|
"use strict";
|
|
27160
27647
|
/*!
|
|
27161
27648
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27645,7 +28132,7 @@ BufferedTokenStream = __decorate([
|
|
|
27645
28132
|
], BufferedTokenStream);
|
|
27646
28133
|
exports.BufferedTokenStream = BufferedTokenStream;
|
|
27647
28134
|
|
|
27648
|
-
},{"./CommonToken":
|
|
28135
|
+
},{"./CommonToken":187,"./Decorators":191,"./Lexer":199,"./Token":216,"./misc/Interval":303,"assert":334}],183:[function(require,module,exports){
|
|
27649
28136
|
"use strict";
|
|
27650
28137
|
/*!
|
|
27651
28138
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27653,7 +28140,7 @@ exports.BufferedTokenStream = BufferedTokenStream;
|
|
|
27653
28140
|
*/
|
|
27654
28141
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27655
28142
|
|
|
27656
|
-
},{}],
|
|
28143
|
+
},{}],184:[function(require,module,exports){
|
|
27657
28144
|
"use strict";
|
|
27658
28145
|
/*!
|
|
27659
28146
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27787,7 +28274,7 @@ var CharStreams;
|
|
|
27787
28274
|
// }
|
|
27788
28275
|
})(CharStreams = exports.CharStreams || (exports.CharStreams = {}));
|
|
27789
28276
|
|
|
27790
|
-
},{"./CodePointBuffer":
|
|
28277
|
+
},{"./CodePointBuffer":185,"./CodePointCharStream":186,"./IntStream":197}],185:[function(require,module,exports){
|
|
27791
28278
|
"use strict";
|
|
27792
28279
|
/*!
|
|
27793
28280
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28022,7 +28509,7 @@ exports.CodePointBuffer = CodePointBuffer;
|
|
|
28022
28509
|
CodePointBuffer.Builder = Builder;
|
|
28023
28510
|
})(CodePointBuffer = exports.CodePointBuffer || (exports.CodePointBuffer = {}));
|
|
28024
28511
|
|
|
28025
|
-
},{"./misc/Character":
|
|
28512
|
+
},{"./misc/Character":299,"assert":334}],186:[function(require,module,exports){
|
|
28026
28513
|
"use strict";
|
|
28027
28514
|
/*!
|
|
28028
28515
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28172,7 +28659,7 @@ __decorate([
|
|
|
28172
28659
|
], CodePointCharStream.prototype, "getText", null);
|
|
28173
28660
|
exports.CodePointCharStream = CodePointCharStream;
|
|
28174
28661
|
|
|
28175
|
-
},{"./Decorators":
|
|
28662
|
+
},{"./Decorators":191,"./IntStream":197,"./misc/Interval":303,"assert":334}],187:[function(require,module,exports){
|
|
28176
28663
|
"use strict";
|
|
28177
28664
|
/*!
|
|
28178
28665
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28402,7 +28889,7 @@ CommonToken = __decorate([
|
|
|
28402
28889
|
], CommonToken);
|
|
28403
28890
|
exports.CommonToken = CommonToken;
|
|
28404
28891
|
|
|
28405
|
-
},{"./Decorators":
|
|
28892
|
+
},{"./Decorators":191,"./Token":216,"./misc/Interval":303}],188:[function(require,module,exports){
|
|
28406
28893
|
"use strict";
|
|
28407
28894
|
/*!
|
|
28408
28895
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28466,7 +28953,7 @@ exports.CommonTokenFactory = CommonTokenFactory;
|
|
|
28466
28953
|
CommonTokenFactory.DEFAULT = new CommonTokenFactory();
|
|
28467
28954
|
})(CommonTokenFactory = exports.CommonTokenFactory || (exports.CommonTokenFactory = {}));
|
|
28468
28955
|
|
|
28469
|
-
},{"./CommonToken":
|
|
28956
|
+
},{"./CommonToken":187,"./Decorators":191,"./misc/Interval":303}],189:[function(require,module,exports){
|
|
28470
28957
|
"use strict";
|
|
28471
28958
|
/*!
|
|
28472
28959
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28593,7 +29080,7 @@ CommonTokenStream = __decorate([
|
|
|
28593
29080
|
], CommonTokenStream);
|
|
28594
29081
|
exports.CommonTokenStream = CommonTokenStream;
|
|
28595
29082
|
|
|
28596
|
-
},{"./BufferedTokenStream":
|
|
29083
|
+
},{"./BufferedTokenStream":182,"./Decorators":191,"./Token":216}],190:[function(require,module,exports){
|
|
28597
29084
|
"use strict";
|
|
28598
29085
|
/*!
|
|
28599
29086
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28627,7 +29114,7 @@ exports.ConsoleErrorListener = ConsoleErrorListener;
|
|
|
28627
29114
|
*/
|
|
28628
29115
|
ConsoleErrorListener.INSTANCE = new ConsoleErrorListener();
|
|
28629
29116
|
|
|
28630
|
-
},{}],
|
|
29117
|
+
},{}],191:[function(require,module,exports){
|
|
28631
29118
|
"use strict";
|
|
28632
29119
|
/*!
|
|
28633
29120
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28654,7 +29141,7 @@ function SuppressWarnings(options) {
|
|
|
28654
29141
|
}
|
|
28655
29142
|
exports.SuppressWarnings = SuppressWarnings;
|
|
28656
29143
|
|
|
28657
|
-
},{}],
|
|
29144
|
+
},{}],192:[function(require,module,exports){
|
|
28658
29145
|
"use strict";
|
|
28659
29146
|
/*!
|
|
28660
29147
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29468,7 +29955,7 @@ __decorate([
|
|
|
29468
29955
|
], DefaultErrorStrategy.prototype, "consumeUntil", null);
|
|
29469
29956
|
exports.DefaultErrorStrategy = DefaultErrorStrategy;
|
|
29470
29957
|
|
|
29471
|
-
},{"./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){
|
|
29472
29959
|
"use strict";
|
|
29473
29960
|
/*!
|
|
29474
29961
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29544,7 +30031,7 @@ var Dependents;
|
|
|
29544
30031
|
Dependents[Dependents["FOLLOWING"] = 9] = "FOLLOWING";
|
|
29545
30032
|
})(Dependents = exports.Dependents || (exports.Dependents = {}));
|
|
29546
30033
|
|
|
29547
|
-
},{}],
|
|
30034
|
+
},{}],194:[function(require,module,exports){
|
|
29548
30035
|
"use strict";
|
|
29549
30036
|
/*!
|
|
29550
30037
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29692,7 +30179,7 @@ __decorate([
|
|
|
29692
30179
|
], DiagnosticErrorListener.prototype, "getConflictingAlts", null);
|
|
29693
30180
|
exports.DiagnosticErrorListener = DiagnosticErrorListener;
|
|
29694
30181
|
|
|
29695
|
-
},{"./Decorators":
|
|
30182
|
+
},{"./Decorators":191,"./misc/BitSet":298,"./misc/Interval":303}],195:[function(require,module,exports){
|
|
29696
30183
|
"use strict";
|
|
29697
30184
|
/*!
|
|
29698
30185
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29757,7 +30244,7 @@ FailedPredicateException = __decorate([
|
|
|
29757
30244
|
], FailedPredicateException);
|
|
29758
30245
|
exports.FailedPredicateException = FailedPredicateException;
|
|
29759
30246
|
|
|
29760
|
-
},{"./Decorators":
|
|
30247
|
+
},{"./Decorators":191,"./RecognitionException":210,"./atn/PredicateTransition":270}],196:[function(require,module,exports){
|
|
29761
30248
|
"use strict";
|
|
29762
30249
|
/*!
|
|
29763
30250
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29797,7 +30284,7 @@ InputMismatchException = __decorate([
|
|
|
29797
30284
|
], InputMismatchException);
|
|
29798
30285
|
exports.InputMismatchException = InputMismatchException;
|
|
29799
30286
|
|
|
29800
|
-
},{"./Decorators":
|
|
30287
|
+
},{"./Decorators":191,"./RecognitionException":210}],197:[function(require,module,exports){
|
|
29801
30288
|
"use strict";
|
|
29802
30289
|
/*!
|
|
29803
30290
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29820,7 +30307,7 @@ var IntStream;
|
|
|
29820
30307
|
IntStream.UNKNOWN_SOURCE_NAME = "<unknown>";
|
|
29821
30308
|
})(IntStream = exports.IntStream || (exports.IntStream = {}));
|
|
29822
30309
|
|
|
29823
|
-
},{}],
|
|
30310
|
+
},{}],198:[function(require,module,exports){
|
|
29824
30311
|
"use strict";
|
|
29825
30312
|
/*!
|
|
29826
30313
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29867,7 +30354,7 @@ __decorate([
|
|
|
29867
30354
|
], InterpreterRuleContext.prototype, "ruleIndex", null);
|
|
29868
30355
|
exports.InterpreterRuleContext = InterpreterRuleContext;
|
|
29869
30356
|
|
|
29870
|
-
},{"./Decorators":
|
|
30357
|
+
},{"./Decorators":191,"./ParserRuleContext":207}],199:[function(require,module,exports){
|
|
29871
30358
|
"use strict";
|
|
29872
30359
|
/*!
|
|
29873
30360
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30203,7 +30690,7 @@ __decorate([
|
|
|
30203
30690
|
], Lexer.prototype, "charPositionInLine", null);
|
|
30204
30691
|
exports.Lexer = Lexer;
|
|
30205
30692
|
|
|
30206
|
-
},{"./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){
|
|
30207
30694
|
"use strict";
|
|
30208
30695
|
/*!
|
|
30209
30696
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30283,7 +30770,7 @@ LexerInterpreter = __decorate([
|
|
|
30283
30770
|
], LexerInterpreter);
|
|
30284
30771
|
exports.LexerInterpreter = LexerInterpreter;
|
|
30285
30772
|
|
|
30286
|
-
},{"./Decorators":
|
|
30773
|
+
},{"./Decorators":191,"./Lexer":199,"./atn/LexerATNSimulator":249}],201:[function(require,module,exports){
|
|
30287
30774
|
"use strict";
|
|
30288
30775
|
/*!
|
|
30289
30776
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30340,7 +30827,7 @@ LexerNoViableAltException = __decorate([
|
|
|
30340
30827
|
], LexerNoViableAltException);
|
|
30341
30828
|
exports.LexerNoViableAltException = LexerNoViableAltException;
|
|
30342
30829
|
|
|
30343
|
-
},{"./Decorators":
|
|
30830
|
+
},{"./Decorators":191,"./RecognitionException":210,"./misc/Interval":303,"./misc/Utils":310}],202:[function(require,module,exports){
|
|
30344
30831
|
"use strict";
|
|
30345
30832
|
/*!
|
|
30346
30833
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30550,7 +31037,7 @@ ListTokenSource = __decorate([
|
|
|
30550
31037
|
], ListTokenSource);
|
|
30551
31038
|
exports.ListTokenSource = ListTokenSource;
|
|
30552
31039
|
|
|
30553
|
-
},{"./CommonTokenFactory":
|
|
31040
|
+
},{"./CommonTokenFactory":188,"./Decorators":191,"./Token":216}],203:[function(require,module,exports){
|
|
30554
31041
|
"use strict";
|
|
30555
31042
|
/*!
|
|
30556
31043
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30605,7 +31092,7 @@ __decorate([
|
|
|
30605
31092
|
], NoViableAltException.prototype, "_startToken", void 0);
|
|
30606
31093
|
exports.NoViableAltException = NoViableAltException;
|
|
30607
31094
|
|
|
30608
|
-
},{"./Decorators":
|
|
31095
|
+
},{"./Decorators":191,"./Parser":204,"./RecognitionException":210}],204:[function(require,module,exports){
|
|
30609
31096
|
(function (process){(function (){
|
|
30610
31097
|
"use strict";
|
|
30611
31098
|
/*!
|
|
@@ -31451,7 +31938,7 @@ __decorate([
|
|
|
31451
31938
|
exports.Parser = Parser;
|
|
31452
31939
|
|
|
31453
31940
|
}).call(this)}).call(this,require('_process'))
|
|
31454
|
-
},{"./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){
|
|
31455
31942
|
"use strict";
|
|
31456
31943
|
/*!
|
|
31457
31944
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31459,7 +31946,7 @@ exports.Parser = Parser;
|
|
|
31459
31946
|
*/
|
|
31460
31947
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31461
31948
|
|
|
31462
|
-
},{}],
|
|
31949
|
+
},{}],206:[function(require,module,exports){
|
|
31463
31950
|
"use strict";
|
|
31464
31951
|
/*!
|
|
31465
31952
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31867,7 +32354,7 @@ ParserInterpreter = __decorate([
|
|
|
31867
32354
|
], ParserInterpreter);
|
|
31868
32355
|
exports.ParserInterpreter = ParserInterpreter;
|
|
31869
32356
|
|
|
31870
|
-
},{"./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){
|
|
31871
32358
|
"use strict";
|
|
31872
32359
|
/*!
|
|
31873
32360
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32168,7 +32655,7 @@ __decorate([
|
|
|
32168
32655
|
], ParserRuleContext.prototype, "sourceInterval", null);
|
|
32169
32656
|
exports.ParserRuleContext = ParserRuleContext;
|
|
32170
32657
|
|
|
32171
|
-
},{"./Decorators":
|
|
32658
|
+
},{"./Decorators":191,"./RuleContext":212,"./misc/Interval":303,"./tree/ErrorNode":311,"./tree/TerminalNode":314}],208:[function(require,module,exports){
|
|
32172
32659
|
"use strict";
|
|
32173
32660
|
/*!
|
|
32174
32661
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32218,7 +32705,7 @@ __decorate([
|
|
|
32218
32705
|
], ProxyErrorListener.prototype, "syntaxError", null);
|
|
32219
32706
|
exports.ProxyErrorListener = ProxyErrorListener;
|
|
32220
32707
|
|
|
32221
|
-
},{"./Decorators":
|
|
32708
|
+
},{"./Decorators":191}],209:[function(require,module,exports){
|
|
32222
32709
|
"use strict";
|
|
32223
32710
|
/*!
|
|
32224
32711
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32277,7 +32764,7 @@ __decorate([
|
|
|
32277
32764
|
], ProxyParserErrorListener.prototype, "reportContextSensitivity", null);
|
|
32278
32765
|
exports.ProxyParserErrorListener = ProxyParserErrorListener;
|
|
32279
32766
|
|
|
32280
|
-
},{"./Decorators":
|
|
32767
|
+
},{"./Decorators":191,"./ProxyErrorListener":208}],210:[function(require,module,exports){
|
|
32281
32768
|
"use strict";
|
|
32282
32769
|
/*!
|
|
32283
32770
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32382,7 +32869,7 @@ class RecognitionException extends Error {
|
|
|
32382
32869
|
}
|
|
32383
32870
|
exports.RecognitionException = RecognitionException;
|
|
32384
32871
|
|
|
32385
|
-
},{}],
|
|
32872
|
+
},{}],211:[function(require,module,exports){
|
|
32386
32873
|
"use strict";
|
|
32387
32874
|
/*!
|
|
32388
32875
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32601,7 +33088,7 @@ __decorate([
|
|
|
32601
33088
|
], Recognizer.prototype, "getErrorListeners", null);
|
|
32602
33089
|
exports.Recognizer = Recognizer;
|
|
32603
33090
|
|
|
32604
|
-
},{"./ConsoleErrorListener":
|
|
33091
|
+
},{"./ConsoleErrorListener":190,"./Decorators":191,"./ProxyErrorListener":208,"./Token":216,"./misc/Utils":310}],212:[function(require,module,exports){
|
|
32605
33092
|
"use strict";
|
|
32606
33093
|
/*!
|
|
32607
33094
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32818,7 +33305,7 @@ __decorate([
|
|
|
32818
33305
|
], RuleContext.prototype, "toStringTree", null);
|
|
32819
33306
|
exports.RuleContext = RuleContext;
|
|
32820
33307
|
|
|
32821
|
-
},{"./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){
|
|
32822
33309
|
"use strict";
|
|
32823
33310
|
/*!
|
|
32824
33311
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32869,7 +33356,7 @@ __decorate([
|
|
|
32869
33356
|
], RuleContextWithAltNum.prototype, "altNumber", null);
|
|
32870
33357
|
exports.RuleContextWithAltNum = RuleContextWithAltNum;
|
|
32871
33358
|
|
|
32872
|
-
},{"./Decorators":
|
|
33359
|
+
},{"./Decorators":191,"./ParserRuleContext":207,"./atn/ATN":224}],214:[function(require,module,exports){
|
|
32873
33360
|
"use strict";
|
|
32874
33361
|
/*!
|
|
32875
33362
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32892,7 +33379,7 @@ function RuleDependency(dependency) {
|
|
|
32892
33379
|
}
|
|
32893
33380
|
exports.RuleDependency = RuleDependency;
|
|
32894
33381
|
|
|
32895
|
-
},{}],
|
|
33382
|
+
},{}],215:[function(require,module,exports){
|
|
32896
33383
|
"use strict";
|
|
32897
33384
|
/*!
|
|
32898
33385
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32911,7 +33398,7 @@ function RuleVersion(version) {
|
|
|
32911
33398
|
}
|
|
32912
33399
|
exports.RuleVersion = RuleVersion;
|
|
32913
33400
|
|
|
32914
|
-
},{}],
|
|
33401
|
+
},{}],216:[function(require,module,exports){
|
|
32915
33402
|
"use strict";
|
|
32916
33403
|
/*!
|
|
32917
33404
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32951,7 +33438,7 @@ var Token;
|
|
|
32951
33438
|
Token.MIN_USER_CHANNEL_VALUE = 2;
|
|
32952
33439
|
})(Token = exports.Token || (exports.Token = {}));
|
|
32953
33440
|
|
|
32954
|
-
},{"./IntStream":
|
|
33441
|
+
},{"./IntStream":197}],217:[function(require,module,exports){
|
|
32955
33442
|
"use strict";
|
|
32956
33443
|
/*!
|
|
32957
33444
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32959,7 +33446,7 @@ var Token;
|
|
|
32959
33446
|
*/
|
|
32960
33447
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32961
33448
|
|
|
32962
|
-
},{}],
|
|
33449
|
+
},{}],218:[function(require,module,exports){
|
|
32963
33450
|
"use strict";
|
|
32964
33451
|
/*!
|
|
32965
33452
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32967,7 +33454,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
32967
33454
|
*/
|
|
32968
33455
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32969
33456
|
|
|
32970
|
-
},{}],
|
|
33457
|
+
},{}],219:[function(require,module,exports){
|
|
32971
33458
|
"use strict";
|
|
32972
33459
|
/*!
|
|
32973
33460
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32975,7 +33462,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
32975
33462
|
*/
|
|
32976
33463
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32977
33464
|
|
|
32978
|
-
},{}],
|
|
33465
|
+
},{}],220:[function(require,module,exports){
|
|
32979
33466
|
"use strict";
|
|
32980
33467
|
/*!
|
|
32981
33468
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33483,7 +33970,7 @@ __decorate([
|
|
|
33483
33970
|
Decorators_1.Override
|
|
33484
33971
|
], ReplaceOp.prototype, "toString", null);
|
|
33485
33972
|
|
|
33486
|
-
},{"./Decorators":
|
|
33973
|
+
},{"./Decorators":191,"./Token":216,"./misc/Interval":303}],221:[function(require,module,exports){
|
|
33487
33974
|
"use strict";
|
|
33488
33975
|
/*!
|
|
33489
33976
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33491,7 +33978,7 @@ __decorate([
|
|
|
33491
33978
|
*/
|
|
33492
33979
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33493
33980
|
|
|
33494
|
-
},{}],
|
|
33981
|
+
},{}],222:[function(require,module,exports){
|
|
33495
33982
|
"use strict";
|
|
33496
33983
|
/*!
|
|
33497
33984
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33611,7 +34098,7 @@ __decorate([
|
|
|
33611
34098
|
], VocabularyImpl, "EMPTY_VOCABULARY", void 0);
|
|
33612
34099
|
exports.VocabularyImpl = VocabularyImpl;
|
|
33613
34100
|
|
|
33614
|
-
},{"./Decorators":
|
|
34101
|
+
},{"./Decorators":191,"./Token":216}],223:[function(require,module,exports){
|
|
33615
34102
|
"use strict";
|
|
33616
34103
|
/*!
|
|
33617
34104
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33619,7 +34106,7 @@ exports.VocabularyImpl = VocabularyImpl;
|
|
|
33619
34106
|
*/
|
|
33620
34107
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33621
34108
|
|
|
33622
|
-
},{}],
|
|
34109
|
+
},{}],224:[function(require,module,exports){
|
|
33623
34110
|
"use strict";
|
|
33624
34111
|
/*!
|
|
33625
34112
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33841,7 +34328,7 @@ exports.ATN = ATN;
|
|
|
33841
34328
|
})(ATN = exports.ATN || (exports.ATN = {}));
|
|
33842
34329
|
exports.ATN = ATN;
|
|
33843
34330
|
|
|
33844
|
-
},{"../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){
|
|
33845
34332
|
"use strict";
|
|
33846
34333
|
/*!
|
|
33847
34334
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34366,7 +34853,7 @@ ActionSemanticContextATNConfig = __decorate([
|
|
|
34366
34853
|
__param(1, Decorators_1.NotNull), __param(2, Decorators_1.NotNull)
|
|
34367
34854
|
], ActionSemanticContextATNConfig);
|
|
34368
34855
|
|
|
34369
|
-
},{"../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){
|
|
34370
34857
|
"use strict";
|
|
34371
34858
|
/*!
|
|
34372
34859
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34813,7 +35300,7 @@ __decorate([
|
|
|
34813
35300
|
], ATNConfigSet.prototype, "hashCode", null);
|
|
34814
35301
|
exports.ATNConfigSet = ATNConfigSet;
|
|
34815
35302
|
|
|
34816
|
-
},{"../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){
|
|
34817
35304
|
"use strict";
|
|
34818
35305
|
/*!
|
|
34819
35306
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34892,7 +35379,7 @@ __decorate([
|
|
|
34892
35379
|
], ATNDeserializationOptions, "defaultOptions", null);
|
|
34893
35380
|
exports.ATNDeserializationOptions = ATNDeserializationOptions;
|
|
34894
35381
|
|
|
34895
|
-
},{"../Decorators":
|
|
35382
|
+
},{"../Decorators":191}],228:[function(require,module,exports){
|
|
34896
35383
|
"use strict";
|
|
34897
35384
|
/*!
|
|
34898
35385
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35979,7 +36466,7 @@ __decorate([
|
|
|
35979
36466
|
], ATNDeserializer.prototype, "edgeFactory", null);
|
|
35980
36467
|
exports.ATNDeserializer = ATNDeserializer;
|
|
35981
36468
|
|
|
35982
|
-
},{"../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){
|
|
35983
36470
|
"use strict";
|
|
35984
36471
|
/*!
|
|
35985
36472
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36043,7 +36530,7 @@ exports.ATNSimulator = ATNSimulator;
|
|
|
36043
36530
|
})(ATNSimulator = exports.ATNSimulator || (exports.ATNSimulator = {}));
|
|
36044
36531
|
exports.ATNSimulator = ATNSimulator;
|
|
36045
36532
|
|
|
36046
|
-
},{"../Decorators":
|
|
36533
|
+
},{"../Decorators":191,"../dfa/DFAState":291,"./ATNConfigSet":226,"./PredictionContext":271}],230:[function(require,module,exports){
|
|
36047
36534
|
"use strict";
|
|
36048
36535
|
/*!
|
|
36049
36536
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36230,7 +36717,7 @@ exports.ATNState = ATNState;
|
|
|
36230
36717
|
ATNState.INVALID_STATE_NUMBER = -1;
|
|
36231
36718
|
})(ATNState = exports.ATNState || (exports.ATNState = {}));
|
|
36232
36719
|
|
|
36233
|
-
},{"../Decorators":
|
|
36720
|
+
},{"../Decorators":191}],231:[function(require,module,exports){
|
|
36234
36721
|
"use strict";
|
|
36235
36722
|
/*!
|
|
36236
36723
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36256,7 +36743,7 @@ var ATNStateType;
|
|
|
36256
36743
|
ATNStateType[ATNStateType["LOOP_END"] = 12] = "LOOP_END";
|
|
36257
36744
|
})(ATNStateType = exports.ATNStateType || (exports.ATNStateType = {}));
|
|
36258
36745
|
|
|
36259
|
-
},{}],
|
|
36746
|
+
},{}],232:[function(require,module,exports){
|
|
36260
36747
|
"use strict";
|
|
36261
36748
|
/*!
|
|
36262
36749
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36276,7 +36763,7 @@ class AbstractPredicateTransition extends Transition_1.Transition {
|
|
|
36276
36763
|
}
|
|
36277
36764
|
exports.AbstractPredicateTransition = AbstractPredicateTransition;
|
|
36278
36765
|
|
|
36279
|
-
},{"./Transition":
|
|
36766
|
+
},{"./Transition":286}],233:[function(require,module,exports){
|
|
36280
36767
|
"use strict";
|
|
36281
36768
|
/*!
|
|
36282
36769
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36332,7 +36819,7 @@ ActionTransition = __decorate([
|
|
|
36332
36819
|
], ActionTransition);
|
|
36333
36820
|
exports.ActionTransition = ActionTransition;
|
|
36334
36821
|
|
|
36335
|
-
},{"../Decorators":
|
|
36822
|
+
},{"../Decorators":191,"./Transition":286}],234:[function(require,module,exports){
|
|
36336
36823
|
"use strict";
|
|
36337
36824
|
/*!
|
|
36338
36825
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36419,7 +36906,7 @@ AmbiguityInfo = __decorate([
|
|
|
36419
36906
|
], AmbiguityInfo);
|
|
36420
36907
|
exports.AmbiguityInfo = AmbiguityInfo;
|
|
36421
36908
|
|
|
36422
|
-
},{"../Decorators":
|
|
36909
|
+
},{"../Decorators":191,"./DecisionEventInfo":242}],235:[function(require,module,exports){
|
|
36423
36910
|
"use strict";
|
|
36424
36911
|
/*!
|
|
36425
36912
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36477,7 +36964,7 @@ AtomTransition = __decorate([
|
|
|
36477
36964
|
], AtomTransition);
|
|
36478
36965
|
exports.AtomTransition = AtomTransition;
|
|
36479
36966
|
|
|
36480
|
-
},{"../Decorators":
|
|
36967
|
+
},{"../Decorators":191,"../misc/IntervalSet":304,"./Transition":286}],236:[function(require,module,exports){
|
|
36481
36968
|
"use strict";
|
|
36482
36969
|
/*!
|
|
36483
36970
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36509,7 +36996,7 @@ __decorate([
|
|
|
36509
36996
|
], BasicBlockStartState.prototype, "stateType", null);
|
|
36510
36997
|
exports.BasicBlockStartState = BasicBlockStartState;
|
|
36511
36998
|
|
|
36512
|
-
},{"../Decorators":
|
|
36999
|
+
},{"../Decorators":191,"./ATNStateType":231,"./BlockStartState":239}],237:[function(require,module,exports){
|
|
36513
37000
|
"use strict";
|
|
36514
37001
|
/*!
|
|
36515
37002
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36541,7 +37028,7 @@ __decorate([
|
|
|
36541
37028
|
], BasicState.prototype, "stateType", null);
|
|
36542
37029
|
exports.BasicState = BasicState;
|
|
36543
37030
|
|
|
36544
|
-
},{"../Decorators":
|
|
37031
|
+
},{"../Decorators":191,"./ATNState":230,"./ATNStateType":231}],238:[function(require,module,exports){
|
|
36545
37032
|
"use strict";
|
|
36546
37033
|
/*!
|
|
36547
37034
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36570,7 +37057,7 @@ __decorate([
|
|
|
36570
37057
|
], BlockEndState.prototype, "stateType", null);
|
|
36571
37058
|
exports.BlockEndState = BlockEndState;
|
|
36572
37059
|
|
|
36573
|
-
},{"../Decorators":
|
|
37060
|
+
},{"../Decorators":191,"./ATNState":230,"./ATNStateType":231}],239:[function(require,module,exports){
|
|
36574
37061
|
"use strict";
|
|
36575
37062
|
/*!
|
|
36576
37063
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36584,7 +37071,7 @@ class BlockStartState extends DecisionState_1.DecisionState {
|
|
|
36584
37071
|
}
|
|
36585
37072
|
exports.BlockStartState = BlockStartState;
|
|
36586
37073
|
|
|
36587
|
-
},{"./DecisionState":
|
|
37074
|
+
},{"./DecisionState":244}],240:[function(require,module,exports){
|
|
36588
37075
|
"use strict";
|
|
36589
37076
|
/*!
|
|
36590
37077
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36654,7 +37141,7 @@ __decorate([
|
|
|
36654
37141
|
], ConflictInfo.prototype, "hashCode", null);
|
|
36655
37142
|
exports.ConflictInfo = ConflictInfo;
|
|
36656
37143
|
|
|
36657
|
-
},{"../Decorators":
|
|
37144
|
+
},{"../Decorators":191,"../misc/Utils":310}],241:[function(require,module,exports){
|
|
36658
37145
|
"use strict";
|
|
36659
37146
|
/*!
|
|
36660
37147
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36714,7 +37201,7 @@ ContextSensitivityInfo = __decorate([
|
|
|
36714
37201
|
], ContextSensitivityInfo);
|
|
36715
37202
|
exports.ContextSensitivityInfo = ContextSensitivityInfo;
|
|
36716
37203
|
|
|
36717
|
-
},{"../Decorators":
|
|
37204
|
+
},{"../Decorators":191,"./DecisionEventInfo":242}],242:[function(require,module,exports){
|
|
36718
37205
|
"use strict";
|
|
36719
37206
|
/*!
|
|
36720
37207
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36766,7 +37253,7 @@ DecisionEventInfo = __decorate([
|
|
|
36766
37253
|
], DecisionEventInfo);
|
|
36767
37254
|
exports.DecisionEventInfo = DecisionEventInfo;
|
|
36768
37255
|
|
|
36769
|
-
},{"../Decorators":
|
|
37256
|
+
},{"../Decorators":191}],243:[function(require,module,exports){
|
|
36770
37257
|
"use strict";
|
|
36771
37258
|
/*!
|
|
36772
37259
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36979,7 +37466,7 @@ __decorate([
|
|
|
36979
37466
|
], DecisionInfo.prototype, "toString", null);
|
|
36980
37467
|
exports.DecisionInfo = DecisionInfo;
|
|
36981
37468
|
|
|
36982
|
-
},{"../Decorators":
|
|
37469
|
+
},{"../Decorators":191}],244:[function(require,module,exports){
|
|
36983
37470
|
"use strict";
|
|
36984
37471
|
/*!
|
|
36985
37472
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36999,7 +37486,7 @@ class DecisionState extends ATNState_1.ATNState {
|
|
|
36999
37486
|
}
|
|
37000
37487
|
exports.DecisionState = DecisionState;
|
|
37001
37488
|
|
|
37002
|
-
},{"./ATNState":
|
|
37489
|
+
},{"./ATNState":230}],245:[function(require,module,exports){
|
|
37003
37490
|
"use strict";
|
|
37004
37491
|
/*!
|
|
37005
37492
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37065,7 +37552,7 @@ EpsilonTransition = __decorate([
|
|
|
37065
37552
|
], EpsilonTransition);
|
|
37066
37553
|
exports.EpsilonTransition = EpsilonTransition;
|
|
37067
37554
|
|
|
37068
|
-
},{"../Decorators":
|
|
37555
|
+
},{"../Decorators":191,"./Transition":286}],246:[function(require,module,exports){
|
|
37069
37556
|
"use strict";
|
|
37070
37557
|
/*!
|
|
37071
37558
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37118,7 +37605,7 @@ ErrorInfo = __decorate([
|
|
|
37118
37605
|
], ErrorInfo);
|
|
37119
37606
|
exports.ErrorInfo = ErrorInfo;
|
|
37120
37607
|
|
|
37121
|
-
},{"../Decorators":
|
|
37608
|
+
},{"../Decorators":191,"./DecisionEventInfo":242}],247:[function(require,module,exports){
|
|
37122
37609
|
"use strict";
|
|
37123
37610
|
/*!
|
|
37124
37611
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37149,7 +37636,7 @@ __decorate([
|
|
|
37149
37636
|
], InvalidState.prototype, "stateType", null);
|
|
37150
37637
|
exports.InvalidState = InvalidState;
|
|
37151
37638
|
|
|
37152
|
-
},{"../Decorators":
|
|
37639
|
+
},{"../Decorators":191,"./ATNStateType":231,"./BasicState":237}],248:[function(require,module,exports){
|
|
37153
37640
|
"use strict";
|
|
37154
37641
|
/*!
|
|
37155
37642
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37371,7 +37858,7 @@ LL1Analyzer = __decorate([
|
|
|
37371
37858
|
], LL1Analyzer);
|
|
37372
37859
|
exports.LL1Analyzer = LL1Analyzer;
|
|
37373
37860
|
|
|
37374
|
-
},{"../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){
|
|
37375
37862
|
"use strict";
|
|
37376
37863
|
/*!
|
|
37377
37864
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38088,7 +38575,7 @@ exports.LexerATNSimulator = LexerATNSimulator;
|
|
|
38088
38575
|
})(LexerATNSimulator = exports.LexerATNSimulator || (exports.LexerATNSimulator = {}));
|
|
38089
38576
|
exports.LexerATNSimulator = LexerATNSimulator;
|
|
38090
38577
|
|
|
38091
|
-
},{"../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){
|
|
38092
38579
|
"use strict";
|
|
38093
38580
|
/*!
|
|
38094
38581
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38289,7 +38776,7 @@ LexerActionExecutor = __decorate([
|
|
|
38289
38776
|
], LexerActionExecutor);
|
|
38290
38777
|
exports.LexerActionExecutor = LexerActionExecutor;
|
|
38291
38778
|
|
|
38292
|
-
},{"../Decorators":
|
|
38779
|
+
},{"../Decorators":191,"../misc/ArrayEqualityComparator":296,"../misc/MurmurHash":306,"./LexerIndexedCustomAction":253}],251:[function(require,module,exports){
|
|
38293
38780
|
"use strict";
|
|
38294
38781
|
/*!
|
|
38295
38782
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38394,7 +38881,7 @@ __decorate([
|
|
|
38394
38881
|
], LexerChannelAction.prototype, "toString", null);
|
|
38395
38882
|
exports.LexerChannelAction = LexerChannelAction;
|
|
38396
38883
|
|
|
38397
|
-
},{"../Decorators":
|
|
38884
|
+
},{"../Decorators":191,"../misc/MurmurHash":306}],252:[function(require,module,exports){
|
|
38398
38885
|
"use strict";
|
|
38399
38886
|
/*!
|
|
38400
38887
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38523,7 +39010,7 @@ __decorate([
|
|
|
38523
39010
|
], LexerCustomAction.prototype, "equals", null);
|
|
38524
39011
|
exports.LexerCustomAction = LexerCustomAction;
|
|
38525
39012
|
|
|
38526
|
-
},{"../Decorators":
|
|
39013
|
+
},{"../Decorators":191,"../misc/MurmurHash":306}],253:[function(require,module,exports){
|
|
38527
39014
|
"use strict";
|
|
38528
39015
|
/*!
|
|
38529
39016
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38658,7 +39145,7 @@ LexerIndexedCustomAction = __decorate([
|
|
|
38658
39145
|
], LexerIndexedCustomAction);
|
|
38659
39146
|
exports.LexerIndexedCustomAction = LexerIndexedCustomAction;
|
|
38660
39147
|
|
|
38661
|
-
},{"../Decorators":
|
|
39148
|
+
},{"../Decorators":191,"../misc/MurmurHash":306}],254:[function(require,module,exports){
|
|
38662
39149
|
"use strict";
|
|
38663
39150
|
/*!
|
|
38664
39151
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38763,7 +39250,7 @@ __decorate([
|
|
|
38763
39250
|
], LexerModeAction.prototype, "toString", null);
|
|
38764
39251
|
exports.LexerModeAction = LexerModeAction;
|
|
38765
39252
|
|
|
38766
|
-
},{"../Decorators":
|
|
39253
|
+
},{"../Decorators":191,"../misc/MurmurHash":306}],255:[function(require,module,exports){
|
|
38767
39254
|
"use strict";
|
|
38768
39255
|
/*!
|
|
38769
39256
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38859,7 +39346,7 @@ exports.LexerMoreAction = LexerMoreAction;
|
|
|
38859
39346
|
LexerMoreAction.INSTANCE = new LexerMoreAction();
|
|
38860
39347
|
})(LexerMoreAction = exports.LexerMoreAction || (exports.LexerMoreAction = {}));
|
|
38861
39348
|
|
|
38862
|
-
},{"../Decorators":
|
|
39349
|
+
},{"../Decorators":191,"../misc/MurmurHash":306}],256:[function(require,module,exports){
|
|
38863
39350
|
"use strict";
|
|
38864
39351
|
/*!
|
|
38865
39352
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38955,7 +39442,7 @@ exports.LexerPopModeAction = LexerPopModeAction;
|
|
|
38955
39442
|
LexerPopModeAction.INSTANCE = new LexerPopModeAction();
|
|
38956
39443
|
})(LexerPopModeAction = exports.LexerPopModeAction || (exports.LexerPopModeAction = {}));
|
|
38957
39444
|
|
|
38958
|
-
},{"../Decorators":
|
|
39445
|
+
},{"../Decorators":191,"../misc/MurmurHash":306}],257:[function(require,module,exports){
|
|
38959
39446
|
"use strict";
|
|
38960
39447
|
/*!
|
|
38961
39448
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39060,7 +39547,7 @@ __decorate([
|
|
|
39060
39547
|
], LexerPushModeAction.prototype, "toString", null);
|
|
39061
39548
|
exports.LexerPushModeAction = LexerPushModeAction;
|
|
39062
39549
|
|
|
39063
|
-
},{"../Decorators":
|
|
39550
|
+
},{"../Decorators":191,"../misc/MurmurHash":306}],258:[function(require,module,exports){
|
|
39064
39551
|
"use strict";
|
|
39065
39552
|
/*!
|
|
39066
39553
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39156,7 +39643,7 @@ exports.LexerSkipAction = LexerSkipAction;
|
|
|
39156
39643
|
LexerSkipAction.INSTANCE = new LexerSkipAction();
|
|
39157
39644
|
})(LexerSkipAction = exports.LexerSkipAction || (exports.LexerSkipAction = {}));
|
|
39158
39645
|
|
|
39159
|
-
},{"../Decorators":
|
|
39646
|
+
},{"../Decorators":191,"../misc/MurmurHash":306}],259:[function(require,module,exports){
|
|
39160
39647
|
"use strict";
|
|
39161
39648
|
/*!
|
|
39162
39649
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39260,7 +39747,7 @@ __decorate([
|
|
|
39260
39747
|
], LexerTypeAction.prototype, "toString", null);
|
|
39261
39748
|
exports.LexerTypeAction = LexerTypeAction;
|
|
39262
39749
|
|
|
39263
|
-
},{"../Decorators":
|
|
39750
|
+
},{"../Decorators":191,"../misc/MurmurHash":306}],260:[function(require,module,exports){
|
|
39264
39751
|
"use strict";
|
|
39265
39752
|
/*!
|
|
39266
39753
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39312,7 +39799,7 @@ LookaheadEventInfo = __decorate([
|
|
|
39312
39799
|
], LookaheadEventInfo);
|
|
39313
39800
|
exports.LookaheadEventInfo = LookaheadEventInfo;
|
|
39314
39801
|
|
|
39315
|
-
},{"../Decorators":
|
|
39802
|
+
},{"../Decorators":191,"./DecisionEventInfo":242}],261:[function(require,module,exports){
|
|
39316
39803
|
"use strict";
|
|
39317
39804
|
/*!
|
|
39318
39805
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39341,7 +39828,7 @@ __decorate([
|
|
|
39341
39828
|
], LoopEndState.prototype, "stateType", null);
|
|
39342
39829
|
exports.LoopEndState = LoopEndState;
|
|
39343
39830
|
|
|
39344
|
-
},{"../Decorators":
|
|
39831
|
+
},{"../Decorators":191,"./ATNState":230,"./ATNStateType":231}],262:[function(require,module,exports){
|
|
39345
39832
|
"use strict";
|
|
39346
39833
|
/*!
|
|
39347
39834
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39390,7 +39877,7 @@ NotSetTransition = __decorate([
|
|
|
39390
39877
|
], NotSetTransition);
|
|
39391
39878
|
exports.NotSetTransition = NotSetTransition;
|
|
39392
39879
|
|
|
39393
|
-
},{"../Decorators":
|
|
39880
|
+
},{"../Decorators":191,"./SetTransition":280}],263:[function(require,module,exports){
|
|
39394
39881
|
"use strict";
|
|
39395
39882
|
/*!
|
|
39396
39883
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39445,7 +39932,7 @@ __decorate([
|
|
|
39445
39932
|
], OrderedATNConfigSet.prototype, "canMerge", null);
|
|
39446
39933
|
exports.OrderedATNConfigSet = OrderedATNConfigSet;
|
|
39447
39934
|
|
|
39448
|
-
},{"../Decorators":
|
|
39935
|
+
},{"../Decorators":191,"./ATNConfigSet":226}],264:[function(require,module,exports){
|
|
39449
39936
|
"use strict";
|
|
39450
39937
|
/*!
|
|
39451
39938
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39607,7 +40094,7 @@ ParseInfo = __decorate([
|
|
|
39607
40094
|
], ParseInfo);
|
|
39608
40095
|
exports.ParseInfo = ParseInfo;
|
|
39609
40096
|
|
|
39610
|
-
},{"../Decorators":
|
|
40097
|
+
},{"../Decorators":191}],265:[function(require,module,exports){
|
|
39611
40098
|
"use strict";
|
|
39612
40099
|
/*!
|
|
39613
40100
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41880,7 +42367,7 @@ ParserATNSimulator = __decorate([
|
|
|
41880
42367
|
], ParserATNSimulator);
|
|
41881
42368
|
exports.ParserATNSimulator = ParserATNSimulator;
|
|
41882
42369
|
|
|
41883
|
-
},{"../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){
|
|
41884
42371
|
"use strict";
|
|
41885
42372
|
/*!
|
|
41886
42373
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41913,7 +42400,7 @@ __decorate([
|
|
|
41913
42400
|
], PlusBlockStartState.prototype, "stateType", null);
|
|
41914
42401
|
exports.PlusBlockStartState = PlusBlockStartState;
|
|
41915
42402
|
|
|
41916
|
-
},{"../Decorators":
|
|
42403
|
+
},{"../Decorators":191,"./ATNStateType":231,"./BlockStartState":239}],267:[function(require,module,exports){
|
|
41917
42404
|
"use strict";
|
|
41918
42405
|
/*!
|
|
41919
42406
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41944,7 +42431,7 @@ __decorate([
|
|
|
41944
42431
|
], PlusLoopbackState.prototype, "stateType", null);
|
|
41945
42432
|
exports.PlusLoopbackState = PlusLoopbackState;
|
|
41946
42433
|
|
|
41947
|
-
},{"../Decorators":
|
|
42434
|
+
},{"../Decorators":191,"./ATNStateType":231,"./DecisionState":244}],268:[function(require,module,exports){
|
|
41948
42435
|
"use strict";
|
|
41949
42436
|
/*!
|
|
41950
42437
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42007,7 +42494,7 @@ PrecedencePredicateTransition = __decorate([
|
|
|
42007
42494
|
], PrecedencePredicateTransition);
|
|
42008
42495
|
exports.PrecedencePredicateTransition = PrecedencePredicateTransition;
|
|
42009
42496
|
|
|
42010
|
-
},{"../Decorators":
|
|
42497
|
+
},{"../Decorators":191,"./AbstractPredicateTransition":232,"./SemanticContext":279}],269:[function(require,module,exports){
|
|
42011
42498
|
"use strict";
|
|
42012
42499
|
/*!
|
|
42013
42500
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42070,7 +42557,7 @@ PredicateEvalInfo = __decorate([
|
|
|
42070
42557
|
], PredicateEvalInfo);
|
|
42071
42558
|
exports.PredicateEvalInfo = PredicateEvalInfo;
|
|
42072
42559
|
|
|
42073
|
-
},{"../Decorators":
|
|
42560
|
+
},{"../Decorators":191,"./DecisionEventInfo":242}],270:[function(require,module,exports){
|
|
42074
42561
|
"use strict";
|
|
42075
42562
|
/*!
|
|
42076
42563
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42136,7 +42623,7 @@ PredicateTransition = __decorate([
|
|
|
42136
42623
|
], PredicateTransition);
|
|
42137
42624
|
exports.PredicateTransition = PredicateTransition;
|
|
42138
42625
|
|
|
42139
|
-
},{"../Decorators":
|
|
42626
|
+
},{"../Decorators":191,"./AbstractPredicateTransition":232,"./SemanticContext":279}],271:[function(require,module,exports){
|
|
42140
42627
|
"use strict";
|
|
42141
42628
|
/*!
|
|
42142
42629
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42827,7 +43314,7 @@ exports.SingletonPredictionContext = SingletonPredictionContext;
|
|
|
42827
43314
|
PredictionContext.IdentityEqualityComparator = IdentityEqualityComparator;
|
|
42828
43315
|
})(PredictionContext = exports.PredictionContext || (exports.PredictionContext = {}));
|
|
42829
43316
|
|
|
42830
|
-
},{"../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){
|
|
42831
43318
|
"use strict";
|
|
42832
43319
|
/*!
|
|
42833
43320
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42968,7 +43455,7 @@ PredictionContextCache.UNCACHED = new PredictionContextCache(false);
|
|
|
42968
43455
|
PredictionContextCache.IdentityCommutativePredictionContextOperands = IdentityCommutativePredictionContextOperands;
|
|
42969
43456
|
})(PredictionContextCache = exports.PredictionContextCache || (exports.PredictionContextCache = {}));
|
|
42970
43457
|
|
|
42971
|
-
},{"../Decorators":
|
|
43458
|
+
},{"../Decorators":191,"../misc/Array2DHashMap":294,"../misc/ObjectEqualityComparator":307,"./PredictionContext":271,"assert":334}],273:[function(require,module,exports){
|
|
42972
43459
|
"use strict";
|
|
42973
43460
|
/*!
|
|
42974
43461
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43129,7 +43616,7 @@ var PredictionMode;
|
|
|
43129
43616
|
PredictionMode.allConfigsInRuleStopStates = allConfigsInRuleStopStates;
|
|
43130
43617
|
})(PredictionMode = exports.PredictionMode || (exports.PredictionMode = {}));
|
|
43131
43618
|
|
|
43132
|
-
},{"../Decorators":
|
|
43619
|
+
},{"../Decorators":191,"../misc/Array2DHashMap":294,"../misc/MurmurHash":306,"./RuleStopState":277}],274:[function(require,module,exports){
|
|
43133
43620
|
(function (process){(function (){
|
|
43134
43621
|
"use strict";
|
|
43135
43622
|
/*!
|
|
@@ -43398,7 +43885,7 @@ __decorate([
|
|
|
43398
43885
|
exports.ProfilingATNSimulator = ProfilingATNSimulator;
|
|
43399
43886
|
|
|
43400
43887
|
}).call(this)}).call(this,require('_process'))
|
|
43401
|
-
},{"../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){
|
|
43402
43889
|
"use strict";
|
|
43403
43890
|
/*!
|
|
43404
43891
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43456,7 +43943,7 @@ RangeTransition = __decorate([
|
|
|
43456
43943
|
], RangeTransition);
|
|
43457
43944
|
exports.RangeTransition = RangeTransition;
|
|
43458
43945
|
|
|
43459
|
-
},{"../Decorators":
|
|
43946
|
+
},{"../Decorators":191,"../misc/IntervalSet":304,"./Transition":286}],276:[function(require,module,exports){
|
|
43460
43947
|
"use strict";
|
|
43461
43948
|
/*!
|
|
43462
43949
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43489,7 +43976,7 @@ __decorate([
|
|
|
43489
43976
|
], RuleStartState.prototype, "stateType", null);
|
|
43490
43977
|
exports.RuleStartState = RuleStartState;
|
|
43491
43978
|
|
|
43492
|
-
},{"../Decorators":
|
|
43979
|
+
},{"../Decorators":191,"./ATNState":230,"./ATNStateType":231}],277:[function(require,module,exports){
|
|
43493
43980
|
"use strict";
|
|
43494
43981
|
/*!
|
|
43495
43982
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43528,7 +44015,7 @@ __decorate([
|
|
|
43528
44015
|
], RuleStopState.prototype, "stateType", null);
|
|
43529
44016
|
exports.RuleStopState = RuleStopState;
|
|
43530
44017
|
|
|
43531
|
-
},{"../Decorators":
|
|
44018
|
+
},{"../Decorators":191,"./ATNState":230,"./ATNStateType":231}],278:[function(require,module,exports){
|
|
43532
44019
|
"use strict";
|
|
43533
44020
|
/*!
|
|
43534
44021
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43584,7 +44071,7 @@ RuleTransition = __decorate([
|
|
|
43584
44071
|
], RuleTransition);
|
|
43585
44072
|
exports.RuleTransition = RuleTransition;
|
|
43586
44073
|
|
|
43587
|
-
},{"../Decorators":
|
|
44074
|
+
},{"../Decorators":191,"./Transition":286}],279:[function(require,module,exports){
|
|
43588
44075
|
"use strict";
|
|
43589
44076
|
/*!
|
|
43590
44077
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44064,7 +44551,7 @@ exports.SemanticContext = SemanticContext;
|
|
|
44064
44551
|
SemanticContext.OR = OR;
|
|
44065
44552
|
})(SemanticContext = exports.SemanticContext || (exports.SemanticContext = {}));
|
|
44066
44553
|
|
|
44067
|
-
},{"../Decorators":
|
|
44554
|
+
},{"../Decorators":191,"../misc/Array2DHashSet":295,"../misc/ArrayEqualityComparator":296,"../misc/MurmurHash":306,"../misc/ObjectEqualityComparator":307,"../misc/Utils":310}],280:[function(require,module,exports){
|
|
44068
44555
|
"use strict";
|
|
44069
44556
|
/*!
|
|
44070
44557
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44130,7 +44617,7 @@ SetTransition = __decorate([
|
|
|
44130
44617
|
], SetTransition);
|
|
44131
44618
|
exports.SetTransition = SetTransition;
|
|
44132
44619
|
|
|
44133
|
-
},{"../Decorators":
|
|
44620
|
+
},{"../Decorators":191,"../Token":216,"../misc/IntervalSet":304,"./Transition":286}],281:[function(require,module,exports){
|
|
44134
44621
|
"use strict";
|
|
44135
44622
|
/*!
|
|
44136
44623
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44166,7 +44653,7 @@ SimulatorState = __decorate([
|
|
|
44166
44653
|
], SimulatorState);
|
|
44167
44654
|
exports.SimulatorState = SimulatorState;
|
|
44168
44655
|
|
|
44169
|
-
},{"../Decorators":
|
|
44656
|
+
},{"../Decorators":191,"../ParserRuleContext":207}],282:[function(require,module,exports){
|
|
44170
44657
|
"use strict";
|
|
44171
44658
|
/*!
|
|
44172
44659
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44194,7 +44681,7 @@ __decorate([
|
|
|
44194
44681
|
], StarBlockStartState.prototype, "stateType", null);
|
|
44195
44682
|
exports.StarBlockStartState = StarBlockStartState;
|
|
44196
44683
|
|
|
44197
|
-
},{"../Decorators":
|
|
44684
|
+
},{"../Decorators":191,"./ATNStateType":231,"./BlockStartState":239}],283:[function(require,module,exports){
|
|
44198
44685
|
"use strict";
|
|
44199
44686
|
/*!
|
|
44200
44687
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44251,7 +44738,7 @@ __decorate([
|
|
|
44251
44738
|
], StarLoopEntryState.prototype, "stateType", null);
|
|
44252
44739
|
exports.StarLoopEntryState = StarLoopEntryState;
|
|
44253
44740
|
|
|
44254
|
-
},{"../Decorators":
|
|
44741
|
+
},{"../Decorators":191,"../misc/BitSet":298,"./ATNStateType":231,"./DecisionState":244}],284:[function(require,module,exports){
|
|
44255
44742
|
"use strict";
|
|
44256
44743
|
/*!
|
|
44257
44744
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44282,7 +44769,7 @@ __decorate([
|
|
|
44282
44769
|
], StarLoopbackState.prototype, "stateType", null);
|
|
44283
44770
|
exports.StarLoopbackState = StarLoopbackState;
|
|
44284
44771
|
|
|
44285
|
-
},{"../Decorators":
|
|
44772
|
+
},{"../Decorators":191,"./ATNState":230,"./ATNStateType":231}],285:[function(require,module,exports){
|
|
44286
44773
|
"use strict";
|
|
44287
44774
|
/*!
|
|
44288
44775
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44311,7 +44798,7 @@ __decorate([
|
|
|
44311
44798
|
], TokensStartState.prototype, "stateType", null);
|
|
44312
44799
|
exports.TokensStartState = TokensStartState;
|
|
44313
44800
|
|
|
44314
|
-
},{"../Decorators":
|
|
44801
|
+
},{"../Decorators":191,"./ATNStateType":231,"./DecisionState":244}],286:[function(require,module,exports){
|
|
44315
44802
|
"use strict";
|
|
44316
44803
|
/*!
|
|
44317
44804
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44385,7 +44872,7 @@ Transition = __decorate([
|
|
|
44385
44872
|
], Transition);
|
|
44386
44873
|
exports.Transition = Transition;
|
|
44387
44874
|
|
|
44388
|
-
},{"../Decorators":
|
|
44875
|
+
},{"../Decorators":191}],287:[function(require,module,exports){
|
|
44389
44876
|
"use strict";
|
|
44390
44877
|
/*!
|
|
44391
44878
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44433,7 +44920,7 @@ WildcardTransition = __decorate([
|
|
|
44433
44920
|
], WildcardTransition);
|
|
44434
44921
|
exports.WildcardTransition = WildcardTransition;
|
|
44435
44922
|
|
|
44436
|
-
},{"../Decorators":
|
|
44923
|
+
},{"../Decorators":191,"./Transition":286}],288:[function(require,module,exports){
|
|
44437
44924
|
"use strict";
|
|
44438
44925
|
/*!
|
|
44439
44926
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44475,7 +44962,7 @@ class AcceptStateInfo {
|
|
|
44475
44962
|
}
|
|
44476
44963
|
exports.AcceptStateInfo = AcceptStateInfo;
|
|
44477
44964
|
|
|
44478
|
-
},{}],
|
|
44965
|
+
},{}],289:[function(require,module,exports){
|
|
44479
44966
|
"use strict";
|
|
44480
44967
|
/*!
|
|
44481
44968
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44650,7 +45137,7 @@ DFA = __decorate([
|
|
|
44650
45137
|
], DFA);
|
|
44651
45138
|
exports.DFA = DFA;
|
|
44652
45139
|
|
|
44653
|
-
},{"../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){
|
|
44654
45141
|
"use strict";
|
|
44655
45142
|
/*!
|
|
44656
45143
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44792,7 +45279,7 @@ __decorate([
|
|
|
44792
45279
|
], DFASerializer.prototype, "toString", null);
|
|
44793
45280
|
exports.DFASerializer = DFASerializer;
|
|
44794
45281
|
|
|
44795
|
-
},{"../Decorators":
|
|
45282
|
+
},{"../Decorators":191,"../Recognizer":211,"../VocabularyImpl":222,"../atn/ATNSimulator":229,"../atn/PredictionContext":271}],291:[function(require,module,exports){
|
|
44796
45283
|
"use strict";
|
|
44797
45284
|
/*!
|
|
44798
45285
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45023,7 +45510,7 @@ exports.DFAState = DFAState;
|
|
|
45023
45510
|
DFAState.PredPrediction = PredPrediction;
|
|
45024
45511
|
})(DFAState = exports.DFAState || (exports.DFAState = {}));
|
|
45025
45512
|
|
|
45026
|
-
},{"../Decorators":
|
|
45513
|
+
},{"../Decorators":191,"../atn/ATN":224,"../atn/PredictionContext":271,"../misc/BitSet":298,"../misc/MurmurHash":306,"assert":334}],292:[function(require,module,exports){
|
|
45027
45514
|
"use strict";
|
|
45028
45515
|
/*!
|
|
45029
45516
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45060,7 +45547,7 @@ LexerDFASerializer = __decorate([
|
|
|
45060
45547
|
], LexerDFASerializer);
|
|
45061
45548
|
exports.LexerDFASerializer = LexerDFASerializer;
|
|
45062
45549
|
|
|
45063
|
-
},{"../Decorators":
|
|
45550
|
+
},{"../Decorators":191,"../VocabularyImpl":222,"./DFASerializer":290}],293:[function(require,module,exports){
|
|
45064
45551
|
"use strict";
|
|
45065
45552
|
/*!
|
|
45066
45553
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45126,7 +45613,7 @@ __exportStar(require("./Vocabulary"), exports);
|
|
|
45126
45613
|
__exportStar(require("./VocabularyImpl"), exports);
|
|
45127
45614
|
__exportStar(require("./WritableToken"), exports);
|
|
45128
45615
|
|
|
45129
|
-
},{"./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){
|
|
45130
45617
|
"use strict";
|
|
45131
45618
|
/*!
|
|
45132
45619
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45209,7 +45696,7 @@ class Array2DHashMap {
|
|
|
45209
45696
|
}
|
|
45210
45697
|
exports.Array2DHashMap = Array2DHashMap;
|
|
45211
45698
|
|
|
45212
|
-
},{"./Array2DHashSet":
|
|
45699
|
+
},{"./Array2DHashSet":295}],295:[function(require,module,exports){
|
|
45213
45700
|
"use strict";
|
|
45214
45701
|
/*!
|
|
45215
45702
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45576,7 +46063,7 @@ __decorate([
|
|
|
45576
46063
|
], Array2DHashSet.prototype, "createBuckets", null);
|
|
45577
46064
|
exports.Array2DHashSet = Array2DHashSet;
|
|
45578
46065
|
|
|
45579
|
-
},{"../Decorators":
|
|
46066
|
+
},{"../Decorators":191,"./DefaultEqualityComparator":300,"./MurmurHash":306,"assert":334}],296:[function(require,module,exports){
|
|
45580
46067
|
"use strict";
|
|
45581
46068
|
/*!
|
|
45582
46069
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45648,7 +46135,7 @@ __decorate([
|
|
|
45648
46135
|
], ArrayEqualityComparator.prototype, "equals", null);
|
|
45649
46136
|
exports.ArrayEqualityComparator = ArrayEqualityComparator;
|
|
45650
46137
|
|
|
45651
|
-
},{"../Decorators":
|
|
46138
|
+
},{"../Decorators":191,"./MurmurHash":306,"./ObjectEqualityComparator":307}],297:[function(require,module,exports){
|
|
45652
46139
|
"use strict";
|
|
45653
46140
|
/*!
|
|
45654
46141
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45718,7 +46205,7 @@ var Arrays;
|
|
|
45718
46205
|
Arrays.toString = toString;
|
|
45719
46206
|
})(Arrays = exports.Arrays || (exports.Arrays = {}));
|
|
45720
46207
|
|
|
45721
|
-
},{}],
|
|
46208
|
+
},{}],298:[function(require,module,exports){
|
|
45722
46209
|
"use strict";
|
|
45723
46210
|
/*!
|
|
45724
46211
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46390,7 +46877,7 @@ class BitSetIterator {
|
|
|
46390
46877
|
[Symbol.iterator]() { return this; }
|
|
46391
46878
|
}
|
|
46392
46879
|
|
|
46393
|
-
},{"./MurmurHash":
|
|
46880
|
+
},{"./MurmurHash":306,"util":387}],299:[function(require,module,exports){
|
|
46394
46881
|
"use strict";
|
|
46395
46882
|
/*!
|
|
46396
46883
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46411,7 +46898,7 @@ function isSupplementaryCodePoint(ch) {
|
|
|
46411
46898
|
}
|
|
46412
46899
|
exports.isSupplementaryCodePoint = isSupplementaryCodePoint;
|
|
46413
46900
|
|
|
46414
|
-
},{}],
|
|
46901
|
+
},{}],300:[function(require,module,exports){
|
|
46415
46902
|
"use strict";
|
|
46416
46903
|
/*!
|
|
46417
46904
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46482,7 +46969,7 @@ __decorate([
|
|
|
46482
46969
|
], DefaultEqualityComparator.prototype, "equals", null);
|
|
46483
46970
|
exports.DefaultEqualityComparator = DefaultEqualityComparator;
|
|
46484
46971
|
|
|
46485
|
-
},{"../Decorators":
|
|
46972
|
+
},{"../Decorators":191,"./MurmurHash":306,"./ObjectEqualityComparator":307}],301:[function(require,module,exports){
|
|
46486
46973
|
"use strict";
|
|
46487
46974
|
/*!
|
|
46488
46975
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46776,7 +47263,7 @@ __decorate([
|
|
|
46776
47263
|
], IntegerList.prototype, "toString", null);
|
|
46777
47264
|
exports.IntegerList = IntegerList;
|
|
46778
47265
|
|
|
46779
|
-
},{"../Decorators":
|
|
47266
|
+
},{"../Decorators":191,"./Arrays":297}],302:[function(require,module,exports){
|
|
46780
47267
|
"use strict";
|
|
46781
47268
|
/*!
|
|
46782
47269
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46806,7 +47293,7 @@ class IntegerStack extends IntegerList_1.IntegerList {
|
|
|
46806
47293
|
}
|
|
46807
47294
|
exports.IntegerStack = IntegerStack;
|
|
46808
47295
|
|
|
46809
|
-
},{"./IntegerList":
|
|
47296
|
+
},{"./IntegerList":301}],303:[function(require,module,exports){
|
|
46810
47297
|
"use strict";
|
|
46811
47298
|
/*!
|
|
46812
47299
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46949,7 +47436,7 @@ __decorate([
|
|
|
46949
47436
|
], Interval.prototype, "toString", null);
|
|
46950
47437
|
exports.Interval = Interval;
|
|
46951
47438
|
|
|
46952
|
-
},{"../Decorators":
|
|
47439
|
+
},{"../Decorators":191}],304:[function(require,module,exports){
|
|
46953
47440
|
"use strict";
|
|
46954
47441
|
/*!
|
|
46955
47442
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47595,7 +48082,7 @@ __decorate([
|
|
|
47595
48082
|
], IntervalSet, "subtract", null);
|
|
47596
48083
|
exports.IntervalSet = IntervalSet;
|
|
47597
48084
|
|
|
47598
|
-
},{"../Decorators":
|
|
48085
|
+
},{"../Decorators":191,"../Lexer":199,"../Token":216,"./ArrayEqualityComparator":296,"./IntegerList":301,"./Interval":303,"./MurmurHash":306}],305:[function(require,module,exports){
|
|
47599
48086
|
"use strict";
|
|
47600
48087
|
/*!
|
|
47601
48088
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47628,7 +48115,7 @@ class MultiMap extends Map {
|
|
|
47628
48115
|
}
|
|
47629
48116
|
exports.MultiMap = MultiMap;
|
|
47630
48117
|
|
|
47631
|
-
},{}],
|
|
48118
|
+
},{}],306:[function(require,module,exports){
|
|
47632
48119
|
"use strict";
|
|
47633
48120
|
/*!
|
|
47634
48121
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47743,7 +48230,7 @@ var MurmurHash;
|
|
|
47743
48230
|
}
|
|
47744
48231
|
})(MurmurHash = exports.MurmurHash || (exports.MurmurHash = {}));
|
|
47745
48232
|
|
|
47746
|
-
},{}],
|
|
48233
|
+
},{}],307:[function(require,module,exports){
|
|
47747
48234
|
"use strict";
|
|
47748
48235
|
/*!
|
|
47749
48236
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47802,7 +48289,7 @@ __decorate([
|
|
|
47802
48289
|
], ObjectEqualityComparator.prototype, "equals", null);
|
|
47803
48290
|
exports.ObjectEqualityComparator = ObjectEqualityComparator;
|
|
47804
48291
|
|
|
47805
|
-
},{"../Decorators":
|
|
48292
|
+
},{"../Decorators":191}],308:[function(require,module,exports){
|
|
47806
48293
|
"use strict";
|
|
47807
48294
|
/*!
|
|
47808
48295
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47831,7 +48318,7 @@ class ParseCancellationException extends Error {
|
|
|
47831
48318
|
}
|
|
47832
48319
|
exports.ParseCancellationException = ParseCancellationException;
|
|
47833
48320
|
|
|
47834
|
-
},{}],
|
|
48321
|
+
},{}],309:[function(require,module,exports){
|
|
47835
48322
|
"use strict";
|
|
47836
48323
|
/*!
|
|
47837
48324
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47885,7 +48372,7 @@ class UUID {
|
|
|
47885
48372
|
}
|
|
47886
48373
|
exports.UUID = UUID;
|
|
47887
48374
|
|
|
47888
|
-
},{"./MurmurHash":
|
|
48375
|
+
},{"./MurmurHash":306}],310:[function(require,module,exports){
|
|
47889
48376
|
"use strict";
|
|
47890
48377
|
/*!
|
|
47891
48378
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48060,7 +48547,7 @@ exports.toCharArray = toCharArray;
|
|
|
48060
48547
|
// return s;
|
|
48061
48548
|
// }
|
|
48062
48549
|
|
|
48063
|
-
},{}],
|
|
48550
|
+
},{}],311:[function(require,module,exports){
|
|
48064
48551
|
"use strict";
|
|
48065
48552
|
/*!
|
|
48066
48553
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48096,7 +48583,7 @@ __decorate([
|
|
|
48096
48583
|
], ErrorNode.prototype, "accept", null);
|
|
48097
48584
|
exports.ErrorNode = ErrorNode;
|
|
48098
48585
|
|
|
48099
|
-
},{"../Decorators":
|
|
48586
|
+
},{"../Decorators":191,"./TerminalNode":314}],312:[function(require,module,exports){
|
|
48100
48587
|
"use strict";
|
|
48101
48588
|
/*!
|
|
48102
48589
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48201,7 +48688,7 @@ exports.ParseTreeWalker = ParseTreeWalker;
|
|
|
48201
48688
|
ParseTreeWalker.DEFAULT = new ParseTreeWalker();
|
|
48202
48689
|
})(ParseTreeWalker = exports.ParseTreeWalker || (exports.ParseTreeWalker = {}));
|
|
48203
48690
|
|
|
48204
|
-
},{"./ErrorNode":
|
|
48691
|
+
},{"./ErrorNode":311,"./RuleNode":313,"./TerminalNode":314}],313:[function(require,module,exports){
|
|
48205
48692
|
"use strict";
|
|
48206
48693
|
/*!
|
|
48207
48694
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48213,7 +48700,7 @@ class RuleNode {
|
|
|
48213
48700
|
}
|
|
48214
48701
|
exports.RuleNode = RuleNode;
|
|
48215
48702
|
|
|
48216
|
-
},{}],
|
|
48703
|
+
},{}],314:[function(require,module,exports){
|
|
48217
48704
|
"use strict";
|
|
48218
48705
|
/*!
|
|
48219
48706
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48305,7 +48792,7 @@ __decorate([
|
|
|
48305
48792
|
], TerminalNode.prototype, "toString", null);
|
|
48306
48793
|
exports.TerminalNode = TerminalNode;
|
|
48307
48794
|
|
|
48308
|
-
},{"../Decorators":
|
|
48795
|
+
},{"../Decorators":191,"../Token":216,"../misc/Interval":303}],315:[function(require,module,exports){
|
|
48309
48796
|
"use strict";
|
|
48310
48797
|
/*!
|
|
48311
48798
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48549,7 +49036,7 @@ __decorate([
|
|
|
48549
49036
|
], Trees, "getRootOfSubtreeEnclosingRegion", null);
|
|
48550
49037
|
exports.Trees = Trees;
|
|
48551
49038
|
|
|
48552
|
-
},{"../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){
|
|
48553
49040
|
"use strict";
|
|
48554
49041
|
/*!
|
|
48555
49042
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48573,7 +49060,7 @@ class Chunk {
|
|
|
48573
49060
|
}
|
|
48574
49061
|
exports.Chunk = Chunk;
|
|
48575
49062
|
|
|
48576
|
-
},{}],
|
|
49063
|
+
},{}],317:[function(require,module,exports){
|
|
48577
49064
|
"use strict";
|
|
48578
49065
|
/*!
|
|
48579
49066
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48753,7 +49240,7 @@ ParseTreeMatch = __decorate([
|
|
|
48753
49240
|
], ParseTreeMatch);
|
|
48754
49241
|
exports.ParseTreeMatch = ParseTreeMatch;
|
|
48755
49242
|
|
|
48756
|
-
},{"../../Decorators":
|
|
49243
|
+
},{"../../Decorators":191}],318:[function(require,module,exports){
|
|
48757
49244
|
"use strict";
|
|
48758
49245
|
/*!
|
|
48759
49246
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48911,7 +49398,7 @@ ParseTreePattern = __decorate([
|
|
|
48911
49398
|
], ParseTreePattern);
|
|
48912
49399
|
exports.ParseTreePattern = ParseTreePattern;
|
|
48913
49400
|
|
|
48914
|
-
},{"../../Decorators":
|
|
49401
|
+
},{"../../Decorators":191,"../xpath/XPath":324}],319:[function(require,module,exports){
|
|
48915
49402
|
"use strict";
|
|
48916
49403
|
/*!
|
|
48917
49404
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49389,7 +49876,7 @@ exports.ParseTreePatternMatcher = ParseTreePatternMatcher;
|
|
|
49389
49876
|
ParseTreePatternMatcher.StartRuleDoesNotConsumeFullPattern = StartRuleDoesNotConsumeFullPattern;
|
|
49390
49877
|
})(ParseTreePatternMatcher = exports.ParseTreePatternMatcher || (exports.ParseTreePatternMatcher = {}));
|
|
49391
49878
|
|
|
49392
|
-
},{"../../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){
|
|
49393
49880
|
"use strict";
|
|
49394
49881
|
/*!
|
|
49395
49882
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49587,7 +50074,7 @@ RuleTagToken = __decorate([
|
|
|
49587
50074
|
], RuleTagToken);
|
|
49588
50075
|
exports.RuleTagToken = RuleTagToken;
|
|
49589
50076
|
|
|
49590
|
-
},{"../../Decorators":
|
|
50077
|
+
},{"../../Decorators":191,"../../Token":216}],321:[function(require,module,exports){
|
|
49591
50078
|
"use strict";
|
|
49592
50079
|
/*!
|
|
49593
50080
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49674,7 +50161,7 @@ __decorate([
|
|
|
49674
50161
|
], TagChunk.prototype, "toString", null);
|
|
49675
50162
|
exports.TagChunk = TagChunk;
|
|
49676
50163
|
|
|
49677
|
-
},{"../../Decorators":
|
|
50164
|
+
},{"../../Decorators":191,"./Chunk":316}],322:[function(require,module,exports){
|
|
49678
50165
|
"use strict";
|
|
49679
50166
|
/*!
|
|
49680
50167
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49744,7 +50231,7 @@ TextChunk = __decorate([
|
|
|
49744
50231
|
], TextChunk);
|
|
49745
50232
|
exports.TextChunk = TextChunk;
|
|
49746
50233
|
|
|
49747
|
-
},{"../../Decorators":
|
|
50234
|
+
},{"../../Decorators":191,"./Chunk":316}],323:[function(require,module,exports){
|
|
49748
50235
|
"use strict";
|
|
49749
50236
|
/*!
|
|
49750
50237
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49839,7 +50326,7 @@ TokenTagToken = __decorate([
|
|
|
49839
50326
|
], TokenTagToken);
|
|
49840
50327
|
exports.TokenTagToken = TokenTagToken;
|
|
49841
50328
|
|
|
49842
|
-
},{"../../CommonToken":
|
|
50329
|
+
},{"../../CommonToken":187,"../../Decorators":191}],324:[function(require,module,exports){
|
|
49843
50330
|
"use strict";
|
|
49844
50331
|
/*!
|
|
49845
50332
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50036,7 +50523,7 @@ exports.XPath = XPath;
|
|
|
50036
50523
|
XPath.WILDCARD = "*"; // word not operator/separator
|
|
50037
50524
|
XPath.NOT = "!"; // word for invert operator
|
|
50038
50525
|
|
|
50039
|
-
},{"../../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){
|
|
50040
50527
|
"use strict";
|
|
50041
50528
|
/*!
|
|
50042
50529
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50071,7 +50558,7 @@ __decorate([
|
|
|
50071
50558
|
], XPathElement.prototype, "toString", null);
|
|
50072
50559
|
exports.XPathElement = XPathElement;
|
|
50073
50560
|
|
|
50074
|
-
},{"../../Decorators":
|
|
50561
|
+
},{"../../Decorators":191}],326:[function(require,module,exports){
|
|
50075
50562
|
"use strict";
|
|
50076
50563
|
// Generated from XPathLexer.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
50077
50564
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -50546,7 +51033,7 @@ XPathLexer._serializedATN = Utils.join([
|
|
|
50546
51033
|
XPathLexer._serializedATNSegment1,
|
|
50547
51034
|
], "");
|
|
50548
51035
|
|
|
50549
|
-
},{"../../Lexer":
|
|
51036
|
+
},{"../../Lexer":199,"../../VocabularyImpl":222,"../../atn/ATNDeserializer":228,"../../atn/LexerATNSimulator":249,"../../misc/Utils":310}],327:[function(require,module,exports){
|
|
50550
51037
|
"use strict";
|
|
50551
51038
|
/*!
|
|
50552
51039
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50571,7 +51058,7 @@ __decorate([
|
|
|
50571
51058
|
], XPathLexerErrorListener.prototype, "syntaxError", null);
|
|
50572
51059
|
exports.XPathLexerErrorListener = XPathLexerErrorListener;
|
|
50573
51060
|
|
|
50574
|
-
},{"../../Decorators":
|
|
51061
|
+
},{"../../Decorators":191}],328:[function(require,module,exports){
|
|
50575
51062
|
"use strict";
|
|
50576
51063
|
/*!
|
|
50577
51064
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50605,7 +51092,7 @@ __decorate([
|
|
|
50605
51092
|
], XPathRuleAnywhereElement.prototype, "evaluate", null);
|
|
50606
51093
|
exports.XPathRuleAnywhereElement = XPathRuleAnywhereElement;
|
|
50607
51094
|
|
|
50608
|
-
},{"../../Decorators":
|
|
51095
|
+
},{"../../Decorators":191,"../Trees":315,"./XPathElement":325}],329:[function(require,module,exports){
|
|
50609
51096
|
"use strict";
|
|
50610
51097
|
/*!
|
|
50611
51098
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50648,7 +51135,7 @@ __decorate([
|
|
|
50648
51135
|
], XPathRuleElement.prototype, "evaluate", null);
|
|
50649
51136
|
exports.XPathRuleElement = XPathRuleElement;
|
|
50650
51137
|
|
|
50651
|
-
},{"../../Decorators":
|
|
51138
|
+
},{"../../Decorators":191,"../../ParserRuleContext":207,"../Trees":315,"./XPathElement":325}],330:[function(require,module,exports){
|
|
50652
51139
|
"use strict";
|
|
50653
51140
|
/*!
|
|
50654
51141
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50680,7 +51167,7 @@ __decorate([
|
|
|
50680
51167
|
], XPathTokenAnywhereElement.prototype, "evaluate", null);
|
|
50681
51168
|
exports.XPathTokenAnywhereElement = XPathTokenAnywhereElement;
|
|
50682
51169
|
|
|
50683
|
-
},{"../../Decorators":
|
|
51170
|
+
},{"../../Decorators":191,"../Trees":315,"./XPathElement":325}],331:[function(require,module,exports){
|
|
50684
51171
|
"use strict";
|
|
50685
51172
|
/*!
|
|
50686
51173
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50723,7 +51210,7 @@ __decorate([
|
|
|
50723
51210
|
], XPathTokenElement.prototype, "evaluate", null);
|
|
50724
51211
|
exports.XPathTokenElement = XPathTokenElement;
|
|
50725
51212
|
|
|
50726
|
-
},{"../../Decorators":
|
|
51213
|
+
},{"../../Decorators":191,"../TerminalNode":314,"../Trees":315,"./XPathElement":325}],332:[function(require,module,exports){
|
|
50727
51214
|
"use strict";
|
|
50728
51215
|
/*!
|
|
50729
51216
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50759,7 +51246,7 @@ __decorate([
|
|
|
50759
51246
|
], XPathWildcardAnywhereElement.prototype, "evaluate", null);
|
|
50760
51247
|
exports.XPathWildcardAnywhereElement = XPathWildcardAnywhereElement;
|
|
50761
51248
|
|
|
50762
|
-
},{"../../Decorators":
|
|
51249
|
+
},{"../../Decorators":191,"../Trees":315,"./XPath":324,"./XPathElement":325}],333:[function(require,module,exports){
|
|
50763
51250
|
"use strict";
|
|
50764
51251
|
/*!
|
|
50765
51252
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50799,7 +51286,7 @@ __decorate([
|
|
|
50799
51286
|
], XPathWildcardElement.prototype, "evaluate", null);
|
|
50800
51287
|
exports.XPathWildcardElement = XPathWildcardElement;
|
|
50801
51288
|
|
|
50802
|
-
},{"../../Decorators":
|
|
51289
|
+
},{"../../Decorators":191,"../Trees":315,"./XPath":324,"./XPathElement":325}],334:[function(require,module,exports){
|
|
50803
51290
|
(function (global){(function (){
|
|
50804
51291
|
'use strict';
|
|
50805
51292
|
|
|
@@ -51309,7 +51796,7 @@ var objectKeys = Object.keys || function (obj) {
|
|
|
51309
51796
|
};
|
|
51310
51797
|
|
|
51311
51798
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51312
|
-
},{"object.assign/polyfill":
|
|
51799
|
+
},{"object.assign/polyfill":380,"util/":337}],335:[function(require,module,exports){
|
|
51313
51800
|
if (typeof Object.create === 'function') {
|
|
51314
51801
|
// implementation from standard node.js 'util' module
|
|
51315
51802
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -51334,14 +51821,14 @@ if (typeof Object.create === 'function') {
|
|
|
51334
51821
|
}
|
|
51335
51822
|
}
|
|
51336
51823
|
|
|
51337
|
-
},{}],
|
|
51824
|
+
},{}],336:[function(require,module,exports){
|
|
51338
51825
|
module.exports = function isBuffer(arg) {
|
|
51339
51826
|
return arg && typeof arg === 'object'
|
|
51340
51827
|
&& typeof arg.copy === 'function'
|
|
51341
51828
|
&& typeof arg.fill === 'function'
|
|
51342
51829
|
&& typeof arg.readUInt8 === 'function';
|
|
51343
51830
|
}
|
|
51344
|
-
},{}],
|
|
51831
|
+
},{}],337:[function(require,module,exports){
|
|
51345
51832
|
(function (process,global){(function (){
|
|
51346
51833
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
51347
51834
|
//
|
|
@@ -51931,7 +52418,7 @@ function hasOwnProperty(obj, prop) {
|
|
|
51931
52418
|
}
|
|
51932
52419
|
|
|
51933
52420
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51934
|
-
},{"./support/isBuffer":
|
|
52421
|
+
},{"./support/isBuffer":336,"_process":382,"inherits":335}],338:[function(require,module,exports){
|
|
51935
52422
|
(function (global){(function (){
|
|
51936
52423
|
'use strict';
|
|
51937
52424
|
|
|
@@ -51952,7 +52439,7 @@ module.exports = function availableTypedArrays() {
|
|
|
51952
52439
|
};
|
|
51953
52440
|
|
|
51954
52441
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51955
|
-
},{"possible-typed-array-names":
|
|
52442
|
+
},{"possible-typed-array-names":381}],339:[function(require,module,exports){
|
|
51956
52443
|
(function (process,global){(function (){
|
|
51957
52444
|
module.exports = process.hrtime || hrtime
|
|
51958
52445
|
|
|
@@ -51983,7 +52470,7 @@ function hrtime(previousTimestamp){
|
|
|
51983
52470
|
return [seconds,nanoseconds]
|
|
51984
52471
|
}
|
|
51985
52472
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51986
|
-
},{"_process":
|
|
52473
|
+
},{"_process":382}],340:[function(require,module,exports){
|
|
51987
52474
|
'use strict';
|
|
51988
52475
|
|
|
51989
52476
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -52000,7 +52487,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
52000
52487
|
return intrinsic;
|
|
52001
52488
|
};
|
|
52002
52489
|
|
|
52003
|
-
},{"./":
|
|
52490
|
+
},{"./":341,"get-intrinsic":344}],341:[function(require,module,exports){
|
|
52004
52491
|
'use strict';
|
|
52005
52492
|
|
|
52006
52493
|
var bind = require('function-bind');
|
|
@@ -52049,7 +52536,7 @@ if ($defineProperty) {
|
|
|
52049
52536
|
module.exports.apply = applyBind;
|
|
52050
52537
|
}
|
|
52051
52538
|
|
|
52052
|
-
},{"function-bind":
|
|
52539
|
+
},{"function-bind":343,"get-intrinsic":344}],342:[function(require,module,exports){
|
|
52053
52540
|
'use strict';
|
|
52054
52541
|
|
|
52055
52542
|
/* eslint no-invalid-this: 1 */
|
|
@@ -52103,14 +52590,14 @@ module.exports = function bind(that) {
|
|
|
52103
52590
|
return bound;
|
|
52104
52591
|
};
|
|
52105
52592
|
|
|
52106
|
-
},{}],
|
|
52593
|
+
},{}],343:[function(require,module,exports){
|
|
52107
52594
|
'use strict';
|
|
52108
52595
|
|
|
52109
52596
|
var implementation = require('./implementation');
|
|
52110
52597
|
|
|
52111
52598
|
module.exports = Function.prototype.bind || implementation;
|
|
52112
52599
|
|
|
52113
|
-
},{"./implementation":
|
|
52600
|
+
},{"./implementation":342}],344:[function(require,module,exports){
|
|
52114
52601
|
'use strict';
|
|
52115
52602
|
|
|
52116
52603
|
var undefined;
|
|
@@ -52456,7 +52943,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
52456
52943
|
return value;
|
|
52457
52944
|
};
|
|
52458
52945
|
|
|
52459
|
-
},{"function-bind":
|
|
52946
|
+
},{"function-bind":343,"has":368,"has-symbols":363}],345:[function(require,module,exports){
|
|
52460
52947
|
'use strict';
|
|
52461
52948
|
|
|
52462
52949
|
var $defineProperty = require('es-define-property');
|
|
@@ -52514,7 +53001,7 @@ module.exports = function defineDataProperty(
|
|
|
52514
53001
|
}
|
|
52515
53002
|
};
|
|
52516
53003
|
|
|
52517
|
-
},{"es-define-property":
|
|
53004
|
+
},{"es-define-property":346,"es-errors/syntax":351,"es-errors/type":352,"gopd":358}],346:[function(require,module,exports){
|
|
52518
53005
|
'use strict';
|
|
52519
53006
|
|
|
52520
53007
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -52532,49 +53019,49 @@ if ($defineProperty) {
|
|
|
52532
53019
|
|
|
52533
53020
|
module.exports = $defineProperty;
|
|
52534
53021
|
|
|
52535
|
-
},{"get-intrinsic":
|
|
53022
|
+
},{"get-intrinsic":357}],347:[function(require,module,exports){
|
|
52536
53023
|
'use strict';
|
|
52537
53024
|
|
|
52538
53025
|
/** @type {import('./eval')} */
|
|
52539
53026
|
module.exports = EvalError;
|
|
52540
53027
|
|
|
52541
|
-
},{}],
|
|
53028
|
+
},{}],348:[function(require,module,exports){
|
|
52542
53029
|
'use strict';
|
|
52543
53030
|
|
|
52544
53031
|
/** @type {import('.')} */
|
|
52545
53032
|
module.exports = Error;
|
|
52546
53033
|
|
|
52547
|
-
},{}],
|
|
53034
|
+
},{}],349:[function(require,module,exports){
|
|
52548
53035
|
'use strict';
|
|
52549
53036
|
|
|
52550
53037
|
/** @type {import('./range')} */
|
|
52551
53038
|
module.exports = RangeError;
|
|
52552
53039
|
|
|
52553
|
-
},{}],
|
|
53040
|
+
},{}],350:[function(require,module,exports){
|
|
52554
53041
|
'use strict';
|
|
52555
53042
|
|
|
52556
53043
|
/** @type {import('./ref')} */
|
|
52557
53044
|
module.exports = ReferenceError;
|
|
52558
53045
|
|
|
52559
|
-
},{}],
|
|
53046
|
+
},{}],351:[function(require,module,exports){
|
|
52560
53047
|
'use strict';
|
|
52561
53048
|
|
|
52562
53049
|
/** @type {import('./syntax')} */
|
|
52563
53050
|
module.exports = SyntaxError;
|
|
52564
53051
|
|
|
52565
|
-
},{}],
|
|
53052
|
+
},{}],352:[function(require,module,exports){
|
|
52566
53053
|
'use strict';
|
|
52567
53054
|
|
|
52568
53055
|
/** @type {import('./type')} */
|
|
52569
53056
|
module.exports = TypeError;
|
|
52570
53057
|
|
|
52571
|
-
},{}],
|
|
53058
|
+
},{}],353:[function(require,module,exports){
|
|
52572
53059
|
'use strict';
|
|
52573
53060
|
|
|
52574
53061
|
/** @type {import('./uri')} */
|
|
52575
53062
|
module.exports = URIError;
|
|
52576
53063
|
|
|
52577
|
-
},{}],
|
|
53064
|
+
},{}],354:[function(require,module,exports){
|
|
52578
53065
|
'use strict';
|
|
52579
53066
|
|
|
52580
53067
|
var isCallable = require('is-callable');
|
|
@@ -52638,7 +53125,7 @@ var forEach = function forEach(list, iterator, thisArg) {
|
|
|
52638
53125
|
|
|
52639
53126
|
module.exports = forEach;
|
|
52640
53127
|
|
|
52641
|
-
},{"is-callable":
|
|
53128
|
+
},{"is-callable":372}],355:[function(require,module,exports){
|
|
52642
53129
|
'use strict';
|
|
52643
53130
|
|
|
52644
53131
|
/* eslint no-invalid-this: 1 */
|
|
@@ -52724,9 +53211,9 @@ module.exports = function bind(that) {
|
|
|
52724
53211
|
return bound;
|
|
52725
53212
|
};
|
|
52726
53213
|
|
|
52727
|
-
},{}],
|
|
52728
|
-
arguments[4][
|
|
52729
|
-
},{"./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){
|
|
52730
53217
|
'use strict';
|
|
52731
53218
|
|
|
52732
53219
|
var undefined;
|
|
@@ -53087,7 +53574,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
53087
53574
|
return value;
|
|
53088
53575
|
};
|
|
53089
53576
|
|
|
53090
|
-
},{"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){
|
|
53091
53578
|
'use strict';
|
|
53092
53579
|
|
|
53093
53580
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -53105,13 +53592,13 @@ if ($gOPD) {
|
|
|
53105
53592
|
|
|
53106
53593
|
module.exports = $gOPD;
|
|
53107
53594
|
|
|
53108
|
-
},{"get-intrinsic":
|
|
53109
|
-
arguments[4][
|
|
53110
|
-
},{"dup":
|
|
53111
|
-
arguments[4][
|
|
53112
|
-
},{"./implementation":
|
|
53113
|
-
arguments[4][
|
|
53114
|
-
},{"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){
|
|
53115
53602
|
'use strict';
|
|
53116
53603
|
|
|
53117
53604
|
var test = {
|
|
@@ -53124,7 +53611,7 @@ module.exports = function hasProto() {
|
|
|
53124
53611
|
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
53125
53612
|
};
|
|
53126
53613
|
|
|
53127
|
-
},{}],
|
|
53614
|
+
},{}],363:[function(require,module,exports){
|
|
53128
53615
|
'use strict';
|
|
53129
53616
|
|
|
53130
53617
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -53139,7 +53626,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
53139
53626
|
return hasSymbolSham();
|
|
53140
53627
|
};
|
|
53141
53628
|
|
|
53142
|
-
},{"./shams":
|
|
53629
|
+
},{"./shams":364}],364:[function(require,module,exports){
|
|
53143
53630
|
'use strict';
|
|
53144
53631
|
|
|
53145
53632
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
@@ -53183,7 +53670,7 @@ module.exports = function hasSymbols() {
|
|
|
53183
53670
|
return true;
|
|
53184
53671
|
};
|
|
53185
53672
|
|
|
53186
|
-
},{}],
|
|
53673
|
+
},{}],365:[function(require,module,exports){
|
|
53187
53674
|
'use strict';
|
|
53188
53675
|
|
|
53189
53676
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -53192,18 +53679,18 @@ module.exports = function hasToStringTagShams() {
|
|
|
53192
53679
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
53193
53680
|
};
|
|
53194
53681
|
|
|
53195
|
-
},{"has-symbols/shams":
|
|
53196
|
-
arguments[4][
|
|
53197
|
-
},{"dup":
|
|
53198
|
-
arguments[4][
|
|
53199
|
-
},{"./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){
|
|
53200
53687
|
'use strict';
|
|
53201
53688
|
|
|
53202
53689
|
var bind = require('function-bind');
|
|
53203
53690
|
|
|
53204
53691
|
module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
53205
53692
|
|
|
53206
|
-
},{"function-bind":
|
|
53693
|
+
},{"function-bind":367}],369:[function(require,module,exports){
|
|
53207
53694
|
'use strict';
|
|
53208
53695
|
|
|
53209
53696
|
var call = Function.prototype.call;
|
|
@@ -53213,7 +53700,7 @@ var bind = require('function-bind');
|
|
|
53213
53700
|
/** @type {import('.')} */
|
|
53214
53701
|
module.exports = bind.call(call, $hasOwn);
|
|
53215
53702
|
|
|
53216
|
-
},{"function-bind":
|
|
53703
|
+
},{"function-bind":356}],370:[function(require,module,exports){
|
|
53217
53704
|
if (typeof Object.create === 'function') {
|
|
53218
53705
|
// implementation from standard node.js 'util' module
|
|
53219
53706
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -53242,7 +53729,7 @@ if (typeof Object.create === 'function') {
|
|
|
53242
53729
|
}
|
|
53243
53730
|
}
|
|
53244
53731
|
|
|
53245
|
-
},{}],
|
|
53732
|
+
},{}],371:[function(require,module,exports){
|
|
53246
53733
|
'use strict';
|
|
53247
53734
|
|
|
53248
53735
|
var hasToStringTag = require('has-tostringtag/shams')();
|
|
@@ -53277,7 +53764,7 @@ isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests
|
|
|
53277
53764
|
|
|
53278
53765
|
module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
53279
53766
|
|
|
53280
|
-
},{"call-bind/callBound":
|
|
53767
|
+
},{"call-bind/callBound":340,"has-tostringtag/shams":365}],372:[function(require,module,exports){
|
|
53281
53768
|
'use strict';
|
|
53282
53769
|
|
|
53283
53770
|
var fnToStr = Function.prototype.toString;
|
|
@@ -53380,7 +53867,7 @@ module.exports = reflectApply
|
|
|
53380
53867
|
return tryFunctionObject(value);
|
|
53381
53868
|
};
|
|
53382
53869
|
|
|
53383
|
-
},{}],
|
|
53870
|
+
},{}],373:[function(require,module,exports){
|
|
53384
53871
|
'use strict';
|
|
53385
53872
|
|
|
53386
53873
|
var toStr = Object.prototype.toString;
|
|
@@ -53420,7 +53907,7 @@ module.exports = function isGeneratorFunction(fn) {
|
|
|
53420
53907
|
return getProto(fn) === GeneratorFunction;
|
|
53421
53908
|
};
|
|
53422
53909
|
|
|
53423
|
-
},{"has-tostringtag/shams":
|
|
53910
|
+
},{"has-tostringtag/shams":365}],374:[function(require,module,exports){
|
|
53424
53911
|
'use strict';
|
|
53425
53912
|
|
|
53426
53913
|
var whichTypedArray = require('which-typed-array');
|
|
@@ -53430,7 +53917,7 @@ module.exports = function isTypedArray(value) {
|
|
|
53430
53917
|
return !!whichTypedArray(value);
|
|
53431
53918
|
};
|
|
53432
53919
|
|
|
53433
|
-
},{"which-typed-array":
|
|
53920
|
+
},{"which-typed-array":388}],375:[function(require,module,exports){
|
|
53434
53921
|
(function (global){(function (){
|
|
53435
53922
|
/**
|
|
53436
53923
|
* @license
|
|
@@ -70643,7 +71130,7 @@ module.exports = function isTypedArray(value) {
|
|
|
70643
71130
|
}.call(this));
|
|
70644
71131
|
|
|
70645
71132
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
70646
|
-
},{}],
|
|
71133
|
+
},{}],376:[function(require,module,exports){
|
|
70647
71134
|
'use strict';
|
|
70648
71135
|
|
|
70649
71136
|
var keysShim;
|
|
@@ -70767,7 +71254,7 @@ if (!Object.keys) {
|
|
|
70767
71254
|
}
|
|
70768
71255
|
module.exports = keysShim;
|
|
70769
71256
|
|
|
70770
|
-
},{"./isArguments":
|
|
71257
|
+
},{"./isArguments":378}],377:[function(require,module,exports){
|
|
70771
71258
|
'use strict';
|
|
70772
71259
|
|
|
70773
71260
|
var slice = Array.prototype.slice;
|
|
@@ -70801,7 +71288,7 @@ keysShim.shim = function shimObjectKeys() {
|
|
|
70801
71288
|
|
|
70802
71289
|
module.exports = keysShim;
|
|
70803
71290
|
|
|
70804
|
-
},{"./implementation":
|
|
71291
|
+
},{"./implementation":376,"./isArguments":378}],378:[function(require,module,exports){
|
|
70805
71292
|
'use strict';
|
|
70806
71293
|
|
|
70807
71294
|
var toStr = Object.prototype.toString;
|
|
@@ -70820,7 +71307,7 @@ module.exports = function isArguments(value) {
|
|
|
70820
71307
|
return isArgs;
|
|
70821
71308
|
};
|
|
70822
71309
|
|
|
70823
|
-
},{}],
|
|
71310
|
+
},{}],379:[function(require,module,exports){
|
|
70824
71311
|
'use strict';
|
|
70825
71312
|
|
|
70826
71313
|
// modified from https://github.com/es-shims/es6-shim
|
|
@@ -70868,7 +71355,7 @@ module.exports = function assign(target, source1) {
|
|
|
70868
71355
|
return to; // step 4
|
|
70869
71356
|
};
|
|
70870
71357
|
|
|
70871
|
-
},{"call-bind/callBound":
|
|
71358
|
+
},{"call-bind/callBound":340,"has-symbols/shams":364,"object-keys":377}],380:[function(require,module,exports){
|
|
70872
71359
|
'use strict';
|
|
70873
71360
|
|
|
70874
71361
|
var implementation = require('./implementation');
|
|
@@ -70925,7 +71412,7 @@ module.exports = function getPolyfill() {
|
|
|
70925
71412
|
return Object.assign;
|
|
70926
71413
|
};
|
|
70927
71414
|
|
|
70928
|
-
},{"./implementation":
|
|
71415
|
+
},{"./implementation":379}],381:[function(require,module,exports){
|
|
70929
71416
|
'use strict';
|
|
70930
71417
|
|
|
70931
71418
|
/** @type {import('.')} */
|
|
@@ -70943,7 +71430,7 @@ module.exports = [
|
|
|
70943
71430
|
'BigUint64Array'
|
|
70944
71431
|
];
|
|
70945
71432
|
|
|
70946
|
-
},{}],
|
|
71433
|
+
},{}],382:[function(require,module,exports){
|
|
70947
71434
|
// shim for using process in browser
|
|
70948
71435
|
var process = module.exports = {};
|
|
70949
71436
|
|
|
@@ -71129,7 +71616,7 @@ process.chdir = function (dir) {
|
|
|
71129
71616
|
};
|
|
71130
71617
|
process.umask = function() { return 0; };
|
|
71131
71618
|
|
|
71132
|
-
},{}],
|
|
71619
|
+
},{}],383:[function(require,module,exports){
|
|
71133
71620
|
'use strict';
|
|
71134
71621
|
|
|
71135
71622
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -71173,7 +71660,7 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
71173
71660
|
return fn;
|
|
71174
71661
|
};
|
|
71175
71662
|
|
|
71176
|
-
},{"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){
|
|
71177
71664
|
'use strict';
|
|
71178
71665
|
|
|
71179
71666
|
var $defineProperty = require('es-define-property');
|
|
@@ -71197,9 +71684,9 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
71197
71684
|
|
|
71198
71685
|
module.exports = hasPropertyDescriptors;
|
|
71199
71686
|
|
|
71200
|
-
},{"es-define-property":
|
|
71201
|
-
arguments[4][
|
|
71202
|
-
},{"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){
|
|
71203
71690
|
// Currently in sync with Node.js lib/internal/util/types.js
|
|
71204
71691
|
// https://github.com/nodejs/node/commit/112cc7c27551254aa2b17098fb774867f05ed0d9
|
|
71205
71692
|
|
|
@@ -71535,7 +72022,7 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
|
71535
72022
|
});
|
|
71536
72023
|
});
|
|
71537
72024
|
|
|
71538
|
-
},{"is-arguments":
|
|
72025
|
+
},{"is-arguments":371,"is-generator-function":373,"is-typed-array":374,"which-typed-array":388}],387:[function(require,module,exports){
|
|
71539
72026
|
(function (process){(function (){
|
|
71540
72027
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
71541
72028
|
//
|
|
@@ -72254,7 +72741,7 @@ function callbackify(original) {
|
|
|
72254
72741
|
exports.callbackify = callbackify;
|
|
72255
72742
|
|
|
72256
72743
|
}).call(this)}).call(this,require('_process'))
|
|
72257
|
-
},{"./support/isBuffer":
|
|
72744
|
+
},{"./support/isBuffer":385,"./support/types":386,"_process":382,"inherits":370}],388:[function(require,module,exports){
|
|
72258
72745
|
(function (global){(function (){
|
|
72259
72746
|
'use strict';
|
|
72260
72747
|
|
|
@@ -72374,9 +72861,9 @@ module.exports = function whichTypedArray(value) {
|
|
|
72374
72861
|
};
|
|
72375
72862
|
|
|
72376
72863
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
72377
|
-
},{"available-typed-arrays":
|
|
72378
|
-
arguments[4][
|
|
72379
|
-
},{"./":
|
|
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){
|
|
72380
72867
|
'use strict';
|
|
72381
72868
|
|
|
72382
72869
|
var bind = require('function-bind');
|
|
@@ -72413,7 +72900,7 @@ if ($defineProperty) {
|
|
|
72413
72900
|
module.exports.apply = applyBind;
|
|
72414
72901
|
}
|
|
72415
72902
|
|
|
72416
|
-
},{"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){
|
|
72417
72904
|
'use strict';
|
|
72418
72905
|
|
|
72419
72906
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -72423,5 +72910,5 @@ module.exports = function hasToStringTagShams() {
|
|
|
72423
72910
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
72424
72911
|
};
|
|
72425
72912
|
|
|
72426
|
-
},{"has-symbols/shams":
|
|
72913
|
+
},{"has-symbols/shams":364}]},{},[114])(114)
|
|
72427
72914
|
});
|