@designliquido/delegua 0.46.1 → 0.47.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.d.ts.map +1 -1
- package/analisador-semantico/analisador-semantico.js +2 -1
- package/analisador-semantico/analisador-semantico.js.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico-base.js +1 -1
- package/avaliador-sintatico/avaliador-sintatico.d.ts.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico.js +12 -8
- package/avaliador-sintatico/avaliador-sintatico.js.map +1 -1
- package/avaliador-sintatico/comum.d.ts +2 -2
- package/avaliador-sintatico/comum.d.ts.map +1 -1
- package/avaliador-sintatico/comum.js.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.d.ts.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.js.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-portugol-ipt.d.ts.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-portugol-ipt.js.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-tenda.d.ts.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-tenda.js +27 -19
- package/avaliador-sintatico/dialetos/avaliador-sintatico-tenda.js.map +1 -1
- package/bibliotecas/biblioteca-global.d.ts.map +1 -1
- package/bibliotecas/biblioteca-global.js.map +1 -1
- package/bibliotecas/primitivas-dicionario.d.ts.map +1 -1
- package/bibliotecas/primitivas-dicionario.js +6 -12
- package/bibliotecas/primitivas-dicionario.js.map +1 -1
- package/bibliotecas/primitivas-numero.js +6 -6
- package/bibliotecas/primitivas-numero.js.map +1 -1
- package/bin/package.json +1 -1
- package/construtos/referencia-biblioteca-global.d.ts.map +1 -1
- package/construtos/referencia-biblioteca-global.js.map +1 -1
- package/informacao-variavel-ou-constante.d.ts +1 -0
- package/informacao-variavel-ou-constante.d.ts.map +1 -1
- package/informacao-variavel-ou-constante.js.map +1 -1
- package/interfaces/escopo-execucao.d.ts +2 -2
- package/interfaces/escopo-execucao.d.ts.map +1 -1
- package/interfaces/interpretador-interface.d.ts +2 -2
- package/interfaces/interpretador-interface.d.ts.map +1 -1
- package/interfaces/pilha-escopos-execucao-interface.d.ts +1 -0
- package/interfaces/pilha-escopos-execucao-interface.d.ts.map +1 -1
- package/interfaces/primitiva-interface.d.ts +3 -0
- package/interfaces/primitiva-interface.d.ts.map +1 -1
- package/interpretador/depuracao/comum.d.ts +13 -13
- package/interpretador/depuracao/comum.d.ts.map +1 -1
- package/interpretador/depuracao/comum.js +24 -24
- package/interpretador/depuracao/comum.js.map +1 -1
- package/interpretador/depuracao/interpretador-base-com-depuracao.d.ts +9 -9
- package/interpretador/depuracao/interpretador-base-com-depuracao.d.ts.map +1 -1
- package/interpretador/depuracao/interpretador-base-com-depuracao.js.map +1 -1
- package/interpretador/depuracao/interpretador-com-depuracao.d.ts +3 -3
- package/interpretador/depuracao/interpretador-com-depuracao.d.ts.map +1 -1
- package/interpretador/depuracao/interpretador-com-depuracao.js +3 -3
- package/interpretador/depuracao/interpretador-com-depuracao.js.map +1 -1
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.d.ts +2 -2
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.d.ts.map +1 -1
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.js +5 -5
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.js.map +1 -1
- package/interpretador/dialetos/egua-classico/resolvedor/resolvedor.d.ts +2 -2
- package/interpretador/dialetos/egua-classico/resolvedor/resolvedor.d.ts.map +1 -1
- package/interpretador/dialetos/egua-classico/resolvedor/resolvedor.js.map +1 -1
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.d.ts +2 -2
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.d.ts.map +1 -1
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.js +4 -4
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.js.map +1 -1
- package/{espaco-variaveis.d.ts → interpretador/espaco-memoria.d.ts} +10 -7
- package/interpretador/espaco-memoria.d.ts.map +1 -0
- package/{espaco-variaveis.js → interpretador/espaco-memoria.js} +10 -7
- package/interpretador/espaco-memoria.js.map +1 -0
- package/interpretador/estruturas/delegua-funcao.d.ts +2 -2
- package/interpretador/estruturas/delegua-funcao.d.ts.map +1 -1
- package/interpretador/estruturas/delegua-funcao.js +2 -2
- package/interpretador/estruturas/delegua-funcao.js.map +1 -1
- package/interpretador/estruturas/descritor-tipo-classe.d.ts +1 -1
- package/interpretador/estruturas/descritor-tipo-classe.d.ts.map +1 -1
- package/interpretador/estruturas/index.d.ts +1 -0
- package/interpretador/estruturas/index.d.ts.map +1 -1
- package/interpretador/estruturas/index.js +1 -0
- package/interpretador/estruturas/index.js.map +1 -1
- package/interpretador/estruturas/referencia-montao.d.ts +15 -0
- package/interpretador/estruturas/referencia-montao.d.ts.map +1 -0
- package/interpretador/estruturas/referencia-montao.js +24 -0
- package/interpretador/estruturas/referencia-montao.js.map +1 -0
- package/interpretador/interpretador-base.d.ts +6 -4
- package/interpretador/interpretador-base.d.ts.map +1 -1
- package/interpretador/interpretador-base.js +25 -15
- package/interpretador/interpretador-base.js.map +1 -1
- package/interpretador/interpretador-com-depuracao.d.ts +191 -0
- package/interpretador/interpretador-com-depuracao.d.ts.map +1 -0
- package/interpretador/interpretador-com-depuracao.js +585 -0
- package/interpretador/interpretador-com-depuracao.js.map +1 -0
- package/interpretador/interpretador.d.ts +42 -2
- package/interpretador/interpretador.d.ts.map +1 -1
- package/interpretador/interpretador.js +230 -8
- package/interpretador/interpretador.js.map +1 -1
- package/interpretador/montao.d.ts +38 -0
- package/interpretador/montao.d.ts.map +1 -0
- package/interpretador/montao.js +56 -0
- package/interpretador/montao.js.map +1 -0
- package/interpretador/pilha-escopos-execucao.d.ts +1 -0
- package/interpretador/pilha-escopos-execucao.d.ts.map +1 -1
- package/interpretador/pilha-escopos-execucao.js +31 -26
- package/interpretador/pilha-escopos-execucao.js.map +1 -1
- package/lexador/dialetos/lexador-tenda.d.ts.map +1 -1
- package/lexador/dialetos/lexador-tenda.js +4 -2
- package/lexador/dialetos/lexador-tenda.js.map +1 -1
- package/lexador/dialetos/palavras-reservadas/tenda.js +1 -1
- package/package.json +1 -1
- package/tipos-de-simbolos/tenda.d.ts.map +1 -1
- package/tipos-de-simbolos/tenda.js.map +1 -1
- package/tradutores/tradutor-assembly-x64.js +13 -13
- package/tradutores/tradutor-portugol-ipt.d.ts +1 -1
- package/tradutores/tradutor-portugol-ipt.d.ts.map +1 -1
- package/tradutores/tradutor-portugol-ipt.js +5 -5
- package/tradutores/tradutor-portugol-ipt.js.map +1 -1
- package/tradutores/tradutor-reverso-tenda.d.ts.map +1 -1
- package/tradutores/tradutor-reverso-tenda.js +15 -7
- package/tradutores/tradutor-reverso-tenda.js.map +1 -1
- package/umd/delegua.js +785 -446
- package/espaco-variaveis.d.ts.map +0 -1
- package/espaco-variaveis.js.map +0 -1
package/umd/delegua.js
CHANGED
|
@@ -22,7 +22,7 @@ class AvaliadorSintaticoBase {
|
|
|
22
22
|
if (this.simbolos.length === 0) {
|
|
23
23
|
simboloErro = {
|
|
24
24
|
hashArquivo: this.hashArquivo,
|
|
25
|
-
linha: 1
|
|
25
|
+
linha: 1,
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
else if (this.atual >= this.simbolos.length) {
|
|
@@ -238,7 +238,7 @@ class AvaliadorSintaticoBase {
|
|
|
238
238
|
}
|
|
239
239
|
exports.AvaliadorSintaticoBase = AvaliadorSintaticoBase;
|
|
240
240
|
|
|
241
|
-
},{"../construtos":44,"../declaracoes":85,"../tipos-de-simbolos/comum":
|
|
241
|
+
},{"../construtos":44,"../declaracoes":85,"../tipos-de-simbolos/comum":170,"./erro-avaliador-sintatico":9}],2:[function(require,module,exports){
|
|
242
242
|
"use strict";
|
|
243
243
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
244
244
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -604,9 +604,9 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
604
604
|
return new construtos_1.AcessoMetodo(construtoTipado.hashArquivo, construtoTipado.objeto, construtoTipado.simbolo.lexema, primitivaNumeroSelecionada.tipoRetorno);
|
|
605
605
|
case delegua_1.default.MODULO:
|
|
606
606
|
case delegua_1.default.MÓDULO:
|
|
607
|
-
// Há dois casos para resolução de módulo:
|
|
608
|
-
// Um quando o módulo é definido no próprio código (por exemplo, em um outro arquivo `.delegua`).
|
|
609
|
-
// Outro quando é importado de uma biblioteca externa.
|
|
607
|
+
// Há dois casos para resolução de módulo:
|
|
608
|
+
// Um quando o módulo é definido no próprio código (por exemplo, em um outro arquivo `.delegua`).
|
|
609
|
+
// Outro quando é importado de uma biblioteca externa.
|
|
610
610
|
// Este é o caso quando o módulo vem de outro arquivo `.delegua`.
|
|
611
611
|
if (construtoTipado.simbolo.lexema in this.tiposDefinidosEmCodigo) {
|
|
612
612
|
// Construtor de classe.
|
|
@@ -659,10 +659,14 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
659
659
|
possiveisErros.push(`Argumento: ${argumentoEntidadeChamada.nome}. Tipo esperado: ${argumentoEntidadeChamada.tipo}; Tipo utilizado: ${argumentoUtilizado.tipo}`);
|
|
660
660
|
continue;
|
|
661
661
|
}
|
|
662
|
-
const tipoArgumentoUtilizado = argumentoUtilizado.tipo.startsWith('funcao') ||
|
|
663
|
-
'função'
|
|
664
|
-
|
|
665
|
-
|
|
662
|
+
const tipoArgumentoUtilizado = argumentoUtilizado.tipo.startsWith('funcao') ||
|
|
663
|
+
argumentoUtilizado.tipo.startsWith('função')
|
|
664
|
+
? 'função'
|
|
665
|
+
: argumentoUtilizado.tipo;
|
|
666
|
+
const tipoArgumentoEntidadeChamada = argumentoEntidadeChamada.tipo.startsWith('funcao') ||
|
|
667
|
+
argumentoEntidadeChamada.tipo.startsWith('função')
|
|
668
|
+
? 'função'
|
|
669
|
+
: argumentoEntidadeChamada.tipo;
|
|
666
670
|
if (tipoArgumentoUtilizado !== tipoArgumentoEntidadeChamada) {
|
|
667
671
|
possiveisErros.push(`Argumento: ${argumentoEntidadeChamada.nome}. Tipo esperado: ${argumentoEntidadeChamada.tipo}; Tipo utilizado: ${argumentoUtilizado.tipo}`);
|
|
668
672
|
}
|
|
@@ -728,7 +732,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
728
732
|
// Toda chamada precisa saber de antemão qual o tipo resolvido.
|
|
729
733
|
const entidadeChamadaResolvida = this.resolverEntidadeChamada(entidadeChamada, argumentos, tipoPrimitiva);
|
|
730
734
|
const construtoChamada = new construtos_1.Chamada(this.hashArquivo, entidadeChamadaResolvida, argumentos);
|
|
731
|
-
// A validação de tipos dos argumentos da entidade chamada existe em
|
|
735
|
+
// A validação de tipos dos argumentos da entidade chamada existe em
|
|
732
736
|
// avaliadores sintáticos derivados deste, como em `delegua-node`.
|
|
733
737
|
// Pode ser que esta lógica seja trazida para cá no futuro.
|
|
734
738
|
construtoChamada.tipo = 'qualquer';
|
|
@@ -1902,7 +1906,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1902
1906
|
}
|
|
1903
1907
|
exports.AvaliadorSintatico = AvaliadorSintatico;
|
|
1904
1908
|
|
|
1905
|
-
},{"../bibliotecas/primitivas-dicionario":18,"../bibliotecas/primitivas-numero":19,"../bibliotecas/primitivas-texto":20,"../bibliotecas/primitivas-vetor":21,"../construtos":44,"../construtos/tuplas":55,"../declaracoes":85,"../inferenciador":
|
|
1909
|
+
},{"../bibliotecas/primitivas-dicionario":18,"../bibliotecas/primitivas-numero":19,"../bibliotecas/primitivas-texto":20,"../bibliotecas/primitivas-vetor":21,"../construtos":44,"../construtos/tuplas":55,"../declaracoes":85,"../inferenciador":107,"../informacao-variavel-ou-constante":108,"../tipos-de-dados/delegua":168,"../tipos-de-simbolos/delegua":171,"./avaliador-sintatico-base":1,"./comum":3,"./erro-avaliador-sintatico":9,"./informacao-escopo":11,"./pilha-escopos":14,"browser-process-hrtime":350}],3:[function(require,module,exports){
|
|
1906
1910
|
"use strict";
|
|
1907
1911
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1908
1912
|
exports.registrarPrimitiva = registrarPrimitiva;
|
|
@@ -1914,7 +1918,7 @@ function registrarPrimitiva(primitivasConhecidas, tipo, catalogoPrimitivas) {
|
|
|
1914
1918
|
}
|
|
1915
1919
|
}
|
|
1916
1920
|
|
|
1917
|
-
},{"../informacao-variavel-ou-constante":
|
|
1921
|
+
},{"../informacao-variavel-ou-constante":108}],4:[function(require,module,exports){
|
|
1918
1922
|
"use strict";
|
|
1919
1923
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
1920
1924
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2569,7 +2573,7 @@ class AvaliadorSintaticoEguaClassico {
|
|
|
2569
2573
|
}
|
|
2570
2574
|
exports.AvaliadorSintaticoEguaClassico = AvaliadorSintaticoEguaClassico;
|
|
2571
2575
|
|
|
2572
|
-
},{"../../construtos":44,"../../declaracoes":85,"../../tipos-de-simbolos/egua-classico":
|
|
2576
|
+
},{"../../construtos":44,"../../declaracoes":85,"../../tipos-de-simbolos/egua-classico":172,"../erro-avaliador-sintatico":9}],5:[function(require,module,exports){
|
|
2573
2577
|
"use strict";
|
|
2574
2578
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2575
2579
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3603,7 +3607,7 @@ class AvaliadorSintaticoPitugues {
|
|
|
3603
3607
|
}
|
|
3604
3608
|
exports.AvaliadorSintaticoPitugues = AvaliadorSintaticoPitugues;
|
|
3605
3609
|
|
|
3606
|
-
},{"../../bibliotecas/primitivas-dicionario":18,"../../bibliotecas/primitivas-numero":19,"../../bibliotecas/primitivas-texto":20,"../../bibliotecas/primitivas-vetor":21,"../../construtos":44,"../../declaracoes":85,"../../inferenciador":
|
|
3610
|
+
},{"../../bibliotecas/primitivas-dicionario":18,"../../bibliotecas/primitivas-numero":19,"../../bibliotecas/primitivas-texto":20,"../../bibliotecas/primitivas-vetor":21,"../../construtos":44,"../../declaracoes":85,"../../inferenciador":107,"../../informacao-variavel-ou-constante":108,"../../lexador":160,"../../tipos-de-simbolos/pitugues":175,"../comum":3,"../erro-avaliador-sintatico":9,"../informacao-escopo":11,"../pilha-escopos":14,"browser-process-hrtime":350}],6:[function(require,module,exports){
|
|
3607
3611
|
"use strict";
|
|
3608
3612
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3609
3613
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3777,7 +3781,7 @@ class AvaliadorSintaticoPortugolIpt extends avaliador_sintatico_base_1.Avaliador
|
|
|
3777
3781
|
}
|
|
3778
3782
|
exports.AvaliadorSintaticoPortugolIpt = AvaliadorSintaticoPortugolIpt;
|
|
3779
3783
|
|
|
3780
|
-
},{"../../construtos":44,"../../declaracoes":85,"../../tipos-de-simbolos/portugol-ipt":
|
|
3784
|
+
},{"../../construtos":44,"../../declaracoes":85,"../../tipos-de-simbolos/portugol-ipt":176,"../avaliador-sintatico-base":1}],7:[function(require,module,exports){
|
|
3781
3785
|
"use strict";
|
|
3782
3786
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3783
3787
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3849,7 +3853,14 @@ class AvaliadorSintaticoTenda extends avaliador_sintatico_base_1.AvaliadorSintat
|
|
|
3849
3853
|
throw this.erro(this.simbolos[this.atual], `Tipo de dados desconhecido: '${this.simbolos[this.atual].lexema}'.`);
|
|
3850
3854
|
}
|
|
3851
3855
|
if (this.verificarTipoProximoSimbolo(tenda_1.default.COLCHETE_ESQUERDO)) {
|
|
3852
|
-
const tiposVetores = [
|
|
3856
|
+
const tiposVetores = [
|
|
3857
|
+
'inteiro[]',
|
|
3858
|
+
'numero[]',
|
|
3859
|
+
'número[]',
|
|
3860
|
+
'qualquer[]',
|
|
3861
|
+
'real[]',
|
|
3862
|
+
'texto[]',
|
|
3863
|
+
];
|
|
3853
3864
|
this.avancarEDevolverAnterior();
|
|
3854
3865
|
if (!this.verificarTipoProximoSimbolo(tenda_1.default.COLCHETE_DIREITO)) {
|
|
3855
3866
|
throw this.erro(this.simbolos[this.atual], `Esperado símbolo de fechamento do vetor: ']'. Atual: ${this.simbolos[this.atual].lexema}`);
|
|
@@ -3947,8 +3958,7 @@ class AvaliadorSintaticoTenda extends avaliador_sintatico_base_1.AvaliadorSintat
|
|
|
3947
3958
|
case tenda_1.default.EXPRESSAO_REGULAR:
|
|
3948
3959
|
let valor = '';
|
|
3949
3960
|
let linhaAtual = this.simbolos[this.atual].linha;
|
|
3950
|
-
let eParExpressaoRegular = this.simbolos.filter((l) => l.linha === linhaAtual && l.tipo === tenda_1.default.EXPRESSAO_REGULAR)
|
|
3951
|
-
.length %
|
|
3961
|
+
let eParExpressaoRegular = this.simbolos.filter((l) => l.linha === linhaAtual && l.tipo === tenda_1.default.EXPRESSAO_REGULAR).length %
|
|
3952
3962
|
2 ===
|
|
3953
3963
|
0;
|
|
3954
3964
|
if (eParExpressaoRegular) {
|
|
@@ -4133,16 +4143,17 @@ class AvaliadorSintaticoTenda extends avaliador_sintatico_base_1.AvaliadorSintat
|
|
|
4133
4143
|
if (informacoesPossivelFuncaoBibliotecaGlobal !== undefined) {
|
|
4134
4144
|
const erros = this.validarArgumentosEntidadeChamada(informacoesPossivelFuncaoBibliotecaGlobal.argumentos, argumentos);
|
|
4135
4145
|
if (erros.length > 0) {
|
|
4136
|
-
throw new erro_avaliador_sintatico_1.ErroAvaliadorSintatico(entidadeChamadaResolvidaVariavel.simbolo, `Erros ao resolver argumentos de chamada a ${entidadeChamadaResolvidaVariavel.simbolo.lexema}: \n${erros.reduce((mensagem, erro) => mensagem += `${erro}\n
|
|
4146
|
+
throw new erro_avaliador_sintatico_1.ErroAvaliadorSintatico(entidadeChamadaResolvidaVariavel.simbolo, `Erros ao resolver argumentos de chamada a ${entidadeChamadaResolvidaVariavel.simbolo.lexema}: \n${erros.reduce((mensagem, erro) => (mensagem += `${erro}\n`), '')}`);
|
|
4137
4147
|
}
|
|
4138
4148
|
return entidadeChamadaResolvidaVariavel;
|
|
4139
4149
|
}
|
|
4140
4150
|
}
|
|
4141
|
-
if (tipoPrimitiva !== undefined &&
|
|
4151
|
+
if (tipoPrimitiva !== undefined &&
|
|
4152
|
+
this.primitivasConhecidas.hasOwnProperty(entidadeChamadaResolvidaVariavel.simbolo.lexema)) {
|
|
4142
4153
|
var informacoesPrimitiva = this.primitivasConhecidas[entidadeChamadaResolvidaVariavel.simbolo.lexema];
|
|
4143
4154
|
const erros = this.validarArgumentosEntidadeChamada(informacoesPrimitiva.argumentos, argumentos);
|
|
4144
4155
|
if (erros.length > 0) {
|
|
4145
|
-
throw new erro_avaliador_sintatico_1.ErroAvaliadorSintatico(entidadeChamadaResolvidaVariavel.simbolo, `Erros ao resolver argumentos de chamada a ${entidadeChamadaResolvidaVariavel.simbolo.lexema}: \n${erros.reduce((mensagem, erro) => mensagem += `${erro}\n
|
|
4156
|
+
throw new erro_avaliador_sintatico_1.ErroAvaliadorSintatico(entidadeChamadaResolvidaVariavel.simbolo, `Erros ao resolver argumentos de chamada a ${entidadeChamadaResolvidaVariavel.simbolo.lexema}: \n${erros.reduce((mensagem, erro) => (mensagem += `${erro}\n`), '')}`);
|
|
4146
4157
|
}
|
|
4147
4158
|
return entidadeChamadaResolvidaVariavel;
|
|
4148
4159
|
}
|
|
@@ -4263,8 +4274,8 @@ class AvaliadorSintaticoTenda extends avaliador_sintatico_base_1.AvaliadorSintat
|
|
|
4263
4274
|
if (operador.tipo === tenda_1.default.NÃO) {
|
|
4264
4275
|
this.consumir(tenda_1.default.É, `Esperado 'é' após 'não'.`);
|
|
4265
4276
|
operador.tipo = tenda_1.default.DIFERENTE;
|
|
4266
|
-
operador.lexema =
|
|
4267
|
-
operador.literal =
|
|
4277
|
+
operador.lexema = 'não é';
|
|
4278
|
+
operador.literal = 'não é';
|
|
4268
4279
|
}
|
|
4269
4280
|
const direito = this.comparar();
|
|
4270
4281
|
expressao = new construtos_1.Binario(this.hashArquivo, expressao, operador, direito);
|
|
@@ -4344,7 +4355,7 @@ class AvaliadorSintaticoTenda extends avaliador_sintatico_base_1.AvaliadorSintat
|
|
|
4344
4355
|
declaracoes.push(retornoDeclaracao);
|
|
4345
4356
|
}
|
|
4346
4357
|
}
|
|
4347
|
-
this.consumir(tenda_1.default.FIM, `Esperado 'fim' para concluir bloco de escopo ${tipo ?
|
|
4358
|
+
this.consumir(tenda_1.default.FIM, `Esperado 'fim' para concluir bloco de escopo ${tipo ? 'de ' + tipo : ''}.`);
|
|
4348
4359
|
this.pilhaEscopos.removerUltimo();
|
|
4349
4360
|
return declaracoes;
|
|
4350
4361
|
}
|
|
@@ -4399,7 +4410,7 @@ class AvaliadorSintaticoTenda extends avaliador_sintatico_base_1.AvaliadorSintat
|
|
|
4399
4410
|
this.blocos += 1;
|
|
4400
4411
|
const nomeVariavelIteracao = this.consumir(tenda_1.default.IDENTIFICADOR, "Esperado identificador de variável de iteração para instrução 'para cada'.");
|
|
4401
4412
|
this.consumir(tenda_1.default.EM, "Esperado palavra reservada 'em' após variável de iteração em instrução 'para cada'.");
|
|
4402
|
-
// Se for um literal ou identificador numérico, segue um `para`
|
|
4413
|
+
// Se for um literal ou identificador numérico, segue um `para`
|
|
4403
4414
|
// tradicional de Delégua, com variável de controle e passo positivo, incrementado em 1.
|
|
4404
4415
|
const literalOuVariavelInicio = this.adicaoOuSubtracao();
|
|
4405
4416
|
this.blocos -= 1;
|
|
@@ -4551,7 +4562,8 @@ class AvaliadorSintaticoTenda extends avaliador_sintatico_base_1.AvaliadorSintat
|
|
|
4551
4562
|
logicaComumInferenciaTiposVariaveis(inicializador) {
|
|
4552
4563
|
switch (inicializador.constructor.name) {
|
|
4553
4564
|
case 'AcessoIndiceVariavel':
|
|
4554
|
-
const entidadeChamadaAcessoIndiceVariavel = inicializador
|
|
4565
|
+
const entidadeChamadaAcessoIndiceVariavel = inicializador
|
|
4566
|
+
.entidadeChamada;
|
|
4555
4567
|
return entidadeChamadaAcessoIndiceVariavel.tipo.slice(0, -2);
|
|
4556
4568
|
case 'Chamada':
|
|
4557
4569
|
const entidadeChamadaChamada = inicializador.entidadeChamada;
|
|
@@ -4560,8 +4572,8 @@ class AvaliadorSintaticoTenda extends avaliador_sintatico_base_1.AvaliadorSintat
|
|
|
4560
4572
|
const entidadeChamadaAcessoMetodo = entidadeChamadaChamada;
|
|
4561
4573
|
return entidadeChamadaAcessoMetodo.tipoRetornoMetodo;
|
|
4562
4574
|
case 'AcessoMetodoOuPropriedade':
|
|
4563
|
-
// Este caso ocorre quando a variável/constante é do tipo 'qualquer',
|
|
4564
|
-
// e a chamada normalmente é feita para uma primitiva.
|
|
4575
|
+
// Este caso ocorre quando a variável/constante é do tipo 'qualquer',
|
|
4576
|
+
// e a chamada normalmente é feita para uma primitiva.
|
|
4565
4577
|
// A inferência, portanto, ocorre pelo uso da primitiva.
|
|
4566
4578
|
const entidadeChamadaAcessoMetodoOuPropriedade = entidadeChamadaChamada;
|
|
4567
4579
|
if (this.primitivasConhecidas.hasOwnProperty(entidadeChamadaAcessoMetodoOuPropriedade.simbolo.lexema)) {
|
|
@@ -4597,9 +4609,9 @@ class AvaliadorSintaticoTenda extends avaliador_sintatico_base_1.AvaliadorSintat
|
|
|
4597
4609
|
case 'Noneto':
|
|
4598
4610
|
case 'Deceto':
|
|
4599
4611
|
return delegua_1.default.TUPLA;
|
|
4600
|
-
case
|
|
4601
|
-
case
|
|
4602
|
-
return
|
|
4612
|
+
case 'ImportarBiblioteca':
|
|
4613
|
+
case 'ModuloDeclaracoes':
|
|
4614
|
+
return 'módulo';
|
|
4603
4615
|
default:
|
|
4604
4616
|
return inicializador.tipo;
|
|
4605
4617
|
}
|
|
@@ -4652,11 +4664,11 @@ class AvaliadorSintaticoTenda extends avaliador_sintatico_base_1.AvaliadorSintat
|
|
|
4652
4664
|
this.consumir(tenda_1.default.PARENTESE_DIREITO, "Esperado ')' após parâmetros.");
|
|
4653
4665
|
switch (tipo) {
|
|
4654
4666
|
case 'função':
|
|
4655
|
-
this.consumir(tenda_1.default.SUBTRACAO,
|
|
4656
|
-
this.consumir(tenda_1.default.MAIOR,
|
|
4667
|
+
this.consumir(tenda_1.default.SUBTRACAO, 'Esperado seta após fechamento de parênteses para declaração de função.');
|
|
4668
|
+
this.consumir(tenda_1.default.MAIOR, 'Esperado seta após fechamento de parênteses para declaração de função.');
|
|
4657
4669
|
break;
|
|
4658
4670
|
case 'implícita':
|
|
4659
|
-
this.consumir(tenda_1.default.IGUAL,
|
|
4671
|
+
this.consumir(tenda_1.default.IGUAL, 'Esperado sinal de igual após fechamento de parênteses para declaração de função.');
|
|
4660
4672
|
break;
|
|
4661
4673
|
}
|
|
4662
4674
|
const corpo = this.resolverDeclaracao();
|
|
@@ -4757,7 +4769,7 @@ class AvaliadorSintaticoTenda extends avaliador_sintatico_base_1.AvaliadorSintat
|
|
|
4757
4769
|
}
|
|
4758
4770
|
exports.AvaliadorSintaticoTenda = AvaliadorSintaticoTenda;
|
|
4759
4771
|
|
|
4760
|
-
},{"../../bibliotecas/primitivas-dicionario":18,"../../bibliotecas/primitivas-numero":19,"../../bibliotecas/primitivas-texto":20,"../../bibliotecas/primitivas-vetor":21,"../../construtos":44,"../../construtos/tuplas":55,"../../declaracoes":85,"../../inferenciador":
|
|
4772
|
+
},{"../../bibliotecas/primitivas-dicionario":18,"../../bibliotecas/primitivas-numero":19,"../../bibliotecas/primitivas-texto":20,"../../bibliotecas/primitivas-vetor":21,"../../construtos":44,"../../construtos/tuplas":55,"../../declaracoes":85,"../../inferenciador":107,"../../informacao-variavel-ou-constante":108,"../../lexador/simbolo":166,"../../tipos-de-dados/delegua":168,"../../tipos-de-simbolos/tenda":177,"../avaliador-sintatico-base":1,"./../erro-avaliador-sintatico":9,"./../informacao-escopo":11,"./../pilha-escopos":14,"browser-process-hrtime":350}],8:[function(require,module,exports){
|
|
4761
4773
|
"use strict";
|
|
4762
4774
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4763
4775
|
if (k2 === undefined) k2 = k;
|
|
@@ -4950,7 +4962,7 @@ class MicroAvaliadorSintaticoBase {
|
|
|
4950
4962
|
}
|
|
4951
4963
|
exports.MicroAvaliadorSintaticoBase = MicroAvaliadorSintaticoBase;
|
|
4952
4964
|
|
|
4953
|
-
},{"../construtos":44,"../tipos-de-simbolos/comum":
|
|
4965
|
+
},{"../construtos":44,"../tipos-de-simbolos/comum":170,"./erro-avaliador-sintatico":9}],13:[function(require,module,exports){
|
|
4954
4966
|
"use strict";
|
|
4955
4967
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4956
4968
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -5156,7 +5168,7 @@ class MicroAvaliadorSintatico extends micro_avaliador_sintatico_base_1.MicroAval
|
|
|
5156
5168
|
}
|
|
5157
5169
|
exports.MicroAvaliadorSintatico = MicroAvaliadorSintatico;
|
|
5158
5170
|
|
|
5159
|
-
},{"../construtos":44,"../tipos-de-simbolos/microgramaticas/delegua":
|
|
5171
|
+
},{"../construtos":44,"../tipos-de-simbolos/microgramaticas/delegua":174,"./micro-avaliador-sintatico-base":12}],14:[function(require,module,exports){
|
|
5160
5172
|
"use strict";
|
|
5161
5173
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5162
5174
|
exports.PilhaEscopos = void 0;
|
|
@@ -5785,7 +5797,7 @@ async function tupla(interpretador, vetor) {
|
|
|
5785
5797
|
}
|
|
5786
5798
|
}
|
|
5787
5799
|
|
|
5788
|
-
},{"../construtos":44,"../excecoes":
|
|
5800
|
+
},{"../construtos":44,"../excecoes":101,"../interpretador/estruturas":138,"../interpretador/estruturas/descritor-tipo-classe":136,"../interpretador/estruturas/funcao-padrao":137,"../interpretador/estruturas/objeto-delegua-classe":141}],18:[function(require,module,exports){
|
|
5789
5801
|
"use strict";
|
|
5790
5802
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5791
5803
|
const informacao_variavel_ou_constante_1 = require("../informacao-variavel-ou-constante");
|
|
@@ -5799,24 +5811,18 @@ exports.default = {
|
|
|
5799
5811
|
},
|
|
5800
5812
|
contem: {
|
|
5801
5813
|
tipoRetorno: 'lógico',
|
|
5802
|
-
argumentos: [
|
|
5803
|
-
|
|
5804
|
-
],
|
|
5805
|
-
implementacao: (interpretador, valor, chave) => Promise.resolve(chave in valor)
|
|
5814
|
+
argumentos: [new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('chave', 'texto')],
|
|
5815
|
+
implementacao: (interpretador, valor, chave) => Promise.resolve(chave in valor),
|
|
5806
5816
|
},
|
|
5807
5817
|
contém: {
|
|
5808
5818
|
tipoRetorno: 'lógico',
|
|
5809
|
-
argumentos: [
|
|
5810
|
-
|
|
5811
|
-
],
|
|
5812
|
-
implementacao: (interpretador, valor, chave) => Promise.resolve(chave in valor)
|
|
5819
|
+
argumentos: [new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('chave', 'texto')],
|
|
5820
|
+
implementacao: (interpretador, valor, chave) => Promise.resolve(chave in valor),
|
|
5813
5821
|
},
|
|
5814
5822
|
remover: {
|
|
5815
5823
|
tipoRetorno: 'lógico',
|
|
5816
|
-
argumentos: [
|
|
5817
|
-
|
|
5818
|
-
],
|
|
5819
|
-
implementacao: (interpretador, valor, chave) => Promise.resolve(delete valor[chave])
|
|
5824
|
+
argumentos: [new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('chave', 'texto')],
|
|
5825
|
+
implementacao: (interpretador, valor, chave) => Promise.resolve(delete valor[chave]),
|
|
5820
5826
|
},
|
|
5821
5827
|
valores: {
|
|
5822
5828
|
tipoRetorno: 'qualquer[]',
|
|
@@ -5827,29 +5833,29 @@ exports.default = {
|
|
|
5827
5833
|
},
|
|
5828
5834
|
};
|
|
5829
5835
|
|
|
5830
|
-
},{"../informacao-variavel-ou-constante":
|
|
5836
|
+
},{"../informacao-variavel-ou-constante":108}],19:[function(require,module,exports){
|
|
5831
5837
|
"use strict";
|
|
5832
5838
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5833
5839
|
exports.default = {
|
|
5834
|
-
|
|
5840
|
+
absoluto: {
|
|
5835
5841
|
tipoRetorno: 'número',
|
|
5836
5842
|
argumentos: [],
|
|
5837
5843
|
implementacao: (interpretador, valor) => {
|
|
5838
|
-
return Promise.resolve(Math.
|
|
5844
|
+
return Promise.resolve(Math.abs(valor));
|
|
5839
5845
|
},
|
|
5840
5846
|
},
|
|
5841
|
-
|
|
5847
|
+
arredondarParaBaixo: {
|
|
5842
5848
|
tipoRetorno: 'número',
|
|
5843
5849
|
argumentos: [],
|
|
5844
5850
|
implementacao: (interpretador, valor) => {
|
|
5845
|
-
return Promise.resolve(Math.
|
|
5851
|
+
return Promise.resolve(Math.floor(valor));
|
|
5846
5852
|
},
|
|
5847
5853
|
},
|
|
5848
|
-
|
|
5854
|
+
arredondarParaCima: {
|
|
5849
5855
|
tipoRetorno: 'número',
|
|
5850
5856
|
argumentos: [],
|
|
5851
5857
|
implementacao: (interpretador, valor) => {
|
|
5852
|
-
return Promise.resolve(Math.
|
|
5858
|
+
return Promise.resolve(Math.ceil(valor));
|
|
5853
5859
|
},
|
|
5854
5860
|
},
|
|
5855
5861
|
};
|
|
@@ -5943,7 +5949,7 @@ exports.default = {
|
|
|
5943
5949
|
},
|
|
5944
5950
|
};
|
|
5945
5951
|
|
|
5946
|
-
},{"../informacao-variavel-ou-constante":
|
|
5952
|
+
},{"../informacao-variavel-ou-constante":108}],21:[function(require,module,exports){
|
|
5947
5953
|
"use strict";
|
|
5948
5954
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5949
5955
|
const informacao_variavel_ou_constante_1 = require("../informacao-variavel-ou-constante");
|
|
@@ -6110,7 +6116,7 @@ exports.default = {
|
|
|
6110
6116
|
},
|
|
6111
6117
|
};
|
|
6112
6118
|
|
|
6113
|
-
},{"../informacao-variavel-ou-constante":
|
|
6119
|
+
},{"../informacao-variavel-ou-constante":108}],22:[function(require,module,exports){
|
|
6114
6120
|
"use strict";
|
|
6115
6121
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6116
6122
|
exports.AcessoElementoMatriz = void 0;
|
|
@@ -6402,7 +6408,7 @@ class Chamada {
|
|
|
6402
6408
|
}
|
|
6403
6409
|
exports.Chamada = Chamada;
|
|
6404
6410
|
|
|
6405
|
-
},{"../geracao-identificadores":
|
|
6411
|
+
},{"../geracao-identificadores":105}],34:[function(require,module,exports){
|
|
6406
6412
|
"use strict";
|
|
6407
6413
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6408
6414
|
exports.ComponenteLinguagem = void 0;
|
|
@@ -6679,7 +6685,7 @@ class Leia {
|
|
|
6679
6685
|
}
|
|
6680
6686
|
exports.Leia = Leia;
|
|
6681
6687
|
|
|
6682
|
-
},{"../geracao-identificadores":
|
|
6688
|
+
},{"../geracao-identificadores":105}],47:[function(require,module,exports){
|
|
6683
6689
|
"use strict";
|
|
6684
6690
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6685
6691
|
exports.Literal = void 0;
|
|
@@ -7439,7 +7445,7 @@ class FuncaoDeclaracao extends declaracao_1.Declaracao {
|
|
|
7439
7445
|
}
|
|
7440
7446
|
exports.FuncaoDeclaracao = FuncaoDeclaracao;
|
|
7441
7447
|
|
|
7442
|
-
},{"../geracao-identificadores":
|
|
7448
|
+
},{"../geracao-identificadores":105,"./declaracao":75}],84:[function(require,module,exports){
|
|
7443
7449
|
"use strict";
|
|
7444
7450
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7445
7451
|
exports.Importar = void 0;
|
|
@@ -7796,28 +7802,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7796
7802
|
},{}],100:[function(require,module,exports){
|
|
7797
7803
|
"use strict";
|
|
7798
7804
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7799
|
-
exports.EspacoVariaveis = void 0;
|
|
7800
|
-
/**
|
|
7801
|
-
* Um espaço de variáveis é ligado a um `EscopoExecucao`.
|
|
7802
|
-
* Contém os valores de variáveis e resoluções de chamadas.
|
|
7803
|
-
*
|
|
7804
|
-
* As resoluções de chamadas são utilizadas pelo depurador quando
|
|
7805
|
-
* uma certa linha precisa "executar duas vezes". Isso acontece quando
|
|
7806
|
-
* um ponto de parada é ativado dentro de um escopo relacionado com
|
|
7807
|
-
* a chamada. É apenas usado pelo Interpretador com Depuração.
|
|
7808
|
-
*/
|
|
7809
|
-
class EspacoVariaveis {
|
|
7810
|
-
constructor() {
|
|
7811
|
-
this.valores = {};
|
|
7812
|
-
this.resolucoesChamadas = {};
|
|
7813
|
-
this.referencias = {};
|
|
7814
|
-
}
|
|
7815
|
-
}
|
|
7816
|
-
exports.EspacoVariaveis = EspacoVariaveis;
|
|
7817
|
-
|
|
7818
|
-
},{}],101:[function(require,module,exports){
|
|
7819
|
-
"use strict";
|
|
7820
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7821
7805
|
exports.ErroEmTempoDeExecucao = void 0;
|
|
7822
7806
|
class ErroEmTempoDeExecucao extends Error {
|
|
7823
7807
|
constructor(simbolo, mensagem, linha) {
|
|
@@ -7830,7 +7814,7 @@ class ErroEmTempoDeExecucao extends Error {
|
|
|
7830
7814
|
}
|
|
7831
7815
|
exports.ErroEmTempoDeExecucao = ErroEmTempoDeExecucao;
|
|
7832
7816
|
|
|
7833
|
-
},{}],
|
|
7817
|
+
},{}],101:[function(require,module,exports){
|
|
7834
7818
|
"use strict";
|
|
7835
7819
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7836
7820
|
if (k2 === undefined) k2 = k;
|
|
@@ -7849,7 +7833,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
7849
7833
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7850
7834
|
__exportStar(require("./erro-em-tempo-de-execucao"), exports);
|
|
7851
7835
|
|
|
7852
|
-
},{"./erro-em-tempo-de-execucao":
|
|
7836
|
+
},{"./erro-em-tempo-de-execucao":100}],102:[function(require,module,exports){
|
|
7853
7837
|
"use strict";
|
|
7854
7838
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7855
7839
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -8552,7 +8536,7 @@ class FormatadorDelegua {
|
|
|
8552
8536
|
}
|
|
8553
8537
|
exports.FormatadorDelegua = FormatadorDelegua;
|
|
8554
8538
|
|
|
8555
|
-
},{"../construtos":44,"../tipos-de-simbolos/delegua":
|
|
8539
|
+
},{"../construtos":44,"../tipos-de-simbolos/delegua":171}],103:[function(require,module,exports){
|
|
8556
8540
|
"use strict";
|
|
8557
8541
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8558
8542
|
exports.FormatadorPitugues = void 0;
|
|
@@ -8728,7 +8712,7 @@ class FormatadorPitugues {
|
|
|
8728
8712
|
}
|
|
8729
8713
|
exports.FormatadorPitugues = FormatadorPitugues;
|
|
8730
8714
|
|
|
8731
|
-
},{}],
|
|
8715
|
+
},{}],104:[function(require,module,exports){
|
|
8732
8716
|
"use strict";
|
|
8733
8717
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
8734
8718
|
if (k2 === undefined) k2 = k;
|
|
@@ -8748,7 +8732,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
8748
8732
|
__exportStar(require("./formatador-delegua"), exports);
|
|
8749
8733
|
__exportStar(require("./formatador-pitugues"), exports);
|
|
8750
8734
|
|
|
8751
|
-
},{"./formatador-delegua":
|
|
8735
|
+
},{"./formatador-delegua":102,"./formatador-pitugues":103}],105:[function(require,module,exports){
|
|
8752
8736
|
"use strict";
|
|
8753
8737
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8754
8738
|
exports.uuidv4 = uuidv4;
|
|
@@ -8772,7 +8756,7 @@ function uuidv4() {
|
|
|
8772
8756
|
});
|
|
8773
8757
|
}
|
|
8774
8758
|
|
|
8775
|
-
},{}],
|
|
8759
|
+
},{}],106:[function(require,module,exports){
|
|
8776
8760
|
"use strict";
|
|
8777
8761
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
8778
8762
|
if (k2 === undefined) k2 = k;
|
|
@@ -8801,7 +8785,7 @@ __exportStar(require("./interpretador"), exports);
|
|
|
8801
8785
|
__exportStar(require("./lexador"), exports);
|
|
8802
8786
|
__exportStar(require("./tradutores"), exports);
|
|
8803
8787
|
|
|
8804
|
-
},{"./avaliador-sintatico":10,"./construtos":44,"./declaracoes":85,"./depuracao":98,"./formatadores":
|
|
8788
|
+
},{"./avaliador-sintatico":10,"./construtos":44,"./declaracoes":85,"./depuracao":98,"./formatadores":104,"./interfaces":114,"./interpretador":144,"./lexador":160,"./tradutores":178}],107:[function(require,module,exports){
|
|
8805
8789
|
"use strict";
|
|
8806
8790
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8807
8791
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -8928,7 +8912,7 @@ function tipoInferenciaParaTipoDadosElementar(tipoInferencia) {
|
|
|
8928
8912
|
}
|
|
8929
8913
|
}
|
|
8930
8914
|
|
|
8931
|
-
},{"./tipos-de-dados/delegua":
|
|
8915
|
+
},{"./tipos-de-dados/delegua":168,"./tipos-de-dados/primitivos":169,"./tipos-de-simbolos/delegua":171}],108:[function(require,module,exports){
|
|
8932
8916
|
"use strict";
|
|
8933
8917
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8934
8918
|
exports.InformacaoVariavelOuConstante = void 0;
|
|
@@ -8946,15 +8930,15 @@ class InformacaoVariavelOuConstante {
|
|
|
8946
8930
|
}
|
|
8947
8931
|
exports.InformacaoVariavelOuConstante = InformacaoVariavelOuConstante;
|
|
8948
8932
|
|
|
8949
|
-
},{}],
|
|
8933
|
+
},{}],109:[function(require,module,exports){
|
|
8950
8934
|
"use strict";
|
|
8951
8935
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8952
8936
|
|
|
8953
|
-
},{}],
|
|
8937
|
+
},{}],110:[function(require,module,exports){
|
|
8954
8938
|
"use strict";
|
|
8955
8939
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8956
8940
|
|
|
8957
|
-
},{}],
|
|
8941
|
+
},{}],111:[function(require,module,exports){
|
|
8958
8942
|
"use strict";
|
|
8959
8943
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8960
8944
|
exports.DiagnosticoSeveridade = void 0;
|
|
@@ -8966,7 +8950,7 @@ var DiagnosticoSeveridade;
|
|
|
8966
8950
|
DiagnosticoSeveridade[DiagnosticoSeveridade["SUGESTAO"] = 3] = "SUGESTAO";
|
|
8967
8951
|
})(DiagnosticoSeveridade || (exports.DiagnosticoSeveridade = DiagnosticoSeveridade = {}));
|
|
8968
8952
|
|
|
8969
|
-
},{}],
|
|
8953
|
+
},{}],112:[function(require,module,exports){
|
|
8970
8954
|
"use strict";
|
|
8971
8955
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
8972
8956
|
if (k2 === undefined) k2 = k;
|
|
@@ -8985,11 +8969,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
8985
8969
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8986
8970
|
__exportStar(require("./diagnostico-analisador-semantico"), exports);
|
|
8987
8971
|
|
|
8988
|
-
},{"./diagnostico-analisador-semantico":
|
|
8972
|
+
},{"./diagnostico-analisador-semantico":111}],113:[function(require,module,exports){
|
|
8989
8973
|
"use strict";
|
|
8990
8974
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8991
8975
|
|
|
8992
|
-
},{}],
|
|
8976
|
+
},{}],114:[function(require,module,exports){
|
|
8993
8977
|
"use strict";
|
|
8994
8978
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
8995
8979
|
if (k2 === undefined) k2 = k;
|
|
@@ -9024,7 +9008,11 @@ __exportStar(require("./construtos"), exports);
|
|
|
9024
9008
|
__exportStar(require("./erros"), exports);
|
|
9025
9009
|
__exportStar(require("./retornos"), exports);
|
|
9026
9010
|
|
|
9027
|
-
},{"./avaliador-sintatico-interface":
|
|
9011
|
+
},{"./avaliador-sintatico-interface":109,"./construtos":110,"./erros":112,"./formatador-comum-interface":113,"./interpretador-com-depuracao-interface":115,"./interpretador-interface":116,"./lexador-interface":117,"./parametro-interface":118,"./pilha-interface":119,"./primitiva-interface":120,"./resolvedor-interface":121,"./retornos":122,"./retornos/retorno-execucao-interface":124,"./simbolo-interface":127,"./tradutor-interface":128,"./variavel-interface":129,"./visitante-comum-interface":130}],115:[function(require,module,exports){
|
|
9012
|
+
"use strict";
|
|
9013
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9014
|
+
|
|
9015
|
+
},{}],116:[function(require,module,exports){
|
|
9028
9016
|
"use strict";
|
|
9029
9017
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9030
9018
|
|
|
@@ -9050,10 +9038,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9050
9038
|
|
|
9051
9039
|
},{}],122:[function(require,module,exports){
|
|
9052
9040
|
"use strict";
|
|
9053
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9054
|
-
|
|
9055
|
-
},{}],123:[function(require,module,exports){
|
|
9056
|
-
"use strict";
|
|
9057
9041
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9058
9042
|
if (k2 === undefined) k2 = k;
|
|
9059
9043
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -9074,7 +9058,11 @@ __exportStar(require("./retorno-execucao-interface"), exports);
|
|
|
9074
9058
|
__exportStar(require("./retorno-interpretador"), exports);
|
|
9075
9059
|
__exportStar(require("./retorno-lexador"), exports);
|
|
9076
9060
|
|
|
9077
|
-
},{"./retorno-avaliador-sintatico":
|
|
9061
|
+
},{"./retorno-avaliador-sintatico":123,"./retorno-execucao-interface":124,"./retorno-interpretador":125,"./retorno-lexador":126}],123:[function(require,module,exports){
|
|
9062
|
+
"use strict";
|
|
9063
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9064
|
+
|
|
9065
|
+
},{}],124:[function(require,module,exports){
|
|
9078
9066
|
"use strict";
|
|
9079
9067
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9080
9068
|
|
|
@@ -9104,10 +9092,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9104
9092
|
|
|
9105
9093
|
},{}],131:[function(require,module,exports){
|
|
9106
9094
|
"use strict";
|
|
9107
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9108
|
-
|
|
9109
|
-
},{}],132:[function(require,module,exports){
|
|
9110
|
-
"use strict";
|
|
9111
9095
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9112
9096
|
if (k2 === undefined) k2 = k;
|
|
9113
9097
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -9171,7 +9155,32 @@ function carregarBibliotecasGlobais(pilhaEscoposExecucao) {
|
|
|
9171
9155
|
pilhaEscoposExecucao.definirVariavel('tupla', new funcao_padrao_1.FuncaoPadrao(1, bibliotecaGlobal.tupla));
|
|
9172
9156
|
}
|
|
9173
9157
|
|
|
9174
|
-
},{"../bibliotecas/biblioteca-global":17,"./estruturas/funcao-padrao":137}],
|
|
9158
|
+
},{"../bibliotecas/biblioteca-global":17,"./estruturas/funcao-padrao":137}],132:[function(require,module,exports){
|
|
9159
|
+
"use strict";
|
|
9160
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9161
|
+
exports.EspacoMemoria = void 0;
|
|
9162
|
+
/**
|
|
9163
|
+
* Um espaço de memória é ligado a um `EscopoExecucao`.
|
|
9164
|
+
* Contém valores de variáveis, endereços utilizados no montão,
|
|
9165
|
+
* referências a funções (Delégua e Pituguês) e resoluções de chamadas.
|
|
9166
|
+
*
|
|
9167
|
+
* As resoluções de chamadas são utilizadas pelo depurador quando
|
|
9168
|
+
* uma certa linha precisa "executar duas vezes". Isso acontece quando
|
|
9169
|
+
* um ponto de parada é ativado dentro de um escopo relacionado com
|
|
9170
|
+
* a chamada. É apenas usado pelo Interpretador com Depuração.
|
|
9171
|
+
* @see EscopoExecucao
|
|
9172
|
+
*/
|
|
9173
|
+
class EspacoMemoria {
|
|
9174
|
+
constructor() {
|
|
9175
|
+
this.valores = {};
|
|
9176
|
+
this.enderecosMontao = new Set();
|
|
9177
|
+
this.resolucoesChamadas = {};
|
|
9178
|
+
this.referenciasFuncoes = {};
|
|
9179
|
+
}
|
|
9180
|
+
}
|
|
9181
|
+
exports.EspacoMemoria = EspacoMemoria;
|
|
9182
|
+
|
|
9183
|
+
},{}],133:[function(require,module,exports){
|
|
9175
9184
|
"use strict";
|
|
9176
9185
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9177
9186
|
exports.Chamavel = void 0;
|
|
@@ -9231,7 +9240,7 @@ exports.ClassePadrao = ClassePadrao;
|
|
|
9231
9240
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9232
9241
|
exports.DeleguaFuncao = void 0;
|
|
9233
9242
|
const chamavel_1 = require("./chamavel");
|
|
9234
|
-
const
|
|
9243
|
+
const espaco_memoria_1 = require("../espaco-memoria");
|
|
9235
9244
|
const quebras_1 = require("../../quebras");
|
|
9236
9245
|
const declaracoes_1 = require("../../declaracoes");
|
|
9237
9246
|
/**
|
|
@@ -9298,7 +9307,7 @@ class DeleguaFuncao extends chamavel_1.Chamavel {
|
|
|
9298
9307
|
return argumentosResolvidos;
|
|
9299
9308
|
}
|
|
9300
9309
|
resolverAmbiente(argumentos) {
|
|
9301
|
-
const ambiente = new
|
|
9310
|
+
const ambiente = new espaco_memoria_1.EspacoMemoria();
|
|
9302
9311
|
const parametros = this.declaracao.parametros || [];
|
|
9303
9312
|
for (let i = 0; i < parametros.length; i++) {
|
|
9304
9313
|
const parametro = parametros[i];
|
|
@@ -9371,7 +9380,7 @@ class DeleguaFuncao extends chamavel_1.Chamavel {
|
|
|
9371
9380
|
}
|
|
9372
9381
|
exports.DeleguaFuncao = DeleguaFuncao;
|
|
9373
9382
|
|
|
9374
|
-
},{"../../declaracoes":85,"../../
|
|
9383
|
+
},{"../../declaracoes":85,"../../quebras":167,"../espaco-memoria":132,"./chamavel":133}],136:[function(require,module,exports){
|
|
9375
9384
|
"use strict";
|
|
9376
9385
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9377
9386
|
exports.DescritorTipoClasse = void 0;
|
|
@@ -9452,7 +9461,7 @@ class DescritorTipoClasse extends chamavel_1.Chamavel {
|
|
|
9452
9461
|
}
|
|
9453
9462
|
exports.DescritorTipoClasse = DescritorTipoClasse;
|
|
9454
9463
|
|
|
9455
|
-
},{"../../excecoes":
|
|
9464
|
+
},{"../../excecoes":101,"./chamavel":133,"./objeto-delegua-classe":141}],137:[function(require,module,exports){
|
|
9456
9465
|
"use strict";
|
|
9457
9466
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9458
9467
|
exports.FuncaoPadrao = void 0;
|
|
@@ -9515,8 +9524,9 @@ __exportStar(require("./metodo-primitiva"), exports);
|
|
|
9515
9524
|
__exportStar(require("./modulo"), exports);
|
|
9516
9525
|
__exportStar(require("./objeto-delegua-classe"), exports);
|
|
9517
9526
|
__exportStar(require("./objeto-padrao"), exports);
|
|
9527
|
+
__exportStar(require("./referencia-montao"), exports);
|
|
9518
9528
|
|
|
9519
|
-
},{"./chamavel":133,"./classe-padrao":134,"./delegua-funcao":135,"./descritor-tipo-classe":136,"./funcao-padrao":137,"./metodo-primitiva":139,"./modulo":140,"./objeto-delegua-classe":141,"./objeto-padrao":142}],139:[function(require,module,exports){
|
|
9529
|
+
},{"./chamavel":133,"./classe-padrao":134,"./delegua-funcao":135,"./descritor-tipo-classe":136,"./funcao-padrao":137,"./metodo-primitiva":139,"./modulo":140,"./objeto-delegua-classe":141,"./objeto-padrao":142,"./referencia-montao":143}],139:[function(require,module,exports){
|
|
9520
9530
|
"use strict";
|
|
9521
9531
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9522
9532
|
exports.MetodoPrimitiva = void 0;
|
|
@@ -9652,7 +9662,7 @@ class ObjetoDeleguaClasse {
|
|
|
9652
9662
|
}
|
|
9653
9663
|
exports.ObjetoDeleguaClasse = ObjetoDeleguaClasse;
|
|
9654
9664
|
|
|
9655
|
-
},{"../../excecoes":
|
|
9665
|
+
},{"../../excecoes":101}],142:[function(require,module,exports){
|
|
9656
9666
|
"use strict";
|
|
9657
9667
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9658
9668
|
exports.ObjetoPadrao = void 0;
|
|
@@ -9688,6 +9698,31 @@ exports.ObjetoPadrao = ObjetoPadrao;
|
|
|
9688
9698
|
|
|
9689
9699
|
},{}],143:[function(require,module,exports){
|
|
9690
9700
|
"use strict";
|
|
9701
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9702
|
+
exports.ReferenciaMontao = void 0;
|
|
9703
|
+
class ReferenciaMontao {
|
|
9704
|
+
constructor(endereco) {
|
|
9705
|
+
this.endereco = endereco;
|
|
9706
|
+
}
|
|
9707
|
+
/**
|
|
9708
|
+
* Método utilizado por Delégua para inspecionar este objeto em depuração.
|
|
9709
|
+
* @returns {string} A representação da referência como texto.
|
|
9710
|
+
*/
|
|
9711
|
+
paraTexto() {
|
|
9712
|
+
return `<ReferênciaMontão endereco=${this.endereco}>`;
|
|
9713
|
+
}
|
|
9714
|
+
/**
|
|
9715
|
+
* Método utilizado pelo VSCode para representar este objeto quando impresso.
|
|
9716
|
+
* @returns {string} A representação da referência como texto.
|
|
9717
|
+
*/
|
|
9718
|
+
toString() {
|
|
9719
|
+
return this.paraTexto();
|
|
9720
|
+
}
|
|
9721
|
+
}
|
|
9722
|
+
exports.ReferenciaMontao = ReferenciaMontao;
|
|
9723
|
+
|
|
9724
|
+
},{}],144:[function(require,module,exports){
|
|
9725
|
+
"use strict";
|
|
9691
9726
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9692
9727
|
if (k2 === undefined) k2 = k;
|
|
9693
9728
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -9706,7 +9741,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9706
9741
|
__exportStar(require("./interpretador"), exports);
|
|
9707
9742
|
__exportStar(require("./interpretador-base"), exports);
|
|
9708
9743
|
|
|
9709
|
-
},{"./interpretador":
|
|
9744
|
+
},{"./interpretador":146,"./interpretador-base":145}],145:[function(require,module,exports){
|
|
9710
9745
|
(function (process){(function (){
|
|
9711
9746
|
"use strict";
|
|
9712
9747
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -9723,7 +9758,7 @@ const inferenciador_1 = require("../inferenciador");
|
|
|
9723
9758
|
const metodo_primitiva_1 = require("./estruturas/metodo-primitiva");
|
|
9724
9759
|
const lexador_1 = require("../lexador");
|
|
9725
9760
|
const avaliador_sintatico_1 = require("../avaliador-sintatico");
|
|
9726
|
-
const
|
|
9761
|
+
const espaco_memoria_1 = require("./espaco-memoria");
|
|
9727
9762
|
const comum_1 = require("./comum");
|
|
9728
9763
|
const excecoes_1 = require("../excecoes");
|
|
9729
9764
|
const primitivas_dicionario_1 = __importDefault(require("../bibliotecas/primitivas-dicionario"));
|
|
@@ -9766,7 +9801,7 @@ class InterpretadorBase {
|
|
|
9766
9801
|
this.resultadoInterpretador = [];
|
|
9767
9802
|
// Isso existe por causa de Potigol.
|
|
9768
9803
|
// Para acessar uma variável de classe, não é preciso a palavra `isto`.
|
|
9769
|
-
this.
|
|
9804
|
+
this.expandirPropriedadesDeObjetosEmEspacoMemoria = false;
|
|
9770
9805
|
// Por padrão é verdadeiro porque Delégua e Pituguês usam
|
|
9771
9806
|
// o interpretador base como implementação padrão.
|
|
9772
9807
|
this.requerDeclaracaoPropriedades = true;
|
|
@@ -9774,7 +9809,7 @@ class InterpretadorBase {
|
|
|
9774
9809
|
const escopoExecucao = {
|
|
9775
9810
|
declaracoes: [],
|
|
9776
9811
|
declaracaoAtual: 0,
|
|
9777
|
-
|
|
9812
|
+
espacoMemoria: new espaco_memoria_1.EspacoMemoria(),
|
|
9778
9813
|
finalizado: false,
|
|
9779
9814
|
tipo: 'outro',
|
|
9780
9815
|
emLacoRepeticao: false,
|
|
@@ -10629,7 +10664,7 @@ class InterpretadorBase {
|
|
|
10629
10664
|
const escopoExecucao = {
|
|
10630
10665
|
declaracoes: declaracoes,
|
|
10631
10666
|
declaracaoAtual: 0,
|
|
10632
|
-
|
|
10667
|
+
espacoMemoria: ambiente || new espaco_memoria_1.EspacoMemoria(),
|
|
10633
10668
|
finalizado: false,
|
|
10634
10669
|
tipo: 'outro',
|
|
10635
10670
|
emLacoRepeticao: false,
|
|
@@ -10782,7 +10817,10 @@ class InterpretadorBase {
|
|
|
10782
10817
|
}
|
|
10783
10818
|
return objeto.charAt(valorIndice);
|
|
10784
10819
|
}
|
|
10785
|
-
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(
|
|
10820
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao({
|
|
10821
|
+
hashArquivo: this.hashArquivoDeclaracaoAtual,
|
|
10822
|
+
linha: this.linhaDeclaracaoAtual,
|
|
10823
|
+
}, 'Somente listas, dicionários, classes e objetos podem ter seus valores indexados.', expressao.linha));
|
|
10786
10824
|
}
|
|
10787
10825
|
async visitarExpressaoDefinirValor(expressao) {
|
|
10788
10826
|
const variavelObjeto = await this.avaliar(expressao.objeto);
|
|
@@ -10834,9 +10872,8 @@ class InterpretadorBase {
|
|
|
10834
10872
|
metodos[metodoAtual.simbolo.lexema] = funcao;
|
|
10835
10873
|
}
|
|
10836
10874
|
const descritorTipoClasse = new estruturas_1.DescritorTipoClasse(declaracao.simbolo, superClasse, metodos, declaracao.propriedades);
|
|
10837
|
-
// TODO:
|
|
10838
|
-
|
|
10839
|
-
this.expandirPropriedadesDeObjetosEmEspacoVariaveis;
|
|
10875
|
+
// TODO: Até então, a única exceção a isso é Égua Clássico.
|
|
10876
|
+
// Por enquanto, tudo bem deixar isso aqui.
|
|
10840
10877
|
descritorTipoClasse.dialetoRequerDeclaracaoPropriedades = this.requerDeclaracaoPropriedades;
|
|
10841
10878
|
this.pilhaEscoposExecucao.atribuirVariavel(declaracao.simbolo, descritorTipoClasse);
|
|
10842
10879
|
return null;
|
|
@@ -10915,9 +10952,10 @@ class InterpretadorBase {
|
|
|
10915
10952
|
dicionario[chaveLogico] = promises[1];
|
|
10916
10953
|
continue;
|
|
10917
10954
|
}
|
|
10918
|
-
dicionario[promises[0]] =
|
|
10919
|
-
|
|
10920
|
-
|
|
10955
|
+
dicionario[promises[0]] =
|
|
10956
|
+
promises[1] && promises[1].hasOwnProperty('valor')
|
|
10957
|
+
? promises[1].valor
|
|
10958
|
+
: promises[1];
|
|
10921
10959
|
}
|
|
10922
10960
|
return dicionario;
|
|
10923
10961
|
}
|
|
@@ -10963,7 +11001,9 @@ class InterpretadorBase {
|
|
|
10963
11001
|
}
|
|
10964
11002
|
if (objeto.valor instanceof estruturas_1.ObjetoPadrao)
|
|
10965
11003
|
return objeto.valor.paraTexto();
|
|
10966
|
-
if (objeto instanceof estruturas_1.ObjetoDeleguaClasse ||
|
|
11004
|
+
if (objeto instanceof estruturas_1.ObjetoDeleguaClasse ||
|
|
11005
|
+
objeto instanceof estruturas_1.DeleguaFuncao ||
|
|
11006
|
+
typeof objeto.paraTexto === 'function')
|
|
10967
11007
|
return objeto.paraTexto();
|
|
10968
11008
|
if (objeto instanceof quebras_1.RetornoQuebra) {
|
|
10969
11009
|
if (typeof objeto.valor === 'boolean')
|
|
@@ -11045,7 +11085,10 @@ class InterpretadorBase {
|
|
|
11045
11085
|
try {
|
|
11046
11086
|
for (; !(retornoExecucao instanceof quebras_1.Quebra) &&
|
|
11047
11087
|
ultimoEscopo.declaracaoAtual < ultimoEscopo.declaracoes.length; ultimoEscopo.declaracaoAtual++) {
|
|
11048
|
-
|
|
11088
|
+
const declaracaoAtual = ultimoEscopo.declaracoes[ultimoEscopo.declaracaoAtual];
|
|
11089
|
+
this.linhaDeclaracaoAtual = declaracaoAtual.linha;
|
|
11090
|
+
this.hashArquivoDeclaracaoAtual = declaracaoAtual.hashArquivo;
|
|
11091
|
+
retornoExecucao = await this.executar(declaracaoAtual);
|
|
11049
11092
|
}
|
|
11050
11093
|
return retornoExecucao;
|
|
11051
11094
|
}
|
|
@@ -11066,7 +11109,7 @@ class InterpretadorBase {
|
|
|
11066
11109
|
this.pilhaEscoposExecucao.removerUltimo();
|
|
11067
11110
|
const escopoAnterior = this.pilhaEscoposExecucao.topoDaPilha();
|
|
11068
11111
|
if (manterAmbiente || (retornoExecucao && retornoExecucao.preservarEscopo === true)) {
|
|
11069
|
-
escopoAnterior.
|
|
11112
|
+
escopoAnterior.espacoMemoria.valores = Object.assign(escopoAnterior.espacoMemoria.valores, ultimoEscopo.espacoMemoria.valores);
|
|
11070
11113
|
}
|
|
11071
11114
|
}
|
|
11072
11115
|
}
|
|
@@ -11081,10 +11124,12 @@ class InterpretadorBase {
|
|
|
11081
11124
|
async interpretar(declaracoes, manterAmbiente = false) {
|
|
11082
11125
|
this.erros = [];
|
|
11083
11126
|
this.emDeclaracaoTente = false;
|
|
11127
|
+
this.linhaDeclaracaoAtual = -1;
|
|
11128
|
+
this.hashArquivoDeclaracaoAtual = -1;
|
|
11084
11129
|
const escopoExecucao = {
|
|
11085
11130
|
declaracoes: declaracoes,
|
|
11086
11131
|
declaracaoAtual: 0,
|
|
11087
|
-
|
|
11132
|
+
espacoMemoria: new espaco_memoria_1.EspacoMemoria(),
|
|
11088
11133
|
finalizado: false,
|
|
11089
11134
|
tipo: 'outro',
|
|
11090
11135
|
emLacoRepeticao: false,
|
|
@@ -11118,18 +11163,20 @@ class InterpretadorBase {
|
|
|
11118
11163
|
exports.InterpretadorBase = InterpretadorBase;
|
|
11119
11164
|
|
|
11120
11165
|
}).call(this)}).call(this,require('_process'))
|
|
11121
|
-
},{"../avaliador-sintatico":10,"../bibliotecas/primitivas-dicionario":18,"../construtos":44,"../
|
|
11166
|
+
},{"../avaliador-sintatico":10,"../bibliotecas/primitivas-dicionario":18,"../construtos":44,"../excecoes":101,"../inferenciador":107,"../lexador":160,"../quebras":167,"../tipos-de-dados/delegua":168,"../tipos-de-dados/primitivos":169,"../tipos-de-simbolos/delegua":171,"./comum":131,"./espaco-memoria":132,"./estruturas":138,"./estruturas/metodo-primitiva":139,"./pilha-escopos-execucao":148,"_process":404,"browser-process-hrtime":350}],146:[function(require,module,exports){
|
|
11122
11167
|
"use strict";
|
|
11123
11168
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11124
11169
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
11125
11170
|
};
|
|
11126
11171
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11127
11172
|
exports.Interpretador = void 0;
|
|
11173
|
+
const construtos_1 = require("../construtos");
|
|
11128
11174
|
const estruturas_1 = require("./estruturas");
|
|
11129
11175
|
const interpretador_base_1 = require("./interpretador-base");
|
|
11130
11176
|
const inferenciador_1 = require("../inferenciador");
|
|
11131
11177
|
const excecoes_1 = require("../excecoes");
|
|
11132
11178
|
const quebras_1 = require("../quebras");
|
|
11179
|
+
const montao_1 = require("./montao");
|
|
11133
11180
|
const primitivas_dicionario_1 = __importDefault(require("../bibliotecas/primitivas-dicionario"));
|
|
11134
11181
|
const primitivas_numero_1 = __importDefault(require("../bibliotecas/primitivas-numero"));
|
|
11135
11182
|
const primitivas_texto_1 = __importDefault(require("../bibliotecas/primitivas-texto"));
|
|
@@ -11140,12 +11187,109 @@ const delegua_1 = __importDefault(require("../tipos-de-dados/delegua"));
|
|
|
11140
11187
|
* O interpretador de Delégua.
|
|
11141
11188
|
*/
|
|
11142
11189
|
class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
11190
|
+
constructor(diretorioBase, performance = false, funcaoDeRetorno = null, funcaoDeRetornoMesmaLinha = null) {
|
|
11191
|
+
super(diretorioBase, performance, funcaoDeRetorno, funcaoDeRetornoMesmaLinha);
|
|
11192
|
+
this.montao = new montao_1.Montao();
|
|
11193
|
+
}
|
|
11194
|
+
resolverReferenciaMontao(referenciaMontao) {
|
|
11195
|
+
const valorMontao = this.montao.obterReferencia(this.hashArquivoDeclaracaoAtual, this.linhaDeclaracaoAtual, referenciaMontao.endereco);
|
|
11196
|
+
return valorMontao;
|
|
11197
|
+
}
|
|
11198
|
+
resolverValor(objeto) {
|
|
11199
|
+
if (objeto === null || objeto === undefined) {
|
|
11200
|
+
return objeto;
|
|
11201
|
+
}
|
|
11202
|
+
if (objeto instanceof estruturas_1.ReferenciaMontao) {
|
|
11203
|
+
return this.resolverReferenciaMontao(objeto);
|
|
11204
|
+
}
|
|
11205
|
+
if (objeto.hasOwnProperty('valor')) {
|
|
11206
|
+
if (objeto.valor instanceof estruturas_1.ReferenciaMontao) {
|
|
11207
|
+
return this.resolverReferenciaMontao(objeto.valor);
|
|
11208
|
+
}
|
|
11209
|
+
return objeto.valor;
|
|
11210
|
+
}
|
|
11211
|
+
return objeto;
|
|
11212
|
+
}
|
|
11213
|
+
async avaliacaoDeclaracaoVarOuConst(declaracao) {
|
|
11214
|
+
let valorOuOutraVariavel = null;
|
|
11215
|
+
if (declaracao.inicializador !== null) {
|
|
11216
|
+
valorOuOutraVariavel = await this.avaliar(declaracao.inicializador);
|
|
11217
|
+
}
|
|
11218
|
+
let valorFinal = null;
|
|
11219
|
+
if (valorOuOutraVariavel !== null && valorOuOutraVariavel !== undefined) {
|
|
11220
|
+
valorFinal = this.resolverValor(valorOuOutraVariavel);
|
|
11221
|
+
}
|
|
11222
|
+
return valorFinal;
|
|
11223
|
+
}
|
|
11224
|
+
async avaliarArgumentosEscreva(argumentos) {
|
|
11225
|
+
let formatoTexto = '';
|
|
11226
|
+
for (const argumento of argumentos) {
|
|
11227
|
+
const resultadoAvaliacao = await this.avaliar(argumento);
|
|
11228
|
+
let valor = this.resolverValor(resultadoAvaliacao);
|
|
11229
|
+
formatoTexto += `${this.paraTexto(valor)} `;
|
|
11230
|
+
}
|
|
11231
|
+
return formatoTexto.trimEnd();
|
|
11232
|
+
}
|
|
11143
11233
|
visitarDeclaracaoDefinicaoFuncao(declaracao) {
|
|
11144
11234
|
const funcao = new estruturas_1.DeleguaFuncao(declaracao.simbolo.lexema, declaracao.funcao);
|
|
11145
11235
|
// TODO: Depreciar essa abordagem a favor do uso por referências.
|
|
11146
11236
|
this.pilhaEscoposExecucao.definirVariavel(declaracao.simbolo.lexema, funcao);
|
|
11147
11237
|
this.pilhaEscoposExecucao.registrarReferenciaFuncao(declaracao.id, funcao);
|
|
11148
11238
|
}
|
|
11239
|
+
async visitarExpressaoAcessoIndiceVariavel(expressao) {
|
|
11240
|
+
const promises = await Promise.all([
|
|
11241
|
+
this.avaliar(expressao.entidadeChamada),
|
|
11242
|
+
this.avaliar(expressao.indice),
|
|
11243
|
+
]);
|
|
11244
|
+
const variavelObjeto = promises[0];
|
|
11245
|
+
const indice = promises[1];
|
|
11246
|
+
const objeto = this.resolverValor(variavelObjeto);
|
|
11247
|
+
let valorIndice = this.resolverValor(indice);
|
|
11248
|
+
if (Array.isArray(objeto)) {
|
|
11249
|
+
if (!Number.isInteger(valorIndice)) {
|
|
11250
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(expressao.simboloFechamento, 'Somente inteiros podem ser usados para indexar um vetor.', expressao.linha));
|
|
11251
|
+
}
|
|
11252
|
+
if (valorIndice < 0 && objeto.length !== 0) {
|
|
11253
|
+
while (valorIndice < 0) {
|
|
11254
|
+
valorIndice += objeto.length;
|
|
11255
|
+
}
|
|
11256
|
+
}
|
|
11257
|
+
if (valorIndice >= objeto.length) {
|
|
11258
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(expressao.simboloFechamento, 'Índice do vetor fora do intervalo.', expressao.linha));
|
|
11259
|
+
}
|
|
11260
|
+
return objeto[valorIndice];
|
|
11261
|
+
}
|
|
11262
|
+
if (objeto instanceof construtos_1.Vetor) {
|
|
11263
|
+
return objeto.valores[valorIndice];
|
|
11264
|
+
}
|
|
11265
|
+
if (objeto.constructor === Object ||
|
|
11266
|
+
objeto instanceof estruturas_1.ObjetoDeleguaClasse ||
|
|
11267
|
+
objeto instanceof estruturas_1.DeleguaFuncao ||
|
|
11268
|
+
objeto instanceof estruturas_1.DescritorTipoClasse ||
|
|
11269
|
+
objeto instanceof estruturas_1.DeleguaModulo) {
|
|
11270
|
+
if (objeto[valorIndice] === 0)
|
|
11271
|
+
return 0;
|
|
11272
|
+
return objeto[valorIndice] || null;
|
|
11273
|
+
}
|
|
11274
|
+
if (typeof objeto === primitivos_1.default.TEXTO) {
|
|
11275
|
+
if (!Number.isInteger(valorIndice)) {
|
|
11276
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(expressao.simboloFechamento, 'Somente inteiros podem ser usados para indexar um vetor.', expressao.linha));
|
|
11277
|
+
}
|
|
11278
|
+
if (valorIndice < 0 && objeto.length !== 0) {
|
|
11279
|
+
while (valorIndice < 0) {
|
|
11280
|
+
valorIndice += objeto.length;
|
|
11281
|
+
}
|
|
11282
|
+
}
|
|
11283
|
+
if (valorIndice >= objeto.length) {
|
|
11284
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(expressao.simboloFechamento, 'Índice fora do tamanho.', expressao.linha));
|
|
11285
|
+
}
|
|
11286
|
+
return objeto.charAt(valorIndice);
|
|
11287
|
+
}
|
|
11288
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao({
|
|
11289
|
+
hashArquivo: this.hashArquivoDeclaracaoAtual,
|
|
11290
|
+
linha: this.linhaDeclaracaoAtual,
|
|
11291
|
+
}, 'Somente listas, dicionários, classes e objetos podem ter seus valores indexados.', expressao.linha));
|
|
11292
|
+
}
|
|
11149
11293
|
async visitarExpressaoAcessoMetodo(expressao) {
|
|
11150
11294
|
let variavelObjeto = await this.avaliar(expressao.objeto);
|
|
11151
11295
|
// Este caso acontece quando há encadeamento de métodos.
|
|
@@ -11155,9 +11299,7 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
11155
11299
|
if (variavelObjeto.constructor.name === 'RetornoQuebra') {
|
|
11156
11300
|
variavelObjeto = variavelObjeto.valor;
|
|
11157
11301
|
}
|
|
11158
|
-
const objeto =
|
|
11159
|
-
? variavelObjeto.valor
|
|
11160
|
-
: variavelObjeto;
|
|
11302
|
+
const objeto = this.resolverValor(variavelObjeto);
|
|
11161
11303
|
if (objeto.constructor.name === 'ObjetoDeleguaClasse') {
|
|
11162
11304
|
return objeto.obterMetodo(expressao.nomeMetodo) || null;
|
|
11163
11305
|
}
|
|
@@ -11217,7 +11359,10 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
11217
11359
|
}
|
|
11218
11360
|
break;
|
|
11219
11361
|
}
|
|
11220
|
-
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(
|
|
11362
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao({
|
|
11363
|
+
hashArquivo: this.hashArquivoDeclaracaoAtual,
|
|
11364
|
+
linha: this.linhaDeclaracaoAtual,
|
|
11365
|
+
}, `Método para objeto ou primitiva não encontrado: ${expressao.nomeMetodo}.`, expressao.linha));
|
|
11221
11366
|
}
|
|
11222
11367
|
/**
|
|
11223
11368
|
* Casos que ocorrem aqui:
|
|
@@ -11237,9 +11382,7 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
11237
11382
|
if (variavelObjeto.constructor.name === 'RetornoQuebra') {
|
|
11238
11383
|
variavelObjeto = variavelObjeto.valor;
|
|
11239
11384
|
}
|
|
11240
|
-
const objeto =
|
|
11241
|
-
? variavelObjeto.valor
|
|
11242
|
-
: variavelObjeto;
|
|
11385
|
+
const objeto = this.resolverValor(variavelObjeto);
|
|
11243
11386
|
if (objeto.constructor.name === 'ObjetoDeleguaClasse') {
|
|
11244
11387
|
return objeto.obter(expressao.simbolo);
|
|
11245
11388
|
}
|
|
@@ -11294,7 +11437,8 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
11294
11437
|
}
|
|
11295
11438
|
// Último caso válido: objeto de uma classe JavaScript que possua a propriedade.
|
|
11296
11439
|
// Exemplos: classes de LinConEs, como `RetornoComando, ou bibliotecas globais com objetos próprios`.
|
|
11297
|
-
if (objeto.hasOwnProperty(expressao.simbolo.lexema) ||
|
|
11440
|
+
if (objeto.hasOwnProperty(expressao.simbolo.lexema) ||
|
|
11441
|
+
typeof objeto[expressao.simbolo.lexema] !== 'undefined') {
|
|
11298
11442
|
return objeto[expressao.simbolo.lexema];
|
|
11299
11443
|
}
|
|
11300
11444
|
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(null, `Método ou propriedade para objeto ou primitiva não encontrado: ${expressao.simbolo.lexema}.`, expressao.linha));
|
|
@@ -11351,6 +11495,70 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
11351
11495
|
const deleguaFuncao = this.pilhaEscoposExecucao.obterVariavelPorNome(expressao.simboloFuncao.lexema);
|
|
11352
11496
|
return deleguaFuncao;
|
|
11353
11497
|
}
|
|
11498
|
+
/**
|
|
11499
|
+
* Execução de uma expressão de atribuição.
|
|
11500
|
+
* @param expressao A expressão.
|
|
11501
|
+
* @returns O valor atribuído.
|
|
11502
|
+
*/
|
|
11503
|
+
async visitarExpressaoDeAtribuicao(expressao) {
|
|
11504
|
+
const valor = await this.avaliar(expressao.valor);
|
|
11505
|
+
const valorResolvido = this.resolverValor(valor);
|
|
11506
|
+
let indice = null;
|
|
11507
|
+
if (expressao.indice) {
|
|
11508
|
+
indice = await this.avaliar(expressao.indice);
|
|
11509
|
+
}
|
|
11510
|
+
switch (expressao.alvo.constructor.name) {
|
|
11511
|
+
case 'Variavel':
|
|
11512
|
+
const alvoVariavel = expressao.alvo;
|
|
11513
|
+
const variavelResolvida = this.pilhaEscoposExecucao.obterValorVariavel(alvoVariavel.simbolo);
|
|
11514
|
+
if (variavelResolvida.valor instanceof estruturas_1.ReferenciaMontao) {
|
|
11515
|
+
const referenciaMontao = this.montao.obterReferencia(this.hashArquivoDeclaracaoAtual, this.linhaDeclaracaoAtual, variavelResolvida.valor.endereco);
|
|
11516
|
+
referenciaMontao[indice] = valorResolvido;
|
|
11517
|
+
}
|
|
11518
|
+
else {
|
|
11519
|
+
this.pilhaEscoposExecucao.atribuirVariavel(alvoVariavel.simbolo, valorResolvido, indice);
|
|
11520
|
+
}
|
|
11521
|
+
break;
|
|
11522
|
+
case 'AcessoMetodoOuPropriedade':
|
|
11523
|
+
// Nunca será método aqui: apenas propriedade.
|
|
11524
|
+
const alvoPropriedade = expressao.alvo;
|
|
11525
|
+
const variavelObjeto = await this.avaliar(alvoPropriedade.objeto);
|
|
11526
|
+
const objeto = this.resolverValor(variavelObjeto);
|
|
11527
|
+
const valor = await this.avaliar(expressao.valor);
|
|
11528
|
+
if (objeto.constructor.name === 'ObjetoDeleguaClasse') {
|
|
11529
|
+
const objetoDeleguaClasse = objeto;
|
|
11530
|
+
objetoDeleguaClasse.definir(alvoPropriedade.simbolo, valor);
|
|
11531
|
+
}
|
|
11532
|
+
break;
|
|
11533
|
+
default:
|
|
11534
|
+
throw new excecoes_1.ErroEmTempoDeExecucao(null, `Atribuição com caso faltante: ${expressao.alvo.constructor.name}.`);
|
|
11535
|
+
}
|
|
11536
|
+
return valorResolvido;
|
|
11537
|
+
}
|
|
11538
|
+
/**
|
|
11539
|
+
* Dicionários em Delégua são passados por referência, portanto, são
|
|
11540
|
+
* armazenados no montão.
|
|
11541
|
+
*/
|
|
11542
|
+
async visitarExpressaoDicionario(expressao) {
|
|
11543
|
+
const dicionario = {};
|
|
11544
|
+
for (let i = 0; i < expressao.chaves.length; i++) {
|
|
11545
|
+
const promises = await Promise.all([
|
|
11546
|
+
this.avaliar(expressao.chaves[i]),
|
|
11547
|
+
this.avaliar(expressao.valores[i]),
|
|
11548
|
+
]);
|
|
11549
|
+
if (typeof promises[0] === 'boolean') {
|
|
11550
|
+
const chaveLogico = promises[0] === true ? 'verdadeiro' : 'falso';
|
|
11551
|
+
dicionario[chaveLogico] = promises[1];
|
|
11552
|
+
continue;
|
|
11553
|
+
}
|
|
11554
|
+
dicionario[promises[0]] = promises[1].hasOwnProperty('valor')
|
|
11555
|
+
? promises[1].valor
|
|
11556
|
+
: promises[1];
|
|
11557
|
+
}
|
|
11558
|
+
const enderecoDicionarioMontao = this.montao.adicionarReferencia(dicionario);
|
|
11559
|
+
this.pilhaEscoposExecucao.registrarReferenciaMontao(enderecoDicionarioMontao);
|
|
11560
|
+
return new estruturas_1.ReferenciaMontao(enderecoDicionarioMontao);
|
|
11561
|
+
}
|
|
11354
11562
|
async visitarExpressaoReferenciaFuncao(expressao) {
|
|
11355
11563
|
const deleguaFuncao = this.pilhaEscoposExecucao.obterReferenciaFuncao(expressao.idFuncao);
|
|
11356
11564
|
return deleguaFuncao;
|
|
@@ -11382,6 +11590,9 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
11382
11590
|
case 'Dicionario':
|
|
11383
11591
|
case 'Unario':
|
|
11384
11592
|
valorTipoDe = await this.avaliar(valorTipoDe);
|
|
11593
|
+
if (valorTipoDe instanceof estruturas_1.ReferenciaMontao) {
|
|
11594
|
+
valorTipoDe = this.montao.obterReferencia(this.hashArquivoDeclaracaoAtual, this.linhaDeclaracaoAtual, valorTipoDe.endereco);
|
|
11595
|
+
}
|
|
11385
11596
|
return valorTipoDe.tipo || (0, inferenciador_1.inferirTipoVariavel)(valorTipoDe);
|
|
11386
11597
|
case 'AcessoMetodo':
|
|
11387
11598
|
const acessoMetodo = valorTipoDe;
|
|
@@ -11411,10 +11622,123 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
11411
11622
|
return (0, inferenciador_1.inferirTipoVariavel)(valorTipoDe);
|
|
11412
11623
|
}
|
|
11413
11624
|
}
|
|
11625
|
+
/**
|
|
11626
|
+
* Executa o último escopo empilhado no topo na pilha de escopos do interpretador.
|
|
11627
|
+
* Esse método pega exceções, mas apenas as devolve.
|
|
11628
|
+
*
|
|
11629
|
+
* O tratamento das exceções é feito de acordo com o bloco chamador.
|
|
11630
|
+
* Por exemplo, em `tente ... pegue ... finalmente`, a exceção é capturada e tratada.
|
|
11631
|
+
* Em outros blocos, pode ser desejável ter o erro em tela.
|
|
11632
|
+
* @param manterAmbiente Se verdadeiro, ambiente do topo da pilha de escopo é copiado para o ambiente imediatamente abaixo.
|
|
11633
|
+
* @returns O resultado da execução do escopo, se houver.
|
|
11634
|
+
*/
|
|
11635
|
+
async executarUltimoEscopo(manterAmbiente = false) {
|
|
11636
|
+
const ultimoEscopo = this.pilhaEscoposExecucao.topoDaPilha();
|
|
11637
|
+
let retornoExecucao;
|
|
11638
|
+
try {
|
|
11639
|
+
for (; !(retornoExecucao instanceof quebras_1.Quebra) &&
|
|
11640
|
+
ultimoEscopo.declaracaoAtual < ultimoEscopo.declaracoes.length; ultimoEscopo.declaracaoAtual++) {
|
|
11641
|
+
const declaracaoAtual = ultimoEscopo.declaracoes[ultimoEscopo.declaracaoAtual];
|
|
11642
|
+
this.linhaDeclaracaoAtual = declaracaoAtual.linha;
|
|
11643
|
+
this.hashArquivoDeclaracaoAtual = declaracaoAtual.hashArquivo;
|
|
11644
|
+
retornoExecucao = await this.executar(declaracaoAtual);
|
|
11645
|
+
}
|
|
11646
|
+
return retornoExecucao;
|
|
11647
|
+
}
|
|
11648
|
+
catch (erro) {
|
|
11649
|
+
const declaracaoAtual = ultimoEscopo.declaracoes[ultimoEscopo.declaracaoAtual];
|
|
11650
|
+
if (!this.emDeclaracaoTente) {
|
|
11651
|
+
this.erros.push({
|
|
11652
|
+
erroInterno: erro,
|
|
11653
|
+
linha: declaracaoAtual.linha,
|
|
11654
|
+
hashArquivo: declaracaoAtual.hashArquivo,
|
|
11655
|
+
});
|
|
11656
|
+
}
|
|
11657
|
+
else {
|
|
11658
|
+
return Promise.reject(erro);
|
|
11659
|
+
}
|
|
11660
|
+
}
|
|
11661
|
+
finally {
|
|
11662
|
+
const escopoFinalizado = this.pilhaEscoposExecucao.removerUltimo();
|
|
11663
|
+
const escopoAnterior = this.pilhaEscoposExecucao.topoDaPilha();
|
|
11664
|
+
this.montao.excluirReferencias(...escopoFinalizado.espacoMemoria.enderecosMontao);
|
|
11665
|
+
if (manterAmbiente || (retornoExecucao && retornoExecucao.preservarEscopo === true)) {
|
|
11666
|
+
escopoAnterior.espacoMemoria.valores = Object.assign(escopoAnterior.espacoMemoria.valores, ultimoEscopo.espacoMemoria.valores);
|
|
11667
|
+
}
|
|
11668
|
+
}
|
|
11669
|
+
}
|
|
11670
|
+
/**
|
|
11671
|
+
* Método que efetivamente inicia o processo de interpretação.
|
|
11672
|
+
* @param declaracoes Um vetor de declarações gerado pelo Avaliador Sintático.
|
|
11673
|
+
* @param manterAmbiente Se ambiente de execução (variáveis, classes, etc.) deve ser mantido. Normalmente usado
|
|
11674
|
+
* pelo modo REPL (LAIR).
|
|
11675
|
+
* @returns Um objeto com o resultado da interpretação.
|
|
11676
|
+
*/
|
|
11677
|
+
async interpretar(declaracoes, manterAmbiente) {
|
|
11678
|
+
this.montao = new montao_1.Montao();
|
|
11679
|
+
return super.interpretar(declaracoes, manterAmbiente);
|
|
11680
|
+
}
|
|
11414
11681
|
}
|
|
11415
11682
|
exports.Interpretador = Interpretador;
|
|
11416
11683
|
|
|
11417
|
-
},{"../bibliotecas/primitivas-dicionario":18,"../bibliotecas/primitivas-numero":19,"../bibliotecas/primitivas-texto":20,"../bibliotecas/primitivas-vetor":21,"../excecoes":
|
|
11684
|
+
},{"../bibliotecas/primitivas-dicionario":18,"../bibliotecas/primitivas-numero":19,"../bibliotecas/primitivas-texto":20,"../bibliotecas/primitivas-vetor":21,"../construtos":44,"../excecoes":101,"../inferenciador":107,"../quebras":167,"../tipos-de-dados/delegua":168,"../tipos-de-dados/primitivos":169,"./estruturas":138,"./interpretador-base":145,"./montao":147}],147:[function(require,module,exports){
|
|
11685
|
+
"use strict";
|
|
11686
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11687
|
+
exports.Montao = void 0;
|
|
11688
|
+
const excecoes_1 = require("../excecoes");
|
|
11689
|
+
const geracao_identificadores_1 = require("../geracao-identificadores");
|
|
11690
|
+
/**
|
|
11691
|
+
* O montão, conhecido em inglês, como _heap_, guarda todas as estruturas de dados
|
|
11692
|
+
* não primitivas durante a execução.
|
|
11693
|
+
* Inicialmente trabalha apenas com dicionários, mas a ideia mais futuramente é
|
|
11694
|
+
* trabalhar com toda e qualquer estrutura de dados mais complexa.
|
|
11695
|
+
*
|
|
11696
|
+
* Diferentemente da pilha de escopos de execução, o montão trabalha entre escopos.
|
|
11697
|
+
* Por exemplo, se quisermos ter uma funcionalidade do interpretador em que uma
|
|
11698
|
+
* referência é preservada entre escopos, podemos apagar o escopo e transferir facilmente
|
|
11699
|
+
* a referência do montão para outro escopo.
|
|
11700
|
+
*/
|
|
11701
|
+
class Montao {
|
|
11702
|
+
constructor() {
|
|
11703
|
+
this.referencias = {};
|
|
11704
|
+
}
|
|
11705
|
+
/**
|
|
11706
|
+
* Adiciona uma nova referência ao montão, retornando seu endereço.
|
|
11707
|
+
* @param {any} objeto Qualquer objeto que pertença ao montão.
|
|
11708
|
+
* @returns {string} O endereço onde a referência foi registrada.
|
|
11709
|
+
*/
|
|
11710
|
+
adicionarReferencia(objeto) {
|
|
11711
|
+
const novoEndereco = (0, geracao_identificadores_1.uuidv4)();
|
|
11712
|
+
this.referencias[novoEndereco] = objeto;
|
|
11713
|
+
return novoEndereco;
|
|
11714
|
+
}
|
|
11715
|
+
/**
|
|
11716
|
+
* Exclui referências do montão, normalmente por finalização de um
|
|
11717
|
+
* escopo de execução.
|
|
11718
|
+
* @param enderecos
|
|
11719
|
+
*/
|
|
11720
|
+
excluirReferencias(...enderecos) {
|
|
11721
|
+
for (const endereco of enderecos) {
|
|
11722
|
+
delete this.referencias[endereco];
|
|
11723
|
+
}
|
|
11724
|
+
}
|
|
11725
|
+
/**
|
|
11726
|
+
* Obtém uma referência com base no símbolo executado e endereço da referência.
|
|
11727
|
+
* @param {number} hashArquivo O _hash_ correspondente ao caminho do arquivo em execução.
|
|
11728
|
+
* @param {number} linha A linha correspondente à declaração sendo executada.
|
|
11729
|
+
* @param {string} endereco O endereço da referência.
|
|
11730
|
+
* @returns {any} O objeto armazenado no endereço.
|
|
11731
|
+
*/
|
|
11732
|
+
obterReferencia(hashArquivo, linha, endereco) {
|
|
11733
|
+
if (!(endereco in this.referencias)) {
|
|
11734
|
+
throw new excecoes_1.ErroEmTempoDeExecucao({ hashArquivo, linha }, `Referência para montão com endereco ${endereco} não existe.`);
|
|
11735
|
+
}
|
|
11736
|
+
return this.referencias[endereco];
|
|
11737
|
+
}
|
|
11738
|
+
}
|
|
11739
|
+
exports.Montao = Montao;
|
|
11740
|
+
|
|
11741
|
+
},{"../excecoes":101,"../geracao-identificadores":105}],148:[function(require,module,exports){
|
|
11418
11742
|
"use strict";
|
|
11419
11743
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11420
11744
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11469,7 +11793,7 @@ class PilhaEscoposExecucao {
|
|
|
11469
11793
|
}
|
|
11470
11794
|
}
|
|
11471
11795
|
definirConstante(nomeConstante, valor, tipo) {
|
|
11472
|
-
const constante = this.pilha[this.pilha.length - 1].
|
|
11796
|
+
const constante = this.pilha[this.pilha.length - 1].espacoMemoria.valores[nomeConstante];
|
|
11473
11797
|
let tipoConstante;
|
|
11474
11798
|
if (constante && constante.hasOwnProperty('tipo')) {
|
|
11475
11799
|
tipoConstante = constante.tipo;
|
|
@@ -11501,10 +11825,10 @@ class PilhaEscoposExecucao {
|
|
|
11501
11825
|
}
|
|
11502
11826
|
elementoAlvo.subtipo = subtipo;
|
|
11503
11827
|
}
|
|
11504
|
-
this.pilha[this.pilha.length - 1].
|
|
11828
|
+
this.pilha[this.pilha.length - 1].espacoMemoria.valores[nomeConstante] = elementoAlvo;
|
|
11505
11829
|
}
|
|
11506
11830
|
definirVariavel(nomeVariavel, valor, tipo) {
|
|
11507
|
-
const variavel = this.pilha[this.pilha.length - 1].
|
|
11831
|
+
const variavel = this.pilha[this.pilha.length - 1].espacoMemoria.valores[nomeVariavel];
|
|
11508
11832
|
let tipoVariavel;
|
|
11509
11833
|
if (variavel && variavel.hasOwnProperty('tipo')) {
|
|
11510
11834
|
tipoVariavel = variavel.tipo;
|
|
@@ -11539,14 +11863,14 @@ class PilhaEscoposExecucao {
|
|
|
11539
11863
|
}
|
|
11540
11864
|
elementoAlvo.subtipo = subtipo;
|
|
11541
11865
|
}
|
|
11542
|
-
this.pilha[this.pilha.length - 1].
|
|
11866
|
+
this.pilha[this.pilha.length - 1].espacoMemoria.valores[nomeVariavel] = elementoAlvo;
|
|
11543
11867
|
}
|
|
11544
11868
|
atribuirVariavelEm(distancia, simbolo, valor) {
|
|
11545
|
-
const
|
|
11546
|
-
if (
|
|
11869
|
+
const espacoMemoriaAncestral = this.pilha[this.pilha.length - distancia].espacoMemoria;
|
|
11870
|
+
if (espacoMemoriaAncestral.valores[simbolo.lexema].imutavel) {
|
|
11547
11871
|
throw new excecoes_1.ErroEmTempoDeExecucao(simbolo, `Constante '${simbolo.lexema}' não pode receber novos valores.`);
|
|
11548
11872
|
}
|
|
11549
|
-
|
|
11873
|
+
espacoMemoriaAncestral.valores[simbolo.lexema] = {
|
|
11550
11874
|
valor,
|
|
11551
11875
|
tipo: (0, inferenciador_1.inferirTipoVariavel)(valor),
|
|
11552
11876
|
imutavel: false,
|
|
@@ -11554,9 +11878,9 @@ class PilhaEscoposExecucao {
|
|
|
11554
11878
|
}
|
|
11555
11879
|
atribuirVariavel(simbolo, valor, indice) {
|
|
11556
11880
|
for (let i = 1; i <= this.pilha.length; i++) {
|
|
11557
|
-
const
|
|
11558
|
-
if (
|
|
11559
|
-
const variavel =
|
|
11881
|
+
const espacoMemoria = this.pilha[this.pilha.length - i].espacoMemoria;
|
|
11882
|
+
if (espacoMemoria.valores[simbolo.lexema] !== undefined) {
|
|
11883
|
+
const variavel = espacoMemoria.valores[simbolo.lexema];
|
|
11560
11884
|
if (variavel.imutavel) {
|
|
11561
11885
|
throw new excecoes_1.ErroEmTempoDeExecucao(simbolo, `Constante '${simbolo.lexema}' não pode receber novos valores.`);
|
|
11562
11886
|
}
|
|
@@ -11566,15 +11890,16 @@ class PilhaEscoposExecucao {
|
|
|
11566
11890
|
const tipo = tipoInferido.toLowerCase();
|
|
11567
11891
|
const valorResolvido = this.converterValor(tipo, valor);
|
|
11568
11892
|
if (indice !== undefined && indice !== null) {
|
|
11569
|
-
|
|
11570
|
-
|
|
11893
|
+
let variavelValor = variavel.valor;
|
|
11894
|
+
if (variavelValor instanceof Array || variavelValor instanceof Object) {
|
|
11895
|
+
variavelValor[indice] = valorResolvido;
|
|
11571
11896
|
}
|
|
11572
11897
|
else {
|
|
11573
11898
|
throw new excecoes_1.ErroEmTempoDeExecucao(simbolo, 'Variável não é um vetor ou dicionário.');
|
|
11574
11899
|
}
|
|
11575
11900
|
}
|
|
11576
11901
|
else {
|
|
11577
|
-
|
|
11902
|
+
espacoMemoria.valores[simbolo.lexema] = {
|
|
11578
11903
|
valor: valorResolvido,
|
|
11579
11904
|
tipo,
|
|
11580
11905
|
imutavel: false,
|
|
@@ -11595,12 +11920,12 @@ class PilhaEscoposExecucao {
|
|
|
11595
11920
|
return undefined;
|
|
11596
11921
|
}
|
|
11597
11922
|
obterVariavelEm(distancia, nome) {
|
|
11598
|
-
const ambienteAncestral = this.pilha[this.pilha.length - distancia].
|
|
11923
|
+
const ambienteAncestral = this.pilha[this.pilha.length - distancia].espacoMemoria;
|
|
11599
11924
|
return ambienteAncestral.valores[nome];
|
|
11600
11925
|
}
|
|
11601
11926
|
obterValorVariavel(simbolo) {
|
|
11602
11927
|
for (let i = 1; i <= this.pilha.length; i++) {
|
|
11603
|
-
const ambiente = this.pilha[this.pilha.length - i].
|
|
11928
|
+
const ambiente = this.pilha[this.pilha.length - i].espacoMemoria;
|
|
11604
11929
|
if (ambiente.valores[simbolo.lexema] !== undefined) {
|
|
11605
11930
|
return ambiente.valores[simbolo.lexema];
|
|
11606
11931
|
}
|
|
@@ -11609,7 +11934,7 @@ class PilhaEscoposExecucao {
|
|
|
11609
11934
|
}
|
|
11610
11935
|
obterVariavelPorNome(nome) {
|
|
11611
11936
|
for (let i = 1; i <= this.pilha.length; i++) {
|
|
11612
|
-
const ambiente = this.pilha[this.pilha.length - i].
|
|
11937
|
+
const ambiente = this.pilha[this.pilha.length - i].espacoMemoria;
|
|
11613
11938
|
if (ambiente.valores[nome] !== undefined) {
|
|
11614
11939
|
return ambiente.valores[nome];
|
|
11615
11940
|
}
|
|
@@ -11621,8 +11946,8 @@ class PilhaEscoposExecucao {
|
|
|
11621
11946
|
*/
|
|
11622
11947
|
obterTodasVariaveis(todasVariaveis = []) {
|
|
11623
11948
|
for (let i = 1; i <= this.pilha.length - 1; i++) {
|
|
11624
|
-
const
|
|
11625
|
-
const vetorObjeto = Object.entries(
|
|
11949
|
+
const valoresEspacoMemoria = this.pilha[this.pilha.length - i].espacoMemoria.valores;
|
|
11950
|
+
const vetorObjeto = Object.entries(valoresEspacoMemoria).map((chaveEValor, indice) => ({
|
|
11626
11951
|
nome: chaveEValor[0],
|
|
11627
11952
|
valor: chaveEValor[1].valor,
|
|
11628
11953
|
tipo: chaveEValor[1].tipo,
|
|
@@ -11638,8 +11963,8 @@ class PilhaEscoposExecucao {
|
|
|
11638
11963
|
*/
|
|
11639
11964
|
obterTodasDeleguaFuncao() {
|
|
11640
11965
|
const retorno = {};
|
|
11641
|
-
const
|
|
11642
|
-
for (const [nome, corpo] of Object.entries(
|
|
11966
|
+
const espacoMemoria = this.pilha[this.pilha.length - 1].espacoMemoria;
|
|
11967
|
+
for (const [nome, corpo] of Object.entries(espacoMemoria.valores)) {
|
|
11643
11968
|
const corpoValor = corpo.hasOwnProperty('valor') ? corpo.valor : corpo;
|
|
11644
11969
|
if (corpoValor instanceof estruturas_1.DeleguaFuncao) {
|
|
11645
11970
|
retorno[nome] = corpoValor;
|
|
@@ -11653,7 +11978,7 @@ class PilhaEscoposExecucao {
|
|
|
11653
11978
|
*/
|
|
11654
11979
|
obterTodasDeclaracoesClasse() {
|
|
11655
11980
|
const retorno = {};
|
|
11656
|
-
const ambiente = this.pilha[this.pilha.length - 1].
|
|
11981
|
+
const ambiente = this.pilha[this.pilha.length - 1].espacoMemoria;
|
|
11657
11982
|
for (const [nome, corpo] of Object.entries(ambiente.valores)) {
|
|
11658
11983
|
const corpoValor = corpo.hasOwnProperty('valor') ? corpo.valor : corpo;
|
|
11659
11984
|
if (corpoValor instanceof estruturas_1.DescritorTipoClasse) {
|
|
@@ -11663,22 +11988,26 @@ class PilhaEscoposExecucao {
|
|
|
11663
11988
|
return retorno;
|
|
11664
11989
|
}
|
|
11665
11990
|
registrarReferenciaFuncao(idFuncao, funcao) {
|
|
11666
|
-
const
|
|
11667
|
-
|
|
11991
|
+
const espacoMemoriaAtual = this.pilha[this.pilha.length - 1].espacoMemoria;
|
|
11992
|
+
espacoMemoriaAtual.referenciasFuncoes[idFuncao] = funcao;
|
|
11668
11993
|
}
|
|
11669
11994
|
obterReferenciaFuncao(idFuncao) {
|
|
11670
11995
|
for (let i = 1; i <= this.pilha.length; i++) {
|
|
11671
|
-
const
|
|
11672
|
-
if (
|
|
11673
|
-
return
|
|
11996
|
+
const espacoMemoria = this.pilha[this.pilha.length - i].espacoMemoria;
|
|
11997
|
+
if (espacoMemoria.referenciasFuncoes[idFuncao] !== undefined) {
|
|
11998
|
+
return espacoMemoria.referenciasFuncoes[idFuncao];
|
|
11674
11999
|
}
|
|
11675
12000
|
}
|
|
11676
12001
|
throw new excecoes_1.ErroEmTempoDeExecucao(new lexador_1.Simbolo('especial', idFuncao, idFuncao, -1, -1), "Referência para função não encontrada: '" + idFuncao + "'.");
|
|
11677
12002
|
}
|
|
12003
|
+
registrarReferenciaMontao(endereco) {
|
|
12004
|
+
const espacoMemoria = this.pilha[this.pilha.length - 1].espacoMemoria;
|
|
12005
|
+
espacoMemoria.enderecosMontao.add(endereco);
|
|
12006
|
+
}
|
|
11678
12007
|
}
|
|
11679
12008
|
exports.PilhaEscoposExecucao = PilhaEscoposExecucao;
|
|
11680
12009
|
|
|
11681
|
-
},{"../excecoes":
|
|
12010
|
+
},{"../excecoes":101,"../inferenciador":107,"../lexador":160,"../tipos-de-dados/delegua":168,"./estruturas":138}],149:[function(require,module,exports){
|
|
11682
12011
|
"use strict";
|
|
11683
12012
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
11684
12013
|
if (k2 === undefined) k2 = k;
|
|
@@ -11701,7 +12030,7 @@ __exportStar(require("./lexador-guarani"), exports);
|
|
|
11701
12030
|
__exportStar(require("./lexador-portugol-ipt"), exports);
|
|
11702
12031
|
__exportStar(require("./lexador-tenda"), exports);
|
|
11703
12032
|
|
|
11704
|
-
},{"./lexador-egua-classico":
|
|
12033
|
+
},{"./lexador-egua-classico":150,"./lexador-guarani":151,"./lexador-pitugues":152,"./lexador-portugol-ipt":153,"./lexador-tenda":154}],150:[function(require,module,exports){
|
|
11705
12034
|
"use strict";
|
|
11706
12035
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11707
12036
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11991,7 +12320,7 @@ class LexadorEguaClassico {
|
|
|
11991
12320
|
}
|
|
11992
12321
|
exports.LexadorEguaClassico = LexadorEguaClassico;
|
|
11993
12322
|
|
|
11994
|
-
},{"../../tipos-de-simbolos/egua-classico":
|
|
12323
|
+
},{"../../tipos-de-simbolos/egua-classico":172,"../simbolo":166,"./palavras-reservadas/egua-classico":155}],151:[function(require,module,exports){
|
|
11995
12324
|
"use strict";
|
|
11996
12325
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11997
12326
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -12110,7 +12439,7 @@ class LexadorGuarani extends lexador_base_1.LexadorBase {
|
|
|
12110
12439
|
}
|
|
12111
12440
|
exports.LexadorGuarani = LexadorGuarani;
|
|
12112
12441
|
|
|
12113
|
-
},{"../../tipos-de-simbolos/guarani":
|
|
12442
|
+
},{"../../tipos-de-simbolos/guarani":173,"../lexador-base":162,"./palavras-reservadas/guarani":156}],152:[function(require,module,exports){
|
|
12114
12443
|
"use strict";
|
|
12115
12444
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12116
12445
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -12513,7 +12842,7 @@ class LexadorPitugues {
|
|
|
12513
12842
|
}
|
|
12514
12843
|
exports.LexadorPitugues = LexadorPitugues;
|
|
12515
12844
|
|
|
12516
|
-
},{"../../tipos-de-simbolos/pitugues":
|
|
12845
|
+
},{"../../tipos-de-simbolos/pitugues":175,"../simbolo":166,"./palavras-reservadas/pitugues":157,"browser-process-hrtime":350}],153:[function(require,module,exports){
|
|
12517
12846
|
"use strict";
|
|
12518
12847
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12519
12848
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -12765,7 +13094,7 @@ class LexadorPortugolIpt {
|
|
|
12765
13094
|
}
|
|
12766
13095
|
exports.LexadorPortugolIpt = LexadorPortugolIpt;
|
|
12767
13096
|
|
|
12768
|
-
},{"../../tipos-de-simbolos/portugol-ipt":
|
|
13097
|
+
},{"../../tipos-de-simbolos/portugol-ipt":176,"../simbolo":166,"./palavras-reservadas/portugol-ipt":158}],154:[function(require,module,exports){
|
|
12769
13098
|
"use strict";
|
|
12770
13099
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12771
13100
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -12848,7 +13177,8 @@ class LexadorTenda {
|
|
|
12848
13177
|
eFinalDoCodigo() {
|
|
12849
13178
|
if (this.linha > this.codigo.length - 1)
|
|
12850
13179
|
return true;
|
|
12851
|
-
return this.linha == this.codigo.length - 1 &&
|
|
13180
|
+
return (this.linha == this.codigo.length - 1 &&
|
|
13181
|
+
this.codigo[this.codigo.length - 1].length <= this.atual);
|
|
12852
13182
|
}
|
|
12853
13183
|
avancar() {
|
|
12854
13184
|
this.atual += 1;
|
|
@@ -12917,7 +13247,8 @@ class LexadorTenda {
|
|
|
12917
13247
|
}
|
|
12918
13248
|
identificarPalavraChave() {
|
|
12919
13249
|
const linhaPrimeiroCaracter = this.linha;
|
|
12920
|
-
while (this.eAlfabetoOuDigito(this.simboloAtual()) &&
|
|
13250
|
+
while (this.eAlfabetoOuDigito(this.simboloAtual()) &&
|
|
13251
|
+
this.linha === linhaPrimeiroCaracter) {
|
|
12921
13252
|
this.avancar();
|
|
12922
13253
|
}
|
|
12923
13254
|
let textoPalavraChave;
|
|
@@ -13154,7 +13485,7 @@ class LexadorTenda {
|
|
|
13154
13485
|
}
|
|
13155
13486
|
exports.LexadorTenda = LexadorTenda;
|
|
13156
13487
|
|
|
13157
|
-
},{"../../tipos-de-simbolos/tenda":
|
|
13488
|
+
},{"../../tipos-de-simbolos/tenda":177,"../simbolo":166,"./palavras-reservadas/tenda":159,"browser-process-hrtime":350}],155:[function(require,module,exports){
|
|
13158
13489
|
"use strict";
|
|
13159
13490
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13160
13491
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -13195,7 +13526,7 @@ exports.palavrasReservadas = {
|
|
|
13195
13526
|
verdadeiro: egua_classico_1.default.VERDADEIRO,
|
|
13196
13527
|
};
|
|
13197
13528
|
|
|
13198
|
-
},{"../../../tipos-de-simbolos/egua-classico":
|
|
13529
|
+
},{"../../../tipos-de-simbolos/egua-classico":172}],156:[function(require,module,exports){
|
|
13199
13530
|
"use strict";
|
|
13200
13531
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13201
13532
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -13207,7 +13538,7 @@ exports.palavrasReservadas = {
|
|
|
13207
13538
|
hai: guarani_1.default.HAI,
|
|
13208
13539
|
};
|
|
13209
13540
|
|
|
13210
|
-
},{"../../../tipos-de-simbolos/guarani":
|
|
13541
|
+
},{"../../../tipos-de-simbolos/guarani":173}],157:[function(require,module,exports){
|
|
13211
13542
|
"use strict";
|
|
13212
13543
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13213
13544
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -13270,7 +13601,7 @@ exports.palavrasReservadasMicroGramatica = {
|
|
|
13270
13601
|
verdadeiro: pitugues_1.default.VERDADEIRO,
|
|
13271
13602
|
};
|
|
13272
13603
|
|
|
13273
|
-
},{"../../../tipos-de-simbolos/pitugues":
|
|
13604
|
+
},{"../../../tipos-de-simbolos/pitugues":175}],158:[function(require,module,exports){
|
|
13274
13605
|
"use strict";
|
|
13275
13606
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13276
13607
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -13292,7 +13623,7 @@ exports.palavrasReservadas = {
|
|
|
13292
13623
|
senão: portugol_ipt_1.default.SENAO,
|
|
13293
13624
|
};
|
|
13294
13625
|
|
|
13295
|
-
},{"../../../tipos-de-simbolos/portugol-ipt":
|
|
13626
|
+
},{"../../../tipos-de-simbolos/portugol-ipt":176}],159:[function(require,module,exports){
|
|
13296
13627
|
"use strict";
|
|
13297
13628
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13298
13629
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -13347,10 +13678,10 @@ exports.palavrasReservadas = {
|
|
|
13347
13678
|
Matemática: tenda_1.default.BIBLIOTECA_GLOBAL,
|
|
13348
13679
|
NaN: tenda_1.default.NAN,
|
|
13349
13680
|
Saída: tenda_1.default.BIBLIOTECA_GLOBAL,
|
|
13350
|
-
Texto: tenda_1.default.BIBLIOTECA_GLOBAL
|
|
13681
|
+
Texto: tenda_1.default.BIBLIOTECA_GLOBAL,
|
|
13351
13682
|
};
|
|
13352
13683
|
|
|
13353
|
-
},{"../../../tipos-de-simbolos/tenda":
|
|
13684
|
+
},{"../../../tipos-de-simbolos/tenda":177}],160:[function(require,module,exports){
|
|
13354
13685
|
"use strict";
|
|
13355
13686
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
13356
13687
|
if (k2 === undefined) k2 = k;
|
|
@@ -13373,7 +13704,7 @@ __exportStar(require("./lexador-base-linha-unica"), exports);
|
|
|
13373
13704
|
__exportStar(require("./micro-lexador"), exports);
|
|
13374
13705
|
__exportStar(require("./simbolo"), exports);
|
|
13375
13706
|
|
|
13376
|
-
},{"./dialetos":
|
|
13707
|
+
},{"./dialetos":149,"./lexador":163,"./lexador-base-linha-unica":161,"./micro-lexador":164,"./simbolo":166}],161:[function(require,module,exports){
|
|
13377
13708
|
"use strict";
|
|
13378
13709
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13379
13710
|
exports.LexadorBaseLinhaUnica = void 0;
|
|
@@ -13457,7 +13788,7 @@ class LexadorBaseLinhaUnica {
|
|
|
13457
13788
|
}
|
|
13458
13789
|
exports.LexadorBaseLinhaUnica = LexadorBaseLinhaUnica;
|
|
13459
13790
|
|
|
13460
|
-
},{"./simbolo":
|
|
13791
|
+
},{"./simbolo":166}],162:[function(require,module,exports){
|
|
13461
13792
|
"use strict";
|
|
13462
13793
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13463
13794
|
exports.LexadorBase = void 0;
|
|
@@ -13571,7 +13902,7 @@ class LexadorBase {
|
|
|
13571
13902
|
}
|
|
13572
13903
|
exports.LexadorBase = LexadorBase;
|
|
13573
13904
|
|
|
13574
|
-
},{"./simbolo":
|
|
13905
|
+
},{"./simbolo":166}],163:[function(require,module,exports){
|
|
13575
13906
|
"use strict";
|
|
13576
13907
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13577
13908
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -14032,7 +14363,7 @@ class Lexador {
|
|
|
14032
14363
|
}
|
|
14033
14364
|
exports.Lexador = Lexador;
|
|
14034
14365
|
|
|
14035
|
-
},{"../tipos-de-simbolos/delegua":
|
|
14366
|
+
},{"../tipos-de-simbolos/delegua":171,"./palavras-reservadas":165,"./simbolo":166,"browser-process-hrtime":350}],164:[function(require,module,exports){
|
|
14036
14367
|
"use strict";
|
|
14037
14368
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14038
14369
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -14247,7 +14578,7 @@ class MicroLexador {
|
|
|
14247
14578
|
}
|
|
14248
14579
|
exports.MicroLexador = MicroLexador;
|
|
14249
14580
|
|
|
14250
|
-
},{"../tipos-de-simbolos/microgramaticas/delegua":
|
|
14581
|
+
},{"../tipos-de-simbolos/microgramaticas/delegua":174,"./palavras-reservadas":165,"./simbolo":166}],165:[function(require,module,exports){
|
|
14251
14582
|
"use strict";
|
|
14252
14583
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14253
14584
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -14311,7 +14642,7 @@ exports.palavrasReservadasMicroGramatica = {
|
|
|
14311
14642
|
verdadeiro: delegua_1.default.VERDADEIRO,
|
|
14312
14643
|
};
|
|
14313
14644
|
|
|
14314
|
-
},{"../tipos-de-simbolos/delegua":
|
|
14645
|
+
},{"../tipos-de-simbolos/delegua":171}],166:[function(require,module,exports){
|
|
14315
14646
|
"use strict";
|
|
14316
14647
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14317
14648
|
exports.Simbolo = void 0;
|
|
@@ -14329,7 +14660,7 @@ class Simbolo {
|
|
|
14329
14660
|
}
|
|
14330
14661
|
exports.Simbolo = Simbolo;
|
|
14331
14662
|
|
|
14332
|
-
},{}],
|
|
14663
|
+
},{}],167:[function(require,module,exports){
|
|
14333
14664
|
"use strict";
|
|
14334
14665
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14335
14666
|
exports.ContinuarQuebra = exports.SustarQuebra = exports.RetornoQuebra = exports.Quebra = void 0;
|
|
@@ -14353,7 +14684,7 @@ class ContinuarQuebra extends Quebra {
|
|
|
14353
14684
|
}
|
|
14354
14685
|
exports.ContinuarQuebra = ContinuarQuebra;
|
|
14355
14686
|
|
|
14356
|
-
},{}],
|
|
14687
|
+
},{}],168:[function(require,module,exports){
|
|
14357
14688
|
"use strict";
|
|
14358
14689
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14359
14690
|
exports.default = {
|
|
@@ -14383,7 +14714,7 @@ exports.default = {
|
|
|
14383
14714
|
VETOR_TEXTO: 'texto[]',
|
|
14384
14715
|
};
|
|
14385
14716
|
|
|
14386
|
-
},{}],
|
|
14717
|
+
},{}],169:[function(require,module,exports){
|
|
14387
14718
|
"use strict";
|
|
14388
14719
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14389
14720
|
exports.default = {
|
|
@@ -14402,7 +14733,7 @@ exports.default = {
|
|
|
14402
14733
|
TEXTO: 'string',
|
|
14403
14734
|
};
|
|
14404
14735
|
|
|
14405
|
-
},{}],
|
|
14736
|
+
},{}],170:[function(require,module,exports){
|
|
14406
14737
|
"use strict";
|
|
14407
14738
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14408
14739
|
exports.default = {
|
|
@@ -14428,7 +14759,7 @@ exports.default = {
|
|
|
14428
14759
|
VIRGULA: 'VIRGULA',
|
|
14429
14760
|
};
|
|
14430
14761
|
|
|
14431
|
-
},{}],
|
|
14762
|
+
},{}],171:[function(require,module,exports){
|
|
14432
14763
|
"use strict";
|
|
14433
14764
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14434
14765
|
exports.default = {
|
|
@@ -14523,7 +14854,7 @@ exports.default = {
|
|
|
14523
14854
|
VIRGULA: 'VIRGULA',
|
|
14524
14855
|
};
|
|
14525
14856
|
|
|
14526
|
-
},{}],
|
|
14857
|
+
},{}],172:[function(require,module,exports){
|
|
14527
14858
|
"use strict";
|
|
14528
14859
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14529
14860
|
exports.default = {
|
|
@@ -14601,7 +14932,7 @@ exports.default = {
|
|
|
14601
14932
|
VIRGULA: 'VIRGULA',
|
|
14602
14933
|
};
|
|
14603
14934
|
|
|
14604
|
-
},{}],
|
|
14935
|
+
},{}],173:[function(require,module,exports){
|
|
14605
14936
|
"use strict";
|
|
14606
14937
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14607
14938
|
exports.default = {
|
|
@@ -14618,7 +14949,7 @@ exports.default = {
|
|
|
14618
14949
|
VIRGULA: 'VIRGULA',
|
|
14619
14950
|
};
|
|
14620
14951
|
|
|
14621
|
-
},{}],
|
|
14952
|
+
},{}],174:[function(require,module,exports){
|
|
14622
14953
|
"use strict";
|
|
14623
14954
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14624
14955
|
exports.default = {
|
|
@@ -14667,7 +14998,7 @@ exports.default = {
|
|
|
14667
14998
|
VIRGULA: 'VIRGULA',
|
|
14668
14999
|
};
|
|
14669
15000
|
|
|
14670
|
-
},{}],
|
|
15001
|
+
},{}],175:[function(require,module,exports){
|
|
14671
15002
|
"use strict";
|
|
14672
15003
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14673
15004
|
exports.default = {
|
|
@@ -14750,7 +15081,7 @@ exports.default = {
|
|
|
14750
15081
|
VIRGULA: 'VIRGULA',
|
|
14751
15082
|
};
|
|
14752
15083
|
|
|
14753
|
-
},{}],
|
|
15084
|
+
},{}],176:[function(require,module,exports){
|
|
14754
15085
|
"use strict";
|
|
14755
15086
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14756
15087
|
exports.default = {
|
|
@@ -14789,7 +15120,7 @@ exports.default = {
|
|
|
14789
15120
|
VIRGULA: 'VIRGULA',
|
|
14790
15121
|
};
|
|
14791
15122
|
|
|
14792
|
-
},{}],
|
|
15123
|
+
},{}],177:[function(require,module,exports){
|
|
14793
15124
|
"use strict";
|
|
14794
15125
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14795
15126
|
// Em Tenda, isto é implementado em https://github.com/gabrielbrunop/tenda/blob/main/crates/scanner/src/token.rs#L42.
|
|
@@ -14884,7 +15215,7 @@ exports.default = {
|
|
|
14884
15215
|
VIRGULA: 'VIRGULA',
|
|
14885
15216
|
};
|
|
14886
15217
|
|
|
14887
|
-
},{}],
|
|
15218
|
+
},{}],178:[function(require,module,exports){
|
|
14888
15219
|
"use strict";
|
|
14889
15220
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14890
15221
|
if (k2 === undefined) k2 = k;
|
|
@@ -14910,7 +15241,7 @@ __exportStar(require("./tradutor-reverso-javascript"), exports);
|
|
|
14910
15241
|
__exportStar(require("./tradutor-reverso-python"), exports);
|
|
14911
15242
|
__exportStar(require("./tradutor-reverso-tenda"), exports);
|
|
14912
15243
|
|
|
14913
|
-
},{"./tradutor-assemblyscript":
|
|
15244
|
+
},{"./tradutor-assemblyscript":181,"./tradutor-javascript":182,"./tradutor-mermaidjs":183,"./tradutor-portugol-ipt":184,"./tradutor-python":185,"./tradutor-reverso-javascript":186,"./tradutor-reverso-python":187,"./tradutor-reverso-tenda":188}],179:[function(require,module,exports){
|
|
14914
15245
|
"use strict";
|
|
14915
15246
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
14916
15247
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -16150,7 +16481,7 @@ __decorate([
|
|
|
16150
16481
|
Decorators_1.Override
|
|
16151
16482
|
], Python3Lexer.prototype, "nextToken", null);
|
|
16152
16483
|
|
|
16153
|
-
},{"./python3-parser":
|
|
16484
|
+
},{"./python3-parser":180,"antlr4ts/CommonToken":198,"antlr4ts/Decorators":202,"antlr4ts/Lexer":210,"antlr4ts/Token":227,"antlr4ts/VocabularyImpl":233,"antlr4ts/atn/ATNDeserializer":239,"antlr4ts/atn/LexerATNSimulator":260,"antlr4ts/misc/Utils":321}],180:[function(require,module,exports){
|
|
16154
16485
|
"use strict";
|
|
16155
16486
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
16156
16487
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -27397,7 +27728,7 @@ class Yield_argContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
27397
27728
|
}
|
|
27398
27729
|
exports.Yield_argContext = Yield_argContext;
|
|
27399
27730
|
|
|
27400
|
-
},{"antlr4ts/FailedPredicateException":
|
|
27731
|
+
},{"antlr4ts/FailedPredicateException":206,"antlr4ts/NoViableAltException":214,"antlr4ts/Parser":215,"antlr4ts/ParserRuleContext":218,"antlr4ts/RecognitionException":221,"antlr4ts/Token":227,"antlr4ts/VocabularyImpl":233,"antlr4ts/atn/ATN":235,"antlr4ts/atn/ATNDeserializer":239,"antlr4ts/atn/ParserATNSimulator":276,"antlr4ts/misc/Utils":321}],181:[function(require,module,exports){
|
|
27401
27732
|
"use strict";
|
|
27402
27733
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
27403
27734
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -28031,7 +28362,7 @@ class TradutorAssemblyScript {
|
|
|
28031
28362
|
}
|
|
28032
28363
|
exports.TradutorAssemblyScript = TradutorAssemblyScript;
|
|
28033
28364
|
|
|
28034
|
-
},{"../construtos":44,"../declaracoes":85,"../tipos-de-simbolos/delegua":
|
|
28365
|
+
},{"../construtos":44,"../declaracoes":85,"../tipos-de-simbolos/delegua":171}],182:[function(require,module,exports){
|
|
28035
28366
|
"use strict";
|
|
28036
28367
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
28037
28368
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -28770,7 +29101,7 @@ class TradutorJavaScript {
|
|
|
28770
29101
|
}
|
|
28771
29102
|
exports.TradutorJavaScript = TradutorJavaScript;
|
|
28772
29103
|
|
|
28773
|
-
},{"../construtos":44,"../declaracoes":85,"../tipos-de-simbolos/delegua":
|
|
29104
|
+
},{"../construtos":44,"../declaracoes":85,"../tipos-de-simbolos/delegua":171}],183:[function(require,module,exports){
|
|
28774
29105
|
"use strict";
|
|
28775
29106
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
28776
29107
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -29221,7 +29552,7 @@ class TradutorMermaidJs {
|
|
|
29221
29552
|
}
|
|
29222
29553
|
exports.TradutorMermaidJs = TradutorMermaidJs;
|
|
29223
29554
|
|
|
29224
|
-
},{"../tipos-de-simbolos/delegua":
|
|
29555
|
+
},{"../tipos-de-simbolos/delegua":171}],184:[function(require,module,exports){
|
|
29225
29556
|
"use strict";
|
|
29226
29557
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29227
29558
|
exports.TradutorPortugolIpt = void 0;
|
|
@@ -29239,16 +29570,16 @@ class TradutorPortugolIpt {
|
|
|
29239
29570
|
EscrevaMesmaLinha: this.traduzirDeclaracaoEscrevaMesmaLinha.bind(this),
|
|
29240
29571
|
};
|
|
29241
29572
|
}
|
|
29242
|
-
traduzirConstrutoLiteral(literal) {
|
|
29243
|
-
if (typeof literal.valor === 'string')
|
|
29244
|
-
return `'${literal.valor}'`;
|
|
29245
|
-
return literal.valor;
|
|
29246
|
-
}
|
|
29247
29573
|
traduzirConstrutoFormatacaoEscrita(formatacaoEscrita) {
|
|
29248
29574
|
let resultado = '';
|
|
29249
29575
|
resultado += String(formatacaoEscrita.expressao.valor);
|
|
29250
29576
|
return resultado;
|
|
29251
29577
|
}
|
|
29578
|
+
traduzirConstrutoLiteral(literal) {
|
|
29579
|
+
if (typeof literal.valor === 'string')
|
|
29580
|
+
return `'${literal.valor}'`;
|
|
29581
|
+
return literal.valor;
|
|
29582
|
+
}
|
|
29252
29583
|
traduzirDeclaracaoEscreva(declaracaoEscreva) {
|
|
29253
29584
|
let resultado = 'escreva(';
|
|
29254
29585
|
for (const argumento of declaracaoEscreva.argumentos) {
|
|
@@ -29283,7 +29614,7 @@ class TradutorPortugolIpt {
|
|
|
29283
29614
|
}
|
|
29284
29615
|
exports.TradutorPortugolIpt = TradutorPortugolIpt;
|
|
29285
29616
|
|
|
29286
|
-
},{"../avaliador-sintatico/dialetos":8,"../lexador/dialetos":
|
|
29617
|
+
},{"../avaliador-sintatico/dialetos":8,"../lexador/dialetos":149}],185:[function(require,module,exports){
|
|
29287
29618
|
"use strict";
|
|
29288
29619
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
29289
29620
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -29923,7 +30254,7 @@ class TradutorPython {
|
|
|
29923
30254
|
}
|
|
29924
30255
|
exports.TradutorPython = TradutorPython;
|
|
29925
30256
|
|
|
29926
|
-
},{"../construtos":44,"../declaracoes":85,"../tipos-de-simbolos/delegua":
|
|
30257
|
+
},{"../construtos":44,"../declaracoes":85,"../tipos-de-simbolos/delegua":171}],186:[function(require,module,exports){
|
|
29927
30258
|
"use strict";
|
|
29928
30259
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29929
30260
|
exports.TradutorReversoJavaScript = void 0;
|
|
@@ -30318,7 +30649,7 @@ class TradutorReversoJavaScript {
|
|
|
30318
30649
|
}
|
|
30319
30650
|
exports.TradutorReversoJavaScript = TradutorReversoJavaScript;
|
|
30320
30651
|
|
|
30321
|
-
},{}],
|
|
30652
|
+
},{}],187:[function(require,module,exports){
|
|
30322
30653
|
"use strict";
|
|
30323
30654
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30324
30655
|
exports.TradutorReversoPython = void 0;
|
|
@@ -30391,7 +30722,7 @@ class TradutorReversoPython {
|
|
|
30391
30722
|
}
|
|
30392
30723
|
exports.TradutorReversoPython = TradutorReversoPython;
|
|
30393
30724
|
|
|
30394
|
-
},{"./python/python3-lexer":
|
|
30725
|
+
},{"./python/python3-lexer":179,"./python/python3-parser":180,"antlr4ts":304,"antlr4ts/tree/ParseTreeWalker":323}],188:[function(require,module,exports){
|
|
30395
30726
|
"use strict";
|
|
30396
30727
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
30397
30728
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -30557,13 +30888,13 @@ class TradutorReversoTenda {
|
|
|
30557
30888
|
let resultado = '';
|
|
30558
30889
|
// if (binario.esquerda.constructor.name === 'Agrupamento')
|
|
30559
30890
|
// resultado += '(' + this.dicionarioConstrutos[binario.esquerda.constructor.name](binario.esquerda) + ')';
|
|
30560
|
-
// else
|
|
30891
|
+
// else
|
|
30561
30892
|
resultado += this.dicionarioConstrutos[binario.esquerda.constructor.name](binario.esquerda);
|
|
30562
30893
|
let operador = this.traduzirSimboloOperador(binario.operador);
|
|
30563
30894
|
resultado += ` ${operador} `;
|
|
30564
30895
|
// if (binario.direita.constructor.name === 'Agrupamento')
|
|
30565
30896
|
// resultado += '(' + this.dicionarioConstrutos[binario.direita.constructor.name](binario.direita) + ')';
|
|
30566
|
-
// else
|
|
30897
|
+
// else
|
|
30567
30898
|
resultado += this.dicionarioConstrutos[binario.direita.constructor.name](binario.direita);
|
|
30568
30899
|
return resultado;
|
|
30569
30900
|
}
|
|
@@ -30600,7 +30931,8 @@ class TradutorReversoTenda {
|
|
|
30600
30931
|
for (let i = 0; i < dicionario.chaves.length; i++) {
|
|
30601
30932
|
resultado += this.dicionarioConstrutos[dicionario.chaves[i].constructor.name](dicionario.chaves[i]);
|
|
30602
30933
|
resultado += ':';
|
|
30603
|
-
resultado +=
|
|
30934
|
+
resultado +=
|
|
30935
|
+
this.dicionarioConstrutos[dicionario.valores[i].constructor.name](dicionario.valores[i]) + ',';
|
|
30604
30936
|
}
|
|
30605
30937
|
resultado += '}';
|
|
30606
30938
|
return resultado;
|
|
@@ -30668,7 +31000,10 @@ class TradutorReversoTenda {
|
|
|
30668
31000
|
logicaTraducaoMetodoClasse(metodoClasse) {
|
|
30669
31001
|
this.indentacao += 4;
|
|
30670
31002
|
let resultado = ' '.repeat(this.indentacao);
|
|
30671
|
-
resultado +=
|
|
31003
|
+
resultado +=
|
|
31004
|
+
metodoClasse.simbolo.lexema === 'construtor'
|
|
31005
|
+
? 'constructor('
|
|
31006
|
+
: metodoClasse.simbolo.lexema + '(';
|
|
30672
31007
|
for (let parametro of metodoClasse.funcao.parametros) {
|
|
30673
31008
|
resultado += parametro.nome.lexema + ', ';
|
|
30674
31009
|
}
|
|
@@ -30762,7 +31097,9 @@ class TradutorReversoTenda {
|
|
|
30762
31097
|
let resultado = 'se ';
|
|
30763
31098
|
const condicao = this.dicionarioConstrutos[declaracaoSe.condicao.constructor.name](declaracaoSe.condicao);
|
|
30764
31099
|
resultado += condicao;
|
|
30765
|
-
resultado +=
|
|
31100
|
+
resultado +=
|
|
31101
|
+
' ' +
|
|
31102
|
+
this.dicionarioDeclaracoes[declaracaoSe.caminhoEntao.constructor.name](declaracaoSe.caminhoEntao);
|
|
30766
31103
|
if (declaracaoSe.caminhoSenao !== null) {
|
|
30767
31104
|
resultado += ' '.repeat(this.indentacao);
|
|
30768
31105
|
resultado += ' senão ';
|
|
@@ -30784,7 +31121,8 @@ class TradutorReversoTenda {
|
|
|
30784
31121
|
resultado += ' '.repeat(this.indentacao);
|
|
30785
31122
|
if (Array.isArray(declaracaoTente.caminhoPegue)) {
|
|
30786
31123
|
for (let declaracao of declaracaoTente.caminhoPegue) {
|
|
30787
|
-
resultado +=
|
|
31124
|
+
resultado +=
|
|
31125
|
+
this.dicionarioDeclaracoes[declaracao.constructor.name](declaracao) + '\n';
|
|
30788
31126
|
}
|
|
30789
31127
|
}
|
|
30790
31128
|
else {
|
|
@@ -30798,7 +31136,8 @@ class TradutorReversoTenda {
|
|
|
30798
31136
|
if (declaracaoTente.caminhoFinalmente !== null) {
|
|
30799
31137
|
resultado += '\nfinally {\n';
|
|
30800
31138
|
for (let finalmente of declaracaoTente.caminhoFinalmente) {
|
|
30801
|
-
resultado +=
|
|
31139
|
+
resultado +=
|
|
31140
|
+
this.dicionarioDeclaracoes[finalmente.constructor.name](finalmente) + '\n';
|
|
30802
31141
|
}
|
|
30803
31142
|
resultado += ' '.repeat(this.indentacao);
|
|
30804
31143
|
resultado += '}';
|
|
@@ -30976,7 +31315,7 @@ class TradutorReversoTenda {
|
|
|
30976
31315
|
}
|
|
30977
31316
|
exports.TradutorReversoTenda = TradutorReversoTenda;
|
|
30978
31317
|
|
|
30979
|
-
},{"../construtos":44,"../tipos-de-simbolos/tenda":
|
|
31318
|
+
},{"../construtos":44,"../tipos-de-simbolos/tenda":177}],189:[function(require,module,exports){
|
|
30980
31319
|
"use strict";
|
|
30981
31320
|
/*!
|
|
30982
31321
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30984,7 +31323,7 @@ exports.TradutorReversoTenda = TradutorReversoTenda;
|
|
|
30984
31323
|
*/
|
|
30985
31324
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30986
31325
|
|
|
30987
|
-
},{}],
|
|
31326
|
+
},{}],190:[function(require,module,exports){
|
|
30988
31327
|
"use strict";
|
|
30989
31328
|
/*!
|
|
30990
31329
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30992,7 +31331,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
30992
31331
|
*/
|
|
30993
31332
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30994
31333
|
|
|
30995
|
-
},{}],
|
|
31334
|
+
},{}],191:[function(require,module,exports){
|
|
30996
31335
|
"use strict";
|
|
30997
31336
|
/*!
|
|
30998
31337
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31154,7 +31493,7 @@ __decorate([
|
|
|
31154
31493
|
], ANTLRInputStream.prototype, "toString", null);
|
|
31155
31494
|
exports.ANTLRInputStream = ANTLRInputStream;
|
|
31156
31495
|
|
|
31157
|
-
},{"./Decorators":
|
|
31496
|
+
},{"./Decorators":202,"./IntStream":208,"assert":345}],192:[function(require,module,exports){
|
|
31158
31497
|
"use strict";
|
|
31159
31498
|
/*!
|
|
31160
31499
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31237,7 +31576,7 @@ __decorate([
|
|
|
31237
31576
|
], BailErrorStrategy.prototype, "sync", null);
|
|
31238
31577
|
exports.BailErrorStrategy = BailErrorStrategy;
|
|
31239
31578
|
|
|
31240
|
-
},{"./Decorators":
|
|
31579
|
+
},{"./Decorators":202,"./DefaultErrorStrategy":203,"./InputMismatchException":207,"./misc/ParseCancellationException":319}],193:[function(require,module,exports){
|
|
31241
31580
|
"use strict";
|
|
31242
31581
|
/*!
|
|
31243
31582
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31727,7 +32066,7 @@ BufferedTokenStream = __decorate([
|
|
|
31727
32066
|
], BufferedTokenStream);
|
|
31728
32067
|
exports.BufferedTokenStream = BufferedTokenStream;
|
|
31729
32068
|
|
|
31730
|
-
},{"./CommonToken":
|
|
32069
|
+
},{"./CommonToken":198,"./Decorators":202,"./Lexer":210,"./Token":227,"./misc/Interval":314,"assert":345}],194:[function(require,module,exports){
|
|
31731
32070
|
"use strict";
|
|
31732
32071
|
/*!
|
|
31733
32072
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31735,7 +32074,7 @@ exports.BufferedTokenStream = BufferedTokenStream;
|
|
|
31735
32074
|
*/
|
|
31736
32075
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31737
32076
|
|
|
31738
|
-
},{}],
|
|
32077
|
+
},{}],195:[function(require,module,exports){
|
|
31739
32078
|
"use strict";
|
|
31740
32079
|
/*!
|
|
31741
32080
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31869,7 +32208,7 @@ var CharStreams;
|
|
|
31869
32208
|
// }
|
|
31870
32209
|
})(CharStreams = exports.CharStreams || (exports.CharStreams = {}));
|
|
31871
32210
|
|
|
31872
|
-
},{"./CodePointBuffer":
|
|
32211
|
+
},{"./CodePointBuffer":196,"./CodePointCharStream":197,"./IntStream":208}],196:[function(require,module,exports){
|
|
31873
32212
|
"use strict";
|
|
31874
32213
|
/*!
|
|
31875
32214
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32104,7 +32443,7 @@ exports.CodePointBuffer = CodePointBuffer;
|
|
|
32104
32443
|
CodePointBuffer.Builder = Builder;
|
|
32105
32444
|
})(CodePointBuffer = exports.CodePointBuffer || (exports.CodePointBuffer = {}));
|
|
32106
32445
|
|
|
32107
|
-
},{"./misc/Character":
|
|
32446
|
+
},{"./misc/Character":310,"assert":345}],197:[function(require,module,exports){
|
|
32108
32447
|
"use strict";
|
|
32109
32448
|
/*!
|
|
32110
32449
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32254,7 +32593,7 @@ __decorate([
|
|
|
32254
32593
|
], CodePointCharStream.prototype, "getText", null);
|
|
32255
32594
|
exports.CodePointCharStream = CodePointCharStream;
|
|
32256
32595
|
|
|
32257
|
-
},{"./Decorators":
|
|
32596
|
+
},{"./Decorators":202,"./IntStream":208,"./misc/Interval":314,"assert":345}],198:[function(require,module,exports){
|
|
32258
32597
|
"use strict";
|
|
32259
32598
|
/*!
|
|
32260
32599
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32484,7 +32823,7 @@ CommonToken = __decorate([
|
|
|
32484
32823
|
], CommonToken);
|
|
32485
32824
|
exports.CommonToken = CommonToken;
|
|
32486
32825
|
|
|
32487
|
-
},{"./Decorators":
|
|
32826
|
+
},{"./Decorators":202,"./Token":227,"./misc/Interval":314}],199:[function(require,module,exports){
|
|
32488
32827
|
"use strict";
|
|
32489
32828
|
/*!
|
|
32490
32829
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32548,7 +32887,7 @@ exports.CommonTokenFactory = CommonTokenFactory;
|
|
|
32548
32887
|
CommonTokenFactory.DEFAULT = new CommonTokenFactory();
|
|
32549
32888
|
})(CommonTokenFactory = exports.CommonTokenFactory || (exports.CommonTokenFactory = {}));
|
|
32550
32889
|
|
|
32551
|
-
},{"./CommonToken":
|
|
32890
|
+
},{"./CommonToken":198,"./Decorators":202,"./misc/Interval":314}],200:[function(require,module,exports){
|
|
32552
32891
|
"use strict";
|
|
32553
32892
|
/*!
|
|
32554
32893
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32675,7 +33014,7 @@ CommonTokenStream = __decorate([
|
|
|
32675
33014
|
], CommonTokenStream);
|
|
32676
33015
|
exports.CommonTokenStream = CommonTokenStream;
|
|
32677
33016
|
|
|
32678
|
-
},{"./BufferedTokenStream":
|
|
33017
|
+
},{"./BufferedTokenStream":193,"./Decorators":202,"./Token":227}],201:[function(require,module,exports){
|
|
32679
33018
|
"use strict";
|
|
32680
33019
|
/*!
|
|
32681
33020
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32709,7 +33048,7 @@ exports.ConsoleErrorListener = ConsoleErrorListener;
|
|
|
32709
33048
|
*/
|
|
32710
33049
|
ConsoleErrorListener.INSTANCE = new ConsoleErrorListener();
|
|
32711
33050
|
|
|
32712
|
-
},{}],
|
|
33051
|
+
},{}],202:[function(require,module,exports){
|
|
32713
33052
|
"use strict";
|
|
32714
33053
|
/*!
|
|
32715
33054
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32736,7 +33075,7 @@ function SuppressWarnings(options) {
|
|
|
32736
33075
|
}
|
|
32737
33076
|
exports.SuppressWarnings = SuppressWarnings;
|
|
32738
33077
|
|
|
32739
|
-
},{}],
|
|
33078
|
+
},{}],203:[function(require,module,exports){
|
|
32740
33079
|
"use strict";
|
|
32741
33080
|
/*!
|
|
32742
33081
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33550,7 +33889,7 @@ __decorate([
|
|
|
33550
33889
|
], DefaultErrorStrategy.prototype, "consumeUntil", null);
|
|
33551
33890
|
exports.DefaultErrorStrategy = DefaultErrorStrategy;
|
|
33552
33891
|
|
|
33553
|
-
},{"./Decorators":
|
|
33892
|
+
},{"./Decorators":202,"./FailedPredicateException":206,"./InputMismatchException":207,"./NoViableAltException":214,"./Token":227,"./atn/ATNState":241,"./atn/ATNStateType":242,"./atn/PredictionContext":282,"./misc/IntervalSet":315}],204:[function(require,module,exports){
|
|
33554
33893
|
"use strict";
|
|
33555
33894
|
/*!
|
|
33556
33895
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33626,7 +33965,7 @@ var Dependents;
|
|
|
33626
33965
|
Dependents[Dependents["FOLLOWING"] = 9] = "FOLLOWING";
|
|
33627
33966
|
})(Dependents = exports.Dependents || (exports.Dependents = {}));
|
|
33628
33967
|
|
|
33629
|
-
},{}],
|
|
33968
|
+
},{}],205:[function(require,module,exports){
|
|
33630
33969
|
"use strict";
|
|
33631
33970
|
/*!
|
|
33632
33971
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33774,7 +34113,7 @@ __decorate([
|
|
|
33774
34113
|
], DiagnosticErrorListener.prototype, "getConflictingAlts", null);
|
|
33775
34114
|
exports.DiagnosticErrorListener = DiagnosticErrorListener;
|
|
33776
34115
|
|
|
33777
|
-
},{"./Decorators":
|
|
34116
|
+
},{"./Decorators":202,"./misc/BitSet":309,"./misc/Interval":314}],206:[function(require,module,exports){
|
|
33778
34117
|
"use strict";
|
|
33779
34118
|
/*!
|
|
33780
34119
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33839,7 +34178,7 @@ FailedPredicateException = __decorate([
|
|
|
33839
34178
|
], FailedPredicateException);
|
|
33840
34179
|
exports.FailedPredicateException = FailedPredicateException;
|
|
33841
34180
|
|
|
33842
|
-
},{"./Decorators":
|
|
34181
|
+
},{"./Decorators":202,"./RecognitionException":221,"./atn/PredicateTransition":281}],207:[function(require,module,exports){
|
|
33843
34182
|
"use strict";
|
|
33844
34183
|
/*!
|
|
33845
34184
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33879,7 +34218,7 @@ InputMismatchException = __decorate([
|
|
|
33879
34218
|
], InputMismatchException);
|
|
33880
34219
|
exports.InputMismatchException = InputMismatchException;
|
|
33881
34220
|
|
|
33882
|
-
},{"./Decorators":
|
|
34221
|
+
},{"./Decorators":202,"./RecognitionException":221}],208:[function(require,module,exports){
|
|
33883
34222
|
"use strict";
|
|
33884
34223
|
/*!
|
|
33885
34224
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33902,7 +34241,7 @@ var IntStream;
|
|
|
33902
34241
|
IntStream.UNKNOWN_SOURCE_NAME = "<unknown>";
|
|
33903
34242
|
})(IntStream = exports.IntStream || (exports.IntStream = {}));
|
|
33904
34243
|
|
|
33905
|
-
},{}],
|
|
34244
|
+
},{}],209:[function(require,module,exports){
|
|
33906
34245
|
"use strict";
|
|
33907
34246
|
/*!
|
|
33908
34247
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33949,7 +34288,7 @@ __decorate([
|
|
|
33949
34288
|
], InterpreterRuleContext.prototype, "ruleIndex", null);
|
|
33950
34289
|
exports.InterpreterRuleContext = InterpreterRuleContext;
|
|
33951
34290
|
|
|
33952
|
-
},{"./Decorators":
|
|
34291
|
+
},{"./Decorators":202,"./ParserRuleContext":218}],210:[function(require,module,exports){
|
|
33953
34292
|
"use strict";
|
|
33954
34293
|
/*!
|
|
33955
34294
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34285,7 +34624,7 @@ __decorate([
|
|
|
34285
34624
|
], Lexer.prototype, "charPositionInLine", null);
|
|
34286
34625
|
exports.Lexer = Lexer;
|
|
34287
34626
|
|
|
34288
|
-
},{"./CommonTokenFactory":
|
|
34627
|
+
},{"./CommonTokenFactory":199,"./Decorators":202,"./IntStream":208,"./LexerNoViableAltException":212,"./Recognizer":222,"./Token":227,"./atn/LexerATNSimulator":260,"./misc/IntegerStack":313,"./misc/Interval":314}],211:[function(require,module,exports){
|
|
34289
34628
|
"use strict";
|
|
34290
34629
|
/*!
|
|
34291
34630
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34365,7 +34704,7 @@ LexerInterpreter = __decorate([
|
|
|
34365
34704
|
], LexerInterpreter);
|
|
34366
34705
|
exports.LexerInterpreter = LexerInterpreter;
|
|
34367
34706
|
|
|
34368
|
-
},{"./Decorators":
|
|
34707
|
+
},{"./Decorators":202,"./Lexer":210,"./atn/LexerATNSimulator":260}],212:[function(require,module,exports){
|
|
34369
34708
|
"use strict";
|
|
34370
34709
|
/*!
|
|
34371
34710
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34422,7 +34761,7 @@ LexerNoViableAltException = __decorate([
|
|
|
34422
34761
|
], LexerNoViableAltException);
|
|
34423
34762
|
exports.LexerNoViableAltException = LexerNoViableAltException;
|
|
34424
34763
|
|
|
34425
|
-
},{"./Decorators":
|
|
34764
|
+
},{"./Decorators":202,"./RecognitionException":221,"./misc/Interval":314,"./misc/Utils":321}],213:[function(require,module,exports){
|
|
34426
34765
|
"use strict";
|
|
34427
34766
|
/*!
|
|
34428
34767
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34632,7 +34971,7 @@ ListTokenSource = __decorate([
|
|
|
34632
34971
|
], ListTokenSource);
|
|
34633
34972
|
exports.ListTokenSource = ListTokenSource;
|
|
34634
34973
|
|
|
34635
|
-
},{"./CommonTokenFactory":
|
|
34974
|
+
},{"./CommonTokenFactory":199,"./Decorators":202,"./Token":227}],214:[function(require,module,exports){
|
|
34636
34975
|
"use strict";
|
|
34637
34976
|
/*!
|
|
34638
34977
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34687,7 +35026,7 @@ __decorate([
|
|
|
34687
35026
|
], NoViableAltException.prototype, "_startToken", void 0);
|
|
34688
35027
|
exports.NoViableAltException = NoViableAltException;
|
|
34689
35028
|
|
|
34690
|
-
},{"./Decorators":
|
|
35029
|
+
},{"./Decorators":202,"./Parser":215,"./RecognitionException":221}],215:[function(require,module,exports){
|
|
34691
35030
|
(function (process){(function (){
|
|
34692
35031
|
"use strict";
|
|
34693
35032
|
/*!
|
|
@@ -35533,7 +35872,7 @@ __decorate([
|
|
|
35533
35872
|
exports.Parser = Parser;
|
|
35534
35873
|
|
|
35535
35874
|
}).call(this)}).call(this,require('_process'))
|
|
35536
|
-
},{"./Decorators":
|
|
35875
|
+
},{"./Decorators":202,"./DefaultErrorStrategy":203,"./Lexer":210,"./ProxyParserErrorListener":220,"./Recognizer":222,"./Token":227,"./atn/ATNDeserializationOptions":238,"./atn/ATNDeserializer":239,"./atn/ParseInfo":275,"./atn/ParserATNSimulator":276,"./atn/ProfilingATNSimulator":285,"./misc/IntegerStack":313,"./misc/Utils":321,"./tree/ErrorNode":322,"./tree/TerminalNode":325,"./tree/pattern/ParseTreePatternMatcher":330,"_process":404}],216:[function(require,module,exports){
|
|
35537
35876
|
"use strict";
|
|
35538
35877
|
/*!
|
|
35539
35878
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35541,7 +35880,7 @@ exports.Parser = Parser;
|
|
|
35541
35880
|
*/
|
|
35542
35881
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35543
35882
|
|
|
35544
|
-
},{}],
|
|
35883
|
+
},{}],217:[function(require,module,exports){
|
|
35545
35884
|
"use strict";
|
|
35546
35885
|
/*!
|
|
35547
35886
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35949,7 +36288,7 @@ ParserInterpreter = __decorate([
|
|
|
35949
36288
|
], ParserInterpreter);
|
|
35950
36289
|
exports.ParserInterpreter = ParserInterpreter;
|
|
35951
36290
|
|
|
35952
|
-
},{"./Decorators":
|
|
36291
|
+
},{"./Decorators":202,"./FailedPredicateException":206,"./InputMismatchException":207,"./InterpreterRuleContext":209,"./Parser":215,"./RecognitionException":221,"./Token":227,"./atn/ATNState":241,"./atn/ATNStateType":242,"./atn/LoopEndState":272,"./atn/ParserATNSimulator":276,"./atn/StarLoopEntryState":294,"./misc/BitSet":309}],218:[function(require,module,exports){
|
|
35953
36292
|
"use strict";
|
|
35954
36293
|
/*!
|
|
35955
36294
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36250,7 +36589,7 @@ __decorate([
|
|
|
36250
36589
|
], ParserRuleContext.prototype, "sourceInterval", null);
|
|
36251
36590
|
exports.ParserRuleContext = ParserRuleContext;
|
|
36252
36591
|
|
|
36253
|
-
},{"./Decorators":
|
|
36592
|
+
},{"./Decorators":202,"./RuleContext":223,"./misc/Interval":314,"./tree/ErrorNode":322,"./tree/TerminalNode":325}],219:[function(require,module,exports){
|
|
36254
36593
|
"use strict";
|
|
36255
36594
|
/*!
|
|
36256
36595
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36300,7 +36639,7 @@ __decorate([
|
|
|
36300
36639
|
], ProxyErrorListener.prototype, "syntaxError", null);
|
|
36301
36640
|
exports.ProxyErrorListener = ProxyErrorListener;
|
|
36302
36641
|
|
|
36303
|
-
},{"./Decorators":
|
|
36642
|
+
},{"./Decorators":202}],220:[function(require,module,exports){
|
|
36304
36643
|
"use strict";
|
|
36305
36644
|
/*!
|
|
36306
36645
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36359,7 +36698,7 @@ __decorate([
|
|
|
36359
36698
|
], ProxyParserErrorListener.prototype, "reportContextSensitivity", null);
|
|
36360
36699
|
exports.ProxyParserErrorListener = ProxyParserErrorListener;
|
|
36361
36700
|
|
|
36362
|
-
},{"./Decorators":
|
|
36701
|
+
},{"./Decorators":202,"./ProxyErrorListener":219}],221:[function(require,module,exports){
|
|
36363
36702
|
"use strict";
|
|
36364
36703
|
/*!
|
|
36365
36704
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36464,7 +36803,7 @@ class RecognitionException extends Error {
|
|
|
36464
36803
|
}
|
|
36465
36804
|
exports.RecognitionException = RecognitionException;
|
|
36466
36805
|
|
|
36467
|
-
},{}],
|
|
36806
|
+
},{}],222:[function(require,module,exports){
|
|
36468
36807
|
"use strict";
|
|
36469
36808
|
/*!
|
|
36470
36809
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36683,7 +37022,7 @@ __decorate([
|
|
|
36683
37022
|
], Recognizer.prototype, "getErrorListeners", null);
|
|
36684
37023
|
exports.Recognizer = Recognizer;
|
|
36685
37024
|
|
|
36686
|
-
},{"./ConsoleErrorListener":
|
|
37025
|
+
},{"./ConsoleErrorListener":201,"./Decorators":202,"./ProxyErrorListener":219,"./Token":227,"./misc/Utils":321}],223:[function(require,module,exports){
|
|
36687
37026
|
"use strict";
|
|
36688
37027
|
/*!
|
|
36689
37028
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36900,7 +37239,7 @@ __decorate([
|
|
|
36900
37239
|
], RuleContext.prototype, "toStringTree", null);
|
|
36901
37240
|
exports.RuleContext = RuleContext;
|
|
36902
37241
|
|
|
36903
|
-
},{"./Decorators":
|
|
37242
|
+
},{"./Decorators":202,"./ParserRuleContext":218,"./Recognizer":222,"./atn/ATN":235,"./misc/Interval":314,"./tree/RuleNode":324,"./tree/Trees":326}],224:[function(require,module,exports){
|
|
36904
37243
|
"use strict";
|
|
36905
37244
|
/*!
|
|
36906
37245
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36951,7 +37290,7 @@ __decorate([
|
|
|
36951
37290
|
], RuleContextWithAltNum.prototype, "altNumber", null);
|
|
36952
37291
|
exports.RuleContextWithAltNum = RuleContextWithAltNum;
|
|
36953
37292
|
|
|
36954
|
-
},{"./Decorators":
|
|
37293
|
+
},{"./Decorators":202,"./ParserRuleContext":218,"./atn/ATN":235}],225:[function(require,module,exports){
|
|
36955
37294
|
"use strict";
|
|
36956
37295
|
/*!
|
|
36957
37296
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36974,7 +37313,7 @@ function RuleDependency(dependency) {
|
|
|
36974
37313
|
}
|
|
36975
37314
|
exports.RuleDependency = RuleDependency;
|
|
36976
37315
|
|
|
36977
|
-
},{}],
|
|
37316
|
+
},{}],226:[function(require,module,exports){
|
|
36978
37317
|
"use strict";
|
|
36979
37318
|
/*!
|
|
36980
37319
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36993,7 +37332,7 @@ function RuleVersion(version) {
|
|
|
36993
37332
|
}
|
|
36994
37333
|
exports.RuleVersion = RuleVersion;
|
|
36995
37334
|
|
|
36996
|
-
},{}],
|
|
37335
|
+
},{}],227:[function(require,module,exports){
|
|
36997
37336
|
"use strict";
|
|
36998
37337
|
/*!
|
|
36999
37338
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37033,7 +37372,7 @@ var Token;
|
|
|
37033
37372
|
Token.MIN_USER_CHANNEL_VALUE = 2;
|
|
37034
37373
|
})(Token = exports.Token || (exports.Token = {}));
|
|
37035
37374
|
|
|
37036
|
-
},{"./IntStream":
|
|
37375
|
+
},{"./IntStream":208}],228:[function(require,module,exports){
|
|
37037
37376
|
"use strict";
|
|
37038
37377
|
/*!
|
|
37039
37378
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37041,7 +37380,7 @@ var Token;
|
|
|
37041
37380
|
*/
|
|
37042
37381
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37043
37382
|
|
|
37044
|
-
},{}],
|
|
37383
|
+
},{}],229:[function(require,module,exports){
|
|
37045
37384
|
"use strict";
|
|
37046
37385
|
/*!
|
|
37047
37386
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37049,7 +37388,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37049
37388
|
*/
|
|
37050
37389
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37051
37390
|
|
|
37052
|
-
},{}],
|
|
37391
|
+
},{}],230:[function(require,module,exports){
|
|
37053
37392
|
"use strict";
|
|
37054
37393
|
/*!
|
|
37055
37394
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37057,7 +37396,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37057
37396
|
*/
|
|
37058
37397
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37059
37398
|
|
|
37060
|
-
},{}],
|
|
37399
|
+
},{}],231:[function(require,module,exports){
|
|
37061
37400
|
"use strict";
|
|
37062
37401
|
/*!
|
|
37063
37402
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37565,7 +37904,7 @@ __decorate([
|
|
|
37565
37904
|
Decorators_1.Override
|
|
37566
37905
|
], ReplaceOp.prototype, "toString", null);
|
|
37567
37906
|
|
|
37568
|
-
},{"./Decorators":
|
|
37907
|
+
},{"./Decorators":202,"./Token":227,"./misc/Interval":314}],232:[function(require,module,exports){
|
|
37569
37908
|
"use strict";
|
|
37570
37909
|
/*!
|
|
37571
37910
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37573,7 +37912,7 @@ __decorate([
|
|
|
37573
37912
|
*/
|
|
37574
37913
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37575
37914
|
|
|
37576
|
-
},{}],
|
|
37915
|
+
},{}],233:[function(require,module,exports){
|
|
37577
37916
|
"use strict";
|
|
37578
37917
|
/*!
|
|
37579
37918
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37693,7 +38032,7 @@ __decorate([
|
|
|
37693
38032
|
], VocabularyImpl, "EMPTY_VOCABULARY", void 0);
|
|
37694
38033
|
exports.VocabularyImpl = VocabularyImpl;
|
|
37695
38034
|
|
|
37696
|
-
},{"./Decorators":
|
|
38035
|
+
},{"./Decorators":202,"./Token":227}],234:[function(require,module,exports){
|
|
37697
38036
|
"use strict";
|
|
37698
38037
|
/*!
|
|
37699
38038
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37701,7 +38040,7 @@ exports.VocabularyImpl = VocabularyImpl;
|
|
|
37701
38040
|
*/
|
|
37702
38041
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37703
38042
|
|
|
37704
|
-
},{}],
|
|
38043
|
+
},{}],235:[function(require,module,exports){
|
|
37705
38044
|
"use strict";
|
|
37706
38045
|
/*!
|
|
37707
38046
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37923,7 +38262,7 @@ exports.ATN = ATN;
|
|
|
37923
38262
|
})(ATN = exports.ATN || (exports.ATN = {}));
|
|
37924
38263
|
exports.ATN = ATN;
|
|
37925
38264
|
|
|
37926
|
-
},{"../Decorators":
|
|
38265
|
+
},{"../Decorators":202,"../Token":227,"../dfa/DFA":300,"../misc/Array2DHashMap":305,"../misc/IntervalSet":315,"../misc/ObjectEqualityComparator":318,"./InvalidState":258,"./LL1Analyzer":259,"./PredictionContext":282,"assert":345}],236:[function(require,module,exports){
|
|
37927
38266
|
"use strict";
|
|
37928
38267
|
/*!
|
|
37929
38268
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38448,7 +38787,7 @@ ActionSemanticContextATNConfig = __decorate([
|
|
|
38448
38787
|
__param(1, Decorators_1.NotNull), __param(2, Decorators_1.NotNull)
|
|
38449
38788
|
], ActionSemanticContextATNConfig);
|
|
38450
38789
|
|
|
38451
|
-
},{"../Decorators":
|
|
38790
|
+
},{"../Decorators":202,"../misc/Array2DHashMap":305,"../misc/MurmurHash":317,"../misc/ObjectEqualityComparator":318,"./DecisionState":255,"./PredictionContext":282,"./SemanticContext":290,"assert":345}],237:[function(require,module,exports){
|
|
38452
38791
|
"use strict";
|
|
38453
38792
|
/*!
|
|
38454
38793
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38895,7 +39234,7 @@ __decorate([
|
|
|
38895
39234
|
], ATNConfigSet.prototype, "hashCode", null);
|
|
38896
39235
|
exports.ATNConfigSet = ATNConfigSet;
|
|
38897
39236
|
|
|
38898
|
-
},{"../Decorators":
|
|
39237
|
+
},{"../Decorators":202,"../misc/Array2DHashMap":305,"../misc/Array2DHashSet":306,"../misc/ArrayEqualityComparator":307,"../misc/BitSet":309,"../misc/ObjectEqualityComparator":318,"../misc/Utils":321,"./ATN":235,"./ATNConfig":236,"./PredictionContext":282,"./PredictionContextCache":283,"./SemanticContext":290,"assert":345}],238:[function(require,module,exports){
|
|
38899
39238
|
"use strict";
|
|
38900
39239
|
/*!
|
|
38901
39240
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38974,7 +39313,7 @@ __decorate([
|
|
|
38974
39313
|
], ATNDeserializationOptions, "defaultOptions", null);
|
|
38975
39314
|
exports.ATNDeserializationOptions = ATNDeserializationOptions;
|
|
38976
39315
|
|
|
38977
|
-
},{"../Decorators":
|
|
39316
|
+
},{"../Decorators":202}],239:[function(require,module,exports){
|
|
38978
39317
|
"use strict";
|
|
38979
39318
|
/*!
|
|
38980
39319
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40061,7 +40400,7 @@ __decorate([
|
|
|
40061
40400
|
], ATNDeserializer.prototype, "edgeFactory", null);
|
|
40062
40401
|
exports.ATNDeserializer = ATNDeserializer;
|
|
40063
40402
|
|
|
40064
|
-
},{"../Decorators":
|
|
40403
|
+
},{"../Decorators":202,"../Token":227,"../dfa/DFA":300,"../misc/Array2DHashSet":306,"../misc/BitSet":309,"../misc/IntervalSet":315,"../misc/UUID":320,"./ATN":235,"./ATNDeserializationOptions":238,"./ATNStateType":242,"./ActionTransition":244,"./AtomTransition":246,"./BasicBlockStartState":247,"./BasicState":248,"./BlockEndState":249,"./BlockStartState":250,"./DecisionState":255,"./EpsilonTransition":256,"./InvalidState":258,"./LexerChannelAction":262,"./LexerCustomAction":263,"./LexerModeAction":265,"./LexerMoreAction":266,"./LexerPopModeAction":267,"./LexerPushModeAction":268,"./LexerSkipAction":269,"./LexerTypeAction":270,"./LoopEndState":272,"./NotSetTransition":273,"./ParserATNSimulator":276,"./PlusBlockStartState":277,"./PlusLoopbackState":278,"./PrecedencePredicateTransition":279,"./PredicateTransition":281,"./RangeTransition":286,"./RuleStartState":287,"./RuleStopState":288,"./RuleTransition":289,"./SetTransition":291,"./StarBlockStartState":293,"./StarLoopEntryState":294,"./StarLoopbackState":295,"./TokensStartState":296,"./WildcardTransition":298}],240:[function(require,module,exports){
|
|
40065
40404
|
"use strict";
|
|
40066
40405
|
/*!
|
|
40067
40406
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40125,7 +40464,7 @@ exports.ATNSimulator = ATNSimulator;
|
|
|
40125
40464
|
})(ATNSimulator = exports.ATNSimulator || (exports.ATNSimulator = {}));
|
|
40126
40465
|
exports.ATNSimulator = ATNSimulator;
|
|
40127
40466
|
|
|
40128
|
-
},{"../Decorators":
|
|
40467
|
+
},{"../Decorators":202,"../dfa/DFAState":302,"./ATNConfigSet":237,"./PredictionContext":282}],241:[function(require,module,exports){
|
|
40129
40468
|
"use strict";
|
|
40130
40469
|
/*!
|
|
40131
40470
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40312,7 +40651,7 @@ exports.ATNState = ATNState;
|
|
|
40312
40651
|
ATNState.INVALID_STATE_NUMBER = -1;
|
|
40313
40652
|
})(ATNState = exports.ATNState || (exports.ATNState = {}));
|
|
40314
40653
|
|
|
40315
|
-
},{"../Decorators":
|
|
40654
|
+
},{"../Decorators":202}],242:[function(require,module,exports){
|
|
40316
40655
|
"use strict";
|
|
40317
40656
|
/*!
|
|
40318
40657
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40338,7 +40677,7 @@ var ATNStateType;
|
|
|
40338
40677
|
ATNStateType[ATNStateType["LOOP_END"] = 12] = "LOOP_END";
|
|
40339
40678
|
})(ATNStateType = exports.ATNStateType || (exports.ATNStateType = {}));
|
|
40340
40679
|
|
|
40341
|
-
},{}],
|
|
40680
|
+
},{}],243:[function(require,module,exports){
|
|
40342
40681
|
"use strict";
|
|
40343
40682
|
/*!
|
|
40344
40683
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40358,7 +40697,7 @@ class AbstractPredicateTransition extends Transition_1.Transition {
|
|
|
40358
40697
|
}
|
|
40359
40698
|
exports.AbstractPredicateTransition = AbstractPredicateTransition;
|
|
40360
40699
|
|
|
40361
|
-
},{"./Transition":
|
|
40700
|
+
},{"./Transition":297}],244:[function(require,module,exports){
|
|
40362
40701
|
"use strict";
|
|
40363
40702
|
/*!
|
|
40364
40703
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40414,7 +40753,7 @@ ActionTransition = __decorate([
|
|
|
40414
40753
|
], ActionTransition);
|
|
40415
40754
|
exports.ActionTransition = ActionTransition;
|
|
40416
40755
|
|
|
40417
|
-
},{"../Decorators":
|
|
40756
|
+
},{"../Decorators":202,"./Transition":297}],245:[function(require,module,exports){
|
|
40418
40757
|
"use strict";
|
|
40419
40758
|
/*!
|
|
40420
40759
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40501,7 +40840,7 @@ AmbiguityInfo = __decorate([
|
|
|
40501
40840
|
], AmbiguityInfo);
|
|
40502
40841
|
exports.AmbiguityInfo = AmbiguityInfo;
|
|
40503
40842
|
|
|
40504
|
-
},{"../Decorators":
|
|
40843
|
+
},{"../Decorators":202,"./DecisionEventInfo":253}],246:[function(require,module,exports){
|
|
40505
40844
|
"use strict";
|
|
40506
40845
|
/*!
|
|
40507
40846
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40559,7 +40898,7 @@ AtomTransition = __decorate([
|
|
|
40559
40898
|
], AtomTransition);
|
|
40560
40899
|
exports.AtomTransition = AtomTransition;
|
|
40561
40900
|
|
|
40562
|
-
},{"../Decorators":
|
|
40901
|
+
},{"../Decorators":202,"../misc/IntervalSet":315,"./Transition":297}],247:[function(require,module,exports){
|
|
40563
40902
|
"use strict";
|
|
40564
40903
|
/*!
|
|
40565
40904
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40591,7 +40930,7 @@ __decorate([
|
|
|
40591
40930
|
], BasicBlockStartState.prototype, "stateType", null);
|
|
40592
40931
|
exports.BasicBlockStartState = BasicBlockStartState;
|
|
40593
40932
|
|
|
40594
|
-
},{"../Decorators":
|
|
40933
|
+
},{"../Decorators":202,"./ATNStateType":242,"./BlockStartState":250}],248:[function(require,module,exports){
|
|
40595
40934
|
"use strict";
|
|
40596
40935
|
/*!
|
|
40597
40936
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40623,7 +40962,7 @@ __decorate([
|
|
|
40623
40962
|
], BasicState.prototype, "stateType", null);
|
|
40624
40963
|
exports.BasicState = BasicState;
|
|
40625
40964
|
|
|
40626
|
-
},{"../Decorators":
|
|
40965
|
+
},{"../Decorators":202,"./ATNState":241,"./ATNStateType":242}],249:[function(require,module,exports){
|
|
40627
40966
|
"use strict";
|
|
40628
40967
|
/*!
|
|
40629
40968
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40652,7 +40991,7 @@ __decorate([
|
|
|
40652
40991
|
], BlockEndState.prototype, "stateType", null);
|
|
40653
40992
|
exports.BlockEndState = BlockEndState;
|
|
40654
40993
|
|
|
40655
|
-
},{"../Decorators":
|
|
40994
|
+
},{"../Decorators":202,"./ATNState":241,"./ATNStateType":242}],250:[function(require,module,exports){
|
|
40656
40995
|
"use strict";
|
|
40657
40996
|
/*!
|
|
40658
40997
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40666,7 +41005,7 @@ class BlockStartState extends DecisionState_1.DecisionState {
|
|
|
40666
41005
|
}
|
|
40667
41006
|
exports.BlockStartState = BlockStartState;
|
|
40668
41007
|
|
|
40669
|
-
},{"./DecisionState":
|
|
41008
|
+
},{"./DecisionState":255}],251:[function(require,module,exports){
|
|
40670
41009
|
"use strict";
|
|
40671
41010
|
/*!
|
|
40672
41011
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40736,7 +41075,7 @@ __decorate([
|
|
|
40736
41075
|
], ConflictInfo.prototype, "hashCode", null);
|
|
40737
41076
|
exports.ConflictInfo = ConflictInfo;
|
|
40738
41077
|
|
|
40739
|
-
},{"../Decorators":
|
|
41078
|
+
},{"../Decorators":202,"../misc/Utils":321}],252:[function(require,module,exports){
|
|
40740
41079
|
"use strict";
|
|
40741
41080
|
/*!
|
|
40742
41081
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40796,7 +41135,7 @@ ContextSensitivityInfo = __decorate([
|
|
|
40796
41135
|
], ContextSensitivityInfo);
|
|
40797
41136
|
exports.ContextSensitivityInfo = ContextSensitivityInfo;
|
|
40798
41137
|
|
|
40799
|
-
},{"../Decorators":
|
|
41138
|
+
},{"../Decorators":202,"./DecisionEventInfo":253}],253:[function(require,module,exports){
|
|
40800
41139
|
"use strict";
|
|
40801
41140
|
/*!
|
|
40802
41141
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40848,7 +41187,7 @@ DecisionEventInfo = __decorate([
|
|
|
40848
41187
|
], DecisionEventInfo);
|
|
40849
41188
|
exports.DecisionEventInfo = DecisionEventInfo;
|
|
40850
41189
|
|
|
40851
|
-
},{"../Decorators":
|
|
41190
|
+
},{"../Decorators":202}],254:[function(require,module,exports){
|
|
40852
41191
|
"use strict";
|
|
40853
41192
|
/*!
|
|
40854
41193
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41061,7 +41400,7 @@ __decorate([
|
|
|
41061
41400
|
], DecisionInfo.prototype, "toString", null);
|
|
41062
41401
|
exports.DecisionInfo = DecisionInfo;
|
|
41063
41402
|
|
|
41064
|
-
},{"../Decorators":
|
|
41403
|
+
},{"../Decorators":202}],255:[function(require,module,exports){
|
|
41065
41404
|
"use strict";
|
|
41066
41405
|
/*!
|
|
41067
41406
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41081,7 +41420,7 @@ class DecisionState extends ATNState_1.ATNState {
|
|
|
41081
41420
|
}
|
|
41082
41421
|
exports.DecisionState = DecisionState;
|
|
41083
41422
|
|
|
41084
|
-
},{"./ATNState":
|
|
41423
|
+
},{"./ATNState":241}],256:[function(require,module,exports){
|
|
41085
41424
|
"use strict";
|
|
41086
41425
|
/*!
|
|
41087
41426
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41147,7 +41486,7 @@ EpsilonTransition = __decorate([
|
|
|
41147
41486
|
], EpsilonTransition);
|
|
41148
41487
|
exports.EpsilonTransition = EpsilonTransition;
|
|
41149
41488
|
|
|
41150
|
-
},{"../Decorators":
|
|
41489
|
+
},{"../Decorators":202,"./Transition":297}],257:[function(require,module,exports){
|
|
41151
41490
|
"use strict";
|
|
41152
41491
|
/*!
|
|
41153
41492
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41200,7 +41539,7 @@ ErrorInfo = __decorate([
|
|
|
41200
41539
|
], ErrorInfo);
|
|
41201
41540
|
exports.ErrorInfo = ErrorInfo;
|
|
41202
41541
|
|
|
41203
|
-
},{"../Decorators":
|
|
41542
|
+
},{"../Decorators":202,"./DecisionEventInfo":253}],258:[function(require,module,exports){
|
|
41204
41543
|
"use strict";
|
|
41205
41544
|
/*!
|
|
41206
41545
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41231,7 +41570,7 @@ __decorate([
|
|
|
41231
41570
|
], InvalidState.prototype, "stateType", null);
|
|
41232
41571
|
exports.InvalidState = InvalidState;
|
|
41233
41572
|
|
|
41234
|
-
},{"../Decorators":
|
|
41573
|
+
},{"../Decorators":202,"./ATNStateType":242,"./BasicState":248}],259:[function(require,module,exports){
|
|
41235
41574
|
"use strict";
|
|
41236
41575
|
/*!
|
|
41237
41576
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41453,7 +41792,7 @@ LL1Analyzer = __decorate([
|
|
|
41453
41792
|
], LL1Analyzer);
|
|
41454
41793
|
exports.LL1Analyzer = LL1Analyzer;
|
|
41455
41794
|
|
|
41456
|
-
},{"../Decorators":
|
|
41795
|
+
},{"../Decorators":202,"../Token":227,"../misc/Array2DHashSet":306,"../misc/BitSet":309,"../misc/IntervalSet":315,"../misc/ObjectEqualityComparator":318,"./ATNConfig":236,"./AbstractPredicateTransition":243,"./NotSetTransition":273,"./PredictionContext":282,"./RuleStopState":288,"./RuleTransition":289,"./WildcardTransition":298}],260:[function(require,module,exports){
|
|
41457
41796
|
"use strict";
|
|
41458
41797
|
/*!
|
|
41459
41798
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42170,7 +42509,7 @@ exports.LexerATNSimulator = LexerATNSimulator;
|
|
|
42170
42509
|
})(LexerATNSimulator = exports.LexerATNSimulator || (exports.LexerATNSimulator = {}));
|
|
42171
42510
|
exports.LexerATNSimulator = LexerATNSimulator;
|
|
42172
42511
|
|
|
42173
|
-
},{"../Decorators":
|
|
42512
|
+
},{"../Decorators":202,"../IntStream":208,"../Lexer":210,"../LexerNoViableAltException":212,"../Token":227,"../dfa/AcceptStateInfo":299,"../dfa/DFAState":302,"../misc/Interval":314,"./ATN":235,"./ATNConfig":236,"./ATNConfigSet":237,"./ATNSimulator":240,"./LexerActionExecutor":261,"./OrderedATNConfigSet":274,"./PredictionContext":282,"./RuleStopState":288,"assert":345}],261:[function(require,module,exports){
|
|
42174
42513
|
"use strict";
|
|
42175
42514
|
/*!
|
|
42176
42515
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42371,7 +42710,7 @@ LexerActionExecutor = __decorate([
|
|
|
42371
42710
|
], LexerActionExecutor);
|
|
42372
42711
|
exports.LexerActionExecutor = LexerActionExecutor;
|
|
42373
42712
|
|
|
42374
|
-
},{"../Decorators":
|
|
42713
|
+
},{"../Decorators":202,"../misc/ArrayEqualityComparator":307,"../misc/MurmurHash":317,"./LexerIndexedCustomAction":264}],262:[function(require,module,exports){
|
|
42375
42714
|
"use strict";
|
|
42376
42715
|
/*!
|
|
42377
42716
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42476,7 +42815,7 @@ __decorate([
|
|
|
42476
42815
|
], LexerChannelAction.prototype, "toString", null);
|
|
42477
42816
|
exports.LexerChannelAction = LexerChannelAction;
|
|
42478
42817
|
|
|
42479
|
-
},{"../Decorators":
|
|
42818
|
+
},{"../Decorators":202,"../misc/MurmurHash":317}],263:[function(require,module,exports){
|
|
42480
42819
|
"use strict";
|
|
42481
42820
|
/*!
|
|
42482
42821
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42605,7 +42944,7 @@ __decorate([
|
|
|
42605
42944
|
], LexerCustomAction.prototype, "equals", null);
|
|
42606
42945
|
exports.LexerCustomAction = LexerCustomAction;
|
|
42607
42946
|
|
|
42608
|
-
},{"../Decorators":
|
|
42947
|
+
},{"../Decorators":202,"../misc/MurmurHash":317}],264:[function(require,module,exports){
|
|
42609
42948
|
"use strict";
|
|
42610
42949
|
/*!
|
|
42611
42950
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42740,7 +43079,7 @@ LexerIndexedCustomAction = __decorate([
|
|
|
42740
43079
|
], LexerIndexedCustomAction);
|
|
42741
43080
|
exports.LexerIndexedCustomAction = LexerIndexedCustomAction;
|
|
42742
43081
|
|
|
42743
|
-
},{"../Decorators":
|
|
43082
|
+
},{"../Decorators":202,"../misc/MurmurHash":317}],265:[function(require,module,exports){
|
|
42744
43083
|
"use strict";
|
|
42745
43084
|
/*!
|
|
42746
43085
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42845,7 +43184,7 @@ __decorate([
|
|
|
42845
43184
|
], LexerModeAction.prototype, "toString", null);
|
|
42846
43185
|
exports.LexerModeAction = LexerModeAction;
|
|
42847
43186
|
|
|
42848
|
-
},{"../Decorators":
|
|
43187
|
+
},{"../Decorators":202,"../misc/MurmurHash":317}],266:[function(require,module,exports){
|
|
42849
43188
|
"use strict";
|
|
42850
43189
|
/*!
|
|
42851
43190
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42941,7 +43280,7 @@ exports.LexerMoreAction = LexerMoreAction;
|
|
|
42941
43280
|
LexerMoreAction.INSTANCE = new LexerMoreAction();
|
|
42942
43281
|
})(LexerMoreAction = exports.LexerMoreAction || (exports.LexerMoreAction = {}));
|
|
42943
43282
|
|
|
42944
|
-
},{"../Decorators":
|
|
43283
|
+
},{"../Decorators":202,"../misc/MurmurHash":317}],267:[function(require,module,exports){
|
|
42945
43284
|
"use strict";
|
|
42946
43285
|
/*!
|
|
42947
43286
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43037,7 +43376,7 @@ exports.LexerPopModeAction = LexerPopModeAction;
|
|
|
43037
43376
|
LexerPopModeAction.INSTANCE = new LexerPopModeAction();
|
|
43038
43377
|
})(LexerPopModeAction = exports.LexerPopModeAction || (exports.LexerPopModeAction = {}));
|
|
43039
43378
|
|
|
43040
|
-
},{"../Decorators":
|
|
43379
|
+
},{"../Decorators":202,"../misc/MurmurHash":317}],268:[function(require,module,exports){
|
|
43041
43380
|
"use strict";
|
|
43042
43381
|
/*!
|
|
43043
43382
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43142,7 +43481,7 @@ __decorate([
|
|
|
43142
43481
|
], LexerPushModeAction.prototype, "toString", null);
|
|
43143
43482
|
exports.LexerPushModeAction = LexerPushModeAction;
|
|
43144
43483
|
|
|
43145
|
-
},{"../Decorators":
|
|
43484
|
+
},{"../Decorators":202,"../misc/MurmurHash":317}],269:[function(require,module,exports){
|
|
43146
43485
|
"use strict";
|
|
43147
43486
|
/*!
|
|
43148
43487
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43238,7 +43577,7 @@ exports.LexerSkipAction = LexerSkipAction;
|
|
|
43238
43577
|
LexerSkipAction.INSTANCE = new LexerSkipAction();
|
|
43239
43578
|
})(LexerSkipAction = exports.LexerSkipAction || (exports.LexerSkipAction = {}));
|
|
43240
43579
|
|
|
43241
|
-
},{"../Decorators":
|
|
43580
|
+
},{"../Decorators":202,"../misc/MurmurHash":317}],270:[function(require,module,exports){
|
|
43242
43581
|
"use strict";
|
|
43243
43582
|
/*!
|
|
43244
43583
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43342,7 +43681,7 @@ __decorate([
|
|
|
43342
43681
|
], LexerTypeAction.prototype, "toString", null);
|
|
43343
43682
|
exports.LexerTypeAction = LexerTypeAction;
|
|
43344
43683
|
|
|
43345
|
-
},{"../Decorators":
|
|
43684
|
+
},{"../Decorators":202,"../misc/MurmurHash":317}],271:[function(require,module,exports){
|
|
43346
43685
|
"use strict";
|
|
43347
43686
|
/*!
|
|
43348
43687
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43394,7 +43733,7 @@ LookaheadEventInfo = __decorate([
|
|
|
43394
43733
|
], LookaheadEventInfo);
|
|
43395
43734
|
exports.LookaheadEventInfo = LookaheadEventInfo;
|
|
43396
43735
|
|
|
43397
|
-
},{"../Decorators":
|
|
43736
|
+
},{"../Decorators":202,"./DecisionEventInfo":253}],272:[function(require,module,exports){
|
|
43398
43737
|
"use strict";
|
|
43399
43738
|
/*!
|
|
43400
43739
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43423,7 +43762,7 @@ __decorate([
|
|
|
43423
43762
|
], LoopEndState.prototype, "stateType", null);
|
|
43424
43763
|
exports.LoopEndState = LoopEndState;
|
|
43425
43764
|
|
|
43426
|
-
},{"../Decorators":
|
|
43765
|
+
},{"../Decorators":202,"./ATNState":241,"./ATNStateType":242}],273:[function(require,module,exports){
|
|
43427
43766
|
"use strict";
|
|
43428
43767
|
/*!
|
|
43429
43768
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43472,7 +43811,7 @@ NotSetTransition = __decorate([
|
|
|
43472
43811
|
], NotSetTransition);
|
|
43473
43812
|
exports.NotSetTransition = NotSetTransition;
|
|
43474
43813
|
|
|
43475
|
-
},{"../Decorators":
|
|
43814
|
+
},{"../Decorators":202,"./SetTransition":291}],274:[function(require,module,exports){
|
|
43476
43815
|
"use strict";
|
|
43477
43816
|
/*!
|
|
43478
43817
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43527,7 +43866,7 @@ __decorate([
|
|
|
43527
43866
|
], OrderedATNConfigSet.prototype, "canMerge", null);
|
|
43528
43867
|
exports.OrderedATNConfigSet = OrderedATNConfigSet;
|
|
43529
43868
|
|
|
43530
|
-
},{"../Decorators":
|
|
43869
|
+
},{"../Decorators":202,"./ATNConfigSet":237}],275:[function(require,module,exports){
|
|
43531
43870
|
"use strict";
|
|
43532
43871
|
/*!
|
|
43533
43872
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43689,7 +44028,7 @@ ParseInfo = __decorate([
|
|
|
43689
44028
|
], ParseInfo);
|
|
43690
44029
|
exports.ParseInfo = ParseInfo;
|
|
43691
44030
|
|
|
43692
|
-
},{"../Decorators":
|
|
44031
|
+
},{"../Decorators":202}],276:[function(require,module,exports){
|
|
43693
44032
|
"use strict";
|
|
43694
44033
|
/*!
|
|
43695
44034
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45962,7 +46301,7 @@ ParserATNSimulator = __decorate([
|
|
|
45962
46301
|
], ParserATNSimulator);
|
|
45963
46302
|
exports.ParserATNSimulator = ParserATNSimulator;
|
|
45964
46303
|
|
|
45965
|
-
},{"../Decorators":
|
|
46304
|
+
},{"../Decorators":202,"../IntStream":208,"../NoViableAltException":214,"../ParserRuleContext":218,"../Token":227,"../VocabularyImpl":233,"../dfa/AcceptStateInfo":299,"../dfa/DFAState":302,"../misc/Array2DHashSet":306,"../misc/Arrays":308,"../misc/BitSet":309,"../misc/IntegerList":312,"../misc/Interval":314,"../misc/ObjectEqualityComparator":318,"./ATN":235,"./ATNConfig":236,"./ATNConfigSet":237,"./ATNSimulator":240,"./ATNStateType":242,"./ActionTransition":244,"./AtomTransition":246,"./ConflictInfo":251,"./DecisionState":255,"./NotSetTransition":273,"./PredictionContext":282,"./PredictionContextCache":283,"./PredictionMode":284,"./RuleStopState":288,"./RuleTransition":289,"./SemanticContext":290,"./SetTransition":291,"./SimulatorState":292,"assert":345}],277:[function(require,module,exports){
|
|
45966
46305
|
"use strict";
|
|
45967
46306
|
/*!
|
|
45968
46307
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45995,7 +46334,7 @@ __decorate([
|
|
|
45995
46334
|
], PlusBlockStartState.prototype, "stateType", null);
|
|
45996
46335
|
exports.PlusBlockStartState = PlusBlockStartState;
|
|
45997
46336
|
|
|
45998
|
-
},{"../Decorators":
|
|
46337
|
+
},{"../Decorators":202,"./ATNStateType":242,"./BlockStartState":250}],278:[function(require,module,exports){
|
|
45999
46338
|
"use strict";
|
|
46000
46339
|
/*!
|
|
46001
46340
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46026,7 +46365,7 @@ __decorate([
|
|
|
46026
46365
|
], PlusLoopbackState.prototype, "stateType", null);
|
|
46027
46366
|
exports.PlusLoopbackState = PlusLoopbackState;
|
|
46028
46367
|
|
|
46029
|
-
},{"../Decorators":
|
|
46368
|
+
},{"../Decorators":202,"./ATNStateType":242,"./DecisionState":255}],279:[function(require,module,exports){
|
|
46030
46369
|
"use strict";
|
|
46031
46370
|
/*!
|
|
46032
46371
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46089,7 +46428,7 @@ PrecedencePredicateTransition = __decorate([
|
|
|
46089
46428
|
], PrecedencePredicateTransition);
|
|
46090
46429
|
exports.PrecedencePredicateTransition = PrecedencePredicateTransition;
|
|
46091
46430
|
|
|
46092
|
-
},{"../Decorators":
|
|
46431
|
+
},{"../Decorators":202,"./AbstractPredicateTransition":243,"./SemanticContext":290}],280:[function(require,module,exports){
|
|
46093
46432
|
"use strict";
|
|
46094
46433
|
/*!
|
|
46095
46434
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46152,7 +46491,7 @@ PredicateEvalInfo = __decorate([
|
|
|
46152
46491
|
], PredicateEvalInfo);
|
|
46153
46492
|
exports.PredicateEvalInfo = PredicateEvalInfo;
|
|
46154
46493
|
|
|
46155
|
-
},{"../Decorators":
|
|
46494
|
+
},{"../Decorators":202,"./DecisionEventInfo":253}],281:[function(require,module,exports){
|
|
46156
46495
|
"use strict";
|
|
46157
46496
|
/*!
|
|
46158
46497
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46218,7 +46557,7 @@ PredicateTransition = __decorate([
|
|
|
46218
46557
|
], PredicateTransition);
|
|
46219
46558
|
exports.PredicateTransition = PredicateTransition;
|
|
46220
46559
|
|
|
46221
|
-
},{"../Decorators":
|
|
46560
|
+
},{"../Decorators":202,"./AbstractPredicateTransition":243,"./SemanticContext":290}],282:[function(require,module,exports){
|
|
46222
46561
|
"use strict";
|
|
46223
46562
|
/*!
|
|
46224
46563
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46909,7 +47248,7 @@ exports.SingletonPredictionContext = SingletonPredictionContext;
|
|
|
46909
47248
|
PredictionContext.IdentityEqualityComparator = IdentityEqualityComparator;
|
|
46910
47249
|
})(PredictionContext = exports.PredictionContext || (exports.PredictionContext = {}));
|
|
46911
47250
|
|
|
46912
|
-
},{"../Decorators":
|
|
47251
|
+
},{"../Decorators":202,"../misc/Array2DHashMap":305,"../misc/Array2DHashSet":306,"../misc/Arrays":308,"../misc/MurmurHash":317,"./PredictionContextCache":283,"assert":345}],283:[function(require,module,exports){
|
|
46913
47252
|
"use strict";
|
|
46914
47253
|
/*!
|
|
46915
47254
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47050,7 +47389,7 @@ PredictionContextCache.UNCACHED = new PredictionContextCache(false);
|
|
|
47050
47389
|
PredictionContextCache.IdentityCommutativePredictionContextOperands = IdentityCommutativePredictionContextOperands;
|
|
47051
47390
|
})(PredictionContextCache = exports.PredictionContextCache || (exports.PredictionContextCache = {}));
|
|
47052
47391
|
|
|
47053
|
-
},{"../Decorators":
|
|
47392
|
+
},{"../Decorators":202,"../misc/Array2DHashMap":305,"../misc/ObjectEqualityComparator":318,"./PredictionContext":282,"assert":345}],284:[function(require,module,exports){
|
|
47054
47393
|
"use strict";
|
|
47055
47394
|
/*!
|
|
47056
47395
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47211,7 +47550,7 @@ var PredictionMode;
|
|
|
47211
47550
|
PredictionMode.allConfigsInRuleStopStates = allConfigsInRuleStopStates;
|
|
47212
47551
|
})(PredictionMode = exports.PredictionMode || (exports.PredictionMode = {}));
|
|
47213
47552
|
|
|
47214
|
-
},{"../Decorators":
|
|
47553
|
+
},{"../Decorators":202,"../misc/Array2DHashMap":305,"../misc/MurmurHash":317,"./RuleStopState":288}],285:[function(require,module,exports){
|
|
47215
47554
|
(function (process){(function (){
|
|
47216
47555
|
"use strict";
|
|
47217
47556
|
/*!
|
|
@@ -47480,7 +47819,7 @@ __decorate([
|
|
|
47480
47819
|
exports.ProfilingATNSimulator = ProfilingATNSimulator;
|
|
47481
47820
|
|
|
47482
47821
|
}).call(this)}).call(this,require('_process'))
|
|
47483
|
-
},{"../Decorators":
|
|
47822
|
+
},{"../Decorators":202,"./ATN":235,"./ATNSimulator":240,"./AmbiguityInfo":245,"./ContextSensitivityInfo":252,"./DecisionInfo":254,"./ErrorInfo":257,"./LookaheadEventInfo":271,"./ParserATNSimulator":276,"./PredicateEvalInfo":280,"./SemanticContext":290,"./SimulatorState":292,"_process":404}],286:[function(require,module,exports){
|
|
47484
47823
|
"use strict";
|
|
47485
47824
|
/*!
|
|
47486
47825
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47538,7 +47877,7 @@ RangeTransition = __decorate([
|
|
|
47538
47877
|
], RangeTransition);
|
|
47539
47878
|
exports.RangeTransition = RangeTransition;
|
|
47540
47879
|
|
|
47541
|
-
},{"../Decorators":
|
|
47880
|
+
},{"../Decorators":202,"../misc/IntervalSet":315,"./Transition":297}],287:[function(require,module,exports){
|
|
47542
47881
|
"use strict";
|
|
47543
47882
|
/*!
|
|
47544
47883
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47571,7 +47910,7 @@ __decorate([
|
|
|
47571
47910
|
], RuleStartState.prototype, "stateType", null);
|
|
47572
47911
|
exports.RuleStartState = RuleStartState;
|
|
47573
47912
|
|
|
47574
|
-
},{"../Decorators":
|
|
47913
|
+
},{"../Decorators":202,"./ATNState":241,"./ATNStateType":242}],288:[function(require,module,exports){
|
|
47575
47914
|
"use strict";
|
|
47576
47915
|
/*!
|
|
47577
47916
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47610,7 +47949,7 @@ __decorate([
|
|
|
47610
47949
|
], RuleStopState.prototype, "stateType", null);
|
|
47611
47950
|
exports.RuleStopState = RuleStopState;
|
|
47612
47951
|
|
|
47613
|
-
},{"../Decorators":
|
|
47952
|
+
},{"../Decorators":202,"./ATNState":241,"./ATNStateType":242}],289:[function(require,module,exports){
|
|
47614
47953
|
"use strict";
|
|
47615
47954
|
/*!
|
|
47616
47955
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47666,7 +48005,7 @@ RuleTransition = __decorate([
|
|
|
47666
48005
|
], RuleTransition);
|
|
47667
48006
|
exports.RuleTransition = RuleTransition;
|
|
47668
48007
|
|
|
47669
|
-
},{"../Decorators":
|
|
48008
|
+
},{"../Decorators":202,"./Transition":297}],290:[function(require,module,exports){
|
|
47670
48009
|
"use strict";
|
|
47671
48010
|
/*!
|
|
47672
48011
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48146,7 +48485,7 @@ exports.SemanticContext = SemanticContext;
|
|
|
48146
48485
|
SemanticContext.OR = OR;
|
|
48147
48486
|
})(SemanticContext = exports.SemanticContext || (exports.SemanticContext = {}));
|
|
48148
48487
|
|
|
48149
|
-
},{"../Decorators":
|
|
48488
|
+
},{"../Decorators":202,"../misc/Array2DHashSet":306,"../misc/ArrayEqualityComparator":307,"../misc/MurmurHash":317,"../misc/ObjectEqualityComparator":318,"../misc/Utils":321}],291:[function(require,module,exports){
|
|
48150
48489
|
"use strict";
|
|
48151
48490
|
/*!
|
|
48152
48491
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48212,7 +48551,7 @@ SetTransition = __decorate([
|
|
|
48212
48551
|
], SetTransition);
|
|
48213
48552
|
exports.SetTransition = SetTransition;
|
|
48214
48553
|
|
|
48215
|
-
},{"../Decorators":
|
|
48554
|
+
},{"../Decorators":202,"../Token":227,"../misc/IntervalSet":315,"./Transition":297}],292:[function(require,module,exports){
|
|
48216
48555
|
"use strict";
|
|
48217
48556
|
/*!
|
|
48218
48557
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48248,7 +48587,7 @@ SimulatorState = __decorate([
|
|
|
48248
48587
|
], SimulatorState);
|
|
48249
48588
|
exports.SimulatorState = SimulatorState;
|
|
48250
48589
|
|
|
48251
|
-
},{"../Decorators":
|
|
48590
|
+
},{"../Decorators":202,"../ParserRuleContext":218}],293:[function(require,module,exports){
|
|
48252
48591
|
"use strict";
|
|
48253
48592
|
/*!
|
|
48254
48593
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48276,7 +48615,7 @@ __decorate([
|
|
|
48276
48615
|
], StarBlockStartState.prototype, "stateType", null);
|
|
48277
48616
|
exports.StarBlockStartState = StarBlockStartState;
|
|
48278
48617
|
|
|
48279
|
-
},{"../Decorators":
|
|
48618
|
+
},{"../Decorators":202,"./ATNStateType":242,"./BlockStartState":250}],294:[function(require,module,exports){
|
|
48280
48619
|
"use strict";
|
|
48281
48620
|
/*!
|
|
48282
48621
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48333,7 +48672,7 @@ __decorate([
|
|
|
48333
48672
|
], StarLoopEntryState.prototype, "stateType", null);
|
|
48334
48673
|
exports.StarLoopEntryState = StarLoopEntryState;
|
|
48335
48674
|
|
|
48336
|
-
},{"../Decorators":
|
|
48675
|
+
},{"../Decorators":202,"../misc/BitSet":309,"./ATNStateType":242,"./DecisionState":255}],295:[function(require,module,exports){
|
|
48337
48676
|
"use strict";
|
|
48338
48677
|
/*!
|
|
48339
48678
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48364,7 +48703,7 @@ __decorate([
|
|
|
48364
48703
|
], StarLoopbackState.prototype, "stateType", null);
|
|
48365
48704
|
exports.StarLoopbackState = StarLoopbackState;
|
|
48366
48705
|
|
|
48367
|
-
},{"../Decorators":
|
|
48706
|
+
},{"../Decorators":202,"./ATNState":241,"./ATNStateType":242}],296:[function(require,module,exports){
|
|
48368
48707
|
"use strict";
|
|
48369
48708
|
/*!
|
|
48370
48709
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48393,7 +48732,7 @@ __decorate([
|
|
|
48393
48732
|
], TokensStartState.prototype, "stateType", null);
|
|
48394
48733
|
exports.TokensStartState = TokensStartState;
|
|
48395
48734
|
|
|
48396
|
-
},{"../Decorators":
|
|
48735
|
+
},{"../Decorators":202,"./ATNStateType":242,"./DecisionState":255}],297:[function(require,module,exports){
|
|
48397
48736
|
"use strict";
|
|
48398
48737
|
/*!
|
|
48399
48738
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48467,7 +48806,7 @@ Transition = __decorate([
|
|
|
48467
48806
|
], Transition);
|
|
48468
48807
|
exports.Transition = Transition;
|
|
48469
48808
|
|
|
48470
|
-
},{"../Decorators":
|
|
48809
|
+
},{"../Decorators":202}],298:[function(require,module,exports){
|
|
48471
48810
|
"use strict";
|
|
48472
48811
|
/*!
|
|
48473
48812
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48515,7 +48854,7 @@ WildcardTransition = __decorate([
|
|
|
48515
48854
|
], WildcardTransition);
|
|
48516
48855
|
exports.WildcardTransition = WildcardTransition;
|
|
48517
48856
|
|
|
48518
|
-
},{"../Decorators":
|
|
48857
|
+
},{"../Decorators":202,"./Transition":297}],299:[function(require,module,exports){
|
|
48519
48858
|
"use strict";
|
|
48520
48859
|
/*!
|
|
48521
48860
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48557,7 +48896,7 @@ class AcceptStateInfo {
|
|
|
48557
48896
|
}
|
|
48558
48897
|
exports.AcceptStateInfo = AcceptStateInfo;
|
|
48559
48898
|
|
|
48560
|
-
},{}],
|
|
48899
|
+
},{}],300:[function(require,module,exports){
|
|
48561
48900
|
"use strict";
|
|
48562
48901
|
/*!
|
|
48563
48902
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48732,7 +49071,7 @@ DFA = __decorate([
|
|
|
48732
49071
|
], DFA);
|
|
48733
49072
|
exports.DFA = DFA;
|
|
48734
49073
|
|
|
48735
|
-
},{"../Decorators":
|
|
49074
|
+
},{"../Decorators":202,"../VocabularyImpl":233,"../atn/ATNConfigSet":237,"../atn/StarLoopEntryState":294,"../misc/Array2DHashSet":306,"../misc/ObjectEqualityComparator":318,"./DFASerializer":301,"./DFAState":302,"./LexerDFASerializer":303}],301:[function(require,module,exports){
|
|
48736
49075
|
"use strict";
|
|
48737
49076
|
/*!
|
|
48738
49077
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48874,7 +49213,7 @@ __decorate([
|
|
|
48874
49213
|
], DFASerializer.prototype, "toString", null);
|
|
48875
49214
|
exports.DFASerializer = DFASerializer;
|
|
48876
49215
|
|
|
48877
|
-
},{"../Decorators":
|
|
49216
|
+
},{"../Decorators":202,"../Recognizer":222,"../VocabularyImpl":233,"../atn/ATNSimulator":240,"../atn/PredictionContext":282}],302:[function(require,module,exports){
|
|
48878
49217
|
"use strict";
|
|
48879
49218
|
/*!
|
|
48880
49219
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49105,7 +49444,7 @@ exports.DFAState = DFAState;
|
|
|
49105
49444
|
DFAState.PredPrediction = PredPrediction;
|
|
49106
49445
|
})(DFAState = exports.DFAState || (exports.DFAState = {}));
|
|
49107
49446
|
|
|
49108
|
-
},{"../Decorators":
|
|
49447
|
+
},{"../Decorators":202,"../atn/ATN":235,"../atn/PredictionContext":282,"../misc/BitSet":309,"../misc/MurmurHash":317,"assert":345}],303:[function(require,module,exports){
|
|
49109
49448
|
"use strict";
|
|
49110
49449
|
/*!
|
|
49111
49450
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49142,7 +49481,7 @@ LexerDFASerializer = __decorate([
|
|
|
49142
49481
|
], LexerDFASerializer);
|
|
49143
49482
|
exports.LexerDFASerializer = LexerDFASerializer;
|
|
49144
49483
|
|
|
49145
|
-
},{"../Decorators":
|
|
49484
|
+
},{"../Decorators":202,"../VocabularyImpl":233,"./DFASerializer":301}],304:[function(require,module,exports){
|
|
49146
49485
|
"use strict";
|
|
49147
49486
|
/*!
|
|
49148
49487
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49208,7 +49547,7 @@ __exportStar(require("./Vocabulary"), exports);
|
|
|
49208
49547
|
__exportStar(require("./VocabularyImpl"), exports);
|
|
49209
49548
|
__exportStar(require("./WritableToken"), exports);
|
|
49210
49549
|
|
|
49211
|
-
},{"./ANTLRErrorListener":
|
|
49550
|
+
},{"./ANTLRErrorListener":189,"./ANTLRErrorStrategy":190,"./ANTLRInputStream":191,"./BailErrorStrategy":192,"./BufferedTokenStream":193,"./CharStream":194,"./CharStreams":195,"./CodePointBuffer":196,"./CodePointCharStream":197,"./CommonToken":198,"./CommonTokenFactory":199,"./CommonTokenStream":200,"./ConsoleErrorListener":201,"./DefaultErrorStrategy":203,"./Dependents":204,"./DiagnosticErrorListener":205,"./FailedPredicateException":206,"./InputMismatchException":207,"./IntStream":208,"./InterpreterRuleContext":209,"./Lexer":210,"./LexerInterpreter":211,"./LexerNoViableAltException":212,"./ListTokenSource":213,"./NoViableAltException":214,"./Parser":215,"./ParserErrorListener":216,"./ParserInterpreter":217,"./ParserRuleContext":218,"./ProxyErrorListener":219,"./ProxyParserErrorListener":220,"./RecognitionException":221,"./Recognizer":222,"./RuleContext":223,"./RuleContextWithAltNum":224,"./RuleDependency":225,"./RuleVersion":226,"./Token":227,"./TokenFactory":228,"./TokenSource":229,"./TokenStream":230,"./TokenStreamRewriter":231,"./Vocabulary":232,"./VocabularyImpl":233,"./WritableToken":234}],305:[function(require,module,exports){
|
|
49212
49551
|
"use strict";
|
|
49213
49552
|
/*!
|
|
49214
49553
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49291,7 +49630,7 @@ class Array2DHashMap {
|
|
|
49291
49630
|
}
|
|
49292
49631
|
exports.Array2DHashMap = Array2DHashMap;
|
|
49293
49632
|
|
|
49294
|
-
},{"./Array2DHashSet":
|
|
49633
|
+
},{"./Array2DHashSet":306}],306:[function(require,module,exports){
|
|
49295
49634
|
"use strict";
|
|
49296
49635
|
/*!
|
|
49297
49636
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49658,7 +49997,7 @@ __decorate([
|
|
|
49658
49997
|
], Array2DHashSet.prototype, "createBuckets", null);
|
|
49659
49998
|
exports.Array2DHashSet = Array2DHashSet;
|
|
49660
49999
|
|
|
49661
|
-
},{"../Decorators":
|
|
50000
|
+
},{"../Decorators":202,"./DefaultEqualityComparator":311,"./MurmurHash":317,"assert":345}],307:[function(require,module,exports){
|
|
49662
50001
|
"use strict";
|
|
49663
50002
|
/*!
|
|
49664
50003
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49730,7 +50069,7 @@ __decorate([
|
|
|
49730
50069
|
], ArrayEqualityComparator.prototype, "equals", null);
|
|
49731
50070
|
exports.ArrayEqualityComparator = ArrayEqualityComparator;
|
|
49732
50071
|
|
|
49733
|
-
},{"../Decorators":
|
|
50072
|
+
},{"../Decorators":202,"./MurmurHash":317,"./ObjectEqualityComparator":318}],308:[function(require,module,exports){
|
|
49734
50073
|
"use strict";
|
|
49735
50074
|
/*!
|
|
49736
50075
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49800,7 +50139,7 @@ var Arrays;
|
|
|
49800
50139
|
Arrays.toString = toString;
|
|
49801
50140
|
})(Arrays = exports.Arrays || (exports.Arrays = {}));
|
|
49802
50141
|
|
|
49803
|
-
},{}],
|
|
50142
|
+
},{}],309:[function(require,module,exports){
|
|
49804
50143
|
"use strict";
|
|
49805
50144
|
/*!
|
|
49806
50145
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50472,7 +50811,7 @@ class BitSetIterator {
|
|
|
50472
50811
|
[Symbol.iterator]() { return this; }
|
|
50473
50812
|
}
|
|
50474
50813
|
|
|
50475
|
-
},{"./MurmurHash":
|
|
50814
|
+
},{"./MurmurHash":317,"util":409}],310:[function(require,module,exports){
|
|
50476
50815
|
"use strict";
|
|
50477
50816
|
/*!
|
|
50478
50817
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50493,7 +50832,7 @@ function isSupplementaryCodePoint(ch) {
|
|
|
50493
50832
|
}
|
|
50494
50833
|
exports.isSupplementaryCodePoint = isSupplementaryCodePoint;
|
|
50495
50834
|
|
|
50496
|
-
},{}],
|
|
50835
|
+
},{}],311:[function(require,module,exports){
|
|
50497
50836
|
"use strict";
|
|
50498
50837
|
/*!
|
|
50499
50838
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50564,7 +50903,7 @@ __decorate([
|
|
|
50564
50903
|
], DefaultEqualityComparator.prototype, "equals", null);
|
|
50565
50904
|
exports.DefaultEqualityComparator = DefaultEqualityComparator;
|
|
50566
50905
|
|
|
50567
|
-
},{"../Decorators":
|
|
50906
|
+
},{"../Decorators":202,"./MurmurHash":317,"./ObjectEqualityComparator":318}],312:[function(require,module,exports){
|
|
50568
50907
|
"use strict";
|
|
50569
50908
|
/*!
|
|
50570
50909
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50858,7 +51197,7 @@ __decorate([
|
|
|
50858
51197
|
], IntegerList.prototype, "toString", null);
|
|
50859
51198
|
exports.IntegerList = IntegerList;
|
|
50860
51199
|
|
|
50861
|
-
},{"../Decorators":
|
|
51200
|
+
},{"../Decorators":202,"./Arrays":308}],313:[function(require,module,exports){
|
|
50862
51201
|
"use strict";
|
|
50863
51202
|
/*!
|
|
50864
51203
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50888,7 +51227,7 @@ class IntegerStack extends IntegerList_1.IntegerList {
|
|
|
50888
51227
|
}
|
|
50889
51228
|
exports.IntegerStack = IntegerStack;
|
|
50890
51229
|
|
|
50891
|
-
},{"./IntegerList":
|
|
51230
|
+
},{"./IntegerList":312}],314:[function(require,module,exports){
|
|
50892
51231
|
"use strict";
|
|
50893
51232
|
/*!
|
|
50894
51233
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51031,7 +51370,7 @@ __decorate([
|
|
|
51031
51370
|
], Interval.prototype, "toString", null);
|
|
51032
51371
|
exports.Interval = Interval;
|
|
51033
51372
|
|
|
51034
|
-
},{"../Decorators":
|
|
51373
|
+
},{"../Decorators":202}],315:[function(require,module,exports){
|
|
51035
51374
|
"use strict";
|
|
51036
51375
|
/*!
|
|
51037
51376
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51677,7 +52016,7 @@ __decorate([
|
|
|
51677
52016
|
], IntervalSet, "subtract", null);
|
|
51678
52017
|
exports.IntervalSet = IntervalSet;
|
|
51679
52018
|
|
|
51680
|
-
},{"../Decorators":
|
|
52019
|
+
},{"../Decorators":202,"../Lexer":210,"../Token":227,"./ArrayEqualityComparator":307,"./IntegerList":312,"./Interval":314,"./MurmurHash":317}],316:[function(require,module,exports){
|
|
51681
52020
|
"use strict";
|
|
51682
52021
|
/*!
|
|
51683
52022
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51710,7 +52049,7 @@ class MultiMap extends Map {
|
|
|
51710
52049
|
}
|
|
51711
52050
|
exports.MultiMap = MultiMap;
|
|
51712
52051
|
|
|
51713
|
-
},{}],
|
|
52052
|
+
},{}],317:[function(require,module,exports){
|
|
51714
52053
|
"use strict";
|
|
51715
52054
|
/*!
|
|
51716
52055
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51825,7 +52164,7 @@ var MurmurHash;
|
|
|
51825
52164
|
}
|
|
51826
52165
|
})(MurmurHash = exports.MurmurHash || (exports.MurmurHash = {}));
|
|
51827
52166
|
|
|
51828
|
-
},{}],
|
|
52167
|
+
},{}],318:[function(require,module,exports){
|
|
51829
52168
|
"use strict";
|
|
51830
52169
|
/*!
|
|
51831
52170
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51884,7 +52223,7 @@ __decorate([
|
|
|
51884
52223
|
], ObjectEqualityComparator.prototype, "equals", null);
|
|
51885
52224
|
exports.ObjectEqualityComparator = ObjectEqualityComparator;
|
|
51886
52225
|
|
|
51887
|
-
},{"../Decorators":
|
|
52226
|
+
},{"../Decorators":202}],319:[function(require,module,exports){
|
|
51888
52227
|
"use strict";
|
|
51889
52228
|
/*!
|
|
51890
52229
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51913,7 +52252,7 @@ class ParseCancellationException extends Error {
|
|
|
51913
52252
|
}
|
|
51914
52253
|
exports.ParseCancellationException = ParseCancellationException;
|
|
51915
52254
|
|
|
51916
|
-
},{}],
|
|
52255
|
+
},{}],320:[function(require,module,exports){
|
|
51917
52256
|
"use strict";
|
|
51918
52257
|
/*!
|
|
51919
52258
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51967,7 +52306,7 @@ class UUID {
|
|
|
51967
52306
|
}
|
|
51968
52307
|
exports.UUID = UUID;
|
|
51969
52308
|
|
|
51970
|
-
},{"./MurmurHash":
|
|
52309
|
+
},{"./MurmurHash":317}],321:[function(require,module,exports){
|
|
51971
52310
|
"use strict";
|
|
51972
52311
|
/*!
|
|
51973
52312
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52142,7 +52481,7 @@ exports.toCharArray = toCharArray;
|
|
|
52142
52481
|
// return s;
|
|
52143
52482
|
// }
|
|
52144
52483
|
|
|
52145
|
-
},{}],
|
|
52484
|
+
},{}],322:[function(require,module,exports){
|
|
52146
52485
|
"use strict";
|
|
52147
52486
|
/*!
|
|
52148
52487
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52178,7 +52517,7 @@ __decorate([
|
|
|
52178
52517
|
], ErrorNode.prototype, "accept", null);
|
|
52179
52518
|
exports.ErrorNode = ErrorNode;
|
|
52180
52519
|
|
|
52181
|
-
},{"../Decorators":
|
|
52520
|
+
},{"../Decorators":202,"./TerminalNode":325}],323:[function(require,module,exports){
|
|
52182
52521
|
"use strict";
|
|
52183
52522
|
/*!
|
|
52184
52523
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52283,7 +52622,7 @@ exports.ParseTreeWalker = ParseTreeWalker;
|
|
|
52283
52622
|
ParseTreeWalker.DEFAULT = new ParseTreeWalker();
|
|
52284
52623
|
})(ParseTreeWalker = exports.ParseTreeWalker || (exports.ParseTreeWalker = {}));
|
|
52285
52624
|
|
|
52286
|
-
},{"./ErrorNode":
|
|
52625
|
+
},{"./ErrorNode":322,"./RuleNode":324,"./TerminalNode":325}],324:[function(require,module,exports){
|
|
52287
52626
|
"use strict";
|
|
52288
52627
|
/*!
|
|
52289
52628
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52295,7 +52634,7 @@ class RuleNode {
|
|
|
52295
52634
|
}
|
|
52296
52635
|
exports.RuleNode = RuleNode;
|
|
52297
52636
|
|
|
52298
|
-
},{}],
|
|
52637
|
+
},{}],325:[function(require,module,exports){
|
|
52299
52638
|
"use strict";
|
|
52300
52639
|
/*!
|
|
52301
52640
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52387,7 +52726,7 @@ __decorate([
|
|
|
52387
52726
|
], TerminalNode.prototype, "toString", null);
|
|
52388
52727
|
exports.TerminalNode = TerminalNode;
|
|
52389
52728
|
|
|
52390
|
-
},{"../Decorators":
|
|
52729
|
+
},{"../Decorators":202,"../Token":227,"../misc/Interval":314}],326:[function(require,module,exports){
|
|
52391
52730
|
"use strict";
|
|
52392
52731
|
/*!
|
|
52393
52732
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52631,7 +52970,7 @@ __decorate([
|
|
|
52631
52970
|
], Trees, "getRootOfSubtreeEnclosingRegion", null);
|
|
52632
52971
|
exports.Trees = Trees;
|
|
52633
52972
|
|
|
52634
|
-
},{"../CommonToken":
|
|
52973
|
+
},{"../CommonToken":198,"../Decorators":202,"../Parser":215,"../ParserRuleContext":218,"../Token":227,"../atn/ATN":235,"../misc/Utils":321,"./ErrorNode":322,"./RuleNode":324,"./TerminalNode":325}],327:[function(require,module,exports){
|
|
52635
52974
|
"use strict";
|
|
52636
52975
|
/*!
|
|
52637
52976
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52655,7 +52994,7 @@ class Chunk {
|
|
|
52655
52994
|
}
|
|
52656
52995
|
exports.Chunk = Chunk;
|
|
52657
52996
|
|
|
52658
|
-
},{}],
|
|
52997
|
+
},{}],328:[function(require,module,exports){
|
|
52659
52998
|
"use strict";
|
|
52660
52999
|
/*!
|
|
52661
53000
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52835,7 +53174,7 @@ ParseTreeMatch = __decorate([
|
|
|
52835
53174
|
], ParseTreeMatch);
|
|
52836
53175
|
exports.ParseTreeMatch = ParseTreeMatch;
|
|
52837
53176
|
|
|
52838
|
-
},{"../../Decorators":
|
|
53177
|
+
},{"../../Decorators":202}],329:[function(require,module,exports){
|
|
52839
53178
|
"use strict";
|
|
52840
53179
|
/*!
|
|
52841
53180
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52993,7 +53332,7 @@ ParseTreePattern = __decorate([
|
|
|
52993
53332
|
], ParseTreePattern);
|
|
52994
53333
|
exports.ParseTreePattern = ParseTreePattern;
|
|
52995
53334
|
|
|
52996
|
-
},{"../../Decorators":
|
|
53335
|
+
},{"../../Decorators":202,"../xpath/XPath":335}],330:[function(require,module,exports){
|
|
52997
53336
|
"use strict";
|
|
52998
53337
|
/*!
|
|
52999
53338
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53471,7 +53810,7 @@ exports.ParseTreePatternMatcher = ParseTreePatternMatcher;
|
|
|
53471
53810
|
ParseTreePatternMatcher.StartRuleDoesNotConsumeFullPattern = StartRuleDoesNotConsumeFullPattern;
|
|
53472
53811
|
})(ParseTreePatternMatcher = exports.ParseTreePatternMatcher || (exports.ParseTreePatternMatcher = {}));
|
|
53473
53812
|
|
|
53474
|
-
},{"../../BailErrorStrategy":
|
|
53813
|
+
},{"../../BailErrorStrategy":192,"../../CharStreams":195,"../../CommonTokenStream":200,"../../Decorators":202,"../../ListTokenSource":213,"../../ParserInterpreter":217,"../../ParserRuleContext":218,"../../RecognitionException":221,"../../Token":227,"../../misc/MultiMap":316,"../../misc/ParseCancellationException":319,"../RuleNode":324,"../TerminalNode":325,"./ParseTreeMatch":328,"./ParseTreePattern":329,"./RuleTagToken":331,"./TagChunk":332,"./TextChunk":333,"./TokenTagToken":334}],331:[function(require,module,exports){
|
|
53475
53814
|
"use strict";
|
|
53476
53815
|
/*!
|
|
53477
53816
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53669,7 +54008,7 @@ RuleTagToken = __decorate([
|
|
|
53669
54008
|
], RuleTagToken);
|
|
53670
54009
|
exports.RuleTagToken = RuleTagToken;
|
|
53671
54010
|
|
|
53672
|
-
},{"../../Decorators":
|
|
54011
|
+
},{"../../Decorators":202,"../../Token":227}],332:[function(require,module,exports){
|
|
53673
54012
|
"use strict";
|
|
53674
54013
|
/*!
|
|
53675
54014
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53756,7 +54095,7 @@ __decorate([
|
|
|
53756
54095
|
], TagChunk.prototype, "toString", null);
|
|
53757
54096
|
exports.TagChunk = TagChunk;
|
|
53758
54097
|
|
|
53759
|
-
},{"../../Decorators":
|
|
54098
|
+
},{"../../Decorators":202,"./Chunk":327}],333:[function(require,module,exports){
|
|
53760
54099
|
"use strict";
|
|
53761
54100
|
/*!
|
|
53762
54101
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53826,7 +54165,7 @@ TextChunk = __decorate([
|
|
|
53826
54165
|
], TextChunk);
|
|
53827
54166
|
exports.TextChunk = TextChunk;
|
|
53828
54167
|
|
|
53829
|
-
},{"../../Decorators":
|
|
54168
|
+
},{"../../Decorators":202,"./Chunk":327}],334:[function(require,module,exports){
|
|
53830
54169
|
"use strict";
|
|
53831
54170
|
/*!
|
|
53832
54171
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53921,7 +54260,7 @@ TokenTagToken = __decorate([
|
|
|
53921
54260
|
], TokenTagToken);
|
|
53922
54261
|
exports.TokenTagToken = TokenTagToken;
|
|
53923
54262
|
|
|
53924
|
-
},{"../../CommonToken":
|
|
54263
|
+
},{"../../CommonToken":198,"../../Decorators":202}],335:[function(require,module,exports){
|
|
53925
54264
|
"use strict";
|
|
53926
54265
|
/*!
|
|
53927
54266
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54118,7 +54457,7 @@ exports.XPath = XPath;
|
|
|
54118
54457
|
XPath.WILDCARD = "*"; // word not operator/separator
|
|
54119
54458
|
XPath.NOT = "!"; // word for invert operator
|
|
54120
54459
|
|
|
54121
|
-
},{"../../CharStreams":
|
|
54460
|
+
},{"../../CharStreams":195,"../../CommonTokenStream":200,"../../LexerNoViableAltException":212,"../../ParserRuleContext":218,"../../Token":227,"./XPathLexer":337,"./XPathLexerErrorListener":338,"./XPathRuleAnywhereElement":339,"./XPathRuleElement":340,"./XPathTokenAnywhereElement":341,"./XPathTokenElement":342,"./XPathWildcardAnywhereElement":343,"./XPathWildcardElement":344}],336:[function(require,module,exports){
|
|
54122
54461
|
"use strict";
|
|
54123
54462
|
/*!
|
|
54124
54463
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54153,7 +54492,7 @@ __decorate([
|
|
|
54153
54492
|
], XPathElement.prototype, "toString", null);
|
|
54154
54493
|
exports.XPathElement = XPathElement;
|
|
54155
54494
|
|
|
54156
|
-
},{"../../Decorators":
|
|
54495
|
+
},{"../../Decorators":202}],337:[function(require,module,exports){
|
|
54157
54496
|
"use strict";
|
|
54158
54497
|
// Generated from XPathLexer.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
54159
54498
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -54628,7 +54967,7 @@ XPathLexer._serializedATN = Utils.join([
|
|
|
54628
54967
|
XPathLexer._serializedATNSegment1,
|
|
54629
54968
|
], "");
|
|
54630
54969
|
|
|
54631
|
-
},{"../../Lexer":
|
|
54970
|
+
},{"../../Lexer":210,"../../VocabularyImpl":233,"../../atn/ATNDeserializer":239,"../../atn/LexerATNSimulator":260,"../../misc/Utils":321}],338:[function(require,module,exports){
|
|
54632
54971
|
"use strict";
|
|
54633
54972
|
/*!
|
|
54634
54973
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54653,7 +54992,7 @@ __decorate([
|
|
|
54653
54992
|
], XPathLexerErrorListener.prototype, "syntaxError", null);
|
|
54654
54993
|
exports.XPathLexerErrorListener = XPathLexerErrorListener;
|
|
54655
54994
|
|
|
54656
|
-
},{"../../Decorators":
|
|
54995
|
+
},{"../../Decorators":202}],339:[function(require,module,exports){
|
|
54657
54996
|
"use strict";
|
|
54658
54997
|
/*!
|
|
54659
54998
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54687,7 +55026,7 @@ __decorate([
|
|
|
54687
55026
|
], XPathRuleAnywhereElement.prototype, "evaluate", null);
|
|
54688
55027
|
exports.XPathRuleAnywhereElement = XPathRuleAnywhereElement;
|
|
54689
55028
|
|
|
54690
|
-
},{"../../Decorators":
|
|
55029
|
+
},{"../../Decorators":202,"../Trees":326,"./XPathElement":336}],340:[function(require,module,exports){
|
|
54691
55030
|
"use strict";
|
|
54692
55031
|
/*!
|
|
54693
55032
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54730,7 +55069,7 @@ __decorate([
|
|
|
54730
55069
|
], XPathRuleElement.prototype, "evaluate", null);
|
|
54731
55070
|
exports.XPathRuleElement = XPathRuleElement;
|
|
54732
55071
|
|
|
54733
|
-
},{"../../Decorators":
|
|
55072
|
+
},{"../../Decorators":202,"../../ParserRuleContext":218,"../Trees":326,"./XPathElement":336}],341:[function(require,module,exports){
|
|
54734
55073
|
"use strict";
|
|
54735
55074
|
/*!
|
|
54736
55075
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54762,7 +55101,7 @@ __decorate([
|
|
|
54762
55101
|
], XPathTokenAnywhereElement.prototype, "evaluate", null);
|
|
54763
55102
|
exports.XPathTokenAnywhereElement = XPathTokenAnywhereElement;
|
|
54764
55103
|
|
|
54765
|
-
},{"../../Decorators":
|
|
55104
|
+
},{"../../Decorators":202,"../Trees":326,"./XPathElement":336}],342:[function(require,module,exports){
|
|
54766
55105
|
"use strict";
|
|
54767
55106
|
/*!
|
|
54768
55107
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54805,7 +55144,7 @@ __decorate([
|
|
|
54805
55144
|
], XPathTokenElement.prototype, "evaluate", null);
|
|
54806
55145
|
exports.XPathTokenElement = XPathTokenElement;
|
|
54807
55146
|
|
|
54808
|
-
},{"../../Decorators":
|
|
55147
|
+
},{"../../Decorators":202,"../TerminalNode":325,"../Trees":326,"./XPathElement":336}],343:[function(require,module,exports){
|
|
54809
55148
|
"use strict";
|
|
54810
55149
|
/*!
|
|
54811
55150
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54841,7 +55180,7 @@ __decorate([
|
|
|
54841
55180
|
], XPathWildcardAnywhereElement.prototype, "evaluate", null);
|
|
54842
55181
|
exports.XPathWildcardAnywhereElement = XPathWildcardAnywhereElement;
|
|
54843
55182
|
|
|
54844
|
-
},{"../../Decorators":
|
|
55183
|
+
},{"../../Decorators":202,"../Trees":326,"./XPath":335,"./XPathElement":336}],344:[function(require,module,exports){
|
|
54845
55184
|
"use strict";
|
|
54846
55185
|
/*!
|
|
54847
55186
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54881,7 +55220,7 @@ __decorate([
|
|
|
54881
55220
|
], XPathWildcardElement.prototype, "evaluate", null);
|
|
54882
55221
|
exports.XPathWildcardElement = XPathWildcardElement;
|
|
54883
55222
|
|
|
54884
|
-
},{"../../Decorators":
|
|
55223
|
+
},{"../../Decorators":202,"../Trees":326,"./XPath":335,"./XPathElement":336}],345:[function(require,module,exports){
|
|
54885
55224
|
(function (global){(function (){
|
|
54886
55225
|
'use strict';
|
|
54887
55226
|
|
|
@@ -55391,7 +55730,7 @@ var objectKeys = Object.keys || function (obj) {
|
|
|
55391
55730
|
};
|
|
55392
55731
|
|
|
55393
55732
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
55394
|
-
},{"object.assign/polyfill":
|
|
55733
|
+
},{"object.assign/polyfill":402,"util/":348}],346:[function(require,module,exports){
|
|
55395
55734
|
if (typeof Object.create === 'function') {
|
|
55396
55735
|
// implementation from standard node.js 'util' module
|
|
55397
55736
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -55416,14 +55755,14 @@ if (typeof Object.create === 'function') {
|
|
|
55416
55755
|
}
|
|
55417
55756
|
}
|
|
55418
55757
|
|
|
55419
|
-
},{}],
|
|
55758
|
+
},{}],347:[function(require,module,exports){
|
|
55420
55759
|
module.exports = function isBuffer(arg) {
|
|
55421
55760
|
return arg && typeof arg === 'object'
|
|
55422
55761
|
&& typeof arg.copy === 'function'
|
|
55423
55762
|
&& typeof arg.fill === 'function'
|
|
55424
55763
|
&& typeof arg.readUInt8 === 'function';
|
|
55425
55764
|
}
|
|
55426
|
-
},{}],
|
|
55765
|
+
},{}],348:[function(require,module,exports){
|
|
55427
55766
|
(function (process,global){(function (){
|
|
55428
55767
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
55429
55768
|
//
|
|
@@ -56013,7 +56352,7 @@ function hasOwnProperty(obj, prop) {
|
|
|
56013
56352
|
}
|
|
56014
56353
|
|
|
56015
56354
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
56016
|
-
},{"./support/isBuffer":
|
|
56355
|
+
},{"./support/isBuffer":347,"_process":404,"inherits":346}],349:[function(require,module,exports){
|
|
56017
56356
|
(function (global){(function (){
|
|
56018
56357
|
'use strict';
|
|
56019
56358
|
|
|
@@ -56034,7 +56373,7 @@ module.exports = function availableTypedArrays() {
|
|
|
56034
56373
|
};
|
|
56035
56374
|
|
|
56036
56375
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
56037
|
-
},{"possible-typed-array-names":
|
|
56376
|
+
},{"possible-typed-array-names":403}],350:[function(require,module,exports){
|
|
56038
56377
|
(function (process,global){(function (){
|
|
56039
56378
|
module.exports = process.hrtime || hrtime
|
|
56040
56379
|
|
|
@@ -56065,7 +56404,7 @@ function hrtime(previousTimestamp){
|
|
|
56065
56404
|
return [seconds,nanoseconds]
|
|
56066
56405
|
}
|
|
56067
56406
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
56068
|
-
},{"_process":
|
|
56407
|
+
},{"_process":404}],351:[function(require,module,exports){
|
|
56069
56408
|
'use strict';
|
|
56070
56409
|
|
|
56071
56410
|
var bind = require('function-bind');
|
|
@@ -56077,7 +56416,7 @@ var $reflectApply = require('./reflectApply');
|
|
|
56077
56416
|
/** @type {import('./actualApply')} */
|
|
56078
56417
|
module.exports = $reflectApply || bind.call($call, $apply);
|
|
56079
56418
|
|
|
56080
|
-
},{"./functionApply":
|
|
56419
|
+
},{"./functionApply":353,"./functionCall":354,"./reflectApply":356,"function-bind":372}],352:[function(require,module,exports){
|
|
56081
56420
|
'use strict';
|
|
56082
56421
|
|
|
56083
56422
|
var bind = require('function-bind');
|
|
@@ -56089,19 +56428,19 @@ module.exports = function applyBind() {
|
|
|
56089
56428
|
return actualApply(bind, $apply, arguments);
|
|
56090
56429
|
};
|
|
56091
56430
|
|
|
56092
|
-
},{"./actualApply":
|
|
56431
|
+
},{"./actualApply":351,"./functionApply":353,"function-bind":372}],353:[function(require,module,exports){
|
|
56093
56432
|
'use strict';
|
|
56094
56433
|
|
|
56095
56434
|
/** @type {import('./functionApply')} */
|
|
56096
56435
|
module.exports = Function.prototype.apply;
|
|
56097
56436
|
|
|
56098
|
-
},{}],
|
|
56437
|
+
},{}],354:[function(require,module,exports){
|
|
56099
56438
|
'use strict';
|
|
56100
56439
|
|
|
56101
56440
|
/** @type {import('./functionCall')} */
|
|
56102
56441
|
module.exports = Function.prototype.call;
|
|
56103
56442
|
|
|
56104
|
-
},{}],
|
|
56443
|
+
},{}],355:[function(require,module,exports){
|
|
56105
56444
|
'use strict';
|
|
56106
56445
|
|
|
56107
56446
|
var bind = require('function-bind');
|
|
@@ -56118,13 +56457,13 @@ module.exports = function callBindBasic(args) {
|
|
|
56118
56457
|
return $actualApply(bind, $call, args);
|
|
56119
56458
|
};
|
|
56120
56459
|
|
|
56121
|
-
},{"./actualApply":
|
|
56460
|
+
},{"./actualApply":351,"./functionCall":354,"es-errors/type":367,"function-bind":372}],356:[function(require,module,exports){
|
|
56122
56461
|
'use strict';
|
|
56123
56462
|
|
|
56124
56463
|
/** @type {import('./reflectApply')} */
|
|
56125
56464
|
module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
|
|
56126
56465
|
|
|
56127
|
-
},{}],
|
|
56466
|
+
},{}],357:[function(require,module,exports){
|
|
56128
56467
|
'use strict';
|
|
56129
56468
|
|
|
56130
56469
|
var setFunctionLength = require('set-function-length');
|
|
@@ -56150,7 +56489,7 @@ if ($defineProperty) {
|
|
|
56150
56489
|
module.exports.apply = applyBind;
|
|
56151
56490
|
}
|
|
56152
56491
|
|
|
56153
|
-
},{"call-bind-apply-helpers":
|
|
56492
|
+
},{"call-bind-apply-helpers":355,"call-bind-apply-helpers/applyBind":352,"es-define-property":361,"set-function-length":406}],358:[function(require,module,exports){
|
|
56154
56493
|
'use strict';
|
|
56155
56494
|
|
|
56156
56495
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -56171,7 +56510,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
56171
56510
|
return intrinsic;
|
|
56172
56511
|
};
|
|
56173
56512
|
|
|
56174
|
-
},{"call-bind-apply-helpers":
|
|
56513
|
+
},{"call-bind-apply-helpers":355,"get-intrinsic":373}],359:[function(require,module,exports){
|
|
56175
56514
|
'use strict';
|
|
56176
56515
|
|
|
56177
56516
|
var $defineProperty = require('es-define-property');
|
|
@@ -56229,7 +56568,7 @@ module.exports = function defineDataProperty(
|
|
|
56229
56568
|
}
|
|
56230
56569
|
};
|
|
56231
56570
|
|
|
56232
|
-
},{"es-define-property":
|
|
56571
|
+
},{"es-define-property":361,"es-errors/syntax":366,"es-errors/type":367,"gopd":378}],360:[function(require,module,exports){
|
|
56233
56572
|
'use strict';
|
|
56234
56573
|
|
|
56235
56574
|
var callBind = require('call-bind-apply-helpers');
|
|
@@ -56261,7 +56600,7 @@ module.exports = desc && typeof desc.get === 'function'
|
|
|
56261
56600
|
}
|
|
56262
56601
|
: false;
|
|
56263
56602
|
|
|
56264
|
-
},{"call-bind-apply-helpers":
|
|
56603
|
+
},{"call-bind-apply-helpers":355,"gopd":378}],361:[function(require,module,exports){
|
|
56265
56604
|
'use strict';
|
|
56266
56605
|
|
|
56267
56606
|
/** @type {import('.')} */
|
|
@@ -56277,55 +56616,55 @@ if ($defineProperty) {
|
|
|
56277
56616
|
|
|
56278
56617
|
module.exports = $defineProperty;
|
|
56279
56618
|
|
|
56280
|
-
},{}],
|
|
56619
|
+
},{}],362:[function(require,module,exports){
|
|
56281
56620
|
'use strict';
|
|
56282
56621
|
|
|
56283
56622
|
/** @type {import('./eval')} */
|
|
56284
56623
|
module.exports = EvalError;
|
|
56285
56624
|
|
|
56286
|
-
},{}],
|
|
56625
|
+
},{}],363:[function(require,module,exports){
|
|
56287
56626
|
'use strict';
|
|
56288
56627
|
|
|
56289
56628
|
/** @type {import('.')} */
|
|
56290
56629
|
module.exports = Error;
|
|
56291
56630
|
|
|
56292
|
-
},{}],
|
|
56631
|
+
},{}],364:[function(require,module,exports){
|
|
56293
56632
|
'use strict';
|
|
56294
56633
|
|
|
56295
56634
|
/** @type {import('./range')} */
|
|
56296
56635
|
module.exports = RangeError;
|
|
56297
56636
|
|
|
56298
|
-
},{}],
|
|
56637
|
+
},{}],365:[function(require,module,exports){
|
|
56299
56638
|
'use strict';
|
|
56300
56639
|
|
|
56301
56640
|
/** @type {import('./ref')} */
|
|
56302
56641
|
module.exports = ReferenceError;
|
|
56303
56642
|
|
|
56304
|
-
},{}],
|
|
56643
|
+
},{}],366:[function(require,module,exports){
|
|
56305
56644
|
'use strict';
|
|
56306
56645
|
|
|
56307
56646
|
/** @type {import('./syntax')} */
|
|
56308
56647
|
module.exports = SyntaxError;
|
|
56309
56648
|
|
|
56310
|
-
},{}],
|
|
56649
|
+
},{}],367:[function(require,module,exports){
|
|
56311
56650
|
'use strict';
|
|
56312
56651
|
|
|
56313
56652
|
/** @type {import('./type')} */
|
|
56314
56653
|
module.exports = TypeError;
|
|
56315
56654
|
|
|
56316
|
-
},{}],
|
|
56655
|
+
},{}],368:[function(require,module,exports){
|
|
56317
56656
|
'use strict';
|
|
56318
56657
|
|
|
56319
56658
|
/** @type {import('./uri')} */
|
|
56320
56659
|
module.exports = URIError;
|
|
56321
56660
|
|
|
56322
|
-
},{}],
|
|
56661
|
+
},{}],369:[function(require,module,exports){
|
|
56323
56662
|
'use strict';
|
|
56324
56663
|
|
|
56325
56664
|
/** @type {import('.')} */
|
|
56326
56665
|
module.exports = Object;
|
|
56327
56666
|
|
|
56328
|
-
},{}],
|
|
56667
|
+
},{}],370:[function(require,module,exports){
|
|
56329
56668
|
'use strict';
|
|
56330
56669
|
|
|
56331
56670
|
var isCallable = require('is-callable');
|
|
@@ -56396,7 +56735,7 @@ module.exports = function forEach(list, iterator, thisArg) {
|
|
|
56396
56735
|
}
|
|
56397
56736
|
};
|
|
56398
56737
|
|
|
56399
|
-
},{"is-callable":
|
|
56738
|
+
},{"is-callable":386}],371:[function(require,module,exports){
|
|
56400
56739
|
'use strict';
|
|
56401
56740
|
|
|
56402
56741
|
/* eslint no-invalid-this: 1 */
|
|
@@ -56482,14 +56821,14 @@ module.exports = function bind(that) {
|
|
|
56482
56821
|
return bound;
|
|
56483
56822
|
};
|
|
56484
56823
|
|
|
56485
|
-
},{}],
|
|
56824
|
+
},{}],372:[function(require,module,exports){
|
|
56486
56825
|
'use strict';
|
|
56487
56826
|
|
|
56488
56827
|
var implementation = require('./implementation');
|
|
56489
56828
|
|
|
56490
56829
|
module.exports = Function.prototype.bind || implementation;
|
|
56491
56830
|
|
|
56492
|
-
},{"./implementation":
|
|
56831
|
+
},{"./implementation":371}],373:[function(require,module,exports){
|
|
56493
56832
|
'use strict';
|
|
56494
56833
|
|
|
56495
56834
|
var undefined;
|
|
@@ -56869,7 +57208,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
56869
57208
|
return value;
|
|
56870
57209
|
};
|
|
56871
57210
|
|
|
56872
|
-
},{"call-bind-apply-helpers/functionApply":
|
|
57211
|
+
},{"call-bind-apply-helpers/functionApply":353,"call-bind-apply-helpers/functionCall":354,"es-define-property":361,"es-errors":363,"es-errors/eval":362,"es-errors/range":364,"es-errors/ref":365,"es-errors/syntax":366,"es-errors/type":367,"es-errors/uri":368,"es-object-atoms":369,"function-bind":372,"get-proto":376,"get-proto/Object.getPrototypeOf":374,"get-proto/Reflect.getPrototypeOf":375,"gopd":378,"has-symbols":380,"hasown":383,"math-intrinsics/abs":390,"math-intrinsics/floor":391,"math-intrinsics/max":393,"math-intrinsics/min":394,"math-intrinsics/pow":395,"math-intrinsics/round":396,"math-intrinsics/sign":397}],374:[function(require,module,exports){
|
|
56873
57212
|
'use strict';
|
|
56874
57213
|
|
|
56875
57214
|
var $Object = require('es-object-atoms');
|
|
@@ -56877,13 +57216,13 @@ var $Object = require('es-object-atoms');
|
|
|
56877
57216
|
/** @type {import('./Object.getPrototypeOf')} */
|
|
56878
57217
|
module.exports = $Object.getPrototypeOf || null;
|
|
56879
57218
|
|
|
56880
|
-
},{"es-object-atoms":
|
|
57219
|
+
},{"es-object-atoms":369}],375:[function(require,module,exports){
|
|
56881
57220
|
'use strict';
|
|
56882
57221
|
|
|
56883
57222
|
/** @type {import('./Reflect.getPrototypeOf')} */
|
|
56884
57223
|
module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;
|
|
56885
57224
|
|
|
56886
|
-
},{}],
|
|
57225
|
+
},{}],376:[function(require,module,exports){
|
|
56887
57226
|
'use strict';
|
|
56888
57227
|
|
|
56889
57228
|
var reflectGetProto = require('./Reflect.getPrototypeOf');
|
|
@@ -56912,13 +57251,13 @@ module.exports = reflectGetProto
|
|
|
56912
57251
|
}
|
|
56913
57252
|
: null;
|
|
56914
57253
|
|
|
56915
|
-
},{"./Object.getPrototypeOf":
|
|
57254
|
+
},{"./Object.getPrototypeOf":374,"./Reflect.getPrototypeOf":375,"dunder-proto/get":360}],377:[function(require,module,exports){
|
|
56916
57255
|
'use strict';
|
|
56917
57256
|
|
|
56918
57257
|
/** @type {import('./gOPD')} */
|
|
56919
57258
|
module.exports = Object.getOwnPropertyDescriptor;
|
|
56920
57259
|
|
|
56921
|
-
},{}],
|
|
57260
|
+
},{}],378:[function(require,module,exports){
|
|
56922
57261
|
'use strict';
|
|
56923
57262
|
|
|
56924
57263
|
/** @type {import('.')} */
|
|
@@ -56935,7 +57274,7 @@ if ($gOPD) {
|
|
|
56935
57274
|
|
|
56936
57275
|
module.exports = $gOPD;
|
|
56937
57276
|
|
|
56938
|
-
},{"./gOPD":
|
|
57277
|
+
},{"./gOPD":377}],379:[function(require,module,exports){
|
|
56939
57278
|
'use strict';
|
|
56940
57279
|
|
|
56941
57280
|
var $defineProperty = require('es-define-property');
|
|
@@ -56959,7 +57298,7 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
56959
57298
|
|
|
56960
57299
|
module.exports = hasPropertyDescriptors;
|
|
56961
57300
|
|
|
56962
|
-
},{"es-define-property":
|
|
57301
|
+
},{"es-define-property":361}],380:[function(require,module,exports){
|
|
56963
57302
|
'use strict';
|
|
56964
57303
|
|
|
56965
57304
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -56975,7 +57314,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
56975
57314
|
return hasSymbolSham();
|
|
56976
57315
|
};
|
|
56977
57316
|
|
|
56978
|
-
},{"./shams":
|
|
57317
|
+
},{"./shams":381}],381:[function(require,module,exports){
|
|
56979
57318
|
'use strict';
|
|
56980
57319
|
|
|
56981
57320
|
/** @type {import('./shams')} */
|
|
@@ -57022,7 +57361,7 @@ module.exports = function hasSymbols() {
|
|
|
57022
57361
|
return true;
|
|
57023
57362
|
};
|
|
57024
57363
|
|
|
57025
|
-
},{}],
|
|
57364
|
+
},{}],382:[function(require,module,exports){
|
|
57026
57365
|
'use strict';
|
|
57027
57366
|
|
|
57028
57367
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -57032,7 +57371,7 @@ module.exports = function hasToStringTagShams() {
|
|
|
57032
57371
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
57033
57372
|
};
|
|
57034
57373
|
|
|
57035
|
-
},{"has-symbols/shams":
|
|
57374
|
+
},{"has-symbols/shams":381}],383:[function(require,module,exports){
|
|
57036
57375
|
'use strict';
|
|
57037
57376
|
|
|
57038
57377
|
var call = Function.prototype.call;
|
|
@@ -57042,7 +57381,7 @@ var bind = require('function-bind');
|
|
|
57042
57381
|
/** @type {import('.')} */
|
|
57043
57382
|
module.exports = bind.call(call, $hasOwn);
|
|
57044
57383
|
|
|
57045
|
-
},{"function-bind":
|
|
57384
|
+
},{"function-bind":372}],384:[function(require,module,exports){
|
|
57046
57385
|
if (typeof Object.create === 'function') {
|
|
57047
57386
|
// implementation from standard node.js 'util' module
|
|
57048
57387
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -57071,7 +57410,7 @@ if (typeof Object.create === 'function') {
|
|
|
57071
57410
|
}
|
|
57072
57411
|
}
|
|
57073
57412
|
|
|
57074
|
-
},{}],
|
|
57413
|
+
},{}],385:[function(require,module,exports){
|
|
57075
57414
|
'use strict';
|
|
57076
57415
|
|
|
57077
57416
|
var hasToStringTag = require('has-tostringtag/shams')();
|
|
@@ -57117,7 +57456,7 @@ isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests
|
|
|
57117
57456
|
/** @type {import('.')} */
|
|
57118
57457
|
module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
57119
57458
|
|
|
57120
|
-
},{"call-bound":
|
|
57459
|
+
},{"call-bound":358,"has-tostringtag/shams":382}],386:[function(require,module,exports){
|
|
57121
57460
|
'use strict';
|
|
57122
57461
|
|
|
57123
57462
|
var fnToStr = Function.prototype.toString;
|
|
@@ -57220,7 +57559,7 @@ module.exports = reflectApply
|
|
|
57220
57559
|
return tryFunctionObject(value);
|
|
57221
57560
|
};
|
|
57222
57561
|
|
|
57223
|
-
},{}],
|
|
57562
|
+
},{}],387:[function(require,module,exports){
|
|
57224
57563
|
'use strict';
|
|
57225
57564
|
|
|
57226
57565
|
var callBound = require('call-bound');
|
|
@@ -57269,7 +57608,7 @@ module.exports = function isGeneratorFunction(fn) {
|
|
|
57269
57608
|
return getProto(fn) === GeneratorFunction;
|
|
57270
57609
|
};
|
|
57271
57610
|
|
|
57272
|
-
},{"call-bound":
|
|
57611
|
+
},{"call-bound":358,"get-proto":376,"has-tostringtag/shams":382,"safe-regex-test":405}],388:[function(require,module,exports){
|
|
57273
57612
|
'use strict';
|
|
57274
57613
|
|
|
57275
57614
|
var callBound = require('call-bound');
|
|
@@ -57340,7 +57679,7 @@ if (hasToStringTag) {
|
|
|
57340
57679
|
|
|
57341
57680
|
module.exports = fn;
|
|
57342
57681
|
|
|
57343
|
-
},{"call-bound":
|
|
57682
|
+
},{"call-bound":358,"gopd":378,"has-tostringtag/shams":382,"hasown":383}],389:[function(require,module,exports){
|
|
57344
57683
|
'use strict';
|
|
57345
57684
|
|
|
57346
57685
|
var whichTypedArray = require('which-typed-array');
|
|
@@ -57350,19 +57689,19 @@ module.exports = function isTypedArray(value) {
|
|
|
57350
57689
|
return !!whichTypedArray(value);
|
|
57351
57690
|
};
|
|
57352
57691
|
|
|
57353
|
-
},{"which-typed-array":
|
|
57692
|
+
},{"which-typed-array":410}],390:[function(require,module,exports){
|
|
57354
57693
|
'use strict';
|
|
57355
57694
|
|
|
57356
57695
|
/** @type {import('./abs')} */
|
|
57357
57696
|
module.exports = Math.abs;
|
|
57358
57697
|
|
|
57359
|
-
},{}],
|
|
57698
|
+
},{}],391:[function(require,module,exports){
|
|
57360
57699
|
'use strict';
|
|
57361
57700
|
|
|
57362
57701
|
/** @type {import('./floor')} */
|
|
57363
57702
|
module.exports = Math.floor;
|
|
57364
57703
|
|
|
57365
|
-
},{}],
|
|
57704
|
+
},{}],392:[function(require,module,exports){
|
|
57366
57705
|
'use strict';
|
|
57367
57706
|
|
|
57368
57707
|
/** @type {import('./isNaN')} */
|
|
@@ -57370,31 +57709,31 @@ module.exports = Number.isNaN || function isNaN(a) {
|
|
|
57370
57709
|
return a !== a;
|
|
57371
57710
|
};
|
|
57372
57711
|
|
|
57373
|
-
},{}],
|
|
57712
|
+
},{}],393:[function(require,module,exports){
|
|
57374
57713
|
'use strict';
|
|
57375
57714
|
|
|
57376
57715
|
/** @type {import('./max')} */
|
|
57377
57716
|
module.exports = Math.max;
|
|
57378
57717
|
|
|
57379
|
-
},{}],
|
|
57718
|
+
},{}],394:[function(require,module,exports){
|
|
57380
57719
|
'use strict';
|
|
57381
57720
|
|
|
57382
57721
|
/** @type {import('./min')} */
|
|
57383
57722
|
module.exports = Math.min;
|
|
57384
57723
|
|
|
57385
|
-
},{}],
|
|
57724
|
+
},{}],395:[function(require,module,exports){
|
|
57386
57725
|
'use strict';
|
|
57387
57726
|
|
|
57388
57727
|
/** @type {import('./pow')} */
|
|
57389
57728
|
module.exports = Math.pow;
|
|
57390
57729
|
|
|
57391
|
-
},{}],
|
|
57730
|
+
},{}],396:[function(require,module,exports){
|
|
57392
57731
|
'use strict';
|
|
57393
57732
|
|
|
57394
57733
|
/** @type {import('./round')} */
|
|
57395
57734
|
module.exports = Math.round;
|
|
57396
57735
|
|
|
57397
|
-
},{}],
|
|
57736
|
+
},{}],397:[function(require,module,exports){
|
|
57398
57737
|
'use strict';
|
|
57399
57738
|
|
|
57400
57739
|
var $isNaN = require('./isNaN');
|
|
@@ -57407,7 +57746,7 @@ module.exports = function sign(number) {
|
|
|
57407
57746
|
return number < 0 ? -1 : +1;
|
|
57408
57747
|
};
|
|
57409
57748
|
|
|
57410
|
-
},{"./isNaN":
|
|
57749
|
+
},{"./isNaN":392}],398:[function(require,module,exports){
|
|
57411
57750
|
'use strict';
|
|
57412
57751
|
|
|
57413
57752
|
var keysShim;
|
|
@@ -57531,7 +57870,7 @@ if (!Object.keys) {
|
|
|
57531
57870
|
}
|
|
57532
57871
|
module.exports = keysShim;
|
|
57533
57872
|
|
|
57534
|
-
},{"./isArguments":
|
|
57873
|
+
},{"./isArguments":400}],399:[function(require,module,exports){
|
|
57535
57874
|
'use strict';
|
|
57536
57875
|
|
|
57537
57876
|
var slice = Array.prototype.slice;
|
|
@@ -57565,7 +57904,7 @@ keysShim.shim = function shimObjectKeys() {
|
|
|
57565
57904
|
|
|
57566
57905
|
module.exports = keysShim;
|
|
57567
57906
|
|
|
57568
|
-
},{"./implementation":
|
|
57907
|
+
},{"./implementation":398,"./isArguments":400}],400:[function(require,module,exports){
|
|
57569
57908
|
'use strict';
|
|
57570
57909
|
|
|
57571
57910
|
var toStr = Object.prototype.toString;
|
|
@@ -57584,7 +57923,7 @@ module.exports = function isArguments(value) {
|
|
|
57584
57923
|
return isArgs;
|
|
57585
57924
|
};
|
|
57586
57925
|
|
|
57587
|
-
},{}],
|
|
57926
|
+
},{}],401:[function(require,module,exports){
|
|
57588
57927
|
'use strict';
|
|
57589
57928
|
|
|
57590
57929
|
// modified from https://github.com/es-shims/es6-shim
|
|
@@ -57632,7 +57971,7 @@ module.exports = function assign(target, source1) {
|
|
|
57632
57971
|
return to; // step 4
|
|
57633
57972
|
};
|
|
57634
57973
|
|
|
57635
|
-
},{"call-bound":
|
|
57974
|
+
},{"call-bound":358,"es-object-atoms":369,"has-symbols/shams":381,"object-keys":399}],402:[function(require,module,exports){
|
|
57636
57975
|
'use strict';
|
|
57637
57976
|
|
|
57638
57977
|
var implementation = require('./implementation');
|
|
@@ -57689,7 +58028,7 @@ module.exports = function getPolyfill() {
|
|
|
57689
58028
|
return Object.assign;
|
|
57690
58029
|
};
|
|
57691
58030
|
|
|
57692
|
-
},{"./implementation":
|
|
58031
|
+
},{"./implementation":401}],403:[function(require,module,exports){
|
|
57693
58032
|
'use strict';
|
|
57694
58033
|
|
|
57695
58034
|
/** @type {import('.')} */
|
|
@@ -57708,7 +58047,7 @@ module.exports = [
|
|
|
57708
58047
|
'BigUint64Array'
|
|
57709
58048
|
];
|
|
57710
58049
|
|
|
57711
|
-
},{}],
|
|
58050
|
+
},{}],404:[function(require,module,exports){
|
|
57712
58051
|
// shim for using process in browser
|
|
57713
58052
|
var process = module.exports = {};
|
|
57714
58053
|
|
|
@@ -57894,7 +58233,7 @@ process.chdir = function (dir) {
|
|
|
57894
58233
|
};
|
|
57895
58234
|
process.umask = function() { return 0; };
|
|
57896
58235
|
|
|
57897
|
-
},{}],
|
|
58236
|
+
},{}],405:[function(require,module,exports){
|
|
57898
58237
|
'use strict';
|
|
57899
58238
|
|
|
57900
58239
|
var callBound = require('call-bound');
|
|
@@ -57913,7 +58252,7 @@ module.exports = function regexTester(regex) {
|
|
|
57913
58252
|
};
|
|
57914
58253
|
};
|
|
57915
58254
|
|
|
57916
|
-
},{"call-bound":
|
|
58255
|
+
},{"call-bound":358,"es-errors/type":367,"is-regex":388}],406:[function(require,module,exports){
|
|
57917
58256
|
'use strict';
|
|
57918
58257
|
|
|
57919
58258
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -57957,9 +58296,9 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
57957
58296
|
return fn;
|
|
57958
58297
|
};
|
|
57959
58298
|
|
|
57960
|
-
},{"define-data-property":
|
|
57961
|
-
arguments[4][
|
|
57962
|
-
},{"dup":
|
|
58299
|
+
},{"define-data-property":359,"es-errors/type":367,"get-intrinsic":373,"gopd":378,"has-property-descriptors":379}],407:[function(require,module,exports){
|
|
58300
|
+
arguments[4][347][0].apply(exports,arguments)
|
|
58301
|
+
},{"dup":347}],408:[function(require,module,exports){
|
|
57963
58302
|
// Currently in sync with Node.js lib/internal/util/types.js
|
|
57964
58303
|
// https://github.com/nodejs/node/commit/112cc7c27551254aa2b17098fb774867f05ed0d9
|
|
57965
58304
|
|
|
@@ -58295,7 +58634,7 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
|
58295
58634
|
});
|
|
58296
58635
|
});
|
|
58297
58636
|
|
|
58298
|
-
},{"is-arguments":
|
|
58637
|
+
},{"is-arguments":385,"is-generator-function":387,"is-typed-array":389,"which-typed-array":410}],409:[function(require,module,exports){
|
|
58299
58638
|
(function (process){(function (){
|
|
58300
58639
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
58301
58640
|
//
|
|
@@ -59014,7 +59353,7 @@ function callbackify(original) {
|
|
|
59014
59353
|
exports.callbackify = callbackify;
|
|
59015
59354
|
|
|
59016
59355
|
}).call(this)}).call(this,require('_process'))
|
|
59017
|
-
},{"./support/isBuffer":
|
|
59356
|
+
},{"./support/isBuffer":407,"./support/types":408,"_process":404,"inherits":384}],410:[function(require,module,exports){
|
|
59018
59357
|
(function (global){(function (){
|
|
59019
59358
|
'use strict';
|
|
59020
59359
|
|
|
@@ -59135,5 +59474,5 @@ module.exports = function whichTypedArray(value) {
|
|
|
59135
59474
|
};
|
|
59136
59475
|
|
|
59137
59476
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
59138
|
-
},{"available-typed-arrays":
|
|
59477
|
+
},{"available-typed-arrays":349,"call-bind":357,"call-bound":358,"for-each":370,"get-proto":376,"gopd":378,"has-tostringtag/shams":382}]},{},[106])(106)
|
|
59139
59478
|
});
|