@designliquido/delegua 0.46.2 → 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/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.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/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 +23 -12
- 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 +777 -437
- 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,7 +5833,7 @@ 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 = {
|
|
@@ -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);
|
|
@@ -10914,9 +10952,10 @@ class InterpretadorBase {
|
|
|
10914
10952
|
dicionario[chaveLogico] = promises[1];
|
|
10915
10953
|
continue;
|
|
10916
10954
|
}
|
|
10917
|
-
dicionario[promises[0]] =
|
|
10918
|
-
|
|
10919
|
-
|
|
10955
|
+
dicionario[promises[0]] =
|
|
10956
|
+
promises[1] && promises[1].hasOwnProperty('valor')
|
|
10957
|
+
? promises[1].valor
|
|
10958
|
+
: promises[1];
|
|
10920
10959
|
}
|
|
10921
10960
|
return dicionario;
|
|
10922
10961
|
}
|
|
@@ -10962,7 +11001,9 @@ class InterpretadorBase {
|
|
|
10962
11001
|
}
|
|
10963
11002
|
if (objeto.valor instanceof estruturas_1.ObjetoPadrao)
|
|
10964
11003
|
return objeto.valor.paraTexto();
|
|
10965
|
-
if (objeto instanceof estruturas_1.ObjetoDeleguaClasse ||
|
|
11004
|
+
if (objeto instanceof estruturas_1.ObjetoDeleguaClasse ||
|
|
11005
|
+
objeto instanceof estruturas_1.DeleguaFuncao ||
|
|
11006
|
+
typeof objeto.paraTexto === 'function')
|
|
10966
11007
|
return objeto.paraTexto();
|
|
10967
11008
|
if (objeto instanceof quebras_1.RetornoQuebra) {
|
|
10968
11009
|
if (typeof objeto.valor === 'boolean')
|
|
@@ -11044,7 +11085,10 @@ class InterpretadorBase {
|
|
|
11044
11085
|
try {
|
|
11045
11086
|
for (; !(retornoExecucao instanceof quebras_1.Quebra) &&
|
|
11046
11087
|
ultimoEscopo.declaracaoAtual < ultimoEscopo.declaracoes.length; ultimoEscopo.declaracaoAtual++) {
|
|
11047
|
-
|
|
11088
|
+
const declaracaoAtual = ultimoEscopo.declaracoes[ultimoEscopo.declaracaoAtual];
|
|
11089
|
+
this.linhaDeclaracaoAtual = declaracaoAtual.linha;
|
|
11090
|
+
this.hashArquivoDeclaracaoAtual = declaracaoAtual.hashArquivo;
|
|
11091
|
+
retornoExecucao = await this.executar(declaracaoAtual);
|
|
11048
11092
|
}
|
|
11049
11093
|
return retornoExecucao;
|
|
11050
11094
|
}
|
|
@@ -11065,7 +11109,7 @@ class InterpretadorBase {
|
|
|
11065
11109
|
this.pilhaEscoposExecucao.removerUltimo();
|
|
11066
11110
|
const escopoAnterior = this.pilhaEscoposExecucao.topoDaPilha();
|
|
11067
11111
|
if (manterAmbiente || (retornoExecucao && retornoExecucao.preservarEscopo === true)) {
|
|
11068
|
-
escopoAnterior.
|
|
11112
|
+
escopoAnterior.espacoMemoria.valores = Object.assign(escopoAnterior.espacoMemoria.valores, ultimoEscopo.espacoMemoria.valores);
|
|
11069
11113
|
}
|
|
11070
11114
|
}
|
|
11071
11115
|
}
|
|
@@ -11080,10 +11124,12 @@ class InterpretadorBase {
|
|
|
11080
11124
|
async interpretar(declaracoes, manterAmbiente = false) {
|
|
11081
11125
|
this.erros = [];
|
|
11082
11126
|
this.emDeclaracaoTente = false;
|
|
11127
|
+
this.linhaDeclaracaoAtual = -1;
|
|
11128
|
+
this.hashArquivoDeclaracaoAtual = -1;
|
|
11083
11129
|
const escopoExecucao = {
|
|
11084
11130
|
declaracoes: declaracoes,
|
|
11085
11131
|
declaracaoAtual: 0,
|
|
11086
|
-
|
|
11132
|
+
espacoMemoria: new espaco_memoria_1.EspacoMemoria(),
|
|
11087
11133
|
finalizado: false,
|
|
11088
11134
|
tipo: 'outro',
|
|
11089
11135
|
emLacoRepeticao: false,
|
|
@@ -11117,18 +11163,20 @@ class InterpretadorBase {
|
|
|
11117
11163
|
exports.InterpretadorBase = InterpretadorBase;
|
|
11118
11164
|
|
|
11119
11165
|
}).call(this)}).call(this,require('_process'))
|
|
11120
|
-
},{"../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){
|
|
11121
11167
|
"use strict";
|
|
11122
11168
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11123
11169
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
11124
11170
|
};
|
|
11125
11171
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11126
11172
|
exports.Interpretador = void 0;
|
|
11173
|
+
const construtos_1 = require("../construtos");
|
|
11127
11174
|
const estruturas_1 = require("./estruturas");
|
|
11128
11175
|
const interpretador_base_1 = require("./interpretador-base");
|
|
11129
11176
|
const inferenciador_1 = require("../inferenciador");
|
|
11130
11177
|
const excecoes_1 = require("../excecoes");
|
|
11131
11178
|
const quebras_1 = require("../quebras");
|
|
11179
|
+
const montao_1 = require("./montao");
|
|
11132
11180
|
const primitivas_dicionario_1 = __importDefault(require("../bibliotecas/primitivas-dicionario"));
|
|
11133
11181
|
const primitivas_numero_1 = __importDefault(require("../bibliotecas/primitivas-numero"));
|
|
11134
11182
|
const primitivas_texto_1 = __importDefault(require("../bibliotecas/primitivas-texto"));
|
|
@@ -11139,12 +11187,109 @@ const delegua_1 = __importDefault(require("../tipos-de-dados/delegua"));
|
|
|
11139
11187
|
* O interpretador de Delégua.
|
|
11140
11188
|
*/
|
|
11141
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
|
+
}
|
|
11142
11233
|
visitarDeclaracaoDefinicaoFuncao(declaracao) {
|
|
11143
11234
|
const funcao = new estruturas_1.DeleguaFuncao(declaracao.simbolo.lexema, declaracao.funcao);
|
|
11144
11235
|
// TODO: Depreciar essa abordagem a favor do uso por referências.
|
|
11145
11236
|
this.pilhaEscoposExecucao.definirVariavel(declaracao.simbolo.lexema, funcao);
|
|
11146
11237
|
this.pilhaEscoposExecucao.registrarReferenciaFuncao(declaracao.id, funcao);
|
|
11147
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
|
+
}
|
|
11148
11293
|
async visitarExpressaoAcessoMetodo(expressao) {
|
|
11149
11294
|
let variavelObjeto = await this.avaliar(expressao.objeto);
|
|
11150
11295
|
// Este caso acontece quando há encadeamento de métodos.
|
|
@@ -11154,9 +11299,7 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
11154
11299
|
if (variavelObjeto.constructor.name === 'RetornoQuebra') {
|
|
11155
11300
|
variavelObjeto = variavelObjeto.valor;
|
|
11156
11301
|
}
|
|
11157
|
-
const objeto =
|
|
11158
|
-
? variavelObjeto.valor
|
|
11159
|
-
: variavelObjeto;
|
|
11302
|
+
const objeto = this.resolverValor(variavelObjeto);
|
|
11160
11303
|
if (objeto.constructor.name === 'ObjetoDeleguaClasse') {
|
|
11161
11304
|
return objeto.obterMetodo(expressao.nomeMetodo) || null;
|
|
11162
11305
|
}
|
|
@@ -11216,7 +11359,10 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
11216
11359
|
}
|
|
11217
11360
|
break;
|
|
11218
11361
|
}
|
|
11219
|
-
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));
|
|
11220
11366
|
}
|
|
11221
11367
|
/**
|
|
11222
11368
|
* Casos que ocorrem aqui:
|
|
@@ -11236,9 +11382,7 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
11236
11382
|
if (variavelObjeto.constructor.name === 'RetornoQuebra') {
|
|
11237
11383
|
variavelObjeto = variavelObjeto.valor;
|
|
11238
11384
|
}
|
|
11239
|
-
const objeto =
|
|
11240
|
-
? variavelObjeto.valor
|
|
11241
|
-
: variavelObjeto;
|
|
11385
|
+
const objeto = this.resolverValor(variavelObjeto);
|
|
11242
11386
|
if (objeto.constructor.name === 'ObjetoDeleguaClasse') {
|
|
11243
11387
|
return objeto.obter(expressao.simbolo);
|
|
11244
11388
|
}
|
|
@@ -11293,7 +11437,8 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
11293
11437
|
}
|
|
11294
11438
|
// Último caso válido: objeto de uma classe JavaScript que possua a propriedade.
|
|
11295
11439
|
// Exemplos: classes de LinConEs, como `RetornoComando, ou bibliotecas globais com objetos próprios`.
|
|
11296
|
-
if (objeto.hasOwnProperty(expressao.simbolo.lexema) ||
|
|
11440
|
+
if (objeto.hasOwnProperty(expressao.simbolo.lexema) ||
|
|
11441
|
+
typeof objeto[expressao.simbolo.lexema] !== 'undefined') {
|
|
11297
11442
|
return objeto[expressao.simbolo.lexema];
|
|
11298
11443
|
}
|
|
11299
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));
|
|
@@ -11350,6 +11495,70 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
11350
11495
|
const deleguaFuncao = this.pilhaEscoposExecucao.obterVariavelPorNome(expressao.simboloFuncao.lexema);
|
|
11351
11496
|
return deleguaFuncao;
|
|
11352
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
|
+
}
|
|
11353
11562
|
async visitarExpressaoReferenciaFuncao(expressao) {
|
|
11354
11563
|
const deleguaFuncao = this.pilhaEscoposExecucao.obterReferenciaFuncao(expressao.idFuncao);
|
|
11355
11564
|
return deleguaFuncao;
|
|
@@ -11381,6 +11590,9 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
11381
11590
|
case 'Dicionario':
|
|
11382
11591
|
case 'Unario':
|
|
11383
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
|
+
}
|
|
11384
11596
|
return valorTipoDe.tipo || (0, inferenciador_1.inferirTipoVariavel)(valorTipoDe);
|
|
11385
11597
|
case 'AcessoMetodo':
|
|
11386
11598
|
const acessoMetodo = valorTipoDe;
|
|
@@ -11410,10 +11622,123 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
11410
11622
|
return (0, inferenciador_1.inferirTipoVariavel)(valorTipoDe);
|
|
11411
11623
|
}
|
|
11412
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
|
+
}
|
|
11413
11681
|
}
|
|
11414
11682
|
exports.Interpretador = Interpretador;
|
|
11415
11683
|
|
|
11416
|
-
},{"../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){
|
|
11417
11742
|
"use strict";
|
|
11418
11743
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11419
11744
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11468,7 +11793,7 @@ class PilhaEscoposExecucao {
|
|
|
11468
11793
|
}
|
|
11469
11794
|
}
|
|
11470
11795
|
definirConstante(nomeConstante, valor, tipo) {
|
|
11471
|
-
const constante = this.pilha[this.pilha.length - 1].
|
|
11796
|
+
const constante = this.pilha[this.pilha.length - 1].espacoMemoria.valores[nomeConstante];
|
|
11472
11797
|
let tipoConstante;
|
|
11473
11798
|
if (constante && constante.hasOwnProperty('tipo')) {
|
|
11474
11799
|
tipoConstante = constante.tipo;
|
|
@@ -11500,10 +11825,10 @@ class PilhaEscoposExecucao {
|
|
|
11500
11825
|
}
|
|
11501
11826
|
elementoAlvo.subtipo = subtipo;
|
|
11502
11827
|
}
|
|
11503
|
-
this.pilha[this.pilha.length - 1].
|
|
11828
|
+
this.pilha[this.pilha.length - 1].espacoMemoria.valores[nomeConstante] = elementoAlvo;
|
|
11504
11829
|
}
|
|
11505
11830
|
definirVariavel(nomeVariavel, valor, tipo) {
|
|
11506
|
-
const variavel = this.pilha[this.pilha.length - 1].
|
|
11831
|
+
const variavel = this.pilha[this.pilha.length - 1].espacoMemoria.valores[nomeVariavel];
|
|
11507
11832
|
let tipoVariavel;
|
|
11508
11833
|
if (variavel && variavel.hasOwnProperty('tipo')) {
|
|
11509
11834
|
tipoVariavel = variavel.tipo;
|
|
@@ -11538,14 +11863,14 @@ class PilhaEscoposExecucao {
|
|
|
11538
11863
|
}
|
|
11539
11864
|
elementoAlvo.subtipo = subtipo;
|
|
11540
11865
|
}
|
|
11541
|
-
this.pilha[this.pilha.length - 1].
|
|
11866
|
+
this.pilha[this.pilha.length - 1].espacoMemoria.valores[nomeVariavel] = elementoAlvo;
|
|
11542
11867
|
}
|
|
11543
11868
|
atribuirVariavelEm(distancia, simbolo, valor) {
|
|
11544
|
-
const
|
|
11545
|
-
if (
|
|
11869
|
+
const espacoMemoriaAncestral = this.pilha[this.pilha.length - distancia].espacoMemoria;
|
|
11870
|
+
if (espacoMemoriaAncestral.valores[simbolo.lexema].imutavel) {
|
|
11546
11871
|
throw new excecoes_1.ErroEmTempoDeExecucao(simbolo, `Constante '${simbolo.lexema}' não pode receber novos valores.`);
|
|
11547
11872
|
}
|
|
11548
|
-
|
|
11873
|
+
espacoMemoriaAncestral.valores[simbolo.lexema] = {
|
|
11549
11874
|
valor,
|
|
11550
11875
|
tipo: (0, inferenciador_1.inferirTipoVariavel)(valor),
|
|
11551
11876
|
imutavel: false,
|
|
@@ -11553,9 +11878,9 @@ class PilhaEscoposExecucao {
|
|
|
11553
11878
|
}
|
|
11554
11879
|
atribuirVariavel(simbolo, valor, indice) {
|
|
11555
11880
|
for (let i = 1; i <= this.pilha.length; i++) {
|
|
11556
|
-
const
|
|
11557
|
-
if (
|
|
11558
|
-
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];
|
|
11559
11884
|
if (variavel.imutavel) {
|
|
11560
11885
|
throw new excecoes_1.ErroEmTempoDeExecucao(simbolo, `Constante '${simbolo.lexema}' não pode receber novos valores.`);
|
|
11561
11886
|
}
|
|
@@ -11565,15 +11890,16 @@ class PilhaEscoposExecucao {
|
|
|
11565
11890
|
const tipo = tipoInferido.toLowerCase();
|
|
11566
11891
|
const valorResolvido = this.converterValor(tipo, valor);
|
|
11567
11892
|
if (indice !== undefined && indice !== null) {
|
|
11568
|
-
|
|
11569
|
-
|
|
11893
|
+
let variavelValor = variavel.valor;
|
|
11894
|
+
if (variavelValor instanceof Array || variavelValor instanceof Object) {
|
|
11895
|
+
variavelValor[indice] = valorResolvido;
|
|
11570
11896
|
}
|
|
11571
11897
|
else {
|
|
11572
11898
|
throw new excecoes_1.ErroEmTempoDeExecucao(simbolo, 'Variável não é um vetor ou dicionário.');
|
|
11573
11899
|
}
|
|
11574
11900
|
}
|
|
11575
11901
|
else {
|
|
11576
|
-
|
|
11902
|
+
espacoMemoria.valores[simbolo.lexema] = {
|
|
11577
11903
|
valor: valorResolvido,
|
|
11578
11904
|
tipo,
|
|
11579
11905
|
imutavel: false,
|
|
@@ -11594,12 +11920,12 @@ class PilhaEscoposExecucao {
|
|
|
11594
11920
|
return undefined;
|
|
11595
11921
|
}
|
|
11596
11922
|
obterVariavelEm(distancia, nome) {
|
|
11597
|
-
const ambienteAncestral = this.pilha[this.pilha.length - distancia].
|
|
11923
|
+
const ambienteAncestral = this.pilha[this.pilha.length - distancia].espacoMemoria;
|
|
11598
11924
|
return ambienteAncestral.valores[nome];
|
|
11599
11925
|
}
|
|
11600
11926
|
obterValorVariavel(simbolo) {
|
|
11601
11927
|
for (let i = 1; i <= this.pilha.length; i++) {
|
|
11602
|
-
const ambiente = this.pilha[this.pilha.length - i].
|
|
11928
|
+
const ambiente = this.pilha[this.pilha.length - i].espacoMemoria;
|
|
11603
11929
|
if (ambiente.valores[simbolo.lexema] !== undefined) {
|
|
11604
11930
|
return ambiente.valores[simbolo.lexema];
|
|
11605
11931
|
}
|
|
@@ -11608,7 +11934,7 @@ class PilhaEscoposExecucao {
|
|
|
11608
11934
|
}
|
|
11609
11935
|
obterVariavelPorNome(nome) {
|
|
11610
11936
|
for (let i = 1; i <= this.pilha.length; i++) {
|
|
11611
|
-
const ambiente = this.pilha[this.pilha.length - i].
|
|
11937
|
+
const ambiente = this.pilha[this.pilha.length - i].espacoMemoria;
|
|
11612
11938
|
if (ambiente.valores[nome] !== undefined) {
|
|
11613
11939
|
return ambiente.valores[nome];
|
|
11614
11940
|
}
|
|
@@ -11620,8 +11946,8 @@ class PilhaEscoposExecucao {
|
|
|
11620
11946
|
*/
|
|
11621
11947
|
obterTodasVariaveis(todasVariaveis = []) {
|
|
11622
11948
|
for (let i = 1; i <= this.pilha.length - 1; i++) {
|
|
11623
|
-
const
|
|
11624
|
-
const vetorObjeto = Object.entries(
|
|
11949
|
+
const valoresEspacoMemoria = this.pilha[this.pilha.length - i].espacoMemoria.valores;
|
|
11950
|
+
const vetorObjeto = Object.entries(valoresEspacoMemoria).map((chaveEValor, indice) => ({
|
|
11625
11951
|
nome: chaveEValor[0],
|
|
11626
11952
|
valor: chaveEValor[1].valor,
|
|
11627
11953
|
tipo: chaveEValor[1].tipo,
|
|
@@ -11637,8 +11963,8 @@ class PilhaEscoposExecucao {
|
|
|
11637
11963
|
*/
|
|
11638
11964
|
obterTodasDeleguaFuncao() {
|
|
11639
11965
|
const retorno = {};
|
|
11640
|
-
const
|
|
11641
|
-
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)) {
|
|
11642
11968
|
const corpoValor = corpo.hasOwnProperty('valor') ? corpo.valor : corpo;
|
|
11643
11969
|
if (corpoValor instanceof estruturas_1.DeleguaFuncao) {
|
|
11644
11970
|
retorno[nome] = corpoValor;
|
|
@@ -11652,7 +11978,7 @@ class PilhaEscoposExecucao {
|
|
|
11652
11978
|
*/
|
|
11653
11979
|
obterTodasDeclaracoesClasse() {
|
|
11654
11980
|
const retorno = {};
|
|
11655
|
-
const ambiente = this.pilha[this.pilha.length - 1].
|
|
11981
|
+
const ambiente = this.pilha[this.pilha.length - 1].espacoMemoria;
|
|
11656
11982
|
for (const [nome, corpo] of Object.entries(ambiente.valores)) {
|
|
11657
11983
|
const corpoValor = corpo.hasOwnProperty('valor') ? corpo.valor : corpo;
|
|
11658
11984
|
if (corpoValor instanceof estruturas_1.DescritorTipoClasse) {
|
|
@@ -11662,22 +11988,26 @@ class PilhaEscoposExecucao {
|
|
|
11662
11988
|
return retorno;
|
|
11663
11989
|
}
|
|
11664
11990
|
registrarReferenciaFuncao(idFuncao, funcao) {
|
|
11665
|
-
const
|
|
11666
|
-
|
|
11991
|
+
const espacoMemoriaAtual = this.pilha[this.pilha.length - 1].espacoMemoria;
|
|
11992
|
+
espacoMemoriaAtual.referenciasFuncoes[idFuncao] = funcao;
|
|
11667
11993
|
}
|
|
11668
11994
|
obterReferenciaFuncao(idFuncao) {
|
|
11669
11995
|
for (let i = 1; i <= this.pilha.length; i++) {
|
|
11670
|
-
const
|
|
11671
|
-
if (
|
|
11672
|
-
return
|
|
11996
|
+
const espacoMemoria = this.pilha[this.pilha.length - i].espacoMemoria;
|
|
11997
|
+
if (espacoMemoria.referenciasFuncoes[idFuncao] !== undefined) {
|
|
11998
|
+
return espacoMemoria.referenciasFuncoes[idFuncao];
|
|
11673
11999
|
}
|
|
11674
12000
|
}
|
|
11675
12001
|
throw new excecoes_1.ErroEmTempoDeExecucao(new lexador_1.Simbolo('especial', idFuncao, idFuncao, -1, -1), "Referência para função não encontrada: '" + idFuncao + "'.");
|
|
11676
12002
|
}
|
|
12003
|
+
registrarReferenciaMontao(endereco) {
|
|
12004
|
+
const espacoMemoria = this.pilha[this.pilha.length - 1].espacoMemoria;
|
|
12005
|
+
espacoMemoria.enderecosMontao.add(endereco);
|
|
12006
|
+
}
|
|
11677
12007
|
}
|
|
11678
12008
|
exports.PilhaEscoposExecucao = PilhaEscoposExecucao;
|
|
11679
12009
|
|
|
11680
|
-
},{"../excecoes":
|
|
12010
|
+
},{"../excecoes":101,"../inferenciador":107,"../lexador":160,"../tipos-de-dados/delegua":168,"./estruturas":138}],149:[function(require,module,exports){
|
|
11681
12011
|
"use strict";
|
|
11682
12012
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
11683
12013
|
if (k2 === undefined) k2 = k;
|
|
@@ -11700,7 +12030,7 @@ __exportStar(require("./lexador-guarani"), exports);
|
|
|
11700
12030
|
__exportStar(require("./lexador-portugol-ipt"), exports);
|
|
11701
12031
|
__exportStar(require("./lexador-tenda"), exports);
|
|
11702
12032
|
|
|
11703
|
-
},{"./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){
|
|
11704
12034
|
"use strict";
|
|
11705
12035
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11706
12036
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11990,7 +12320,7 @@ class LexadorEguaClassico {
|
|
|
11990
12320
|
}
|
|
11991
12321
|
exports.LexadorEguaClassico = LexadorEguaClassico;
|
|
11992
12322
|
|
|
11993
|
-
},{"../../tipos-de-simbolos/egua-classico":
|
|
12323
|
+
},{"../../tipos-de-simbolos/egua-classico":172,"../simbolo":166,"./palavras-reservadas/egua-classico":155}],151:[function(require,module,exports){
|
|
11994
12324
|
"use strict";
|
|
11995
12325
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11996
12326
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -12109,7 +12439,7 @@ class LexadorGuarani extends lexador_base_1.LexadorBase {
|
|
|
12109
12439
|
}
|
|
12110
12440
|
exports.LexadorGuarani = LexadorGuarani;
|
|
12111
12441
|
|
|
12112
|
-
},{"../../tipos-de-simbolos/guarani":
|
|
12442
|
+
},{"../../tipos-de-simbolos/guarani":173,"../lexador-base":162,"./palavras-reservadas/guarani":156}],152:[function(require,module,exports){
|
|
12113
12443
|
"use strict";
|
|
12114
12444
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12115
12445
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -12512,7 +12842,7 @@ class LexadorPitugues {
|
|
|
12512
12842
|
}
|
|
12513
12843
|
exports.LexadorPitugues = LexadorPitugues;
|
|
12514
12844
|
|
|
12515
|
-
},{"../../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){
|
|
12516
12846
|
"use strict";
|
|
12517
12847
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12518
12848
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -12764,7 +13094,7 @@ class LexadorPortugolIpt {
|
|
|
12764
13094
|
}
|
|
12765
13095
|
exports.LexadorPortugolIpt = LexadorPortugolIpt;
|
|
12766
13096
|
|
|
12767
|
-
},{"../../tipos-de-simbolos/portugol-ipt":
|
|
13097
|
+
},{"../../tipos-de-simbolos/portugol-ipt":176,"../simbolo":166,"./palavras-reservadas/portugol-ipt":158}],154:[function(require,module,exports){
|
|
12768
13098
|
"use strict";
|
|
12769
13099
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12770
13100
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -12847,7 +13177,8 @@ class LexadorTenda {
|
|
|
12847
13177
|
eFinalDoCodigo() {
|
|
12848
13178
|
if (this.linha > this.codigo.length - 1)
|
|
12849
13179
|
return true;
|
|
12850
|
-
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);
|
|
12851
13182
|
}
|
|
12852
13183
|
avancar() {
|
|
12853
13184
|
this.atual += 1;
|
|
@@ -12916,7 +13247,8 @@ class LexadorTenda {
|
|
|
12916
13247
|
}
|
|
12917
13248
|
identificarPalavraChave() {
|
|
12918
13249
|
const linhaPrimeiroCaracter = this.linha;
|
|
12919
|
-
while (this.eAlfabetoOuDigito(this.simboloAtual()) &&
|
|
13250
|
+
while (this.eAlfabetoOuDigito(this.simboloAtual()) &&
|
|
13251
|
+
this.linha === linhaPrimeiroCaracter) {
|
|
12920
13252
|
this.avancar();
|
|
12921
13253
|
}
|
|
12922
13254
|
let textoPalavraChave;
|
|
@@ -13153,7 +13485,7 @@ class LexadorTenda {
|
|
|
13153
13485
|
}
|
|
13154
13486
|
exports.LexadorTenda = LexadorTenda;
|
|
13155
13487
|
|
|
13156
|
-
},{"../../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){
|
|
13157
13489
|
"use strict";
|
|
13158
13490
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13159
13491
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -13194,7 +13526,7 @@ exports.palavrasReservadas = {
|
|
|
13194
13526
|
verdadeiro: egua_classico_1.default.VERDADEIRO,
|
|
13195
13527
|
};
|
|
13196
13528
|
|
|
13197
|
-
},{"../../../tipos-de-simbolos/egua-classico":
|
|
13529
|
+
},{"../../../tipos-de-simbolos/egua-classico":172}],156:[function(require,module,exports){
|
|
13198
13530
|
"use strict";
|
|
13199
13531
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13200
13532
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -13206,7 +13538,7 @@ exports.palavrasReservadas = {
|
|
|
13206
13538
|
hai: guarani_1.default.HAI,
|
|
13207
13539
|
};
|
|
13208
13540
|
|
|
13209
|
-
},{"../../../tipos-de-simbolos/guarani":
|
|
13541
|
+
},{"../../../tipos-de-simbolos/guarani":173}],157:[function(require,module,exports){
|
|
13210
13542
|
"use strict";
|
|
13211
13543
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13212
13544
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -13269,7 +13601,7 @@ exports.palavrasReservadasMicroGramatica = {
|
|
|
13269
13601
|
verdadeiro: pitugues_1.default.VERDADEIRO,
|
|
13270
13602
|
};
|
|
13271
13603
|
|
|
13272
|
-
},{"../../../tipos-de-simbolos/pitugues":
|
|
13604
|
+
},{"../../../tipos-de-simbolos/pitugues":175}],158:[function(require,module,exports){
|
|
13273
13605
|
"use strict";
|
|
13274
13606
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13275
13607
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -13291,7 +13623,7 @@ exports.palavrasReservadas = {
|
|
|
13291
13623
|
senão: portugol_ipt_1.default.SENAO,
|
|
13292
13624
|
};
|
|
13293
13625
|
|
|
13294
|
-
},{"../../../tipos-de-simbolos/portugol-ipt":
|
|
13626
|
+
},{"../../../tipos-de-simbolos/portugol-ipt":176}],159:[function(require,module,exports){
|
|
13295
13627
|
"use strict";
|
|
13296
13628
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13297
13629
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -13346,10 +13678,10 @@ exports.palavrasReservadas = {
|
|
|
13346
13678
|
Matemática: tenda_1.default.BIBLIOTECA_GLOBAL,
|
|
13347
13679
|
NaN: tenda_1.default.NAN,
|
|
13348
13680
|
Saída: tenda_1.default.BIBLIOTECA_GLOBAL,
|
|
13349
|
-
Texto: tenda_1.default.BIBLIOTECA_GLOBAL
|
|
13681
|
+
Texto: tenda_1.default.BIBLIOTECA_GLOBAL,
|
|
13350
13682
|
};
|
|
13351
13683
|
|
|
13352
|
-
},{"../../../tipos-de-simbolos/tenda":
|
|
13684
|
+
},{"../../../tipos-de-simbolos/tenda":177}],160:[function(require,module,exports){
|
|
13353
13685
|
"use strict";
|
|
13354
13686
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
13355
13687
|
if (k2 === undefined) k2 = k;
|
|
@@ -13372,7 +13704,7 @@ __exportStar(require("./lexador-base-linha-unica"), exports);
|
|
|
13372
13704
|
__exportStar(require("./micro-lexador"), exports);
|
|
13373
13705
|
__exportStar(require("./simbolo"), exports);
|
|
13374
13706
|
|
|
13375
|
-
},{"./dialetos":
|
|
13707
|
+
},{"./dialetos":149,"./lexador":163,"./lexador-base-linha-unica":161,"./micro-lexador":164,"./simbolo":166}],161:[function(require,module,exports){
|
|
13376
13708
|
"use strict";
|
|
13377
13709
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13378
13710
|
exports.LexadorBaseLinhaUnica = void 0;
|
|
@@ -13456,7 +13788,7 @@ class LexadorBaseLinhaUnica {
|
|
|
13456
13788
|
}
|
|
13457
13789
|
exports.LexadorBaseLinhaUnica = LexadorBaseLinhaUnica;
|
|
13458
13790
|
|
|
13459
|
-
},{"./simbolo":
|
|
13791
|
+
},{"./simbolo":166}],162:[function(require,module,exports){
|
|
13460
13792
|
"use strict";
|
|
13461
13793
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13462
13794
|
exports.LexadorBase = void 0;
|
|
@@ -13570,7 +13902,7 @@ class LexadorBase {
|
|
|
13570
13902
|
}
|
|
13571
13903
|
exports.LexadorBase = LexadorBase;
|
|
13572
13904
|
|
|
13573
|
-
},{"./simbolo":
|
|
13905
|
+
},{"./simbolo":166}],163:[function(require,module,exports){
|
|
13574
13906
|
"use strict";
|
|
13575
13907
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13576
13908
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -14031,7 +14363,7 @@ class Lexador {
|
|
|
14031
14363
|
}
|
|
14032
14364
|
exports.Lexador = Lexador;
|
|
14033
14365
|
|
|
14034
|
-
},{"../tipos-de-simbolos/delegua":
|
|
14366
|
+
},{"../tipos-de-simbolos/delegua":171,"./palavras-reservadas":165,"./simbolo":166,"browser-process-hrtime":350}],164:[function(require,module,exports){
|
|
14035
14367
|
"use strict";
|
|
14036
14368
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14037
14369
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -14246,7 +14578,7 @@ class MicroLexador {
|
|
|
14246
14578
|
}
|
|
14247
14579
|
exports.MicroLexador = MicroLexador;
|
|
14248
14580
|
|
|
14249
|
-
},{"../tipos-de-simbolos/microgramaticas/delegua":
|
|
14581
|
+
},{"../tipos-de-simbolos/microgramaticas/delegua":174,"./palavras-reservadas":165,"./simbolo":166}],165:[function(require,module,exports){
|
|
14250
14582
|
"use strict";
|
|
14251
14583
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14252
14584
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -14310,7 +14642,7 @@ exports.palavrasReservadasMicroGramatica = {
|
|
|
14310
14642
|
verdadeiro: delegua_1.default.VERDADEIRO,
|
|
14311
14643
|
};
|
|
14312
14644
|
|
|
14313
|
-
},{"../tipos-de-simbolos/delegua":
|
|
14645
|
+
},{"../tipos-de-simbolos/delegua":171}],166:[function(require,module,exports){
|
|
14314
14646
|
"use strict";
|
|
14315
14647
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14316
14648
|
exports.Simbolo = void 0;
|
|
@@ -14328,7 +14660,7 @@ class Simbolo {
|
|
|
14328
14660
|
}
|
|
14329
14661
|
exports.Simbolo = Simbolo;
|
|
14330
14662
|
|
|
14331
|
-
},{}],
|
|
14663
|
+
},{}],167:[function(require,module,exports){
|
|
14332
14664
|
"use strict";
|
|
14333
14665
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14334
14666
|
exports.ContinuarQuebra = exports.SustarQuebra = exports.RetornoQuebra = exports.Quebra = void 0;
|
|
@@ -14352,7 +14684,7 @@ class ContinuarQuebra extends Quebra {
|
|
|
14352
14684
|
}
|
|
14353
14685
|
exports.ContinuarQuebra = ContinuarQuebra;
|
|
14354
14686
|
|
|
14355
|
-
},{}],
|
|
14687
|
+
},{}],168:[function(require,module,exports){
|
|
14356
14688
|
"use strict";
|
|
14357
14689
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14358
14690
|
exports.default = {
|
|
@@ -14382,7 +14714,7 @@ exports.default = {
|
|
|
14382
14714
|
VETOR_TEXTO: 'texto[]',
|
|
14383
14715
|
};
|
|
14384
14716
|
|
|
14385
|
-
},{}],
|
|
14717
|
+
},{}],169:[function(require,module,exports){
|
|
14386
14718
|
"use strict";
|
|
14387
14719
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14388
14720
|
exports.default = {
|
|
@@ -14401,7 +14733,7 @@ exports.default = {
|
|
|
14401
14733
|
TEXTO: 'string',
|
|
14402
14734
|
};
|
|
14403
14735
|
|
|
14404
|
-
},{}],
|
|
14736
|
+
},{}],170:[function(require,module,exports){
|
|
14405
14737
|
"use strict";
|
|
14406
14738
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14407
14739
|
exports.default = {
|
|
@@ -14427,7 +14759,7 @@ exports.default = {
|
|
|
14427
14759
|
VIRGULA: 'VIRGULA',
|
|
14428
14760
|
};
|
|
14429
14761
|
|
|
14430
|
-
},{}],
|
|
14762
|
+
},{}],171:[function(require,module,exports){
|
|
14431
14763
|
"use strict";
|
|
14432
14764
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14433
14765
|
exports.default = {
|
|
@@ -14522,7 +14854,7 @@ exports.default = {
|
|
|
14522
14854
|
VIRGULA: 'VIRGULA',
|
|
14523
14855
|
};
|
|
14524
14856
|
|
|
14525
|
-
},{}],
|
|
14857
|
+
},{}],172:[function(require,module,exports){
|
|
14526
14858
|
"use strict";
|
|
14527
14859
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14528
14860
|
exports.default = {
|
|
@@ -14600,7 +14932,7 @@ exports.default = {
|
|
|
14600
14932
|
VIRGULA: 'VIRGULA',
|
|
14601
14933
|
};
|
|
14602
14934
|
|
|
14603
|
-
},{}],
|
|
14935
|
+
},{}],173:[function(require,module,exports){
|
|
14604
14936
|
"use strict";
|
|
14605
14937
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14606
14938
|
exports.default = {
|
|
@@ -14617,7 +14949,7 @@ exports.default = {
|
|
|
14617
14949
|
VIRGULA: 'VIRGULA',
|
|
14618
14950
|
};
|
|
14619
14951
|
|
|
14620
|
-
},{}],
|
|
14952
|
+
},{}],174:[function(require,module,exports){
|
|
14621
14953
|
"use strict";
|
|
14622
14954
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14623
14955
|
exports.default = {
|
|
@@ -14666,7 +14998,7 @@ exports.default = {
|
|
|
14666
14998
|
VIRGULA: 'VIRGULA',
|
|
14667
14999
|
};
|
|
14668
15000
|
|
|
14669
|
-
},{}],
|
|
15001
|
+
},{}],175:[function(require,module,exports){
|
|
14670
15002
|
"use strict";
|
|
14671
15003
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14672
15004
|
exports.default = {
|
|
@@ -14749,7 +15081,7 @@ exports.default = {
|
|
|
14749
15081
|
VIRGULA: 'VIRGULA',
|
|
14750
15082
|
};
|
|
14751
15083
|
|
|
14752
|
-
},{}],
|
|
15084
|
+
},{}],176:[function(require,module,exports){
|
|
14753
15085
|
"use strict";
|
|
14754
15086
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14755
15087
|
exports.default = {
|
|
@@ -14788,7 +15120,7 @@ exports.default = {
|
|
|
14788
15120
|
VIRGULA: 'VIRGULA',
|
|
14789
15121
|
};
|
|
14790
15122
|
|
|
14791
|
-
},{}],
|
|
15123
|
+
},{}],177:[function(require,module,exports){
|
|
14792
15124
|
"use strict";
|
|
14793
15125
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14794
15126
|
// Em Tenda, isto é implementado em https://github.com/gabrielbrunop/tenda/blob/main/crates/scanner/src/token.rs#L42.
|
|
@@ -14883,7 +15215,7 @@ exports.default = {
|
|
|
14883
15215
|
VIRGULA: 'VIRGULA',
|
|
14884
15216
|
};
|
|
14885
15217
|
|
|
14886
|
-
},{}],
|
|
15218
|
+
},{}],178:[function(require,module,exports){
|
|
14887
15219
|
"use strict";
|
|
14888
15220
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14889
15221
|
if (k2 === undefined) k2 = k;
|
|
@@ -14909,7 +15241,7 @@ __exportStar(require("./tradutor-reverso-javascript"), exports);
|
|
|
14909
15241
|
__exportStar(require("./tradutor-reverso-python"), exports);
|
|
14910
15242
|
__exportStar(require("./tradutor-reverso-tenda"), exports);
|
|
14911
15243
|
|
|
14912
|
-
},{"./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){
|
|
14913
15245
|
"use strict";
|
|
14914
15246
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
14915
15247
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -16149,7 +16481,7 @@ __decorate([
|
|
|
16149
16481
|
Decorators_1.Override
|
|
16150
16482
|
], Python3Lexer.prototype, "nextToken", null);
|
|
16151
16483
|
|
|
16152
|
-
},{"./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){
|
|
16153
16485
|
"use strict";
|
|
16154
16486
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
16155
16487
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -27396,7 +27728,7 @@ class Yield_argContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
27396
27728
|
}
|
|
27397
27729
|
exports.Yield_argContext = Yield_argContext;
|
|
27398
27730
|
|
|
27399
|
-
},{"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){
|
|
27400
27732
|
"use strict";
|
|
27401
27733
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
27402
27734
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -28030,7 +28362,7 @@ class TradutorAssemblyScript {
|
|
|
28030
28362
|
}
|
|
28031
28363
|
exports.TradutorAssemblyScript = TradutorAssemblyScript;
|
|
28032
28364
|
|
|
28033
|
-
},{"../construtos":44,"../declaracoes":85,"../tipos-de-simbolos/delegua":
|
|
28365
|
+
},{"../construtos":44,"../declaracoes":85,"../tipos-de-simbolos/delegua":171}],182:[function(require,module,exports){
|
|
28034
28366
|
"use strict";
|
|
28035
28367
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
28036
28368
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -28769,7 +29101,7 @@ class TradutorJavaScript {
|
|
|
28769
29101
|
}
|
|
28770
29102
|
exports.TradutorJavaScript = TradutorJavaScript;
|
|
28771
29103
|
|
|
28772
|
-
},{"../construtos":44,"../declaracoes":85,"../tipos-de-simbolos/delegua":
|
|
29104
|
+
},{"../construtos":44,"../declaracoes":85,"../tipos-de-simbolos/delegua":171}],183:[function(require,module,exports){
|
|
28773
29105
|
"use strict";
|
|
28774
29106
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
28775
29107
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -29220,7 +29552,7 @@ class TradutorMermaidJs {
|
|
|
29220
29552
|
}
|
|
29221
29553
|
exports.TradutorMermaidJs = TradutorMermaidJs;
|
|
29222
29554
|
|
|
29223
|
-
},{"../tipos-de-simbolos/delegua":
|
|
29555
|
+
},{"../tipos-de-simbolos/delegua":171}],184:[function(require,module,exports){
|
|
29224
29556
|
"use strict";
|
|
29225
29557
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29226
29558
|
exports.TradutorPortugolIpt = void 0;
|
|
@@ -29238,16 +29570,16 @@ class TradutorPortugolIpt {
|
|
|
29238
29570
|
EscrevaMesmaLinha: this.traduzirDeclaracaoEscrevaMesmaLinha.bind(this),
|
|
29239
29571
|
};
|
|
29240
29572
|
}
|
|
29241
|
-
traduzirConstrutoLiteral(literal) {
|
|
29242
|
-
if (typeof literal.valor === 'string')
|
|
29243
|
-
return `'${literal.valor}'`;
|
|
29244
|
-
return literal.valor;
|
|
29245
|
-
}
|
|
29246
29573
|
traduzirConstrutoFormatacaoEscrita(formatacaoEscrita) {
|
|
29247
29574
|
let resultado = '';
|
|
29248
29575
|
resultado += String(formatacaoEscrita.expressao.valor);
|
|
29249
29576
|
return resultado;
|
|
29250
29577
|
}
|
|
29578
|
+
traduzirConstrutoLiteral(literal) {
|
|
29579
|
+
if (typeof literal.valor === 'string')
|
|
29580
|
+
return `'${literal.valor}'`;
|
|
29581
|
+
return literal.valor;
|
|
29582
|
+
}
|
|
29251
29583
|
traduzirDeclaracaoEscreva(declaracaoEscreva) {
|
|
29252
29584
|
let resultado = 'escreva(';
|
|
29253
29585
|
for (const argumento of declaracaoEscreva.argumentos) {
|
|
@@ -29282,7 +29614,7 @@ class TradutorPortugolIpt {
|
|
|
29282
29614
|
}
|
|
29283
29615
|
exports.TradutorPortugolIpt = TradutorPortugolIpt;
|
|
29284
29616
|
|
|
29285
|
-
},{"../avaliador-sintatico/dialetos":8,"../lexador/dialetos":
|
|
29617
|
+
},{"../avaliador-sintatico/dialetos":8,"../lexador/dialetos":149}],185:[function(require,module,exports){
|
|
29286
29618
|
"use strict";
|
|
29287
29619
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
29288
29620
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -29922,7 +30254,7 @@ class TradutorPython {
|
|
|
29922
30254
|
}
|
|
29923
30255
|
exports.TradutorPython = TradutorPython;
|
|
29924
30256
|
|
|
29925
|
-
},{"../construtos":44,"../declaracoes":85,"../tipos-de-simbolos/delegua":
|
|
30257
|
+
},{"../construtos":44,"../declaracoes":85,"../tipos-de-simbolos/delegua":171}],186:[function(require,module,exports){
|
|
29926
30258
|
"use strict";
|
|
29927
30259
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29928
30260
|
exports.TradutorReversoJavaScript = void 0;
|
|
@@ -30317,7 +30649,7 @@ class TradutorReversoJavaScript {
|
|
|
30317
30649
|
}
|
|
30318
30650
|
exports.TradutorReversoJavaScript = TradutorReversoJavaScript;
|
|
30319
30651
|
|
|
30320
|
-
},{}],
|
|
30652
|
+
},{}],187:[function(require,module,exports){
|
|
30321
30653
|
"use strict";
|
|
30322
30654
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30323
30655
|
exports.TradutorReversoPython = void 0;
|
|
@@ -30390,7 +30722,7 @@ class TradutorReversoPython {
|
|
|
30390
30722
|
}
|
|
30391
30723
|
exports.TradutorReversoPython = TradutorReversoPython;
|
|
30392
30724
|
|
|
30393
|
-
},{"./python/python3-lexer":
|
|
30725
|
+
},{"./python/python3-lexer":179,"./python/python3-parser":180,"antlr4ts":304,"antlr4ts/tree/ParseTreeWalker":323}],188:[function(require,module,exports){
|
|
30394
30726
|
"use strict";
|
|
30395
30727
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
30396
30728
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -30556,13 +30888,13 @@ class TradutorReversoTenda {
|
|
|
30556
30888
|
let resultado = '';
|
|
30557
30889
|
// if (binario.esquerda.constructor.name === 'Agrupamento')
|
|
30558
30890
|
// resultado += '(' + this.dicionarioConstrutos[binario.esquerda.constructor.name](binario.esquerda) + ')';
|
|
30559
|
-
// else
|
|
30891
|
+
// else
|
|
30560
30892
|
resultado += this.dicionarioConstrutos[binario.esquerda.constructor.name](binario.esquerda);
|
|
30561
30893
|
let operador = this.traduzirSimboloOperador(binario.operador);
|
|
30562
30894
|
resultado += ` ${operador} `;
|
|
30563
30895
|
// if (binario.direita.constructor.name === 'Agrupamento')
|
|
30564
30896
|
// resultado += '(' + this.dicionarioConstrutos[binario.direita.constructor.name](binario.direita) + ')';
|
|
30565
|
-
// else
|
|
30897
|
+
// else
|
|
30566
30898
|
resultado += this.dicionarioConstrutos[binario.direita.constructor.name](binario.direita);
|
|
30567
30899
|
return resultado;
|
|
30568
30900
|
}
|
|
@@ -30599,7 +30931,8 @@ class TradutorReversoTenda {
|
|
|
30599
30931
|
for (let i = 0; i < dicionario.chaves.length; i++) {
|
|
30600
30932
|
resultado += this.dicionarioConstrutos[dicionario.chaves[i].constructor.name](dicionario.chaves[i]);
|
|
30601
30933
|
resultado += ':';
|
|
30602
|
-
resultado +=
|
|
30934
|
+
resultado +=
|
|
30935
|
+
this.dicionarioConstrutos[dicionario.valores[i].constructor.name](dicionario.valores[i]) + ',';
|
|
30603
30936
|
}
|
|
30604
30937
|
resultado += '}';
|
|
30605
30938
|
return resultado;
|
|
@@ -30667,7 +31000,10 @@ class TradutorReversoTenda {
|
|
|
30667
31000
|
logicaTraducaoMetodoClasse(metodoClasse) {
|
|
30668
31001
|
this.indentacao += 4;
|
|
30669
31002
|
let resultado = ' '.repeat(this.indentacao);
|
|
30670
|
-
resultado +=
|
|
31003
|
+
resultado +=
|
|
31004
|
+
metodoClasse.simbolo.lexema === 'construtor'
|
|
31005
|
+
? 'constructor('
|
|
31006
|
+
: metodoClasse.simbolo.lexema + '(';
|
|
30671
31007
|
for (let parametro of metodoClasse.funcao.parametros) {
|
|
30672
31008
|
resultado += parametro.nome.lexema + ', ';
|
|
30673
31009
|
}
|
|
@@ -30761,7 +31097,9 @@ class TradutorReversoTenda {
|
|
|
30761
31097
|
let resultado = 'se ';
|
|
30762
31098
|
const condicao = this.dicionarioConstrutos[declaracaoSe.condicao.constructor.name](declaracaoSe.condicao);
|
|
30763
31099
|
resultado += condicao;
|
|
30764
|
-
resultado +=
|
|
31100
|
+
resultado +=
|
|
31101
|
+
' ' +
|
|
31102
|
+
this.dicionarioDeclaracoes[declaracaoSe.caminhoEntao.constructor.name](declaracaoSe.caminhoEntao);
|
|
30765
31103
|
if (declaracaoSe.caminhoSenao !== null) {
|
|
30766
31104
|
resultado += ' '.repeat(this.indentacao);
|
|
30767
31105
|
resultado += ' senão ';
|
|
@@ -30783,7 +31121,8 @@ class TradutorReversoTenda {
|
|
|
30783
31121
|
resultado += ' '.repeat(this.indentacao);
|
|
30784
31122
|
if (Array.isArray(declaracaoTente.caminhoPegue)) {
|
|
30785
31123
|
for (let declaracao of declaracaoTente.caminhoPegue) {
|
|
30786
|
-
resultado +=
|
|
31124
|
+
resultado +=
|
|
31125
|
+
this.dicionarioDeclaracoes[declaracao.constructor.name](declaracao) + '\n';
|
|
30787
31126
|
}
|
|
30788
31127
|
}
|
|
30789
31128
|
else {
|
|
@@ -30797,7 +31136,8 @@ class TradutorReversoTenda {
|
|
|
30797
31136
|
if (declaracaoTente.caminhoFinalmente !== null) {
|
|
30798
31137
|
resultado += '\nfinally {\n';
|
|
30799
31138
|
for (let finalmente of declaracaoTente.caminhoFinalmente) {
|
|
30800
|
-
resultado +=
|
|
31139
|
+
resultado +=
|
|
31140
|
+
this.dicionarioDeclaracoes[finalmente.constructor.name](finalmente) + '\n';
|
|
30801
31141
|
}
|
|
30802
31142
|
resultado += ' '.repeat(this.indentacao);
|
|
30803
31143
|
resultado += '}';
|
|
@@ -30975,7 +31315,7 @@ class TradutorReversoTenda {
|
|
|
30975
31315
|
}
|
|
30976
31316
|
exports.TradutorReversoTenda = TradutorReversoTenda;
|
|
30977
31317
|
|
|
30978
|
-
},{"../construtos":44,"../tipos-de-simbolos/tenda":
|
|
31318
|
+
},{"../construtos":44,"../tipos-de-simbolos/tenda":177}],189:[function(require,module,exports){
|
|
30979
31319
|
"use strict";
|
|
30980
31320
|
/*!
|
|
30981
31321
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30983,7 +31323,7 @@ exports.TradutorReversoTenda = TradutorReversoTenda;
|
|
|
30983
31323
|
*/
|
|
30984
31324
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30985
31325
|
|
|
30986
|
-
},{}],
|
|
31326
|
+
},{}],190:[function(require,module,exports){
|
|
30987
31327
|
"use strict";
|
|
30988
31328
|
/*!
|
|
30989
31329
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30991,7 +31331,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
30991
31331
|
*/
|
|
30992
31332
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30993
31333
|
|
|
30994
|
-
},{}],
|
|
31334
|
+
},{}],191:[function(require,module,exports){
|
|
30995
31335
|
"use strict";
|
|
30996
31336
|
/*!
|
|
30997
31337
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31153,7 +31493,7 @@ __decorate([
|
|
|
31153
31493
|
], ANTLRInputStream.prototype, "toString", null);
|
|
31154
31494
|
exports.ANTLRInputStream = ANTLRInputStream;
|
|
31155
31495
|
|
|
31156
|
-
},{"./Decorators":
|
|
31496
|
+
},{"./Decorators":202,"./IntStream":208,"assert":345}],192:[function(require,module,exports){
|
|
31157
31497
|
"use strict";
|
|
31158
31498
|
/*!
|
|
31159
31499
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31236,7 +31576,7 @@ __decorate([
|
|
|
31236
31576
|
], BailErrorStrategy.prototype, "sync", null);
|
|
31237
31577
|
exports.BailErrorStrategy = BailErrorStrategy;
|
|
31238
31578
|
|
|
31239
|
-
},{"./Decorators":
|
|
31579
|
+
},{"./Decorators":202,"./DefaultErrorStrategy":203,"./InputMismatchException":207,"./misc/ParseCancellationException":319}],193:[function(require,module,exports){
|
|
31240
31580
|
"use strict";
|
|
31241
31581
|
/*!
|
|
31242
31582
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31726,7 +32066,7 @@ BufferedTokenStream = __decorate([
|
|
|
31726
32066
|
], BufferedTokenStream);
|
|
31727
32067
|
exports.BufferedTokenStream = BufferedTokenStream;
|
|
31728
32068
|
|
|
31729
|
-
},{"./CommonToken":
|
|
32069
|
+
},{"./CommonToken":198,"./Decorators":202,"./Lexer":210,"./Token":227,"./misc/Interval":314,"assert":345}],194:[function(require,module,exports){
|
|
31730
32070
|
"use strict";
|
|
31731
32071
|
/*!
|
|
31732
32072
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31734,7 +32074,7 @@ exports.BufferedTokenStream = BufferedTokenStream;
|
|
|
31734
32074
|
*/
|
|
31735
32075
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31736
32076
|
|
|
31737
|
-
},{}],
|
|
32077
|
+
},{}],195:[function(require,module,exports){
|
|
31738
32078
|
"use strict";
|
|
31739
32079
|
/*!
|
|
31740
32080
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31868,7 +32208,7 @@ var CharStreams;
|
|
|
31868
32208
|
// }
|
|
31869
32209
|
})(CharStreams = exports.CharStreams || (exports.CharStreams = {}));
|
|
31870
32210
|
|
|
31871
|
-
},{"./CodePointBuffer":
|
|
32211
|
+
},{"./CodePointBuffer":196,"./CodePointCharStream":197,"./IntStream":208}],196:[function(require,module,exports){
|
|
31872
32212
|
"use strict";
|
|
31873
32213
|
/*!
|
|
31874
32214
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32103,7 +32443,7 @@ exports.CodePointBuffer = CodePointBuffer;
|
|
|
32103
32443
|
CodePointBuffer.Builder = Builder;
|
|
32104
32444
|
})(CodePointBuffer = exports.CodePointBuffer || (exports.CodePointBuffer = {}));
|
|
32105
32445
|
|
|
32106
|
-
},{"./misc/Character":
|
|
32446
|
+
},{"./misc/Character":310,"assert":345}],197:[function(require,module,exports){
|
|
32107
32447
|
"use strict";
|
|
32108
32448
|
/*!
|
|
32109
32449
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32253,7 +32593,7 @@ __decorate([
|
|
|
32253
32593
|
], CodePointCharStream.prototype, "getText", null);
|
|
32254
32594
|
exports.CodePointCharStream = CodePointCharStream;
|
|
32255
32595
|
|
|
32256
|
-
},{"./Decorators":
|
|
32596
|
+
},{"./Decorators":202,"./IntStream":208,"./misc/Interval":314,"assert":345}],198:[function(require,module,exports){
|
|
32257
32597
|
"use strict";
|
|
32258
32598
|
/*!
|
|
32259
32599
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32483,7 +32823,7 @@ CommonToken = __decorate([
|
|
|
32483
32823
|
], CommonToken);
|
|
32484
32824
|
exports.CommonToken = CommonToken;
|
|
32485
32825
|
|
|
32486
|
-
},{"./Decorators":
|
|
32826
|
+
},{"./Decorators":202,"./Token":227,"./misc/Interval":314}],199:[function(require,module,exports){
|
|
32487
32827
|
"use strict";
|
|
32488
32828
|
/*!
|
|
32489
32829
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32547,7 +32887,7 @@ exports.CommonTokenFactory = CommonTokenFactory;
|
|
|
32547
32887
|
CommonTokenFactory.DEFAULT = new CommonTokenFactory();
|
|
32548
32888
|
})(CommonTokenFactory = exports.CommonTokenFactory || (exports.CommonTokenFactory = {}));
|
|
32549
32889
|
|
|
32550
|
-
},{"./CommonToken":
|
|
32890
|
+
},{"./CommonToken":198,"./Decorators":202,"./misc/Interval":314}],200:[function(require,module,exports){
|
|
32551
32891
|
"use strict";
|
|
32552
32892
|
/*!
|
|
32553
32893
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32674,7 +33014,7 @@ CommonTokenStream = __decorate([
|
|
|
32674
33014
|
], CommonTokenStream);
|
|
32675
33015
|
exports.CommonTokenStream = CommonTokenStream;
|
|
32676
33016
|
|
|
32677
|
-
},{"./BufferedTokenStream":
|
|
33017
|
+
},{"./BufferedTokenStream":193,"./Decorators":202,"./Token":227}],201:[function(require,module,exports){
|
|
32678
33018
|
"use strict";
|
|
32679
33019
|
/*!
|
|
32680
33020
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32708,7 +33048,7 @@ exports.ConsoleErrorListener = ConsoleErrorListener;
|
|
|
32708
33048
|
*/
|
|
32709
33049
|
ConsoleErrorListener.INSTANCE = new ConsoleErrorListener();
|
|
32710
33050
|
|
|
32711
|
-
},{}],
|
|
33051
|
+
},{}],202:[function(require,module,exports){
|
|
32712
33052
|
"use strict";
|
|
32713
33053
|
/*!
|
|
32714
33054
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32735,7 +33075,7 @@ function SuppressWarnings(options) {
|
|
|
32735
33075
|
}
|
|
32736
33076
|
exports.SuppressWarnings = SuppressWarnings;
|
|
32737
33077
|
|
|
32738
|
-
},{}],
|
|
33078
|
+
},{}],203:[function(require,module,exports){
|
|
32739
33079
|
"use strict";
|
|
32740
33080
|
/*!
|
|
32741
33081
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33549,7 +33889,7 @@ __decorate([
|
|
|
33549
33889
|
], DefaultErrorStrategy.prototype, "consumeUntil", null);
|
|
33550
33890
|
exports.DefaultErrorStrategy = DefaultErrorStrategy;
|
|
33551
33891
|
|
|
33552
|
-
},{"./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){
|
|
33553
33893
|
"use strict";
|
|
33554
33894
|
/*!
|
|
33555
33895
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33625,7 +33965,7 @@ var Dependents;
|
|
|
33625
33965
|
Dependents[Dependents["FOLLOWING"] = 9] = "FOLLOWING";
|
|
33626
33966
|
})(Dependents = exports.Dependents || (exports.Dependents = {}));
|
|
33627
33967
|
|
|
33628
|
-
},{}],
|
|
33968
|
+
},{}],205:[function(require,module,exports){
|
|
33629
33969
|
"use strict";
|
|
33630
33970
|
/*!
|
|
33631
33971
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33773,7 +34113,7 @@ __decorate([
|
|
|
33773
34113
|
], DiagnosticErrorListener.prototype, "getConflictingAlts", null);
|
|
33774
34114
|
exports.DiagnosticErrorListener = DiagnosticErrorListener;
|
|
33775
34115
|
|
|
33776
|
-
},{"./Decorators":
|
|
34116
|
+
},{"./Decorators":202,"./misc/BitSet":309,"./misc/Interval":314}],206:[function(require,module,exports){
|
|
33777
34117
|
"use strict";
|
|
33778
34118
|
/*!
|
|
33779
34119
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33838,7 +34178,7 @@ FailedPredicateException = __decorate([
|
|
|
33838
34178
|
], FailedPredicateException);
|
|
33839
34179
|
exports.FailedPredicateException = FailedPredicateException;
|
|
33840
34180
|
|
|
33841
|
-
},{"./Decorators":
|
|
34181
|
+
},{"./Decorators":202,"./RecognitionException":221,"./atn/PredicateTransition":281}],207:[function(require,module,exports){
|
|
33842
34182
|
"use strict";
|
|
33843
34183
|
/*!
|
|
33844
34184
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33878,7 +34218,7 @@ InputMismatchException = __decorate([
|
|
|
33878
34218
|
], InputMismatchException);
|
|
33879
34219
|
exports.InputMismatchException = InputMismatchException;
|
|
33880
34220
|
|
|
33881
|
-
},{"./Decorators":
|
|
34221
|
+
},{"./Decorators":202,"./RecognitionException":221}],208:[function(require,module,exports){
|
|
33882
34222
|
"use strict";
|
|
33883
34223
|
/*!
|
|
33884
34224
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33901,7 +34241,7 @@ var IntStream;
|
|
|
33901
34241
|
IntStream.UNKNOWN_SOURCE_NAME = "<unknown>";
|
|
33902
34242
|
})(IntStream = exports.IntStream || (exports.IntStream = {}));
|
|
33903
34243
|
|
|
33904
|
-
},{}],
|
|
34244
|
+
},{}],209:[function(require,module,exports){
|
|
33905
34245
|
"use strict";
|
|
33906
34246
|
/*!
|
|
33907
34247
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33948,7 +34288,7 @@ __decorate([
|
|
|
33948
34288
|
], InterpreterRuleContext.prototype, "ruleIndex", null);
|
|
33949
34289
|
exports.InterpreterRuleContext = InterpreterRuleContext;
|
|
33950
34290
|
|
|
33951
|
-
},{"./Decorators":
|
|
34291
|
+
},{"./Decorators":202,"./ParserRuleContext":218}],210:[function(require,module,exports){
|
|
33952
34292
|
"use strict";
|
|
33953
34293
|
/*!
|
|
33954
34294
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34284,7 +34624,7 @@ __decorate([
|
|
|
34284
34624
|
], Lexer.prototype, "charPositionInLine", null);
|
|
34285
34625
|
exports.Lexer = Lexer;
|
|
34286
34626
|
|
|
34287
|
-
},{"./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){
|
|
34288
34628
|
"use strict";
|
|
34289
34629
|
/*!
|
|
34290
34630
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34364,7 +34704,7 @@ LexerInterpreter = __decorate([
|
|
|
34364
34704
|
], LexerInterpreter);
|
|
34365
34705
|
exports.LexerInterpreter = LexerInterpreter;
|
|
34366
34706
|
|
|
34367
|
-
},{"./Decorators":
|
|
34707
|
+
},{"./Decorators":202,"./Lexer":210,"./atn/LexerATNSimulator":260}],212:[function(require,module,exports){
|
|
34368
34708
|
"use strict";
|
|
34369
34709
|
/*!
|
|
34370
34710
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34421,7 +34761,7 @@ LexerNoViableAltException = __decorate([
|
|
|
34421
34761
|
], LexerNoViableAltException);
|
|
34422
34762
|
exports.LexerNoViableAltException = LexerNoViableAltException;
|
|
34423
34763
|
|
|
34424
|
-
},{"./Decorators":
|
|
34764
|
+
},{"./Decorators":202,"./RecognitionException":221,"./misc/Interval":314,"./misc/Utils":321}],213:[function(require,module,exports){
|
|
34425
34765
|
"use strict";
|
|
34426
34766
|
/*!
|
|
34427
34767
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34631,7 +34971,7 @@ ListTokenSource = __decorate([
|
|
|
34631
34971
|
], ListTokenSource);
|
|
34632
34972
|
exports.ListTokenSource = ListTokenSource;
|
|
34633
34973
|
|
|
34634
|
-
},{"./CommonTokenFactory":
|
|
34974
|
+
},{"./CommonTokenFactory":199,"./Decorators":202,"./Token":227}],214:[function(require,module,exports){
|
|
34635
34975
|
"use strict";
|
|
34636
34976
|
/*!
|
|
34637
34977
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34686,7 +35026,7 @@ __decorate([
|
|
|
34686
35026
|
], NoViableAltException.prototype, "_startToken", void 0);
|
|
34687
35027
|
exports.NoViableAltException = NoViableAltException;
|
|
34688
35028
|
|
|
34689
|
-
},{"./Decorators":
|
|
35029
|
+
},{"./Decorators":202,"./Parser":215,"./RecognitionException":221}],215:[function(require,module,exports){
|
|
34690
35030
|
(function (process){(function (){
|
|
34691
35031
|
"use strict";
|
|
34692
35032
|
/*!
|
|
@@ -35532,7 +35872,7 @@ __decorate([
|
|
|
35532
35872
|
exports.Parser = Parser;
|
|
35533
35873
|
|
|
35534
35874
|
}).call(this)}).call(this,require('_process'))
|
|
35535
|
-
},{"./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){
|
|
35536
35876
|
"use strict";
|
|
35537
35877
|
/*!
|
|
35538
35878
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35540,7 +35880,7 @@ exports.Parser = Parser;
|
|
|
35540
35880
|
*/
|
|
35541
35881
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35542
35882
|
|
|
35543
|
-
},{}],
|
|
35883
|
+
},{}],217:[function(require,module,exports){
|
|
35544
35884
|
"use strict";
|
|
35545
35885
|
/*!
|
|
35546
35886
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35948,7 +36288,7 @@ ParserInterpreter = __decorate([
|
|
|
35948
36288
|
], ParserInterpreter);
|
|
35949
36289
|
exports.ParserInterpreter = ParserInterpreter;
|
|
35950
36290
|
|
|
35951
|
-
},{"./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){
|
|
35952
36292
|
"use strict";
|
|
35953
36293
|
/*!
|
|
35954
36294
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36249,7 +36589,7 @@ __decorate([
|
|
|
36249
36589
|
], ParserRuleContext.prototype, "sourceInterval", null);
|
|
36250
36590
|
exports.ParserRuleContext = ParserRuleContext;
|
|
36251
36591
|
|
|
36252
|
-
},{"./Decorators":
|
|
36592
|
+
},{"./Decorators":202,"./RuleContext":223,"./misc/Interval":314,"./tree/ErrorNode":322,"./tree/TerminalNode":325}],219:[function(require,module,exports){
|
|
36253
36593
|
"use strict";
|
|
36254
36594
|
/*!
|
|
36255
36595
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36299,7 +36639,7 @@ __decorate([
|
|
|
36299
36639
|
], ProxyErrorListener.prototype, "syntaxError", null);
|
|
36300
36640
|
exports.ProxyErrorListener = ProxyErrorListener;
|
|
36301
36641
|
|
|
36302
|
-
},{"./Decorators":
|
|
36642
|
+
},{"./Decorators":202}],220:[function(require,module,exports){
|
|
36303
36643
|
"use strict";
|
|
36304
36644
|
/*!
|
|
36305
36645
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36358,7 +36698,7 @@ __decorate([
|
|
|
36358
36698
|
], ProxyParserErrorListener.prototype, "reportContextSensitivity", null);
|
|
36359
36699
|
exports.ProxyParserErrorListener = ProxyParserErrorListener;
|
|
36360
36700
|
|
|
36361
|
-
},{"./Decorators":
|
|
36701
|
+
},{"./Decorators":202,"./ProxyErrorListener":219}],221:[function(require,module,exports){
|
|
36362
36702
|
"use strict";
|
|
36363
36703
|
/*!
|
|
36364
36704
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36463,7 +36803,7 @@ class RecognitionException extends Error {
|
|
|
36463
36803
|
}
|
|
36464
36804
|
exports.RecognitionException = RecognitionException;
|
|
36465
36805
|
|
|
36466
|
-
},{}],
|
|
36806
|
+
},{}],222:[function(require,module,exports){
|
|
36467
36807
|
"use strict";
|
|
36468
36808
|
/*!
|
|
36469
36809
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36682,7 +37022,7 @@ __decorate([
|
|
|
36682
37022
|
], Recognizer.prototype, "getErrorListeners", null);
|
|
36683
37023
|
exports.Recognizer = Recognizer;
|
|
36684
37024
|
|
|
36685
|
-
},{"./ConsoleErrorListener":
|
|
37025
|
+
},{"./ConsoleErrorListener":201,"./Decorators":202,"./ProxyErrorListener":219,"./Token":227,"./misc/Utils":321}],223:[function(require,module,exports){
|
|
36686
37026
|
"use strict";
|
|
36687
37027
|
/*!
|
|
36688
37028
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36899,7 +37239,7 @@ __decorate([
|
|
|
36899
37239
|
], RuleContext.prototype, "toStringTree", null);
|
|
36900
37240
|
exports.RuleContext = RuleContext;
|
|
36901
37241
|
|
|
36902
|
-
},{"./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){
|
|
36903
37243
|
"use strict";
|
|
36904
37244
|
/*!
|
|
36905
37245
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36950,7 +37290,7 @@ __decorate([
|
|
|
36950
37290
|
], RuleContextWithAltNum.prototype, "altNumber", null);
|
|
36951
37291
|
exports.RuleContextWithAltNum = RuleContextWithAltNum;
|
|
36952
37292
|
|
|
36953
|
-
},{"./Decorators":
|
|
37293
|
+
},{"./Decorators":202,"./ParserRuleContext":218,"./atn/ATN":235}],225:[function(require,module,exports){
|
|
36954
37294
|
"use strict";
|
|
36955
37295
|
/*!
|
|
36956
37296
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36973,7 +37313,7 @@ function RuleDependency(dependency) {
|
|
|
36973
37313
|
}
|
|
36974
37314
|
exports.RuleDependency = RuleDependency;
|
|
36975
37315
|
|
|
36976
|
-
},{}],
|
|
37316
|
+
},{}],226:[function(require,module,exports){
|
|
36977
37317
|
"use strict";
|
|
36978
37318
|
/*!
|
|
36979
37319
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36992,7 +37332,7 @@ function RuleVersion(version) {
|
|
|
36992
37332
|
}
|
|
36993
37333
|
exports.RuleVersion = RuleVersion;
|
|
36994
37334
|
|
|
36995
|
-
},{}],
|
|
37335
|
+
},{}],227:[function(require,module,exports){
|
|
36996
37336
|
"use strict";
|
|
36997
37337
|
/*!
|
|
36998
37338
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37032,7 +37372,7 @@ var Token;
|
|
|
37032
37372
|
Token.MIN_USER_CHANNEL_VALUE = 2;
|
|
37033
37373
|
})(Token = exports.Token || (exports.Token = {}));
|
|
37034
37374
|
|
|
37035
|
-
},{"./IntStream":
|
|
37375
|
+
},{"./IntStream":208}],228:[function(require,module,exports){
|
|
37036
37376
|
"use strict";
|
|
37037
37377
|
/*!
|
|
37038
37378
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37040,7 +37380,7 @@ var Token;
|
|
|
37040
37380
|
*/
|
|
37041
37381
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37042
37382
|
|
|
37043
|
-
},{}],
|
|
37383
|
+
},{}],229:[function(require,module,exports){
|
|
37044
37384
|
"use strict";
|
|
37045
37385
|
/*!
|
|
37046
37386
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37048,7 +37388,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37048
37388
|
*/
|
|
37049
37389
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37050
37390
|
|
|
37051
|
-
},{}],
|
|
37391
|
+
},{}],230:[function(require,module,exports){
|
|
37052
37392
|
"use strict";
|
|
37053
37393
|
/*!
|
|
37054
37394
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37056,7 +37396,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37056
37396
|
*/
|
|
37057
37397
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37058
37398
|
|
|
37059
|
-
},{}],
|
|
37399
|
+
},{}],231:[function(require,module,exports){
|
|
37060
37400
|
"use strict";
|
|
37061
37401
|
/*!
|
|
37062
37402
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37564,7 +37904,7 @@ __decorate([
|
|
|
37564
37904
|
Decorators_1.Override
|
|
37565
37905
|
], ReplaceOp.prototype, "toString", null);
|
|
37566
37906
|
|
|
37567
|
-
},{"./Decorators":
|
|
37907
|
+
},{"./Decorators":202,"./Token":227,"./misc/Interval":314}],232:[function(require,module,exports){
|
|
37568
37908
|
"use strict";
|
|
37569
37909
|
/*!
|
|
37570
37910
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37572,7 +37912,7 @@ __decorate([
|
|
|
37572
37912
|
*/
|
|
37573
37913
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37574
37914
|
|
|
37575
|
-
},{}],
|
|
37915
|
+
},{}],233:[function(require,module,exports){
|
|
37576
37916
|
"use strict";
|
|
37577
37917
|
/*!
|
|
37578
37918
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37692,7 +38032,7 @@ __decorate([
|
|
|
37692
38032
|
], VocabularyImpl, "EMPTY_VOCABULARY", void 0);
|
|
37693
38033
|
exports.VocabularyImpl = VocabularyImpl;
|
|
37694
38034
|
|
|
37695
|
-
},{"./Decorators":
|
|
38035
|
+
},{"./Decorators":202,"./Token":227}],234:[function(require,module,exports){
|
|
37696
38036
|
"use strict";
|
|
37697
38037
|
/*!
|
|
37698
38038
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37700,7 +38040,7 @@ exports.VocabularyImpl = VocabularyImpl;
|
|
|
37700
38040
|
*/
|
|
37701
38041
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37702
38042
|
|
|
37703
|
-
},{}],
|
|
38043
|
+
},{}],235:[function(require,module,exports){
|
|
37704
38044
|
"use strict";
|
|
37705
38045
|
/*!
|
|
37706
38046
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37922,7 +38262,7 @@ exports.ATN = ATN;
|
|
|
37922
38262
|
})(ATN = exports.ATN || (exports.ATN = {}));
|
|
37923
38263
|
exports.ATN = ATN;
|
|
37924
38264
|
|
|
37925
|
-
},{"../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){
|
|
37926
38266
|
"use strict";
|
|
37927
38267
|
/*!
|
|
37928
38268
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38447,7 +38787,7 @@ ActionSemanticContextATNConfig = __decorate([
|
|
|
38447
38787
|
__param(1, Decorators_1.NotNull), __param(2, Decorators_1.NotNull)
|
|
38448
38788
|
], ActionSemanticContextATNConfig);
|
|
38449
38789
|
|
|
38450
|
-
},{"../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){
|
|
38451
38791
|
"use strict";
|
|
38452
38792
|
/*!
|
|
38453
38793
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38894,7 +39234,7 @@ __decorate([
|
|
|
38894
39234
|
], ATNConfigSet.prototype, "hashCode", null);
|
|
38895
39235
|
exports.ATNConfigSet = ATNConfigSet;
|
|
38896
39236
|
|
|
38897
|
-
},{"../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){
|
|
38898
39238
|
"use strict";
|
|
38899
39239
|
/*!
|
|
38900
39240
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38973,7 +39313,7 @@ __decorate([
|
|
|
38973
39313
|
], ATNDeserializationOptions, "defaultOptions", null);
|
|
38974
39314
|
exports.ATNDeserializationOptions = ATNDeserializationOptions;
|
|
38975
39315
|
|
|
38976
|
-
},{"../Decorators":
|
|
39316
|
+
},{"../Decorators":202}],239:[function(require,module,exports){
|
|
38977
39317
|
"use strict";
|
|
38978
39318
|
/*!
|
|
38979
39319
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40060,7 +40400,7 @@ __decorate([
|
|
|
40060
40400
|
], ATNDeserializer.prototype, "edgeFactory", null);
|
|
40061
40401
|
exports.ATNDeserializer = ATNDeserializer;
|
|
40062
40402
|
|
|
40063
|
-
},{"../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){
|
|
40064
40404
|
"use strict";
|
|
40065
40405
|
/*!
|
|
40066
40406
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40124,7 +40464,7 @@ exports.ATNSimulator = ATNSimulator;
|
|
|
40124
40464
|
})(ATNSimulator = exports.ATNSimulator || (exports.ATNSimulator = {}));
|
|
40125
40465
|
exports.ATNSimulator = ATNSimulator;
|
|
40126
40466
|
|
|
40127
|
-
},{"../Decorators":
|
|
40467
|
+
},{"../Decorators":202,"../dfa/DFAState":302,"./ATNConfigSet":237,"./PredictionContext":282}],241:[function(require,module,exports){
|
|
40128
40468
|
"use strict";
|
|
40129
40469
|
/*!
|
|
40130
40470
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40311,7 +40651,7 @@ exports.ATNState = ATNState;
|
|
|
40311
40651
|
ATNState.INVALID_STATE_NUMBER = -1;
|
|
40312
40652
|
})(ATNState = exports.ATNState || (exports.ATNState = {}));
|
|
40313
40653
|
|
|
40314
|
-
},{"../Decorators":
|
|
40654
|
+
},{"../Decorators":202}],242:[function(require,module,exports){
|
|
40315
40655
|
"use strict";
|
|
40316
40656
|
/*!
|
|
40317
40657
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40337,7 +40677,7 @@ var ATNStateType;
|
|
|
40337
40677
|
ATNStateType[ATNStateType["LOOP_END"] = 12] = "LOOP_END";
|
|
40338
40678
|
})(ATNStateType = exports.ATNStateType || (exports.ATNStateType = {}));
|
|
40339
40679
|
|
|
40340
|
-
},{}],
|
|
40680
|
+
},{}],243:[function(require,module,exports){
|
|
40341
40681
|
"use strict";
|
|
40342
40682
|
/*!
|
|
40343
40683
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40357,7 +40697,7 @@ class AbstractPredicateTransition extends Transition_1.Transition {
|
|
|
40357
40697
|
}
|
|
40358
40698
|
exports.AbstractPredicateTransition = AbstractPredicateTransition;
|
|
40359
40699
|
|
|
40360
|
-
},{"./Transition":
|
|
40700
|
+
},{"./Transition":297}],244:[function(require,module,exports){
|
|
40361
40701
|
"use strict";
|
|
40362
40702
|
/*!
|
|
40363
40703
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40413,7 +40753,7 @@ ActionTransition = __decorate([
|
|
|
40413
40753
|
], ActionTransition);
|
|
40414
40754
|
exports.ActionTransition = ActionTransition;
|
|
40415
40755
|
|
|
40416
|
-
},{"../Decorators":
|
|
40756
|
+
},{"../Decorators":202,"./Transition":297}],245:[function(require,module,exports){
|
|
40417
40757
|
"use strict";
|
|
40418
40758
|
/*!
|
|
40419
40759
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40500,7 +40840,7 @@ AmbiguityInfo = __decorate([
|
|
|
40500
40840
|
], AmbiguityInfo);
|
|
40501
40841
|
exports.AmbiguityInfo = AmbiguityInfo;
|
|
40502
40842
|
|
|
40503
|
-
},{"../Decorators":
|
|
40843
|
+
},{"../Decorators":202,"./DecisionEventInfo":253}],246:[function(require,module,exports){
|
|
40504
40844
|
"use strict";
|
|
40505
40845
|
/*!
|
|
40506
40846
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40558,7 +40898,7 @@ AtomTransition = __decorate([
|
|
|
40558
40898
|
], AtomTransition);
|
|
40559
40899
|
exports.AtomTransition = AtomTransition;
|
|
40560
40900
|
|
|
40561
|
-
},{"../Decorators":
|
|
40901
|
+
},{"../Decorators":202,"../misc/IntervalSet":315,"./Transition":297}],247:[function(require,module,exports){
|
|
40562
40902
|
"use strict";
|
|
40563
40903
|
/*!
|
|
40564
40904
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40590,7 +40930,7 @@ __decorate([
|
|
|
40590
40930
|
], BasicBlockStartState.prototype, "stateType", null);
|
|
40591
40931
|
exports.BasicBlockStartState = BasicBlockStartState;
|
|
40592
40932
|
|
|
40593
|
-
},{"../Decorators":
|
|
40933
|
+
},{"../Decorators":202,"./ATNStateType":242,"./BlockStartState":250}],248:[function(require,module,exports){
|
|
40594
40934
|
"use strict";
|
|
40595
40935
|
/*!
|
|
40596
40936
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40622,7 +40962,7 @@ __decorate([
|
|
|
40622
40962
|
], BasicState.prototype, "stateType", null);
|
|
40623
40963
|
exports.BasicState = BasicState;
|
|
40624
40964
|
|
|
40625
|
-
},{"../Decorators":
|
|
40965
|
+
},{"../Decorators":202,"./ATNState":241,"./ATNStateType":242}],249:[function(require,module,exports){
|
|
40626
40966
|
"use strict";
|
|
40627
40967
|
/*!
|
|
40628
40968
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40651,7 +40991,7 @@ __decorate([
|
|
|
40651
40991
|
], BlockEndState.prototype, "stateType", null);
|
|
40652
40992
|
exports.BlockEndState = BlockEndState;
|
|
40653
40993
|
|
|
40654
|
-
},{"../Decorators":
|
|
40994
|
+
},{"../Decorators":202,"./ATNState":241,"./ATNStateType":242}],250:[function(require,module,exports){
|
|
40655
40995
|
"use strict";
|
|
40656
40996
|
/*!
|
|
40657
40997
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40665,7 +41005,7 @@ class BlockStartState extends DecisionState_1.DecisionState {
|
|
|
40665
41005
|
}
|
|
40666
41006
|
exports.BlockStartState = BlockStartState;
|
|
40667
41007
|
|
|
40668
|
-
},{"./DecisionState":
|
|
41008
|
+
},{"./DecisionState":255}],251:[function(require,module,exports){
|
|
40669
41009
|
"use strict";
|
|
40670
41010
|
/*!
|
|
40671
41011
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40735,7 +41075,7 @@ __decorate([
|
|
|
40735
41075
|
], ConflictInfo.prototype, "hashCode", null);
|
|
40736
41076
|
exports.ConflictInfo = ConflictInfo;
|
|
40737
41077
|
|
|
40738
|
-
},{"../Decorators":
|
|
41078
|
+
},{"../Decorators":202,"../misc/Utils":321}],252:[function(require,module,exports){
|
|
40739
41079
|
"use strict";
|
|
40740
41080
|
/*!
|
|
40741
41081
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40795,7 +41135,7 @@ ContextSensitivityInfo = __decorate([
|
|
|
40795
41135
|
], ContextSensitivityInfo);
|
|
40796
41136
|
exports.ContextSensitivityInfo = ContextSensitivityInfo;
|
|
40797
41137
|
|
|
40798
|
-
},{"../Decorators":
|
|
41138
|
+
},{"../Decorators":202,"./DecisionEventInfo":253}],253:[function(require,module,exports){
|
|
40799
41139
|
"use strict";
|
|
40800
41140
|
/*!
|
|
40801
41141
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40847,7 +41187,7 @@ DecisionEventInfo = __decorate([
|
|
|
40847
41187
|
], DecisionEventInfo);
|
|
40848
41188
|
exports.DecisionEventInfo = DecisionEventInfo;
|
|
40849
41189
|
|
|
40850
|
-
},{"../Decorators":
|
|
41190
|
+
},{"../Decorators":202}],254:[function(require,module,exports){
|
|
40851
41191
|
"use strict";
|
|
40852
41192
|
/*!
|
|
40853
41193
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41060,7 +41400,7 @@ __decorate([
|
|
|
41060
41400
|
], DecisionInfo.prototype, "toString", null);
|
|
41061
41401
|
exports.DecisionInfo = DecisionInfo;
|
|
41062
41402
|
|
|
41063
|
-
},{"../Decorators":
|
|
41403
|
+
},{"../Decorators":202}],255:[function(require,module,exports){
|
|
41064
41404
|
"use strict";
|
|
41065
41405
|
/*!
|
|
41066
41406
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41080,7 +41420,7 @@ class DecisionState extends ATNState_1.ATNState {
|
|
|
41080
41420
|
}
|
|
41081
41421
|
exports.DecisionState = DecisionState;
|
|
41082
41422
|
|
|
41083
|
-
},{"./ATNState":
|
|
41423
|
+
},{"./ATNState":241}],256:[function(require,module,exports){
|
|
41084
41424
|
"use strict";
|
|
41085
41425
|
/*!
|
|
41086
41426
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41146,7 +41486,7 @@ EpsilonTransition = __decorate([
|
|
|
41146
41486
|
], EpsilonTransition);
|
|
41147
41487
|
exports.EpsilonTransition = EpsilonTransition;
|
|
41148
41488
|
|
|
41149
|
-
},{"../Decorators":
|
|
41489
|
+
},{"../Decorators":202,"./Transition":297}],257:[function(require,module,exports){
|
|
41150
41490
|
"use strict";
|
|
41151
41491
|
/*!
|
|
41152
41492
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41199,7 +41539,7 @@ ErrorInfo = __decorate([
|
|
|
41199
41539
|
], ErrorInfo);
|
|
41200
41540
|
exports.ErrorInfo = ErrorInfo;
|
|
41201
41541
|
|
|
41202
|
-
},{"../Decorators":
|
|
41542
|
+
},{"../Decorators":202,"./DecisionEventInfo":253}],258:[function(require,module,exports){
|
|
41203
41543
|
"use strict";
|
|
41204
41544
|
/*!
|
|
41205
41545
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41230,7 +41570,7 @@ __decorate([
|
|
|
41230
41570
|
], InvalidState.prototype, "stateType", null);
|
|
41231
41571
|
exports.InvalidState = InvalidState;
|
|
41232
41572
|
|
|
41233
|
-
},{"../Decorators":
|
|
41573
|
+
},{"../Decorators":202,"./ATNStateType":242,"./BasicState":248}],259:[function(require,module,exports){
|
|
41234
41574
|
"use strict";
|
|
41235
41575
|
/*!
|
|
41236
41576
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41452,7 +41792,7 @@ LL1Analyzer = __decorate([
|
|
|
41452
41792
|
], LL1Analyzer);
|
|
41453
41793
|
exports.LL1Analyzer = LL1Analyzer;
|
|
41454
41794
|
|
|
41455
|
-
},{"../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){
|
|
41456
41796
|
"use strict";
|
|
41457
41797
|
/*!
|
|
41458
41798
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42169,7 +42509,7 @@ exports.LexerATNSimulator = LexerATNSimulator;
|
|
|
42169
42509
|
})(LexerATNSimulator = exports.LexerATNSimulator || (exports.LexerATNSimulator = {}));
|
|
42170
42510
|
exports.LexerATNSimulator = LexerATNSimulator;
|
|
42171
42511
|
|
|
42172
|
-
},{"../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){
|
|
42173
42513
|
"use strict";
|
|
42174
42514
|
/*!
|
|
42175
42515
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42370,7 +42710,7 @@ LexerActionExecutor = __decorate([
|
|
|
42370
42710
|
], LexerActionExecutor);
|
|
42371
42711
|
exports.LexerActionExecutor = LexerActionExecutor;
|
|
42372
42712
|
|
|
42373
|
-
},{"../Decorators":
|
|
42713
|
+
},{"../Decorators":202,"../misc/ArrayEqualityComparator":307,"../misc/MurmurHash":317,"./LexerIndexedCustomAction":264}],262:[function(require,module,exports){
|
|
42374
42714
|
"use strict";
|
|
42375
42715
|
/*!
|
|
42376
42716
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42475,7 +42815,7 @@ __decorate([
|
|
|
42475
42815
|
], LexerChannelAction.prototype, "toString", null);
|
|
42476
42816
|
exports.LexerChannelAction = LexerChannelAction;
|
|
42477
42817
|
|
|
42478
|
-
},{"../Decorators":
|
|
42818
|
+
},{"../Decorators":202,"../misc/MurmurHash":317}],263:[function(require,module,exports){
|
|
42479
42819
|
"use strict";
|
|
42480
42820
|
/*!
|
|
42481
42821
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42604,7 +42944,7 @@ __decorate([
|
|
|
42604
42944
|
], LexerCustomAction.prototype, "equals", null);
|
|
42605
42945
|
exports.LexerCustomAction = LexerCustomAction;
|
|
42606
42946
|
|
|
42607
|
-
},{"../Decorators":
|
|
42947
|
+
},{"../Decorators":202,"../misc/MurmurHash":317}],264:[function(require,module,exports){
|
|
42608
42948
|
"use strict";
|
|
42609
42949
|
/*!
|
|
42610
42950
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42739,7 +43079,7 @@ LexerIndexedCustomAction = __decorate([
|
|
|
42739
43079
|
], LexerIndexedCustomAction);
|
|
42740
43080
|
exports.LexerIndexedCustomAction = LexerIndexedCustomAction;
|
|
42741
43081
|
|
|
42742
|
-
},{"../Decorators":
|
|
43082
|
+
},{"../Decorators":202,"../misc/MurmurHash":317}],265:[function(require,module,exports){
|
|
42743
43083
|
"use strict";
|
|
42744
43084
|
/*!
|
|
42745
43085
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42844,7 +43184,7 @@ __decorate([
|
|
|
42844
43184
|
], LexerModeAction.prototype, "toString", null);
|
|
42845
43185
|
exports.LexerModeAction = LexerModeAction;
|
|
42846
43186
|
|
|
42847
|
-
},{"../Decorators":
|
|
43187
|
+
},{"../Decorators":202,"../misc/MurmurHash":317}],266:[function(require,module,exports){
|
|
42848
43188
|
"use strict";
|
|
42849
43189
|
/*!
|
|
42850
43190
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42940,7 +43280,7 @@ exports.LexerMoreAction = LexerMoreAction;
|
|
|
42940
43280
|
LexerMoreAction.INSTANCE = new LexerMoreAction();
|
|
42941
43281
|
})(LexerMoreAction = exports.LexerMoreAction || (exports.LexerMoreAction = {}));
|
|
42942
43282
|
|
|
42943
|
-
},{"../Decorators":
|
|
43283
|
+
},{"../Decorators":202,"../misc/MurmurHash":317}],267:[function(require,module,exports){
|
|
42944
43284
|
"use strict";
|
|
42945
43285
|
/*!
|
|
42946
43286
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43036,7 +43376,7 @@ exports.LexerPopModeAction = LexerPopModeAction;
|
|
|
43036
43376
|
LexerPopModeAction.INSTANCE = new LexerPopModeAction();
|
|
43037
43377
|
})(LexerPopModeAction = exports.LexerPopModeAction || (exports.LexerPopModeAction = {}));
|
|
43038
43378
|
|
|
43039
|
-
},{"../Decorators":
|
|
43379
|
+
},{"../Decorators":202,"../misc/MurmurHash":317}],268:[function(require,module,exports){
|
|
43040
43380
|
"use strict";
|
|
43041
43381
|
/*!
|
|
43042
43382
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43141,7 +43481,7 @@ __decorate([
|
|
|
43141
43481
|
], LexerPushModeAction.prototype, "toString", null);
|
|
43142
43482
|
exports.LexerPushModeAction = LexerPushModeAction;
|
|
43143
43483
|
|
|
43144
|
-
},{"../Decorators":
|
|
43484
|
+
},{"../Decorators":202,"../misc/MurmurHash":317}],269:[function(require,module,exports){
|
|
43145
43485
|
"use strict";
|
|
43146
43486
|
/*!
|
|
43147
43487
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43237,7 +43577,7 @@ exports.LexerSkipAction = LexerSkipAction;
|
|
|
43237
43577
|
LexerSkipAction.INSTANCE = new LexerSkipAction();
|
|
43238
43578
|
})(LexerSkipAction = exports.LexerSkipAction || (exports.LexerSkipAction = {}));
|
|
43239
43579
|
|
|
43240
|
-
},{"../Decorators":
|
|
43580
|
+
},{"../Decorators":202,"../misc/MurmurHash":317}],270:[function(require,module,exports){
|
|
43241
43581
|
"use strict";
|
|
43242
43582
|
/*!
|
|
43243
43583
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43341,7 +43681,7 @@ __decorate([
|
|
|
43341
43681
|
], LexerTypeAction.prototype, "toString", null);
|
|
43342
43682
|
exports.LexerTypeAction = LexerTypeAction;
|
|
43343
43683
|
|
|
43344
|
-
},{"../Decorators":
|
|
43684
|
+
},{"../Decorators":202,"../misc/MurmurHash":317}],271:[function(require,module,exports){
|
|
43345
43685
|
"use strict";
|
|
43346
43686
|
/*!
|
|
43347
43687
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43393,7 +43733,7 @@ LookaheadEventInfo = __decorate([
|
|
|
43393
43733
|
], LookaheadEventInfo);
|
|
43394
43734
|
exports.LookaheadEventInfo = LookaheadEventInfo;
|
|
43395
43735
|
|
|
43396
|
-
},{"../Decorators":
|
|
43736
|
+
},{"../Decorators":202,"./DecisionEventInfo":253}],272:[function(require,module,exports){
|
|
43397
43737
|
"use strict";
|
|
43398
43738
|
/*!
|
|
43399
43739
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43422,7 +43762,7 @@ __decorate([
|
|
|
43422
43762
|
], LoopEndState.prototype, "stateType", null);
|
|
43423
43763
|
exports.LoopEndState = LoopEndState;
|
|
43424
43764
|
|
|
43425
|
-
},{"../Decorators":
|
|
43765
|
+
},{"../Decorators":202,"./ATNState":241,"./ATNStateType":242}],273:[function(require,module,exports){
|
|
43426
43766
|
"use strict";
|
|
43427
43767
|
/*!
|
|
43428
43768
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43471,7 +43811,7 @@ NotSetTransition = __decorate([
|
|
|
43471
43811
|
], NotSetTransition);
|
|
43472
43812
|
exports.NotSetTransition = NotSetTransition;
|
|
43473
43813
|
|
|
43474
|
-
},{"../Decorators":
|
|
43814
|
+
},{"../Decorators":202,"./SetTransition":291}],274:[function(require,module,exports){
|
|
43475
43815
|
"use strict";
|
|
43476
43816
|
/*!
|
|
43477
43817
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43526,7 +43866,7 @@ __decorate([
|
|
|
43526
43866
|
], OrderedATNConfigSet.prototype, "canMerge", null);
|
|
43527
43867
|
exports.OrderedATNConfigSet = OrderedATNConfigSet;
|
|
43528
43868
|
|
|
43529
|
-
},{"../Decorators":
|
|
43869
|
+
},{"../Decorators":202,"./ATNConfigSet":237}],275:[function(require,module,exports){
|
|
43530
43870
|
"use strict";
|
|
43531
43871
|
/*!
|
|
43532
43872
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43688,7 +44028,7 @@ ParseInfo = __decorate([
|
|
|
43688
44028
|
], ParseInfo);
|
|
43689
44029
|
exports.ParseInfo = ParseInfo;
|
|
43690
44030
|
|
|
43691
|
-
},{"../Decorators":
|
|
44031
|
+
},{"../Decorators":202}],276:[function(require,module,exports){
|
|
43692
44032
|
"use strict";
|
|
43693
44033
|
/*!
|
|
43694
44034
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45961,7 +46301,7 @@ ParserATNSimulator = __decorate([
|
|
|
45961
46301
|
], ParserATNSimulator);
|
|
45962
46302
|
exports.ParserATNSimulator = ParserATNSimulator;
|
|
45963
46303
|
|
|
45964
|
-
},{"../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){
|
|
45965
46305
|
"use strict";
|
|
45966
46306
|
/*!
|
|
45967
46307
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45994,7 +46334,7 @@ __decorate([
|
|
|
45994
46334
|
], PlusBlockStartState.prototype, "stateType", null);
|
|
45995
46335
|
exports.PlusBlockStartState = PlusBlockStartState;
|
|
45996
46336
|
|
|
45997
|
-
},{"../Decorators":
|
|
46337
|
+
},{"../Decorators":202,"./ATNStateType":242,"./BlockStartState":250}],278:[function(require,module,exports){
|
|
45998
46338
|
"use strict";
|
|
45999
46339
|
/*!
|
|
46000
46340
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46025,7 +46365,7 @@ __decorate([
|
|
|
46025
46365
|
], PlusLoopbackState.prototype, "stateType", null);
|
|
46026
46366
|
exports.PlusLoopbackState = PlusLoopbackState;
|
|
46027
46367
|
|
|
46028
|
-
},{"../Decorators":
|
|
46368
|
+
},{"../Decorators":202,"./ATNStateType":242,"./DecisionState":255}],279:[function(require,module,exports){
|
|
46029
46369
|
"use strict";
|
|
46030
46370
|
/*!
|
|
46031
46371
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46088,7 +46428,7 @@ PrecedencePredicateTransition = __decorate([
|
|
|
46088
46428
|
], PrecedencePredicateTransition);
|
|
46089
46429
|
exports.PrecedencePredicateTransition = PrecedencePredicateTransition;
|
|
46090
46430
|
|
|
46091
|
-
},{"../Decorators":
|
|
46431
|
+
},{"../Decorators":202,"./AbstractPredicateTransition":243,"./SemanticContext":290}],280:[function(require,module,exports){
|
|
46092
46432
|
"use strict";
|
|
46093
46433
|
/*!
|
|
46094
46434
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46151,7 +46491,7 @@ PredicateEvalInfo = __decorate([
|
|
|
46151
46491
|
], PredicateEvalInfo);
|
|
46152
46492
|
exports.PredicateEvalInfo = PredicateEvalInfo;
|
|
46153
46493
|
|
|
46154
|
-
},{"../Decorators":
|
|
46494
|
+
},{"../Decorators":202,"./DecisionEventInfo":253}],281:[function(require,module,exports){
|
|
46155
46495
|
"use strict";
|
|
46156
46496
|
/*!
|
|
46157
46497
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46217,7 +46557,7 @@ PredicateTransition = __decorate([
|
|
|
46217
46557
|
], PredicateTransition);
|
|
46218
46558
|
exports.PredicateTransition = PredicateTransition;
|
|
46219
46559
|
|
|
46220
|
-
},{"../Decorators":
|
|
46560
|
+
},{"../Decorators":202,"./AbstractPredicateTransition":243,"./SemanticContext":290}],282:[function(require,module,exports){
|
|
46221
46561
|
"use strict";
|
|
46222
46562
|
/*!
|
|
46223
46563
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46908,7 +47248,7 @@ exports.SingletonPredictionContext = SingletonPredictionContext;
|
|
|
46908
47248
|
PredictionContext.IdentityEqualityComparator = IdentityEqualityComparator;
|
|
46909
47249
|
})(PredictionContext = exports.PredictionContext || (exports.PredictionContext = {}));
|
|
46910
47250
|
|
|
46911
|
-
},{"../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){
|
|
46912
47252
|
"use strict";
|
|
46913
47253
|
/*!
|
|
46914
47254
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47049,7 +47389,7 @@ PredictionContextCache.UNCACHED = new PredictionContextCache(false);
|
|
|
47049
47389
|
PredictionContextCache.IdentityCommutativePredictionContextOperands = IdentityCommutativePredictionContextOperands;
|
|
47050
47390
|
})(PredictionContextCache = exports.PredictionContextCache || (exports.PredictionContextCache = {}));
|
|
47051
47391
|
|
|
47052
|
-
},{"../Decorators":
|
|
47392
|
+
},{"../Decorators":202,"../misc/Array2DHashMap":305,"../misc/ObjectEqualityComparator":318,"./PredictionContext":282,"assert":345}],284:[function(require,module,exports){
|
|
47053
47393
|
"use strict";
|
|
47054
47394
|
/*!
|
|
47055
47395
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47210,7 +47550,7 @@ var PredictionMode;
|
|
|
47210
47550
|
PredictionMode.allConfigsInRuleStopStates = allConfigsInRuleStopStates;
|
|
47211
47551
|
})(PredictionMode = exports.PredictionMode || (exports.PredictionMode = {}));
|
|
47212
47552
|
|
|
47213
|
-
},{"../Decorators":
|
|
47553
|
+
},{"../Decorators":202,"../misc/Array2DHashMap":305,"../misc/MurmurHash":317,"./RuleStopState":288}],285:[function(require,module,exports){
|
|
47214
47554
|
(function (process){(function (){
|
|
47215
47555
|
"use strict";
|
|
47216
47556
|
/*!
|
|
@@ -47479,7 +47819,7 @@ __decorate([
|
|
|
47479
47819
|
exports.ProfilingATNSimulator = ProfilingATNSimulator;
|
|
47480
47820
|
|
|
47481
47821
|
}).call(this)}).call(this,require('_process'))
|
|
47482
|
-
},{"../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){
|
|
47483
47823
|
"use strict";
|
|
47484
47824
|
/*!
|
|
47485
47825
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47537,7 +47877,7 @@ RangeTransition = __decorate([
|
|
|
47537
47877
|
], RangeTransition);
|
|
47538
47878
|
exports.RangeTransition = RangeTransition;
|
|
47539
47879
|
|
|
47540
|
-
},{"../Decorators":
|
|
47880
|
+
},{"../Decorators":202,"../misc/IntervalSet":315,"./Transition":297}],287:[function(require,module,exports){
|
|
47541
47881
|
"use strict";
|
|
47542
47882
|
/*!
|
|
47543
47883
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47570,7 +47910,7 @@ __decorate([
|
|
|
47570
47910
|
], RuleStartState.prototype, "stateType", null);
|
|
47571
47911
|
exports.RuleStartState = RuleStartState;
|
|
47572
47912
|
|
|
47573
|
-
},{"../Decorators":
|
|
47913
|
+
},{"../Decorators":202,"./ATNState":241,"./ATNStateType":242}],288:[function(require,module,exports){
|
|
47574
47914
|
"use strict";
|
|
47575
47915
|
/*!
|
|
47576
47916
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47609,7 +47949,7 @@ __decorate([
|
|
|
47609
47949
|
], RuleStopState.prototype, "stateType", null);
|
|
47610
47950
|
exports.RuleStopState = RuleStopState;
|
|
47611
47951
|
|
|
47612
|
-
},{"../Decorators":
|
|
47952
|
+
},{"../Decorators":202,"./ATNState":241,"./ATNStateType":242}],289:[function(require,module,exports){
|
|
47613
47953
|
"use strict";
|
|
47614
47954
|
/*!
|
|
47615
47955
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47665,7 +48005,7 @@ RuleTransition = __decorate([
|
|
|
47665
48005
|
], RuleTransition);
|
|
47666
48006
|
exports.RuleTransition = RuleTransition;
|
|
47667
48007
|
|
|
47668
|
-
},{"../Decorators":
|
|
48008
|
+
},{"../Decorators":202,"./Transition":297}],290:[function(require,module,exports){
|
|
47669
48009
|
"use strict";
|
|
47670
48010
|
/*!
|
|
47671
48011
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48145,7 +48485,7 @@ exports.SemanticContext = SemanticContext;
|
|
|
48145
48485
|
SemanticContext.OR = OR;
|
|
48146
48486
|
})(SemanticContext = exports.SemanticContext || (exports.SemanticContext = {}));
|
|
48147
48487
|
|
|
48148
|
-
},{"../Decorators":
|
|
48488
|
+
},{"../Decorators":202,"../misc/Array2DHashSet":306,"../misc/ArrayEqualityComparator":307,"../misc/MurmurHash":317,"../misc/ObjectEqualityComparator":318,"../misc/Utils":321}],291:[function(require,module,exports){
|
|
48149
48489
|
"use strict";
|
|
48150
48490
|
/*!
|
|
48151
48491
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48211,7 +48551,7 @@ SetTransition = __decorate([
|
|
|
48211
48551
|
], SetTransition);
|
|
48212
48552
|
exports.SetTransition = SetTransition;
|
|
48213
48553
|
|
|
48214
|
-
},{"../Decorators":
|
|
48554
|
+
},{"../Decorators":202,"../Token":227,"../misc/IntervalSet":315,"./Transition":297}],292:[function(require,module,exports){
|
|
48215
48555
|
"use strict";
|
|
48216
48556
|
/*!
|
|
48217
48557
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48247,7 +48587,7 @@ SimulatorState = __decorate([
|
|
|
48247
48587
|
], SimulatorState);
|
|
48248
48588
|
exports.SimulatorState = SimulatorState;
|
|
48249
48589
|
|
|
48250
|
-
},{"../Decorators":
|
|
48590
|
+
},{"../Decorators":202,"../ParserRuleContext":218}],293:[function(require,module,exports){
|
|
48251
48591
|
"use strict";
|
|
48252
48592
|
/*!
|
|
48253
48593
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48275,7 +48615,7 @@ __decorate([
|
|
|
48275
48615
|
], StarBlockStartState.prototype, "stateType", null);
|
|
48276
48616
|
exports.StarBlockStartState = StarBlockStartState;
|
|
48277
48617
|
|
|
48278
|
-
},{"../Decorators":
|
|
48618
|
+
},{"../Decorators":202,"./ATNStateType":242,"./BlockStartState":250}],294:[function(require,module,exports){
|
|
48279
48619
|
"use strict";
|
|
48280
48620
|
/*!
|
|
48281
48621
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48332,7 +48672,7 @@ __decorate([
|
|
|
48332
48672
|
], StarLoopEntryState.prototype, "stateType", null);
|
|
48333
48673
|
exports.StarLoopEntryState = StarLoopEntryState;
|
|
48334
48674
|
|
|
48335
|
-
},{"../Decorators":
|
|
48675
|
+
},{"../Decorators":202,"../misc/BitSet":309,"./ATNStateType":242,"./DecisionState":255}],295:[function(require,module,exports){
|
|
48336
48676
|
"use strict";
|
|
48337
48677
|
/*!
|
|
48338
48678
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48363,7 +48703,7 @@ __decorate([
|
|
|
48363
48703
|
], StarLoopbackState.prototype, "stateType", null);
|
|
48364
48704
|
exports.StarLoopbackState = StarLoopbackState;
|
|
48365
48705
|
|
|
48366
|
-
},{"../Decorators":
|
|
48706
|
+
},{"../Decorators":202,"./ATNState":241,"./ATNStateType":242}],296:[function(require,module,exports){
|
|
48367
48707
|
"use strict";
|
|
48368
48708
|
/*!
|
|
48369
48709
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48392,7 +48732,7 @@ __decorate([
|
|
|
48392
48732
|
], TokensStartState.prototype, "stateType", null);
|
|
48393
48733
|
exports.TokensStartState = TokensStartState;
|
|
48394
48734
|
|
|
48395
|
-
},{"../Decorators":
|
|
48735
|
+
},{"../Decorators":202,"./ATNStateType":242,"./DecisionState":255}],297:[function(require,module,exports){
|
|
48396
48736
|
"use strict";
|
|
48397
48737
|
/*!
|
|
48398
48738
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48466,7 +48806,7 @@ Transition = __decorate([
|
|
|
48466
48806
|
], Transition);
|
|
48467
48807
|
exports.Transition = Transition;
|
|
48468
48808
|
|
|
48469
|
-
},{"../Decorators":
|
|
48809
|
+
},{"../Decorators":202}],298:[function(require,module,exports){
|
|
48470
48810
|
"use strict";
|
|
48471
48811
|
/*!
|
|
48472
48812
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48514,7 +48854,7 @@ WildcardTransition = __decorate([
|
|
|
48514
48854
|
], WildcardTransition);
|
|
48515
48855
|
exports.WildcardTransition = WildcardTransition;
|
|
48516
48856
|
|
|
48517
|
-
},{"../Decorators":
|
|
48857
|
+
},{"../Decorators":202,"./Transition":297}],299:[function(require,module,exports){
|
|
48518
48858
|
"use strict";
|
|
48519
48859
|
/*!
|
|
48520
48860
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48556,7 +48896,7 @@ class AcceptStateInfo {
|
|
|
48556
48896
|
}
|
|
48557
48897
|
exports.AcceptStateInfo = AcceptStateInfo;
|
|
48558
48898
|
|
|
48559
|
-
},{}],
|
|
48899
|
+
},{}],300:[function(require,module,exports){
|
|
48560
48900
|
"use strict";
|
|
48561
48901
|
/*!
|
|
48562
48902
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48731,7 +49071,7 @@ DFA = __decorate([
|
|
|
48731
49071
|
], DFA);
|
|
48732
49072
|
exports.DFA = DFA;
|
|
48733
49073
|
|
|
48734
|
-
},{"../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){
|
|
48735
49075
|
"use strict";
|
|
48736
49076
|
/*!
|
|
48737
49077
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48873,7 +49213,7 @@ __decorate([
|
|
|
48873
49213
|
], DFASerializer.prototype, "toString", null);
|
|
48874
49214
|
exports.DFASerializer = DFASerializer;
|
|
48875
49215
|
|
|
48876
|
-
},{"../Decorators":
|
|
49216
|
+
},{"../Decorators":202,"../Recognizer":222,"../VocabularyImpl":233,"../atn/ATNSimulator":240,"../atn/PredictionContext":282}],302:[function(require,module,exports){
|
|
48877
49217
|
"use strict";
|
|
48878
49218
|
/*!
|
|
48879
49219
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49104,7 +49444,7 @@ exports.DFAState = DFAState;
|
|
|
49104
49444
|
DFAState.PredPrediction = PredPrediction;
|
|
49105
49445
|
})(DFAState = exports.DFAState || (exports.DFAState = {}));
|
|
49106
49446
|
|
|
49107
|
-
},{"../Decorators":
|
|
49447
|
+
},{"../Decorators":202,"../atn/ATN":235,"../atn/PredictionContext":282,"../misc/BitSet":309,"../misc/MurmurHash":317,"assert":345}],303:[function(require,module,exports){
|
|
49108
49448
|
"use strict";
|
|
49109
49449
|
/*!
|
|
49110
49450
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49141,7 +49481,7 @@ LexerDFASerializer = __decorate([
|
|
|
49141
49481
|
], LexerDFASerializer);
|
|
49142
49482
|
exports.LexerDFASerializer = LexerDFASerializer;
|
|
49143
49483
|
|
|
49144
|
-
},{"../Decorators":
|
|
49484
|
+
},{"../Decorators":202,"../VocabularyImpl":233,"./DFASerializer":301}],304:[function(require,module,exports){
|
|
49145
49485
|
"use strict";
|
|
49146
49486
|
/*!
|
|
49147
49487
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49207,7 +49547,7 @@ __exportStar(require("./Vocabulary"), exports);
|
|
|
49207
49547
|
__exportStar(require("./VocabularyImpl"), exports);
|
|
49208
49548
|
__exportStar(require("./WritableToken"), exports);
|
|
49209
49549
|
|
|
49210
|
-
},{"./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){
|
|
49211
49551
|
"use strict";
|
|
49212
49552
|
/*!
|
|
49213
49553
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49290,7 +49630,7 @@ class Array2DHashMap {
|
|
|
49290
49630
|
}
|
|
49291
49631
|
exports.Array2DHashMap = Array2DHashMap;
|
|
49292
49632
|
|
|
49293
|
-
},{"./Array2DHashSet":
|
|
49633
|
+
},{"./Array2DHashSet":306}],306:[function(require,module,exports){
|
|
49294
49634
|
"use strict";
|
|
49295
49635
|
/*!
|
|
49296
49636
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49657,7 +49997,7 @@ __decorate([
|
|
|
49657
49997
|
], Array2DHashSet.prototype, "createBuckets", null);
|
|
49658
49998
|
exports.Array2DHashSet = Array2DHashSet;
|
|
49659
49999
|
|
|
49660
|
-
},{"../Decorators":
|
|
50000
|
+
},{"../Decorators":202,"./DefaultEqualityComparator":311,"./MurmurHash":317,"assert":345}],307:[function(require,module,exports){
|
|
49661
50001
|
"use strict";
|
|
49662
50002
|
/*!
|
|
49663
50003
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49729,7 +50069,7 @@ __decorate([
|
|
|
49729
50069
|
], ArrayEqualityComparator.prototype, "equals", null);
|
|
49730
50070
|
exports.ArrayEqualityComparator = ArrayEqualityComparator;
|
|
49731
50071
|
|
|
49732
|
-
},{"../Decorators":
|
|
50072
|
+
},{"../Decorators":202,"./MurmurHash":317,"./ObjectEqualityComparator":318}],308:[function(require,module,exports){
|
|
49733
50073
|
"use strict";
|
|
49734
50074
|
/*!
|
|
49735
50075
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49799,7 +50139,7 @@ var Arrays;
|
|
|
49799
50139
|
Arrays.toString = toString;
|
|
49800
50140
|
})(Arrays = exports.Arrays || (exports.Arrays = {}));
|
|
49801
50141
|
|
|
49802
|
-
},{}],
|
|
50142
|
+
},{}],309:[function(require,module,exports){
|
|
49803
50143
|
"use strict";
|
|
49804
50144
|
/*!
|
|
49805
50145
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50471,7 +50811,7 @@ class BitSetIterator {
|
|
|
50471
50811
|
[Symbol.iterator]() { return this; }
|
|
50472
50812
|
}
|
|
50473
50813
|
|
|
50474
|
-
},{"./MurmurHash":
|
|
50814
|
+
},{"./MurmurHash":317,"util":409}],310:[function(require,module,exports){
|
|
50475
50815
|
"use strict";
|
|
50476
50816
|
/*!
|
|
50477
50817
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50492,7 +50832,7 @@ function isSupplementaryCodePoint(ch) {
|
|
|
50492
50832
|
}
|
|
50493
50833
|
exports.isSupplementaryCodePoint = isSupplementaryCodePoint;
|
|
50494
50834
|
|
|
50495
|
-
},{}],
|
|
50835
|
+
},{}],311:[function(require,module,exports){
|
|
50496
50836
|
"use strict";
|
|
50497
50837
|
/*!
|
|
50498
50838
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50563,7 +50903,7 @@ __decorate([
|
|
|
50563
50903
|
], DefaultEqualityComparator.prototype, "equals", null);
|
|
50564
50904
|
exports.DefaultEqualityComparator = DefaultEqualityComparator;
|
|
50565
50905
|
|
|
50566
|
-
},{"../Decorators":
|
|
50906
|
+
},{"../Decorators":202,"./MurmurHash":317,"./ObjectEqualityComparator":318}],312:[function(require,module,exports){
|
|
50567
50907
|
"use strict";
|
|
50568
50908
|
/*!
|
|
50569
50909
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50857,7 +51197,7 @@ __decorate([
|
|
|
50857
51197
|
], IntegerList.prototype, "toString", null);
|
|
50858
51198
|
exports.IntegerList = IntegerList;
|
|
50859
51199
|
|
|
50860
|
-
},{"../Decorators":
|
|
51200
|
+
},{"../Decorators":202,"./Arrays":308}],313:[function(require,module,exports){
|
|
50861
51201
|
"use strict";
|
|
50862
51202
|
/*!
|
|
50863
51203
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50887,7 +51227,7 @@ class IntegerStack extends IntegerList_1.IntegerList {
|
|
|
50887
51227
|
}
|
|
50888
51228
|
exports.IntegerStack = IntegerStack;
|
|
50889
51229
|
|
|
50890
|
-
},{"./IntegerList":
|
|
51230
|
+
},{"./IntegerList":312}],314:[function(require,module,exports){
|
|
50891
51231
|
"use strict";
|
|
50892
51232
|
/*!
|
|
50893
51233
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51030,7 +51370,7 @@ __decorate([
|
|
|
51030
51370
|
], Interval.prototype, "toString", null);
|
|
51031
51371
|
exports.Interval = Interval;
|
|
51032
51372
|
|
|
51033
|
-
},{"../Decorators":
|
|
51373
|
+
},{"../Decorators":202}],315:[function(require,module,exports){
|
|
51034
51374
|
"use strict";
|
|
51035
51375
|
/*!
|
|
51036
51376
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51676,7 +52016,7 @@ __decorate([
|
|
|
51676
52016
|
], IntervalSet, "subtract", null);
|
|
51677
52017
|
exports.IntervalSet = IntervalSet;
|
|
51678
52018
|
|
|
51679
|
-
},{"../Decorators":
|
|
52019
|
+
},{"../Decorators":202,"../Lexer":210,"../Token":227,"./ArrayEqualityComparator":307,"./IntegerList":312,"./Interval":314,"./MurmurHash":317}],316:[function(require,module,exports){
|
|
51680
52020
|
"use strict";
|
|
51681
52021
|
/*!
|
|
51682
52022
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51709,7 +52049,7 @@ class MultiMap extends Map {
|
|
|
51709
52049
|
}
|
|
51710
52050
|
exports.MultiMap = MultiMap;
|
|
51711
52051
|
|
|
51712
|
-
},{}],
|
|
52052
|
+
},{}],317:[function(require,module,exports){
|
|
51713
52053
|
"use strict";
|
|
51714
52054
|
/*!
|
|
51715
52055
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51824,7 +52164,7 @@ var MurmurHash;
|
|
|
51824
52164
|
}
|
|
51825
52165
|
})(MurmurHash = exports.MurmurHash || (exports.MurmurHash = {}));
|
|
51826
52166
|
|
|
51827
|
-
},{}],
|
|
52167
|
+
},{}],318:[function(require,module,exports){
|
|
51828
52168
|
"use strict";
|
|
51829
52169
|
/*!
|
|
51830
52170
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51883,7 +52223,7 @@ __decorate([
|
|
|
51883
52223
|
], ObjectEqualityComparator.prototype, "equals", null);
|
|
51884
52224
|
exports.ObjectEqualityComparator = ObjectEqualityComparator;
|
|
51885
52225
|
|
|
51886
|
-
},{"../Decorators":
|
|
52226
|
+
},{"../Decorators":202}],319:[function(require,module,exports){
|
|
51887
52227
|
"use strict";
|
|
51888
52228
|
/*!
|
|
51889
52229
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51912,7 +52252,7 @@ class ParseCancellationException extends Error {
|
|
|
51912
52252
|
}
|
|
51913
52253
|
exports.ParseCancellationException = ParseCancellationException;
|
|
51914
52254
|
|
|
51915
|
-
},{}],
|
|
52255
|
+
},{}],320:[function(require,module,exports){
|
|
51916
52256
|
"use strict";
|
|
51917
52257
|
/*!
|
|
51918
52258
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51966,7 +52306,7 @@ class UUID {
|
|
|
51966
52306
|
}
|
|
51967
52307
|
exports.UUID = UUID;
|
|
51968
52308
|
|
|
51969
|
-
},{"./MurmurHash":
|
|
52309
|
+
},{"./MurmurHash":317}],321:[function(require,module,exports){
|
|
51970
52310
|
"use strict";
|
|
51971
52311
|
/*!
|
|
51972
52312
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52141,7 +52481,7 @@ exports.toCharArray = toCharArray;
|
|
|
52141
52481
|
// return s;
|
|
52142
52482
|
// }
|
|
52143
52483
|
|
|
52144
|
-
},{}],
|
|
52484
|
+
},{}],322:[function(require,module,exports){
|
|
52145
52485
|
"use strict";
|
|
52146
52486
|
/*!
|
|
52147
52487
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52177,7 +52517,7 @@ __decorate([
|
|
|
52177
52517
|
], ErrorNode.prototype, "accept", null);
|
|
52178
52518
|
exports.ErrorNode = ErrorNode;
|
|
52179
52519
|
|
|
52180
|
-
},{"../Decorators":
|
|
52520
|
+
},{"../Decorators":202,"./TerminalNode":325}],323:[function(require,module,exports){
|
|
52181
52521
|
"use strict";
|
|
52182
52522
|
/*!
|
|
52183
52523
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52282,7 +52622,7 @@ exports.ParseTreeWalker = ParseTreeWalker;
|
|
|
52282
52622
|
ParseTreeWalker.DEFAULT = new ParseTreeWalker();
|
|
52283
52623
|
})(ParseTreeWalker = exports.ParseTreeWalker || (exports.ParseTreeWalker = {}));
|
|
52284
52624
|
|
|
52285
|
-
},{"./ErrorNode":
|
|
52625
|
+
},{"./ErrorNode":322,"./RuleNode":324,"./TerminalNode":325}],324:[function(require,module,exports){
|
|
52286
52626
|
"use strict";
|
|
52287
52627
|
/*!
|
|
52288
52628
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52294,7 +52634,7 @@ class RuleNode {
|
|
|
52294
52634
|
}
|
|
52295
52635
|
exports.RuleNode = RuleNode;
|
|
52296
52636
|
|
|
52297
|
-
},{}],
|
|
52637
|
+
},{}],325:[function(require,module,exports){
|
|
52298
52638
|
"use strict";
|
|
52299
52639
|
/*!
|
|
52300
52640
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52386,7 +52726,7 @@ __decorate([
|
|
|
52386
52726
|
], TerminalNode.prototype, "toString", null);
|
|
52387
52727
|
exports.TerminalNode = TerminalNode;
|
|
52388
52728
|
|
|
52389
|
-
},{"../Decorators":
|
|
52729
|
+
},{"../Decorators":202,"../Token":227,"../misc/Interval":314}],326:[function(require,module,exports){
|
|
52390
52730
|
"use strict";
|
|
52391
52731
|
/*!
|
|
52392
52732
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52630,7 +52970,7 @@ __decorate([
|
|
|
52630
52970
|
], Trees, "getRootOfSubtreeEnclosingRegion", null);
|
|
52631
52971
|
exports.Trees = Trees;
|
|
52632
52972
|
|
|
52633
|
-
},{"../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){
|
|
52634
52974
|
"use strict";
|
|
52635
52975
|
/*!
|
|
52636
52976
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52654,7 +52994,7 @@ class Chunk {
|
|
|
52654
52994
|
}
|
|
52655
52995
|
exports.Chunk = Chunk;
|
|
52656
52996
|
|
|
52657
|
-
},{}],
|
|
52997
|
+
},{}],328:[function(require,module,exports){
|
|
52658
52998
|
"use strict";
|
|
52659
52999
|
/*!
|
|
52660
53000
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52834,7 +53174,7 @@ ParseTreeMatch = __decorate([
|
|
|
52834
53174
|
], ParseTreeMatch);
|
|
52835
53175
|
exports.ParseTreeMatch = ParseTreeMatch;
|
|
52836
53176
|
|
|
52837
|
-
},{"../../Decorators":
|
|
53177
|
+
},{"../../Decorators":202}],329:[function(require,module,exports){
|
|
52838
53178
|
"use strict";
|
|
52839
53179
|
/*!
|
|
52840
53180
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52992,7 +53332,7 @@ ParseTreePattern = __decorate([
|
|
|
52992
53332
|
], ParseTreePattern);
|
|
52993
53333
|
exports.ParseTreePattern = ParseTreePattern;
|
|
52994
53334
|
|
|
52995
|
-
},{"../../Decorators":
|
|
53335
|
+
},{"../../Decorators":202,"../xpath/XPath":335}],330:[function(require,module,exports){
|
|
52996
53336
|
"use strict";
|
|
52997
53337
|
/*!
|
|
52998
53338
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53470,7 +53810,7 @@ exports.ParseTreePatternMatcher = ParseTreePatternMatcher;
|
|
|
53470
53810
|
ParseTreePatternMatcher.StartRuleDoesNotConsumeFullPattern = StartRuleDoesNotConsumeFullPattern;
|
|
53471
53811
|
})(ParseTreePatternMatcher = exports.ParseTreePatternMatcher || (exports.ParseTreePatternMatcher = {}));
|
|
53472
53812
|
|
|
53473
|
-
},{"../../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){
|
|
53474
53814
|
"use strict";
|
|
53475
53815
|
/*!
|
|
53476
53816
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53668,7 +54008,7 @@ RuleTagToken = __decorate([
|
|
|
53668
54008
|
], RuleTagToken);
|
|
53669
54009
|
exports.RuleTagToken = RuleTagToken;
|
|
53670
54010
|
|
|
53671
|
-
},{"../../Decorators":
|
|
54011
|
+
},{"../../Decorators":202,"../../Token":227}],332:[function(require,module,exports){
|
|
53672
54012
|
"use strict";
|
|
53673
54013
|
/*!
|
|
53674
54014
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53755,7 +54095,7 @@ __decorate([
|
|
|
53755
54095
|
], TagChunk.prototype, "toString", null);
|
|
53756
54096
|
exports.TagChunk = TagChunk;
|
|
53757
54097
|
|
|
53758
|
-
},{"../../Decorators":
|
|
54098
|
+
},{"../../Decorators":202,"./Chunk":327}],333:[function(require,module,exports){
|
|
53759
54099
|
"use strict";
|
|
53760
54100
|
/*!
|
|
53761
54101
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53825,7 +54165,7 @@ TextChunk = __decorate([
|
|
|
53825
54165
|
], TextChunk);
|
|
53826
54166
|
exports.TextChunk = TextChunk;
|
|
53827
54167
|
|
|
53828
|
-
},{"../../Decorators":
|
|
54168
|
+
},{"../../Decorators":202,"./Chunk":327}],334:[function(require,module,exports){
|
|
53829
54169
|
"use strict";
|
|
53830
54170
|
/*!
|
|
53831
54171
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53920,7 +54260,7 @@ TokenTagToken = __decorate([
|
|
|
53920
54260
|
], TokenTagToken);
|
|
53921
54261
|
exports.TokenTagToken = TokenTagToken;
|
|
53922
54262
|
|
|
53923
|
-
},{"../../CommonToken":
|
|
54263
|
+
},{"../../CommonToken":198,"../../Decorators":202}],335:[function(require,module,exports){
|
|
53924
54264
|
"use strict";
|
|
53925
54265
|
/*!
|
|
53926
54266
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54117,7 +54457,7 @@ exports.XPath = XPath;
|
|
|
54117
54457
|
XPath.WILDCARD = "*"; // word not operator/separator
|
|
54118
54458
|
XPath.NOT = "!"; // word for invert operator
|
|
54119
54459
|
|
|
54120
|
-
},{"../../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){
|
|
54121
54461
|
"use strict";
|
|
54122
54462
|
/*!
|
|
54123
54463
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54152,7 +54492,7 @@ __decorate([
|
|
|
54152
54492
|
], XPathElement.prototype, "toString", null);
|
|
54153
54493
|
exports.XPathElement = XPathElement;
|
|
54154
54494
|
|
|
54155
|
-
},{"../../Decorators":
|
|
54495
|
+
},{"../../Decorators":202}],337:[function(require,module,exports){
|
|
54156
54496
|
"use strict";
|
|
54157
54497
|
// Generated from XPathLexer.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
54158
54498
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -54627,7 +54967,7 @@ XPathLexer._serializedATN = Utils.join([
|
|
|
54627
54967
|
XPathLexer._serializedATNSegment1,
|
|
54628
54968
|
], "");
|
|
54629
54969
|
|
|
54630
|
-
},{"../../Lexer":
|
|
54970
|
+
},{"../../Lexer":210,"../../VocabularyImpl":233,"../../atn/ATNDeserializer":239,"../../atn/LexerATNSimulator":260,"../../misc/Utils":321}],338:[function(require,module,exports){
|
|
54631
54971
|
"use strict";
|
|
54632
54972
|
/*!
|
|
54633
54973
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54652,7 +54992,7 @@ __decorate([
|
|
|
54652
54992
|
], XPathLexerErrorListener.prototype, "syntaxError", null);
|
|
54653
54993
|
exports.XPathLexerErrorListener = XPathLexerErrorListener;
|
|
54654
54994
|
|
|
54655
|
-
},{"../../Decorators":
|
|
54995
|
+
},{"../../Decorators":202}],339:[function(require,module,exports){
|
|
54656
54996
|
"use strict";
|
|
54657
54997
|
/*!
|
|
54658
54998
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54686,7 +55026,7 @@ __decorate([
|
|
|
54686
55026
|
], XPathRuleAnywhereElement.prototype, "evaluate", null);
|
|
54687
55027
|
exports.XPathRuleAnywhereElement = XPathRuleAnywhereElement;
|
|
54688
55028
|
|
|
54689
|
-
},{"../../Decorators":
|
|
55029
|
+
},{"../../Decorators":202,"../Trees":326,"./XPathElement":336}],340:[function(require,module,exports){
|
|
54690
55030
|
"use strict";
|
|
54691
55031
|
/*!
|
|
54692
55032
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54729,7 +55069,7 @@ __decorate([
|
|
|
54729
55069
|
], XPathRuleElement.prototype, "evaluate", null);
|
|
54730
55070
|
exports.XPathRuleElement = XPathRuleElement;
|
|
54731
55071
|
|
|
54732
|
-
},{"../../Decorators":
|
|
55072
|
+
},{"../../Decorators":202,"../../ParserRuleContext":218,"../Trees":326,"./XPathElement":336}],341:[function(require,module,exports){
|
|
54733
55073
|
"use strict";
|
|
54734
55074
|
/*!
|
|
54735
55075
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54761,7 +55101,7 @@ __decorate([
|
|
|
54761
55101
|
], XPathTokenAnywhereElement.prototype, "evaluate", null);
|
|
54762
55102
|
exports.XPathTokenAnywhereElement = XPathTokenAnywhereElement;
|
|
54763
55103
|
|
|
54764
|
-
},{"../../Decorators":
|
|
55104
|
+
},{"../../Decorators":202,"../Trees":326,"./XPathElement":336}],342:[function(require,module,exports){
|
|
54765
55105
|
"use strict";
|
|
54766
55106
|
/*!
|
|
54767
55107
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54804,7 +55144,7 @@ __decorate([
|
|
|
54804
55144
|
], XPathTokenElement.prototype, "evaluate", null);
|
|
54805
55145
|
exports.XPathTokenElement = XPathTokenElement;
|
|
54806
55146
|
|
|
54807
|
-
},{"../../Decorators":
|
|
55147
|
+
},{"../../Decorators":202,"../TerminalNode":325,"../Trees":326,"./XPathElement":336}],343:[function(require,module,exports){
|
|
54808
55148
|
"use strict";
|
|
54809
55149
|
/*!
|
|
54810
55150
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54840,7 +55180,7 @@ __decorate([
|
|
|
54840
55180
|
], XPathWildcardAnywhereElement.prototype, "evaluate", null);
|
|
54841
55181
|
exports.XPathWildcardAnywhereElement = XPathWildcardAnywhereElement;
|
|
54842
55182
|
|
|
54843
|
-
},{"../../Decorators":
|
|
55183
|
+
},{"../../Decorators":202,"../Trees":326,"./XPath":335,"./XPathElement":336}],344:[function(require,module,exports){
|
|
54844
55184
|
"use strict";
|
|
54845
55185
|
/*!
|
|
54846
55186
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54880,7 +55220,7 @@ __decorate([
|
|
|
54880
55220
|
], XPathWildcardElement.prototype, "evaluate", null);
|
|
54881
55221
|
exports.XPathWildcardElement = XPathWildcardElement;
|
|
54882
55222
|
|
|
54883
|
-
},{"../../Decorators":
|
|
55223
|
+
},{"../../Decorators":202,"../Trees":326,"./XPath":335,"./XPathElement":336}],345:[function(require,module,exports){
|
|
54884
55224
|
(function (global){(function (){
|
|
54885
55225
|
'use strict';
|
|
54886
55226
|
|
|
@@ -55390,7 +55730,7 @@ var objectKeys = Object.keys || function (obj) {
|
|
|
55390
55730
|
};
|
|
55391
55731
|
|
|
55392
55732
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
55393
|
-
},{"object.assign/polyfill":
|
|
55733
|
+
},{"object.assign/polyfill":402,"util/":348}],346:[function(require,module,exports){
|
|
55394
55734
|
if (typeof Object.create === 'function') {
|
|
55395
55735
|
// implementation from standard node.js 'util' module
|
|
55396
55736
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -55415,14 +55755,14 @@ if (typeof Object.create === 'function') {
|
|
|
55415
55755
|
}
|
|
55416
55756
|
}
|
|
55417
55757
|
|
|
55418
|
-
},{}],
|
|
55758
|
+
},{}],347:[function(require,module,exports){
|
|
55419
55759
|
module.exports = function isBuffer(arg) {
|
|
55420
55760
|
return arg && typeof arg === 'object'
|
|
55421
55761
|
&& typeof arg.copy === 'function'
|
|
55422
55762
|
&& typeof arg.fill === 'function'
|
|
55423
55763
|
&& typeof arg.readUInt8 === 'function';
|
|
55424
55764
|
}
|
|
55425
|
-
},{}],
|
|
55765
|
+
},{}],348:[function(require,module,exports){
|
|
55426
55766
|
(function (process,global){(function (){
|
|
55427
55767
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
55428
55768
|
//
|
|
@@ -56012,7 +56352,7 @@ function hasOwnProperty(obj, prop) {
|
|
|
56012
56352
|
}
|
|
56013
56353
|
|
|
56014
56354
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
56015
|
-
},{"./support/isBuffer":
|
|
56355
|
+
},{"./support/isBuffer":347,"_process":404,"inherits":346}],349:[function(require,module,exports){
|
|
56016
56356
|
(function (global){(function (){
|
|
56017
56357
|
'use strict';
|
|
56018
56358
|
|
|
@@ -56033,7 +56373,7 @@ module.exports = function availableTypedArrays() {
|
|
|
56033
56373
|
};
|
|
56034
56374
|
|
|
56035
56375
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
56036
|
-
},{"possible-typed-array-names":
|
|
56376
|
+
},{"possible-typed-array-names":403}],350:[function(require,module,exports){
|
|
56037
56377
|
(function (process,global){(function (){
|
|
56038
56378
|
module.exports = process.hrtime || hrtime
|
|
56039
56379
|
|
|
@@ -56064,7 +56404,7 @@ function hrtime(previousTimestamp){
|
|
|
56064
56404
|
return [seconds,nanoseconds]
|
|
56065
56405
|
}
|
|
56066
56406
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
56067
|
-
},{"_process":
|
|
56407
|
+
},{"_process":404}],351:[function(require,module,exports){
|
|
56068
56408
|
'use strict';
|
|
56069
56409
|
|
|
56070
56410
|
var bind = require('function-bind');
|
|
@@ -56076,7 +56416,7 @@ var $reflectApply = require('./reflectApply');
|
|
|
56076
56416
|
/** @type {import('./actualApply')} */
|
|
56077
56417
|
module.exports = $reflectApply || bind.call($call, $apply);
|
|
56078
56418
|
|
|
56079
|
-
},{"./functionApply":
|
|
56419
|
+
},{"./functionApply":353,"./functionCall":354,"./reflectApply":356,"function-bind":372}],352:[function(require,module,exports){
|
|
56080
56420
|
'use strict';
|
|
56081
56421
|
|
|
56082
56422
|
var bind = require('function-bind');
|
|
@@ -56088,19 +56428,19 @@ module.exports = function applyBind() {
|
|
|
56088
56428
|
return actualApply(bind, $apply, arguments);
|
|
56089
56429
|
};
|
|
56090
56430
|
|
|
56091
|
-
},{"./actualApply":
|
|
56431
|
+
},{"./actualApply":351,"./functionApply":353,"function-bind":372}],353:[function(require,module,exports){
|
|
56092
56432
|
'use strict';
|
|
56093
56433
|
|
|
56094
56434
|
/** @type {import('./functionApply')} */
|
|
56095
56435
|
module.exports = Function.prototype.apply;
|
|
56096
56436
|
|
|
56097
|
-
},{}],
|
|
56437
|
+
},{}],354:[function(require,module,exports){
|
|
56098
56438
|
'use strict';
|
|
56099
56439
|
|
|
56100
56440
|
/** @type {import('./functionCall')} */
|
|
56101
56441
|
module.exports = Function.prototype.call;
|
|
56102
56442
|
|
|
56103
|
-
},{}],
|
|
56443
|
+
},{}],355:[function(require,module,exports){
|
|
56104
56444
|
'use strict';
|
|
56105
56445
|
|
|
56106
56446
|
var bind = require('function-bind');
|
|
@@ -56117,13 +56457,13 @@ module.exports = function callBindBasic(args) {
|
|
|
56117
56457
|
return $actualApply(bind, $call, args);
|
|
56118
56458
|
};
|
|
56119
56459
|
|
|
56120
|
-
},{"./actualApply":
|
|
56460
|
+
},{"./actualApply":351,"./functionCall":354,"es-errors/type":367,"function-bind":372}],356:[function(require,module,exports){
|
|
56121
56461
|
'use strict';
|
|
56122
56462
|
|
|
56123
56463
|
/** @type {import('./reflectApply')} */
|
|
56124
56464
|
module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
|
|
56125
56465
|
|
|
56126
|
-
},{}],
|
|
56466
|
+
},{}],357:[function(require,module,exports){
|
|
56127
56467
|
'use strict';
|
|
56128
56468
|
|
|
56129
56469
|
var setFunctionLength = require('set-function-length');
|
|
@@ -56149,7 +56489,7 @@ if ($defineProperty) {
|
|
|
56149
56489
|
module.exports.apply = applyBind;
|
|
56150
56490
|
}
|
|
56151
56491
|
|
|
56152
|
-
},{"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){
|
|
56153
56493
|
'use strict';
|
|
56154
56494
|
|
|
56155
56495
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -56170,7 +56510,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
56170
56510
|
return intrinsic;
|
|
56171
56511
|
};
|
|
56172
56512
|
|
|
56173
|
-
},{"call-bind-apply-helpers":
|
|
56513
|
+
},{"call-bind-apply-helpers":355,"get-intrinsic":373}],359:[function(require,module,exports){
|
|
56174
56514
|
'use strict';
|
|
56175
56515
|
|
|
56176
56516
|
var $defineProperty = require('es-define-property');
|
|
@@ -56228,7 +56568,7 @@ module.exports = function defineDataProperty(
|
|
|
56228
56568
|
}
|
|
56229
56569
|
};
|
|
56230
56570
|
|
|
56231
|
-
},{"es-define-property":
|
|
56571
|
+
},{"es-define-property":361,"es-errors/syntax":366,"es-errors/type":367,"gopd":378}],360:[function(require,module,exports){
|
|
56232
56572
|
'use strict';
|
|
56233
56573
|
|
|
56234
56574
|
var callBind = require('call-bind-apply-helpers');
|
|
@@ -56260,7 +56600,7 @@ module.exports = desc && typeof desc.get === 'function'
|
|
|
56260
56600
|
}
|
|
56261
56601
|
: false;
|
|
56262
56602
|
|
|
56263
|
-
},{"call-bind-apply-helpers":
|
|
56603
|
+
},{"call-bind-apply-helpers":355,"gopd":378}],361:[function(require,module,exports){
|
|
56264
56604
|
'use strict';
|
|
56265
56605
|
|
|
56266
56606
|
/** @type {import('.')} */
|
|
@@ -56276,55 +56616,55 @@ if ($defineProperty) {
|
|
|
56276
56616
|
|
|
56277
56617
|
module.exports = $defineProperty;
|
|
56278
56618
|
|
|
56279
|
-
},{}],
|
|
56619
|
+
},{}],362:[function(require,module,exports){
|
|
56280
56620
|
'use strict';
|
|
56281
56621
|
|
|
56282
56622
|
/** @type {import('./eval')} */
|
|
56283
56623
|
module.exports = EvalError;
|
|
56284
56624
|
|
|
56285
|
-
},{}],
|
|
56625
|
+
},{}],363:[function(require,module,exports){
|
|
56286
56626
|
'use strict';
|
|
56287
56627
|
|
|
56288
56628
|
/** @type {import('.')} */
|
|
56289
56629
|
module.exports = Error;
|
|
56290
56630
|
|
|
56291
|
-
},{}],
|
|
56631
|
+
},{}],364:[function(require,module,exports){
|
|
56292
56632
|
'use strict';
|
|
56293
56633
|
|
|
56294
56634
|
/** @type {import('./range')} */
|
|
56295
56635
|
module.exports = RangeError;
|
|
56296
56636
|
|
|
56297
|
-
},{}],
|
|
56637
|
+
},{}],365:[function(require,module,exports){
|
|
56298
56638
|
'use strict';
|
|
56299
56639
|
|
|
56300
56640
|
/** @type {import('./ref')} */
|
|
56301
56641
|
module.exports = ReferenceError;
|
|
56302
56642
|
|
|
56303
|
-
},{}],
|
|
56643
|
+
},{}],366:[function(require,module,exports){
|
|
56304
56644
|
'use strict';
|
|
56305
56645
|
|
|
56306
56646
|
/** @type {import('./syntax')} */
|
|
56307
56647
|
module.exports = SyntaxError;
|
|
56308
56648
|
|
|
56309
|
-
},{}],
|
|
56649
|
+
},{}],367:[function(require,module,exports){
|
|
56310
56650
|
'use strict';
|
|
56311
56651
|
|
|
56312
56652
|
/** @type {import('./type')} */
|
|
56313
56653
|
module.exports = TypeError;
|
|
56314
56654
|
|
|
56315
|
-
},{}],
|
|
56655
|
+
},{}],368:[function(require,module,exports){
|
|
56316
56656
|
'use strict';
|
|
56317
56657
|
|
|
56318
56658
|
/** @type {import('./uri')} */
|
|
56319
56659
|
module.exports = URIError;
|
|
56320
56660
|
|
|
56321
|
-
},{}],
|
|
56661
|
+
},{}],369:[function(require,module,exports){
|
|
56322
56662
|
'use strict';
|
|
56323
56663
|
|
|
56324
56664
|
/** @type {import('.')} */
|
|
56325
56665
|
module.exports = Object;
|
|
56326
56666
|
|
|
56327
|
-
},{}],
|
|
56667
|
+
},{}],370:[function(require,module,exports){
|
|
56328
56668
|
'use strict';
|
|
56329
56669
|
|
|
56330
56670
|
var isCallable = require('is-callable');
|
|
@@ -56395,7 +56735,7 @@ module.exports = function forEach(list, iterator, thisArg) {
|
|
|
56395
56735
|
}
|
|
56396
56736
|
};
|
|
56397
56737
|
|
|
56398
|
-
},{"is-callable":
|
|
56738
|
+
},{"is-callable":386}],371:[function(require,module,exports){
|
|
56399
56739
|
'use strict';
|
|
56400
56740
|
|
|
56401
56741
|
/* eslint no-invalid-this: 1 */
|
|
@@ -56481,14 +56821,14 @@ module.exports = function bind(that) {
|
|
|
56481
56821
|
return bound;
|
|
56482
56822
|
};
|
|
56483
56823
|
|
|
56484
|
-
},{}],
|
|
56824
|
+
},{}],372:[function(require,module,exports){
|
|
56485
56825
|
'use strict';
|
|
56486
56826
|
|
|
56487
56827
|
var implementation = require('./implementation');
|
|
56488
56828
|
|
|
56489
56829
|
module.exports = Function.prototype.bind || implementation;
|
|
56490
56830
|
|
|
56491
|
-
},{"./implementation":
|
|
56831
|
+
},{"./implementation":371}],373:[function(require,module,exports){
|
|
56492
56832
|
'use strict';
|
|
56493
56833
|
|
|
56494
56834
|
var undefined;
|
|
@@ -56868,7 +57208,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
56868
57208
|
return value;
|
|
56869
57209
|
};
|
|
56870
57210
|
|
|
56871
|
-
},{"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){
|
|
56872
57212
|
'use strict';
|
|
56873
57213
|
|
|
56874
57214
|
var $Object = require('es-object-atoms');
|
|
@@ -56876,13 +57216,13 @@ var $Object = require('es-object-atoms');
|
|
|
56876
57216
|
/** @type {import('./Object.getPrototypeOf')} */
|
|
56877
57217
|
module.exports = $Object.getPrototypeOf || null;
|
|
56878
57218
|
|
|
56879
|
-
},{"es-object-atoms":
|
|
57219
|
+
},{"es-object-atoms":369}],375:[function(require,module,exports){
|
|
56880
57220
|
'use strict';
|
|
56881
57221
|
|
|
56882
57222
|
/** @type {import('./Reflect.getPrototypeOf')} */
|
|
56883
57223
|
module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;
|
|
56884
57224
|
|
|
56885
|
-
},{}],
|
|
57225
|
+
},{}],376:[function(require,module,exports){
|
|
56886
57226
|
'use strict';
|
|
56887
57227
|
|
|
56888
57228
|
var reflectGetProto = require('./Reflect.getPrototypeOf');
|
|
@@ -56911,13 +57251,13 @@ module.exports = reflectGetProto
|
|
|
56911
57251
|
}
|
|
56912
57252
|
: null;
|
|
56913
57253
|
|
|
56914
|
-
},{"./Object.getPrototypeOf":
|
|
57254
|
+
},{"./Object.getPrototypeOf":374,"./Reflect.getPrototypeOf":375,"dunder-proto/get":360}],377:[function(require,module,exports){
|
|
56915
57255
|
'use strict';
|
|
56916
57256
|
|
|
56917
57257
|
/** @type {import('./gOPD')} */
|
|
56918
57258
|
module.exports = Object.getOwnPropertyDescriptor;
|
|
56919
57259
|
|
|
56920
|
-
},{}],
|
|
57260
|
+
},{}],378:[function(require,module,exports){
|
|
56921
57261
|
'use strict';
|
|
56922
57262
|
|
|
56923
57263
|
/** @type {import('.')} */
|
|
@@ -56934,7 +57274,7 @@ if ($gOPD) {
|
|
|
56934
57274
|
|
|
56935
57275
|
module.exports = $gOPD;
|
|
56936
57276
|
|
|
56937
|
-
},{"./gOPD":
|
|
57277
|
+
},{"./gOPD":377}],379:[function(require,module,exports){
|
|
56938
57278
|
'use strict';
|
|
56939
57279
|
|
|
56940
57280
|
var $defineProperty = require('es-define-property');
|
|
@@ -56958,7 +57298,7 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
56958
57298
|
|
|
56959
57299
|
module.exports = hasPropertyDescriptors;
|
|
56960
57300
|
|
|
56961
|
-
},{"es-define-property":
|
|
57301
|
+
},{"es-define-property":361}],380:[function(require,module,exports){
|
|
56962
57302
|
'use strict';
|
|
56963
57303
|
|
|
56964
57304
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -56974,7 +57314,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
56974
57314
|
return hasSymbolSham();
|
|
56975
57315
|
};
|
|
56976
57316
|
|
|
56977
|
-
},{"./shams":
|
|
57317
|
+
},{"./shams":381}],381:[function(require,module,exports){
|
|
56978
57318
|
'use strict';
|
|
56979
57319
|
|
|
56980
57320
|
/** @type {import('./shams')} */
|
|
@@ -57021,7 +57361,7 @@ module.exports = function hasSymbols() {
|
|
|
57021
57361
|
return true;
|
|
57022
57362
|
};
|
|
57023
57363
|
|
|
57024
|
-
},{}],
|
|
57364
|
+
},{}],382:[function(require,module,exports){
|
|
57025
57365
|
'use strict';
|
|
57026
57366
|
|
|
57027
57367
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -57031,7 +57371,7 @@ module.exports = function hasToStringTagShams() {
|
|
|
57031
57371
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
57032
57372
|
};
|
|
57033
57373
|
|
|
57034
|
-
},{"has-symbols/shams":
|
|
57374
|
+
},{"has-symbols/shams":381}],383:[function(require,module,exports){
|
|
57035
57375
|
'use strict';
|
|
57036
57376
|
|
|
57037
57377
|
var call = Function.prototype.call;
|
|
@@ -57041,7 +57381,7 @@ var bind = require('function-bind');
|
|
|
57041
57381
|
/** @type {import('.')} */
|
|
57042
57382
|
module.exports = bind.call(call, $hasOwn);
|
|
57043
57383
|
|
|
57044
|
-
},{"function-bind":
|
|
57384
|
+
},{"function-bind":372}],384:[function(require,module,exports){
|
|
57045
57385
|
if (typeof Object.create === 'function') {
|
|
57046
57386
|
// implementation from standard node.js 'util' module
|
|
57047
57387
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -57070,7 +57410,7 @@ if (typeof Object.create === 'function') {
|
|
|
57070
57410
|
}
|
|
57071
57411
|
}
|
|
57072
57412
|
|
|
57073
|
-
},{}],
|
|
57413
|
+
},{}],385:[function(require,module,exports){
|
|
57074
57414
|
'use strict';
|
|
57075
57415
|
|
|
57076
57416
|
var hasToStringTag = require('has-tostringtag/shams')();
|
|
@@ -57116,7 +57456,7 @@ isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests
|
|
|
57116
57456
|
/** @type {import('.')} */
|
|
57117
57457
|
module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
57118
57458
|
|
|
57119
|
-
},{"call-bound":
|
|
57459
|
+
},{"call-bound":358,"has-tostringtag/shams":382}],386:[function(require,module,exports){
|
|
57120
57460
|
'use strict';
|
|
57121
57461
|
|
|
57122
57462
|
var fnToStr = Function.prototype.toString;
|
|
@@ -57219,7 +57559,7 @@ module.exports = reflectApply
|
|
|
57219
57559
|
return tryFunctionObject(value);
|
|
57220
57560
|
};
|
|
57221
57561
|
|
|
57222
|
-
},{}],
|
|
57562
|
+
},{}],387:[function(require,module,exports){
|
|
57223
57563
|
'use strict';
|
|
57224
57564
|
|
|
57225
57565
|
var callBound = require('call-bound');
|
|
@@ -57268,7 +57608,7 @@ module.exports = function isGeneratorFunction(fn) {
|
|
|
57268
57608
|
return getProto(fn) === GeneratorFunction;
|
|
57269
57609
|
};
|
|
57270
57610
|
|
|
57271
|
-
},{"call-bound":
|
|
57611
|
+
},{"call-bound":358,"get-proto":376,"has-tostringtag/shams":382,"safe-regex-test":405}],388:[function(require,module,exports){
|
|
57272
57612
|
'use strict';
|
|
57273
57613
|
|
|
57274
57614
|
var callBound = require('call-bound');
|
|
@@ -57339,7 +57679,7 @@ if (hasToStringTag) {
|
|
|
57339
57679
|
|
|
57340
57680
|
module.exports = fn;
|
|
57341
57681
|
|
|
57342
|
-
},{"call-bound":
|
|
57682
|
+
},{"call-bound":358,"gopd":378,"has-tostringtag/shams":382,"hasown":383}],389:[function(require,module,exports){
|
|
57343
57683
|
'use strict';
|
|
57344
57684
|
|
|
57345
57685
|
var whichTypedArray = require('which-typed-array');
|
|
@@ -57349,19 +57689,19 @@ module.exports = function isTypedArray(value) {
|
|
|
57349
57689
|
return !!whichTypedArray(value);
|
|
57350
57690
|
};
|
|
57351
57691
|
|
|
57352
|
-
},{"which-typed-array":
|
|
57692
|
+
},{"which-typed-array":410}],390:[function(require,module,exports){
|
|
57353
57693
|
'use strict';
|
|
57354
57694
|
|
|
57355
57695
|
/** @type {import('./abs')} */
|
|
57356
57696
|
module.exports = Math.abs;
|
|
57357
57697
|
|
|
57358
|
-
},{}],
|
|
57698
|
+
},{}],391:[function(require,module,exports){
|
|
57359
57699
|
'use strict';
|
|
57360
57700
|
|
|
57361
57701
|
/** @type {import('./floor')} */
|
|
57362
57702
|
module.exports = Math.floor;
|
|
57363
57703
|
|
|
57364
|
-
},{}],
|
|
57704
|
+
},{}],392:[function(require,module,exports){
|
|
57365
57705
|
'use strict';
|
|
57366
57706
|
|
|
57367
57707
|
/** @type {import('./isNaN')} */
|
|
@@ -57369,31 +57709,31 @@ module.exports = Number.isNaN || function isNaN(a) {
|
|
|
57369
57709
|
return a !== a;
|
|
57370
57710
|
};
|
|
57371
57711
|
|
|
57372
|
-
},{}],
|
|
57712
|
+
},{}],393:[function(require,module,exports){
|
|
57373
57713
|
'use strict';
|
|
57374
57714
|
|
|
57375
57715
|
/** @type {import('./max')} */
|
|
57376
57716
|
module.exports = Math.max;
|
|
57377
57717
|
|
|
57378
|
-
},{}],
|
|
57718
|
+
},{}],394:[function(require,module,exports){
|
|
57379
57719
|
'use strict';
|
|
57380
57720
|
|
|
57381
57721
|
/** @type {import('./min')} */
|
|
57382
57722
|
module.exports = Math.min;
|
|
57383
57723
|
|
|
57384
|
-
},{}],
|
|
57724
|
+
},{}],395:[function(require,module,exports){
|
|
57385
57725
|
'use strict';
|
|
57386
57726
|
|
|
57387
57727
|
/** @type {import('./pow')} */
|
|
57388
57728
|
module.exports = Math.pow;
|
|
57389
57729
|
|
|
57390
|
-
},{}],
|
|
57730
|
+
},{}],396:[function(require,module,exports){
|
|
57391
57731
|
'use strict';
|
|
57392
57732
|
|
|
57393
57733
|
/** @type {import('./round')} */
|
|
57394
57734
|
module.exports = Math.round;
|
|
57395
57735
|
|
|
57396
|
-
},{}],
|
|
57736
|
+
},{}],397:[function(require,module,exports){
|
|
57397
57737
|
'use strict';
|
|
57398
57738
|
|
|
57399
57739
|
var $isNaN = require('./isNaN');
|
|
@@ -57406,7 +57746,7 @@ module.exports = function sign(number) {
|
|
|
57406
57746
|
return number < 0 ? -1 : +1;
|
|
57407
57747
|
};
|
|
57408
57748
|
|
|
57409
|
-
},{"./isNaN":
|
|
57749
|
+
},{"./isNaN":392}],398:[function(require,module,exports){
|
|
57410
57750
|
'use strict';
|
|
57411
57751
|
|
|
57412
57752
|
var keysShim;
|
|
@@ -57530,7 +57870,7 @@ if (!Object.keys) {
|
|
|
57530
57870
|
}
|
|
57531
57871
|
module.exports = keysShim;
|
|
57532
57872
|
|
|
57533
|
-
},{"./isArguments":
|
|
57873
|
+
},{"./isArguments":400}],399:[function(require,module,exports){
|
|
57534
57874
|
'use strict';
|
|
57535
57875
|
|
|
57536
57876
|
var slice = Array.prototype.slice;
|
|
@@ -57564,7 +57904,7 @@ keysShim.shim = function shimObjectKeys() {
|
|
|
57564
57904
|
|
|
57565
57905
|
module.exports = keysShim;
|
|
57566
57906
|
|
|
57567
|
-
},{"./implementation":
|
|
57907
|
+
},{"./implementation":398,"./isArguments":400}],400:[function(require,module,exports){
|
|
57568
57908
|
'use strict';
|
|
57569
57909
|
|
|
57570
57910
|
var toStr = Object.prototype.toString;
|
|
@@ -57583,7 +57923,7 @@ module.exports = function isArguments(value) {
|
|
|
57583
57923
|
return isArgs;
|
|
57584
57924
|
};
|
|
57585
57925
|
|
|
57586
|
-
},{}],
|
|
57926
|
+
},{}],401:[function(require,module,exports){
|
|
57587
57927
|
'use strict';
|
|
57588
57928
|
|
|
57589
57929
|
// modified from https://github.com/es-shims/es6-shim
|
|
@@ -57631,7 +57971,7 @@ module.exports = function assign(target, source1) {
|
|
|
57631
57971
|
return to; // step 4
|
|
57632
57972
|
};
|
|
57633
57973
|
|
|
57634
|
-
},{"call-bound":
|
|
57974
|
+
},{"call-bound":358,"es-object-atoms":369,"has-symbols/shams":381,"object-keys":399}],402:[function(require,module,exports){
|
|
57635
57975
|
'use strict';
|
|
57636
57976
|
|
|
57637
57977
|
var implementation = require('./implementation');
|
|
@@ -57688,7 +58028,7 @@ module.exports = function getPolyfill() {
|
|
|
57688
58028
|
return Object.assign;
|
|
57689
58029
|
};
|
|
57690
58030
|
|
|
57691
|
-
},{"./implementation":
|
|
58031
|
+
},{"./implementation":401}],403:[function(require,module,exports){
|
|
57692
58032
|
'use strict';
|
|
57693
58033
|
|
|
57694
58034
|
/** @type {import('.')} */
|
|
@@ -57707,7 +58047,7 @@ module.exports = [
|
|
|
57707
58047
|
'BigUint64Array'
|
|
57708
58048
|
];
|
|
57709
58049
|
|
|
57710
|
-
},{}],
|
|
58050
|
+
},{}],404:[function(require,module,exports){
|
|
57711
58051
|
// shim for using process in browser
|
|
57712
58052
|
var process = module.exports = {};
|
|
57713
58053
|
|
|
@@ -57893,7 +58233,7 @@ process.chdir = function (dir) {
|
|
|
57893
58233
|
};
|
|
57894
58234
|
process.umask = function() { return 0; };
|
|
57895
58235
|
|
|
57896
|
-
},{}],
|
|
58236
|
+
},{}],405:[function(require,module,exports){
|
|
57897
58237
|
'use strict';
|
|
57898
58238
|
|
|
57899
58239
|
var callBound = require('call-bound');
|
|
@@ -57912,7 +58252,7 @@ module.exports = function regexTester(regex) {
|
|
|
57912
58252
|
};
|
|
57913
58253
|
};
|
|
57914
58254
|
|
|
57915
|
-
},{"call-bound":
|
|
58255
|
+
},{"call-bound":358,"es-errors/type":367,"is-regex":388}],406:[function(require,module,exports){
|
|
57916
58256
|
'use strict';
|
|
57917
58257
|
|
|
57918
58258
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -57956,9 +58296,9 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
57956
58296
|
return fn;
|
|
57957
58297
|
};
|
|
57958
58298
|
|
|
57959
|
-
},{"define-data-property":
|
|
57960
|
-
arguments[4][
|
|
57961
|
-
},{"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){
|
|
57962
58302
|
// Currently in sync with Node.js lib/internal/util/types.js
|
|
57963
58303
|
// https://github.com/nodejs/node/commit/112cc7c27551254aa2b17098fb774867f05ed0d9
|
|
57964
58304
|
|
|
@@ -58294,7 +58634,7 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
|
58294
58634
|
});
|
|
58295
58635
|
});
|
|
58296
58636
|
|
|
58297
|
-
},{"is-arguments":
|
|
58637
|
+
},{"is-arguments":385,"is-generator-function":387,"is-typed-array":389,"which-typed-array":410}],409:[function(require,module,exports){
|
|
58298
58638
|
(function (process){(function (){
|
|
58299
58639
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
58300
58640
|
//
|
|
@@ -59013,7 +59353,7 @@ function callbackify(original) {
|
|
|
59013
59353
|
exports.callbackify = callbackify;
|
|
59014
59354
|
|
|
59015
59355
|
}).call(this)}).call(this,require('_process'))
|
|
59016
|
-
},{"./support/isBuffer":
|
|
59356
|
+
},{"./support/isBuffer":407,"./support/types":408,"_process":404,"inherits":384}],410:[function(require,module,exports){
|
|
59017
59357
|
(function (global){(function (){
|
|
59018
59358
|
'use strict';
|
|
59019
59359
|
|
|
@@ -59134,5 +59474,5 @@ module.exports = function whichTypedArray(value) {
|
|
|
59134
59474
|
};
|
|
59135
59475
|
|
|
59136
59476
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
59137
|
-
},{"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)
|
|
59138
59478
|
});
|