@designliquido/delegua 0.61.2 → 0.61.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/analisador-semantico/analisador-semantico-base.d.ts +2 -1
- package/analisador-semantico/analisador-semantico-base.d.ts.map +1 -1
- package/analisador-semantico/analisador-semantico-base.js +3 -0
- package/analisador-semantico/analisador-semantico-base.js.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico.d.ts.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico.js +9 -5
- package/avaliador-sintatico/avaliador-sintatico.js.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.d.ts +8 -7
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.d.ts.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.js +138 -89
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.js.map +1 -1
- package/bibliotecas/biblioteca-global.d.ts +9 -0
- package/bibliotecas/biblioteca-global.d.ts.map +1 -1
- package/bibliotecas/biblioteca-global.js +24 -0
- package/bibliotecas/biblioteca-global.js.map +1 -1
- package/bibliotecas/dialetos/egua-classico/biblioteca-global.js +1 -1
- package/bibliotecas/dialetos/egua-classico/biblioteca-global.js.map +1 -1
- package/bibliotecas/dialetos/pitugues/biblioteca-global.d.ts +9 -0
- package/bibliotecas/dialetos/pitugues/biblioteca-global.d.ts.map +1 -1
- package/bibliotecas/dialetos/pitugues/biblioteca-global.js +24 -0
- package/bibliotecas/dialetos/pitugues/biblioteca-global.js.map +1 -1
- package/bin/package.json +1 -1
- package/construtos/funcao.d.ts +3 -2
- package/construtos/funcao.d.ts.map +1 -1
- package/construtos/funcao.js +1 -0
- package/construtos/funcao.js.map +1 -1
- package/construtos/isto.d.ts +4 -4
- package/construtos/isto.d.ts.map +1 -1
- package/construtos/isto.js +2 -2
- package/construtos/isto.js.map +1 -1
- package/declaracoes/escreva.d.ts +2 -1
- package/declaracoes/escreva.d.ts.map +1 -1
- package/declaracoes/escreva.js.map +1 -1
- package/declaracoes/index.d.ts +1 -0
- package/declaracoes/index.d.ts.map +1 -1
- package/declaracoes/index.js +1 -0
- package/declaracoes/index.js.map +1 -1
- package/declaracoes/texto-documentacao.d.ts +12 -0
- package/declaracoes/texto-documentacao.d.ts.map +1 -0
- package/declaracoes/texto-documentacao.js +21 -0
- package/declaracoes/texto-documentacao.js.map +1 -0
- package/formatadores/formatador-delegua.d.ts +2 -1
- package/formatadores/formatador-delegua.d.ts.map +1 -1
- package/formatadores/formatador-delegua.js +3 -0
- package/formatadores/formatador-delegua.js.map +1 -1
- package/formatadores/formatador-pitugues.d.ts +70 -60
- package/formatadores/formatador-pitugues.d.ts.map +1 -1
- package/formatadores/formatador-pitugues.js +390 -227
- package/formatadores/formatador-pitugues.js.map +1 -1
- package/interfaces/visitante-comum-interface.d.ts +2 -1
- package/interfaces/visitante-comum-interface.d.ts.map +1 -1
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.d.ts +2 -1
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.d.ts.map +1 -1
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.js +4 -1
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.js.map +1 -1
- package/interpretador/dialetos/egua-classico/resolvedor/resolvedor.d.ts +2 -1
- package/interpretador/dialetos/egua-classico/resolvedor/resolvedor.d.ts.map +1 -1
- package/interpretador/dialetos/egua-classico/resolvedor/resolvedor.js +7 -4
- package/interpretador/dialetos/egua-classico/resolvedor/resolvedor.js.map +1 -1
- package/interpretador/dialetos/pitugues/comum.js +11 -11
- package/interpretador/dialetos/pitugues/comum.js.map +1 -1
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.d.ts +2 -1
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.d.ts.map +1 -1
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.js +3 -0
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.js.map +1 -1
- package/interpretador/estruturas/delegua-funcao.d.ts.map +1 -1
- package/interpretador/estruturas/delegua-funcao.js.map +1 -1
- package/interpretador/estruturas/metodo-primitiva.d.ts +3 -1
- package/interpretador/estruturas/metodo-primitiva.d.ts.map +1 -1
- package/interpretador/estruturas/metodo-primitiva.js +5 -2
- package/interpretador/estruturas/metodo-primitiva.js.map +1 -1
- package/interpretador/interpretador-base.d.ts +5 -4
- package/interpretador/interpretador-base.d.ts.map +1 -1
- package/interpretador/interpretador-base.js +50 -16
- package/interpretador/interpretador-base.js.map +1 -1
- package/interpretador/interpretador.d.ts.map +1 -1
- package/interpretador/interpretador.js +14 -11
- package/interpretador/interpretador.js.map +1 -1
- package/package.json +1 -1
- package/umd/delegua.js +979 -672
package/umd/delegua.js
CHANGED
|
@@ -240,7 +240,7 @@ class AvaliadorSintaticoBase {
|
|
|
240
240
|
}
|
|
241
241
|
exports.AvaliadorSintaticoBase = AvaliadorSintaticoBase;
|
|
242
242
|
|
|
243
|
-
},{"../construtos":51,"../declaracoes":96,"../tipos-de-simbolos/comum":
|
|
243
|
+
},{"../construtos":51,"../declaracoes":96,"../tipos-de-simbolos/comum":189,"./erro-avaliador-sintatico":12}],2:[function(require,module,exports){
|
|
244
244
|
"use strict";
|
|
245
245
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
246
246
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -1949,15 +1949,15 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1949
1949
|
parametro.abrangencia = 'padrao';
|
|
1950
1950
|
}
|
|
1951
1951
|
parametro.nome = this.consumir(delegua_2.default.IDENTIFICADOR, 'Esperado nome do parâmetro.');
|
|
1952
|
-
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.IGUAL)) {
|
|
1953
|
-
const valorPadrao = this.primario();
|
|
1954
|
-
parametro.valorPadrao = valorPadrao;
|
|
1955
|
-
}
|
|
1956
1952
|
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.DOIS_PONTOS)) {
|
|
1957
1953
|
let tipoDadoParametro = this.verificarDefinicaoTipoAtual();
|
|
1958
1954
|
parametro.tipoDado = tipoDadoParametro;
|
|
1959
1955
|
this.avancarEDevolverAnterior();
|
|
1960
1956
|
}
|
|
1957
|
+
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.IGUAL)) {
|
|
1958
|
+
const valorPadrao = this.primario();
|
|
1959
|
+
parametro.valorPadrao = valorPadrao;
|
|
1960
|
+
}
|
|
1961
1961
|
this.pilhaEscopos.definirInformacoesVariavel(parametro.nome.lexema, new informacao_elemento_sintatico_1.InformacaoElementoSintatico(parametro.nome.lexema, parametro.tipoDado || 'qualquer'));
|
|
1962
1962
|
parametros.push(parametro);
|
|
1963
1963
|
if (parametro.abrangencia === 'multiplo')
|
|
@@ -2171,6 +2171,10 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
2171
2171
|
this.pilhaEscopos.definirInformacoesVariavel('inteiro', new informacao_elemento_sintatico_1.InformacaoElementoSintatico('inteiro', 'inteiro', true, [
|
|
2172
2172
|
new informacao_elemento_sintatico_1.InformacaoElementoSintatico('valor', 'qualquer'),
|
|
2173
2173
|
]));
|
|
2174
|
+
this.pilhaEscopos.definirInformacoesVariavel('intervalo', new informacao_elemento_sintatico_1.InformacaoElementoSintatico('intervalo', 'inteiro[]', true, [
|
|
2175
|
+
new informacao_elemento_sintatico_1.InformacaoElementoSintatico('valorInicial', 'inteiro'),
|
|
2176
|
+
new informacao_elemento_sintatico_1.InformacaoElementoSintatico('valorFinal', 'inteiro'),
|
|
2177
|
+
]));
|
|
2174
2178
|
this.pilhaEscopos.definirInformacoesVariavel('mapear', new informacao_elemento_sintatico_1.InformacaoElementoSintatico('mapear', 'qualquer[]', true, [
|
|
2175
2179
|
new informacao_elemento_sintatico_1.InformacaoElementoSintatico('vetor', 'qualquer[]'),
|
|
2176
2180
|
new informacao_elemento_sintatico_1.InformacaoElementoSintatico('funcaoMapeamento', 'função'),
|
|
@@ -2183,7 +2187,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
2183
2187
|
]));
|
|
2184
2188
|
this.pilhaEscopos.definirInformacoesVariavel('ordenar', new informacao_elemento_sintatico_1.InformacaoElementoSintatico('ordenar', 'qualquer[]', true, [
|
|
2185
2189
|
new informacao_elemento_sintatico_1.InformacaoElementoSintatico('vetor', 'qualquer[]'),
|
|
2186
|
-
new informacao_elemento_sintatico_1.InformacaoElementoSintatico('funcaoOrdenacao', 'função'),
|
|
2190
|
+
new informacao_elemento_sintatico_1.InformacaoElementoSintatico('funcaoOrdenacao', 'função', false),
|
|
2187
2191
|
]));
|
|
2188
2192
|
this.pilhaEscopos.definirInformacoesVariavel('paraCada', new informacao_elemento_sintatico_1.InformacaoElementoSintatico('paraCada', 'qualquer[]', true, [
|
|
2189
2193
|
new informacao_elemento_sintatico_1.InformacaoElementoSintatico('vetor', 'qualquer[]'),
|
|
@@ -2256,7 +2260,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
2256
2260
|
}
|
|
2257
2261
|
exports.AvaliadorSintatico = AvaliadorSintatico;
|
|
2258
2262
|
|
|
2259
|
-
},{"../bibliotecas/primitivas-dicionario":20,"../bibliotecas/primitivas-numero":21,"../bibliotecas/primitivas-texto":22,"../bibliotecas/primitivas-vetor":23,"../construtos":51,"../construtos/tuplas":68,"../declaracoes":96,"../inferenciador":
|
|
2263
|
+
},{"../bibliotecas/primitivas-dicionario":20,"../bibliotecas/primitivas-numero":21,"../bibliotecas/primitivas-texto":22,"../bibliotecas/primitivas-vetor":23,"../construtos":51,"../construtos/tuplas":68,"../declaracoes":96,"../inferenciador":116,"../informacao-elemento-sintatico":117,"../tipos-de-dados/delegua":185,"../tipos-de-simbolos/delegua":190,"./avaliador-sintatico-base":1,"./comum":3,"./elemento-montao-tipos":11,"./erro-avaliador-sintatico":12,"./informacao-escopo":14,"./montao-tipos":17,"./pilha-escopos":18,"browser-process-hrtime":371}],3:[function(require,module,exports){
|
|
2260
2264
|
"use strict";
|
|
2261
2265
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2262
2266
|
exports.buscarRetornos = buscarRetornos;
|
|
@@ -2356,7 +2360,7 @@ function registrarPrimitiva(primitivasConhecidas, tipo, catalogoPrimitivas) {
|
|
|
2356
2360
|
}
|
|
2357
2361
|
}
|
|
2358
2362
|
|
|
2359
|
-
},{"../informacao-elemento-sintatico":
|
|
2363
|
+
},{"../informacao-elemento-sintatico":117}],4:[function(require,module,exports){
|
|
2360
2364
|
"use strict";
|
|
2361
2365
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2362
2366
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2582,7 +2586,7 @@ class AvaliadorSintaticoCalango extends avaliador_sintatico_base_1.AvaliadorSint
|
|
|
2582
2586
|
}
|
|
2583
2587
|
exports.AvaliadorSintaticoCalango = AvaliadorSintaticoCalango;
|
|
2584
2588
|
|
|
2585
|
-
},{"../../construtos":51,"../../declaracoes":96,"../../informacao-elemento-sintatico":
|
|
2589
|
+
},{"../../construtos":51,"../../declaracoes":96,"../../informacao-elemento-sintatico":117,"../../tipos-de-simbolos/calango":188,"../avaliador-sintatico-base":1,"../informacao-escopo":14,"../pilha-escopos":18}],5:[function(require,module,exports){
|
|
2586
2590
|
"use strict";
|
|
2587
2591
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2588
2592
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3242,7 +3246,7 @@ class AvaliadorSintaticoEguaClassico {
|
|
|
3242
3246
|
}
|
|
3243
3247
|
exports.AvaliadorSintaticoEguaClassico = AvaliadorSintaticoEguaClassico;
|
|
3244
3248
|
|
|
3245
|
-
},{"../../construtos":51,"../../declaracoes":96,"../../tipos-de-simbolos/egua-classico":
|
|
3249
|
+
},{"../../construtos":51,"../../declaracoes":96,"../../tipos-de-simbolos/egua-classico":191,"../erro-avaliador-sintatico":12}],6:[function(require,module,exports){
|
|
3246
3250
|
"use strict";
|
|
3247
3251
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3248
3252
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3291,8 +3295,8 @@ class AvaliadorSintaticoPitugues {
|
|
|
3291
3295
|
if (tipo !== 'qualquer') {
|
|
3292
3296
|
return tipo;
|
|
3293
3297
|
}
|
|
3294
|
-
switch (inicializador.constructor
|
|
3295
|
-
case
|
|
3298
|
+
switch (inicializador.constructor) {
|
|
3299
|
+
case construtos_1.AcessoIndiceVariavel:
|
|
3296
3300
|
const entidadeChamadaAcessoIndiceVariavel = inicializador
|
|
3297
3301
|
.entidadeChamada;
|
|
3298
3302
|
// Este condicional ocorre com chamadas aninhadas. Por exemplo, `vetor[1][2]`.
|
|
@@ -3304,13 +3308,13 @@ class AvaliadorSintaticoPitugues {
|
|
|
3304
3308
|
}
|
|
3305
3309
|
// Normalmente, `entidadeChamadaAcessoIndiceVariavel.tipo` aqui será 'vetor'.
|
|
3306
3310
|
return 'qualquer';
|
|
3307
|
-
case
|
|
3311
|
+
case construtos_1.Chamada:
|
|
3308
3312
|
const entidadeChamadaChamada = inicializador.entidadeChamada;
|
|
3309
|
-
switch (entidadeChamadaChamada.constructor
|
|
3310
|
-
case
|
|
3313
|
+
switch (entidadeChamadaChamada.constructor) {
|
|
3314
|
+
case construtos_1.AcessoMetodo:
|
|
3311
3315
|
const entidadeChamadaAcessoMetodo = entidadeChamadaChamada;
|
|
3312
3316
|
return entidadeChamadaAcessoMetodo.tipoRetornoMetodo;
|
|
3313
|
-
case
|
|
3317
|
+
case construtos_1.AcessoMetodoOuPropriedade:
|
|
3314
3318
|
// Este caso ocorre quando a variável/constante é do tipo 'qualquer',
|
|
3315
3319
|
// e a chamada normalmente é feita para uma primitiva.
|
|
3316
3320
|
// A inferência, portanto, ocorre pelo uso da primitiva.
|
|
@@ -3321,38 +3325,39 @@ class AvaliadorSintaticoPitugues {
|
|
|
3321
3325
|
}
|
|
3322
3326
|
}
|
|
3323
3327
|
throw new erro_avaliador_sintatico_1.ErroAvaliadorSintatico(entidadeChamadaAcessoMetodoOuPropriedade.simbolo, `Primitiva '${entidadeChamadaAcessoMetodoOuPropriedade.simbolo.lexema}' não existe.`);
|
|
3324
|
-
case
|
|
3328
|
+
case construtos_1.AcessoPropriedade:
|
|
3325
3329
|
const entidadeChamadaAcessoPropriedade = entidadeChamadaChamada;
|
|
3326
3330
|
return entidadeChamadaAcessoPropriedade.tipoRetornoPropriedade;
|
|
3327
|
-
case
|
|
3331
|
+
case construtos_1.ArgumentoReferenciaFuncao:
|
|
3328
3332
|
// TODO: Voltar aqui se necessário.
|
|
3329
3333
|
return 'qualquer';
|
|
3330
|
-
case
|
|
3334
|
+
case construtos_1.ReferenciaFuncao:
|
|
3331
3335
|
const entidadeChamadaReferenciaFuncao = entidadeChamadaChamada;
|
|
3332
3336
|
return entidadeChamadaReferenciaFuncao.tipo;
|
|
3333
|
-
case
|
|
3337
|
+
case construtos_1.Variavel:
|
|
3334
3338
|
const entidadeChamadaVariavel = entidadeChamadaChamada;
|
|
3335
3339
|
return entidadeChamadaVariavel.tipo;
|
|
3336
3340
|
}
|
|
3337
3341
|
break;
|
|
3338
|
-
case
|
|
3342
|
+
case construtos_1.FuncaoConstruto:
|
|
3339
3343
|
const funcaoConstruto = inicializador;
|
|
3340
3344
|
return `função<${funcaoConstruto.tipo}>`;
|
|
3341
|
-
case
|
|
3345
|
+
case construtos_1.Leia:
|
|
3342
3346
|
return 'texto';
|
|
3343
|
-
case
|
|
3344
|
-
case
|
|
3345
|
-
case
|
|
3346
|
-
case
|
|
3347
|
-
case
|
|
3348
|
-
case
|
|
3349
|
-
case
|
|
3350
|
-
case
|
|
3351
|
-
case
|
|
3347
|
+
case construtos_1.Dupla:
|
|
3348
|
+
case construtos_1.Trio:
|
|
3349
|
+
case construtos_1.Quarteto:
|
|
3350
|
+
case construtos_1.Quinteto:
|
|
3351
|
+
case construtos_1.Sexteto:
|
|
3352
|
+
case construtos_1.Septeto:
|
|
3353
|
+
case construtos_1.Octeto:
|
|
3354
|
+
case construtos_1.Noneto:
|
|
3355
|
+
case construtos_1.Deceto:
|
|
3352
3356
|
return 'tupla';
|
|
3353
|
-
|
|
3354
|
-
case
|
|
3355
|
-
|
|
3357
|
+
// TODO: Talvez reabilitar.
|
|
3358
|
+
/* case ImportarBiblioteca:
|
|
3359
|
+
case ModuloDeclaracoes:
|
|
3360
|
+
return 'módulo'; */
|
|
3356
3361
|
default:
|
|
3357
3362
|
return inicializador.tipo;
|
|
3358
3363
|
}
|
|
@@ -3570,7 +3575,9 @@ class AvaliadorSintaticoPitugues {
|
|
|
3570
3575
|
} while (this.verificarSeSimboloAtualEIgualA(pitugues_2.default.VIRGULA));
|
|
3571
3576
|
}
|
|
3572
3577
|
this.consumir(pitugues_2.default.PARENTESE_DIREITO, "Esperado ')' após os argumentos.");
|
|
3573
|
-
|
|
3578
|
+
const chamada = new construtos_1.Chamada(this.hashArquivo, entidadeChamada, argumentos);
|
|
3579
|
+
chamada.tipo = entidadeChamada.tipo;
|
|
3580
|
+
return chamada;
|
|
3574
3581
|
}
|
|
3575
3582
|
chamar() {
|
|
3576
3583
|
let expressao = this.primario();
|
|
@@ -3743,15 +3750,16 @@ class AvaliadorSintaticoPitugues {
|
|
|
3743
3750
|
expressao() {
|
|
3744
3751
|
return this.atribuir();
|
|
3745
3752
|
}
|
|
3746
|
-
declaracaoEscreva() {
|
|
3747
|
-
const simboloAtual = this.simboloAtual();
|
|
3753
|
+
declaracaoEscreva(simboloEscreva) {
|
|
3748
3754
|
this.consumir(pitugues_2.default.PARENTESE_ESQUERDO, "Esperado '(' antes dos valores em escreva.");
|
|
3749
3755
|
const argumentos = [];
|
|
3750
3756
|
do {
|
|
3751
3757
|
argumentos.push(this.expressao());
|
|
3752
3758
|
} while (this.verificarSeSimboloAtualEIgualA(pitugues_2.default.VIRGULA));
|
|
3753
3759
|
this.consumir(pitugues_2.default.PARENTESE_DIREITO, "Esperado ')' após os valores em escreva.");
|
|
3754
|
-
|
|
3760
|
+
const declaracaoEscreva = new declaracoes_1.Escreva(Number(simboloEscreva.linha), simboloEscreva.hashArquivo, argumentos);
|
|
3761
|
+
declaracaoEscreva.simboloEscreva = simboloEscreva;
|
|
3762
|
+
return declaracaoEscreva;
|
|
3755
3763
|
}
|
|
3756
3764
|
declaracaoExpressao() {
|
|
3757
3765
|
const expressao = this.expressao();
|
|
@@ -3775,8 +3783,8 @@ class AvaliadorSintaticoPitugues {
|
|
|
3775
3783
|
// Verifica-se o número de espaços à esquerda da linha através dos pragmas.
|
|
3776
3784
|
// Se número de espaços da linha do símbolo atual é menor ou igual ao número de espaços
|
|
3777
3785
|
// da linha anterior, e bloco ainda não começou, é uma situação de erro.
|
|
3778
|
-
let espacosIndentacaoLinhaAtual = this.
|
|
3779
|
-
const espacosIndentacaoLinhaAnterior = this.
|
|
3786
|
+
let espacosIndentacaoLinhaAtual = this.localizacoes[simboloAtual.linha].espacosIndentacao;
|
|
3787
|
+
const espacosIndentacaoLinhaAnterior = this.localizacoes[simboloAnterior.linha].espacosIndentacao;
|
|
3780
3788
|
if (espacosIndentacaoLinhaAtual <= espacosIndentacaoLinhaAnterior) {
|
|
3781
3789
|
throw this.erro(simboloAtual, `Indentação inconsistente na linha ${simboloAtual.linha}. ` +
|
|
3782
3790
|
`Esperado: >= ${espacosIndentacaoLinhaAnterior}. ` +
|
|
@@ -3799,7 +3807,7 @@ class AvaliadorSintaticoPitugues {
|
|
|
3799
3807
|
simboloAtual = this.simboloAtual();
|
|
3800
3808
|
if (!simboloAtual)
|
|
3801
3809
|
break;
|
|
3802
|
-
espacosIndentacaoLinhaAtual = this.
|
|
3810
|
+
espacosIndentacaoLinhaAtual = this.localizacoes[simboloAtual.linha].espacosIndentacao;
|
|
3803
3811
|
}
|
|
3804
3812
|
}
|
|
3805
3813
|
this.pilhaEscopos.removerUltimo();
|
|
@@ -3912,6 +3920,10 @@ class AvaliadorSintaticoPitugues {
|
|
|
3912
3920
|
}
|
|
3913
3921
|
return new declaracoes_1.Sustar(this.simboloAtual());
|
|
3914
3922
|
}
|
|
3923
|
+
declaracaoComentario() {
|
|
3924
|
+
const simboloComentario = this.avancarEDevolverAnterior();
|
|
3925
|
+
return new declaracoes_1.Comentario(simboloComentario.hashArquivo, simboloComentario.linha, simboloComentario.literal, false);
|
|
3926
|
+
}
|
|
3915
3927
|
declaracaoContinua() {
|
|
3916
3928
|
if (this.blocos < 1) {
|
|
3917
3929
|
throw this.erro(this.simboloAnterior(), "'continua' precisa estar em um laço de repetição.");
|
|
@@ -3939,8 +3951,26 @@ class AvaliadorSintaticoPitugues {
|
|
|
3939
3951
|
const blocoTente = this.blocoEscopo();
|
|
3940
3952
|
let blocoPegue = null;
|
|
3941
3953
|
if (this.verificarSeSimboloAtualEIgualA(pitugues_2.default.PEGUE)) {
|
|
3942
|
-
this.
|
|
3943
|
-
|
|
3954
|
+
if (this.verificarTipoSimboloAtual(pitugues_2.default.COMO)) {
|
|
3955
|
+
this.avancarEDevolverAnterior();
|
|
3956
|
+
const variavelExcecao = this.consumir(pitugues_2.default.IDENTIFICADOR, `Esperado identificador após palavra reservada 'como' em bloco tente. Atual: ${this.simbolos[this.atual].lexema}.`);
|
|
3957
|
+
// Caso 1: com parâmetro de erro.
|
|
3958
|
+
// `pegue` recebe um `FuncaoConstruto`.
|
|
3959
|
+
this.consumir(pitugues_2.default.DOIS_PONTOS, `Esperado ':' antes do escopo do bloco 'pegue'.`);
|
|
3960
|
+
this.pilhaEscopos.definirInformacoesVariavel(variavelExcecao.lexema, new informacao_elemento_sintatico_1.InformacaoElementoSintatico(variavelExcecao.lexema, 'qualquer'));
|
|
3961
|
+
const corpo = this.blocoEscopo();
|
|
3962
|
+
blocoPegue = new construtos_1.FuncaoConstruto(this.hashArquivo, simboloTente.linha, [{
|
|
3963
|
+
abrangencia: "padrao",
|
|
3964
|
+
nome: variavelExcecao,
|
|
3965
|
+
tipoDado: "qualquer",
|
|
3966
|
+
}], corpo, "vazio", false);
|
|
3967
|
+
}
|
|
3968
|
+
else {
|
|
3969
|
+
// Caso 2: sem parâmetro de erro.
|
|
3970
|
+
// `pegue` recebe um bloco.
|
|
3971
|
+
this.consumir(pitugues_2.default.DOIS_PONTOS, "Esperado ':' após a declaração 'pegue'.");
|
|
3972
|
+
blocoPegue = this.blocoEscopo();
|
|
3973
|
+
}
|
|
3944
3974
|
}
|
|
3945
3975
|
let blocoSenao = null;
|
|
3946
3976
|
if (this.verificarSeSimboloAtualEIgualA(pitugues_2.default.SENAO, pitugues_2.default.SENÃO)) {
|
|
@@ -3967,53 +3997,6 @@ class AvaliadorSintaticoPitugues {
|
|
|
3967
3997
|
this.blocos -= 1;
|
|
3968
3998
|
}
|
|
3969
3999
|
}
|
|
3970
|
-
resolverDeclaracao() {
|
|
3971
|
-
switch (this.simbolos[this.atual].tipo) {
|
|
3972
|
-
case pitugues_2.default.CONTINUA:
|
|
3973
|
-
this.avancarEDevolverAnterior();
|
|
3974
|
-
return this.declaracaoContinua();
|
|
3975
|
-
case pitugues_2.default.DOIS_PONTOS:
|
|
3976
|
-
this.avancarEDevolverAnterior();
|
|
3977
|
-
const simboloInicioBloco = this.simboloAnterior();
|
|
3978
|
-
return new declaracoes_1.Bloco(simboloInicioBloco.hashArquivo, Number(simboloInicioBloco.linha), this.blocoEscopo());
|
|
3979
|
-
case pitugues_2.default.ENQUANTO:
|
|
3980
|
-
this.avancarEDevolverAnterior();
|
|
3981
|
-
return this.declaracaoEnquanto();
|
|
3982
|
-
case pitugues_2.default.ESCOLHA:
|
|
3983
|
-
this.avancarEDevolverAnterior();
|
|
3984
|
-
return this.declaracaoEscolha();
|
|
3985
|
-
case pitugues_2.default.IMPRIMA:
|
|
3986
|
-
case pitugues_2.default.ESCREVA:
|
|
3987
|
-
this.avancarEDevolverAnterior();
|
|
3988
|
-
return this.declaracaoEscreva();
|
|
3989
|
-
case pitugues_2.default.FALHAR:
|
|
3990
|
-
this.avancarEDevolverAnterior();
|
|
3991
|
-
return this.declaracaoFalhar();
|
|
3992
|
-
case pitugues_2.default.FAZER:
|
|
3993
|
-
this.avancarEDevolverAnterior();
|
|
3994
|
-
return this.declaracaoFazer();
|
|
3995
|
-
case pitugues_2.default.PARA:
|
|
3996
|
-
this.avancarEDevolverAnterior();
|
|
3997
|
-
return this.declaracaoPara();
|
|
3998
|
-
case pitugues_2.default.QUEBRAR:
|
|
3999
|
-
case pitugues_2.default.SUSTAR:
|
|
4000
|
-
this.avancarEDevolverAnterior();
|
|
4001
|
-
return this.declaracaoSustar();
|
|
4002
|
-
case pitugues_2.default.SE:
|
|
4003
|
-
this.avancarEDevolverAnterior();
|
|
4004
|
-
return this.declaracaoSe();
|
|
4005
|
-
case pitugues_2.default.RETORNA:
|
|
4006
|
-
this.avancarEDevolverAnterior();
|
|
4007
|
-
return this.declaracaoRetorna();
|
|
4008
|
-
case pitugues_2.default.TENTE:
|
|
4009
|
-
this.avancarEDevolverAnterior();
|
|
4010
|
-
return this.declaracaoTente();
|
|
4011
|
-
case pitugues_2.default.VARIAVEL:
|
|
4012
|
-
this.avancarEDevolverAnterior();
|
|
4013
|
-
return this.declaracaoDeVariaveis();
|
|
4014
|
-
}
|
|
4015
|
-
return this.declaracaoExpressao();
|
|
4016
|
-
}
|
|
4017
4000
|
funcao(tipo, construtor) {
|
|
4018
4001
|
const simbolo = !construtor
|
|
4019
4002
|
? this.consumir(pitugues_2.default.IDENTIFICADOR, `Esperado nome ${tipo}.`)
|
|
@@ -4043,6 +4026,11 @@ class AvaliadorSintaticoPitugues {
|
|
|
4043
4026
|
parametro.abrangencia = 'padrao';
|
|
4044
4027
|
}
|
|
4045
4028
|
parametro.nome = this.consumir(pitugues_2.default.IDENTIFICADOR, 'Esperado nome do parâmetro.');
|
|
4029
|
+
if (this.verificarSeSimboloAtualEIgualA(pitugues_2.default.DOIS_PONTOS)) {
|
|
4030
|
+
let tipoDadoParametro = this.verificarDefinicaoTipoAtual();
|
|
4031
|
+
parametro.tipoDado = tipoDadoParametro;
|
|
4032
|
+
this.avancarEDevolverAnterior();
|
|
4033
|
+
}
|
|
4046
4034
|
if (this.verificarSeSimboloAtualEIgualA(pitugues_2.default.IGUAL)) {
|
|
4047
4035
|
parametro.valorPadrao = this.primario();
|
|
4048
4036
|
}
|
|
@@ -4128,10 +4116,10 @@ class AvaliadorSintaticoPitugues {
|
|
|
4128
4116
|
}
|
|
4129
4117
|
return tipoElementarResolvido;
|
|
4130
4118
|
}
|
|
4131
|
-
|
|
4119
|
+
declaracaoTextoDeDocumentacao() {
|
|
4132
4120
|
if (this.simbolos[this.atual].tipo === pitugues_2.default.TEXTO_MULTILINHAS) {
|
|
4133
|
-
const
|
|
4134
|
-
return new declaracoes_1.
|
|
4121
|
+
const simboloTexto = this.avancarEDevolverAnterior();
|
|
4122
|
+
return new declaracoes_1.TextoDocumentacao(this.hashArquivo, Number(simboloTexto.linha), simboloTexto.lexema);
|
|
4135
4123
|
}
|
|
4136
4124
|
}
|
|
4137
4125
|
corpoDaFuncao(tipo) {
|
|
@@ -4151,7 +4139,7 @@ class AvaliadorSintaticoPitugues {
|
|
|
4151
4139
|
definicaoExplicitaDeTipo = true;
|
|
4152
4140
|
}
|
|
4153
4141
|
this.consumir(pitugues_2.default.DOIS_PONTOS, `Esperado ':' antes do escopo do ${tipo}.`);
|
|
4154
|
-
const documentacao = this.
|
|
4142
|
+
const documentacao = this.declaracaoTextoDeDocumentacao();
|
|
4155
4143
|
const corpo = this.blocoEscopo();
|
|
4156
4144
|
tipoRetorno = (0, comum_1.logicaDescobertaRetornoFuncao)(this, corpo, tipoRetorno, definicaoExplicitaDeTipo, parenteseEsquerdo);
|
|
4157
4145
|
return new construtos_1.FuncaoConstruto(this.hashArquivo, 0, parametros, corpo, tipoRetorno, definicaoExplicitaDeTipo, documentacao);
|
|
@@ -4166,14 +4154,24 @@ class AvaliadorSintaticoPitugues {
|
|
|
4166
4154
|
this.consumir(pitugues_2.default.PARENTESE_DIREITO, "Esperado ')' após declaração.");
|
|
4167
4155
|
}
|
|
4168
4156
|
this.consumir(pitugues_2.default.DOIS_PONTOS, "Esperado ':' antes do escopo da classe.");
|
|
4169
|
-
const possivelDocumentacao = this.
|
|
4157
|
+
const possivelDocumentacao = this.declaracaoTextoDeDocumentacao();
|
|
4170
4158
|
const metodos = [];
|
|
4159
|
+
const propriedades = [];
|
|
4171
4160
|
while (!this.estaNoFinal() &&
|
|
4172
|
-
this.verificarSeSimboloAtualEIgualA(pitugues_2.default.CONSTRUTOR, pitugues_2.default.FUNCAO, pitugues_2.default.FUNÇÃO)) {
|
|
4173
|
-
|
|
4161
|
+
this.verificarSeSimboloAtualEIgualA(pitugues_2.default.CONSTRUTOR, pitugues_2.default.FUNCAO, pitugues_2.default.FUNÇÃO, pitugues_2.default.IDENTIFICADOR)) {
|
|
4162
|
+
const simboloAnterior = this.simbolos[this.atual - 1];
|
|
4163
|
+
if (simboloAnterior.tipo === pitugues_2.default.IDENTIFICADOR) {
|
|
4164
|
+
this.consumir(pitugues_2.default.DOIS_PONTOS, "Esperado ':' antes do escopo da classe.");
|
|
4165
|
+
const tipoPropriedade = this.consumir(pitugues_2.default.IDENTIFICADOR, "Esperado tipo de propriedade após dois-pontos, em declaração de classe.");
|
|
4166
|
+
const propriedade = new declaracoes_1.PropriedadeClasse(simboloAnterior, tipoPropriedade.lexema, []);
|
|
4167
|
+
propriedades.push(propriedade);
|
|
4168
|
+
}
|
|
4169
|
+
else {
|
|
4170
|
+
metodos.push(this.funcao('método', this.simbolos[this.atual - 1].tipo === pitugues_2.default.CONSTRUTOR));
|
|
4171
|
+
}
|
|
4174
4172
|
}
|
|
4175
4173
|
this.superclasseAtual = undefined;
|
|
4176
|
-
const definicaoClasse = new declaracoes_1.Classe(simbolo, superClasse, metodos);
|
|
4174
|
+
const definicaoClasse = new declaracoes_1.Classe(simbolo, superClasse, metodos, propriedades);
|
|
4177
4175
|
if (possivelDocumentacao) {
|
|
4178
4176
|
definicaoClasse.documentacao = possivelDocumentacao;
|
|
4179
4177
|
}
|
|
@@ -4207,6 +4205,57 @@ class AvaliadorSintaticoPitugues {
|
|
|
4207
4205
|
return null;
|
|
4208
4206
|
}
|
|
4209
4207
|
}
|
|
4208
|
+
resolverDeclaracao() {
|
|
4209
|
+
switch (this.simbolos[this.atual].tipo) {
|
|
4210
|
+
case pitugues_2.default.COMENTARIO:
|
|
4211
|
+
return this.declaracaoComentario();
|
|
4212
|
+
case pitugues_2.default.CONTINUA:
|
|
4213
|
+
this.avancarEDevolverAnterior();
|
|
4214
|
+
return this.declaracaoContinua();
|
|
4215
|
+
case pitugues_2.default.DOIS_PONTOS:
|
|
4216
|
+
this.avancarEDevolverAnterior();
|
|
4217
|
+
const simboloInicioBloco = this.simboloAnterior();
|
|
4218
|
+
return new declaracoes_1.Bloco(simboloInicioBloco.hashArquivo, Number(simboloInicioBloco.linha), this.blocoEscopo());
|
|
4219
|
+
case pitugues_2.default.ENQUANTO:
|
|
4220
|
+
this.avancarEDevolverAnterior();
|
|
4221
|
+
return this.declaracaoEnquanto();
|
|
4222
|
+
case pitugues_2.default.ESCOLHA:
|
|
4223
|
+
this.avancarEDevolverAnterior();
|
|
4224
|
+
return this.declaracaoEscolha();
|
|
4225
|
+
case pitugues_2.default.IMPRIMA:
|
|
4226
|
+
case pitugues_2.default.ESCREVA:
|
|
4227
|
+
const simboloEscrevaOuImprima = this.avancarEDevolverAnterior();
|
|
4228
|
+
return this.declaracaoEscreva(simboloEscrevaOuImprima);
|
|
4229
|
+
case pitugues_2.default.FALHAR:
|
|
4230
|
+
this.avancarEDevolverAnterior();
|
|
4231
|
+
return this.declaracaoFalhar();
|
|
4232
|
+
case pitugues_2.default.FAZER:
|
|
4233
|
+
this.avancarEDevolverAnterior();
|
|
4234
|
+
return this.declaracaoFazer();
|
|
4235
|
+
case pitugues_2.default.PARA:
|
|
4236
|
+
this.avancarEDevolverAnterior();
|
|
4237
|
+
return this.declaracaoPara();
|
|
4238
|
+
case pitugues_2.default.QUEBRAR:
|
|
4239
|
+
case pitugues_2.default.SUSTAR:
|
|
4240
|
+
this.avancarEDevolverAnterior();
|
|
4241
|
+
return this.declaracaoSustar();
|
|
4242
|
+
case pitugues_2.default.SE:
|
|
4243
|
+
this.avancarEDevolverAnterior();
|
|
4244
|
+
return this.declaracaoSe();
|
|
4245
|
+
case pitugues_2.default.RETORNA:
|
|
4246
|
+
this.avancarEDevolverAnterior();
|
|
4247
|
+
return this.declaracaoRetorna();
|
|
4248
|
+
case pitugues_2.default.TENTE:
|
|
4249
|
+
this.avancarEDevolverAnterior();
|
|
4250
|
+
return this.declaracaoTente();
|
|
4251
|
+
case pitugues_2.default.TEXTO_MULTILINHAS:
|
|
4252
|
+
return this.declaracaoTextoDeDocumentacao();
|
|
4253
|
+
case pitugues_2.default.VARIAVEL:
|
|
4254
|
+
this.avancarEDevolverAnterior();
|
|
4255
|
+
return this.declaracaoDeVariaveis();
|
|
4256
|
+
}
|
|
4257
|
+
return this.declaracaoExpressao();
|
|
4258
|
+
}
|
|
4210
4259
|
/**
|
|
4211
4260
|
* Inicializa o primeiro nível da pilha de escopos, normalmente com ítens da biblioteca global.
|
|
4212
4261
|
* É separada da inicialização do avaliador sintático, pois é necessário manipular essa
|
|
@@ -4252,6 +4301,10 @@ class AvaliadorSintaticoPitugues {
|
|
|
4252
4301
|
this.pilhaEscopos.definirInformacoesVariavel('inteiro', new informacao_elemento_sintatico_1.InformacaoElementoSintatico('inteiro', 'inteiro', true, [
|
|
4253
4302
|
new informacao_elemento_sintatico_1.InformacaoElementoSintatico('valor', 'qualquer'),
|
|
4254
4303
|
]));
|
|
4304
|
+
this.pilhaEscopos.definirInformacoesVariavel('intervalo', new informacao_elemento_sintatico_1.InformacaoElementoSintatico('intervalo', 'inteiro[]', true, [
|
|
4305
|
+
new informacao_elemento_sintatico_1.InformacaoElementoSintatico('valorInicial', 'inteiro'),
|
|
4306
|
+
new informacao_elemento_sintatico_1.InformacaoElementoSintatico('valorFinal', 'inteiro'),
|
|
4307
|
+
]));
|
|
4255
4308
|
this.pilhaEscopos.definirInformacoesVariavel('mapear', new informacao_elemento_sintatico_1.InformacaoElementoSintatico('mapear', 'qualquer[]', true, [
|
|
4256
4309
|
new informacao_elemento_sintatico_1.InformacaoElementoSintatico('vetor', 'qualquer[]'),
|
|
4257
4310
|
new informacao_elemento_sintatico_1.InformacaoElementoSintatico('funcaoMapeamento', 'função'),
|
|
@@ -4306,7 +4359,7 @@ class AvaliadorSintaticoPitugues {
|
|
|
4306
4359
|
this.tiposDefinidosEmCodigo = {};
|
|
4307
4360
|
this.hashArquivo = hashArquivo || 0;
|
|
4308
4361
|
this.simbolos = (retornoLexador === null || retornoLexador === void 0 ? void 0 : retornoLexador.simbolos) || [];
|
|
4309
|
-
this.
|
|
4362
|
+
this.localizacoes = (retornoLexador === null || retornoLexador === void 0 ? void 0 : retornoLexador.pragmas) || {};
|
|
4310
4363
|
let declaracoes = [];
|
|
4311
4364
|
while (!this.estaNoFinal()) {
|
|
4312
4365
|
const retornoDeclaracao = this.resolverDeclaracaoForaDeBloco();
|
|
@@ -4330,7 +4383,7 @@ class AvaliadorSintaticoPitugues {
|
|
|
4330
4383
|
}
|
|
4331
4384
|
exports.AvaliadorSintaticoPitugues = AvaliadorSintaticoPitugues;
|
|
4332
4385
|
|
|
4333
|
-
},{"../../bibliotecas/primitivas-dicionario":20,"../../bibliotecas/primitivas-numero":21,"../../bibliotecas/primitivas-texto":22,"../../bibliotecas/primitivas-vetor":23,"../../construtos":51,"../../declaracoes":96,"../../inferenciador":
|
|
4386
|
+
},{"../../bibliotecas/primitivas-dicionario":20,"../../bibliotecas/primitivas-numero":21,"../../bibliotecas/primitivas-texto":22,"../../bibliotecas/primitivas-vetor":23,"../../construtos":51,"../../declaracoes":96,"../../inferenciador":116,"../../informacao-elemento-sintatico":117,"../../lexador":177,"../../tipos-de-dados/dialetos/pitugues":186,"../../tipos-de-simbolos/pitugues":194,"../comum":3,"../erro-avaliador-sintatico":12,"../informacao-escopo":14,"../pilha-escopos":18,"browser-process-hrtime":371}],7:[function(require,module,exports){
|
|
4334
4387
|
"use strict";
|
|
4335
4388
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4336
4389
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -4504,7 +4557,7 @@ class AvaliadorSintaticoPortugolIpt extends avaliador_sintatico_base_1.Avaliador
|
|
|
4504
4557
|
}
|
|
4505
4558
|
exports.AvaliadorSintaticoPortugolIpt = AvaliadorSintaticoPortugolIpt;
|
|
4506
4559
|
|
|
4507
|
-
},{"../../construtos":51,"../../declaracoes":96,"../../tipos-de-simbolos/portugol-ipt":
|
|
4560
|
+
},{"../../construtos":51,"../../declaracoes":96,"../../tipos-de-simbolos/portugol-ipt":195,"../avaliador-sintatico-base":1}],8:[function(require,module,exports){
|
|
4508
4561
|
"use strict";
|
|
4509
4562
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4510
4563
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -5219,7 +5272,7 @@ class AvaliadorSintaticoPrisma extends avaliador_sintatico_base_1.AvaliadorSinta
|
|
|
5219
5272
|
}
|
|
5220
5273
|
exports.AvaliadorSintaticoPrisma = AvaliadorSintaticoPrisma;
|
|
5221
5274
|
|
|
5222
|
-
},{"../../bibliotecas/primitivas-dicionario":20,"../../bibliotecas/primitivas-numero":21,"../../bibliotecas/primitivas-texto":22,"../../bibliotecas/primitivas-vetor":23,"../../construtos":51,"../../declaracoes":96,"../../inferenciador":
|
|
5275
|
+
},{"../../bibliotecas/primitivas-dicionario":20,"../../bibliotecas/primitivas-numero":21,"../../bibliotecas/primitivas-texto":22,"../../bibliotecas/primitivas-vetor":23,"../../construtos":51,"../../declaracoes":96,"../../inferenciador":116,"../../informacao-elemento-sintatico":117,"../../lexador":177,"../../tipos-de-simbolos/prisma":196,"../avaliador-sintatico-base":1,"../comum":3,"../erro-avaliador-sintatico":12,"../informacao-escopo":14,"../pilha-escopos":18,"browser-process-hrtime":371}],9:[function(require,module,exports){
|
|
5223
5276
|
"use strict";
|
|
5224
5277
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5225
5278
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -6207,7 +6260,7 @@ class AvaliadorSintaticoTenda extends avaliador_sintatico_base_1.AvaliadorSintat
|
|
|
6207
6260
|
}
|
|
6208
6261
|
exports.AvaliadorSintaticoTenda = AvaliadorSintaticoTenda;
|
|
6209
6262
|
|
|
6210
|
-
},{"../../bibliotecas/primitivas-dicionario":20,"../../bibliotecas/primitivas-numero":21,"../../bibliotecas/primitivas-texto":22,"../../bibliotecas/primitivas-vetor":23,"../../construtos":51,"../../construtos/tuplas":68,"../../declaracoes":96,"../../inferenciador":
|
|
6263
|
+
},{"../../bibliotecas/primitivas-dicionario":20,"../../bibliotecas/primitivas-numero":21,"../../bibliotecas/primitivas-texto":22,"../../bibliotecas/primitivas-vetor":23,"../../construtos":51,"../../construtos/tuplas":68,"../../declaracoes":96,"../../inferenciador":116,"../../informacao-elemento-sintatico":117,"../../lexador/simbolo":183,"../../tipos-de-dados/delegua":185,"../../tipos-de-simbolos/tenda":197,"../avaliador-sintatico-base":1,"./../erro-avaliador-sintatico":12,"./../informacao-escopo":14,"./../pilha-escopos":18,"browser-process-hrtime":371}],10:[function(require,module,exports){
|
|
6211
6264
|
"use strict";
|
|
6212
6265
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6213
6266
|
if (k2 === undefined) k2 = k;
|
|
@@ -6412,7 +6465,7 @@ class MicroAvaliadorSintaticoBase {
|
|
|
6412
6465
|
}
|
|
6413
6466
|
exports.MicroAvaliadorSintaticoBase = MicroAvaliadorSintaticoBase;
|
|
6414
6467
|
|
|
6415
|
-
},{"../construtos":51,"../tipos-de-simbolos/comum":
|
|
6468
|
+
},{"../construtos":51,"../tipos-de-simbolos/comum":189,"./erro-avaliador-sintatico":12}],16:[function(require,module,exports){
|
|
6416
6469
|
"use strict";
|
|
6417
6470
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6418
6471
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -6634,7 +6687,7 @@ class MicroAvaliadorSintatico extends micro_avaliador_sintatico_base_1.MicroAval
|
|
|
6634
6687
|
}
|
|
6635
6688
|
exports.MicroAvaliadorSintatico = MicroAvaliadorSintatico;
|
|
6636
6689
|
|
|
6637
|
-
},{"../construtos":51,"../tipos-de-simbolos/microgramaticas/delegua":
|
|
6690
|
+
},{"../construtos":51,"../tipos-de-simbolos/microgramaticas/delegua":193,"./micro-avaliador-sintatico-base":15}],17:[function(require,module,exports){
|
|
6638
6691
|
"use strict";
|
|
6639
6692
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6640
6693
|
exports.MontaoTipos = void 0;
|
|
@@ -6685,7 +6738,7 @@ class MontaoTipos {
|
|
|
6685
6738
|
}
|
|
6686
6739
|
exports.MontaoTipos = MontaoTipos;
|
|
6687
6740
|
|
|
6688
|
-
},{"../geracao-identificadores":
|
|
6741
|
+
},{"../geracao-identificadores":114,"./erro-avaliador-sintatico":12}],18:[function(require,module,exports){
|
|
6689
6742
|
"use strict";
|
|
6690
6743
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6691
6744
|
exports.PilhaEscopos = void 0;
|
|
@@ -6769,6 +6822,7 @@ exports.encontrarUltimoIndice = encontrarUltimoIndice;
|
|
|
6769
6822
|
exports.filtrarPor = filtrarPor;
|
|
6770
6823
|
exports.incluido = incluido;
|
|
6771
6824
|
exports.inteiro = inteiro;
|
|
6825
|
+
exports.intervalo = intervalo;
|
|
6772
6826
|
exports.mapear = mapear;
|
|
6773
6827
|
exports.numero = numero;
|
|
6774
6828
|
exports.ordenar = ordenar;
|
|
@@ -7299,6 +7353,29 @@ async function inteiro(interpretador, valorParaConverter) {
|
|
|
7299
7353
|
const resultadoValidacao = validacaoComumNumeros(interpretador, valor);
|
|
7300
7354
|
return resultadoValidacao || Promise.resolve(parseInt(valor));
|
|
7301
7355
|
}
|
|
7356
|
+
/**
|
|
7357
|
+
* Cria um vetor com números inteiros no intervalo especificado.
|
|
7358
|
+
* O valor inicial é inclusivo e o valor final é exclusivo.
|
|
7359
|
+
* @param {InterpretadorInterface} interpretador A instância do interpretador.
|
|
7360
|
+
* @param {VariavelInterface | number} valorInicial O valor inicial (inclusivo).
|
|
7361
|
+
* @param {VariavelInterface | number} valorFinal O valor final (exclusivo).
|
|
7362
|
+
* @returns {Promise<number[]>} Um vetor com os números no intervalo.
|
|
7363
|
+
*/
|
|
7364
|
+
async function intervalo(interpretador, valorInicial, valorFinal) {
|
|
7365
|
+
const inicio = interpretador.resolverValor(valorInicial);
|
|
7366
|
+
const fim = interpretador.resolverValor(valorFinal);
|
|
7367
|
+
if (typeof inicio !== 'number' || typeof fim !== 'number') {
|
|
7368
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao({
|
|
7369
|
+
hashArquivo: interpretador.hashArquivoDeclaracaoAtual,
|
|
7370
|
+
linha: interpretador.linhaDeclaracaoAtual,
|
|
7371
|
+
}, 'Os dois parâmetros devem ser do tipo número.'));
|
|
7372
|
+
}
|
|
7373
|
+
const resultado = [];
|
|
7374
|
+
for (let i = inicio; i < fim; i++) {
|
|
7375
|
+
resultado.push(i);
|
|
7376
|
+
}
|
|
7377
|
+
return Promise.resolve(resultado);
|
|
7378
|
+
}
|
|
7302
7379
|
/**
|
|
7303
7380
|
* Dado um vetor e uma função de mapeamento, executa a função de mapeamento
|
|
7304
7381
|
* passando como argumento cada elemento do vetor.
|
|
@@ -7649,7 +7726,7 @@ async function tupla(interpretador, vetor) {
|
|
|
7649
7726
|
}
|
|
7650
7727
|
}
|
|
7651
7728
|
|
|
7652
|
-
},{"../construtos":51,"../excecoes":
|
|
7729
|
+
},{"../construtos":51,"../excecoes":110,"../inferenciador":116,"../interpretador/estruturas":151,"../interpretador/estruturas/descritor-tipo-classe":149,"../interpretador/estruturas/funcao-padrao":150,"../interpretador/estruturas/objeto-delegua-classe":154,"../quebras":184}],20:[function(require,module,exports){
|
|
7653
7730
|
"use strict";
|
|
7654
7731
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7655
7732
|
const construtos_1 = require("../construtos");
|
|
@@ -7731,7 +7808,7 @@ exports.default = {
|
|
|
7731
7808
|
}
|
|
7732
7809
|
};
|
|
7733
7810
|
|
|
7734
|
-
},{"../construtos":51,"../informacao-elemento-sintatico":
|
|
7811
|
+
},{"../construtos":51,"../informacao-elemento-sintatico":117}],21:[function(require,module,exports){
|
|
7735
7812
|
"use strict";
|
|
7736
7813
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7737
7814
|
const informacao_elemento_sintatico_1 = require("../informacao-elemento-sintatico");
|
|
@@ -7816,7 +7893,7 @@ exports.default = {
|
|
|
7816
7893
|
},
|
|
7817
7894
|
};
|
|
7818
7895
|
|
|
7819
|
-
},{"../informacao-elemento-sintatico":
|
|
7896
|
+
},{"../informacao-elemento-sintatico":117}],22:[function(require,module,exports){
|
|
7820
7897
|
"use strict";
|
|
7821
7898
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7822
7899
|
const informacao_elemento_sintatico_1 = require("../informacao-elemento-sintatico");
|
|
@@ -8088,7 +8165,7 @@ exports.default = {
|
|
|
8088
8165
|
},
|
|
8089
8166
|
};
|
|
8090
8167
|
|
|
8091
|
-
},{"../informacao-elemento-sintatico":
|
|
8168
|
+
},{"../informacao-elemento-sintatico":117}],23:[function(require,module,exports){
|
|
8092
8169
|
"use strict";
|
|
8093
8170
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8094
8171
|
const informacao_elemento_sintatico_1 = require("../informacao-elemento-sintatico");
|
|
@@ -8463,7 +8540,7 @@ exports.default = {
|
|
|
8463
8540
|
},
|
|
8464
8541
|
};
|
|
8465
8542
|
|
|
8466
|
-
},{"../informacao-elemento-sintatico":
|
|
8543
|
+
},{"../informacao-elemento-sintatico":117}],24:[function(require,module,exports){
|
|
8467
8544
|
"use strict";
|
|
8468
8545
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8469
8546
|
exports.AcessoElementoMatriz = void 0;
|
|
@@ -8849,7 +8926,7 @@ class Chamada {
|
|
|
8849
8926
|
}
|
|
8850
8927
|
exports.Chamada = Chamada;
|
|
8851
8928
|
|
|
8852
|
-
},{"../geracao-identificadores":
|
|
8929
|
+
},{"../geracao-identificadores":114}],36:[function(require,module,exports){
|
|
8853
8930
|
"use strict";
|
|
8854
8931
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8855
8932
|
exports.ComentarioComoConstruto = void 0;
|
|
@@ -9175,6 +9252,7 @@ class FuncaoConstruto {
|
|
|
9175
9252
|
this.corpo = corpo;
|
|
9176
9253
|
this.tipo = tipoRetorno;
|
|
9177
9254
|
this.tipoExplicito = tipoExplicito || false;
|
|
9255
|
+
this.documentacao = documentacao;
|
|
9178
9256
|
}
|
|
9179
9257
|
async aceitar(visitante) {
|
|
9180
9258
|
return Promise.resolve(visitante.visitarExpressaoFuncaoConstruto(this));
|
|
@@ -9283,10 +9361,10 @@ __exportStar(require("./vetor"), exports);
|
|
|
9283
9361
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9284
9362
|
exports.Isto = void 0;
|
|
9285
9363
|
class Isto {
|
|
9286
|
-
constructor(hashArquivo, linha,
|
|
9364
|
+
constructor(hashArquivo, linha, simboloChave) {
|
|
9287
9365
|
this.linha = linha;
|
|
9288
9366
|
this.hashArquivo = hashArquivo;
|
|
9289
|
-
this.
|
|
9367
|
+
this.simboloChave = simboloChave;
|
|
9290
9368
|
}
|
|
9291
9369
|
async aceitar(visitante) {
|
|
9292
9370
|
return Promise.resolve(visitante.visitarExpressaoIsto(this));
|
|
@@ -9329,7 +9407,7 @@ class Leia {
|
|
|
9329
9407
|
}
|
|
9330
9408
|
exports.Leia = Leia;
|
|
9331
9409
|
|
|
9332
|
-
},{"../geracao-identificadores":
|
|
9410
|
+
},{"../geracao-identificadores":114}],54:[function(require,module,exports){
|
|
9333
9411
|
"use strict";
|
|
9334
9412
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9335
9413
|
exports.ListaCompreensao = void 0;
|
|
@@ -10439,7 +10517,7 @@ class FuncaoDeclaracao extends declaracao_1.Declaracao {
|
|
|
10439
10517
|
}
|
|
10440
10518
|
exports.FuncaoDeclaracao = FuncaoDeclaracao;
|
|
10441
10519
|
|
|
10442
|
-
},{"../geracao-identificadores":
|
|
10520
|
+
},{"../geracao-identificadores":114,"./declaracao":86}],95:[function(require,module,exports){
|
|
10443
10521
|
"use strict";
|
|
10444
10522
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10445
10523
|
exports.Importar = void 0;
|
|
@@ -10509,10 +10587,11 @@ __exportStar(require("./se"), exports);
|
|
|
10509
10587
|
__exportStar(require("./sustar"), exports);
|
|
10510
10588
|
__exportStar(require("./tendo-como"), exports);
|
|
10511
10589
|
__exportStar(require("./tente"), exports);
|
|
10590
|
+
__exportStar(require("./texto-documentacao"), exports);
|
|
10512
10591
|
__exportStar(require("./var"), exports);
|
|
10513
10592
|
__exportStar(require("./var-multiplo"), exports);
|
|
10514
10593
|
|
|
10515
|
-
},{"./bloco":79,"./cabecalho-programa":80,"./classe":81,"./comentario":82,"./const":84,"./const-multiplo":83,"./continua":85,"./declaracao":86,"./enquanto":87,"./escolha":88,"./escreva":90,"./escreva-mesma-linha":89,"./expressao":91,"./falhar":92,"./fazer":93,"./funcao":94,"./importar":95,"./inicio-algoritmo":97,"./para":99,"./para-cada":98,"./propriedade-classe":100,"./retorna":101,"./se":102,"./sustar":103,"./tendo-como":104,"./tente":105,"./var":
|
|
10594
|
+
},{"./bloco":79,"./cabecalho-programa":80,"./classe":81,"./comentario":82,"./const":84,"./const-multiplo":83,"./continua":85,"./declaracao":86,"./enquanto":87,"./escolha":88,"./escreva":90,"./escreva-mesma-linha":89,"./expressao":91,"./falhar":92,"./fazer":93,"./funcao":94,"./importar":95,"./inicio-algoritmo":97,"./para":99,"./para-cada":98,"./propriedade-classe":100,"./retorna":101,"./se":102,"./sustar":103,"./tendo-como":104,"./tente":105,"./texto-documentacao":106,"./var":108,"./var-multiplo":107}],97:[function(require,module,exports){
|
|
10516
10595
|
"use strict";
|
|
10517
10596
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10518
10597
|
exports.InicioAlgoritmo = void 0;
|
|
@@ -10736,6 +10815,28 @@ exports.Tente = Tente;
|
|
|
10736
10815
|
},{"./declaracao":86}],106:[function(require,module,exports){
|
|
10737
10816
|
"use strict";
|
|
10738
10817
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10818
|
+
exports.TextoDocumentacao = void 0;
|
|
10819
|
+
const declaracao_1 = require("./declaracao");
|
|
10820
|
+
/**
|
|
10821
|
+
* Texto de documentação.
|
|
10822
|
+
*/
|
|
10823
|
+
class TextoDocumentacao extends declaracao_1.Declaracao {
|
|
10824
|
+
constructor(hashArquivo, linha, conteudo) {
|
|
10825
|
+
super(linha, hashArquivo);
|
|
10826
|
+
this.conteudo = conteudo;
|
|
10827
|
+
}
|
|
10828
|
+
async aceitar(visitante) {
|
|
10829
|
+
return await visitante.visitarDeclaracaoTextoDocumentacao(this);
|
|
10830
|
+
}
|
|
10831
|
+
paraTexto() {
|
|
10832
|
+
return `<texto-documentação conteúdo=${this.conteudo} />`;
|
|
10833
|
+
}
|
|
10834
|
+
}
|
|
10835
|
+
exports.TextoDocumentacao = TextoDocumentacao;
|
|
10836
|
+
|
|
10837
|
+
},{"./declaracao":86}],107:[function(require,module,exports){
|
|
10838
|
+
"use strict";
|
|
10839
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10739
10840
|
exports.VarMultiplo = void 0;
|
|
10740
10841
|
const declaracao_1 = require("./declaracao");
|
|
10741
10842
|
/**
|
|
@@ -10759,7 +10860,7 @@ class VarMultiplo extends declaracao_1.Declaracao {
|
|
|
10759
10860
|
}
|
|
10760
10861
|
exports.VarMultiplo = VarMultiplo;
|
|
10761
10862
|
|
|
10762
|
-
},{"./declaracao":86}],
|
|
10863
|
+
},{"./declaracao":86}],108:[function(require,module,exports){
|
|
10763
10864
|
"use strict";
|
|
10764
10865
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10765
10866
|
exports.Var = void 0;
|
|
@@ -10791,7 +10892,7 @@ class Var extends declaracao_1.Declaracao {
|
|
|
10791
10892
|
}
|
|
10792
10893
|
exports.Var = Var;
|
|
10793
10894
|
|
|
10794
|
-
},{"./declaracao":86}],
|
|
10895
|
+
},{"./declaracao":86}],109:[function(require,module,exports){
|
|
10795
10896
|
"use strict";
|
|
10796
10897
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10797
10898
|
exports.ErroEmTempoDeExecucao = void 0;
|
|
@@ -10806,7 +10907,7 @@ class ErroEmTempoDeExecucao extends Error {
|
|
|
10806
10907
|
}
|
|
10807
10908
|
exports.ErroEmTempoDeExecucao = ErroEmTempoDeExecucao;
|
|
10808
10909
|
|
|
10809
|
-
},{}],
|
|
10910
|
+
},{}],110:[function(require,module,exports){
|
|
10810
10911
|
"use strict";
|
|
10811
10912
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10812
10913
|
if (k2 === undefined) k2 = k;
|
|
@@ -10825,7 +10926,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10825
10926
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10826
10927
|
__exportStar(require("./erro-em-tempo-de-execucao"), exports);
|
|
10827
10928
|
|
|
10828
|
-
},{"./erro-em-tempo-de-execucao":
|
|
10929
|
+
},{"./erro-em-tempo-de-execucao":109}],111:[function(require,module,exports){
|
|
10829
10930
|
"use strict";
|
|
10830
10931
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10831
10932
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10848,6 +10949,9 @@ class FormatadorDelegua {
|
|
|
10848
10949
|
this.devePularLinha = true;
|
|
10849
10950
|
this.deveIndentar = true;
|
|
10850
10951
|
}
|
|
10952
|
+
visitarDeclaracaoTextoDocumentacao(declaracao) {
|
|
10953
|
+
throw new Error('Método não implementado.');
|
|
10954
|
+
}
|
|
10851
10955
|
visitarExpressaoSeparador(expressao) {
|
|
10852
10956
|
throw new Error('Método não implementado.');
|
|
10853
10957
|
}
|
|
@@ -11566,243 +11670,406 @@ class FormatadorDelegua {
|
|
|
11566
11670
|
}
|
|
11567
11671
|
exports.FormatadorDelegua = FormatadorDelegua;
|
|
11568
11672
|
|
|
11569
|
-
},{"../construtos":51,"../declaracoes":96,"../tipos-de-simbolos/delegua":
|
|
11673
|
+
},{"../construtos":51,"../declaracoes":96,"../tipos-de-simbolos/delegua":190}],112:[function(require,module,exports){
|
|
11570
11674
|
"use strict";
|
|
11675
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11676
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
11677
|
+
};
|
|
11571
11678
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11572
11679
|
exports.FormatadorPitugues = void 0;
|
|
11680
|
+
const construtos_1 = require("../construtos");
|
|
11681
|
+
const declaracoes_1 = require("../declaracoes");
|
|
11682
|
+
const pitugues_1 = __importDefault(require("../tipos-de-simbolos/pitugues"));
|
|
11573
11683
|
class FormatadorPitugues {
|
|
11574
|
-
|
|
11575
|
-
|
|
11576
|
-
|
|
11577
|
-
|
|
11578
|
-
|
|
11579
|
-
|
|
11580
|
-
|
|
11581
|
-
|
|
11582
|
-
|
|
11583
|
-
|
|
11584
|
-
|
|
11585
|
-
}
|
|
11586
|
-
|
|
11587
|
-
|
|
11588
|
-
|
|
11589
|
-
|
|
11590
|
-
|
|
11591
|
-
|
|
11592
|
-
|
|
11593
|
-
}
|
|
11594
|
-
|
|
11595
|
-
|
|
11596
|
-
|
|
11597
|
-
}
|
|
11598
|
-
|
|
11599
|
-
|
|
11600
|
-
|
|
11601
|
-
}
|
|
11602
|
-
|
|
11603
|
-
|
|
11604
|
-
|
|
11605
|
-
}
|
|
11606
|
-
|
|
11607
|
-
|
|
11608
|
-
|
|
11609
|
-
}
|
|
11610
|
-
|
|
11611
|
-
visitarDeclaracaoDeExpressao(declaracao) {
|
|
11612
|
-
|
|
11613
|
-
|
|
11614
|
-
|
|
11615
|
-
|
|
11616
|
-
|
|
11617
|
-
|
|
11618
|
-
|
|
11619
|
-
|
|
11620
|
-
|
|
11621
|
-
|
|
11622
|
-
|
|
11623
|
-
|
|
11624
|
-
|
|
11625
|
-
|
|
11626
|
-
|
|
11627
|
-
|
|
11628
|
-
|
|
11629
|
-
|
|
11630
|
-
|
|
11631
|
-
|
|
11632
|
-
|
|
11633
|
-
|
|
11634
|
-
|
|
11635
|
-
|
|
11636
|
-
|
|
11637
|
-
|
|
11638
|
-
|
|
11639
|
-
|
|
11640
|
-
|
|
11641
|
-
|
|
11642
|
-
|
|
11643
|
-
|
|
11644
|
-
|
|
11645
|
-
|
|
11646
|
-
|
|
11647
|
-
|
|
11648
|
-
|
|
11649
|
-
}
|
|
11650
|
-
|
|
11651
|
-
|
|
11652
|
-
|
|
11653
|
-
|
|
11654
|
-
|
|
11655
|
-
|
|
11656
|
-
|
|
11657
|
-
|
|
11658
|
-
|
|
11659
|
-
|
|
11660
|
-
|
|
11661
|
-
|
|
11662
|
-
|
|
11663
|
-
|
|
11664
|
-
|
|
11665
|
-
|
|
11666
|
-
|
|
11667
|
-
|
|
11668
|
-
|
|
11669
|
-
}
|
|
11670
|
-
|
|
11671
|
-
|
|
11672
|
-
|
|
11673
|
-
|
|
11674
|
-
|
|
11675
|
-
|
|
11676
|
-
|
|
11677
|
-
|
|
11678
|
-
|
|
11679
|
-
visitarExpressaoAcessoIndiceVariavel(expressao) {
|
|
11680
|
-
throw new Error('Método não implementado.');
|
|
11681
|
-
}
|
|
11682
|
-
/* istanbul ignore next */
|
|
11683
|
-
visitarExpressaoAcessoElementoMatriz(expressao) {
|
|
11684
|
-
throw new Error('Método não implementado.');
|
|
11685
|
-
}
|
|
11686
|
-
/* istanbul ignore next */
|
|
11687
|
-
visitarExpressaoAcessoMetodo(expressao) {
|
|
11688
|
-
throw new Error('Método não implementado.');
|
|
11689
|
-
}
|
|
11690
|
-
/* istanbul ignore next */
|
|
11691
|
-
visitarExpressaoAcessoMetodoOuPropriedade(expressao) {
|
|
11692
|
-
throw new Error('Método não implementado.');
|
|
11693
|
-
}
|
|
11694
|
-
/* istanbul ignore next */
|
|
11695
|
-
visitarExpressaoAcessoPropriedade(expressao) {
|
|
11696
|
-
throw new Error('Método não implementado.');
|
|
11697
|
-
}
|
|
11698
|
-
/* istanbul ignore next */
|
|
11699
|
-
visitarExpressaoAgrupamento(expressao) {
|
|
11700
|
-
throw new Error('Método não implementado.');
|
|
11701
|
-
}
|
|
11702
|
-
/* istanbul ignore next */
|
|
11703
|
-
visitarExpressaoAtribuicaoPorIndice(expressao) {
|
|
11704
|
-
throw new Error('Método não implementado.');
|
|
11705
|
-
}
|
|
11706
|
-
/* istanbul ignore next */
|
|
11707
|
-
visitarExpressaoAtribuicaoPorIndicesMatriz(expressao) {
|
|
11708
|
-
throw new Error('Método não implementado.');
|
|
11709
|
-
}
|
|
11710
|
-
/* istanbul ignore next */
|
|
11711
|
-
visitarExpressaoBinaria(expressao) {
|
|
11712
|
-
throw new Error('Método não implementado.');
|
|
11713
|
-
}
|
|
11714
|
-
/* istanbul ignore next */
|
|
11715
|
-
visitarExpressaoBloco(declaracao) {
|
|
11716
|
-
throw new Error('Método não implementado.');
|
|
11717
|
-
}
|
|
11718
|
-
/* istanbul ignore next */
|
|
11719
|
-
visitarExpressaoContinua(declaracao) {
|
|
11720
|
-
throw new Error('Método não implementado.');
|
|
11721
|
-
}
|
|
11722
|
-
/* istanbul ignore next */
|
|
11723
|
-
visitarExpressaoDeChamada(expressao) {
|
|
11724
|
-
throw new Error('Método não implementado.');
|
|
11725
|
-
}
|
|
11726
|
-
/* istanbul ignore next */
|
|
11727
|
-
visitarExpressaoDefinirValor(expressao) {
|
|
11728
|
-
throw new Error('Método não implementado.');
|
|
11729
|
-
}
|
|
11730
|
-
/* istanbul ignore next */
|
|
11731
|
-
visitarExpressaoFuncaoConstruto(expressao) {
|
|
11732
|
-
throw new Error('Método não implementado.');
|
|
11733
|
-
}
|
|
11734
|
-
/* istanbul ignore next */
|
|
11735
|
-
visitarExpressaoDeVariavel(expressao) {
|
|
11736
|
-
throw new Error('Método não implementado.');
|
|
11684
|
+
constructor() {
|
|
11685
|
+
this.nívelIndentação = 0;
|
|
11686
|
+
this.tamanhoIndentação = 4;
|
|
11687
|
+
this.códigoFormatado = '';
|
|
11688
|
+
this.quebraLinha = '\n';
|
|
11689
|
+
}
|
|
11690
|
+
indentar() {
|
|
11691
|
+
return ' '.repeat(this.nívelIndentação);
|
|
11692
|
+
}
|
|
11693
|
+
adicionarLinha(texto = '') {
|
|
11694
|
+
this.códigoFormatado += this.indentar() + texto + this.quebraLinha;
|
|
11695
|
+
}
|
|
11696
|
+
aumentarIndentação() {
|
|
11697
|
+
this.nívelIndentação += this.tamanhoIndentação;
|
|
11698
|
+
}
|
|
11699
|
+
diminuirIndentação() {
|
|
11700
|
+
this.nívelIndentação -= this.tamanhoIndentação;
|
|
11701
|
+
}
|
|
11702
|
+
// Métodos obrigatórios da interface, não usados no Pituguês.
|
|
11703
|
+
visitarDeclaracaoCabecalhoPrograma() { return Promise.resolve(); }
|
|
11704
|
+
visitarDeclaracaoConstMultiplo() { return Promise.resolve(); }
|
|
11705
|
+
visitarDeclaracaoEscrevaMesmaLinha() { return Promise.resolve(); }
|
|
11706
|
+
visitarDeclaracaoInicioAlgoritmo() { return Promise.resolve(); }
|
|
11707
|
+
visitarDeclaracaoTendoComo() { return Promise.resolve(); }
|
|
11708
|
+
visitarDeclaracaoVarMultiplo() { return Promise.resolve(); }
|
|
11709
|
+
visitarExpressaoAcessoElementoMatriz() { return Promise.resolve(); }
|
|
11710
|
+
visitarExpressaoAcessoMetodo() { return Promise.resolve(); }
|
|
11711
|
+
visitarExpressaoAcessoPropriedade() { return Promise.resolve(); }
|
|
11712
|
+
visitarExpressaoArgumentoReferenciaFuncao() { return Promise.resolve(); }
|
|
11713
|
+
visitarExpressaoAtribuicaoPorIndicesMatriz() { return Promise.resolve(); }
|
|
11714
|
+
visitarExpressaoComentario() { return Promise.resolve(); }
|
|
11715
|
+
visitarExpressaoExpressaoRegular() { return Promise.resolve(); }
|
|
11716
|
+
visitarExpressaoFimPara() { return Promise.resolve(); }
|
|
11717
|
+
visitarExpressaoFormatacaoEscrita() { return Promise.resolve(); }
|
|
11718
|
+
visitarExpressaoReferenciaFuncao() { return Promise.resolve(); }
|
|
11719
|
+
visitarExpressaoSeparador() { return Promise.resolve(); }
|
|
11720
|
+
visitarExpressaoTupla() { return Promise.resolve(); }
|
|
11721
|
+
async visitarDeclaracaoDeExpressao(declaracao) {
|
|
11722
|
+
this.códigoFormatado += this.indentar();
|
|
11723
|
+
this.códigoFormatado += await declaracao.expressao.aceitar(this) + `\n`;
|
|
11724
|
+
}
|
|
11725
|
+
async visitarDeclaracaoClasse(declaração) {
|
|
11726
|
+
this.adicionarLinha(`classe ${declaração.simbolo.lexema}:`);
|
|
11727
|
+
this.aumentarIndentação();
|
|
11728
|
+
// Atributos
|
|
11729
|
+
for (const atributo of declaração.propriedades || []) {
|
|
11730
|
+
const tipo = atributo.tipo ? `: ${atributo.tipo}` : '';
|
|
11731
|
+
this.adicionarLinha(`${atributo.nome.lexema}${tipo}`);
|
|
11732
|
+
}
|
|
11733
|
+
// Métodos
|
|
11734
|
+
for (const método of declaração.metodos || []) {
|
|
11735
|
+
const nome = método.simbolo.lexema;
|
|
11736
|
+
const éConstrutor = nome === 'construtor';
|
|
11737
|
+
const parâmetros = método.funcao.parametros;
|
|
11738
|
+
this.códigoFormatado += this.indentar();
|
|
11739
|
+
this.códigoFormatado += `${éConstrutor ? 'construtor' : `função ${nome}`}(`;
|
|
11740
|
+
if (parâmetros.length > 0) {
|
|
11741
|
+
for (let i = 0; i < parâmetros.length; i++) {
|
|
11742
|
+
const p = parâmetros[i];
|
|
11743
|
+
const tipo = p.tipoDado ? `: ${p.tipoDado}` : '';
|
|
11744
|
+
this.códigoFormatado += `${p.nome.lexema}${tipo}`;
|
|
11745
|
+
this.códigoFormatado += ', ';
|
|
11746
|
+
}
|
|
11747
|
+
if (parâmetros.length > 1) {
|
|
11748
|
+
this.códigoFormatado = this.códigoFormatado.slice(0, -2);
|
|
11749
|
+
}
|
|
11750
|
+
}
|
|
11751
|
+
this.códigoFormatado += '):\n';
|
|
11752
|
+
this.aumentarIndentação();
|
|
11753
|
+
for (const instrução of método.funcao.corpo) {
|
|
11754
|
+
await instrução.aceitar(this);
|
|
11755
|
+
}
|
|
11756
|
+
this.diminuirIndentação();
|
|
11757
|
+
}
|
|
11758
|
+
this.diminuirIndentação();
|
|
11759
|
+
}
|
|
11760
|
+
async visitarDeclaracaoDefinicaoFuncao(declaração) {
|
|
11761
|
+
const parâmetros = declaração.funcao.parametros;
|
|
11762
|
+
this.códigoFormatado += this.indentar() + `função ${declaração.simbolo.lexema}(`;
|
|
11763
|
+
for (let i = 0; i < parâmetros.length; i++) {
|
|
11764
|
+
const p = parâmetros[i];
|
|
11765
|
+
const tipo = p.tipoDado ? `: ${p.tipoDado}` : '';
|
|
11766
|
+
this.códigoFormatado += `${p.nome.lexema}${tipo}`;
|
|
11767
|
+
if (i < parâmetros.length - 1)
|
|
11768
|
+
this.códigoFormatado += ', ';
|
|
11769
|
+
}
|
|
11770
|
+
this.códigoFormatado += '):\n';
|
|
11771
|
+
this.aumentarIndentação();
|
|
11772
|
+
for (const instrução of declaração.funcao.corpo) {
|
|
11773
|
+
await instrução.aceitar(this);
|
|
11774
|
+
}
|
|
11775
|
+
this.diminuirIndentação();
|
|
11776
|
+
}
|
|
11777
|
+
visitarDeclaracaoTextoDocumentacao(declaracao) {
|
|
11778
|
+
this.códigoFormatado += `'''${declaracao.conteudo}'''`;
|
|
11779
|
+
}
|
|
11780
|
+
async visitarDeclaracaoVar(declaração) {
|
|
11781
|
+
this.códigoFormatado += this.indentar() + `var ${declaração.simbolo.lexema} = `;
|
|
11782
|
+
if (declaração.inicializador) {
|
|
11783
|
+
this.códigoFormatado += await declaração.inicializador.aceitar(this);
|
|
11784
|
+
}
|
|
11785
|
+
else {
|
|
11786
|
+
this.códigoFormatado += 'nulo';
|
|
11787
|
+
}
|
|
11788
|
+
this.códigoFormatado += `\n`;
|
|
11737
11789
|
}
|
|
11738
|
-
|
|
11739
|
-
|
|
11740
|
-
throw new Error('Método não implementado.');
|
|
11790
|
+
async visitarDeclaracaoConst(declaração) {
|
|
11791
|
+
return Promise.resolve();
|
|
11741
11792
|
}
|
|
11742
|
-
|
|
11743
|
-
|
|
11744
|
-
|
|
11793
|
+
async visitarDeclaracaoSe(declaração) {
|
|
11794
|
+
this.adicionarLinha(`se ${await declaração.condicao.aceitar(this)}:`);
|
|
11795
|
+
this.aumentarIndentação();
|
|
11796
|
+
for (const instrução of declaração.caminhoEntao.declaracoes) {
|
|
11797
|
+
await instrução.aceitar(this);
|
|
11798
|
+
}
|
|
11799
|
+
this.diminuirIndentação();
|
|
11800
|
+
if (declaração.caminhoSenao) {
|
|
11801
|
+
this.adicionarLinha('senão:');
|
|
11802
|
+
this.aumentarIndentação();
|
|
11803
|
+
if (declaração.caminhoSenao instanceof declaracoes_1.Bloco) {
|
|
11804
|
+
for (const instrução of declaração.caminhoSenao.declaracoes) {
|
|
11805
|
+
await instrução.aceitar(this);
|
|
11806
|
+
}
|
|
11807
|
+
}
|
|
11808
|
+
else {
|
|
11809
|
+
await declaração.caminhoSenao.aceitar(this);
|
|
11810
|
+
}
|
|
11811
|
+
this.diminuirIndentação();
|
|
11812
|
+
}
|
|
11745
11813
|
}
|
|
11746
|
-
|
|
11747
|
-
|
|
11748
|
-
|
|
11814
|
+
async visitarDeclaracaoEnquanto(declaração) {
|
|
11815
|
+
this.adicionarLinha(`enquanto ${await declaração.condicao.aceitar(this)}:`);
|
|
11816
|
+
this.aumentarIndentação();
|
|
11817
|
+
for (const instrução of declaração.corpo.declaracoes) {
|
|
11818
|
+
await instrução.aceitar(this);
|
|
11819
|
+
}
|
|
11820
|
+
this.diminuirIndentação();
|
|
11749
11821
|
}
|
|
11750
|
-
|
|
11751
|
-
|
|
11752
|
-
|
|
11822
|
+
async visitarDeclaracaoEscolha(declaração) {
|
|
11823
|
+
var _a, _b;
|
|
11824
|
+
const valor = await declaração.identificadorOuLiteral.aceitar(this);
|
|
11825
|
+
this.adicionarLinha(`escolha ${valor}:`);
|
|
11826
|
+
this.aumentarIndentação();
|
|
11827
|
+
for (const caminho of declaração.caminhos) {
|
|
11828
|
+
for (const condição of caminho.condicoes) {
|
|
11829
|
+
this.adicionarLinha(`caso ${await condição.aceitar(this)}:`);
|
|
11830
|
+
this.aumentarIndentação();
|
|
11831
|
+
for (const instrução of caminho.declaracoes) {
|
|
11832
|
+
await instrução.aceitar(this);
|
|
11833
|
+
}
|
|
11834
|
+
this.diminuirIndentação();
|
|
11835
|
+
}
|
|
11836
|
+
}
|
|
11837
|
+
if ((_b = (_a = declaração.caminhoPadrao) === null || _a === void 0 ? void 0 : _a.declaracoes) === null || _b === void 0 ? void 0 : _b.length) {
|
|
11838
|
+
this.adicionarLinha('padrão:');
|
|
11839
|
+
this.aumentarIndentação();
|
|
11840
|
+
for (const instrução of declaração.caminhoPadrao.declaracoes) {
|
|
11841
|
+
await instrução.aceitar(this);
|
|
11842
|
+
}
|
|
11843
|
+
this.diminuirIndentação();
|
|
11844
|
+
}
|
|
11845
|
+
this.diminuirIndentação();
|
|
11753
11846
|
}
|
|
11754
|
-
|
|
11755
|
-
|
|
11756
|
-
|
|
11847
|
+
async visitarDeclaracaoFazer(declaração) {
|
|
11848
|
+
this.adicionarLinha('fazer:');
|
|
11849
|
+
this.aumentarIndentação();
|
|
11850
|
+
for (const instrução of declaração.caminhoFazer.declaracoes) {
|
|
11851
|
+
await instrução.aceitar(this);
|
|
11852
|
+
}
|
|
11853
|
+
this.diminuirIndentação();
|
|
11854
|
+
this.adicionarLinha(`enquanto ${await declaração.condicaoEnquanto.aceitar(this)}`);
|
|
11757
11855
|
}
|
|
11758
|
-
|
|
11759
|
-
|
|
11760
|
-
|
|
11856
|
+
async visitarDeclaracaoParaCada(declaração) {
|
|
11857
|
+
const variavelIteracao = await declaração.variavelIteracao.aceitar(this);
|
|
11858
|
+
const vetorOuDicionario = await declaração.vetorOuDicionario.aceitar(this);
|
|
11859
|
+
this.adicionarLinha(`para cada ${variavelIteracao} de ${vetorOuDicionario}:`);
|
|
11860
|
+
this.aumentarIndentação();
|
|
11861
|
+
for (const instrução of declaração.corpo.declaracoes) {
|
|
11862
|
+
await instrução.aceitar(this);
|
|
11863
|
+
}
|
|
11864
|
+
this.diminuirIndentação();
|
|
11761
11865
|
}
|
|
11762
|
-
|
|
11763
|
-
|
|
11764
|
-
throw new Error('Método não implementado.');
|
|
11866
|
+
async visitarDeclaracaoPara(declaração) {
|
|
11867
|
+
return Promise.resolve();
|
|
11765
11868
|
}
|
|
11766
|
-
|
|
11767
|
-
|
|
11768
|
-
|
|
11869
|
+
async visitarDeclaracaoTente(declaração) {
|
|
11870
|
+
this.adicionarLinha('tente:');
|
|
11871
|
+
this.aumentarIndentação();
|
|
11872
|
+
for (const instrução of declaração.caminhoTente)
|
|
11873
|
+
await instrução.aceitar(this);
|
|
11874
|
+
this.diminuirIndentação();
|
|
11875
|
+
if (declaração.caminhoPegue) {
|
|
11876
|
+
this.adicionarLinha('pegue como erro:');
|
|
11877
|
+
this.aumentarIndentação();
|
|
11878
|
+
const declaracoes = declaração.caminhoPegue instanceof construtos_1.FuncaoConstruto ? declaração.caminhoPegue.corpo : declaração.caminhoPegue;
|
|
11879
|
+
for (const instrução of declaracoes) {
|
|
11880
|
+
await instrução.aceitar(this);
|
|
11881
|
+
}
|
|
11882
|
+
this.diminuirIndentação();
|
|
11883
|
+
}
|
|
11884
|
+
if (declaração.caminhoFinalmente) {
|
|
11885
|
+
this.adicionarLinha('finalmente:');
|
|
11886
|
+
this.aumentarIndentação();
|
|
11887
|
+
for (const instrução of declaração.caminhoFinalmente)
|
|
11888
|
+
await instrução.aceitar(this);
|
|
11889
|
+
this.diminuirIndentação();
|
|
11890
|
+
}
|
|
11891
|
+
}
|
|
11892
|
+
async visitarDeclaracaoEscreva(declaração) {
|
|
11893
|
+
this.códigoFormatado += this.indentar() + `${declaração.simboloEscreva ? declaração.simboloEscreva.lexema : 'imprima'}(`;
|
|
11894
|
+
for (let i = 0; i < declaração.argumentos.length; i++) {
|
|
11895
|
+
this.códigoFormatado += await declaração.argumentos[i].aceitar(this);
|
|
11896
|
+
if (i < declaração.argumentos.length - 1)
|
|
11897
|
+
this.códigoFormatado += ', ';
|
|
11898
|
+
}
|
|
11899
|
+
this.códigoFormatado += `)${this.quebraLinha}`;
|
|
11900
|
+
}
|
|
11901
|
+
async visitarDeclaracaoImportar(declaração) {
|
|
11902
|
+
const caminho = await declaração.caminho.aceitar(this);
|
|
11903
|
+
this.adicionarLinha(`importar "${caminho.replace(/'/g, '')}"`);
|
|
11904
|
+
}
|
|
11905
|
+
async visitarDeclaracaoComentario(declaração) {
|
|
11906
|
+
this.adicionarLinha(`# ${declaração.conteudo}`);
|
|
11907
|
+
}
|
|
11908
|
+
// ================================================================
|
|
11909
|
+
// Expressões
|
|
11910
|
+
// ================================================================
|
|
11911
|
+
async visitarExpressaoBloco(declaração) {
|
|
11912
|
+
for (const instrução of declaração.declaracoes) {
|
|
11913
|
+
await instrução.aceitar(this);
|
|
11914
|
+
}
|
|
11915
|
+
}
|
|
11916
|
+
async visitarExpressaoRetornar(declaração) {
|
|
11917
|
+
if (declaração.valor) {
|
|
11918
|
+
return `retorna ${await declaração.valor.aceitar(this)}`;
|
|
11919
|
+
}
|
|
11920
|
+
else {
|
|
11921
|
+
return 'retorna';
|
|
11922
|
+
}
|
|
11769
11923
|
}
|
|
11770
|
-
|
|
11771
|
-
|
|
11772
|
-
throw new Error('Método não implementado.');
|
|
11924
|
+
visitarExpressaoContinua() {
|
|
11925
|
+
this.adicionarLinha('continue');
|
|
11773
11926
|
}
|
|
11774
|
-
|
|
11775
|
-
|
|
11776
|
-
throw new Error('Método não implementado.');
|
|
11927
|
+
visitarExpressaoSustar() {
|
|
11928
|
+
this.adicionarLinha('sustar');
|
|
11777
11929
|
}
|
|
11778
|
-
|
|
11779
|
-
|
|
11780
|
-
|
|
11930
|
+
async visitarExpressaoFalhar(expressão) {
|
|
11931
|
+
const mensagem = expressão.explicacao ? await expressão.explicacao.aceitar(this) : '"Erro"';
|
|
11932
|
+
this.adicionarLinha(`levante Erro(${mensagem})`);
|
|
11781
11933
|
}
|
|
11782
|
-
|
|
11783
|
-
|
|
11784
|
-
throw new Error('Método não implementado.');
|
|
11934
|
+
async visitarExpressaoDeAtribuicao(expressão) {
|
|
11935
|
+
return `${await expressão.alvo.aceitar(this)} = ${await expressão.valor.aceitar(this)}`;
|
|
11785
11936
|
}
|
|
11786
|
-
|
|
11787
|
-
|
|
11788
|
-
|
|
11937
|
+
async visitarExpressaoBinaria(expressão) {
|
|
11938
|
+
const esquerda = await expressão.esquerda.aceitar(this);
|
|
11939
|
+
const direita = await expressão.direita.aceitar(this);
|
|
11940
|
+
const operador = this.mapearOperador(expressão.operador.tipo);
|
|
11941
|
+
return `${esquerda} ${operador} ${direita}`;
|
|
11789
11942
|
}
|
|
11790
|
-
|
|
11791
|
-
|
|
11792
|
-
|
|
11943
|
+
async visitarExpressaoLogica(expressão) {
|
|
11944
|
+
const esquerda = await expressão.esquerda.aceitar(this);
|
|
11945
|
+
const direita = await expressão.direita.aceitar(this);
|
|
11946
|
+
const operador = expressão.operador.tipo === pitugues_1.default.E ? 'e' : 'ou';
|
|
11947
|
+
return `${esquerda} ${operador} ${direita}`;
|
|
11793
11948
|
}
|
|
11794
|
-
|
|
11795
|
-
|
|
11796
|
-
|
|
11949
|
+
async visitarExpressaoLiteral(expressão) {
|
|
11950
|
+
if (expressão.valor === null)
|
|
11951
|
+
return 'nulo';
|
|
11952
|
+
if (expressão.valor === true)
|
|
11953
|
+
return 'verdadeiro';
|
|
11954
|
+
if (expressão.valor === false)
|
|
11955
|
+
return 'falso';
|
|
11956
|
+
if (typeof expressão.valor === 'string') {
|
|
11957
|
+
return `'${expressão.valor.replace(/'/g, "\\'")}'`;
|
|
11958
|
+
}
|
|
11959
|
+
return String(expressão.valor);
|
|
11960
|
+
}
|
|
11961
|
+
async visitarExpressaoDeVariavel(expressão) {
|
|
11962
|
+
return expressão.simbolo.lexema;
|
|
11963
|
+
}
|
|
11964
|
+
async visitarExpressaoAgrupamento(expressão) {
|
|
11965
|
+
return `(${await expressão.expressao.aceitar(this)})`;
|
|
11966
|
+
}
|
|
11967
|
+
async visitarExpressaoUnaria(expressão) {
|
|
11968
|
+
const operador = expressão.operador.tipo === pitugues_1.default.SUBTRACAO ? '-'
|
|
11969
|
+
: expressão.operador.tipo === pitugues_1.default.NEGACAO ? 'não '
|
|
11970
|
+
: '';
|
|
11971
|
+
const operando = await expressão.operando.aceitar(this);
|
|
11972
|
+
return expressão.incidenciaOperador === 'ANTES'
|
|
11973
|
+
? `${operador}${operando}`
|
|
11974
|
+
: `${operando}${operador}`;
|
|
11975
|
+
}
|
|
11976
|
+
async visitarExpressaoDeChamada(expressão) {
|
|
11977
|
+
const função = await expressão.entidadeChamada.aceitar(this);
|
|
11978
|
+
const argumentos = await Promise.all(expressão.argumentos.map(a => a.aceitar(this)));
|
|
11979
|
+
return `${função}(${argumentos.join(', ')})`;
|
|
11980
|
+
}
|
|
11981
|
+
visitarExpressaoIsto() {
|
|
11982
|
+
return Promise.resolve('isto');
|
|
11983
|
+
}
|
|
11984
|
+
async visitarExpressaoSuper() {
|
|
11985
|
+
return 'super()';
|
|
11986
|
+
}
|
|
11987
|
+
async visitarExpressaoVetor(expressão) {
|
|
11988
|
+
const valores = await Promise.all(expressão.valores.map(v => v.aceitar(this)));
|
|
11989
|
+
return `[${valores.join(', ')}]`;
|
|
11990
|
+
}
|
|
11991
|
+
async visitarExpressaoDicionario(expressão) {
|
|
11992
|
+
const pares = await Promise.all(expressão.chaves.map(async (chave, i) => {
|
|
11993
|
+
const k = await chave.aceitar(this);
|
|
11994
|
+
const v = await expressão.valores[i].aceitar(this);
|
|
11995
|
+
return `${k}: ${v}`;
|
|
11996
|
+
}));
|
|
11997
|
+
return `{${pares.join(', ')}}`;
|
|
11998
|
+
}
|
|
11999
|
+
async visitarExpressaoAcessoIndiceVariavel(expressão) {
|
|
12000
|
+
const entidade = await expressão.entidadeChamada.aceitar(this);
|
|
12001
|
+
const índice = await expressão.indice.aceitar(this);
|
|
12002
|
+
return `${entidade}[${índice}]`;
|
|
12003
|
+
}
|
|
12004
|
+
async visitarExpressaoAtribuicaoPorIndice(expressão) {
|
|
12005
|
+
const objeto = await expressão.objeto.aceitar(this);
|
|
12006
|
+
const índice = await expressão.indice.aceitar(this);
|
|
12007
|
+
const valor = await expressão.valor.aceitar(this);
|
|
12008
|
+
return `${objeto}[${índice}] = ${valor}`;
|
|
12009
|
+
}
|
|
12010
|
+
async visitarExpressaoAcessoMetodoOuPropriedade(expressão) {
|
|
12011
|
+
const objeto = await expressão.objeto.aceitar(this);
|
|
12012
|
+
return `${objeto}.${expressão.simbolo.lexema}`;
|
|
12013
|
+
}
|
|
12014
|
+
async visitarExpressaoDefinirValor(expressão) {
|
|
12015
|
+
const objeto = await expressão.objeto.aceitar(this);
|
|
12016
|
+
const valor = await expressão.valor.aceitar(this);
|
|
12017
|
+
return `${objeto}.${expressão.nome.lexema} = ${valor}`;
|
|
12018
|
+
}
|
|
12019
|
+
async visitarExpressaoFuncaoConstruto(expressão) {
|
|
12020
|
+
const parâmetros = expressão.parametros.map(p => {
|
|
12021
|
+
const tipo = p.tipoDado ? `: ${p.tipoDado}` : '';
|
|
12022
|
+
return p.nome.lexema + tipo;
|
|
12023
|
+
}).join(', ');
|
|
12024
|
+
let funçãoStr = `função(${parâmetros || ''}):\n`;
|
|
12025
|
+
this.aumentarIndentação();
|
|
12026
|
+
for (const instrução of expressão.corpo) {
|
|
12027
|
+
const linha = await instrução.aceitar(this);
|
|
12028
|
+
if (linha) { // Only add if it returns something
|
|
12029
|
+
funçãoStr += this.indentar() + linha;
|
|
12030
|
+
if (!linha.endsWith('\n'))
|
|
12031
|
+
funçãoStr += '\n';
|
|
12032
|
+
}
|
|
12033
|
+
}
|
|
12034
|
+
this.diminuirIndentação();
|
|
12035
|
+
return funçãoStr.trimEnd();
|
|
12036
|
+
}
|
|
12037
|
+
async visitarExpressaoLeia(expressão) {
|
|
12038
|
+
const argumentos = await Promise.all(expressão.argumentos.map(a => a.aceitar(this)));
|
|
12039
|
+
return argumentos.length > 0 ? `input(${argumentos.join(', ')})` : 'input()';
|
|
12040
|
+
}
|
|
12041
|
+
async visitarExpressaoTipoDe(expressão) {
|
|
12042
|
+
const valor = await expressão.valor.aceitar(this);
|
|
12043
|
+
return `type(${valor})`;
|
|
12044
|
+
}
|
|
12045
|
+
mapearOperador(tipo) {
|
|
12046
|
+
const mapa = {
|
|
12047
|
+
[pitugues_1.default.ADICAO]: '+',
|
|
12048
|
+
[pitugues_1.default.SUBTRACAO]: '-',
|
|
12049
|
+
[pitugues_1.default.MULTIPLICACAO]: '*',
|
|
12050
|
+
[pitugues_1.default.DIVISAO]: '/',
|
|
12051
|
+
[pitugues_1.default.MODULO]: '%',
|
|
12052
|
+
[pitugues_1.default.MAIOR]: '>',
|
|
12053
|
+
[pitugues_1.default.MAIOR_IGUAL]: '>=',
|
|
12054
|
+
[pitugues_1.default.MENOR]: '<',
|
|
12055
|
+
[pitugues_1.default.MENOR_IGUAL]: '<=',
|
|
12056
|
+
[pitugues_1.default.IGUAL_IGUAL]: '==',
|
|
12057
|
+
[pitugues_1.default.DIFERENTE]: '!=',
|
|
12058
|
+
};
|
|
12059
|
+
return mapa[tipo] || String(tipo);
|
|
11797
12060
|
}
|
|
11798
|
-
|
|
11799
|
-
|
|
11800
|
-
|
|
12061
|
+
async formatar(declarações) {
|
|
12062
|
+
this.códigoFormatado = '';
|
|
12063
|
+
this.nívelIndentação = 0;
|
|
12064
|
+
for (const declaração of declarações) {
|
|
12065
|
+
await declaração.aceitar(this);
|
|
12066
|
+
}
|
|
12067
|
+
return this.códigoFormatado.trimEnd() + '\n';
|
|
11801
12068
|
}
|
|
11802
12069
|
}
|
|
11803
12070
|
exports.FormatadorPitugues = FormatadorPitugues;
|
|
11804
12071
|
|
|
11805
|
-
},{}],
|
|
12072
|
+
},{"../construtos":51,"../declaracoes":96,"../tipos-de-simbolos/pitugues":194}],113:[function(require,module,exports){
|
|
11806
12073
|
"use strict";
|
|
11807
12074
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
11808
12075
|
if (k2 === undefined) k2 = k;
|
|
@@ -11822,7 +12089,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
11822
12089
|
__exportStar(require("./formatador-delegua"), exports);
|
|
11823
12090
|
__exportStar(require("./formatador-pitugues"), exports);
|
|
11824
12091
|
|
|
11825
|
-
},{"./formatador-delegua":
|
|
12092
|
+
},{"./formatador-delegua":111,"./formatador-pitugues":112}],114:[function(require,module,exports){
|
|
11826
12093
|
"use strict";
|
|
11827
12094
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11828
12095
|
exports.cyrb53 = cyrb53;
|
|
@@ -11866,7 +12133,7 @@ function uuidv4() {
|
|
|
11866
12133
|
});
|
|
11867
12134
|
}
|
|
11868
12135
|
|
|
11869
|
-
},{}],
|
|
12136
|
+
},{}],115:[function(require,module,exports){
|
|
11870
12137
|
"use strict";
|
|
11871
12138
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
11872
12139
|
if (k2 === undefined) k2 = k;
|
|
@@ -11893,7 +12160,7 @@ __exportStar(require("./interpretador"), exports);
|
|
|
11893
12160
|
__exportStar(require("./lexador"), exports);
|
|
11894
12161
|
__exportStar(require("./tradutores"), exports);
|
|
11895
12162
|
|
|
11896
|
-
},{"./avaliador-sintatico":13,"./construtos":51,"./declaracoes":96,"./formatadores":
|
|
12163
|
+
},{"./avaliador-sintatico":13,"./construtos":51,"./declaracoes":96,"./formatadores":113,"./geracao-identificadores":114,"./interfaces":123,"./interpretador":157,"./lexador":177,"./tradutores":198}],116:[function(require,module,exports){
|
|
11897
12164
|
"use strict";
|
|
11898
12165
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11899
12166
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -12020,7 +12287,7 @@ function tipoInferenciaParaTipoDadosElementar(tipoInferencia) {
|
|
|
12020
12287
|
}
|
|
12021
12288
|
}
|
|
12022
12289
|
|
|
12023
|
-
},{"./tipos-de-dados/delegua":
|
|
12290
|
+
},{"./tipos-de-dados/delegua":185,"./tipos-de-dados/primitivos":187,"./tipos-de-simbolos/delegua":190}],117:[function(require,module,exports){
|
|
12024
12291
|
"use strict";
|
|
12025
12292
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12026
12293
|
exports.InformacaoElementoSintatico = void 0;
|
|
@@ -12039,15 +12306,15 @@ class InformacaoElementoSintatico {
|
|
|
12039
12306
|
}
|
|
12040
12307
|
exports.InformacaoElementoSintatico = InformacaoElementoSintatico;
|
|
12041
12308
|
|
|
12042
|
-
},{}],
|
|
12309
|
+
},{}],118:[function(require,module,exports){
|
|
12043
12310
|
"use strict";
|
|
12044
12311
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12045
12312
|
|
|
12046
|
-
},{}],
|
|
12313
|
+
},{}],119:[function(require,module,exports){
|
|
12047
12314
|
"use strict";
|
|
12048
12315
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12049
12316
|
|
|
12050
|
-
},{}],
|
|
12317
|
+
},{}],120:[function(require,module,exports){
|
|
12051
12318
|
"use strict";
|
|
12052
12319
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12053
12320
|
exports.DiagnosticoSeveridade = void 0;
|
|
@@ -12059,7 +12326,7 @@ var DiagnosticoSeveridade;
|
|
|
12059
12326
|
DiagnosticoSeveridade[DiagnosticoSeveridade["SUGESTAO"] = 3] = "SUGESTAO";
|
|
12060
12327
|
})(DiagnosticoSeveridade || (exports.DiagnosticoSeveridade = DiagnosticoSeveridade = {}));
|
|
12061
12328
|
|
|
12062
|
-
},{}],
|
|
12329
|
+
},{}],121:[function(require,module,exports){
|
|
12063
12330
|
"use strict";
|
|
12064
12331
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
12065
12332
|
if (k2 === undefined) k2 = k;
|
|
@@ -12078,11 +12345,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
12078
12345
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12079
12346
|
__exportStar(require("./diagnostico-analisador-semantico"), exports);
|
|
12080
12347
|
|
|
12081
|
-
},{"./diagnostico-analisador-semantico":
|
|
12348
|
+
},{"./diagnostico-analisador-semantico":120}],122:[function(require,module,exports){
|
|
12082
12349
|
"use strict";
|
|
12083
12350
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12084
12351
|
|
|
12085
|
-
},{}],
|
|
12352
|
+
},{}],123:[function(require,module,exports){
|
|
12086
12353
|
"use strict";
|
|
12087
12354
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
12088
12355
|
if (k2 === undefined) k2 = k;
|
|
@@ -12119,11 +12386,7 @@ __exportStar(require("./construtos"), exports);
|
|
|
12119
12386
|
__exportStar(require("./erros"), exports);
|
|
12120
12387
|
__exportStar(require("./retornos"), exports);
|
|
12121
12388
|
|
|
12122
|
-
},{"./avaliador-sintatico-interface":
|
|
12123
|
-
"use strict";
|
|
12124
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12125
|
-
|
|
12126
|
-
},{}],124:[function(require,module,exports){
|
|
12389
|
+
},{"./avaliador-sintatico-interface":118,"./construtos":119,"./erros":121,"./formatador-comum-interface":122,"./interpretador-com-depuracao-interface":124,"./interpretador-interface":125,"./lexador-interface":126,"./parametro-interface":127,"./pilha-interface":128,"./primitiva-interface":129,"./resolvedor-interface":130,"./resultado-parcial-interpretador-interface":131,"./retornos":132,"./retornos/retorno-execucao-interface":135,"./simbolo-interface":138,"./tradutor-interface":139,"./variavel-interface":140,"./visitante-comum-interface":141,"./visitante-delegua-interface":142}],124:[function(require,module,exports){
|
|
12127
12390
|
"use strict";
|
|
12128
12391
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12129
12392
|
|
|
@@ -12153,6 +12416,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12153
12416
|
|
|
12154
12417
|
},{}],131:[function(require,module,exports){
|
|
12155
12418
|
"use strict";
|
|
12419
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12420
|
+
|
|
12421
|
+
},{}],132:[function(require,module,exports){
|
|
12422
|
+
"use strict";
|
|
12156
12423
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
12157
12424
|
if (k2 === undefined) k2 = k;
|
|
12158
12425
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -12174,11 +12441,7 @@ __exportStar(require("./retorno-execucao-interface"), exports);
|
|
|
12174
12441
|
__exportStar(require("./retorno-interpretador-interface"), exports);
|
|
12175
12442
|
__exportStar(require("./retorno-lexador"), exports);
|
|
12176
12443
|
|
|
12177
|
-
},{"./retorno-analisador-semantico":
|
|
12178
|
-
"use strict";
|
|
12179
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12180
|
-
|
|
12181
|
-
},{}],133:[function(require,module,exports){
|
|
12444
|
+
},{"./retorno-analisador-semantico":133,"./retorno-avaliador-sintatico":134,"./retorno-execucao-interface":135,"./retorno-interpretador-interface":136,"./retorno-lexador":137}],133:[function(require,module,exports){
|
|
12182
12445
|
"use strict";
|
|
12183
12446
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12184
12447
|
|
|
@@ -12216,6 +12479,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12216
12479
|
|
|
12217
12480
|
},{}],142:[function(require,module,exports){
|
|
12218
12481
|
"use strict";
|
|
12482
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12483
|
+
|
|
12484
|
+
},{}],143:[function(require,module,exports){
|
|
12485
|
+
"use strict";
|
|
12219
12486
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
12220
12487
|
if (k2 === undefined) k2 = k;
|
|
12221
12488
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -12280,7 +12547,7 @@ function carregarBibliotecasGlobais(pilhaEscoposExecucao) {
|
|
|
12280
12547
|
pilhaEscoposExecucao.definirVariavel('tupla', new funcao_padrao_1.FuncaoPadrao(1, bibliotecaGlobal.tupla));
|
|
12281
12548
|
}
|
|
12282
12549
|
|
|
12283
|
-
},{"../bibliotecas/biblioteca-global":19,"./estruturas/funcao-padrao":
|
|
12550
|
+
},{"../bibliotecas/biblioteca-global":19,"./estruturas/funcao-padrao":150}],144:[function(require,module,exports){
|
|
12284
12551
|
"use strict";
|
|
12285
12552
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12286
12553
|
exports.EspacoMemoria = void 0;
|
|
@@ -12305,7 +12572,7 @@ class EspacoMemoria {
|
|
|
12305
12572
|
}
|
|
12306
12573
|
exports.EspacoMemoria = EspacoMemoria;
|
|
12307
12574
|
|
|
12308
|
-
},{}],
|
|
12575
|
+
},{}],145:[function(require,module,exports){
|
|
12309
12576
|
"use strict";
|
|
12310
12577
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12311
12578
|
exports.Chamavel = void 0;
|
|
@@ -12319,7 +12586,7 @@ class Chamavel {
|
|
|
12319
12586
|
}
|
|
12320
12587
|
exports.Chamavel = Chamavel;
|
|
12321
12588
|
|
|
12322
|
-
},{}],
|
|
12589
|
+
},{}],146:[function(require,module,exports){
|
|
12323
12590
|
"use strict";
|
|
12324
12591
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12325
12592
|
exports.ClasseDeModulo = void 0;
|
|
@@ -12340,7 +12607,7 @@ class ClasseDeModulo extends chamavel_1.Chamavel {
|
|
|
12340
12607
|
}
|
|
12341
12608
|
exports.ClasseDeModulo = ClasseDeModulo;
|
|
12342
12609
|
|
|
12343
|
-
},{"./chamavel":
|
|
12610
|
+
},{"./chamavel":145}],147:[function(require,module,exports){
|
|
12344
12611
|
"use strict";
|
|
12345
12612
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12346
12613
|
exports.ClassePadrao = void 0;
|
|
@@ -12381,7 +12648,7 @@ class ClassePadrao extends chamavel_1.Chamavel {
|
|
|
12381
12648
|
}
|
|
12382
12649
|
exports.ClassePadrao = ClassePadrao;
|
|
12383
12650
|
|
|
12384
|
-
},{"./chamavel":
|
|
12651
|
+
},{"./chamavel":145}],148:[function(require,module,exports){
|
|
12385
12652
|
"use strict";
|
|
12386
12653
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12387
12654
|
exports.DeleguaFuncao = void 0;
|
|
@@ -12526,7 +12793,7 @@ class DeleguaFuncao extends chamavel_1.Chamavel {
|
|
|
12526
12793
|
}
|
|
12527
12794
|
exports.DeleguaFuncao = DeleguaFuncao;
|
|
12528
12795
|
|
|
12529
|
-
},{"../../declaracoes":96,"../../quebras":
|
|
12796
|
+
},{"../../declaracoes":96,"../../quebras":184,"../espaco-memoria":144,"./chamavel":145}],149:[function(require,module,exports){
|
|
12530
12797
|
"use strict";
|
|
12531
12798
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12532
12799
|
exports.DescritorTipoClasse = void 0;
|
|
@@ -12607,7 +12874,7 @@ class DescritorTipoClasse extends chamavel_1.Chamavel {
|
|
|
12607
12874
|
}
|
|
12608
12875
|
exports.DescritorTipoClasse = DescritorTipoClasse;
|
|
12609
12876
|
|
|
12610
|
-
},{"../../excecoes":
|
|
12877
|
+
},{"../../excecoes":110,"./chamavel":145,"./objeto-delegua-classe":154}],150:[function(require,module,exports){
|
|
12611
12878
|
"use strict";
|
|
12612
12879
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12613
12880
|
exports.FuncaoPadrao = void 0;
|
|
@@ -12644,7 +12911,7 @@ class FuncaoPadrao extends chamavel_1.Chamavel {
|
|
|
12644
12911
|
}
|
|
12645
12912
|
exports.FuncaoPadrao = FuncaoPadrao;
|
|
12646
12913
|
|
|
12647
|
-
},{"./chamavel":
|
|
12914
|
+
},{"./chamavel":145}],151:[function(require,module,exports){
|
|
12648
12915
|
"use strict";
|
|
12649
12916
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
12650
12917
|
if (k2 === undefined) k2 = k;
|
|
@@ -12673,7 +12940,7 @@ __exportStar(require("./objeto-delegua-classe"), exports);
|
|
|
12673
12940
|
__exportStar(require("./objeto-padrao"), exports);
|
|
12674
12941
|
__exportStar(require("./referencia-montao"), exports);
|
|
12675
12942
|
|
|
12676
|
-
},{"./chamavel":
|
|
12943
|
+
},{"./chamavel":145,"./classe-de-modulo":146,"./classe-padrao":147,"./delegua-funcao":148,"./descritor-tipo-classe":149,"./funcao-padrao":150,"./metodo-primitiva":152,"./modulo":153,"./objeto-delegua-classe":154,"./objeto-padrao":155,"./referencia-montao":156}],152:[function(require,module,exports){
|
|
12677
12944
|
"use strict";
|
|
12678
12945
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12679
12946
|
exports.MetodoPrimitiva = void 0;
|
|
@@ -12689,11 +12956,14 @@ const chamavel_1 = require("./chamavel");
|
|
|
12689
12956
|
* primeiro parâmetro é sempre a referência para a primitiva.
|
|
12690
12957
|
*/
|
|
12691
12958
|
class MetodoPrimitiva extends chamavel_1.Chamavel {
|
|
12692
|
-
constructor(nome, primitiva, metodo) {
|
|
12959
|
+
constructor(nome, primitiva, metodo, nomeMetodo, tipo = 'qualquer') {
|
|
12693
12960
|
super();
|
|
12961
|
+
this.tipo = 'qualquer';
|
|
12694
12962
|
this.nome = nome;
|
|
12695
12963
|
this.primitiva = primitiva;
|
|
12696
12964
|
this.metodo = metodo;
|
|
12965
|
+
this.nomeMetodo = nomeMetodo;
|
|
12966
|
+
this.tipo = tipo;
|
|
12697
12967
|
this.valorAridade = metodo.length - 1;
|
|
12698
12968
|
}
|
|
12699
12969
|
async chamar(interpretador, argumentos = []) {
|
|
@@ -12704,7 +12974,7 @@ class MetodoPrimitiva extends chamavel_1.Chamavel {
|
|
|
12704
12974
|
* @returns {string} A representação do método como texto.
|
|
12705
12975
|
*/
|
|
12706
12976
|
paraTexto() {
|
|
12707
|
-
return `<método nome=${this.
|
|
12977
|
+
return `<método nome=${this.nomeMetodo} primitiva=${this.nome} tipo-da-primitiva=${this.tipo} />`;
|
|
12708
12978
|
}
|
|
12709
12979
|
/**
|
|
12710
12980
|
* Método utilizado pelo VSCode para representar este método quando impressa.
|
|
@@ -12716,7 +12986,7 @@ class MetodoPrimitiva extends chamavel_1.Chamavel {
|
|
|
12716
12986
|
}
|
|
12717
12987
|
exports.MetodoPrimitiva = MetodoPrimitiva;
|
|
12718
12988
|
|
|
12719
|
-
},{"./chamavel":
|
|
12989
|
+
},{"./chamavel":145}],153:[function(require,module,exports){
|
|
12720
12990
|
"use strict";
|
|
12721
12991
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12722
12992
|
exports.DeleguaModulo = void 0;
|
|
@@ -12742,7 +13012,7 @@ class DeleguaModulo {
|
|
|
12742
13012
|
}
|
|
12743
13013
|
exports.DeleguaModulo = DeleguaModulo;
|
|
12744
13014
|
|
|
12745
|
-
},{}],
|
|
13015
|
+
},{}],154:[function(require,module,exports){
|
|
12746
13016
|
"use strict";
|
|
12747
13017
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12748
13018
|
exports.ObjetoDeleguaClasse = void 0;
|
|
@@ -12810,7 +13080,7 @@ class ObjetoDeleguaClasse {
|
|
|
12810
13080
|
}
|
|
12811
13081
|
exports.ObjetoDeleguaClasse = ObjetoDeleguaClasse;
|
|
12812
13082
|
|
|
12813
|
-
},{"../../excecoes":
|
|
13083
|
+
},{"../../excecoes":110}],155:[function(require,module,exports){
|
|
12814
13084
|
"use strict";
|
|
12815
13085
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12816
13086
|
exports.ObjetoPadrao = void 0;
|
|
@@ -12844,7 +13114,7 @@ class ObjetoPadrao {
|
|
|
12844
13114
|
}
|
|
12845
13115
|
exports.ObjetoPadrao = ObjetoPadrao;
|
|
12846
13116
|
|
|
12847
|
-
},{}],
|
|
13117
|
+
},{}],156:[function(require,module,exports){
|
|
12848
13118
|
"use strict";
|
|
12849
13119
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12850
13120
|
exports.ReferenciaMontao = void 0;
|
|
@@ -12869,7 +13139,7 @@ class ReferenciaMontao {
|
|
|
12869
13139
|
}
|
|
12870
13140
|
exports.ReferenciaMontao = ReferenciaMontao;
|
|
12871
13141
|
|
|
12872
|
-
},{}],
|
|
13142
|
+
},{}],157:[function(require,module,exports){
|
|
12873
13143
|
"use strict";
|
|
12874
13144
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
12875
13145
|
if (k2 === undefined) k2 = k;
|
|
@@ -12889,7 +13159,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12889
13159
|
__exportStar(require("./interpretador"), exports);
|
|
12890
13160
|
__exportStar(require("./interpretador-base"), exports);
|
|
12891
13161
|
|
|
12892
|
-
},{"./interpretador":
|
|
13162
|
+
},{"./interpretador":159,"./interpretador-base":158}],158:[function(require,module,exports){
|
|
12893
13163
|
(function (process){(function (){
|
|
12894
13164
|
"use strict";
|
|
12895
13165
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -12912,6 +13182,7 @@ const primitivas_dicionario_1 = __importDefault(require("../bibliotecas/primitiv
|
|
|
12912
13182
|
const delegua_1 = __importDefault(require("../tipos-de-simbolos/delegua"));
|
|
12913
13183
|
const primitivos_1 = __importDefault(require("../tipos-de-dados/primitivos"));
|
|
12914
13184
|
const delegua_2 = __importDefault(require("../tipos-de-dados/delegua"));
|
|
13185
|
+
const primitivas_vetor_1 = __importDefault(require("../bibliotecas/primitivas-vetor"));
|
|
12915
13186
|
/**
|
|
12916
13187
|
* O Interpretador visita todos os elementos complexos gerados pelo avaliador sintático (_parser_),
|
|
12917
13188
|
* e de fato executa a lógica de programação descrita no código. Este interpretador base é usado
|
|
@@ -12963,6 +13234,9 @@ class InterpretadorBase {
|
|
|
12963
13234
|
};
|
|
12964
13235
|
this.pilhaEscoposExecucao.empilhar(escopoExecucao);
|
|
12965
13236
|
}
|
|
13237
|
+
visitarDeclaracaoTextoDocumentacao(declaracao) {
|
|
13238
|
+
throw new Error('Método não implementado.');
|
|
13239
|
+
}
|
|
12966
13240
|
visitarExpressaoSeparador(expressao) {
|
|
12967
13241
|
throw new Error('Método não implementado.');
|
|
12968
13242
|
}
|
|
@@ -12978,13 +13252,28 @@ class InterpretadorBase {
|
|
|
12978
13252
|
* @see resolverValor
|
|
12979
13253
|
*/
|
|
12980
13254
|
resolverNomeObjectoAcessado(objetoAcessado) {
|
|
12981
|
-
|
|
12982
|
-
|
|
12983
|
-
|
|
12984
|
-
|
|
12985
|
-
|
|
13255
|
+
switch (objetoAcessado.constructor) {
|
|
13256
|
+
// TODO: Não habilitar isso até que vetores sejam repassados para o montão.
|
|
13257
|
+
/* case AcessoMetodoOuPropriedade:
|
|
13258
|
+
return (objetoAcessado as AcessoMetodoOuPropriedade).simbolo.lexema;
|
|
13259
|
+
case AcessoIndiceVariavel:
|
|
13260
|
+
return this.resolverNomeObjectoAcessado((objetoAcessado as AcessoIndiceVariavel).entidadeChamada); */
|
|
13261
|
+
case construtos_1.Constante:
|
|
13262
|
+
return objetoAcessado.simbolo.lexema;
|
|
13263
|
+
case construtos_1.AcessoMetodoOuPropriedade:
|
|
13264
|
+
case construtos_1.AcessoIndiceVariavel:
|
|
13265
|
+
case construtos_1.Dicionario:
|
|
13266
|
+
case construtos_1.Literal:
|
|
13267
|
+
case construtos_1.Vetor:
|
|
13268
|
+
return '';
|
|
13269
|
+
case construtos_1.Isto:
|
|
13270
|
+
return objetoAcessado.simboloChave.lexema;
|
|
13271
|
+
case construtos_1.Super:
|
|
13272
|
+
return objetoAcessado.simboloChave.lexema;
|
|
13273
|
+
case construtos_1.Variavel:
|
|
13274
|
+
return objetoAcessado.simbolo.lexema;
|
|
12986
13275
|
}
|
|
12987
|
-
|
|
13276
|
+
throw new excecoes_1.ErroEmTempoDeExecucao(objetoAcessado.simbolo, `Construto ${objetoAcessado.constructor.name} não possui resolução de nome apropriada.`);
|
|
12988
13277
|
}
|
|
12989
13278
|
resolverValor(objeto) {
|
|
12990
13279
|
if (objeto === null || objeto === undefined) {
|
|
@@ -13482,7 +13771,8 @@ class InterpretadorBase {
|
|
|
13482
13771
|
}
|
|
13483
13772
|
if (entidadeChamada instanceof estruturas_1.FuncaoPadrao) {
|
|
13484
13773
|
try {
|
|
13485
|
-
return entidadeChamada.chamar(this, argumentos.map((a) => a && this.resolverValor(a.valor)), expressao.entidadeChamada.simbolo
|
|
13774
|
+
return entidadeChamada.chamar(this, argumentos.map((a) => a && this.resolverValor(a.valor)), expressao.entidadeChamada.simbolo // TODO: O que exatamente pode ser aqui?
|
|
13775
|
+
);
|
|
13486
13776
|
}
|
|
13487
13777
|
catch (erro) {
|
|
13488
13778
|
this.erros.push({
|
|
@@ -13513,7 +13803,7 @@ class InterpretadorBase {
|
|
|
13513
13803
|
// Casos que passam aqui: chamadas a métodos de bibliotecas de Delégua.
|
|
13514
13804
|
if (typeof entidadeChamada === primitivos_1.default.FUNCAO) {
|
|
13515
13805
|
let objeto = null;
|
|
13516
|
-
if (expressao.entidadeChamada.objeto) {
|
|
13806
|
+
if (expressao.entidadeChamada.objeto) { // TODO: Qual o tipo certo aqui?
|
|
13517
13807
|
objeto = await this.avaliar(expressao.entidadeChamada.objeto);
|
|
13518
13808
|
}
|
|
13519
13809
|
return entidadeChamada.apply(this.resolverValor(objeto), argumentos);
|
|
@@ -13843,7 +14133,7 @@ class InterpretadorBase {
|
|
|
13843
14133
|
let formatoTexto = '';
|
|
13844
14134
|
for (const argumento of argumentos) {
|
|
13845
14135
|
let resultadoAvaliacao = await this.avaliar(argumento);
|
|
13846
|
-
if (resultadoAvaliacao && resultadoAvaliacao.hasOwnProperty('valorRetornado')) {
|
|
14136
|
+
if (resultadoAvaliacao && resultadoAvaliacao.hasOwnProperty && resultadoAvaliacao.hasOwnProperty('valorRetornado')) {
|
|
13847
14137
|
resultadoAvaliacao = resultadoAvaliacao.valorRetornado;
|
|
13848
14138
|
}
|
|
13849
14139
|
let valor = this.resolverValor(resultadoAvaliacao);
|
|
@@ -14131,6 +14421,7 @@ class InterpretadorBase {
|
|
|
14131
14421
|
*/
|
|
14132
14422
|
async visitarExpressaoAcessoMetodoOuPropriedade(expressao) {
|
|
14133
14423
|
let variavelObjeto = await this.avaliar(expressao.objeto);
|
|
14424
|
+
const nomeObjeto = this.resolverNomeObjectoAcessado(expressao.objeto);
|
|
14134
14425
|
// Este caso acontece quando há encadeamento de métodos.
|
|
14135
14426
|
// Por exemplo, `objeto1.metodo1().metodo2()`.
|
|
14136
14427
|
// Como `RetornoQuebra` também possui `valor`, precisamos extrair o
|
|
@@ -14152,7 +14443,7 @@ class InterpretadorBase {
|
|
|
14152
14443
|
if (objeto.constructor === Object) {
|
|
14153
14444
|
if (expressao.simbolo.lexema in primitivas_dicionario_1.default) {
|
|
14154
14445
|
const metodoDePrimitivaDicionario = primitivas_dicionario_1.default[expressao.simbolo.lexema].implementacao;
|
|
14155
|
-
return new metodo_primitiva_1.MetodoPrimitiva(
|
|
14446
|
+
return new metodo_primitiva_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaDicionario, expressao.simbolo.lexema, 'dicionário');
|
|
14156
14447
|
}
|
|
14157
14448
|
return objeto[expressao.simbolo.lexema];
|
|
14158
14449
|
}
|
|
@@ -14167,19 +14458,32 @@ class InterpretadorBase {
|
|
|
14167
14458
|
if (typeof objeto[expressao.simbolo.lexema] === primitivos_1.default.OBJETO) {
|
|
14168
14459
|
return objeto[expressao.simbolo.lexema];
|
|
14169
14460
|
}
|
|
14461
|
+
let tipoObjeto = variavelObjeto.tipo;
|
|
14462
|
+
if (tipoObjeto === null || tipoObjeto === undefined) {
|
|
14463
|
+
tipoObjeto = (0, inferenciador_1.inferirTipoVariavel)(variavelObjeto);
|
|
14464
|
+
}
|
|
14465
|
+
// Caso 3: Vetor simples do JavaScript.
|
|
14466
|
+
// TODO: Em teoria, isso deve estar no interpretador de Delégua, não aqui.
|
|
14467
|
+
if (Array.isArray(objeto)) {
|
|
14468
|
+
if (expressao.simbolo.lexema in primitivas_vetor_1.default) {
|
|
14469
|
+
const metodoDePrimitivaVetor = primitivas_vetor_1.default[expressao.simbolo.lexema].implementacao;
|
|
14470
|
+
// TODO: Um problema a ser resolvido na questão de vetores é quando eles pertencem a outro objeto.
|
|
14471
|
+
// Por exemplo, um dicionário.
|
|
14472
|
+
// Existe uma lógica nas bibliotecas padrão que, quando a primitiva tem um nome, ela deve ser definida na
|
|
14473
|
+
// pilha de escopos, para registrar a mutação do vetor corretamente.
|
|
14474
|
+
// Não é uma boa solução. Algo melhor precisa ser feito.
|
|
14475
|
+
return new metodo_primitiva_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaVetor, expressao.simbolo.lexema, tipoObjeto);
|
|
14476
|
+
}
|
|
14477
|
+
}
|
|
14170
14478
|
// A partir daqui, presume-se que o objeto é uma das estruturas
|
|
14171
14479
|
// de Delégua.
|
|
14172
14480
|
if (objeto instanceof estruturas_1.DeleguaModulo) {
|
|
14173
14481
|
return objeto.componentes[expressao.simbolo.lexema] || null;
|
|
14174
14482
|
}
|
|
14175
|
-
let tipoObjeto = variavelObjeto.tipo;
|
|
14176
|
-
if (tipoObjeto === null || tipoObjeto === undefined) {
|
|
14177
|
-
tipoObjeto = (0, inferenciador_1.inferirTipoVariavel)(variavelObjeto);
|
|
14178
|
-
}
|
|
14179
14483
|
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(expressao.simbolo, `Método ou propriedade para objeto não encontrado: ${expressao.simbolo.lexema}.`, expressao.linha));
|
|
14180
14484
|
}
|
|
14181
14485
|
visitarExpressaoIsto(expressao) {
|
|
14182
|
-
return this.procurarVariavel(expressao.
|
|
14486
|
+
return this.procurarVariavel(expressao.simboloChave);
|
|
14183
14487
|
}
|
|
14184
14488
|
async visitarExpressaoDicionario(expressao) {
|
|
14185
14489
|
const dicionario = {};
|
|
@@ -14440,7 +14744,7 @@ class InterpretadorBase {
|
|
|
14440
14744
|
exports.InterpretadorBase = InterpretadorBase;
|
|
14441
14745
|
|
|
14442
14746
|
}).call(this)}).call(this,require('_process'))
|
|
14443
|
-
},{"../avaliador-sintatico":13,"../bibliotecas/primitivas-dicionario":20,"../construtos":51,"../excecoes":
|
|
14747
|
+
},{"../avaliador-sintatico":13,"../bibliotecas/primitivas-dicionario":20,"../bibliotecas/primitivas-vetor":23,"../construtos":51,"../excecoes":110,"../inferenciador":116,"../lexador":177,"../quebras":184,"../tipos-de-dados/delegua":185,"../tipos-de-dados/primitivos":187,"../tipos-de-simbolos/delegua":190,"./espaco-memoria":144,"./estruturas":151,"./estruturas/metodo-primitiva":152,"./pilha-escopos-execucao":161,"_process":425,"browser-process-hrtime":371}],159:[function(require,module,exports){
|
|
14444
14748
|
"use strict";
|
|
14445
14749
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14446
14750
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -14541,6 +14845,9 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
14541
14845
|
if (typeof objeto.valor === 'boolean')
|
|
14542
14846
|
return objeto.valor ? 'verdadeiro' : 'falso';
|
|
14543
14847
|
}
|
|
14848
|
+
if (objeto instanceof estruturas_1.MetodoPrimitiva) {
|
|
14849
|
+
return objeto.paraTexto();
|
|
14850
|
+
}
|
|
14544
14851
|
if (objeto instanceof Date) {
|
|
14545
14852
|
const formato = Intl.DateTimeFormat('pt', {
|
|
14546
14853
|
dateStyle: 'full',
|
|
@@ -14887,14 +15194,14 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
14887
15194
|
variavelObjeto = variavelObjeto.valor;
|
|
14888
15195
|
}
|
|
14889
15196
|
const objeto = this.resolverValor(variavelObjeto);
|
|
14890
|
-
if (objeto.constructor && objeto.constructor
|
|
15197
|
+
if (objeto.constructor && objeto.constructor === estruturas_1.ObjetoDeleguaClasse) {
|
|
14891
15198
|
return objeto.obterMetodo(expressao.nomeMetodo) || null;
|
|
14892
15199
|
}
|
|
14893
15200
|
// Objeto simples do JavaScript, ou dicionário de Delégua.
|
|
14894
15201
|
if (objeto.constructor === Object) {
|
|
14895
15202
|
if (expressao.nomeMetodo in primitivas_dicionario_1.default) {
|
|
14896
15203
|
const metodoDePrimitivaDicionario = primitivas_dicionario_1.default[expressao.nomeMetodo].implementacao;
|
|
14897
|
-
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaDicionario);
|
|
15204
|
+
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaDicionario, expressao.nomeMetodo, 'dicionário');
|
|
14898
15205
|
}
|
|
14899
15206
|
return objeto[expressao.nomeMetodo] || null;
|
|
14900
15207
|
}
|
|
@@ -14927,13 +15234,13 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
14927
15234
|
case delegua_1.default.NÚMERO:
|
|
14928
15235
|
const metodoDePrimitivaNumero = primitivas_numero_1.default[expressao.nomeMetodo].implementacao;
|
|
14929
15236
|
if (metodoDePrimitivaNumero) {
|
|
14930
|
-
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaNumero);
|
|
15237
|
+
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaNumero, expressao.nomeMetodo, tipoObjeto);
|
|
14931
15238
|
}
|
|
14932
15239
|
break;
|
|
14933
15240
|
case delegua_1.default.TEXTO:
|
|
14934
15241
|
const metodoDePrimitivaTexto = primitivas_texto_1.default[expressao.nomeMetodo].implementacao;
|
|
14935
15242
|
if (metodoDePrimitivaTexto) {
|
|
14936
|
-
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaTexto);
|
|
15243
|
+
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaTexto, expressao.nomeMetodo, 'texto');
|
|
14937
15244
|
}
|
|
14938
15245
|
break;
|
|
14939
15246
|
case delegua_1.default.VETOR:
|
|
@@ -14942,7 +15249,7 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
14942
15249
|
case delegua_1.default.VETOR_TEXTO:
|
|
14943
15250
|
const metodoDePrimitivaVetor = primitivas_vetor_1.default[expressao.nomeMetodo].implementacao;
|
|
14944
15251
|
if (metodoDePrimitivaVetor) {
|
|
14945
|
-
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaVetor);
|
|
15252
|
+
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaVetor, expressao.nomeMetodo, tipoObjeto);
|
|
14946
15253
|
}
|
|
14947
15254
|
break;
|
|
14948
15255
|
}
|
|
@@ -14979,7 +15286,7 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
14979
15286
|
if (objeto.constructor === Object) {
|
|
14980
15287
|
if (expressao.simbolo.lexema in primitivas_dicionario_1.default) {
|
|
14981
15288
|
const metodoDePrimitivaDicionario = primitivas_dicionario_1.default[expressao.simbolo.lexema].implementacao;
|
|
14982
|
-
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaDicionario);
|
|
15289
|
+
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaDicionario, expressao.simbolo.lexema, 'dicionário');
|
|
14983
15290
|
}
|
|
14984
15291
|
return objeto[expressao.simbolo.lexema];
|
|
14985
15292
|
}
|
|
@@ -14989,7 +15296,7 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
14989
15296
|
throw new excecoes_1.ErroEmTempoDeExecucao(expressao.simbolo, `Método de primitiva '${expressao.simbolo.lexema}' não existe para o tipo texto.`);
|
|
14990
15297
|
}
|
|
14991
15298
|
const metodoDePrimitivaTexto = primitivas_texto_1.default[expressao.simbolo.lexema].implementacao;
|
|
14992
|
-
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaTexto);
|
|
15299
|
+
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaTexto, expressao.simbolo.lexema, 'texto');
|
|
14993
15300
|
}
|
|
14994
15301
|
// A partir daqui, presume-se que o objeto é uma das estruturas
|
|
14995
15302
|
// de Delégua.
|
|
@@ -15012,7 +15319,7 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
15012
15319
|
}
|
|
15013
15320
|
const metodoDePrimitivaNumero = primitivas_numero_1.default[expressao.simbolo.lexema].implementacao;
|
|
15014
15321
|
if (metodoDePrimitivaNumero) {
|
|
15015
|
-
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaNumero);
|
|
15322
|
+
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaNumero, expressao.simbolo.lexema, 'número');
|
|
15016
15323
|
}
|
|
15017
15324
|
break;
|
|
15018
15325
|
case delegua_1.default.TEXTO:
|
|
@@ -15021,7 +15328,7 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
15021
15328
|
}
|
|
15022
15329
|
const metodoDePrimitivaTexto = primitivas_texto_1.default[expressao.simbolo.lexema].implementacao;
|
|
15023
15330
|
if (metodoDePrimitivaTexto) {
|
|
15024
|
-
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaTexto);
|
|
15331
|
+
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaTexto, expressao.simbolo.lexema, 'texto');
|
|
15025
15332
|
}
|
|
15026
15333
|
break;
|
|
15027
15334
|
case delegua_1.default.VETOR:
|
|
@@ -15037,7 +15344,7 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
15037
15344
|
}
|
|
15038
15345
|
const metodoDePrimitivaVetor = primitivas_vetor_1.default[expressao.simbolo.lexema].implementacao;
|
|
15039
15346
|
if (metodoDePrimitivaVetor) {
|
|
15040
|
-
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaVetor);
|
|
15347
|
+
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaVetor, expressao.simbolo.lexema, tipoObjeto);
|
|
15041
15348
|
}
|
|
15042
15349
|
break;
|
|
15043
15350
|
}
|
|
@@ -15074,7 +15381,7 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
15074
15381
|
if (objeto.constructor === Object) {
|
|
15075
15382
|
if (expressao.nomePropriedade in primitivas_dicionario_1.default) {
|
|
15076
15383
|
const metodoDePrimitivaDicionario = primitivas_dicionario_1.default[expressao.nomePropriedade].implementacao;
|
|
15077
|
-
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaDicionario);
|
|
15384
|
+
return new estruturas_1.MetodoPrimitiva(nomeObjeto, objeto, metodoDePrimitivaDicionario, expressao.nomePropriedade, 'dicionário');
|
|
15078
15385
|
}
|
|
15079
15386
|
return objeto[expressao.nomePropriedade] || null;
|
|
15080
15387
|
}
|
|
@@ -15438,7 +15745,7 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
15438
15745
|
}
|
|
15439
15746
|
exports.Interpretador = Interpretador;
|
|
15440
15747
|
|
|
15441
|
-
},{"../bibliotecas/primitivas-dicionario":20,"../bibliotecas/primitivas-numero":21,"../bibliotecas/primitivas-texto":22,"../bibliotecas/primitivas-vetor":23,"../construtos":51,"../declaracoes":96,"../excecoes":
|
|
15748
|
+
},{"../bibliotecas/primitivas-dicionario":20,"../bibliotecas/primitivas-numero":21,"../bibliotecas/primitivas-texto":22,"../bibliotecas/primitivas-vetor":23,"../construtos":51,"../declaracoes":96,"../excecoes":110,"../inferenciador":116,"../quebras":184,"../tipos-de-dados/delegua":185,"../tipos-de-dados/primitivos":187,"./comum":143,"./estruturas":151,"./interpretador-base":158,"./montao":160}],160:[function(require,module,exports){
|
|
15442
15749
|
"use strict";
|
|
15443
15750
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15444
15751
|
exports.Montao = void 0;
|
|
@@ -15495,7 +15802,7 @@ class Montao {
|
|
|
15495
15802
|
}
|
|
15496
15803
|
exports.Montao = Montao;
|
|
15497
15804
|
|
|
15498
|
-
},{"../excecoes":
|
|
15805
|
+
},{"../excecoes":110,"../geracao-identificadores":114}],161:[function(require,module,exports){
|
|
15499
15806
|
"use strict";
|
|
15500
15807
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
15501
15808
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -15783,7 +16090,7 @@ class PilhaEscoposExecucao {
|
|
|
15783
16090
|
}
|
|
15784
16091
|
exports.PilhaEscoposExecucao = PilhaEscoposExecucao;
|
|
15785
16092
|
|
|
15786
|
-
},{"../excecoes":
|
|
16093
|
+
},{"../excecoes":110,"../inferenciador":116,"../lexador":177,"../tipos-de-dados/delegua":185,"./estruturas":151}],162:[function(require,module,exports){
|
|
15787
16094
|
"use strict";
|
|
15788
16095
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
15789
16096
|
if (k2 === undefined) k2 = k;
|
|
@@ -15808,7 +16115,7 @@ __exportStar(require("./lexador-portugol-ipt"), exports);
|
|
|
15808
16115
|
__exportStar(require("./lexador-prisma"), exports);
|
|
15809
16116
|
__exportStar(require("./lexador-tenda"), exports);
|
|
15810
16117
|
|
|
15811
|
-
},{"./lexador-calango":
|
|
16118
|
+
},{"./lexador-calango":163,"./lexador-egua-classico":164,"./lexador-guarani":165,"./lexador-pitugues":166,"./lexador-portugol-ipt":167,"./lexador-prisma":168,"./lexador-tenda":169}],163:[function(require,module,exports){
|
|
15812
16119
|
"use strict";
|
|
15813
16120
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
15814
16121
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -16041,7 +16348,7 @@ class LexadorCalango {
|
|
|
16041
16348
|
}
|
|
16042
16349
|
exports.LexadorCalango = LexadorCalango;
|
|
16043
16350
|
|
|
16044
|
-
},{"../../tipos-de-simbolos/calango":
|
|
16351
|
+
},{"../../tipos-de-simbolos/calango":188,"../simbolo":183,"./palavras-reservadas/calango":170}],164:[function(require,module,exports){
|
|
16045
16352
|
"use strict";
|
|
16046
16353
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16047
16354
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -16331,7 +16638,7 @@ class LexadorEguaClassico {
|
|
|
16331
16638
|
}
|
|
16332
16639
|
exports.LexadorEguaClassico = LexadorEguaClassico;
|
|
16333
16640
|
|
|
16334
|
-
},{"../../tipos-de-simbolos/egua-classico":
|
|
16641
|
+
},{"../../tipos-de-simbolos/egua-classico":191,"../simbolo":183,"./palavras-reservadas/egua-classico":171}],165:[function(require,module,exports){
|
|
16335
16642
|
"use strict";
|
|
16336
16643
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16337
16644
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -16450,7 +16757,7 @@ class LexadorGuarani extends lexador_base_1.LexadorBase {
|
|
|
16450
16757
|
}
|
|
16451
16758
|
exports.LexadorGuarani = LexadorGuarani;
|
|
16452
16759
|
|
|
16453
|
-
},{"../../tipos-de-simbolos/guarani":
|
|
16760
|
+
},{"../../tipos-de-simbolos/guarani":192,"../lexador-base":179,"./palavras-reservadas/guarani":172}],166:[function(require,module,exports){
|
|
16454
16761
|
"use strict";
|
|
16455
16762
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16456
16763
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -16901,7 +17208,7 @@ class LexadorPitugues {
|
|
|
16901
17208
|
}
|
|
16902
17209
|
exports.LexadorPitugues = LexadorPitugues;
|
|
16903
17210
|
|
|
16904
|
-
},{"../../tipos-de-simbolos/pitugues":
|
|
17211
|
+
},{"../../tipos-de-simbolos/pitugues":194,"../simbolo":183,"./palavras-reservadas/pitugues":173,"browser-process-hrtime":371}],167:[function(require,module,exports){
|
|
16905
17212
|
"use strict";
|
|
16906
17213
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16907
17214
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -17153,7 +17460,7 @@ class LexadorPortugolIpt {
|
|
|
17153
17460
|
}
|
|
17154
17461
|
exports.LexadorPortugolIpt = LexadorPortugolIpt;
|
|
17155
17462
|
|
|
17156
|
-
},{"../../tipos-de-simbolos/portugol-ipt":
|
|
17463
|
+
},{"../../tipos-de-simbolos/portugol-ipt":195,"../simbolo":183,"./palavras-reservadas/portugol-ipt":174}],168:[function(require,module,exports){
|
|
17157
17464
|
"use strict";
|
|
17158
17465
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17159
17466
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -17511,7 +17818,7 @@ class LexadorPrisma {
|
|
|
17511
17818
|
}
|
|
17512
17819
|
exports.LexadorPrisma = LexadorPrisma;
|
|
17513
17820
|
|
|
17514
|
-
},{"../../tipos-de-simbolos/prisma":
|
|
17821
|
+
},{"../../tipos-de-simbolos/prisma":196,"../simbolo":183,"./palavras-reservadas/prisma":175,"browser-process-hrtime":371}],169:[function(require,module,exports){
|
|
17515
17822
|
"use strict";
|
|
17516
17823
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17517
17824
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -17902,7 +18209,7 @@ class LexadorTenda {
|
|
|
17902
18209
|
}
|
|
17903
18210
|
exports.LexadorTenda = LexadorTenda;
|
|
17904
18211
|
|
|
17905
|
-
},{"../../tipos-de-simbolos/tenda":
|
|
18212
|
+
},{"../../tipos-de-simbolos/tenda":197,"../simbolo":183,"./palavras-reservadas/tenda":176,"browser-process-hrtime":371}],170:[function(require,module,exports){
|
|
17906
18213
|
"use strict";
|
|
17907
18214
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17908
18215
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -17923,7 +18230,7 @@ exports.default = {
|
|
|
17923
18230
|
fimSe: calango_1.default.FIM_SE,
|
|
17924
18231
|
};
|
|
17925
18232
|
|
|
17926
|
-
},{"../../../tipos-de-simbolos/calango":
|
|
18233
|
+
},{"../../../tipos-de-simbolos/calango":188}],171:[function(require,module,exports){
|
|
17927
18234
|
"use strict";
|
|
17928
18235
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17929
18236
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -17964,7 +18271,7 @@ exports.palavrasReservadas = {
|
|
|
17964
18271
|
verdadeiro: egua_classico_1.default.VERDADEIRO,
|
|
17965
18272
|
};
|
|
17966
18273
|
|
|
17967
|
-
},{"../../../tipos-de-simbolos/egua-classico":
|
|
18274
|
+
},{"../../../tipos-de-simbolos/egua-classico":191}],172:[function(require,module,exports){
|
|
17968
18275
|
"use strict";
|
|
17969
18276
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17970
18277
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -17976,7 +18283,7 @@ exports.palavrasReservadas = {
|
|
|
17976
18283
|
hai: guarani_1.default.HAI,
|
|
17977
18284
|
};
|
|
17978
18285
|
|
|
17979
|
-
},{"../../../tipos-de-simbolos/guarani":
|
|
18286
|
+
},{"../../../tipos-de-simbolos/guarani":192}],173:[function(require,module,exports){
|
|
17980
18287
|
"use strict";
|
|
17981
18288
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17982
18289
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -18041,7 +18348,7 @@ exports.palavrasReservadasMicroGramatica = {
|
|
|
18041
18348
|
verdadeiro: pitugues_1.default.VERDADEIRO,
|
|
18042
18349
|
};
|
|
18043
18350
|
|
|
18044
|
-
},{"../../../tipos-de-simbolos/pitugues":
|
|
18351
|
+
},{"../../../tipos-de-simbolos/pitugues":194}],174:[function(require,module,exports){
|
|
18045
18352
|
"use strict";
|
|
18046
18353
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18047
18354
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -18063,7 +18370,7 @@ exports.palavrasReservadas = {
|
|
|
18063
18370
|
senão: portugol_ipt_1.default.SENAO,
|
|
18064
18371
|
};
|
|
18065
18372
|
|
|
18066
|
-
},{"../../../tipos-de-simbolos/portugol-ipt":
|
|
18373
|
+
},{"../../../tipos-de-simbolos/portugol-ipt":195}],175:[function(require,module,exports){
|
|
18067
18374
|
"use strict";
|
|
18068
18375
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18069
18376
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -18111,7 +18418,7 @@ exports.palavrasReservadas = {
|
|
|
18111
18418
|
verdadeiro: prisma_1.default.VERDADEIRO,
|
|
18112
18419
|
};
|
|
18113
18420
|
|
|
18114
|
-
},{"../../../tipos-de-simbolos/prisma":
|
|
18421
|
+
},{"../../../tipos-de-simbolos/prisma":196}],176:[function(require,module,exports){
|
|
18115
18422
|
"use strict";
|
|
18116
18423
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18117
18424
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -18169,7 +18476,7 @@ exports.palavrasReservadas = {
|
|
|
18169
18476
|
Texto: tenda_1.default.BIBLIOTECA_GLOBAL,
|
|
18170
18477
|
};
|
|
18171
18478
|
|
|
18172
|
-
},{"../../../tipos-de-simbolos/tenda":
|
|
18479
|
+
},{"../../../tipos-de-simbolos/tenda":197}],177:[function(require,module,exports){
|
|
18173
18480
|
"use strict";
|
|
18174
18481
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18175
18482
|
if (k2 === undefined) k2 = k;
|
|
@@ -18192,7 +18499,7 @@ __exportStar(require("./lexador-base-linha-unica"), exports);
|
|
|
18192
18499
|
__exportStar(require("./micro-lexador"), exports);
|
|
18193
18500
|
__exportStar(require("./simbolo"), exports);
|
|
18194
18501
|
|
|
18195
|
-
},{"./dialetos":
|
|
18502
|
+
},{"./dialetos":162,"./lexador":180,"./lexador-base-linha-unica":178,"./micro-lexador":181,"./simbolo":183}],178:[function(require,module,exports){
|
|
18196
18503
|
"use strict";
|
|
18197
18504
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18198
18505
|
exports.LexadorBaseLinhaUnica = void 0;
|
|
@@ -18276,7 +18583,7 @@ class LexadorBaseLinhaUnica {
|
|
|
18276
18583
|
}
|
|
18277
18584
|
exports.LexadorBaseLinhaUnica = LexadorBaseLinhaUnica;
|
|
18278
18585
|
|
|
18279
|
-
},{"./simbolo":
|
|
18586
|
+
},{"./simbolo":183}],179:[function(require,module,exports){
|
|
18280
18587
|
"use strict";
|
|
18281
18588
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18282
18589
|
exports.LexadorBase = void 0;
|
|
@@ -18390,7 +18697,7 @@ class LexadorBase {
|
|
|
18390
18697
|
}
|
|
18391
18698
|
exports.LexadorBase = LexadorBase;
|
|
18392
18699
|
|
|
18393
|
-
},{"./simbolo":
|
|
18700
|
+
},{"./simbolo":183}],180:[function(require,module,exports){
|
|
18394
18701
|
"use strict";
|
|
18395
18702
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18396
18703
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -18861,7 +19168,7 @@ class Lexador {
|
|
|
18861
19168
|
}
|
|
18862
19169
|
exports.Lexador = Lexador;
|
|
18863
19170
|
|
|
18864
|
-
},{"../tipos-de-simbolos/delegua":
|
|
19171
|
+
},{"../tipos-de-simbolos/delegua":190,"./palavras-reservadas":182,"./simbolo":183,"browser-process-hrtime":371}],181:[function(require,module,exports){
|
|
18865
19172
|
"use strict";
|
|
18866
19173
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
18867
19174
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -19094,7 +19401,7 @@ class MicroLexador {
|
|
|
19094
19401
|
}
|
|
19095
19402
|
exports.MicroLexador = MicroLexador;
|
|
19096
19403
|
|
|
19097
|
-
},{"../tipos-de-simbolos/microgramaticas/delegua":
|
|
19404
|
+
},{"../tipos-de-simbolos/microgramaticas/delegua":193,"./palavras-reservadas":182,"./simbolo":183}],182:[function(require,module,exports){
|
|
19098
19405
|
"use strict";
|
|
19099
19406
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
19100
19407
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -19164,7 +19471,7 @@ exports.palavrasReservadasMicroGramatica = {
|
|
|
19164
19471
|
verdadeiro: delegua_1.default.VERDADEIRO,
|
|
19165
19472
|
};
|
|
19166
19473
|
|
|
19167
|
-
},{"../tipos-de-simbolos/delegua":
|
|
19474
|
+
},{"../tipos-de-simbolos/delegua":190}],183:[function(require,module,exports){
|
|
19168
19475
|
"use strict";
|
|
19169
19476
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19170
19477
|
exports.Simbolo = void 0;
|
|
@@ -19182,7 +19489,7 @@ class Simbolo {
|
|
|
19182
19489
|
}
|
|
19183
19490
|
exports.Simbolo = Simbolo;
|
|
19184
19491
|
|
|
19185
|
-
},{}],
|
|
19492
|
+
},{}],184:[function(require,module,exports){
|
|
19186
19493
|
"use strict";
|
|
19187
19494
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19188
19495
|
exports.ContinuarQuebra = exports.SustarQuebra = exports.RetornoQuebra = exports.Quebra = void 0;
|
|
@@ -19207,7 +19514,7 @@ class ContinuarQuebra extends Quebra {
|
|
|
19207
19514
|
}
|
|
19208
19515
|
exports.ContinuarQuebra = ContinuarQuebra;
|
|
19209
19516
|
|
|
19210
|
-
},{}],
|
|
19517
|
+
},{}],185:[function(require,module,exports){
|
|
19211
19518
|
"use strict";
|
|
19212
19519
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19213
19520
|
exports.default = {
|
|
@@ -19237,7 +19544,7 @@ exports.default = {
|
|
|
19237
19544
|
VETOR_TEXTO: 'texto[]',
|
|
19238
19545
|
};
|
|
19239
19546
|
|
|
19240
|
-
},{}],
|
|
19547
|
+
},{}],186:[function(require,module,exports){
|
|
19241
19548
|
"use strict";
|
|
19242
19549
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19243
19550
|
exports.default = {
|
|
@@ -19267,7 +19574,7 @@ exports.default = {
|
|
|
19267
19574
|
VETOR_TEXTO: 'texto[]',
|
|
19268
19575
|
};
|
|
19269
19576
|
|
|
19270
|
-
},{}],
|
|
19577
|
+
},{}],187:[function(require,module,exports){
|
|
19271
19578
|
"use strict";
|
|
19272
19579
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19273
19580
|
exports.default = {
|
|
@@ -19286,7 +19593,7 @@ exports.default = {
|
|
|
19286
19593
|
TEXTO: 'string',
|
|
19287
19594
|
};
|
|
19288
19595
|
|
|
19289
|
-
},{}],
|
|
19596
|
+
},{}],188:[function(require,module,exports){
|
|
19290
19597
|
"use strict";
|
|
19291
19598
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19292
19599
|
exports.default = {
|
|
@@ -19330,7 +19637,7 @@ exports.default = {
|
|
|
19330
19637
|
VIRGULA: 'VIRGULA',
|
|
19331
19638
|
};
|
|
19332
19639
|
|
|
19333
|
-
},{}],
|
|
19640
|
+
},{}],189:[function(require,module,exports){
|
|
19334
19641
|
"use strict";
|
|
19335
19642
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19336
19643
|
exports.default = {
|
|
@@ -19356,7 +19663,7 @@ exports.default = {
|
|
|
19356
19663
|
VIRGULA: 'VIRGULA',
|
|
19357
19664
|
};
|
|
19358
19665
|
|
|
19359
|
-
},{}],
|
|
19666
|
+
},{}],190:[function(require,module,exports){
|
|
19360
19667
|
"use strict";
|
|
19361
19668
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19362
19669
|
exports.default = {
|
|
@@ -19457,7 +19764,7 @@ exports.default = {
|
|
|
19457
19764
|
VIRGULA: 'VIRGULA',
|
|
19458
19765
|
};
|
|
19459
19766
|
|
|
19460
|
-
},{}],
|
|
19767
|
+
},{}],191:[function(require,module,exports){
|
|
19461
19768
|
"use strict";
|
|
19462
19769
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19463
19770
|
exports.default = {
|
|
@@ -19535,7 +19842,7 @@ exports.default = {
|
|
|
19535
19842
|
VIRGULA: 'VIRGULA',
|
|
19536
19843
|
};
|
|
19537
19844
|
|
|
19538
|
-
},{}],
|
|
19845
|
+
},{}],192:[function(require,module,exports){
|
|
19539
19846
|
"use strict";
|
|
19540
19847
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19541
19848
|
exports.default = {
|
|
@@ -19552,7 +19859,7 @@ exports.default = {
|
|
|
19552
19859
|
VIRGULA: 'VIRGULA',
|
|
19553
19860
|
};
|
|
19554
19861
|
|
|
19555
|
-
},{}],
|
|
19862
|
+
},{}],193:[function(require,module,exports){
|
|
19556
19863
|
"use strict";
|
|
19557
19864
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19558
19865
|
exports.default = {
|
|
@@ -19605,7 +19912,7 @@ exports.default = {
|
|
|
19605
19912
|
VIRGULA: 'VIRGULA',
|
|
19606
19913
|
};
|
|
19607
19914
|
|
|
19608
|
-
},{}],
|
|
19915
|
+
},{}],194:[function(require,module,exports){
|
|
19609
19916
|
"use strict";
|
|
19610
19917
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19611
19918
|
exports.default = {
|
|
@@ -19692,7 +19999,7 @@ exports.default = {
|
|
|
19692
19999
|
VIRGULA: 'VIRGULA',
|
|
19693
20000
|
};
|
|
19694
20001
|
|
|
19695
|
-
},{}],
|
|
20002
|
+
},{}],195:[function(require,module,exports){
|
|
19696
20003
|
"use strict";
|
|
19697
20004
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19698
20005
|
exports.default = {
|
|
@@ -19731,7 +20038,7 @@ exports.default = {
|
|
|
19731
20038
|
VIRGULA: 'VIRGULA',
|
|
19732
20039
|
};
|
|
19733
20040
|
|
|
19734
|
-
},{}],
|
|
20041
|
+
},{}],196:[function(require,module,exports){
|
|
19735
20042
|
"use strict";
|
|
19736
20043
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19737
20044
|
exports.default = {
|
|
@@ -19811,7 +20118,7 @@ exports.default = {
|
|
|
19811
20118
|
VIRGULA: 'VIRGULA',
|
|
19812
20119
|
};
|
|
19813
20120
|
|
|
19814
|
-
},{}],
|
|
20121
|
+
},{}],197:[function(require,module,exports){
|
|
19815
20122
|
"use strict";
|
|
19816
20123
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19817
20124
|
// Em Tenda, isto é implementado em https://github.com/gabrielbrunop/tenda/blob/main/crates/scanner/src/token.rs#L42.
|
|
@@ -19906,7 +20213,7 @@ exports.default = {
|
|
|
19906
20213
|
VIRGULA: 'VIRGULA',
|
|
19907
20214
|
};
|
|
19908
20215
|
|
|
19909
|
-
},{}],
|
|
20216
|
+
},{}],198:[function(require,module,exports){
|
|
19910
20217
|
"use strict";
|
|
19911
20218
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
19912
20219
|
if (k2 === undefined) k2 = k;
|
|
@@ -19933,7 +20240,7 @@ __exportStar(require("./tradutor-reverso-javascript"), exports);
|
|
|
19933
20240
|
__exportStar(require("./tradutor-reverso-python"), exports);
|
|
19934
20241
|
__exportStar(require("./tradutor-reverso-tenda"), exports);
|
|
19935
20242
|
|
|
19936
|
-
},{"./tradutor-assemblyscript":
|
|
20243
|
+
},{"./tradutor-assemblyscript":201,"./tradutor-calango":202,"./tradutor-javascript":203,"./tradutor-mermaidjs":204,"./tradutor-portugol-ipt":205,"./tradutor-python":206,"./tradutor-reverso-javascript":207,"./tradutor-reverso-python":208,"./tradutor-reverso-tenda":209}],199:[function(require,module,exports){
|
|
19937
20244
|
"use strict";
|
|
19938
20245
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
19939
20246
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -21173,7 +21480,7 @@ __decorate([
|
|
|
21173
21480
|
Decorators_1.Override
|
|
21174
21481
|
], Python3Lexer.prototype, "nextToken", null);
|
|
21175
21482
|
|
|
21176
|
-
},{"./python3-parser":
|
|
21483
|
+
},{"./python3-parser":200,"antlr4ts/CommonToken":219,"antlr4ts/Decorators":223,"antlr4ts/Lexer":231,"antlr4ts/Token":248,"antlr4ts/VocabularyImpl":254,"antlr4ts/atn/ATNDeserializer":260,"antlr4ts/atn/LexerATNSimulator":281,"antlr4ts/misc/Utils":342}],200:[function(require,module,exports){
|
|
21177
21484
|
"use strict";
|
|
21178
21485
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
21179
21486
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -32420,7 +32727,7 @@ class Yield_argContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
32420
32727
|
}
|
|
32421
32728
|
exports.Yield_argContext = Yield_argContext;
|
|
32422
32729
|
|
|
32423
|
-
},{"antlr4ts/FailedPredicateException":
|
|
32730
|
+
},{"antlr4ts/FailedPredicateException":227,"antlr4ts/NoViableAltException":235,"antlr4ts/Parser":236,"antlr4ts/ParserRuleContext":239,"antlr4ts/RecognitionException":242,"antlr4ts/Token":248,"antlr4ts/VocabularyImpl":254,"antlr4ts/atn/ATN":256,"antlr4ts/atn/ATNDeserializer":260,"antlr4ts/atn/ParserATNSimulator":297,"antlr4ts/misc/Utils":342}],201:[function(require,module,exports){
|
|
32424
32731
|
"use strict";
|
|
32425
32732
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
32426
32733
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -33055,7 +33362,7 @@ class TradutorAssemblyScript {
|
|
|
33055
33362
|
}
|
|
33056
33363
|
exports.TradutorAssemblyScript = TradutorAssemblyScript;
|
|
33057
33364
|
|
|
33058
|
-
},{"../construtos":51,"../declaracoes":96,"../tipos-de-simbolos/delegua":
|
|
33365
|
+
},{"../construtos":51,"../declaracoes":96,"../tipos-de-simbolos/delegua":190}],202:[function(require,module,exports){
|
|
33059
33366
|
"use strict";
|
|
33060
33367
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33061
33368
|
exports.TradutorCalango = void 0;
|
|
@@ -33117,7 +33424,7 @@ class TradutorCalango {
|
|
|
33117
33424
|
}
|
|
33118
33425
|
exports.TradutorCalango = TradutorCalango;
|
|
33119
33426
|
|
|
33120
|
-
},{"../avaliador-sintatico/dialetos/avaliador-sintatico-calango":4,"../lexador/dialetos":
|
|
33427
|
+
},{"../avaliador-sintatico/dialetos/avaliador-sintatico-calango":4,"../lexador/dialetos":162}],203:[function(require,module,exports){
|
|
33121
33428
|
"use strict";
|
|
33122
33429
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
33123
33430
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -33870,7 +34177,7 @@ class TradutorJavaScript {
|
|
|
33870
34177
|
}
|
|
33871
34178
|
exports.TradutorJavaScript = TradutorJavaScript;
|
|
33872
34179
|
|
|
33873
|
-
},{"../construtos":51,"../declaracoes":96,"../tipos-de-simbolos/delegua":
|
|
34180
|
+
},{"../construtos":51,"../declaracoes":96,"../tipos-de-simbolos/delegua":190}],204:[function(require,module,exports){
|
|
33874
34181
|
"use strict";
|
|
33875
34182
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
33876
34183
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -34324,7 +34631,7 @@ class TradutorMermaidJs {
|
|
|
34324
34631
|
}
|
|
34325
34632
|
exports.TradutorMermaidJs = TradutorMermaidJs;
|
|
34326
34633
|
|
|
34327
|
-
},{"../tipos-de-simbolos/delegua":
|
|
34634
|
+
},{"../tipos-de-simbolos/delegua":190}],205:[function(require,module,exports){
|
|
34328
34635
|
"use strict";
|
|
34329
34636
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34330
34637
|
exports.TradutorPortugolIpt = void 0;
|
|
@@ -34386,7 +34693,7 @@ class TradutorPortugolIpt {
|
|
|
34386
34693
|
}
|
|
34387
34694
|
exports.TradutorPortugolIpt = TradutorPortugolIpt;
|
|
34388
34695
|
|
|
34389
|
-
},{"../avaliador-sintatico/dialetos":10,"../lexador/dialetos":
|
|
34696
|
+
},{"../avaliador-sintatico/dialetos":10,"../lexador/dialetos":162}],206:[function(require,module,exports){
|
|
34390
34697
|
"use strict";
|
|
34391
34698
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
34392
34699
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -35035,7 +35342,7 @@ class TradutorPython {
|
|
|
35035
35342
|
}
|
|
35036
35343
|
exports.TradutorPython = TradutorPython;
|
|
35037
35344
|
|
|
35038
|
-
},{"../construtos":51,"../declaracoes":96,"../tipos-de-simbolos/delegua":
|
|
35345
|
+
},{"../construtos":51,"../declaracoes":96,"../tipos-de-simbolos/delegua":190}],207:[function(require,module,exports){
|
|
35039
35346
|
"use strict";
|
|
35040
35347
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35041
35348
|
exports.TradutorReversoJavaScript = void 0;
|
|
@@ -35432,7 +35739,7 @@ class TradutorReversoJavaScript {
|
|
|
35432
35739
|
}
|
|
35433
35740
|
exports.TradutorReversoJavaScript = TradutorReversoJavaScript;
|
|
35434
35741
|
|
|
35435
|
-
},{}],
|
|
35742
|
+
},{}],208:[function(require,module,exports){
|
|
35436
35743
|
"use strict";
|
|
35437
35744
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35438
35745
|
exports.TradutorReversoPython = void 0;
|
|
@@ -35505,7 +35812,7 @@ class TradutorReversoPython {
|
|
|
35505
35812
|
}
|
|
35506
35813
|
exports.TradutorReversoPython = TradutorReversoPython;
|
|
35507
35814
|
|
|
35508
|
-
},{"./python/python3-lexer":
|
|
35815
|
+
},{"./python/python3-lexer":199,"./python/python3-parser":200,"antlr4ts":325,"antlr4ts/tree/ParseTreeWalker":344}],209:[function(require,module,exports){
|
|
35509
35816
|
"use strict";
|
|
35510
35817
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
35511
35818
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -36099,7 +36406,7 @@ class TradutorReversoTenda {
|
|
|
36099
36406
|
}
|
|
36100
36407
|
exports.TradutorReversoTenda = TradutorReversoTenda;
|
|
36101
36408
|
|
|
36102
|
-
},{"../construtos":51,"../tipos-de-simbolos/tenda":
|
|
36409
|
+
},{"../construtos":51,"../tipos-de-simbolos/tenda":197}],210:[function(require,module,exports){
|
|
36103
36410
|
"use strict";
|
|
36104
36411
|
/*!
|
|
36105
36412
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36107,7 +36414,7 @@ exports.TradutorReversoTenda = TradutorReversoTenda;
|
|
|
36107
36414
|
*/
|
|
36108
36415
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36109
36416
|
|
|
36110
|
-
},{}],
|
|
36417
|
+
},{}],211:[function(require,module,exports){
|
|
36111
36418
|
"use strict";
|
|
36112
36419
|
/*!
|
|
36113
36420
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36115,7 +36422,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
36115
36422
|
*/
|
|
36116
36423
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36117
36424
|
|
|
36118
|
-
},{}],
|
|
36425
|
+
},{}],212:[function(require,module,exports){
|
|
36119
36426
|
"use strict";
|
|
36120
36427
|
/*!
|
|
36121
36428
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36277,7 +36584,7 @@ __decorate([
|
|
|
36277
36584
|
], ANTLRInputStream.prototype, "toString", null);
|
|
36278
36585
|
exports.ANTLRInputStream = ANTLRInputStream;
|
|
36279
36586
|
|
|
36280
|
-
},{"./Decorators":
|
|
36587
|
+
},{"./Decorators":223,"./IntStream":229,"assert":366}],213:[function(require,module,exports){
|
|
36281
36588
|
"use strict";
|
|
36282
36589
|
/*!
|
|
36283
36590
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36360,7 +36667,7 @@ __decorate([
|
|
|
36360
36667
|
], BailErrorStrategy.prototype, "sync", null);
|
|
36361
36668
|
exports.BailErrorStrategy = BailErrorStrategy;
|
|
36362
36669
|
|
|
36363
|
-
},{"./Decorators":
|
|
36670
|
+
},{"./Decorators":223,"./DefaultErrorStrategy":224,"./InputMismatchException":228,"./misc/ParseCancellationException":340}],214:[function(require,module,exports){
|
|
36364
36671
|
"use strict";
|
|
36365
36672
|
/*!
|
|
36366
36673
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36850,7 +37157,7 @@ BufferedTokenStream = __decorate([
|
|
|
36850
37157
|
], BufferedTokenStream);
|
|
36851
37158
|
exports.BufferedTokenStream = BufferedTokenStream;
|
|
36852
37159
|
|
|
36853
|
-
},{"./CommonToken":
|
|
37160
|
+
},{"./CommonToken":219,"./Decorators":223,"./Lexer":231,"./Token":248,"./misc/Interval":335,"assert":366}],215:[function(require,module,exports){
|
|
36854
37161
|
"use strict";
|
|
36855
37162
|
/*!
|
|
36856
37163
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36858,7 +37165,7 @@ exports.BufferedTokenStream = BufferedTokenStream;
|
|
|
36858
37165
|
*/
|
|
36859
37166
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36860
37167
|
|
|
36861
|
-
},{}],
|
|
37168
|
+
},{}],216:[function(require,module,exports){
|
|
36862
37169
|
"use strict";
|
|
36863
37170
|
/*!
|
|
36864
37171
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36992,7 +37299,7 @@ var CharStreams;
|
|
|
36992
37299
|
// }
|
|
36993
37300
|
})(CharStreams = exports.CharStreams || (exports.CharStreams = {}));
|
|
36994
37301
|
|
|
36995
|
-
},{"./CodePointBuffer":
|
|
37302
|
+
},{"./CodePointBuffer":217,"./CodePointCharStream":218,"./IntStream":229}],217:[function(require,module,exports){
|
|
36996
37303
|
"use strict";
|
|
36997
37304
|
/*!
|
|
36998
37305
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37227,7 +37534,7 @@ exports.CodePointBuffer = CodePointBuffer;
|
|
|
37227
37534
|
CodePointBuffer.Builder = Builder;
|
|
37228
37535
|
})(CodePointBuffer = exports.CodePointBuffer || (exports.CodePointBuffer = {}));
|
|
37229
37536
|
|
|
37230
|
-
},{"./misc/Character":
|
|
37537
|
+
},{"./misc/Character":331,"assert":366}],218:[function(require,module,exports){
|
|
37231
37538
|
"use strict";
|
|
37232
37539
|
/*!
|
|
37233
37540
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37377,7 +37684,7 @@ __decorate([
|
|
|
37377
37684
|
], CodePointCharStream.prototype, "getText", null);
|
|
37378
37685
|
exports.CodePointCharStream = CodePointCharStream;
|
|
37379
37686
|
|
|
37380
|
-
},{"./Decorators":
|
|
37687
|
+
},{"./Decorators":223,"./IntStream":229,"./misc/Interval":335,"assert":366}],219:[function(require,module,exports){
|
|
37381
37688
|
"use strict";
|
|
37382
37689
|
/*!
|
|
37383
37690
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37607,7 +37914,7 @@ CommonToken = __decorate([
|
|
|
37607
37914
|
], CommonToken);
|
|
37608
37915
|
exports.CommonToken = CommonToken;
|
|
37609
37916
|
|
|
37610
|
-
},{"./Decorators":
|
|
37917
|
+
},{"./Decorators":223,"./Token":248,"./misc/Interval":335}],220:[function(require,module,exports){
|
|
37611
37918
|
"use strict";
|
|
37612
37919
|
/*!
|
|
37613
37920
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37671,7 +37978,7 @@ exports.CommonTokenFactory = CommonTokenFactory;
|
|
|
37671
37978
|
CommonTokenFactory.DEFAULT = new CommonTokenFactory();
|
|
37672
37979
|
})(CommonTokenFactory = exports.CommonTokenFactory || (exports.CommonTokenFactory = {}));
|
|
37673
37980
|
|
|
37674
|
-
},{"./CommonToken":
|
|
37981
|
+
},{"./CommonToken":219,"./Decorators":223,"./misc/Interval":335}],221:[function(require,module,exports){
|
|
37675
37982
|
"use strict";
|
|
37676
37983
|
/*!
|
|
37677
37984
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37798,7 +38105,7 @@ CommonTokenStream = __decorate([
|
|
|
37798
38105
|
], CommonTokenStream);
|
|
37799
38106
|
exports.CommonTokenStream = CommonTokenStream;
|
|
37800
38107
|
|
|
37801
|
-
},{"./BufferedTokenStream":
|
|
38108
|
+
},{"./BufferedTokenStream":214,"./Decorators":223,"./Token":248}],222:[function(require,module,exports){
|
|
37802
38109
|
"use strict";
|
|
37803
38110
|
/*!
|
|
37804
38111
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37832,7 +38139,7 @@ exports.ConsoleErrorListener = ConsoleErrorListener;
|
|
|
37832
38139
|
*/
|
|
37833
38140
|
ConsoleErrorListener.INSTANCE = new ConsoleErrorListener();
|
|
37834
38141
|
|
|
37835
|
-
},{}],
|
|
38142
|
+
},{}],223:[function(require,module,exports){
|
|
37836
38143
|
"use strict";
|
|
37837
38144
|
/*!
|
|
37838
38145
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37859,7 +38166,7 @@ function SuppressWarnings(options) {
|
|
|
37859
38166
|
}
|
|
37860
38167
|
exports.SuppressWarnings = SuppressWarnings;
|
|
37861
38168
|
|
|
37862
|
-
},{}],
|
|
38169
|
+
},{}],224:[function(require,module,exports){
|
|
37863
38170
|
"use strict";
|
|
37864
38171
|
/*!
|
|
37865
38172
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38673,7 +38980,7 @@ __decorate([
|
|
|
38673
38980
|
], DefaultErrorStrategy.prototype, "consumeUntil", null);
|
|
38674
38981
|
exports.DefaultErrorStrategy = DefaultErrorStrategy;
|
|
38675
38982
|
|
|
38676
|
-
},{"./Decorators":
|
|
38983
|
+
},{"./Decorators":223,"./FailedPredicateException":227,"./InputMismatchException":228,"./NoViableAltException":235,"./Token":248,"./atn/ATNState":262,"./atn/ATNStateType":263,"./atn/PredictionContext":303,"./misc/IntervalSet":336}],225:[function(require,module,exports){
|
|
38677
38984
|
"use strict";
|
|
38678
38985
|
/*!
|
|
38679
38986
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38749,7 +39056,7 @@ var Dependents;
|
|
|
38749
39056
|
Dependents[Dependents["FOLLOWING"] = 9] = "FOLLOWING";
|
|
38750
39057
|
})(Dependents = exports.Dependents || (exports.Dependents = {}));
|
|
38751
39058
|
|
|
38752
|
-
},{}],
|
|
39059
|
+
},{}],226:[function(require,module,exports){
|
|
38753
39060
|
"use strict";
|
|
38754
39061
|
/*!
|
|
38755
39062
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38897,7 +39204,7 @@ __decorate([
|
|
|
38897
39204
|
], DiagnosticErrorListener.prototype, "getConflictingAlts", null);
|
|
38898
39205
|
exports.DiagnosticErrorListener = DiagnosticErrorListener;
|
|
38899
39206
|
|
|
38900
|
-
},{"./Decorators":
|
|
39207
|
+
},{"./Decorators":223,"./misc/BitSet":330,"./misc/Interval":335}],227:[function(require,module,exports){
|
|
38901
39208
|
"use strict";
|
|
38902
39209
|
/*!
|
|
38903
39210
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38962,7 +39269,7 @@ FailedPredicateException = __decorate([
|
|
|
38962
39269
|
], FailedPredicateException);
|
|
38963
39270
|
exports.FailedPredicateException = FailedPredicateException;
|
|
38964
39271
|
|
|
38965
|
-
},{"./Decorators":
|
|
39272
|
+
},{"./Decorators":223,"./RecognitionException":242,"./atn/PredicateTransition":302}],228:[function(require,module,exports){
|
|
38966
39273
|
"use strict";
|
|
38967
39274
|
/*!
|
|
38968
39275
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39002,7 +39309,7 @@ InputMismatchException = __decorate([
|
|
|
39002
39309
|
], InputMismatchException);
|
|
39003
39310
|
exports.InputMismatchException = InputMismatchException;
|
|
39004
39311
|
|
|
39005
|
-
},{"./Decorators":
|
|
39312
|
+
},{"./Decorators":223,"./RecognitionException":242}],229:[function(require,module,exports){
|
|
39006
39313
|
"use strict";
|
|
39007
39314
|
/*!
|
|
39008
39315
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39025,7 +39332,7 @@ var IntStream;
|
|
|
39025
39332
|
IntStream.UNKNOWN_SOURCE_NAME = "<unknown>";
|
|
39026
39333
|
})(IntStream = exports.IntStream || (exports.IntStream = {}));
|
|
39027
39334
|
|
|
39028
|
-
},{}],
|
|
39335
|
+
},{}],230:[function(require,module,exports){
|
|
39029
39336
|
"use strict";
|
|
39030
39337
|
/*!
|
|
39031
39338
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39072,7 +39379,7 @@ __decorate([
|
|
|
39072
39379
|
], InterpreterRuleContext.prototype, "ruleIndex", null);
|
|
39073
39380
|
exports.InterpreterRuleContext = InterpreterRuleContext;
|
|
39074
39381
|
|
|
39075
|
-
},{"./Decorators":
|
|
39382
|
+
},{"./Decorators":223,"./ParserRuleContext":239}],231:[function(require,module,exports){
|
|
39076
39383
|
"use strict";
|
|
39077
39384
|
/*!
|
|
39078
39385
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39408,7 +39715,7 @@ __decorate([
|
|
|
39408
39715
|
], Lexer.prototype, "charPositionInLine", null);
|
|
39409
39716
|
exports.Lexer = Lexer;
|
|
39410
39717
|
|
|
39411
|
-
},{"./CommonTokenFactory":
|
|
39718
|
+
},{"./CommonTokenFactory":220,"./Decorators":223,"./IntStream":229,"./LexerNoViableAltException":233,"./Recognizer":243,"./Token":248,"./atn/LexerATNSimulator":281,"./misc/IntegerStack":334,"./misc/Interval":335}],232:[function(require,module,exports){
|
|
39412
39719
|
"use strict";
|
|
39413
39720
|
/*!
|
|
39414
39721
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39488,7 +39795,7 @@ LexerInterpreter = __decorate([
|
|
|
39488
39795
|
], LexerInterpreter);
|
|
39489
39796
|
exports.LexerInterpreter = LexerInterpreter;
|
|
39490
39797
|
|
|
39491
|
-
},{"./Decorators":
|
|
39798
|
+
},{"./Decorators":223,"./Lexer":231,"./atn/LexerATNSimulator":281}],233:[function(require,module,exports){
|
|
39492
39799
|
"use strict";
|
|
39493
39800
|
/*!
|
|
39494
39801
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39545,7 +39852,7 @@ LexerNoViableAltException = __decorate([
|
|
|
39545
39852
|
], LexerNoViableAltException);
|
|
39546
39853
|
exports.LexerNoViableAltException = LexerNoViableAltException;
|
|
39547
39854
|
|
|
39548
|
-
},{"./Decorators":
|
|
39855
|
+
},{"./Decorators":223,"./RecognitionException":242,"./misc/Interval":335,"./misc/Utils":342}],234:[function(require,module,exports){
|
|
39549
39856
|
"use strict";
|
|
39550
39857
|
/*!
|
|
39551
39858
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39755,7 +40062,7 @@ ListTokenSource = __decorate([
|
|
|
39755
40062
|
], ListTokenSource);
|
|
39756
40063
|
exports.ListTokenSource = ListTokenSource;
|
|
39757
40064
|
|
|
39758
|
-
},{"./CommonTokenFactory":
|
|
40065
|
+
},{"./CommonTokenFactory":220,"./Decorators":223,"./Token":248}],235:[function(require,module,exports){
|
|
39759
40066
|
"use strict";
|
|
39760
40067
|
/*!
|
|
39761
40068
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39810,7 +40117,7 @@ __decorate([
|
|
|
39810
40117
|
], NoViableAltException.prototype, "_startToken", void 0);
|
|
39811
40118
|
exports.NoViableAltException = NoViableAltException;
|
|
39812
40119
|
|
|
39813
|
-
},{"./Decorators":
|
|
40120
|
+
},{"./Decorators":223,"./Parser":236,"./RecognitionException":242}],236:[function(require,module,exports){
|
|
39814
40121
|
(function (process){(function (){
|
|
39815
40122
|
"use strict";
|
|
39816
40123
|
/*!
|
|
@@ -40656,7 +40963,7 @@ __decorate([
|
|
|
40656
40963
|
exports.Parser = Parser;
|
|
40657
40964
|
|
|
40658
40965
|
}).call(this)}).call(this,require('_process'))
|
|
40659
|
-
},{"./Decorators":
|
|
40966
|
+
},{"./Decorators":223,"./DefaultErrorStrategy":224,"./Lexer":231,"./ProxyParserErrorListener":241,"./Recognizer":243,"./Token":248,"./atn/ATNDeserializationOptions":259,"./atn/ATNDeserializer":260,"./atn/ParseInfo":296,"./atn/ParserATNSimulator":297,"./atn/ProfilingATNSimulator":306,"./misc/IntegerStack":334,"./misc/Utils":342,"./tree/ErrorNode":343,"./tree/TerminalNode":346,"./tree/pattern/ParseTreePatternMatcher":351,"_process":425}],237:[function(require,module,exports){
|
|
40660
40967
|
"use strict";
|
|
40661
40968
|
/*!
|
|
40662
40969
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40664,7 +40971,7 @@ exports.Parser = Parser;
|
|
|
40664
40971
|
*/
|
|
40665
40972
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40666
40973
|
|
|
40667
|
-
},{}],
|
|
40974
|
+
},{}],238:[function(require,module,exports){
|
|
40668
40975
|
"use strict";
|
|
40669
40976
|
/*!
|
|
40670
40977
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41072,7 +41379,7 @@ ParserInterpreter = __decorate([
|
|
|
41072
41379
|
], ParserInterpreter);
|
|
41073
41380
|
exports.ParserInterpreter = ParserInterpreter;
|
|
41074
41381
|
|
|
41075
|
-
},{"./Decorators":
|
|
41382
|
+
},{"./Decorators":223,"./FailedPredicateException":227,"./InputMismatchException":228,"./InterpreterRuleContext":230,"./Parser":236,"./RecognitionException":242,"./Token":248,"./atn/ATNState":262,"./atn/ATNStateType":263,"./atn/LoopEndState":293,"./atn/ParserATNSimulator":297,"./atn/StarLoopEntryState":315,"./misc/BitSet":330}],239:[function(require,module,exports){
|
|
41076
41383
|
"use strict";
|
|
41077
41384
|
/*!
|
|
41078
41385
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41373,7 +41680,7 @@ __decorate([
|
|
|
41373
41680
|
], ParserRuleContext.prototype, "sourceInterval", null);
|
|
41374
41681
|
exports.ParserRuleContext = ParserRuleContext;
|
|
41375
41682
|
|
|
41376
|
-
},{"./Decorators":
|
|
41683
|
+
},{"./Decorators":223,"./RuleContext":244,"./misc/Interval":335,"./tree/ErrorNode":343,"./tree/TerminalNode":346}],240:[function(require,module,exports){
|
|
41377
41684
|
"use strict";
|
|
41378
41685
|
/*!
|
|
41379
41686
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41423,7 +41730,7 @@ __decorate([
|
|
|
41423
41730
|
], ProxyErrorListener.prototype, "syntaxError", null);
|
|
41424
41731
|
exports.ProxyErrorListener = ProxyErrorListener;
|
|
41425
41732
|
|
|
41426
|
-
},{"./Decorators":
|
|
41733
|
+
},{"./Decorators":223}],241:[function(require,module,exports){
|
|
41427
41734
|
"use strict";
|
|
41428
41735
|
/*!
|
|
41429
41736
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41482,7 +41789,7 @@ __decorate([
|
|
|
41482
41789
|
], ProxyParserErrorListener.prototype, "reportContextSensitivity", null);
|
|
41483
41790
|
exports.ProxyParserErrorListener = ProxyParserErrorListener;
|
|
41484
41791
|
|
|
41485
|
-
},{"./Decorators":
|
|
41792
|
+
},{"./Decorators":223,"./ProxyErrorListener":240}],242:[function(require,module,exports){
|
|
41486
41793
|
"use strict";
|
|
41487
41794
|
/*!
|
|
41488
41795
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41587,7 +41894,7 @@ class RecognitionException extends Error {
|
|
|
41587
41894
|
}
|
|
41588
41895
|
exports.RecognitionException = RecognitionException;
|
|
41589
41896
|
|
|
41590
|
-
},{}],
|
|
41897
|
+
},{}],243:[function(require,module,exports){
|
|
41591
41898
|
"use strict";
|
|
41592
41899
|
/*!
|
|
41593
41900
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41806,7 +42113,7 @@ __decorate([
|
|
|
41806
42113
|
], Recognizer.prototype, "getErrorListeners", null);
|
|
41807
42114
|
exports.Recognizer = Recognizer;
|
|
41808
42115
|
|
|
41809
|
-
},{"./ConsoleErrorListener":
|
|
42116
|
+
},{"./ConsoleErrorListener":222,"./Decorators":223,"./ProxyErrorListener":240,"./Token":248,"./misc/Utils":342}],244:[function(require,module,exports){
|
|
41810
42117
|
"use strict";
|
|
41811
42118
|
/*!
|
|
41812
42119
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42023,7 +42330,7 @@ __decorate([
|
|
|
42023
42330
|
], RuleContext.prototype, "toStringTree", null);
|
|
42024
42331
|
exports.RuleContext = RuleContext;
|
|
42025
42332
|
|
|
42026
|
-
},{"./Decorators":
|
|
42333
|
+
},{"./Decorators":223,"./ParserRuleContext":239,"./Recognizer":243,"./atn/ATN":256,"./misc/Interval":335,"./tree/RuleNode":345,"./tree/Trees":347}],245:[function(require,module,exports){
|
|
42027
42334
|
"use strict";
|
|
42028
42335
|
/*!
|
|
42029
42336
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42074,7 +42381,7 @@ __decorate([
|
|
|
42074
42381
|
], RuleContextWithAltNum.prototype, "altNumber", null);
|
|
42075
42382
|
exports.RuleContextWithAltNum = RuleContextWithAltNum;
|
|
42076
42383
|
|
|
42077
|
-
},{"./Decorators":
|
|
42384
|
+
},{"./Decorators":223,"./ParserRuleContext":239,"./atn/ATN":256}],246:[function(require,module,exports){
|
|
42078
42385
|
"use strict";
|
|
42079
42386
|
/*!
|
|
42080
42387
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42097,7 +42404,7 @@ function RuleDependency(dependency) {
|
|
|
42097
42404
|
}
|
|
42098
42405
|
exports.RuleDependency = RuleDependency;
|
|
42099
42406
|
|
|
42100
|
-
},{}],
|
|
42407
|
+
},{}],247:[function(require,module,exports){
|
|
42101
42408
|
"use strict";
|
|
42102
42409
|
/*!
|
|
42103
42410
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42116,7 +42423,7 @@ function RuleVersion(version) {
|
|
|
42116
42423
|
}
|
|
42117
42424
|
exports.RuleVersion = RuleVersion;
|
|
42118
42425
|
|
|
42119
|
-
},{}],
|
|
42426
|
+
},{}],248:[function(require,module,exports){
|
|
42120
42427
|
"use strict";
|
|
42121
42428
|
/*!
|
|
42122
42429
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42156,7 +42463,7 @@ var Token;
|
|
|
42156
42463
|
Token.MIN_USER_CHANNEL_VALUE = 2;
|
|
42157
42464
|
})(Token = exports.Token || (exports.Token = {}));
|
|
42158
42465
|
|
|
42159
|
-
},{"./IntStream":
|
|
42466
|
+
},{"./IntStream":229}],249:[function(require,module,exports){
|
|
42160
42467
|
"use strict";
|
|
42161
42468
|
/*!
|
|
42162
42469
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42164,7 +42471,7 @@ var Token;
|
|
|
42164
42471
|
*/
|
|
42165
42472
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42166
42473
|
|
|
42167
|
-
},{}],
|
|
42474
|
+
},{}],250:[function(require,module,exports){
|
|
42168
42475
|
"use strict";
|
|
42169
42476
|
/*!
|
|
42170
42477
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42172,7 +42479,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
42172
42479
|
*/
|
|
42173
42480
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42174
42481
|
|
|
42175
|
-
},{}],
|
|
42482
|
+
},{}],251:[function(require,module,exports){
|
|
42176
42483
|
"use strict";
|
|
42177
42484
|
/*!
|
|
42178
42485
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42180,7 +42487,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
42180
42487
|
*/
|
|
42181
42488
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42182
42489
|
|
|
42183
|
-
},{}],
|
|
42490
|
+
},{}],252:[function(require,module,exports){
|
|
42184
42491
|
"use strict";
|
|
42185
42492
|
/*!
|
|
42186
42493
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42688,7 +42995,7 @@ __decorate([
|
|
|
42688
42995
|
Decorators_1.Override
|
|
42689
42996
|
], ReplaceOp.prototype, "toString", null);
|
|
42690
42997
|
|
|
42691
|
-
},{"./Decorators":
|
|
42998
|
+
},{"./Decorators":223,"./Token":248,"./misc/Interval":335}],253:[function(require,module,exports){
|
|
42692
42999
|
"use strict";
|
|
42693
43000
|
/*!
|
|
42694
43001
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42696,7 +43003,7 @@ __decorate([
|
|
|
42696
43003
|
*/
|
|
42697
43004
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42698
43005
|
|
|
42699
|
-
},{}],
|
|
43006
|
+
},{}],254:[function(require,module,exports){
|
|
42700
43007
|
"use strict";
|
|
42701
43008
|
/*!
|
|
42702
43009
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42816,7 +43123,7 @@ __decorate([
|
|
|
42816
43123
|
], VocabularyImpl, "EMPTY_VOCABULARY", void 0);
|
|
42817
43124
|
exports.VocabularyImpl = VocabularyImpl;
|
|
42818
43125
|
|
|
42819
|
-
},{"./Decorators":
|
|
43126
|
+
},{"./Decorators":223,"./Token":248}],255:[function(require,module,exports){
|
|
42820
43127
|
"use strict";
|
|
42821
43128
|
/*!
|
|
42822
43129
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42824,7 +43131,7 @@ exports.VocabularyImpl = VocabularyImpl;
|
|
|
42824
43131
|
*/
|
|
42825
43132
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42826
43133
|
|
|
42827
|
-
},{}],
|
|
43134
|
+
},{}],256:[function(require,module,exports){
|
|
42828
43135
|
"use strict";
|
|
42829
43136
|
/*!
|
|
42830
43137
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43046,7 +43353,7 @@ exports.ATN = ATN;
|
|
|
43046
43353
|
})(ATN = exports.ATN || (exports.ATN = {}));
|
|
43047
43354
|
exports.ATN = ATN;
|
|
43048
43355
|
|
|
43049
|
-
},{"../Decorators":
|
|
43356
|
+
},{"../Decorators":223,"../Token":248,"../dfa/DFA":321,"../misc/Array2DHashMap":326,"../misc/IntervalSet":336,"../misc/ObjectEqualityComparator":339,"./InvalidState":279,"./LL1Analyzer":280,"./PredictionContext":303,"assert":366}],257:[function(require,module,exports){
|
|
43050
43357
|
"use strict";
|
|
43051
43358
|
/*!
|
|
43052
43359
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43571,7 +43878,7 @@ ActionSemanticContextATNConfig = __decorate([
|
|
|
43571
43878
|
__param(1, Decorators_1.NotNull), __param(2, Decorators_1.NotNull)
|
|
43572
43879
|
], ActionSemanticContextATNConfig);
|
|
43573
43880
|
|
|
43574
|
-
},{"../Decorators":
|
|
43881
|
+
},{"../Decorators":223,"../misc/Array2DHashMap":326,"../misc/MurmurHash":338,"../misc/ObjectEqualityComparator":339,"./DecisionState":276,"./PredictionContext":303,"./SemanticContext":311,"assert":366}],258:[function(require,module,exports){
|
|
43575
43882
|
"use strict";
|
|
43576
43883
|
/*!
|
|
43577
43884
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44018,7 +44325,7 @@ __decorate([
|
|
|
44018
44325
|
], ATNConfigSet.prototype, "hashCode", null);
|
|
44019
44326
|
exports.ATNConfigSet = ATNConfigSet;
|
|
44020
44327
|
|
|
44021
|
-
},{"../Decorators":
|
|
44328
|
+
},{"../Decorators":223,"../misc/Array2DHashMap":326,"../misc/Array2DHashSet":327,"../misc/ArrayEqualityComparator":328,"../misc/BitSet":330,"../misc/ObjectEqualityComparator":339,"../misc/Utils":342,"./ATN":256,"./ATNConfig":257,"./PredictionContext":303,"./PredictionContextCache":304,"./SemanticContext":311,"assert":366}],259:[function(require,module,exports){
|
|
44022
44329
|
"use strict";
|
|
44023
44330
|
/*!
|
|
44024
44331
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44097,7 +44404,7 @@ __decorate([
|
|
|
44097
44404
|
], ATNDeserializationOptions, "defaultOptions", null);
|
|
44098
44405
|
exports.ATNDeserializationOptions = ATNDeserializationOptions;
|
|
44099
44406
|
|
|
44100
|
-
},{"../Decorators":
|
|
44407
|
+
},{"../Decorators":223}],260:[function(require,module,exports){
|
|
44101
44408
|
"use strict";
|
|
44102
44409
|
/*!
|
|
44103
44410
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45184,7 +45491,7 @@ __decorate([
|
|
|
45184
45491
|
], ATNDeserializer.prototype, "edgeFactory", null);
|
|
45185
45492
|
exports.ATNDeserializer = ATNDeserializer;
|
|
45186
45493
|
|
|
45187
|
-
},{"../Decorators":
|
|
45494
|
+
},{"../Decorators":223,"../Token":248,"../dfa/DFA":321,"../misc/Array2DHashSet":327,"../misc/BitSet":330,"../misc/IntervalSet":336,"../misc/UUID":341,"./ATN":256,"./ATNDeserializationOptions":259,"./ATNStateType":263,"./ActionTransition":265,"./AtomTransition":267,"./BasicBlockStartState":268,"./BasicState":269,"./BlockEndState":270,"./BlockStartState":271,"./DecisionState":276,"./EpsilonTransition":277,"./InvalidState":279,"./LexerChannelAction":283,"./LexerCustomAction":284,"./LexerModeAction":286,"./LexerMoreAction":287,"./LexerPopModeAction":288,"./LexerPushModeAction":289,"./LexerSkipAction":290,"./LexerTypeAction":291,"./LoopEndState":293,"./NotSetTransition":294,"./ParserATNSimulator":297,"./PlusBlockStartState":298,"./PlusLoopbackState":299,"./PrecedencePredicateTransition":300,"./PredicateTransition":302,"./RangeTransition":307,"./RuleStartState":308,"./RuleStopState":309,"./RuleTransition":310,"./SetTransition":312,"./StarBlockStartState":314,"./StarLoopEntryState":315,"./StarLoopbackState":316,"./TokensStartState":317,"./WildcardTransition":319}],261:[function(require,module,exports){
|
|
45188
45495
|
"use strict";
|
|
45189
45496
|
/*!
|
|
45190
45497
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45248,7 +45555,7 @@ exports.ATNSimulator = ATNSimulator;
|
|
|
45248
45555
|
})(ATNSimulator = exports.ATNSimulator || (exports.ATNSimulator = {}));
|
|
45249
45556
|
exports.ATNSimulator = ATNSimulator;
|
|
45250
45557
|
|
|
45251
|
-
},{"../Decorators":
|
|
45558
|
+
},{"../Decorators":223,"../dfa/DFAState":323,"./ATNConfigSet":258,"./PredictionContext":303}],262:[function(require,module,exports){
|
|
45252
45559
|
"use strict";
|
|
45253
45560
|
/*!
|
|
45254
45561
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45435,7 +45742,7 @@ exports.ATNState = ATNState;
|
|
|
45435
45742
|
ATNState.INVALID_STATE_NUMBER = -1;
|
|
45436
45743
|
})(ATNState = exports.ATNState || (exports.ATNState = {}));
|
|
45437
45744
|
|
|
45438
|
-
},{"../Decorators":
|
|
45745
|
+
},{"../Decorators":223}],263:[function(require,module,exports){
|
|
45439
45746
|
"use strict";
|
|
45440
45747
|
/*!
|
|
45441
45748
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45461,7 +45768,7 @@ var ATNStateType;
|
|
|
45461
45768
|
ATNStateType[ATNStateType["LOOP_END"] = 12] = "LOOP_END";
|
|
45462
45769
|
})(ATNStateType = exports.ATNStateType || (exports.ATNStateType = {}));
|
|
45463
45770
|
|
|
45464
|
-
},{}],
|
|
45771
|
+
},{}],264:[function(require,module,exports){
|
|
45465
45772
|
"use strict";
|
|
45466
45773
|
/*!
|
|
45467
45774
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45481,7 +45788,7 @@ class AbstractPredicateTransition extends Transition_1.Transition {
|
|
|
45481
45788
|
}
|
|
45482
45789
|
exports.AbstractPredicateTransition = AbstractPredicateTransition;
|
|
45483
45790
|
|
|
45484
|
-
},{"./Transition":
|
|
45791
|
+
},{"./Transition":318}],265:[function(require,module,exports){
|
|
45485
45792
|
"use strict";
|
|
45486
45793
|
/*!
|
|
45487
45794
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45537,7 +45844,7 @@ ActionTransition = __decorate([
|
|
|
45537
45844
|
], ActionTransition);
|
|
45538
45845
|
exports.ActionTransition = ActionTransition;
|
|
45539
45846
|
|
|
45540
|
-
},{"../Decorators":
|
|
45847
|
+
},{"../Decorators":223,"./Transition":318}],266:[function(require,module,exports){
|
|
45541
45848
|
"use strict";
|
|
45542
45849
|
/*!
|
|
45543
45850
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45624,7 +45931,7 @@ AmbiguityInfo = __decorate([
|
|
|
45624
45931
|
], AmbiguityInfo);
|
|
45625
45932
|
exports.AmbiguityInfo = AmbiguityInfo;
|
|
45626
45933
|
|
|
45627
|
-
},{"../Decorators":
|
|
45934
|
+
},{"../Decorators":223,"./DecisionEventInfo":274}],267:[function(require,module,exports){
|
|
45628
45935
|
"use strict";
|
|
45629
45936
|
/*!
|
|
45630
45937
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45682,7 +45989,7 @@ AtomTransition = __decorate([
|
|
|
45682
45989
|
], AtomTransition);
|
|
45683
45990
|
exports.AtomTransition = AtomTransition;
|
|
45684
45991
|
|
|
45685
|
-
},{"../Decorators":
|
|
45992
|
+
},{"../Decorators":223,"../misc/IntervalSet":336,"./Transition":318}],268:[function(require,module,exports){
|
|
45686
45993
|
"use strict";
|
|
45687
45994
|
/*!
|
|
45688
45995
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45714,7 +46021,7 @@ __decorate([
|
|
|
45714
46021
|
], BasicBlockStartState.prototype, "stateType", null);
|
|
45715
46022
|
exports.BasicBlockStartState = BasicBlockStartState;
|
|
45716
46023
|
|
|
45717
|
-
},{"../Decorators":
|
|
46024
|
+
},{"../Decorators":223,"./ATNStateType":263,"./BlockStartState":271}],269:[function(require,module,exports){
|
|
45718
46025
|
"use strict";
|
|
45719
46026
|
/*!
|
|
45720
46027
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45746,7 +46053,7 @@ __decorate([
|
|
|
45746
46053
|
], BasicState.prototype, "stateType", null);
|
|
45747
46054
|
exports.BasicState = BasicState;
|
|
45748
46055
|
|
|
45749
|
-
},{"../Decorators":
|
|
46056
|
+
},{"../Decorators":223,"./ATNState":262,"./ATNStateType":263}],270:[function(require,module,exports){
|
|
45750
46057
|
"use strict";
|
|
45751
46058
|
/*!
|
|
45752
46059
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45775,7 +46082,7 @@ __decorate([
|
|
|
45775
46082
|
], BlockEndState.prototype, "stateType", null);
|
|
45776
46083
|
exports.BlockEndState = BlockEndState;
|
|
45777
46084
|
|
|
45778
|
-
},{"../Decorators":
|
|
46085
|
+
},{"../Decorators":223,"./ATNState":262,"./ATNStateType":263}],271:[function(require,module,exports){
|
|
45779
46086
|
"use strict";
|
|
45780
46087
|
/*!
|
|
45781
46088
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45789,7 +46096,7 @@ class BlockStartState extends DecisionState_1.DecisionState {
|
|
|
45789
46096
|
}
|
|
45790
46097
|
exports.BlockStartState = BlockStartState;
|
|
45791
46098
|
|
|
45792
|
-
},{"./DecisionState":
|
|
46099
|
+
},{"./DecisionState":276}],272:[function(require,module,exports){
|
|
45793
46100
|
"use strict";
|
|
45794
46101
|
/*!
|
|
45795
46102
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45859,7 +46166,7 @@ __decorate([
|
|
|
45859
46166
|
], ConflictInfo.prototype, "hashCode", null);
|
|
45860
46167
|
exports.ConflictInfo = ConflictInfo;
|
|
45861
46168
|
|
|
45862
|
-
},{"../Decorators":
|
|
46169
|
+
},{"../Decorators":223,"../misc/Utils":342}],273:[function(require,module,exports){
|
|
45863
46170
|
"use strict";
|
|
45864
46171
|
/*!
|
|
45865
46172
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45919,7 +46226,7 @@ ContextSensitivityInfo = __decorate([
|
|
|
45919
46226
|
], ContextSensitivityInfo);
|
|
45920
46227
|
exports.ContextSensitivityInfo = ContextSensitivityInfo;
|
|
45921
46228
|
|
|
45922
|
-
},{"../Decorators":
|
|
46229
|
+
},{"../Decorators":223,"./DecisionEventInfo":274}],274:[function(require,module,exports){
|
|
45923
46230
|
"use strict";
|
|
45924
46231
|
/*!
|
|
45925
46232
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45971,7 +46278,7 @@ DecisionEventInfo = __decorate([
|
|
|
45971
46278
|
], DecisionEventInfo);
|
|
45972
46279
|
exports.DecisionEventInfo = DecisionEventInfo;
|
|
45973
46280
|
|
|
45974
|
-
},{"../Decorators":
|
|
46281
|
+
},{"../Decorators":223}],275:[function(require,module,exports){
|
|
45975
46282
|
"use strict";
|
|
45976
46283
|
/*!
|
|
45977
46284
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46184,7 +46491,7 @@ __decorate([
|
|
|
46184
46491
|
], DecisionInfo.prototype, "toString", null);
|
|
46185
46492
|
exports.DecisionInfo = DecisionInfo;
|
|
46186
46493
|
|
|
46187
|
-
},{"../Decorators":
|
|
46494
|
+
},{"../Decorators":223}],276:[function(require,module,exports){
|
|
46188
46495
|
"use strict";
|
|
46189
46496
|
/*!
|
|
46190
46497
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46204,7 +46511,7 @@ class DecisionState extends ATNState_1.ATNState {
|
|
|
46204
46511
|
}
|
|
46205
46512
|
exports.DecisionState = DecisionState;
|
|
46206
46513
|
|
|
46207
|
-
},{"./ATNState":
|
|
46514
|
+
},{"./ATNState":262}],277:[function(require,module,exports){
|
|
46208
46515
|
"use strict";
|
|
46209
46516
|
/*!
|
|
46210
46517
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46270,7 +46577,7 @@ EpsilonTransition = __decorate([
|
|
|
46270
46577
|
], EpsilonTransition);
|
|
46271
46578
|
exports.EpsilonTransition = EpsilonTransition;
|
|
46272
46579
|
|
|
46273
|
-
},{"../Decorators":
|
|
46580
|
+
},{"../Decorators":223,"./Transition":318}],278:[function(require,module,exports){
|
|
46274
46581
|
"use strict";
|
|
46275
46582
|
/*!
|
|
46276
46583
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46323,7 +46630,7 @@ ErrorInfo = __decorate([
|
|
|
46323
46630
|
], ErrorInfo);
|
|
46324
46631
|
exports.ErrorInfo = ErrorInfo;
|
|
46325
46632
|
|
|
46326
|
-
},{"../Decorators":
|
|
46633
|
+
},{"../Decorators":223,"./DecisionEventInfo":274}],279:[function(require,module,exports){
|
|
46327
46634
|
"use strict";
|
|
46328
46635
|
/*!
|
|
46329
46636
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46354,7 +46661,7 @@ __decorate([
|
|
|
46354
46661
|
], InvalidState.prototype, "stateType", null);
|
|
46355
46662
|
exports.InvalidState = InvalidState;
|
|
46356
46663
|
|
|
46357
|
-
},{"../Decorators":
|
|
46664
|
+
},{"../Decorators":223,"./ATNStateType":263,"./BasicState":269}],280:[function(require,module,exports){
|
|
46358
46665
|
"use strict";
|
|
46359
46666
|
/*!
|
|
46360
46667
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46576,7 +46883,7 @@ LL1Analyzer = __decorate([
|
|
|
46576
46883
|
], LL1Analyzer);
|
|
46577
46884
|
exports.LL1Analyzer = LL1Analyzer;
|
|
46578
46885
|
|
|
46579
|
-
},{"../Decorators":
|
|
46886
|
+
},{"../Decorators":223,"../Token":248,"../misc/Array2DHashSet":327,"../misc/BitSet":330,"../misc/IntervalSet":336,"../misc/ObjectEqualityComparator":339,"./ATNConfig":257,"./AbstractPredicateTransition":264,"./NotSetTransition":294,"./PredictionContext":303,"./RuleStopState":309,"./RuleTransition":310,"./WildcardTransition":319}],281:[function(require,module,exports){
|
|
46580
46887
|
"use strict";
|
|
46581
46888
|
/*!
|
|
46582
46889
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47293,7 +47600,7 @@ exports.LexerATNSimulator = LexerATNSimulator;
|
|
|
47293
47600
|
})(LexerATNSimulator = exports.LexerATNSimulator || (exports.LexerATNSimulator = {}));
|
|
47294
47601
|
exports.LexerATNSimulator = LexerATNSimulator;
|
|
47295
47602
|
|
|
47296
|
-
},{"../Decorators":
|
|
47603
|
+
},{"../Decorators":223,"../IntStream":229,"../Lexer":231,"../LexerNoViableAltException":233,"../Token":248,"../dfa/AcceptStateInfo":320,"../dfa/DFAState":323,"../misc/Interval":335,"./ATN":256,"./ATNConfig":257,"./ATNConfigSet":258,"./ATNSimulator":261,"./LexerActionExecutor":282,"./OrderedATNConfigSet":295,"./PredictionContext":303,"./RuleStopState":309,"assert":366}],282:[function(require,module,exports){
|
|
47297
47604
|
"use strict";
|
|
47298
47605
|
/*!
|
|
47299
47606
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47494,7 +47801,7 @@ LexerActionExecutor = __decorate([
|
|
|
47494
47801
|
], LexerActionExecutor);
|
|
47495
47802
|
exports.LexerActionExecutor = LexerActionExecutor;
|
|
47496
47803
|
|
|
47497
|
-
},{"../Decorators":
|
|
47804
|
+
},{"../Decorators":223,"../misc/ArrayEqualityComparator":328,"../misc/MurmurHash":338,"./LexerIndexedCustomAction":285}],283:[function(require,module,exports){
|
|
47498
47805
|
"use strict";
|
|
47499
47806
|
/*!
|
|
47500
47807
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47599,7 +47906,7 @@ __decorate([
|
|
|
47599
47906
|
], LexerChannelAction.prototype, "toString", null);
|
|
47600
47907
|
exports.LexerChannelAction = LexerChannelAction;
|
|
47601
47908
|
|
|
47602
|
-
},{"../Decorators":
|
|
47909
|
+
},{"../Decorators":223,"../misc/MurmurHash":338}],284:[function(require,module,exports){
|
|
47603
47910
|
"use strict";
|
|
47604
47911
|
/*!
|
|
47605
47912
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47728,7 +48035,7 @@ __decorate([
|
|
|
47728
48035
|
], LexerCustomAction.prototype, "equals", null);
|
|
47729
48036
|
exports.LexerCustomAction = LexerCustomAction;
|
|
47730
48037
|
|
|
47731
|
-
},{"../Decorators":
|
|
48038
|
+
},{"../Decorators":223,"../misc/MurmurHash":338}],285:[function(require,module,exports){
|
|
47732
48039
|
"use strict";
|
|
47733
48040
|
/*!
|
|
47734
48041
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47863,7 +48170,7 @@ LexerIndexedCustomAction = __decorate([
|
|
|
47863
48170
|
], LexerIndexedCustomAction);
|
|
47864
48171
|
exports.LexerIndexedCustomAction = LexerIndexedCustomAction;
|
|
47865
48172
|
|
|
47866
|
-
},{"../Decorators":
|
|
48173
|
+
},{"../Decorators":223,"../misc/MurmurHash":338}],286:[function(require,module,exports){
|
|
47867
48174
|
"use strict";
|
|
47868
48175
|
/*!
|
|
47869
48176
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47968,7 +48275,7 @@ __decorate([
|
|
|
47968
48275
|
], LexerModeAction.prototype, "toString", null);
|
|
47969
48276
|
exports.LexerModeAction = LexerModeAction;
|
|
47970
48277
|
|
|
47971
|
-
},{"../Decorators":
|
|
48278
|
+
},{"../Decorators":223,"../misc/MurmurHash":338}],287:[function(require,module,exports){
|
|
47972
48279
|
"use strict";
|
|
47973
48280
|
/*!
|
|
47974
48281
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48064,7 +48371,7 @@ exports.LexerMoreAction = LexerMoreAction;
|
|
|
48064
48371
|
LexerMoreAction.INSTANCE = new LexerMoreAction();
|
|
48065
48372
|
})(LexerMoreAction = exports.LexerMoreAction || (exports.LexerMoreAction = {}));
|
|
48066
48373
|
|
|
48067
|
-
},{"../Decorators":
|
|
48374
|
+
},{"../Decorators":223,"../misc/MurmurHash":338}],288:[function(require,module,exports){
|
|
48068
48375
|
"use strict";
|
|
48069
48376
|
/*!
|
|
48070
48377
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48160,7 +48467,7 @@ exports.LexerPopModeAction = LexerPopModeAction;
|
|
|
48160
48467
|
LexerPopModeAction.INSTANCE = new LexerPopModeAction();
|
|
48161
48468
|
})(LexerPopModeAction = exports.LexerPopModeAction || (exports.LexerPopModeAction = {}));
|
|
48162
48469
|
|
|
48163
|
-
},{"../Decorators":
|
|
48470
|
+
},{"../Decorators":223,"../misc/MurmurHash":338}],289:[function(require,module,exports){
|
|
48164
48471
|
"use strict";
|
|
48165
48472
|
/*!
|
|
48166
48473
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48265,7 +48572,7 @@ __decorate([
|
|
|
48265
48572
|
], LexerPushModeAction.prototype, "toString", null);
|
|
48266
48573
|
exports.LexerPushModeAction = LexerPushModeAction;
|
|
48267
48574
|
|
|
48268
|
-
},{"../Decorators":
|
|
48575
|
+
},{"../Decorators":223,"../misc/MurmurHash":338}],290:[function(require,module,exports){
|
|
48269
48576
|
"use strict";
|
|
48270
48577
|
/*!
|
|
48271
48578
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48361,7 +48668,7 @@ exports.LexerSkipAction = LexerSkipAction;
|
|
|
48361
48668
|
LexerSkipAction.INSTANCE = new LexerSkipAction();
|
|
48362
48669
|
})(LexerSkipAction = exports.LexerSkipAction || (exports.LexerSkipAction = {}));
|
|
48363
48670
|
|
|
48364
|
-
},{"../Decorators":
|
|
48671
|
+
},{"../Decorators":223,"../misc/MurmurHash":338}],291:[function(require,module,exports){
|
|
48365
48672
|
"use strict";
|
|
48366
48673
|
/*!
|
|
48367
48674
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48465,7 +48772,7 @@ __decorate([
|
|
|
48465
48772
|
], LexerTypeAction.prototype, "toString", null);
|
|
48466
48773
|
exports.LexerTypeAction = LexerTypeAction;
|
|
48467
48774
|
|
|
48468
|
-
},{"../Decorators":
|
|
48775
|
+
},{"../Decorators":223,"../misc/MurmurHash":338}],292:[function(require,module,exports){
|
|
48469
48776
|
"use strict";
|
|
48470
48777
|
/*!
|
|
48471
48778
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48517,7 +48824,7 @@ LookaheadEventInfo = __decorate([
|
|
|
48517
48824
|
], LookaheadEventInfo);
|
|
48518
48825
|
exports.LookaheadEventInfo = LookaheadEventInfo;
|
|
48519
48826
|
|
|
48520
|
-
},{"../Decorators":
|
|
48827
|
+
},{"../Decorators":223,"./DecisionEventInfo":274}],293:[function(require,module,exports){
|
|
48521
48828
|
"use strict";
|
|
48522
48829
|
/*!
|
|
48523
48830
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48546,7 +48853,7 @@ __decorate([
|
|
|
48546
48853
|
], LoopEndState.prototype, "stateType", null);
|
|
48547
48854
|
exports.LoopEndState = LoopEndState;
|
|
48548
48855
|
|
|
48549
|
-
},{"../Decorators":
|
|
48856
|
+
},{"../Decorators":223,"./ATNState":262,"./ATNStateType":263}],294:[function(require,module,exports){
|
|
48550
48857
|
"use strict";
|
|
48551
48858
|
/*!
|
|
48552
48859
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48595,7 +48902,7 @@ NotSetTransition = __decorate([
|
|
|
48595
48902
|
], NotSetTransition);
|
|
48596
48903
|
exports.NotSetTransition = NotSetTransition;
|
|
48597
48904
|
|
|
48598
|
-
},{"../Decorators":
|
|
48905
|
+
},{"../Decorators":223,"./SetTransition":312}],295:[function(require,module,exports){
|
|
48599
48906
|
"use strict";
|
|
48600
48907
|
/*!
|
|
48601
48908
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48650,7 +48957,7 @@ __decorate([
|
|
|
48650
48957
|
], OrderedATNConfigSet.prototype, "canMerge", null);
|
|
48651
48958
|
exports.OrderedATNConfigSet = OrderedATNConfigSet;
|
|
48652
48959
|
|
|
48653
|
-
},{"../Decorators":
|
|
48960
|
+
},{"../Decorators":223,"./ATNConfigSet":258}],296:[function(require,module,exports){
|
|
48654
48961
|
"use strict";
|
|
48655
48962
|
/*!
|
|
48656
48963
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48812,7 +49119,7 @@ ParseInfo = __decorate([
|
|
|
48812
49119
|
], ParseInfo);
|
|
48813
49120
|
exports.ParseInfo = ParseInfo;
|
|
48814
49121
|
|
|
48815
|
-
},{"../Decorators":
|
|
49122
|
+
},{"../Decorators":223}],297:[function(require,module,exports){
|
|
48816
49123
|
"use strict";
|
|
48817
49124
|
/*!
|
|
48818
49125
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51085,7 +51392,7 @@ ParserATNSimulator = __decorate([
|
|
|
51085
51392
|
], ParserATNSimulator);
|
|
51086
51393
|
exports.ParserATNSimulator = ParserATNSimulator;
|
|
51087
51394
|
|
|
51088
|
-
},{"../Decorators":
|
|
51395
|
+
},{"../Decorators":223,"../IntStream":229,"../NoViableAltException":235,"../ParserRuleContext":239,"../Token":248,"../VocabularyImpl":254,"../dfa/AcceptStateInfo":320,"../dfa/DFAState":323,"../misc/Array2DHashSet":327,"../misc/Arrays":329,"../misc/BitSet":330,"../misc/IntegerList":333,"../misc/Interval":335,"../misc/ObjectEqualityComparator":339,"./ATN":256,"./ATNConfig":257,"./ATNConfigSet":258,"./ATNSimulator":261,"./ATNStateType":263,"./ActionTransition":265,"./AtomTransition":267,"./ConflictInfo":272,"./DecisionState":276,"./NotSetTransition":294,"./PredictionContext":303,"./PredictionContextCache":304,"./PredictionMode":305,"./RuleStopState":309,"./RuleTransition":310,"./SemanticContext":311,"./SetTransition":312,"./SimulatorState":313,"assert":366}],298:[function(require,module,exports){
|
|
51089
51396
|
"use strict";
|
|
51090
51397
|
/*!
|
|
51091
51398
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51118,7 +51425,7 @@ __decorate([
|
|
|
51118
51425
|
], PlusBlockStartState.prototype, "stateType", null);
|
|
51119
51426
|
exports.PlusBlockStartState = PlusBlockStartState;
|
|
51120
51427
|
|
|
51121
|
-
},{"../Decorators":
|
|
51428
|
+
},{"../Decorators":223,"./ATNStateType":263,"./BlockStartState":271}],299:[function(require,module,exports){
|
|
51122
51429
|
"use strict";
|
|
51123
51430
|
/*!
|
|
51124
51431
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51149,7 +51456,7 @@ __decorate([
|
|
|
51149
51456
|
], PlusLoopbackState.prototype, "stateType", null);
|
|
51150
51457
|
exports.PlusLoopbackState = PlusLoopbackState;
|
|
51151
51458
|
|
|
51152
|
-
},{"../Decorators":
|
|
51459
|
+
},{"../Decorators":223,"./ATNStateType":263,"./DecisionState":276}],300:[function(require,module,exports){
|
|
51153
51460
|
"use strict";
|
|
51154
51461
|
/*!
|
|
51155
51462
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51212,7 +51519,7 @@ PrecedencePredicateTransition = __decorate([
|
|
|
51212
51519
|
], PrecedencePredicateTransition);
|
|
51213
51520
|
exports.PrecedencePredicateTransition = PrecedencePredicateTransition;
|
|
51214
51521
|
|
|
51215
|
-
},{"../Decorators":
|
|
51522
|
+
},{"../Decorators":223,"./AbstractPredicateTransition":264,"./SemanticContext":311}],301:[function(require,module,exports){
|
|
51216
51523
|
"use strict";
|
|
51217
51524
|
/*!
|
|
51218
51525
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51275,7 +51582,7 @@ PredicateEvalInfo = __decorate([
|
|
|
51275
51582
|
], PredicateEvalInfo);
|
|
51276
51583
|
exports.PredicateEvalInfo = PredicateEvalInfo;
|
|
51277
51584
|
|
|
51278
|
-
},{"../Decorators":
|
|
51585
|
+
},{"../Decorators":223,"./DecisionEventInfo":274}],302:[function(require,module,exports){
|
|
51279
51586
|
"use strict";
|
|
51280
51587
|
/*!
|
|
51281
51588
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51341,7 +51648,7 @@ PredicateTransition = __decorate([
|
|
|
51341
51648
|
], PredicateTransition);
|
|
51342
51649
|
exports.PredicateTransition = PredicateTransition;
|
|
51343
51650
|
|
|
51344
|
-
},{"../Decorators":
|
|
51651
|
+
},{"../Decorators":223,"./AbstractPredicateTransition":264,"./SemanticContext":311}],303:[function(require,module,exports){
|
|
51345
51652
|
"use strict";
|
|
51346
51653
|
/*!
|
|
51347
51654
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52032,7 +52339,7 @@ exports.SingletonPredictionContext = SingletonPredictionContext;
|
|
|
52032
52339
|
PredictionContext.IdentityEqualityComparator = IdentityEqualityComparator;
|
|
52033
52340
|
})(PredictionContext = exports.PredictionContext || (exports.PredictionContext = {}));
|
|
52034
52341
|
|
|
52035
|
-
},{"../Decorators":
|
|
52342
|
+
},{"../Decorators":223,"../misc/Array2DHashMap":326,"../misc/Array2DHashSet":327,"../misc/Arrays":329,"../misc/MurmurHash":338,"./PredictionContextCache":304,"assert":366}],304:[function(require,module,exports){
|
|
52036
52343
|
"use strict";
|
|
52037
52344
|
/*!
|
|
52038
52345
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52173,7 +52480,7 @@ PredictionContextCache.UNCACHED = new PredictionContextCache(false);
|
|
|
52173
52480
|
PredictionContextCache.IdentityCommutativePredictionContextOperands = IdentityCommutativePredictionContextOperands;
|
|
52174
52481
|
})(PredictionContextCache = exports.PredictionContextCache || (exports.PredictionContextCache = {}));
|
|
52175
52482
|
|
|
52176
|
-
},{"../Decorators":
|
|
52483
|
+
},{"../Decorators":223,"../misc/Array2DHashMap":326,"../misc/ObjectEqualityComparator":339,"./PredictionContext":303,"assert":366}],305:[function(require,module,exports){
|
|
52177
52484
|
"use strict";
|
|
52178
52485
|
/*!
|
|
52179
52486
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52334,7 +52641,7 @@ var PredictionMode;
|
|
|
52334
52641
|
PredictionMode.allConfigsInRuleStopStates = allConfigsInRuleStopStates;
|
|
52335
52642
|
})(PredictionMode = exports.PredictionMode || (exports.PredictionMode = {}));
|
|
52336
52643
|
|
|
52337
|
-
},{"../Decorators":
|
|
52644
|
+
},{"../Decorators":223,"../misc/Array2DHashMap":326,"../misc/MurmurHash":338,"./RuleStopState":309}],306:[function(require,module,exports){
|
|
52338
52645
|
(function (process){(function (){
|
|
52339
52646
|
"use strict";
|
|
52340
52647
|
/*!
|
|
@@ -52603,7 +52910,7 @@ __decorate([
|
|
|
52603
52910
|
exports.ProfilingATNSimulator = ProfilingATNSimulator;
|
|
52604
52911
|
|
|
52605
52912
|
}).call(this)}).call(this,require('_process'))
|
|
52606
|
-
},{"../Decorators":
|
|
52913
|
+
},{"../Decorators":223,"./ATN":256,"./ATNSimulator":261,"./AmbiguityInfo":266,"./ContextSensitivityInfo":273,"./DecisionInfo":275,"./ErrorInfo":278,"./LookaheadEventInfo":292,"./ParserATNSimulator":297,"./PredicateEvalInfo":301,"./SemanticContext":311,"./SimulatorState":313,"_process":425}],307:[function(require,module,exports){
|
|
52607
52914
|
"use strict";
|
|
52608
52915
|
/*!
|
|
52609
52916
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52661,7 +52968,7 @@ RangeTransition = __decorate([
|
|
|
52661
52968
|
], RangeTransition);
|
|
52662
52969
|
exports.RangeTransition = RangeTransition;
|
|
52663
52970
|
|
|
52664
|
-
},{"../Decorators":
|
|
52971
|
+
},{"../Decorators":223,"../misc/IntervalSet":336,"./Transition":318}],308:[function(require,module,exports){
|
|
52665
52972
|
"use strict";
|
|
52666
52973
|
/*!
|
|
52667
52974
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52694,7 +53001,7 @@ __decorate([
|
|
|
52694
53001
|
], RuleStartState.prototype, "stateType", null);
|
|
52695
53002
|
exports.RuleStartState = RuleStartState;
|
|
52696
53003
|
|
|
52697
|
-
},{"../Decorators":
|
|
53004
|
+
},{"../Decorators":223,"./ATNState":262,"./ATNStateType":263}],309:[function(require,module,exports){
|
|
52698
53005
|
"use strict";
|
|
52699
53006
|
/*!
|
|
52700
53007
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52733,7 +53040,7 @@ __decorate([
|
|
|
52733
53040
|
], RuleStopState.prototype, "stateType", null);
|
|
52734
53041
|
exports.RuleStopState = RuleStopState;
|
|
52735
53042
|
|
|
52736
|
-
},{"../Decorators":
|
|
53043
|
+
},{"../Decorators":223,"./ATNState":262,"./ATNStateType":263}],310:[function(require,module,exports){
|
|
52737
53044
|
"use strict";
|
|
52738
53045
|
/*!
|
|
52739
53046
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52789,7 +53096,7 @@ RuleTransition = __decorate([
|
|
|
52789
53096
|
], RuleTransition);
|
|
52790
53097
|
exports.RuleTransition = RuleTransition;
|
|
52791
53098
|
|
|
52792
|
-
},{"../Decorators":
|
|
53099
|
+
},{"../Decorators":223,"./Transition":318}],311:[function(require,module,exports){
|
|
52793
53100
|
"use strict";
|
|
52794
53101
|
/*!
|
|
52795
53102
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53269,7 +53576,7 @@ exports.SemanticContext = SemanticContext;
|
|
|
53269
53576
|
SemanticContext.OR = OR;
|
|
53270
53577
|
})(SemanticContext = exports.SemanticContext || (exports.SemanticContext = {}));
|
|
53271
53578
|
|
|
53272
|
-
},{"../Decorators":
|
|
53579
|
+
},{"../Decorators":223,"../misc/Array2DHashSet":327,"../misc/ArrayEqualityComparator":328,"../misc/MurmurHash":338,"../misc/ObjectEqualityComparator":339,"../misc/Utils":342}],312:[function(require,module,exports){
|
|
53273
53580
|
"use strict";
|
|
53274
53581
|
/*!
|
|
53275
53582
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53335,7 +53642,7 @@ SetTransition = __decorate([
|
|
|
53335
53642
|
], SetTransition);
|
|
53336
53643
|
exports.SetTransition = SetTransition;
|
|
53337
53644
|
|
|
53338
|
-
},{"../Decorators":
|
|
53645
|
+
},{"../Decorators":223,"../Token":248,"../misc/IntervalSet":336,"./Transition":318}],313:[function(require,module,exports){
|
|
53339
53646
|
"use strict";
|
|
53340
53647
|
/*!
|
|
53341
53648
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53371,7 +53678,7 @@ SimulatorState = __decorate([
|
|
|
53371
53678
|
], SimulatorState);
|
|
53372
53679
|
exports.SimulatorState = SimulatorState;
|
|
53373
53680
|
|
|
53374
|
-
},{"../Decorators":
|
|
53681
|
+
},{"../Decorators":223,"../ParserRuleContext":239}],314:[function(require,module,exports){
|
|
53375
53682
|
"use strict";
|
|
53376
53683
|
/*!
|
|
53377
53684
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53399,7 +53706,7 @@ __decorate([
|
|
|
53399
53706
|
], StarBlockStartState.prototype, "stateType", null);
|
|
53400
53707
|
exports.StarBlockStartState = StarBlockStartState;
|
|
53401
53708
|
|
|
53402
|
-
},{"../Decorators":
|
|
53709
|
+
},{"../Decorators":223,"./ATNStateType":263,"./BlockStartState":271}],315:[function(require,module,exports){
|
|
53403
53710
|
"use strict";
|
|
53404
53711
|
/*!
|
|
53405
53712
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53456,7 +53763,7 @@ __decorate([
|
|
|
53456
53763
|
], StarLoopEntryState.prototype, "stateType", null);
|
|
53457
53764
|
exports.StarLoopEntryState = StarLoopEntryState;
|
|
53458
53765
|
|
|
53459
|
-
},{"../Decorators":
|
|
53766
|
+
},{"../Decorators":223,"../misc/BitSet":330,"./ATNStateType":263,"./DecisionState":276}],316:[function(require,module,exports){
|
|
53460
53767
|
"use strict";
|
|
53461
53768
|
/*!
|
|
53462
53769
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53487,7 +53794,7 @@ __decorate([
|
|
|
53487
53794
|
], StarLoopbackState.prototype, "stateType", null);
|
|
53488
53795
|
exports.StarLoopbackState = StarLoopbackState;
|
|
53489
53796
|
|
|
53490
|
-
},{"../Decorators":
|
|
53797
|
+
},{"../Decorators":223,"./ATNState":262,"./ATNStateType":263}],317:[function(require,module,exports){
|
|
53491
53798
|
"use strict";
|
|
53492
53799
|
/*!
|
|
53493
53800
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53516,7 +53823,7 @@ __decorate([
|
|
|
53516
53823
|
], TokensStartState.prototype, "stateType", null);
|
|
53517
53824
|
exports.TokensStartState = TokensStartState;
|
|
53518
53825
|
|
|
53519
|
-
},{"../Decorators":
|
|
53826
|
+
},{"../Decorators":223,"./ATNStateType":263,"./DecisionState":276}],318:[function(require,module,exports){
|
|
53520
53827
|
"use strict";
|
|
53521
53828
|
/*!
|
|
53522
53829
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53590,7 +53897,7 @@ Transition = __decorate([
|
|
|
53590
53897
|
], Transition);
|
|
53591
53898
|
exports.Transition = Transition;
|
|
53592
53899
|
|
|
53593
|
-
},{"../Decorators":
|
|
53900
|
+
},{"../Decorators":223}],319:[function(require,module,exports){
|
|
53594
53901
|
"use strict";
|
|
53595
53902
|
/*!
|
|
53596
53903
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53638,7 +53945,7 @@ WildcardTransition = __decorate([
|
|
|
53638
53945
|
], WildcardTransition);
|
|
53639
53946
|
exports.WildcardTransition = WildcardTransition;
|
|
53640
53947
|
|
|
53641
|
-
},{"../Decorators":
|
|
53948
|
+
},{"../Decorators":223,"./Transition":318}],320:[function(require,module,exports){
|
|
53642
53949
|
"use strict";
|
|
53643
53950
|
/*!
|
|
53644
53951
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53680,7 +53987,7 @@ class AcceptStateInfo {
|
|
|
53680
53987
|
}
|
|
53681
53988
|
exports.AcceptStateInfo = AcceptStateInfo;
|
|
53682
53989
|
|
|
53683
|
-
},{}],
|
|
53990
|
+
},{}],321:[function(require,module,exports){
|
|
53684
53991
|
"use strict";
|
|
53685
53992
|
/*!
|
|
53686
53993
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53855,7 +54162,7 @@ DFA = __decorate([
|
|
|
53855
54162
|
], DFA);
|
|
53856
54163
|
exports.DFA = DFA;
|
|
53857
54164
|
|
|
53858
|
-
},{"../Decorators":
|
|
54165
|
+
},{"../Decorators":223,"../VocabularyImpl":254,"../atn/ATNConfigSet":258,"../atn/StarLoopEntryState":315,"../misc/Array2DHashSet":327,"../misc/ObjectEqualityComparator":339,"./DFASerializer":322,"./DFAState":323,"./LexerDFASerializer":324}],322:[function(require,module,exports){
|
|
53859
54166
|
"use strict";
|
|
53860
54167
|
/*!
|
|
53861
54168
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -53997,7 +54304,7 @@ __decorate([
|
|
|
53997
54304
|
], DFASerializer.prototype, "toString", null);
|
|
53998
54305
|
exports.DFASerializer = DFASerializer;
|
|
53999
54306
|
|
|
54000
|
-
},{"../Decorators":
|
|
54307
|
+
},{"../Decorators":223,"../Recognizer":243,"../VocabularyImpl":254,"../atn/ATNSimulator":261,"../atn/PredictionContext":303}],323:[function(require,module,exports){
|
|
54001
54308
|
"use strict";
|
|
54002
54309
|
/*!
|
|
54003
54310
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54228,7 +54535,7 @@ exports.DFAState = DFAState;
|
|
|
54228
54535
|
DFAState.PredPrediction = PredPrediction;
|
|
54229
54536
|
})(DFAState = exports.DFAState || (exports.DFAState = {}));
|
|
54230
54537
|
|
|
54231
|
-
},{"../Decorators":
|
|
54538
|
+
},{"../Decorators":223,"../atn/ATN":256,"../atn/PredictionContext":303,"../misc/BitSet":330,"../misc/MurmurHash":338,"assert":366}],324:[function(require,module,exports){
|
|
54232
54539
|
"use strict";
|
|
54233
54540
|
/*!
|
|
54234
54541
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54265,7 +54572,7 @@ LexerDFASerializer = __decorate([
|
|
|
54265
54572
|
], LexerDFASerializer);
|
|
54266
54573
|
exports.LexerDFASerializer = LexerDFASerializer;
|
|
54267
54574
|
|
|
54268
|
-
},{"../Decorators":
|
|
54575
|
+
},{"../Decorators":223,"../VocabularyImpl":254,"./DFASerializer":322}],325:[function(require,module,exports){
|
|
54269
54576
|
"use strict";
|
|
54270
54577
|
/*!
|
|
54271
54578
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54331,7 +54638,7 @@ __exportStar(require("./Vocabulary"), exports);
|
|
|
54331
54638
|
__exportStar(require("./VocabularyImpl"), exports);
|
|
54332
54639
|
__exportStar(require("./WritableToken"), exports);
|
|
54333
54640
|
|
|
54334
|
-
},{"./ANTLRErrorListener":
|
|
54641
|
+
},{"./ANTLRErrorListener":210,"./ANTLRErrorStrategy":211,"./ANTLRInputStream":212,"./BailErrorStrategy":213,"./BufferedTokenStream":214,"./CharStream":215,"./CharStreams":216,"./CodePointBuffer":217,"./CodePointCharStream":218,"./CommonToken":219,"./CommonTokenFactory":220,"./CommonTokenStream":221,"./ConsoleErrorListener":222,"./DefaultErrorStrategy":224,"./Dependents":225,"./DiagnosticErrorListener":226,"./FailedPredicateException":227,"./InputMismatchException":228,"./IntStream":229,"./InterpreterRuleContext":230,"./Lexer":231,"./LexerInterpreter":232,"./LexerNoViableAltException":233,"./ListTokenSource":234,"./NoViableAltException":235,"./Parser":236,"./ParserErrorListener":237,"./ParserInterpreter":238,"./ParserRuleContext":239,"./ProxyErrorListener":240,"./ProxyParserErrorListener":241,"./RecognitionException":242,"./Recognizer":243,"./RuleContext":244,"./RuleContextWithAltNum":245,"./RuleDependency":246,"./RuleVersion":247,"./Token":248,"./TokenFactory":249,"./TokenSource":250,"./TokenStream":251,"./TokenStreamRewriter":252,"./Vocabulary":253,"./VocabularyImpl":254,"./WritableToken":255}],326:[function(require,module,exports){
|
|
54335
54642
|
"use strict";
|
|
54336
54643
|
/*!
|
|
54337
54644
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54414,7 +54721,7 @@ class Array2DHashMap {
|
|
|
54414
54721
|
}
|
|
54415
54722
|
exports.Array2DHashMap = Array2DHashMap;
|
|
54416
54723
|
|
|
54417
|
-
},{"./Array2DHashSet":
|
|
54724
|
+
},{"./Array2DHashSet":327}],327:[function(require,module,exports){
|
|
54418
54725
|
"use strict";
|
|
54419
54726
|
/*!
|
|
54420
54727
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54781,7 +55088,7 @@ __decorate([
|
|
|
54781
55088
|
], Array2DHashSet.prototype, "createBuckets", null);
|
|
54782
55089
|
exports.Array2DHashSet = Array2DHashSet;
|
|
54783
55090
|
|
|
54784
|
-
},{"../Decorators":
|
|
55091
|
+
},{"../Decorators":223,"./DefaultEqualityComparator":332,"./MurmurHash":338,"assert":366}],328:[function(require,module,exports){
|
|
54785
55092
|
"use strict";
|
|
54786
55093
|
/*!
|
|
54787
55094
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54853,7 +55160,7 @@ __decorate([
|
|
|
54853
55160
|
], ArrayEqualityComparator.prototype, "equals", null);
|
|
54854
55161
|
exports.ArrayEqualityComparator = ArrayEqualityComparator;
|
|
54855
55162
|
|
|
54856
|
-
},{"../Decorators":
|
|
55163
|
+
},{"../Decorators":223,"./MurmurHash":338,"./ObjectEqualityComparator":339}],329:[function(require,module,exports){
|
|
54857
55164
|
"use strict";
|
|
54858
55165
|
/*!
|
|
54859
55166
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -54923,7 +55230,7 @@ var Arrays;
|
|
|
54923
55230
|
Arrays.toString = toString;
|
|
54924
55231
|
})(Arrays = exports.Arrays || (exports.Arrays = {}));
|
|
54925
55232
|
|
|
54926
|
-
},{}],
|
|
55233
|
+
},{}],330:[function(require,module,exports){
|
|
54927
55234
|
"use strict";
|
|
54928
55235
|
/*!
|
|
54929
55236
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -55595,7 +55902,7 @@ class BitSetIterator {
|
|
|
55595
55902
|
[Symbol.iterator]() { return this; }
|
|
55596
55903
|
}
|
|
55597
55904
|
|
|
55598
|
-
},{"./MurmurHash":
|
|
55905
|
+
},{"./MurmurHash":338,"util":430}],331:[function(require,module,exports){
|
|
55599
55906
|
"use strict";
|
|
55600
55907
|
/*!
|
|
55601
55908
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -55616,7 +55923,7 @@ function isSupplementaryCodePoint(ch) {
|
|
|
55616
55923
|
}
|
|
55617
55924
|
exports.isSupplementaryCodePoint = isSupplementaryCodePoint;
|
|
55618
55925
|
|
|
55619
|
-
},{}],
|
|
55926
|
+
},{}],332:[function(require,module,exports){
|
|
55620
55927
|
"use strict";
|
|
55621
55928
|
/*!
|
|
55622
55929
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -55687,7 +55994,7 @@ __decorate([
|
|
|
55687
55994
|
], DefaultEqualityComparator.prototype, "equals", null);
|
|
55688
55995
|
exports.DefaultEqualityComparator = DefaultEqualityComparator;
|
|
55689
55996
|
|
|
55690
|
-
},{"../Decorators":
|
|
55997
|
+
},{"../Decorators":223,"./MurmurHash":338,"./ObjectEqualityComparator":339}],333:[function(require,module,exports){
|
|
55691
55998
|
"use strict";
|
|
55692
55999
|
/*!
|
|
55693
56000
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -55981,7 +56288,7 @@ __decorate([
|
|
|
55981
56288
|
], IntegerList.prototype, "toString", null);
|
|
55982
56289
|
exports.IntegerList = IntegerList;
|
|
55983
56290
|
|
|
55984
|
-
},{"../Decorators":
|
|
56291
|
+
},{"../Decorators":223,"./Arrays":329}],334:[function(require,module,exports){
|
|
55985
56292
|
"use strict";
|
|
55986
56293
|
/*!
|
|
55987
56294
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -56011,7 +56318,7 @@ class IntegerStack extends IntegerList_1.IntegerList {
|
|
|
56011
56318
|
}
|
|
56012
56319
|
exports.IntegerStack = IntegerStack;
|
|
56013
56320
|
|
|
56014
|
-
},{"./IntegerList":
|
|
56321
|
+
},{"./IntegerList":333}],335:[function(require,module,exports){
|
|
56015
56322
|
"use strict";
|
|
56016
56323
|
/*!
|
|
56017
56324
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -56154,7 +56461,7 @@ __decorate([
|
|
|
56154
56461
|
], Interval.prototype, "toString", null);
|
|
56155
56462
|
exports.Interval = Interval;
|
|
56156
56463
|
|
|
56157
|
-
},{"../Decorators":
|
|
56464
|
+
},{"../Decorators":223}],336:[function(require,module,exports){
|
|
56158
56465
|
"use strict";
|
|
56159
56466
|
/*!
|
|
56160
56467
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -56800,7 +57107,7 @@ __decorate([
|
|
|
56800
57107
|
], IntervalSet, "subtract", null);
|
|
56801
57108
|
exports.IntervalSet = IntervalSet;
|
|
56802
57109
|
|
|
56803
|
-
},{"../Decorators":
|
|
57110
|
+
},{"../Decorators":223,"../Lexer":231,"../Token":248,"./ArrayEqualityComparator":328,"./IntegerList":333,"./Interval":335,"./MurmurHash":338}],337:[function(require,module,exports){
|
|
56804
57111
|
"use strict";
|
|
56805
57112
|
/*!
|
|
56806
57113
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -56833,7 +57140,7 @@ class MultiMap extends Map {
|
|
|
56833
57140
|
}
|
|
56834
57141
|
exports.MultiMap = MultiMap;
|
|
56835
57142
|
|
|
56836
|
-
},{}],
|
|
57143
|
+
},{}],338:[function(require,module,exports){
|
|
56837
57144
|
"use strict";
|
|
56838
57145
|
/*!
|
|
56839
57146
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -56948,7 +57255,7 @@ var MurmurHash;
|
|
|
56948
57255
|
}
|
|
56949
57256
|
})(MurmurHash = exports.MurmurHash || (exports.MurmurHash = {}));
|
|
56950
57257
|
|
|
56951
|
-
},{}],
|
|
57258
|
+
},{}],339:[function(require,module,exports){
|
|
56952
57259
|
"use strict";
|
|
56953
57260
|
/*!
|
|
56954
57261
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -57007,7 +57314,7 @@ __decorate([
|
|
|
57007
57314
|
], ObjectEqualityComparator.prototype, "equals", null);
|
|
57008
57315
|
exports.ObjectEqualityComparator = ObjectEqualityComparator;
|
|
57009
57316
|
|
|
57010
|
-
},{"../Decorators":
|
|
57317
|
+
},{"../Decorators":223}],340:[function(require,module,exports){
|
|
57011
57318
|
"use strict";
|
|
57012
57319
|
/*!
|
|
57013
57320
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -57036,7 +57343,7 @@ class ParseCancellationException extends Error {
|
|
|
57036
57343
|
}
|
|
57037
57344
|
exports.ParseCancellationException = ParseCancellationException;
|
|
57038
57345
|
|
|
57039
|
-
},{}],
|
|
57346
|
+
},{}],341:[function(require,module,exports){
|
|
57040
57347
|
"use strict";
|
|
57041
57348
|
/*!
|
|
57042
57349
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -57090,7 +57397,7 @@ class UUID {
|
|
|
57090
57397
|
}
|
|
57091
57398
|
exports.UUID = UUID;
|
|
57092
57399
|
|
|
57093
|
-
},{"./MurmurHash":
|
|
57400
|
+
},{"./MurmurHash":338}],342:[function(require,module,exports){
|
|
57094
57401
|
"use strict";
|
|
57095
57402
|
/*!
|
|
57096
57403
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -57265,7 +57572,7 @@ exports.toCharArray = toCharArray;
|
|
|
57265
57572
|
// return s;
|
|
57266
57573
|
// }
|
|
57267
57574
|
|
|
57268
|
-
},{}],
|
|
57575
|
+
},{}],343:[function(require,module,exports){
|
|
57269
57576
|
"use strict";
|
|
57270
57577
|
/*!
|
|
57271
57578
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -57301,7 +57608,7 @@ __decorate([
|
|
|
57301
57608
|
], ErrorNode.prototype, "accept", null);
|
|
57302
57609
|
exports.ErrorNode = ErrorNode;
|
|
57303
57610
|
|
|
57304
|
-
},{"../Decorators":
|
|
57611
|
+
},{"../Decorators":223,"./TerminalNode":346}],344:[function(require,module,exports){
|
|
57305
57612
|
"use strict";
|
|
57306
57613
|
/*!
|
|
57307
57614
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -57406,7 +57713,7 @@ exports.ParseTreeWalker = ParseTreeWalker;
|
|
|
57406
57713
|
ParseTreeWalker.DEFAULT = new ParseTreeWalker();
|
|
57407
57714
|
})(ParseTreeWalker = exports.ParseTreeWalker || (exports.ParseTreeWalker = {}));
|
|
57408
57715
|
|
|
57409
|
-
},{"./ErrorNode":
|
|
57716
|
+
},{"./ErrorNode":343,"./RuleNode":345,"./TerminalNode":346}],345:[function(require,module,exports){
|
|
57410
57717
|
"use strict";
|
|
57411
57718
|
/*!
|
|
57412
57719
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -57418,7 +57725,7 @@ class RuleNode {
|
|
|
57418
57725
|
}
|
|
57419
57726
|
exports.RuleNode = RuleNode;
|
|
57420
57727
|
|
|
57421
|
-
},{}],
|
|
57728
|
+
},{}],346:[function(require,module,exports){
|
|
57422
57729
|
"use strict";
|
|
57423
57730
|
/*!
|
|
57424
57731
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -57510,7 +57817,7 @@ __decorate([
|
|
|
57510
57817
|
], TerminalNode.prototype, "toString", null);
|
|
57511
57818
|
exports.TerminalNode = TerminalNode;
|
|
57512
57819
|
|
|
57513
|
-
},{"../Decorators":
|
|
57820
|
+
},{"../Decorators":223,"../Token":248,"../misc/Interval":335}],347:[function(require,module,exports){
|
|
57514
57821
|
"use strict";
|
|
57515
57822
|
/*!
|
|
57516
57823
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -57754,7 +58061,7 @@ __decorate([
|
|
|
57754
58061
|
], Trees, "getRootOfSubtreeEnclosingRegion", null);
|
|
57755
58062
|
exports.Trees = Trees;
|
|
57756
58063
|
|
|
57757
|
-
},{"../CommonToken":
|
|
58064
|
+
},{"../CommonToken":219,"../Decorators":223,"../Parser":236,"../ParserRuleContext":239,"../Token":248,"../atn/ATN":256,"../misc/Utils":342,"./ErrorNode":343,"./RuleNode":345,"./TerminalNode":346}],348:[function(require,module,exports){
|
|
57758
58065
|
"use strict";
|
|
57759
58066
|
/*!
|
|
57760
58067
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -57778,7 +58085,7 @@ class Chunk {
|
|
|
57778
58085
|
}
|
|
57779
58086
|
exports.Chunk = Chunk;
|
|
57780
58087
|
|
|
57781
|
-
},{}],
|
|
58088
|
+
},{}],349:[function(require,module,exports){
|
|
57782
58089
|
"use strict";
|
|
57783
58090
|
/*!
|
|
57784
58091
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -57958,7 +58265,7 @@ ParseTreeMatch = __decorate([
|
|
|
57958
58265
|
], ParseTreeMatch);
|
|
57959
58266
|
exports.ParseTreeMatch = ParseTreeMatch;
|
|
57960
58267
|
|
|
57961
|
-
},{"../../Decorators":
|
|
58268
|
+
},{"../../Decorators":223}],350:[function(require,module,exports){
|
|
57962
58269
|
"use strict";
|
|
57963
58270
|
/*!
|
|
57964
58271
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -58116,7 +58423,7 @@ ParseTreePattern = __decorate([
|
|
|
58116
58423
|
], ParseTreePattern);
|
|
58117
58424
|
exports.ParseTreePattern = ParseTreePattern;
|
|
58118
58425
|
|
|
58119
|
-
},{"../../Decorators":
|
|
58426
|
+
},{"../../Decorators":223,"../xpath/XPath":356}],351:[function(require,module,exports){
|
|
58120
58427
|
"use strict";
|
|
58121
58428
|
/*!
|
|
58122
58429
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -58594,7 +58901,7 @@ exports.ParseTreePatternMatcher = ParseTreePatternMatcher;
|
|
|
58594
58901
|
ParseTreePatternMatcher.StartRuleDoesNotConsumeFullPattern = StartRuleDoesNotConsumeFullPattern;
|
|
58595
58902
|
})(ParseTreePatternMatcher = exports.ParseTreePatternMatcher || (exports.ParseTreePatternMatcher = {}));
|
|
58596
58903
|
|
|
58597
|
-
},{"../../BailErrorStrategy":
|
|
58904
|
+
},{"../../BailErrorStrategy":213,"../../CharStreams":216,"../../CommonTokenStream":221,"../../Decorators":223,"../../ListTokenSource":234,"../../ParserInterpreter":238,"../../ParserRuleContext":239,"../../RecognitionException":242,"../../Token":248,"../../misc/MultiMap":337,"../../misc/ParseCancellationException":340,"../RuleNode":345,"../TerminalNode":346,"./ParseTreeMatch":349,"./ParseTreePattern":350,"./RuleTagToken":352,"./TagChunk":353,"./TextChunk":354,"./TokenTagToken":355}],352:[function(require,module,exports){
|
|
58598
58905
|
"use strict";
|
|
58599
58906
|
/*!
|
|
58600
58907
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -58792,7 +59099,7 @@ RuleTagToken = __decorate([
|
|
|
58792
59099
|
], RuleTagToken);
|
|
58793
59100
|
exports.RuleTagToken = RuleTagToken;
|
|
58794
59101
|
|
|
58795
|
-
},{"../../Decorators":
|
|
59102
|
+
},{"../../Decorators":223,"../../Token":248}],353:[function(require,module,exports){
|
|
58796
59103
|
"use strict";
|
|
58797
59104
|
/*!
|
|
58798
59105
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -58879,7 +59186,7 @@ __decorate([
|
|
|
58879
59186
|
], TagChunk.prototype, "toString", null);
|
|
58880
59187
|
exports.TagChunk = TagChunk;
|
|
58881
59188
|
|
|
58882
|
-
},{"../../Decorators":
|
|
59189
|
+
},{"../../Decorators":223,"./Chunk":348}],354:[function(require,module,exports){
|
|
58883
59190
|
"use strict";
|
|
58884
59191
|
/*!
|
|
58885
59192
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -58949,7 +59256,7 @@ TextChunk = __decorate([
|
|
|
58949
59256
|
], TextChunk);
|
|
58950
59257
|
exports.TextChunk = TextChunk;
|
|
58951
59258
|
|
|
58952
|
-
},{"../../Decorators":
|
|
59259
|
+
},{"../../Decorators":223,"./Chunk":348}],355:[function(require,module,exports){
|
|
58953
59260
|
"use strict";
|
|
58954
59261
|
/*!
|
|
58955
59262
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -59044,7 +59351,7 @@ TokenTagToken = __decorate([
|
|
|
59044
59351
|
], TokenTagToken);
|
|
59045
59352
|
exports.TokenTagToken = TokenTagToken;
|
|
59046
59353
|
|
|
59047
|
-
},{"../../CommonToken":
|
|
59354
|
+
},{"../../CommonToken":219,"../../Decorators":223}],356:[function(require,module,exports){
|
|
59048
59355
|
"use strict";
|
|
59049
59356
|
/*!
|
|
59050
59357
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -59241,7 +59548,7 @@ exports.XPath = XPath;
|
|
|
59241
59548
|
XPath.WILDCARD = "*"; // word not operator/separator
|
|
59242
59549
|
XPath.NOT = "!"; // word for invert operator
|
|
59243
59550
|
|
|
59244
|
-
},{"../../CharStreams":
|
|
59551
|
+
},{"../../CharStreams":216,"../../CommonTokenStream":221,"../../LexerNoViableAltException":233,"../../ParserRuleContext":239,"../../Token":248,"./XPathLexer":358,"./XPathLexerErrorListener":359,"./XPathRuleAnywhereElement":360,"./XPathRuleElement":361,"./XPathTokenAnywhereElement":362,"./XPathTokenElement":363,"./XPathWildcardAnywhereElement":364,"./XPathWildcardElement":365}],357:[function(require,module,exports){
|
|
59245
59552
|
"use strict";
|
|
59246
59553
|
/*!
|
|
59247
59554
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -59276,7 +59583,7 @@ __decorate([
|
|
|
59276
59583
|
], XPathElement.prototype, "toString", null);
|
|
59277
59584
|
exports.XPathElement = XPathElement;
|
|
59278
59585
|
|
|
59279
|
-
},{"../../Decorators":
|
|
59586
|
+
},{"../../Decorators":223}],358:[function(require,module,exports){
|
|
59280
59587
|
"use strict";
|
|
59281
59588
|
// Generated from XPathLexer.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
59282
59589
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -59751,7 +60058,7 @@ XPathLexer._serializedATN = Utils.join([
|
|
|
59751
60058
|
XPathLexer._serializedATNSegment1,
|
|
59752
60059
|
], "");
|
|
59753
60060
|
|
|
59754
|
-
},{"../../Lexer":
|
|
60061
|
+
},{"../../Lexer":231,"../../VocabularyImpl":254,"../../atn/ATNDeserializer":260,"../../atn/LexerATNSimulator":281,"../../misc/Utils":342}],359:[function(require,module,exports){
|
|
59755
60062
|
"use strict";
|
|
59756
60063
|
/*!
|
|
59757
60064
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -59776,7 +60083,7 @@ __decorate([
|
|
|
59776
60083
|
], XPathLexerErrorListener.prototype, "syntaxError", null);
|
|
59777
60084
|
exports.XPathLexerErrorListener = XPathLexerErrorListener;
|
|
59778
60085
|
|
|
59779
|
-
},{"../../Decorators":
|
|
60086
|
+
},{"../../Decorators":223}],360:[function(require,module,exports){
|
|
59780
60087
|
"use strict";
|
|
59781
60088
|
/*!
|
|
59782
60089
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -59810,7 +60117,7 @@ __decorate([
|
|
|
59810
60117
|
], XPathRuleAnywhereElement.prototype, "evaluate", null);
|
|
59811
60118
|
exports.XPathRuleAnywhereElement = XPathRuleAnywhereElement;
|
|
59812
60119
|
|
|
59813
|
-
},{"../../Decorators":
|
|
60120
|
+
},{"../../Decorators":223,"../Trees":347,"./XPathElement":357}],361:[function(require,module,exports){
|
|
59814
60121
|
"use strict";
|
|
59815
60122
|
/*!
|
|
59816
60123
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -59853,7 +60160,7 @@ __decorate([
|
|
|
59853
60160
|
], XPathRuleElement.prototype, "evaluate", null);
|
|
59854
60161
|
exports.XPathRuleElement = XPathRuleElement;
|
|
59855
60162
|
|
|
59856
|
-
},{"../../Decorators":
|
|
60163
|
+
},{"../../Decorators":223,"../../ParserRuleContext":239,"../Trees":347,"./XPathElement":357}],362:[function(require,module,exports){
|
|
59857
60164
|
"use strict";
|
|
59858
60165
|
/*!
|
|
59859
60166
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -59885,7 +60192,7 @@ __decorate([
|
|
|
59885
60192
|
], XPathTokenAnywhereElement.prototype, "evaluate", null);
|
|
59886
60193
|
exports.XPathTokenAnywhereElement = XPathTokenAnywhereElement;
|
|
59887
60194
|
|
|
59888
|
-
},{"../../Decorators":
|
|
60195
|
+
},{"../../Decorators":223,"../Trees":347,"./XPathElement":357}],363:[function(require,module,exports){
|
|
59889
60196
|
"use strict";
|
|
59890
60197
|
/*!
|
|
59891
60198
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -59928,7 +60235,7 @@ __decorate([
|
|
|
59928
60235
|
], XPathTokenElement.prototype, "evaluate", null);
|
|
59929
60236
|
exports.XPathTokenElement = XPathTokenElement;
|
|
59930
60237
|
|
|
59931
|
-
},{"../../Decorators":
|
|
60238
|
+
},{"../../Decorators":223,"../TerminalNode":346,"../Trees":347,"./XPathElement":357}],364:[function(require,module,exports){
|
|
59932
60239
|
"use strict";
|
|
59933
60240
|
/*!
|
|
59934
60241
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -59964,7 +60271,7 @@ __decorate([
|
|
|
59964
60271
|
], XPathWildcardAnywhereElement.prototype, "evaluate", null);
|
|
59965
60272
|
exports.XPathWildcardAnywhereElement = XPathWildcardAnywhereElement;
|
|
59966
60273
|
|
|
59967
|
-
},{"../../Decorators":
|
|
60274
|
+
},{"../../Decorators":223,"../Trees":347,"./XPath":356,"./XPathElement":357}],365:[function(require,module,exports){
|
|
59968
60275
|
"use strict";
|
|
59969
60276
|
/*!
|
|
59970
60277
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -60004,7 +60311,7 @@ __decorate([
|
|
|
60004
60311
|
], XPathWildcardElement.prototype, "evaluate", null);
|
|
60005
60312
|
exports.XPathWildcardElement = XPathWildcardElement;
|
|
60006
60313
|
|
|
60007
|
-
},{"../../Decorators":
|
|
60314
|
+
},{"../../Decorators":223,"../Trees":347,"./XPath":356,"./XPathElement":357}],366:[function(require,module,exports){
|
|
60008
60315
|
(function (global){(function (){
|
|
60009
60316
|
'use strict';
|
|
60010
60317
|
|
|
@@ -60514,7 +60821,7 @@ var objectKeys = Object.keys || function (obj) {
|
|
|
60514
60821
|
};
|
|
60515
60822
|
|
|
60516
60823
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
60517
|
-
},{"object.assign/polyfill":
|
|
60824
|
+
},{"object.assign/polyfill":423,"util/":369}],367:[function(require,module,exports){
|
|
60518
60825
|
if (typeof Object.create === 'function') {
|
|
60519
60826
|
// implementation from standard node.js 'util' module
|
|
60520
60827
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -60539,14 +60846,14 @@ if (typeof Object.create === 'function') {
|
|
|
60539
60846
|
}
|
|
60540
60847
|
}
|
|
60541
60848
|
|
|
60542
|
-
},{}],
|
|
60849
|
+
},{}],368:[function(require,module,exports){
|
|
60543
60850
|
module.exports = function isBuffer(arg) {
|
|
60544
60851
|
return arg && typeof arg === 'object'
|
|
60545
60852
|
&& typeof arg.copy === 'function'
|
|
60546
60853
|
&& typeof arg.fill === 'function'
|
|
60547
60854
|
&& typeof arg.readUInt8 === 'function';
|
|
60548
60855
|
}
|
|
60549
|
-
},{}],
|
|
60856
|
+
},{}],369:[function(require,module,exports){
|
|
60550
60857
|
(function (process,global){(function (){
|
|
60551
60858
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
60552
60859
|
//
|
|
@@ -61136,7 +61443,7 @@ function hasOwnProperty(obj, prop) {
|
|
|
61136
61443
|
}
|
|
61137
61444
|
|
|
61138
61445
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
61139
|
-
},{"./support/isBuffer":
|
|
61446
|
+
},{"./support/isBuffer":368,"_process":425,"inherits":367}],370:[function(require,module,exports){
|
|
61140
61447
|
(function (global){(function (){
|
|
61141
61448
|
'use strict';
|
|
61142
61449
|
|
|
@@ -61157,7 +61464,7 @@ module.exports = function availableTypedArrays() {
|
|
|
61157
61464
|
};
|
|
61158
61465
|
|
|
61159
61466
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
61160
|
-
},{"possible-typed-array-names":
|
|
61467
|
+
},{"possible-typed-array-names":424}],371:[function(require,module,exports){
|
|
61161
61468
|
(function (process,global){(function (){
|
|
61162
61469
|
module.exports = process.hrtime || hrtime
|
|
61163
61470
|
|
|
@@ -61188,7 +61495,7 @@ function hrtime(previousTimestamp){
|
|
|
61188
61495
|
return [seconds,nanoseconds]
|
|
61189
61496
|
}
|
|
61190
61497
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
61191
|
-
},{"_process":
|
|
61498
|
+
},{"_process":425}],372:[function(require,module,exports){
|
|
61192
61499
|
'use strict';
|
|
61193
61500
|
|
|
61194
61501
|
var bind = require('function-bind');
|
|
@@ -61200,7 +61507,7 @@ var $reflectApply = require('./reflectApply');
|
|
|
61200
61507
|
/** @type {import('./actualApply')} */
|
|
61201
61508
|
module.exports = $reflectApply || bind.call($call, $apply);
|
|
61202
61509
|
|
|
61203
|
-
},{"./functionApply":
|
|
61510
|
+
},{"./functionApply":374,"./functionCall":375,"./reflectApply":377,"function-bind":393}],373:[function(require,module,exports){
|
|
61204
61511
|
'use strict';
|
|
61205
61512
|
|
|
61206
61513
|
var bind = require('function-bind');
|
|
@@ -61212,19 +61519,19 @@ module.exports = function applyBind() {
|
|
|
61212
61519
|
return actualApply(bind, $apply, arguments);
|
|
61213
61520
|
};
|
|
61214
61521
|
|
|
61215
|
-
},{"./actualApply":
|
|
61522
|
+
},{"./actualApply":372,"./functionApply":374,"function-bind":393}],374:[function(require,module,exports){
|
|
61216
61523
|
'use strict';
|
|
61217
61524
|
|
|
61218
61525
|
/** @type {import('./functionApply')} */
|
|
61219
61526
|
module.exports = Function.prototype.apply;
|
|
61220
61527
|
|
|
61221
|
-
},{}],
|
|
61528
|
+
},{}],375:[function(require,module,exports){
|
|
61222
61529
|
'use strict';
|
|
61223
61530
|
|
|
61224
61531
|
/** @type {import('./functionCall')} */
|
|
61225
61532
|
module.exports = Function.prototype.call;
|
|
61226
61533
|
|
|
61227
|
-
},{}],
|
|
61534
|
+
},{}],376:[function(require,module,exports){
|
|
61228
61535
|
'use strict';
|
|
61229
61536
|
|
|
61230
61537
|
var bind = require('function-bind');
|
|
@@ -61241,13 +61548,13 @@ module.exports = function callBindBasic(args) {
|
|
|
61241
61548
|
return $actualApply(bind, $call, args);
|
|
61242
61549
|
};
|
|
61243
61550
|
|
|
61244
|
-
},{"./actualApply":
|
|
61551
|
+
},{"./actualApply":372,"./functionCall":375,"es-errors/type":388,"function-bind":393}],377:[function(require,module,exports){
|
|
61245
61552
|
'use strict';
|
|
61246
61553
|
|
|
61247
61554
|
/** @type {import('./reflectApply')} */
|
|
61248
61555
|
module.exports = typeof Reflect !== 'undefined' && Reflect && Reflect.apply;
|
|
61249
61556
|
|
|
61250
|
-
},{}],
|
|
61557
|
+
},{}],378:[function(require,module,exports){
|
|
61251
61558
|
'use strict';
|
|
61252
61559
|
|
|
61253
61560
|
var setFunctionLength = require('set-function-length');
|
|
@@ -61273,7 +61580,7 @@ if ($defineProperty) {
|
|
|
61273
61580
|
module.exports.apply = applyBind;
|
|
61274
61581
|
}
|
|
61275
61582
|
|
|
61276
|
-
},{"call-bind-apply-helpers":
|
|
61583
|
+
},{"call-bind-apply-helpers":376,"call-bind-apply-helpers/applyBind":373,"es-define-property":382,"set-function-length":427}],379:[function(require,module,exports){
|
|
61277
61584
|
'use strict';
|
|
61278
61585
|
|
|
61279
61586
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -61294,7 +61601,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
61294
61601
|
return intrinsic;
|
|
61295
61602
|
};
|
|
61296
61603
|
|
|
61297
|
-
},{"call-bind-apply-helpers":
|
|
61604
|
+
},{"call-bind-apply-helpers":376,"get-intrinsic":394}],380:[function(require,module,exports){
|
|
61298
61605
|
'use strict';
|
|
61299
61606
|
|
|
61300
61607
|
var $defineProperty = require('es-define-property');
|
|
@@ -61352,7 +61659,7 @@ module.exports = function defineDataProperty(
|
|
|
61352
61659
|
}
|
|
61353
61660
|
};
|
|
61354
61661
|
|
|
61355
|
-
},{"es-define-property":
|
|
61662
|
+
},{"es-define-property":382,"es-errors/syntax":387,"es-errors/type":388,"gopd":399}],381:[function(require,module,exports){
|
|
61356
61663
|
'use strict';
|
|
61357
61664
|
|
|
61358
61665
|
var callBind = require('call-bind-apply-helpers');
|
|
@@ -61384,7 +61691,7 @@ module.exports = desc && typeof desc.get === 'function'
|
|
|
61384
61691
|
}
|
|
61385
61692
|
: false;
|
|
61386
61693
|
|
|
61387
|
-
},{"call-bind-apply-helpers":
|
|
61694
|
+
},{"call-bind-apply-helpers":376,"gopd":399}],382:[function(require,module,exports){
|
|
61388
61695
|
'use strict';
|
|
61389
61696
|
|
|
61390
61697
|
/** @type {import('.')} */
|
|
@@ -61400,55 +61707,55 @@ if ($defineProperty) {
|
|
|
61400
61707
|
|
|
61401
61708
|
module.exports = $defineProperty;
|
|
61402
61709
|
|
|
61403
|
-
},{}],
|
|
61710
|
+
},{}],383:[function(require,module,exports){
|
|
61404
61711
|
'use strict';
|
|
61405
61712
|
|
|
61406
61713
|
/** @type {import('./eval')} */
|
|
61407
61714
|
module.exports = EvalError;
|
|
61408
61715
|
|
|
61409
|
-
},{}],
|
|
61716
|
+
},{}],384:[function(require,module,exports){
|
|
61410
61717
|
'use strict';
|
|
61411
61718
|
|
|
61412
61719
|
/** @type {import('.')} */
|
|
61413
61720
|
module.exports = Error;
|
|
61414
61721
|
|
|
61415
|
-
},{}],
|
|
61722
|
+
},{}],385:[function(require,module,exports){
|
|
61416
61723
|
'use strict';
|
|
61417
61724
|
|
|
61418
61725
|
/** @type {import('./range')} */
|
|
61419
61726
|
module.exports = RangeError;
|
|
61420
61727
|
|
|
61421
|
-
},{}],
|
|
61728
|
+
},{}],386:[function(require,module,exports){
|
|
61422
61729
|
'use strict';
|
|
61423
61730
|
|
|
61424
61731
|
/** @type {import('./ref')} */
|
|
61425
61732
|
module.exports = ReferenceError;
|
|
61426
61733
|
|
|
61427
|
-
},{}],
|
|
61734
|
+
},{}],387:[function(require,module,exports){
|
|
61428
61735
|
'use strict';
|
|
61429
61736
|
|
|
61430
61737
|
/** @type {import('./syntax')} */
|
|
61431
61738
|
module.exports = SyntaxError;
|
|
61432
61739
|
|
|
61433
|
-
},{}],
|
|
61740
|
+
},{}],388:[function(require,module,exports){
|
|
61434
61741
|
'use strict';
|
|
61435
61742
|
|
|
61436
61743
|
/** @type {import('./type')} */
|
|
61437
61744
|
module.exports = TypeError;
|
|
61438
61745
|
|
|
61439
|
-
},{}],
|
|
61746
|
+
},{}],389:[function(require,module,exports){
|
|
61440
61747
|
'use strict';
|
|
61441
61748
|
|
|
61442
61749
|
/** @type {import('./uri')} */
|
|
61443
61750
|
module.exports = URIError;
|
|
61444
61751
|
|
|
61445
|
-
},{}],
|
|
61752
|
+
},{}],390:[function(require,module,exports){
|
|
61446
61753
|
'use strict';
|
|
61447
61754
|
|
|
61448
61755
|
/** @type {import('.')} */
|
|
61449
61756
|
module.exports = Object;
|
|
61450
61757
|
|
|
61451
|
-
},{}],
|
|
61758
|
+
},{}],391:[function(require,module,exports){
|
|
61452
61759
|
'use strict';
|
|
61453
61760
|
|
|
61454
61761
|
var isCallable = require('is-callable');
|
|
@@ -61519,7 +61826,7 @@ module.exports = function forEach(list, iterator, thisArg) {
|
|
|
61519
61826
|
}
|
|
61520
61827
|
};
|
|
61521
61828
|
|
|
61522
|
-
},{"is-callable":
|
|
61829
|
+
},{"is-callable":407}],392:[function(require,module,exports){
|
|
61523
61830
|
'use strict';
|
|
61524
61831
|
|
|
61525
61832
|
/* eslint no-invalid-this: 1 */
|
|
@@ -61605,14 +61912,14 @@ module.exports = function bind(that) {
|
|
|
61605
61912
|
return bound;
|
|
61606
61913
|
};
|
|
61607
61914
|
|
|
61608
|
-
},{}],
|
|
61915
|
+
},{}],393:[function(require,module,exports){
|
|
61609
61916
|
'use strict';
|
|
61610
61917
|
|
|
61611
61918
|
var implementation = require('./implementation');
|
|
61612
61919
|
|
|
61613
61920
|
module.exports = Function.prototype.bind || implementation;
|
|
61614
61921
|
|
|
61615
|
-
},{"./implementation":
|
|
61922
|
+
},{"./implementation":392}],394:[function(require,module,exports){
|
|
61616
61923
|
'use strict';
|
|
61617
61924
|
|
|
61618
61925
|
var undefined;
|
|
@@ -61992,7 +62299,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
61992
62299
|
return value;
|
|
61993
62300
|
};
|
|
61994
62301
|
|
|
61995
|
-
},{"call-bind-apply-helpers/functionApply":
|
|
62302
|
+
},{"call-bind-apply-helpers/functionApply":374,"call-bind-apply-helpers/functionCall":375,"es-define-property":382,"es-errors":384,"es-errors/eval":383,"es-errors/range":385,"es-errors/ref":386,"es-errors/syntax":387,"es-errors/type":388,"es-errors/uri":389,"es-object-atoms":390,"function-bind":393,"get-proto":397,"get-proto/Object.getPrototypeOf":395,"get-proto/Reflect.getPrototypeOf":396,"gopd":399,"has-symbols":401,"hasown":404,"math-intrinsics/abs":411,"math-intrinsics/floor":412,"math-intrinsics/max":414,"math-intrinsics/min":415,"math-intrinsics/pow":416,"math-intrinsics/round":417,"math-intrinsics/sign":418}],395:[function(require,module,exports){
|
|
61996
62303
|
'use strict';
|
|
61997
62304
|
|
|
61998
62305
|
var $Object = require('es-object-atoms');
|
|
@@ -62000,13 +62307,13 @@ var $Object = require('es-object-atoms');
|
|
|
62000
62307
|
/** @type {import('./Object.getPrototypeOf')} */
|
|
62001
62308
|
module.exports = $Object.getPrototypeOf || null;
|
|
62002
62309
|
|
|
62003
|
-
},{"es-object-atoms":
|
|
62310
|
+
},{"es-object-atoms":390}],396:[function(require,module,exports){
|
|
62004
62311
|
'use strict';
|
|
62005
62312
|
|
|
62006
62313
|
/** @type {import('./Reflect.getPrototypeOf')} */
|
|
62007
62314
|
module.exports = (typeof Reflect !== 'undefined' && Reflect.getPrototypeOf) || null;
|
|
62008
62315
|
|
|
62009
|
-
},{}],
|
|
62316
|
+
},{}],397:[function(require,module,exports){
|
|
62010
62317
|
'use strict';
|
|
62011
62318
|
|
|
62012
62319
|
var reflectGetProto = require('./Reflect.getPrototypeOf');
|
|
@@ -62035,13 +62342,13 @@ module.exports = reflectGetProto
|
|
|
62035
62342
|
}
|
|
62036
62343
|
: null;
|
|
62037
62344
|
|
|
62038
|
-
},{"./Object.getPrototypeOf":
|
|
62345
|
+
},{"./Object.getPrototypeOf":395,"./Reflect.getPrototypeOf":396,"dunder-proto/get":381}],398:[function(require,module,exports){
|
|
62039
62346
|
'use strict';
|
|
62040
62347
|
|
|
62041
62348
|
/** @type {import('./gOPD')} */
|
|
62042
62349
|
module.exports = Object.getOwnPropertyDescriptor;
|
|
62043
62350
|
|
|
62044
|
-
},{}],
|
|
62351
|
+
},{}],399:[function(require,module,exports){
|
|
62045
62352
|
'use strict';
|
|
62046
62353
|
|
|
62047
62354
|
/** @type {import('.')} */
|
|
@@ -62058,7 +62365,7 @@ if ($gOPD) {
|
|
|
62058
62365
|
|
|
62059
62366
|
module.exports = $gOPD;
|
|
62060
62367
|
|
|
62061
|
-
},{"./gOPD":
|
|
62368
|
+
},{"./gOPD":398}],400:[function(require,module,exports){
|
|
62062
62369
|
'use strict';
|
|
62063
62370
|
|
|
62064
62371
|
var $defineProperty = require('es-define-property');
|
|
@@ -62082,7 +62389,7 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
62082
62389
|
|
|
62083
62390
|
module.exports = hasPropertyDescriptors;
|
|
62084
62391
|
|
|
62085
|
-
},{"es-define-property":
|
|
62392
|
+
},{"es-define-property":382}],401:[function(require,module,exports){
|
|
62086
62393
|
'use strict';
|
|
62087
62394
|
|
|
62088
62395
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -62098,7 +62405,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
62098
62405
|
return hasSymbolSham();
|
|
62099
62406
|
};
|
|
62100
62407
|
|
|
62101
|
-
},{"./shams":
|
|
62408
|
+
},{"./shams":402}],402:[function(require,module,exports){
|
|
62102
62409
|
'use strict';
|
|
62103
62410
|
|
|
62104
62411
|
/** @type {import('./shams')} */
|
|
@@ -62145,7 +62452,7 @@ module.exports = function hasSymbols() {
|
|
|
62145
62452
|
return true;
|
|
62146
62453
|
};
|
|
62147
62454
|
|
|
62148
|
-
},{}],
|
|
62455
|
+
},{}],403:[function(require,module,exports){
|
|
62149
62456
|
'use strict';
|
|
62150
62457
|
|
|
62151
62458
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -62155,7 +62462,7 @@ module.exports = function hasToStringTagShams() {
|
|
|
62155
62462
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
62156
62463
|
};
|
|
62157
62464
|
|
|
62158
|
-
},{"has-symbols/shams":
|
|
62465
|
+
},{"has-symbols/shams":402}],404:[function(require,module,exports){
|
|
62159
62466
|
'use strict';
|
|
62160
62467
|
|
|
62161
62468
|
var call = Function.prototype.call;
|
|
@@ -62165,7 +62472,7 @@ var bind = require('function-bind');
|
|
|
62165
62472
|
/** @type {import('.')} */
|
|
62166
62473
|
module.exports = bind.call(call, $hasOwn);
|
|
62167
62474
|
|
|
62168
|
-
},{"function-bind":
|
|
62475
|
+
},{"function-bind":393}],405:[function(require,module,exports){
|
|
62169
62476
|
if (typeof Object.create === 'function') {
|
|
62170
62477
|
// implementation from standard node.js 'util' module
|
|
62171
62478
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -62194,7 +62501,7 @@ if (typeof Object.create === 'function') {
|
|
|
62194
62501
|
}
|
|
62195
62502
|
}
|
|
62196
62503
|
|
|
62197
|
-
},{}],
|
|
62504
|
+
},{}],406:[function(require,module,exports){
|
|
62198
62505
|
'use strict';
|
|
62199
62506
|
|
|
62200
62507
|
var hasToStringTag = require('has-tostringtag/shams')();
|
|
@@ -62240,7 +62547,7 @@ isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests
|
|
|
62240
62547
|
/** @type {import('.')} */
|
|
62241
62548
|
module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
62242
62549
|
|
|
62243
|
-
},{"call-bound":
|
|
62550
|
+
},{"call-bound":379,"has-tostringtag/shams":403}],407:[function(require,module,exports){
|
|
62244
62551
|
'use strict';
|
|
62245
62552
|
|
|
62246
62553
|
var fnToStr = Function.prototype.toString;
|
|
@@ -62343,7 +62650,7 @@ module.exports = reflectApply
|
|
|
62343
62650
|
return tryFunctionObject(value);
|
|
62344
62651
|
};
|
|
62345
62652
|
|
|
62346
|
-
},{}],
|
|
62653
|
+
},{}],408:[function(require,module,exports){
|
|
62347
62654
|
'use strict';
|
|
62348
62655
|
|
|
62349
62656
|
var callBound = require('call-bound');
|
|
@@ -62392,7 +62699,7 @@ module.exports = function isGeneratorFunction(fn) {
|
|
|
62392
62699
|
return getProto(fn) === GeneratorFunction;
|
|
62393
62700
|
};
|
|
62394
62701
|
|
|
62395
|
-
},{"call-bound":
|
|
62702
|
+
},{"call-bound":379,"get-proto":397,"has-tostringtag/shams":403,"safe-regex-test":426}],409:[function(require,module,exports){
|
|
62396
62703
|
'use strict';
|
|
62397
62704
|
|
|
62398
62705
|
var callBound = require('call-bound');
|
|
@@ -62463,7 +62770,7 @@ if (hasToStringTag) {
|
|
|
62463
62770
|
|
|
62464
62771
|
module.exports = fn;
|
|
62465
62772
|
|
|
62466
|
-
},{"call-bound":
|
|
62773
|
+
},{"call-bound":379,"gopd":399,"has-tostringtag/shams":403,"hasown":404}],410:[function(require,module,exports){
|
|
62467
62774
|
'use strict';
|
|
62468
62775
|
|
|
62469
62776
|
var whichTypedArray = require('which-typed-array');
|
|
@@ -62473,19 +62780,19 @@ module.exports = function isTypedArray(value) {
|
|
|
62473
62780
|
return !!whichTypedArray(value);
|
|
62474
62781
|
};
|
|
62475
62782
|
|
|
62476
|
-
},{"which-typed-array":
|
|
62783
|
+
},{"which-typed-array":431}],411:[function(require,module,exports){
|
|
62477
62784
|
'use strict';
|
|
62478
62785
|
|
|
62479
62786
|
/** @type {import('./abs')} */
|
|
62480
62787
|
module.exports = Math.abs;
|
|
62481
62788
|
|
|
62482
|
-
},{}],
|
|
62789
|
+
},{}],412:[function(require,module,exports){
|
|
62483
62790
|
'use strict';
|
|
62484
62791
|
|
|
62485
62792
|
/** @type {import('./floor')} */
|
|
62486
62793
|
module.exports = Math.floor;
|
|
62487
62794
|
|
|
62488
|
-
},{}],
|
|
62795
|
+
},{}],413:[function(require,module,exports){
|
|
62489
62796
|
'use strict';
|
|
62490
62797
|
|
|
62491
62798
|
/** @type {import('./isNaN')} */
|
|
@@ -62493,31 +62800,31 @@ module.exports = Number.isNaN || function isNaN(a) {
|
|
|
62493
62800
|
return a !== a;
|
|
62494
62801
|
};
|
|
62495
62802
|
|
|
62496
|
-
},{}],
|
|
62803
|
+
},{}],414:[function(require,module,exports){
|
|
62497
62804
|
'use strict';
|
|
62498
62805
|
|
|
62499
62806
|
/** @type {import('./max')} */
|
|
62500
62807
|
module.exports = Math.max;
|
|
62501
62808
|
|
|
62502
|
-
},{}],
|
|
62809
|
+
},{}],415:[function(require,module,exports){
|
|
62503
62810
|
'use strict';
|
|
62504
62811
|
|
|
62505
62812
|
/** @type {import('./min')} */
|
|
62506
62813
|
module.exports = Math.min;
|
|
62507
62814
|
|
|
62508
|
-
},{}],
|
|
62815
|
+
},{}],416:[function(require,module,exports){
|
|
62509
62816
|
'use strict';
|
|
62510
62817
|
|
|
62511
62818
|
/** @type {import('./pow')} */
|
|
62512
62819
|
module.exports = Math.pow;
|
|
62513
62820
|
|
|
62514
|
-
},{}],
|
|
62821
|
+
},{}],417:[function(require,module,exports){
|
|
62515
62822
|
'use strict';
|
|
62516
62823
|
|
|
62517
62824
|
/** @type {import('./round')} */
|
|
62518
62825
|
module.exports = Math.round;
|
|
62519
62826
|
|
|
62520
|
-
},{}],
|
|
62827
|
+
},{}],418:[function(require,module,exports){
|
|
62521
62828
|
'use strict';
|
|
62522
62829
|
|
|
62523
62830
|
var $isNaN = require('./isNaN');
|
|
@@ -62530,7 +62837,7 @@ module.exports = function sign(number) {
|
|
|
62530
62837
|
return number < 0 ? -1 : +1;
|
|
62531
62838
|
};
|
|
62532
62839
|
|
|
62533
|
-
},{"./isNaN":
|
|
62840
|
+
},{"./isNaN":413}],419:[function(require,module,exports){
|
|
62534
62841
|
'use strict';
|
|
62535
62842
|
|
|
62536
62843
|
var keysShim;
|
|
@@ -62654,7 +62961,7 @@ if (!Object.keys) {
|
|
|
62654
62961
|
}
|
|
62655
62962
|
module.exports = keysShim;
|
|
62656
62963
|
|
|
62657
|
-
},{"./isArguments":
|
|
62964
|
+
},{"./isArguments":421}],420:[function(require,module,exports){
|
|
62658
62965
|
'use strict';
|
|
62659
62966
|
|
|
62660
62967
|
var slice = Array.prototype.slice;
|
|
@@ -62688,7 +62995,7 @@ keysShim.shim = function shimObjectKeys() {
|
|
|
62688
62995
|
|
|
62689
62996
|
module.exports = keysShim;
|
|
62690
62997
|
|
|
62691
|
-
},{"./implementation":
|
|
62998
|
+
},{"./implementation":419,"./isArguments":421}],421:[function(require,module,exports){
|
|
62692
62999
|
'use strict';
|
|
62693
63000
|
|
|
62694
63001
|
var toStr = Object.prototype.toString;
|
|
@@ -62707,7 +63014,7 @@ module.exports = function isArguments(value) {
|
|
|
62707
63014
|
return isArgs;
|
|
62708
63015
|
};
|
|
62709
63016
|
|
|
62710
|
-
},{}],
|
|
63017
|
+
},{}],422:[function(require,module,exports){
|
|
62711
63018
|
'use strict';
|
|
62712
63019
|
|
|
62713
63020
|
// modified from https://github.com/es-shims/es6-shim
|
|
@@ -62755,7 +63062,7 @@ module.exports = function assign(target, source1) {
|
|
|
62755
63062
|
return to; // step 4
|
|
62756
63063
|
};
|
|
62757
63064
|
|
|
62758
|
-
},{"call-bound":
|
|
63065
|
+
},{"call-bound":379,"es-object-atoms":390,"has-symbols/shams":402,"object-keys":420}],423:[function(require,module,exports){
|
|
62759
63066
|
'use strict';
|
|
62760
63067
|
|
|
62761
63068
|
var implementation = require('./implementation');
|
|
@@ -62812,7 +63119,7 @@ module.exports = function getPolyfill() {
|
|
|
62812
63119
|
return Object.assign;
|
|
62813
63120
|
};
|
|
62814
63121
|
|
|
62815
|
-
},{"./implementation":
|
|
63122
|
+
},{"./implementation":422}],424:[function(require,module,exports){
|
|
62816
63123
|
'use strict';
|
|
62817
63124
|
|
|
62818
63125
|
/** @type {import('.')} */
|
|
@@ -62831,7 +63138,7 @@ module.exports = [
|
|
|
62831
63138
|
'BigUint64Array'
|
|
62832
63139
|
];
|
|
62833
63140
|
|
|
62834
|
-
},{}],
|
|
63141
|
+
},{}],425:[function(require,module,exports){
|
|
62835
63142
|
// shim for using process in browser
|
|
62836
63143
|
var process = module.exports = {};
|
|
62837
63144
|
|
|
@@ -63017,7 +63324,7 @@ process.chdir = function (dir) {
|
|
|
63017
63324
|
};
|
|
63018
63325
|
process.umask = function() { return 0; };
|
|
63019
63326
|
|
|
63020
|
-
},{}],
|
|
63327
|
+
},{}],426:[function(require,module,exports){
|
|
63021
63328
|
'use strict';
|
|
63022
63329
|
|
|
63023
63330
|
var callBound = require('call-bound');
|
|
@@ -63036,7 +63343,7 @@ module.exports = function regexTester(regex) {
|
|
|
63036
63343
|
};
|
|
63037
63344
|
};
|
|
63038
63345
|
|
|
63039
|
-
},{"call-bound":
|
|
63346
|
+
},{"call-bound":379,"es-errors/type":388,"is-regex":409}],427:[function(require,module,exports){
|
|
63040
63347
|
'use strict';
|
|
63041
63348
|
|
|
63042
63349
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -63080,9 +63387,9 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
63080
63387
|
return fn;
|
|
63081
63388
|
};
|
|
63082
63389
|
|
|
63083
|
-
},{"define-data-property":
|
|
63084
|
-
arguments[4][
|
|
63085
|
-
},{"dup":
|
|
63390
|
+
},{"define-data-property":380,"es-errors/type":388,"get-intrinsic":394,"gopd":399,"has-property-descriptors":400}],428:[function(require,module,exports){
|
|
63391
|
+
arguments[4][368][0].apply(exports,arguments)
|
|
63392
|
+
},{"dup":368}],429:[function(require,module,exports){
|
|
63086
63393
|
// Currently in sync with Node.js lib/internal/util/types.js
|
|
63087
63394
|
// https://github.com/nodejs/node/commit/112cc7c27551254aa2b17098fb774867f05ed0d9
|
|
63088
63395
|
|
|
@@ -63418,7 +63725,7 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
|
63418
63725
|
});
|
|
63419
63726
|
});
|
|
63420
63727
|
|
|
63421
|
-
},{"is-arguments":
|
|
63728
|
+
},{"is-arguments":406,"is-generator-function":408,"is-typed-array":410,"which-typed-array":431}],430:[function(require,module,exports){
|
|
63422
63729
|
(function (process){(function (){
|
|
63423
63730
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
63424
63731
|
//
|
|
@@ -64137,7 +64444,7 @@ function callbackify(original) {
|
|
|
64137
64444
|
exports.callbackify = callbackify;
|
|
64138
64445
|
|
|
64139
64446
|
}).call(this)}).call(this,require('_process'))
|
|
64140
|
-
},{"./support/isBuffer":
|
|
64447
|
+
},{"./support/isBuffer":428,"./support/types":429,"_process":425,"inherits":405}],431:[function(require,module,exports){
|
|
64141
64448
|
(function (global){(function (){
|
|
64142
64449
|
'use strict';
|
|
64143
64450
|
|
|
@@ -64258,5 +64565,5 @@ module.exports = function whichTypedArray(value) {
|
|
|
64258
64565
|
};
|
|
64259
64566
|
|
|
64260
64567
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
64261
|
-
},{"available-typed-arrays":
|
|
64568
|
+
},{"available-typed-arrays":370,"call-bind":378,"call-bound":379,"for-each":391,"get-proto":397,"gopd":399,"has-tostringtag/shams":403}]},{},[115])(115)
|
|
64262
64569
|
});
|