@designliquido/delegua 0.37.2 → 0.38.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/analisador-semantico/analisador-semantico.d.ts.map +1 -1
- package/analisador-semantico/analisador-semantico.js +24 -27
- package/analisador-semantico/analisador-semantico.js.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico-base.js +2 -2
- package/avaliador-sintatico/avaliador-sintatico-base.js.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico.d.ts +12 -2
- package/avaliador-sintatico/avaliador-sintatico.d.ts.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico.js +135 -31
- package/avaliador-sintatico/avaliador-sintatico.js.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-guarani.d.ts.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-guarani.js.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.js +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.js.map +1 -1
- package/avaliador-sintatico/informacao-escopo.d.ts +7 -0
- package/avaliador-sintatico/informacao-escopo.d.ts.map +1 -0
- package/avaliador-sintatico/informacao-escopo.js +10 -0
- package/avaliador-sintatico/informacao-escopo.js.map +1 -0
- package/avaliador-sintatico/micro-avaliador-sintatico.d.ts.map +1 -1
- package/avaliador-sintatico/micro-avaliador-sintatico.js.map +1 -1
- package/avaliador-sintatico/pilha-escopos.d.ts +13 -0
- package/avaliador-sintatico/pilha-escopos.d.ts.map +1 -0
- package/avaliador-sintatico/pilha-escopos.js +39 -0
- package/avaliador-sintatico/pilha-escopos.js.map +1 -0
- package/avaliador-sintatico/retornos/retorno-primario.d.ts +2 -2
- package/avaliador-sintatico/retornos/retorno-primario.d.ts.map +1 -1
- package/bin/package.json +2 -2
- package/construtos/chamada.d.ts.map +1 -1
- package/construtos/chamada.js.map +1 -1
- package/construtos/decorador.d.ts.map +1 -1
- package/construtos/decorador.js.map +1 -1
- package/construtos/literal.d.ts +3 -1
- package/construtos/literal.d.ts.map +1 -1
- package/construtos/literal.js +2 -1
- package/construtos/literal.js.map +1 -1
- package/construtos/variavel.d.ts +2 -1
- package/construtos/variavel.d.ts.map +1 -1
- package/construtos/variavel.js +2 -1
- package/construtos/variavel.js.map +1 -1
- package/declaracoes/declaracao.d.ts.map +1 -1
- package/declaracoes/declaracao.js.map +1 -1
- package/declaracoes/expressao.d.ts.map +1 -1
- package/declaracoes/expressao.js.map +1 -1
- package/estruturas/delegua-funcao.d.ts.map +1 -1
- package/estruturas/delegua-funcao.js +2 -2
- package/estruturas/delegua-funcao.js.map +1 -1
- package/formatadores/formatador-delegua.d.ts.map +1 -1
- package/formatadores/formatador-delegua.js +1 -1
- package/formatadores/formatador-delegua.js.map +1 -1
- package/{interpretador/inferenciador.d.ts → inferenciador.d.ts} +5 -3
- package/inferenciador.d.ts.map +1 -0
- package/inferenciador.js +115 -0
- package/inferenciador.js.map +1 -0
- package/interfaces/parametro-interface.d.ts +1 -8
- package/interfaces/parametro-interface.d.ts.map +1 -1
- package/interfaces/variavel-interface.d.ts +2 -2
- package/interfaces/variavel-interface.d.ts.map +1 -1
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.js +1 -1
- package/interpretador/dialetos/egua-classico/interpretador-egua-classico.js.map +1 -1
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.js +1 -1
- package/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.js.map +1 -1
- package/interpretador/index.d.ts +0 -1
- package/interpretador/index.d.ts.map +1 -1
- package/interpretador/index.js +0 -1
- package/interpretador/index.js.map +1 -1
- package/interpretador/interpretador-base.d.ts.map +1 -1
- package/interpretador/interpretador-base.js +9 -8
- package/interpretador/interpretador-base.js.map +1 -1
- package/interpretador/interpretador-com-depuracao.js +1 -1
- package/interpretador/interpretador-com-depuracao.js.map +1 -1
- package/interpretador/pilha-escopos-execucao.js +1 -1
- package/interpretador/pilha-escopos-execucao.js.map +1 -1
- package/package.json +2 -2
- package/tipo-dados-elementar.d.ts +1 -1
- package/tipo-dados-elementar.d.ts.map +1 -1
- package/tipos-de-dados/delegua.d.ts +3 -0
- package/tipos-de-dados/delegua.d.ts.map +1 -1
- package/tipos-de-dados/delegua.js +3 -0
- package/tipos-de-dados/delegua.js.map +1 -1
- package/tradutores/tradutor-assemblyscript.js +1 -1
- package/tradutores/tradutor-assemblyscript.js.map +1 -1
- package/tradutores/tradutor-javascript.d.ts.map +1 -1
- package/tradutores/tradutor-javascript.js.map +1 -1
- package/tradutores/tradutor-python.d.ts.map +1 -1
- package/tradutores/tradutor-python.js +5 -2
- package/tradutores/tradutor-python.js.map +1 -1
- package/umd/delegua.js +941 -750
- package/interpretador/inferenciador.d.ts.map +0 -1
- package/interpretador/inferenciador.js +0 -81
- package/interpretador/inferenciador.js.map +0 -1
package/umd/delegua.js
CHANGED
|
@@ -44,7 +44,7 @@ class AvaliadorSintaticoBase {
|
|
|
44
44
|
this.atual += 1;
|
|
45
45
|
return this.simbolos[this.atual - 1];
|
|
46
46
|
}
|
|
47
|
-
// TODO: Verificar possibilidade de remoção.
|
|
47
|
+
// TODO: Verificar possibilidade de remoção.
|
|
48
48
|
// Regressão de símbolo é uma roubada por N razões.
|
|
49
49
|
regredirEDevolverAtual() {
|
|
50
50
|
if (this.atual > 0)
|
|
@@ -165,7 +165,7 @@ class AvaliadorSintaticoBase {
|
|
|
165
165
|
const parametros = [];
|
|
166
166
|
do {
|
|
167
167
|
if (parametros.length >= 255) {
|
|
168
|
-
this.erro(this.simbolos[this.atual], '
|
|
168
|
+
this.erro(this.simbolos[this.atual], 'Função não pode ter mais de 255 parâmetros.');
|
|
169
169
|
}
|
|
170
170
|
const parametro = {};
|
|
171
171
|
if (this.simbolos[this.atual].tipo === comum_1.default.MULTIPLICACAO) {
|
|
@@ -232,7 +232,7 @@ class AvaliadorSintaticoBase {
|
|
|
232
232
|
}
|
|
233
233
|
exports.AvaliadorSintaticoBase = AvaliadorSintaticoBase;
|
|
234
234
|
|
|
235
|
-
},{"../construtos":
|
|
235
|
+
},{"../construtos":41,"../declaracoes":79,"../tipos-de-simbolos/comum":158,"./erro-avaliador-sintatico":7}],2:[function(require,module,exports){
|
|
236
236
|
"use strict";
|
|
237
237
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
238
238
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -248,6 +248,9 @@ const tuplas_1 = require("../construtos/tuplas");
|
|
|
248
248
|
const declaracoes_1 = require("../declaracoes");
|
|
249
249
|
const lexador_1 = require("../lexador");
|
|
250
250
|
const avaliador_sintatico_base_1 = require("./avaliador-sintatico-base");
|
|
251
|
+
const inferenciador_1 = require("../inferenciador");
|
|
252
|
+
const pilha_escopos_1 = require("./pilha-escopos");
|
|
253
|
+
const informacao_escopo_1 = require("./informacao-escopo");
|
|
251
254
|
/**
|
|
252
255
|
* O avaliador sintático (_Parser_) é responsável por transformar os símbolos do Lexador em estruturas de alto nível.
|
|
253
256
|
* Essas estruturas de alto nível são as partes que executam lógica de programação de fato.
|
|
@@ -261,22 +264,31 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
261
264
|
this.blocos = 0;
|
|
262
265
|
this.erros = [];
|
|
263
266
|
this.performance = performance;
|
|
267
|
+
this.tiposDefinidosEmCodigo = {};
|
|
268
|
+
this.tiposDeFerramentasExternas = {};
|
|
269
|
+
this.pilhaEscopos = new pilha_escopos_1.PilhaEscopos();
|
|
264
270
|
}
|
|
265
271
|
verificarDefinicaoTipoAtual() {
|
|
266
272
|
const tipos = [...Object.values(delegua_1.default)];
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
273
|
+
if (this.simbolos[this.atual].lexema in this.tiposDefinidosEmCodigo) {
|
|
274
|
+
return this.simbolos[this.atual].lexema;
|
|
275
|
+
}
|
|
276
|
+
const lexemaElementar = this.simbolos[this.atual].lexema.toLowerCase();
|
|
277
|
+
const tipoElementarResolvido = tipos.find((tipo) => tipo === lexemaElementar);
|
|
278
|
+
if (!tipoElementarResolvido) {
|
|
279
|
+
throw this.erro(this.simbolos[this.atual], `Tipo de dados desconhecido: '${this.simbolos[this.atual].lexema}'.`);
|
|
280
|
+
}
|
|
281
|
+
if (this.verificarTipoProximoSimbolo(delegua_2.default.COLCHETE_ESQUERDO)) {
|
|
270
282
|
const tiposVetores = ['inteiro[]', 'numero[]', 'número[]', 'qualquer[]', 'real[]', 'texto[]'];
|
|
271
283
|
this.avancarEDevolverAnterior();
|
|
272
284
|
if (!this.verificarTipoProximoSimbolo(delegua_2.default.COLCHETE_DIREITO)) {
|
|
273
|
-
throw this.erro(this.simbolos[this.atual],
|
|
285
|
+
throw this.erro(this.simbolos[this.atual], `Esperado símbolo de fechamento do vetor: ']'. Atual: ${this.simbolos[this.atual].lexema}`);
|
|
274
286
|
}
|
|
275
|
-
const
|
|
287
|
+
const tipoVetor = tiposVetores.find((tipo) => tipo === `${lexemaElementar}[]`);
|
|
276
288
|
this.avancarEDevolverAnterior();
|
|
277
|
-
return
|
|
289
|
+
return tipoVetor;
|
|
278
290
|
}
|
|
279
|
-
return
|
|
291
|
+
return tipoElementarResolvido;
|
|
280
292
|
}
|
|
281
293
|
primario() {
|
|
282
294
|
const simboloAtual = this.simbolos[this.atual];
|
|
@@ -304,7 +316,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
304
316
|
this.avancarEDevolverAnterior();
|
|
305
317
|
valores = [];
|
|
306
318
|
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.COLCHETE_DIREITO)) {
|
|
307
|
-
return new construtos_1.Vetor(this.hashArquivo, Number(simboloAtual.linha), []);
|
|
319
|
+
return new construtos_1.Vetor(this.hashArquivo, Number(simboloAtual.linha), [], 0, 'qualquer');
|
|
308
320
|
}
|
|
309
321
|
while (!this.verificarSeSimboloAtualEIgualA(delegua_2.default.COLCHETE_DIREITO)) {
|
|
310
322
|
let valor = null;
|
|
@@ -325,25 +337,33 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
325
337
|
this.consumir(delegua_2.default.VIRGULA, 'Esperado vírgula antes da próxima expressão.');
|
|
326
338
|
}
|
|
327
339
|
}
|
|
328
|
-
|
|
340
|
+
const tipoVetor = (0, inferenciador_1.inferirTipoVariavel)(valores);
|
|
341
|
+
return new construtos_1.Vetor(this.hashArquivo, Number(simboloAtual.linha), valores, valores.length, tipoVetor);
|
|
329
342
|
case delegua_2.default.FALSO:
|
|
330
343
|
this.avancarEDevolverAnterior();
|
|
331
|
-
return new construtos_1.Literal(this.hashArquivo, Number(simboloAtual.linha), false);
|
|
344
|
+
return new construtos_1.Literal(this.hashArquivo, Number(simboloAtual.linha), false, 'lógico');
|
|
332
345
|
case delegua_2.default.FUNCAO:
|
|
333
346
|
case delegua_2.default.FUNÇÃO:
|
|
334
347
|
const simboloFuncao = this.avancarEDevolverAnterior();
|
|
335
348
|
return this.corpoDaFuncao(simboloFuncao.lexema);
|
|
336
349
|
case delegua_2.default.IDENTIFICADOR:
|
|
337
350
|
const simboloIdentificador = this.avancarEDevolverAnterior();
|
|
351
|
+
let tipoOperando;
|
|
352
|
+
if (simboloIdentificador.lexema in this.tiposDefinidosEmCodigo) {
|
|
353
|
+
tipoOperando = simboloIdentificador.lexema;
|
|
354
|
+
}
|
|
355
|
+
else {
|
|
356
|
+
tipoOperando = this.pilhaEscopos.obterTipoVariavelPorNome(simboloIdentificador.lexema);
|
|
357
|
+
}
|
|
338
358
|
// Se o próximo símbolo é um incremento ou um decremento,
|
|
339
359
|
// aqui deve retornar um unário correspondente.
|
|
340
360
|
// Caso contrário, apenas retornar um construto de variável.
|
|
341
361
|
if (this.simbolos[this.atual] &&
|
|
342
362
|
[delegua_2.default.INCREMENTAR, delegua_2.default.DECREMENTAR].includes(this.simbolos[this.atual].tipo)) {
|
|
343
363
|
const simboloIncrementoDecremento = this.avancarEDevolverAnterior();
|
|
344
|
-
return new construtos_1.Unario(this.hashArquivo, simboloIncrementoDecremento, new construtos_1.Variavel(this.hashArquivo, simboloIdentificador), 'DEPOIS');
|
|
364
|
+
return new construtos_1.Unario(this.hashArquivo, simboloIncrementoDecremento, new construtos_1.Variavel(this.hashArquivo, simboloIdentificador, tipoOperando), 'DEPOIS');
|
|
345
365
|
}
|
|
346
|
-
return new construtos_1.Variavel(this.hashArquivo, simboloIdentificador);
|
|
366
|
+
return new construtos_1.Variavel(this.hashArquivo, simboloIdentificador, tipoOperando);
|
|
347
367
|
case delegua_2.default.IMPORTAR:
|
|
348
368
|
this.avancarEDevolverAnterior();
|
|
349
369
|
return this.declaracaoImportar();
|
|
@@ -356,7 +376,9 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
356
376
|
case delegua_2.default.NUMERO:
|
|
357
377
|
case delegua_2.default.TEXTO:
|
|
358
378
|
const simboloNumeroTexto = this.avancarEDevolverAnterior();
|
|
359
|
-
|
|
379
|
+
const tipoInferido = (0, inferenciador_1.inferirTipoVariavel)(simboloNumeroTexto.literal);
|
|
380
|
+
const tipoDadosElementar = (0, inferenciador_1.tipoInferenciaParaTipoDadosElementar)(tipoInferido);
|
|
381
|
+
return new construtos_1.Literal(this.hashArquivo, Number(simboloNumeroTexto.linha), simboloNumeroTexto.literal, tipoDadosElementar);
|
|
360
382
|
case delegua_2.default.PARENTESE_ESQUERDO:
|
|
361
383
|
this.avancarEDevolverAnterior();
|
|
362
384
|
const expressao = this.expressao();
|
|
@@ -378,7 +400,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
378
400
|
}
|
|
379
401
|
case delegua_2.default.VERDADEIRO:
|
|
380
402
|
this.avancarEDevolverAnterior();
|
|
381
|
-
return new construtos_1.Literal(this.hashArquivo, Number(simboloAtual.linha), true);
|
|
403
|
+
return new construtos_1.Literal(this.hashArquivo, Number(simboloAtual.linha), true, 'lógico');
|
|
382
404
|
case delegua_2.default.TIPO:
|
|
383
405
|
this.avancarEDevolverAnterior();
|
|
384
406
|
this.consumir(delegua_2.default.DE, "Esperado 'de' após 'tipo'.");
|
|
@@ -571,6 +593,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
571
593
|
return this.atribuir();
|
|
572
594
|
}
|
|
573
595
|
blocoEscopo() {
|
|
596
|
+
this.pilhaEscopos.empilhar(new informacao_escopo_1.InformacaoEscopo());
|
|
574
597
|
let declaracoes = [];
|
|
575
598
|
while (!this.verificarTipoSimboloAtual(delegua_2.default.CHAVE_DIREITA) && !this.estaNoFinal()) {
|
|
576
599
|
const retornoDeclaracao = this.resolverDeclaracaoForaDeBloco();
|
|
@@ -582,6 +605,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
582
605
|
}
|
|
583
606
|
}
|
|
584
607
|
this.consumir(delegua_2.default.CHAVE_DIREITA, "Esperado '}' após o bloco.");
|
|
608
|
+
this.pilhaEscopos.removerUltimo();
|
|
585
609
|
this.verificarSeSimboloAtualEIgualA(delegua_2.default.PONTO_E_VIRGULA);
|
|
586
610
|
return declaracoes;
|
|
587
611
|
}
|
|
@@ -611,7 +635,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
611
635
|
return new declaracoes_1.Escreva(Number(simboloAtual.linha), simboloAtual.hashArquivo, argumentos);
|
|
612
636
|
}
|
|
613
637
|
declaracaoExpressao() {
|
|
614
|
-
// Se há decoradores a serem adicionados aqui, obtemo-los agora,
|
|
638
|
+
// Se há decoradores a serem adicionados aqui, obtemo-los agora,
|
|
615
639
|
// para evitar que outros passos recursivos peguem-los antes.
|
|
616
640
|
const decoradores = Array.from(this.pilhaDecoradores);
|
|
617
641
|
this.pilhaDecoradores = [];
|
|
@@ -756,6 +780,14 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
756
780
|
throw this.erro(this.simbolos[this.atual], "Esperado palavras reservadas 'em' ou 'de' após variável de iteração em instrução 'para cada'.");
|
|
757
781
|
}
|
|
758
782
|
const vetor = this.expressao();
|
|
783
|
+
if (!vetor.hasOwnProperty('tipo')) {
|
|
784
|
+
throw this.erro(simboloPara, `Variável ou constante em 'para cada' não parece possuir um tipo iterável.`);
|
|
785
|
+
}
|
|
786
|
+
const tipoVetor = vetor.tipo;
|
|
787
|
+
if (!(tipoVetor).endsWith('[]')) {
|
|
788
|
+
throw this.erro(simboloPara, `Variável ou constante em 'para cada' não é iterável. Tipo resolvido: ${tipoVetor}.`);
|
|
789
|
+
}
|
|
790
|
+
this.pilhaEscopos.definirTipoVariavel(nomeVariavelIteracao.lexema, tipoVetor.slice(0, -2));
|
|
759
791
|
const corpo = this.resolverDeclaracao();
|
|
760
792
|
return new declaracoes_1.ParaCada(this.hashArquivo, Number(simboloPara.linha), nomeVariavelIteracao.lexema, vetor, corpo);
|
|
761
793
|
}
|
|
@@ -972,6 +1004,25 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
972
1004
|
this.consumir(delegua_2.default.COMO, "Esperado palavra reservada 'como' após expressão de inicialização de variável, em declaração 'tendo'.");
|
|
973
1005
|
const simboloNomeVariavel = this.consumir(delegua_2.default.IDENTIFICADOR, "Esperado nome do identificador em declaração 'tendo'.");
|
|
974
1006
|
this.consumir(delegua_2.default.CHAVE_ESQUERDA, "Esperado chave esquerda para abertura de bloco em declaração 'tendo'.");
|
|
1007
|
+
let tipoInicializacao = 'qualquer';
|
|
1008
|
+
switch (expressaoInicializacao.constructor.name) {
|
|
1009
|
+
case 'Chamada':
|
|
1010
|
+
const construtoChamada = expressaoInicializacao;
|
|
1011
|
+
switch (construtoChamada.entidadeChamada.constructor.name) {
|
|
1012
|
+
case 'Variavel':
|
|
1013
|
+
const entidadeChamadaVariavel = construtoChamada.entidadeChamada;
|
|
1014
|
+
tipoInicializacao = entidadeChamadaVariavel.tipo;
|
|
1015
|
+
break;
|
|
1016
|
+
// TODO: Demais casos
|
|
1017
|
+
default:
|
|
1018
|
+
break;
|
|
1019
|
+
}
|
|
1020
|
+
break;
|
|
1021
|
+
// TODO: Demais casos
|
|
1022
|
+
default:
|
|
1023
|
+
break;
|
|
1024
|
+
}
|
|
1025
|
+
this.pilhaEscopos.definirTipoVariavel(simboloNomeVariavel.lexema, tipoInicializacao);
|
|
975
1026
|
const blocoCorpo = this.blocoEscopo();
|
|
976
1027
|
return new declaracoes_1.TendoComo(simboloTendo.linha, simboloTendo.hashArquivo, simboloNomeVariavel, expressaoInicializacao, new declaracoes_1.Bloco(simboloTendo.linha, simboloTendo.hashArquivo, blocoCorpo));
|
|
977
1028
|
}
|
|
@@ -983,10 +1034,10 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
983
1034
|
this.consumir(delegua_2.default.CHAVE_DIREITA, 'Esperado chave direita para concluir relação de variáveis a serem desestruturadas.');
|
|
984
1035
|
this.consumir(delegua_2.default.IGUAL, 'Esperado igual após relação de propriedades da desestruturação.');
|
|
985
1036
|
const inicializador = this.expressao();
|
|
986
|
-
// TODO: Para cada variável dos identificadores, emitir um `AcessoMetodoOuPropriedade` usando
|
|
987
|
-
// como prefixo o nome do inicializador, e o sufixo o nome de cada propriedade.
|
|
988
1037
|
const retornos = [];
|
|
989
1038
|
for (let identificador of identificadores) {
|
|
1039
|
+
// TODO: Melhorar dicionário para intuir o tipo de cada propriedade.
|
|
1040
|
+
this.pilhaEscopos.definirTipoVariavel(identificador.lexema, 'qualquer');
|
|
990
1041
|
const declaracaoVar = new declaracoes_1.Var(identificador, new construtos_1.AcessoMetodoOuPropriedade(this.hashArquivo, inicializador, identificador));
|
|
991
1042
|
declaracaoVar.decoradores = Array.from(this.pilhaDecoradores);
|
|
992
1043
|
retornos.push(declaracaoVar);
|
|
@@ -1015,6 +1066,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1015
1066
|
if (!this.verificarSeSimboloAtualEIgualA(delegua_2.default.IGUAL)) {
|
|
1016
1067
|
// Inicialização de variáveis sem valor.
|
|
1017
1068
|
for (let identificador of identificadores.values()) {
|
|
1069
|
+
this.pilhaEscopos.definirTipoVariavel(identificador.lexema, tipo);
|
|
1018
1070
|
retorno.push(new declaracoes_1.Var(identificador, null, tipo, Array.from(this.pilhaDecoradores)));
|
|
1019
1071
|
}
|
|
1020
1072
|
this.verificarSeSimboloAtualEIgualA(delegua_2.default.PONTO_E_VIRGULA);
|
|
@@ -1029,7 +1081,27 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1029
1081
|
throw this.erro(this.simbolos[this.atual], 'Quantidade de identificadores à esquerda do igual é diferente da quantidade de valores à direita.');
|
|
1030
1082
|
}
|
|
1031
1083
|
for (let [indice, identificador] of identificadores.entries()) {
|
|
1032
|
-
tipo
|
|
1084
|
+
// Se tipo ainda não foi definido, infere.
|
|
1085
|
+
if (!tipo) {
|
|
1086
|
+
switch (inicializadores[indice].constructor.name) {
|
|
1087
|
+
case 'Dupla':
|
|
1088
|
+
case 'Trio':
|
|
1089
|
+
case 'Quarteto':
|
|
1090
|
+
case 'Quinteto':
|
|
1091
|
+
case 'Sexteto':
|
|
1092
|
+
case 'Septeto':
|
|
1093
|
+
case 'Octeto':
|
|
1094
|
+
case 'Noneto':
|
|
1095
|
+
case 'Deceto':
|
|
1096
|
+
tipo = delegua_1.default.TUPLA;
|
|
1097
|
+
break;
|
|
1098
|
+
case 'Literal':
|
|
1099
|
+
case 'Vetor':
|
|
1100
|
+
tipo = inicializadores[indice].tipo;
|
|
1101
|
+
break;
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
this.pilhaEscopos.definirTipoVariavel(identificador.lexema, tipo);
|
|
1033
1105
|
retorno.push(new declaracoes_1.Var(identificador, inicializadores[indice], tipo, Array.from(this.pilhaDecoradores)));
|
|
1034
1106
|
}
|
|
1035
1107
|
this.verificarSeSimboloAtualEIgualA(delegua_2.default.PONTO_E_VIRGULA);
|
|
@@ -1044,10 +1116,10 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1044
1116
|
this.consumir(delegua_2.default.CHAVE_DIREITA, 'Esperado chave direita para concluir relação de variáveis a serem desestruturadas.');
|
|
1045
1117
|
this.consumir(delegua_2.default.IGUAL, 'Esperado igual após relação de propriedades da desestruturação.');
|
|
1046
1118
|
const inicializador = this.expressao();
|
|
1047
|
-
// TODO: Para cada variável dos identificadores, emitir um `AcessoMetodoOuPropriedade` usando
|
|
1048
|
-
// como prefixo o nome do inicializador, e o sufixo o nome de cada propriedade.
|
|
1049
1119
|
const retornos = [];
|
|
1050
1120
|
for (let identificador of identificadores) {
|
|
1121
|
+
// TODO: Melhorar dicionário para intuir o tipo de cada propriedade.
|
|
1122
|
+
this.pilhaEscopos.definirTipoVariavel(identificador.lexema, 'qualquer');
|
|
1051
1123
|
const declaracaoConst = new declaracoes_1.Const(identificador, new construtos_1.AcessoMetodoOuPropriedade(this.hashArquivo, inicializador, identificador));
|
|
1052
1124
|
declaracaoConst.decoradores = Array.from(this.pilhaDecoradores);
|
|
1053
1125
|
retornos.push(declaracaoConst);
|
|
@@ -1081,6 +1153,10 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1081
1153
|
}
|
|
1082
1154
|
let retorno = [];
|
|
1083
1155
|
for (let [indice, identificador] of identificadores.entries()) {
|
|
1156
|
+
if (!tipo) {
|
|
1157
|
+
tipo = (0, inferenciador_1.inferirTipoVariavel)(inicializadores[indice]);
|
|
1158
|
+
}
|
|
1159
|
+
this.pilhaEscopos.definirTipoVariavel(identificador.lexema, tipo);
|
|
1084
1160
|
retorno.push(new declaracoes_1.Const(identificador, inicializadores[indice], tipo, Array.from(this.pilhaDecoradores)));
|
|
1085
1161
|
}
|
|
1086
1162
|
this.pilhaDecoradores = [];
|
|
@@ -1099,7 +1175,12 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1099
1175
|
}
|
|
1100
1176
|
const decoradores = Array.from(this.pilhaDecoradores);
|
|
1101
1177
|
this.pilhaDecoradores = [];
|
|
1102
|
-
|
|
1178
|
+
// Se houver chamadas recursivas à função, precisamos definir um tipo
|
|
1179
|
+
// para ela. Vai ser atualizado após avaliação do corpo da função.
|
|
1180
|
+
this.pilhaEscopos.definirTipoVariavel(simbolo.lexema, 'qualquer');
|
|
1181
|
+
const corpoDaFuncao = this.corpoDaFuncao(tipo);
|
|
1182
|
+
this.pilhaEscopos.definirTipoVariavel(simbolo.lexema, corpoDaFuncao.tipoRetorno || 'qualquer');
|
|
1183
|
+
return new declaracoes_1.FuncaoDeclaracao(simbolo, corpoDaFuncao, null, decoradores);
|
|
1103
1184
|
}
|
|
1104
1185
|
logicaComumParametros() {
|
|
1105
1186
|
const parametros = [];
|
|
@@ -1114,17 +1195,15 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1114
1195
|
}
|
|
1115
1196
|
parametro.nome = this.consumir(delegua_2.default.IDENTIFICADOR, 'Esperado nome do parâmetro.');
|
|
1116
1197
|
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.IGUAL)) {
|
|
1117
|
-
|
|
1198
|
+
const valorPadrao = this.primario();
|
|
1199
|
+
parametro.valorPadrao = valorPadrao;
|
|
1118
1200
|
}
|
|
1119
1201
|
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.DOIS_PONTOS)) {
|
|
1120
1202
|
let tipoDadoParametro = this.verificarDefinicaoTipoAtual();
|
|
1121
|
-
parametro.tipoDado =
|
|
1122
|
-
nome: this.simbolos[this.atual - 2].lexema,
|
|
1123
|
-
tipo: tipoDadoParametro,
|
|
1124
|
-
tipoInvalido: !tipoDadoParametro ? this.simbolos[this.atual].lexema : null,
|
|
1125
|
-
};
|
|
1203
|
+
parametro.tipoDado = tipoDadoParametro;
|
|
1126
1204
|
this.avancarEDevolverAnterior();
|
|
1127
1205
|
}
|
|
1206
|
+
this.pilhaEscopos.definirTipoVariavel(parametro.nome.lexema, parametro.tipoDado || 'qualquer');
|
|
1128
1207
|
parametros.push(parametro);
|
|
1129
1208
|
if (parametro.abrangencia === 'multiplo')
|
|
1130
1209
|
break;
|
|
@@ -1140,7 +1219,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1140
1219
|
parametros = this.logicaComumParametros();
|
|
1141
1220
|
}
|
|
1142
1221
|
this.consumir(delegua_2.default.PARENTESE_DIREITO, "Esperado ')' após parâmetros.");
|
|
1143
|
-
let tipoRetorno =
|
|
1222
|
+
let tipoRetorno = 'qualquer';
|
|
1144
1223
|
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.DOIS_PONTOS)) {
|
|
1145
1224
|
tipoRetorno = this.verificarDefinicaoTipoAtual();
|
|
1146
1225
|
this.avancarEDevolverAnterior();
|
|
@@ -1154,8 +1233,8 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1154
1233
|
const pilhaDecoradoresClasse = Array.from(this.pilhaDecoradores);
|
|
1155
1234
|
let superClasse = null;
|
|
1156
1235
|
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.HERDA)) {
|
|
1157
|
-
this.consumir(delegua_2.default.IDENTIFICADOR, 'Esperado nome da Superclasse.');
|
|
1158
|
-
superClasse = new construtos_1.Variavel(this.hashArquivo, this.simbolos[this.atual - 1]);
|
|
1236
|
+
const simboloSuperclasse = this.consumir(delegua_2.default.IDENTIFICADOR, 'Esperado nome da Superclasse.');
|
|
1237
|
+
superClasse = new construtos_1.Variavel(this.hashArquivo, this.simbolos[this.atual - 1], simboloSuperclasse.lexema);
|
|
1159
1238
|
}
|
|
1160
1239
|
this.consumir(delegua_2.default.CHAVE_ESQUERDA, "Esperado '{' antes do escopo da classe.");
|
|
1161
1240
|
this.pilhaDecoradores = [];
|
|
@@ -1188,7 +1267,9 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1188
1267
|
}
|
|
1189
1268
|
}
|
|
1190
1269
|
this.consumir(delegua_2.default.CHAVE_DIREITA, "Esperado '}' após o escopo da classe.");
|
|
1191
|
-
|
|
1270
|
+
const definicaoClasse = new declaracoes_1.Classe(simbolo, superClasse, metodos, propriedades, pilhaDecoradoresClasse);
|
|
1271
|
+
this.tiposDefinidosEmCodigo[definicaoClasse.simbolo.lexema] = definicaoClasse;
|
|
1272
|
+
return definicaoClasse;
|
|
1192
1273
|
}
|
|
1193
1274
|
/**
|
|
1194
1275
|
* Declarações fora de bloco precisam ser verificadas primeiro por
|
|
@@ -1248,6 +1329,27 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1248
1329
|
this.avancarEDevolverAnterior();
|
|
1249
1330
|
}
|
|
1250
1331
|
}
|
|
1332
|
+
inicializarPilhaEscopos() {
|
|
1333
|
+
this.pilhaEscopos = new pilha_escopos_1.PilhaEscopos();
|
|
1334
|
+
this.pilhaEscopos.empilhar(new informacao_escopo_1.InformacaoEscopo());
|
|
1335
|
+
// Funções nativas de Delégua
|
|
1336
|
+
this.pilhaEscopos.definirTipoVariavel('filtrarPor', 'qualquer[]');
|
|
1337
|
+
this.pilhaEscopos.definirTipoVariavel('inteiro', 'inteiro');
|
|
1338
|
+
this.pilhaEscopos.definirTipoVariavel('mapear', 'qualquer[]');
|
|
1339
|
+
this.pilhaEscopos.definirTipoVariavel('paraCada', 'qualquer[]');
|
|
1340
|
+
this.pilhaEscopos.definirTipoVariavel('primeiroEmCondicao', 'qualquer');
|
|
1341
|
+
this.pilhaEscopos.definirTipoVariavel('real', 'número');
|
|
1342
|
+
this.pilhaEscopos.definirTipoVariavel('tamanho', 'inteiro');
|
|
1343
|
+
this.pilhaEscopos.definirTipoVariavel('texto', 'texto');
|
|
1344
|
+
this.pilhaEscopos.definirTipoVariavel('todosEmCondicao', 'lógico');
|
|
1345
|
+
this.pilhaEscopos.definirTipoVariavel('tupla', 'tupla');
|
|
1346
|
+
// TODO: Escrever algum tipo de validação aqui.
|
|
1347
|
+
for (const tipos of Object.values(this.tiposDeFerramentasExternas)) {
|
|
1348
|
+
for (const [nomeTipo, tipo] of Object.entries(tipos)) {
|
|
1349
|
+
this.pilhaEscopos.definirTipoVariavel(nomeTipo, tipo);
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1251
1353
|
analisar(retornoLexador, hashArquivo) {
|
|
1252
1354
|
const inicioAnalise = (0, browser_process_hrtime_1.default)();
|
|
1253
1355
|
this.erros = [];
|
|
@@ -1256,6 +1358,8 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1256
1358
|
this.hashArquivo = hashArquivo || 0;
|
|
1257
1359
|
this.simbolos = (retornoLexador === null || retornoLexador === void 0 ? void 0 : retornoLexador.simbolos) || [];
|
|
1258
1360
|
this.pilhaDecoradores = [];
|
|
1361
|
+
this.tiposDefinidosEmCodigo = {};
|
|
1362
|
+
this.inicializarPilhaEscopos();
|
|
1259
1363
|
let declaracoes = [];
|
|
1260
1364
|
while (!this.estaNoFinal()) {
|
|
1261
1365
|
this.resolverDecorador();
|
|
@@ -1279,7 +1383,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1279
1383
|
}
|
|
1280
1384
|
exports.AvaliadorSintatico = AvaliadorSintatico;
|
|
1281
1385
|
|
|
1282
|
-
},{"../construtos":
|
|
1386
|
+
},{"../construtos":41,"../construtos/tuplas":50,"../declaracoes":79,"../inferenciador":113,"../lexador":148,"../tipos-de-dados/delegua":156,"../tipos-de-simbolos/delegua":159,"./avaliador-sintatico-base":1,"./erro-avaliador-sintatico":7,"./informacao-escopo":9,"./pilha-escopos":12,"browser-process-hrtime":335}],3:[function(require,module,exports){
|
|
1283
1387
|
"use strict";
|
|
1284
1388
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
1285
1389
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -1854,7 +1958,7 @@ class AvaliadorSintaticoEguaClassico {
|
|
|
1854
1958
|
if (!this.verificarTipoSimboloAtual(egua_classico_1.default.PARENTESE_DIREITO)) {
|
|
1855
1959
|
do {
|
|
1856
1960
|
if (parametros.length >= 255) {
|
|
1857
|
-
this.erro(this.simboloAtual(), '
|
|
1961
|
+
this.erro(this.simboloAtual(), 'Função não pode ter mais de 255 parâmetros.');
|
|
1858
1962
|
}
|
|
1859
1963
|
const parametro = {};
|
|
1860
1964
|
if (this.simboloAtual().tipo === egua_classico_1.default.MULTIPLICACAO) {
|
|
@@ -1929,7 +2033,7 @@ class AvaliadorSintaticoEguaClassico {
|
|
|
1929
2033
|
}
|
|
1930
2034
|
exports.AvaliadorSintaticoEguaClassico = AvaliadorSintaticoEguaClassico;
|
|
1931
2035
|
|
|
1932
|
-
},{"../../construtos":
|
|
2036
|
+
},{"../../construtos":41,"../../declaracoes":79,"../../tipos-de-simbolos/egua-classico":160,"../erro-avaliador-sintatico":7}],4:[function(require,module,exports){
|
|
1933
2037
|
"use strict";
|
|
1934
2038
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
1935
2039
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2597,7 +2701,7 @@ class AvaliadorSintaticoPitugues {
|
|
|
2597
2701
|
const parametros = [];
|
|
2598
2702
|
do {
|
|
2599
2703
|
if (parametros.length >= 255) {
|
|
2600
|
-
this.erro(this.simboloAtual(), '
|
|
2704
|
+
this.erro(this.simboloAtual(), 'Função não pode ter mais de 255 parâmetros.');
|
|
2601
2705
|
}
|
|
2602
2706
|
const parametro = {};
|
|
2603
2707
|
if (this.simboloAtual().tipo === pitugues_1.default.MULTIPLICACAO) {
|
|
@@ -2701,7 +2805,7 @@ class AvaliadorSintaticoPitugues {
|
|
|
2701
2805
|
}
|
|
2702
2806
|
exports.AvaliadorSintaticoPitugues = AvaliadorSintaticoPitugues;
|
|
2703
2807
|
|
|
2704
|
-
},{"../../construtos":
|
|
2808
|
+
},{"../../construtos":41,"../../declaracoes":79,"../../lexador":148,"../../tipos-de-simbolos/pitugues":163,"../erro-avaliador-sintatico":7,"browser-process-hrtime":335}],5:[function(require,module,exports){
|
|
2705
2809
|
"use strict";
|
|
2706
2810
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2707
2811
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2871,7 +2975,7 @@ class AvaliadorSintaticoPortugolIpt extends avaliador_sintatico_base_1.Avaliador
|
|
|
2871
2975
|
}
|
|
2872
2976
|
exports.AvaliadorSintaticoPortugolIpt = AvaliadorSintaticoPortugolIpt;
|
|
2873
2977
|
|
|
2874
|
-
},{"../../construtos":
|
|
2978
|
+
},{"../../construtos":41,"../../declaracoes":79,"../../tipos-de-simbolos/portugol-ipt":164,"../avaliador-sintatico-base":1}],6:[function(require,module,exports){
|
|
2875
2979
|
"use strict";
|
|
2876
2980
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2877
2981
|
if (k2 === undefined) k2 = k;
|
|
@@ -2929,7 +3033,18 @@ __exportStar(require("./erro-avaliador-sintatico"), exports);
|
|
|
2929
3033
|
__exportStar(require("./micro-avaliador-sintatico"), exports);
|
|
2930
3034
|
__exportStar(require("./retornos"), exports);
|
|
2931
3035
|
|
|
2932
|
-
},{"./avaliador-sintatico":2,"./avaliador-sintatico-base":1,"./dialetos":6,"./erro-avaliador-sintatico":7,"./micro-avaliador-sintatico":
|
|
3036
|
+
},{"./avaliador-sintatico":2,"./avaliador-sintatico-base":1,"./dialetos":6,"./erro-avaliador-sintatico":7,"./micro-avaliador-sintatico":11,"./retornos":13}],9:[function(require,module,exports){
|
|
3037
|
+
"use strict";
|
|
3038
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3039
|
+
exports.InformacaoEscopo = void 0;
|
|
3040
|
+
class InformacaoEscopo {
|
|
3041
|
+
constructor() {
|
|
3042
|
+
this.variaveisEConstantes = {};
|
|
3043
|
+
}
|
|
3044
|
+
}
|
|
3045
|
+
exports.InformacaoEscopo = InformacaoEscopo;
|
|
3046
|
+
|
|
3047
|
+
},{}],10:[function(require,module,exports){
|
|
2933
3048
|
"use strict";
|
|
2934
3049
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2935
3050
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3047,7 +3162,7 @@ class MicroAvaliadorSintaticoBase {
|
|
|
3047
3162
|
}
|
|
3048
3163
|
exports.MicroAvaliadorSintaticoBase = MicroAvaliadorSintaticoBase;
|
|
3049
3164
|
|
|
3050
|
-
},{"../construtos":
|
|
3165
|
+
},{"../construtos":41,"../tipos-de-simbolos/comum":158,"./erro-avaliador-sintatico":7}],11:[function(require,module,exports){
|
|
3051
3166
|
"use strict";
|
|
3052
3167
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3053
3168
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3253,7 +3368,47 @@ class MicroAvaliadorSintatico extends micro_avaliador_sintatico_base_1.MicroAval
|
|
|
3253
3368
|
}
|
|
3254
3369
|
exports.MicroAvaliadorSintatico = MicroAvaliadorSintatico;
|
|
3255
3370
|
|
|
3256
|
-
},{"../construtos":
|
|
3371
|
+
},{"../construtos":41,"../tipos-de-simbolos/microgramaticas/delegua":162,"./micro-avaliador-sintatico-base":10}],12:[function(require,module,exports){
|
|
3372
|
+
"use strict";
|
|
3373
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3374
|
+
exports.PilhaEscopos = void 0;
|
|
3375
|
+
class PilhaEscopos {
|
|
3376
|
+
constructor() {
|
|
3377
|
+
this.pilha = [];
|
|
3378
|
+
}
|
|
3379
|
+
empilhar(item) {
|
|
3380
|
+
this.pilha.push(item);
|
|
3381
|
+
}
|
|
3382
|
+
eVazio() {
|
|
3383
|
+
return this.pilha.length === 0;
|
|
3384
|
+
}
|
|
3385
|
+
topoDaPilha() {
|
|
3386
|
+
if (this.eVazio())
|
|
3387
|
+
throw new Error('Pilha vazia.');
|
|
3388
|
+
return this.pilha[this.pilha.length - 1];
|
|
3389
|
+
}
|
|
3390
|
+
removerUltimo() {
|
|
3391
|
+
if (this.eVazio())
|
|
3392
|
+
throw new Error('Pilha vazia.');
|
|
3393
|
+
return this.pilha.pop();
|
|
3394
|
+
}
|
|
3395
|
+
obterTipoVariavelPorNome(nome) {
|
|
3396
|
+
for (let i = 1; i <= this.pilha.length; i++) {
|
|
3397
|
+
const informacaoEscopo = this.pilha[this.pilha.length - i];
|
|
3398
|
+
if (informacaoEscopo.variaveisEConstantes[nome] !== undefined) {
|
|
3399
|
+
return informacaoEscopo.variaveisEConstantes[nome];
|
|
3400
|
+
}
|
|
3401
|
+
}
|
|
3402
|
+
throw new Error("Variável não definida: '" + nome + "'.");
|
|
3403
|
+
}
|
|
3404
|
+
definirTipoVariavel(nomeVariavel, tipo) {
|
|
3405
|
+
const topoDaPilha = this.topoDaPilha();
|
|
3406
|
+
topoDaPilha.variaveisEConstantes[nomeVariavel] = tipo;
|
|
3407
|
+
}
|
|
3408
|
+
}
|
|
3409
|
+
exports.PilhaEscopos = PilhaEscopos;
|
|
3410
|
+
|
|
3411
|
+
},{}],13:[function(require,module,exports){
|
|
3257
3412
|
"use strict";
|
|
3258
3413
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3259
3414
|
if (k2 === undefined) k2 = k;
|
|
@@ -3274,19 +3429,19 @@ __exportStar(require("./retorno-declaracao"), exports);
|
|
|
3274
3429
|
__exportStar(require("./retorno-primario"), exports);
|
|
3275
3430
|
__exportStar(require("./retorno-resolver-declaracao"), exports);
|
|
3276
3431
|
|
|
3277
|
-
},{"./retorno-declaracao":
|
|
3432
|
+
},{"./retorno-declaracao":14,"./retorno-primario":15,"./retorno-resolver-declaracao":16}],14:[function(require,module,exports){
|
|
3278
3433
|
"use strict";
|
|
3279
3434
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3280
3435
|
|
|
3281
|
-
},{}],
|
|
3436
|
+
},{}],15:[function(require,module,exports){
|
|
3282
3437
|
"use strict";
|
|
3283
3438
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3284
3439
|
|
|
3285
|
-
},{}],
|
|
3440
|
+
},{}],16:[function(require,module,exports){
|
|
3286
3441
|
"use strict";
|
|
3287
3442
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3288
3443
|
|
|
3289
|
-
},{}],
|
|
3444
|
+
},{}],17:[function(require,module,exports){
|
|
3290
3445
|
"use strict";
|
|
3291
3446
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3292
3447
|
exports.aleatorio = aleatorio;
|
|
@@ -3775,7 +3930,7 @@ async function tupla(interpretador, vetor) {
|
|
|
3775
3930
|
}
|
|
3776
3931
|
}
|
|
3777
3932
|
|
|
3778
|
-
},{"../construtos":
|
|
3933
|
+
},{"../construtos":41,"../estruturas":102,"../estruturas/descritor-tipo-classe":100,"../estruturas/funcao-padrao":101,"../estruturas/objeto-delegua-classe":105,"../excecoes":108}],18:[function(require,module,exports){
|
|
3779
3934
|
"use strict";
|
|
3780
3935
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3781
3936
|
exports.default = {
|
|
@@ -3787,7 +3942,7 @@ exports.default = {
|
|
|
3787
3942
|
},
|
|
3788
3943
|
};
|
|
3789
3944
|
|
|
3790
|
-
},{}],
|
|
3945
|
+
},{}],19:[function(require,module,exports){
|
|
3791
3946
|
"use strict";
|
|
3792
3947
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3793
3948
|
exports.default = {
|
|
@@ -3799,7 +3954,7 @@ exports.default = {
|
|
|
3799
3954
|
},
|
|
3800
3955
|
};
|
|
3801
3956
|
|
|
3802
|
-
},{}],
|
|
3957
|
+
},{}],20:[function(require,module,exports){
|
|
3803
3958
|
"use strict";
|
|
3804
3959
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3805
3960
|
exports.default = {
|
|
@@ -3823,7 +3978,7 @@ exports.default = {
|
|
|
3823
3978
|
tamanho: (interpretador, texto) => Promise.resolve(texto.length),
|
|
3824
3979
|
};
|
|
3825
3980
|
|
|
3826
|
-
},{}],
|
|
3981
|
+
},{}],21:[function(require,module,exports){
|
|
3827
3982
|
"use strict";
|
|
3828
3983
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3829
3984
|
exports.default = {
|
|
@@ -3913,7 +4068,7 @@ exports.default = {
|
|
|
3913
4068
|
tamanho: (interpretador, vetor) => Promise.resolve(vetor.length),
|
|
3914
4069
|
};
|
|
3915
4070
|
|
|
3916
|
-
},{}],
|
|
4071
|
+
},{}],22:[function(require,module,exports){
|
|
3917
4072
|
"use strict";
|
|
3918
4073
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3919
4074
|
exports.AcessoElementoMatriz = void 0;
|
|
@@ -3932,7 +4087,7 @@ class AcessoElementoMatriz {
|
|
|
3932
4087
|
}
|
|
3933
4088
|
exports.AcessoElementoMatriz = AcessoElementoMatriz;
|
|
3934
4089
|
|
|
3935
|
-
},{}],
|
|
4090
|
+
},{}],23:[function(require,module,exports){
|
|
3936
4091
|
"use strict";
|
|
3937
4092
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3938
4093
|
exports.AcessoIndiceVariavel = void 0;
|
|
@@ -3954,7 +4109,7 @@ class AcessoIndiceVariavel {
|
|
|
3954
4109
|
}
|
|
3955
4110
|
exports.AcessoIndiceVariavel = AcessoIndiceVariavel;
|
|
3956
4111
|
|
|
3957
|
-
},{}],
|
|
4112
|
+
},{}],24:[function(require,module,exports){
|
|
3958
4113
|
"use strict";
|
|
3959
4114
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3960
4115
|
exports.AcessoMetodoOuPropriedade = void 0;
|
|
@@ -3975,7 +4130,7 @@ class AcessoMetodoOuPropriedade {
|
|
|
3975
4130
|
}
|
|
3976
4131
|
exports.AcessoMetodoOuPropriedade = AcessoMetodoOuPropriedade;
|
|
3977
4132
|
|
|
3978
|
-
},{}],
|
|
4133
|
+
},{}],25:[function(require,module,exports){
|
|
3979
4134
|
"use strict";
|
|
3980
4135
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3981
4136
|
exports.Agrupamento = void 0;
|
|
@@ -3996,7 +4151,7 @@ class Agrupamento {
|
|
|
3996
4151
|
}
|
|
3997
4152
|
exports.Agrupamento = Agrupamento;
|
|
3998
4153
|
|
|
3999
|
-
},{}],
|
|
4154
|
+
},{}],26:[function(require,module,exports){
|
|
4000
4155
|
"use strict";
|
|
4001
4156
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4002
4157
|
exports.AtribuicaoPorIndice = void 0;
|
|
@@ -4014,7 +4169,7 @@ class AtribuicaoPorIndice {
|
|
|
4014
4169
|
}
|
|
4015
4170
|
exports.AtribuicaoPorIndice = AtribuicaoPorIndice;
|
|
4016
4171
|
|
|
4017
|
-
},{}],
|
|
4172
|
+
},{}],27:[function(require,module,exports){
|
|
4018
4173
|
"use strict";
|
|
4019
4174
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4020
4175
|
exports.AtribuicaoPorIndicesMatriz = void 0;
|
|
@@ -4033,7 +4188,7 @@ class AtribuicaoPorIndicesMatriz {
|
|
|
4033
4188
|
}
|
|
4034
4189
|
exports.AtribuicaoPorIndicesMatriz = AtribuicaoPorIndicesMatriz;
|
|
4035
4190
|
|
|
4036
|
-
},{}],
|
|
4191
|
+
},{}],28:[function(require,module,exports){
|
|
4037
4192
|
"use strict";
|
|
4038
4193
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4039
4194
|
exports.Atribuir = void 0;
|
|
@@ -4059,7 +4214,7 @@ class Atribuir {
|
|
|
4059
4214
|
}
|
|
4060
4215
|
exports.Atribuir = Atribuir;
|
|
4061
4216
|
|
|
4062
|
-
},{}],
|
|
4217
|
+
},{}],29:[function(require,module,exports){
|
|
4063
4218
|
"use strict";
|
|
4064
4219
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4065
4220
|
exports.Binario = void 0;
|
|
@@ -4099,7 +4254,7 @@ class Binario {
|
|
|
4099
4254
|
}
|
|
4100
4255
|
exports.Binario = Binario;
|
|
4101
4256
|
|
|
4102
|
-
},{}],
|
|
4257
|
+
},{}],30:[function(require,module,exports){
|
|
4103
4258
|
"use strict";
|
|
4104
4259
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4105
4260
|
exports.Chamada = void 0;
|
|
@@ -4122,7 +4277,7 @@ class Chamada {
|
|
|
4122
4277
|
}
|
|
4123
4278
|
exports.Chamada = Chamada;
|
|
4124
4279
|
|
|
4125
|
-
},{"../geracao-identificadores":
|
|
4280
|
+
},{"../geracao-identificadores":111}],31:[function(require,module,exports){
|
|
4126
4281
|
"use strict";
|
|
4127
4282
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4128
4283
|
exports.Comentario = void 0;
|
|
@@ -4144,7 +4299,7 @@ class Comentario {
|
|
|
4144
4299
|
}
|
|
4145
4300
|
exports.Comentario = Comentario;
|
|
4146
4301
|
|
|
4147
|
-
},{}],
|
|
4302
|
+
},{}],32:[function(require,module,exports){
|
|
4148
4303
|
"use strict";
|
|
4149
4304
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4150
4305
|
exports.Constante = void 0;
|
|
@@ -4163,11 +4318,11 @@ class Constante {
|
|
|
4163
4318
|
}
|
|
4164
4319
|
exports.Constante = Constante;
|
|
4165
4320
|
|
|
4166
|
-
},{}],
|
|
4321
|
+
},{}],33:[function(require,module,exports){
|
|
4167
4322
|
"use strict";
|
|
4168
4323
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4169
4324
|
|
|
4170
|
-
},{}],
|
|
4325
|
+
},{}],34:[function(require,module,exports){
|
|
4171
4326
|
"use strict";
|
|
4172
4327
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4173
4328
|
exports.Decorador = void 0;
|
|
@@ -4188,7 +4343,7 @@ class Decorador {
|
|
|
4188
4343
|
}
|
|
4189
4344
|
exports.Decorador = Decorador;
|
|
4190
4345
|
|
|
4191
|
-
},{}],
|
|
4346
|
+
},{}],35:[function(require,module,exports){
|
|
4192
4347
|
"use strict";
|
|
4193
4348
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4194
4349
|
exports.DefinirValor = void 0;
|
|
@@ -4206,7 +4361,7 @@ class DefinirValor {
|
|
|
4206
4361
|
}
|
|
4207
4362
|
exports.DefinirValor = DefinirValor;
|
|
4208
4363
|
|
|
4209
|
-
},{}],
|
|
4364
|
+
},{}],36:[function(require,module,exports){
|
|
4210
4365
|
"use strict";
|
|
4211
4366
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4212
4367
|
exports.Dicionario = void 0;
|
|
@@ -4223,7 +4378,7 @@ class Dicionario {
|
|
|
4223
4378
|
}
|
|
4224
4379
|
exports.Dicionario = Dicionario;
|
|
4225
4380
|
|
|
4226
|
-
},{}],
|
|
4381
|
+
},{}],37:[function(require,module,exports){
|
|
4227
4382
|
"use strict";
|
|
4228
4383
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4229
4384
|
exports.ExpressaoRegular = void 0;
|
|
@@ -4240,7 +4395,7 @@ class ExpressaoRegular {
|
|
|
4240
4395
|
}
|
|
4241
4396
|
exports.ExpressaoRegular = ExpressaoRegular;
|
|
4242
4397
|
|
|
4243
|
-
},{}],
|
|
4398
|
+
},{}],38:[function(require,module,exports){
|
|
4244
4399
|
"use strict";
|
|
4245
4400
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4246
4401
|
exports.FimPara = void 0;
|
|
@@ -4267,7 +4422,7 @@ class FimPara {
|
|
|
4267
4422
|
}
|
|
4268
4423
|
exports.FimPara = FimPara;
|
|
4269
4424
|
|
|
4270
|
-
},{}],
|
|
4425
|
+
},{}],39:[function(require,module,exports){
|
|
4271
4426
|
"use strict";
|
|
4272
4427
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4273
4428
|
exports.FormatacaoEscrita = void 0;
|
|
@@ -4290,7 +4445,7 @@ class FormatacaoEscrita {
|
|
|
4290
4445
|
}
|
|
4291
4446
|
exports.FormatacaoEscrita = FormatacaoEscrita;
|
|
4292
4447
|
|
|
4293
|
-
},{}],
|
|
4448
|
+
},{}],40:[function(require,module,exports){
|
|
4294
4449
|
"use strict";
|
|
4295
4450
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4296
4451
|
exports.FuncaoConstruto = void 0;
|
|
@@ -4308,7 +4463,7 @@ class FuncaoConstruto {
|
|
|
4308
4463
|
}
|
|
4309
4464
|
exports.FuncaoConstruto = FuncaoConstruto;
|
|
4310
4465
|
|
|
4311
|
-
},{}],
|
|
4466
|
+
},{}],41:[function(require,module,exports){
|
|
4312
4467
|
"use strict";
|
|
4313
4468
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4314
4469
|
if (k2 === undefined) k2 = k;
|
|
@@ -4355,7 +4510,7 @@ __exportStar(require("./variavel"), exports);
|
|
|
4355
4510
|
__exportStar(require("./vetor"), exports);
|
|
4356
4511
|
__exportStar(require("./qual-tipo"), exports);
|
|
4357
4512
|
|
|
4358
|
-
},{"./acesso-elemento-matriz":
|
|
4513
|
+
},{"./acesso-elemento-matriz":22,"./acesso-indice-variavel":23,"./acesso-metodo-ou-propriedade":24,"./agrupamento":25,"./atribuicao-por-indice":26,"./atribuicao-por-indices-matriz":27,"./atribuir":28,"./binario":29,"./chamada":30,"./comentario":31,"./constante":32,"./construto":33,"./decorador":34,"./definir-valor":35,"./dicionario":36,"./expressao-regular":37,"./fim-para":38,"./formatacao-escrita":39,"./funcao":40,"./isto":42,"./literal":43,"./logico":44,"./qual-tipo":45,"./super":46,"./tipo-de":47,"./tuplas":50,"./unario":59,"./variavel":60,"./vetor":61}],42:[function(require,module,exports){
|
|
4359
4514
|
"use strict";
|
|
4360
4515
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4361
4516
|
exports.Isto = void 0;
|
|
@@ -4371,15 +4526,16 @@ class Isto {
|
|
|
4371
4526
|
}
|
|
4372
4527
|
exports.Isto = Isto;
|
|
4373
4528
|
|
|
4374
|
-
},{}],
|
|
4529
|
+
},{}],43:[function(require,module,exports){
|
|
4375
4530
|
"use strict";
|
|
4376
4531
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4377
4532
|
exports.Literal = void 0;
|
|
4378
4533
|
class Literal {
|
|
4379
|
-
constructor(hashArquivo, linha, valor) {
|
|
4534
|
+
constructor(hashArquivo, linha, valor, tipo = 'qualquer') {
|
|
4380
4535
|
this.linha = linha;
|
|
4381
4536
|
this.hashArquivo = hashArquivo;
|
|
4382
4537
|
this.valor = valor;
|
|
4538
|
+
this.tipo = tipo;
|
|
4383
4539
|
}
|
|
4384
4540
|
async aceitar(visitante) {
|
|
4385
4541
|
return await visitante.visitarExpressaoLiteral(this);
|
|
@@ -4387,7 +4543,7 @@ class Literal {
|
|
|
4387
4543
|
}
|
|
4388
4544
|
exports.Literal = Literal;
|
|
4389
4545
|
|
|
4390
|
-
},{}],
|
|
4546
|
+
},{}],44:[function(require,module,exports){
|
|
4391
4547
|
"use strict";
|
|
4392
4548
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4393
4549
|
exports.Logico = void 0;
|
|
@@ -4405,7 +4561,7 @@ class Logico {
|
|
|
4405
4561
|
}
|
|
4406
4562
|
exports.Logico = Logico;
|
|
4407
4563
|
|
|
4408
|
-
},{}],
|
|
4564
|
+
},{}],45:[function(require,module,exports){
|
|
4409
4565
|
"use strict";
|
|
4410
4566
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4411
4567
|
exports.QualTipo = void 0;
|
|
@@ -4423,7 +4579,7 @@ class QualTipo {
|
|
|
4423
4579
|
}
|
|
4424
4580
|
exports.QualTipo = QualTipo;
|
|
4425
4581
|
|
|
4426
|
-
},{}],
|
|
4582
|
+
},{}],46:[function(require,module,exports){
|
|
4427
4583
|
"use strict";
|
|
4428
4584
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4429
4585
|
exports.Super = void 0;
|
|
@@ -4440,7 +4596,7 @@ class Super {
|
|
|
4440
4596
|
}
|
|
4441
4597
|
exports.Super = Super;
|
|
4442
4598
|
|
|
4443
|
-
},{}],
|
|
4599
|
+
},{}],47:[function(require,module,exports){
|
|
4444
4600
|
"use strict";
|
|
4445
4601
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4446
4602
|
exports.TipoDe = void 0;
|
|
@@ -4457,7 +4613,7 @@ class TipoDe {
|
|
|
4457
4613
|
}
|
|
4458
4614
|
exports.TipoDe = TipoDe;
|
|
4459
4615
|
|
|
4460
|
-
},{}],
|
|
4616
|
+
},{}],48:[function(require,module,exports){
|
|
4461
4617
|
"use strict";
|
|
4462
4618
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4463
4619
|
exports.Deceto = void 0;
|
|
@@ -4491,7 +4647,7 @@ class Deceto extends tupla_1.Tupla {
|
|
|
4491
4647
|
}
|
|
4492
4648
|
exports.Deceto = Deceto;
|
|
4493
4649
|
|
|
4494
|
-
},{"./tupla":
|
|
4650
|
+
},{"./tupla":58}],49:[function(require,module,exports){
|
|
4495
4651
|
"use strict";
|
|
4496
4652
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4497
4653
|
exports.Dupla = void 0;
|
|
@@ -4505,7 +4661,7 @@ class Dupla extends tupla_1.Tupla {
|
|
|
4505
4661
|
}
|
|
4506
4662
|
exports.Dupla = Dupla;
|
|
4507
4663
|
|
|
4508
|
-
},{"./tupla":
|
|
4664
|
+
},{"./tupla":58}],50:[function(require,module,exports){
|
|
4509
4665
|
"use strict";
|
|
4510
4666
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4511
4667
|
if (k2 === undefined) k2 = k;
|
|
@@ -4574,7 +4730,7 @@ class SeletorTuplas {
|
|
|
4574
4730
|
}
|
|
4575
4731
|
exports.SeletorTuplas = SeletorTuplas;
|
|
4576
4732
|
|
|
4577
|
-
},{"./deceto":
|
|
4733
|
+
},{"./deceto":48,"./dupla":49,"./noneto":51,"./octeto":52,"./quarteto":53,"./quinteto":54,"./septeto":55,"./sexteto":56,"./trio":57,"./tupla":58}],51:[function(require,module,exports){
|
|
4578
4734
|
"use strict";
|
|
4579
4735
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4580
4736
|
exports.Noneto = void 0;
|
|
@@ -4601,7 +4757,7 @@ class Noneto extends tupla_1.Tupla {
|
|
|
4601
4757
|
}
|
|
4602
4758
|
exports.Noneto = Noneto;
|
|
4603
4759
|
|
|
4604
|
-
},{"./tupla":
|
|
4760
|
+
},{"./tupla":58}],52:[function(require,module,exports){
|
|
4605
4761
|
"use strict";
|
|
4606
4762
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4607
4763
|
exports.Octeto = void 0;
|
|
@@ -4627,7 +4783,7 @@ class Octeto extends tupla_1.Tupla {
|
|
|
4627
4783
|
}
|
|
4628
4784
|
exports.Octeto = Octeto;
|
|
4629
4785
|
|
|
4630
|
-
},{"./tupla":
|
|
4786
|
+
},{"./tupla":58}],53:[function(require,module,exports){
|
|
4631
4787
|
"use strict";
|
|
4632
4788
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4633
4789
|
exports.Quarteto = void 0;
|
|
@@ -4643,7 +4799,7 @@ class Quarteto extends tupla_1.Tupla {
|
|
|
4643
4799
|
}
|
|
4644
4800
|
exports.Quarteto = Quarteto;
|
|
4645
4801
|
|
|
4646
|
-
},{"./tupla":
|
|
4802
|
+
},{"./tupla":58}],54:[function(require,module,exports){
|
|
4647
4803
|
"use strict";
|
|
4648
4804
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4649
4805
|
exports.Quinteto = void 0;
|
|
@@ -4660,7 +4816,7 @@ class Quinteto extends tupla_1.Tupla {
|
|
|
4660
4816
|
}
|
|
4661
4817
|
exports.Quinteto = Quinteto;
|
|
4662
4818
|
|
|
4663
|
-
},{"./tupla":
|
|
4819
|
+
},{"./tupla":58}],55:[function(require,module,exports){
|
|
4664
4820
|
"use strict";
|
|
4665
4821
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4666
4822
|
exports.Septeto = void 0;
|
|
@@ -4685,7 +4841,7 @@ class Septeto extends tupla_1.Tupla {
|
|
|
4685
4841
|
}
|
|
4686
4842
|
exports.Septeto = Septeto;
|
|
4687
4843
|
|
|
4688
|
-
},{"./tupla":
|
|
4844
|
+
},{"./tupla":58}],56:[function(require,module,exports){
|
|
4689
4845
|
"use strict";
|
|
4690
4846
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4691
4847
|
exports.Sexteto = void 0;
|
|
@@ -4703,7 +4859,7 @@ class Sexteto extends tupla_1.Tupla {
|
|
|
4703
4859
|
}
|
|
4704
4860
|
exports.Sexteto = Sexteto;
|
|
4705
4861
|
|
|
4706
|
-
},{"./tupla":
|
|
4862
|
+
},{"./tupla":58}],57:[function(require,module,exports){
|
|
4707
4863
|
"use strict";
|
|
4708
4864
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4709
4865
|
exports.Trio = void 0;
|
|
@@ -4718,7 +4874,7 @@ class Trio extends tupla_1.Tupla {
|
|
|
4718
4874
|
}
|
|
4719
4875
|
exports.Trio = Trio;
|
|
4720
4876
|
|
|
4721
|
-
},{"./tupla":
|
|
4877
|
+
},{"./tupla":58}],58:[function(require,module,exports){
|
|
4722
4878
|
"use strict";
|
|
4723
4879
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4724
4880
|
exports.Tupla = void 0;
|
|
@@ -4729,7 +4885,7 @@ class Tupla {
|
|
|
4729
4885
|
}
|
|
4730
4886
|
exports.Tupla = Tupla;
|
|
4731
4887
|
|
|
4732
|
-
},{}],
|
|
4888
|
+
},{}],59:[function(require,module,exports){
|
|
4733
4889
|
"use strict";
|
|
4734
4890
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4735
4891
|
exports.Unario = void 0;
|
|
@@ -4747,15 +4903,16 @@ class Unario {
|
|
|
4747
4903
|
}
|
|
4748
4904
|
exports.Unario = Unario;
|
|
4749
4905
|
|
|
4750
|
-
},{}],
|
|
4906
|
+
},{}],60:[function(require,module,exports){
|
|
4751
4907
|
"use strict";
|
|
4752
4908
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4753
4909
|
exports.Variavel = void 0;
|
|
4754
4910
|
class Variavel {
|
|
4755
|
-
constructor(hashArquivo, simbolo) {
|
|
4911
|
+
constructor(hashArquivo, simbolo, tipo = 'qualquer') {
|
|
4756
4912
|
this.linha = Number(simbolo.linha);
|
|
4757
4913
|
this.hashArquivo = hashArquivo;
|
|
4758
4914
|
this.simbolo = simbolo;
|
|
4915
|
+
this.tipo = tipo;
|
|
4759
4916
|
}
|
|
4760
4917
|
async aceitar(visitante) {
|
|
4761
4918
|
return Promise.resolve(visitante.visitarExpressaoDeVariavel(this));
|
|
@@ -4763,7 +4920,7 @@ class Variavel {
|
|
|
4763
4920
|
}
|
|
4764
4921
|
exports.Variavel = Variavel;
|
|
4765
4922
|
|
|
4766
|
-
},{}],
|
|
4923
|
+
},{}],61:[function(require,module,exports){
|
|
4767
4924
|
"use strict";
|
|
4768
4925
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4769
4926
|
exports.Vetor = void 0;
|
|
@@ -4786,7 +4943,7 @@ class Vetor {
|
|
|
4786
4943
|
}
|
|
4787
4944
|
exports.Vetor = Vetor;
|
|
4788
4945
|
|
|
4789
|
-
},{}],
|
|
4946
|
+
},{}],62:[function(require,module,exports){
|
|
4790
4947
|
"use strict";
|
|
4791
4948
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4792
4949
|
exports.Aleatorio = void 0;
|
|
@@ -4803,7 +4960,7 @@ class Aleatorio extends declaracao_1.Declaracao {
|
|
|
4803
4960
|
}
|
|
4804
4961
|
exports.Aleatorio = Aleatorio;
|
|
4805
4962
|
|
|
4806
|
-
},{"./declaracao":
|
|
4963
|
+
},{"./declaracao":69}],63:[function(require,module,exports){
|
|
4807
4964
|
"use strict";
|
|
4808
4965
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4809
4966
|
exports.Bloco = void 0;
|
|
@@ -4819,7 +4976,7 @@ class Bloco extends declaracao_1.Declaracao {
|
|
|
4819
4976
|
}
|
|
4820
4977
|
exports.Bloco = Bloco;
|
|
4821
4978
|
|
|
4822
|
-
},{"./declaracao":
|
|
4979
|
+
},{"./declaracao":69}],64:[function(require,module,exports){
|
|
4823
4980
|
"use strict";
|
|
4824
4981
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4825
4982
|
exports.CabecalhoPrograma = void 0;
|
|
@@ -4835,7 +4992,7 @@ class CabecalhoPrograma extends declaracao_1.Declaracao {
|
|
|
4835
4992
|
}
|
|
4836
4993
|
exports.CabecalhoPrograma = CabecalhoPrograma;
|
|
4837
4994
|
|
|
4838
|
-
},{"./declaracao":
|
|
4995
|
+
},{"./declaracao":69}],65:[function(require,module,exports){
|
|
4839
4996
|
"use strict";
|
|
4840
4997
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4841
4998
|
exports.Classe = void 0;
|
|
@@ -4855,7 +5012,7 @@ class Classe extends declaracao_1.Declaracao {
|
|
|
4855
5012
|
}
|
|
4856
5013
|
exports.Classe = Classe;
|
|
4857
5014
|
|
|
4858
|
-
},{"./declaracao":
|
|
5015
|
+
},{"./declaracao":69}],66:[function(require,module,exports){
|
|
4859
5016
|
"use strict";
|
|
4860
5017
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4861
5018
|
exports.ConstMultiplo = void 0;
|
|
@@ -4876,7 +5033,7 @@ class ConstMultiplo extends declaracao_1.Declaracao {
|
|
|
4876
5033
|
}
|
|
4877
5034
|
exports.ConstMultiplo = ConstMultiplo;
|
|
4878
5035
|
|
|
4879
|
-
},{"./declaracao":
|
|
5036
|
+
},{"./declaracao":69}],67:[function(require,module,exports){
|
|
4880
5037
|
"use strict";
|
|
4881
5038
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4882
5039
|
exports.Const = void 0;
|
|
@@ -4897,7 +5054,7 @@ class Const extends declaracao_1.Declaracao {
|
|
|
4897
5054
|
}
|
|
4898
5055
|
exports.Const = Const;
|
|
4899
5056
|
|
|
4900
|
-
},{"./declaracao":
|
|
5057
|
+
},{"./declaracao":69}],68:[function(require,module,exports){
|
|
4901
5058
|
"use strict";
|
|
4902
5059
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4903
5060
|
exports.Continua = void 0;
|
|
@@ -4912,7 +5069,7 @@ class Continua extends declaracao_1.Declaracao {
|
|
|
4912
5069
|
}
|
|
4913
5070
|
exports.Continua = Continua;
|
|
4914
5071
|
|
|
4915
|
-
},{"./declaracao":
|
|
5072
|
+
},{"./declaracao":69}],69:[function(require,module,exports){
|
|
4916
5073
|
"use strict";
|
|
4917
5074
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4918
5075
|
exports.Declaracao = void 0;
|
|
@@ -4932,7 +5089,7 @@ class Declaracao {
|
|
|
4932
5089
|
}
|
|
4933
5090
|
exports.Declaracao = Declaracao;
|
|
4934
5091
|
|
|
4935
|
-
},{}],
|
|
5092
|
+
},{}],70:[function(require,module,exports){
|
|
4936
5093
|
"use strict";
|
|
4937
5094
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4938
5095
|
exports.Enquanto = void 0;
|
|
@@ -4949,7 +5106,7 @@ class Enquanto extends declaracao_1.Declaracao {
|
|
|
4949
5106
|
}
|
|
4950
5107
|
exports.Enquanto = Enquanto;
|
|
4951
5108
|
|
|
4952
|
-
},{"./declaracao":
|
|
5109
|
+
},{"./declaracao":69}],71:[function(require,module,exports){
|
|
4953
5110
|
"use strict";
|
|
4954
5111
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4955
5112
|
exports.Escolha = void 0;
|
|
@@ -4970,7 +5127,7 @@ class Escolha extends declaracao_1.Declaracao {
|
|
|
4970
5127
|
}
|
|
4971
5128
|
exports.Escolha = Escolha;
|
|
4972
5129
|
|
|
4973
|
-
},{"./declaracao":
|
|
5130
|
+
},{"./declaracao":69}],72:[function(require,module,exports){
|
|
4974
5131
|
"use strict";
|
|
4975
5132
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4976
5133
|
exports.EscrevaMesmaLinha = void 0;
|
|
@@ -4986,7 +5143,7 @@ class EscrevaMesmaLinha extends declaracao_1.Declaracao {
|
|
|
4986
5143
|
}
|
|
4987
5144
|
exports.EscrevaMesmaLinha = EscrevaMesmaLinha;
|
|
4988
5145
|
|
|
4989
|
-
},{"./declaracao":
|
|
5146
|
+
},{"./declaracao":69}],73:[function(require,module,exports){
|
|
4990
5147
|
"use strict";
|
|
4991
5148
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4992
5149
|
exports.Escreva = void 0;
|
|
@@ -5002,7 +5159,7 @@ class Escreva extends declaracao_1.Declaracao {
|
|
|
5002
5159
|
}
|
|
5003
5160
|
exports.Escreva = Escreva;
|
|
5004
5161
|
|
|
5005
|
-
},{"./declaracao":
|
|
5162
|
+
},{"./declaracao":69}],74:[function(require,module,exports){
|
|
5006
5163
|
"use strict";
|
|
5007
5164
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5008
5165
|
exports.Expressao = void 0;
|
|
@@ -5018,7 +5175,7 @@ class Expressao extends declaracao_1.Declaracao {
|
|
|
5018
5175
|
}
|
|
5019
5176
|
exports.Expressao = Expressao;
|
|
5020
5177
|
|
|
5021
|
-
},{"./declaracao":
|
|
5178
|
+
},{"./declaracao":69}],75:[function(require,module,exports){
|
|
5022
5179
|
"use strict";
|
|
5023
5180
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5024
5181
|
exports.Falhar = void 0;
|
|
@@ -5035,7 +5192,7 @@ class Falhar extends declaracao_1.Declaracao {
|
|
|
5035
5192
|
}
|
|
5036
5193
|
exports.Falhar = Falhar;
|
|
5037
5194
|
|
|
5038
|
-
},{"./declaracao":
|
|
5195
|
+
},{"./declaracao":69}],76:[function(require,module,exports){
|
|
5039
5196
|
"use strict";
|
|
5040
5197
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5041
5198
|
exports.Fazer = void 0;
|
|
@@ -5052,7 +5209,7 @@ class Fazer extends declaracao_1.Declaracao {
|
|
|
5052
5209
|
}
|
|
5053
5210
|
exports.Fazer = Fazer;
|
|
5054
5211
|
|
|
5055
|
-
},{"./declaracao":
|
|
5212
|
+
},{"./declaracao":69}],77:[function(require,module,exports){
|
|
5056
5213
|
"use strict";
|
|
5057
5214
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5058
5215
|
exports.FuncaoDeclaracao = void 0;
|
|
@@ -5071,7 +5228,7 @@ class FuncaoDeclaracao extends declaracao_1.Declaracao {
|
|
|
5071
5228
|
}
|
|
5072
5229
|
exports.FuncaoDeclaracao = FuncaoDeclaracao;
|
|
5073
5230
|
|
|
5074
|
-
},{"./declaracao":
|
|
5231
|
+
},{"./declaracao":69}],78:[function(require,module,exports){
|
|
5075
5232
|
"use strict";
|
|
5076
5233
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5077
5234
|
exports.Importar = void 0;
|
|
@@ -5088,7 +5245,7 @@ class Importar extends declaracao_1.Declaracao {
|
|
|
5088
5245
|
}
|
|
5089
5246
|
exports.Importar = Importar;
|
|
5090
5247
|
|
|
5091
|
-
},{"./declaracao":
|
|
5248
|
+
},{"./declaracao":69}],79:[function(require,module,exports){
|
|
5092
5249
|
"use strict";
|
|
5093
5250
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5094
5251
|
if (k2 === undefined) k2 = k;
|
|
@@ -5137,7 +5294,7 @@ __exportStar(require("./var"), exports);
|
|
|
5137
5294
|
__exportStar(require("./var-multiplo"), exports);
|
|
5138
5295
|
__exportStar(require("./aleatorio"), exports);
|
|
5139
5296
|
|
|
5140
|
-
},{"./aleatorio":
|
|
5297
|
+
},{"./aleatorio":62,"./bloco":63,"./cabecalho-programa":64,"./classe":65,"./const":67,"./const-multiplo":66,"./continua":68,"./declaracao":69,"./enquanto":70,"./escolha":71,"./escreva":73,"./escreva-mesma-linha":72,"./expressao":74,"./falhar":75,"./fazer":76,"./funcao":77,"./importar":78,"./inicio-algoritmo":80,"./leia":82,"./leia-multiplo":81,"./para":84,"./para-cada":83,"./propriedade-classe":85,"./retorna":86,"./se":87,"./sustar":88,"./tendo-como":89,"./tente":90,"./var":92,"./var-multiplo":91}],80:[function(require,module,exports){
|
|
5141
5298
|
"use strict";
|
|
5142
5299
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5143
5300
|
exports.InicioAlgoritmo = void 0;
|
|
@@ -5152,7 +5309,7 @@ class InicioAlgoritmo extends declaracao_1.Declaracao {
|
|
|
5152
5309
|
}
|
|
5153
5310
|
exports.InicioAlgoritmo = InicioAlgoritmo;
|
|
5154
5311
|
|
|
5155
|
-
},{"./declaracao":
|
|
5312
|
+
},{"./declaracao":69}],81:[function(require,module,exports){
|
|
5156
5313
|
"use strict";
|
|
5157
5314
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5158
5315
|
exports.LeiaMultiplo = void 0;
|
|
@@ -5175,7 +5332,7 @@ class LeiaMultiplo extends declaracao_1.Declaracao {
|
|
|
5175
5332
|
}
|
|
5176
5333
|
exports.LeiaMultiplo = LeiaMultiplo;
|
|
5177
5334
|
|
|
5178
|
-
},{"../geracao-identificadores":
|
|
5335
|
+
},{"../geracao-identificadores":111,"./declaracao":69}],82:[function(require,module,exports){
|
|
5179
5336
|
"use strict";
|
|
5180
5337
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5181
5338
|
exports.Leia = void 0;
|
|
@@ -5198,7 +5355,7 @@ class Leia extends declaracao_1.Declaracao {
|
|
|
5198
5355
|
}
|
|
5199
5356
|
exports.Leia = Leia;
|
|
5200
5357
|
|
|
5201
|
-
},{"../geracao-identificadores":
|
|
5358
|
+
},{"../geracao-identificadores":111,"./declaracao":69}],83:[function(require,module,exports){
|
|
5202
5359
|
"use strict";
|
|
5203
5360
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5204
5361
|
exports.ParaCada = void 0;
|
|
@@ -5217,7 +5374,7 @@ class ParaCada extends declaracao_1.Declaracao {
|
|
|
5217
5374
|
}
|
|
5218
5375
|
exports.ParaCada = ParaCada;
|
|
5219
5376
|
|
|
5220
|
-
},{"./declaracao":
|
|
5377
|
+
},{"./declaracao":69}],84:[function(require,module,exports){
|
|
5221
5378
|
"use strict";
|
|
5222
5379
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5223
5380
|
exports.Para = void 0;
|
|
@@ -5243,7 +5400,7 @@ class Para extends declaracao_1.Declaracao {
|
|
|
5243
5400
|
}
|
|
5244
5401
|
exports.Para = Para;
|
|
5245
5402
|
|
|
5246
|
-
},{"./declaracao":
|
|
5403
|
+
},{"./declaracao":69}],85:[function(require,module,exports){
|
|
5247
5404
|
"use strict";
|
|
5248
5405
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5249
5406
|
exports.PropriedadeClasse = void 0;
|
|
@@ -5261,7 +5418,7 @@ class PropriedadeClasse extends declaracao_1.Declaracao {
|
|
|
5261
5418
|
}
|
|
5262
5419
|
exports.PropriedadeClasse = PropriedadeClasse;
|
|
5263
5420
|
|
|
5264
|
-
},{"./declaracao":
|
|
5421
|
+
},{"./declaracao":69}],86:[function(require,module,exports){
|
|
5265
5422
|
"use strict";
|
|
5266
5423
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5267
5424
|
exports.Retorna = void 0;
|
|
@@ -5278,7 +5435,7 @@ class Retorna extends declaracao_1.Declaracao {
|
|
|
5278
5435
|
}
|
|
5279
5436
|
exports.Retorna = Retorna;
|
|
5280
5437
|
|
|
5281
|
-
},{"./declaracao":
|
|
5438
|
+
},{"./declaracao":69}],87:[function(require,module,exports){
|
|
5282
5439
|
"use strict";
|
|
5283
5440
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5284
5441
|
exports.Se = void 0;
|
|
@@ -5297,7 +5454,7 @@ class Se extends declaracao_1.Declaracao {
|
|
|
5297
5454
|
}
|
|
5298
5455
|
exports.Se = Se;
|
|
5299
5456
|
|
|
5300
|
-
},{"./declaracao":
|
|
5457
|
+
},{"./declaracao":69}],88:[function(require,module,exports){
|
|
5301
5458
|
"use strict";
|
|
5302
5459
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5303
5460
|
exports.Sustar = void 0;
|
|
@@ -5312,7 +5469,7 @@ class Sustar extends declaracao_1.Declaracao {
|
|
|
5312
5469
|
}
|
|
5313
5470
|
exports.Sustar = Sustar;
|
|
5314
5471
|
|
|
5315
|
-
},{"./declaracao":
|
|
5472
|
+
},{"./declaracao":69}],89:[function(require,module,exports){
|
|
5316
5473
|
"use strict";
|
|
5317
5474
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5318
5475
|
exports.TendoComo = void 0;
|
|
@@ -5335,7 +5492,7 @@ class TendoComo extends declaracao_1.Declaracao {
|
|
|
5335
5492
|
}
|
|
5336
5493
|
exports.TendoComo = TendoComo;
|
|
5337
5494
|
|
|
5338
|
-
},{"./declaracao":
|
|
5495
|
+
},{"./declaracao":69}],90:[function(require,module,exports){
|
|
5339
5496
|
"use strict";
|
|
5340
5497
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5341
5498
|
exports.Tente = void 0;
|
|
@@ -5357,7 +5514,7 @@ class Tente extends declaracao_1.Declaracao {
|
|
|
5357
5514
|
}
|
|
5358
5515
|
exports.Tente = Tente;
|
|
5359
5516
|
|
|
5360
|
-
},{"./declaracao":
|
|
5517
|
+
},{"./declaracao":69}],91:[function(require,module,exports){
|
|
5361
5518
|
"use strict";
|
|
5362
5519
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5363
5520
|
exports.VarMultiplo = void 0;
|
|
@@ -5379,7 +5536,7 @@ class VarMultiplo extends declaracao_1.Declaracao {
|
|
|
5379
5536
|
}
|
|
5380
5537
|
exports.VarMultiplo = VarMultiplo;
|
|
5381
5538
|
|
|
5382
|
-
},{"./declaracao":
|
|
5539
|
+
},{"./declaracao":69}],92:[function(require,module,exports){
|
|
5383
5540
|
"use strict";
|
|
5384
5541
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5385
5542
|
exports.Var = void 0;
|
|
@@ -5402,7 +5559,7 @@ class Var extends declaracao_1.Declaracao {
|
|
|
5402
5559
|
}
|
|
5403
5560
|
exports.Var = Var;
|
|
5404
5561
|
|
|
5405
|
-
},{"./declaracao":
|
|
5562
|
+
},{"./declaracao":69}],93:[function(require,module,exports){
|
|
5406
5563
|
"use strict";
|
|
5407
5564
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5408
5565
|
exports.default = cyrb53;
|
|
@@ -5426,7 +5583,7 @@ function cyrb53(nomeArquivo, semente = 0) {
|
|
|
5426
5583
|
return 4294967296 * (2097151 & h2) + (h1 >>> 0);
|
|
5427
5584
|
}
|
|
5428
5585
|
|
|
5429
|
-
},{}],
|
|
5586
|
+
},{}],94:[function(require,module,exports){
|
|
5430
5587
|
"use strict";
|
|
5431
5588
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5432
5589
|
if (k2 === undefined) k2 = k;
|
|
@@ -5451,11 +5608,11 @@ var cyrb53_1 = require("./cyrb53");
|
|
|
5451
5608
|
Object.defineProperty(exports, "cyrb53", { enumerable: true, get: function () { return __importDefault(cyrb53_1).default; } });
|
|
5452
5609
|
__exportStar(require("./ponto-parada"), exports);
|
|
5453
5610
|
|
|
5454
|
-
},{"./cyrb53":
|
|
5611
|
+
},{"./cyrb53":93,"./ponto-parada":95}],95:[function(require,module,exports){
|
|
5455
5612
|
"use strict";
|
|
5456
5613
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5457
5614
|
|
|
5458
|
-
},{}],
|
|
5615
|
+
},{}],96:[function(require,module,exports){
|
|
5459
5616
|
"use strict";
|
|
5460
5617
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5461
5618
|
exports.EspacoVariaveis = void 0;
|
|
@@ -5476,7 +5633,7 @@ class EspacoVariaveis {
|
|
|
5476
5633
|
}
|
|
5477
5634
|
exports.EspacoVariaveis = EspacoVariaveis;
|
|
5478
5635
|
|
|
5479
|
-
},{}],
|
|
5636
|
+
},{}],97:[function(require,module,exports){
|
|
5480
5637
|
"use strict";
|
|
5481
5638
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5482
5639
|
exports.Chamavel = void 0;
|
|
@@ -5490,7 +5647,7 @@ class Chamavel {
|
|
|
5490
5647
|
}
|
|
5491
5648
|
exports.Chamavel = Chamavel;
|
|
5492
5649
|
|
|
5493
|
-
},{}],
|
|
5650
|
+
},{}],98:[function(require,module,exports){
|
|
5494
5651
|
"use strict";
|
|
5495
5652
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5496
5653
|
exports.ClassePadrao = void 0;
|
|
@@ -5531,14 +5688,14 @@ class ClassePadrao extends chamavel_1.Chamavel {
|
|
|
5531
5688
|
}
|
|
5532
5689
|
exports.ClassePadrao = ClassePadrao;
|
|
5533
5690
|
|
|
5534
|
-
},{"./chamavel":
|
|
5691
|
+
},{"./chamavel":97}],99:[function(require,module,exports){
|
|
5535
5692
|
"use strict";
|
|
5536
5693
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5537
5694
|
exports.DeleguaFuncao = void 0;
|
|
5538
5695
|
const chamavel_1 = require("./chamavel");
|
|
5539
5696
|
const espaco_variaveis_1 = require("../espaco-variaveis");
|
|
5540
5697
|
const quebras_1 = require("../quebras");
|
|
5541
|
-
const inferenciador_1 = require("../
|
|
5698
|
+
const inferenciador_1 = require("../inferenciador");
|
|
5542
5699
|
const declaracoes_1 = require("../declaracoes");
|
|
5543
5700
|
/**
|
|
5544
5701
|
* Qualquer função declarada em código é uma DeleguaFuncao.
|
|
@@ -5567,7 +5724,7 @@ class DeleguaFuncao extends chamavel_1.Chamavel {
|
|
|
5567
5724
|
let parametros = '';
|
|
5568
5725
|
let retorno = '';
|
|
5569
5726
|
for (let parametro of this.declaracao.parametros) {
|
|
5570
|
-
parametros += `${parametro.nome.lexema}
|
|
5727
|
+
parametros += `${parametro.nome.lexema}: ${parametro.tipoDado || 'qualquer'}, `;
|
|
5571
5728
|
}
|
|
5572
5729
|
if (this.declaracao.parametros.length > 0) {
|
|
5573
5730
|
parametros = `argumentos=<${parametros.slice(0, -2)}>`;
|
|
@@ -5673,7 +5830,7 @@ class DeleguaFuncao extends chamavel_1.Chamavel {
|
|
|
5673
5830
|
}
|
|
5674
5831
|
exports.DeleguaFuncao = DeleguaFuncao;
|
|
5675
5832
|
|
|
5676
|
-
},{"../declaracoes":
|
|
5833
|
+
},{"../declaracoes":79,"../espaco-variaveis":96,"../inferenciador":113,"../quebras":155,"./chamavel":97}],100:[function(require,module,exports){
|
|
5677
5834
|
"use strict";
|
|
5678
5835
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5679
5836
|
exports.DescritorTipoClasse = void 0;
|
|
@@ -5754,7 +5911,7 @@ class DescritorTipoClasse extends chamavel_1.Chamavel {
|
|
|
5754
5911
|
}
|
|
5755
5912
|
exports.DescritorTipoClasse = DescritorTipoClasse;
|
|
5756
5913
|
|
|
5757
|
-
},{"../excecoes":
|
|
5914
|
+
},{"../excecoes":108,"./chamavel":97,"./objeto-delegua-classe":105}],101:[function(require,module,exports){
|
|
5758
5915
|
"use strict";
|
|
5759
5916
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5760
5917
|
exports.FuncaoPadrao = void 0;
|
|
@@ -5790,7 +5947,7 @@ class FuncaoPadrao extends chamavel_1.Chamavel {
|
|
|
5790
5947
|
}
|
|
5791
5948
|
exports.FuncaoPadrao = FuncaoPadrao;
|
|
5792
5949
|
|
|
5793
|
-
},{"./chamavel":
|
|
5950
|
+
},{"./chamavel":97}],102:[function(require,module,exports){
|
|
5794
5951
|
"use strict";
|
|
5795
5952
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5796
5953
|
if (k2 === undefined) k2 = k;
|
|
@@ -5817,7 +5974,7 @@ __exportStar(require("./modulo"), exports);
|
|
|
5817
5974
|
__exportStar(require("./objeto-delegua-classe"), exports);
|
|
5818
5975
|
__exportStar(require("./objeto-padrao"), exports);
|
|
5819
5976
|
|
|
5820
|
-
},{"./chamavel":
|
|
5977
|
+
},{"./chamavel":97,"./classe-padrao":98,"./delegua-funcao":99,"./descritor-tipo-classe":100,"./funcao-padrao":101,"./metodo-primitiva":103,"./modulo":104,"./objeto-delegua-classe":105,"./objeto-padrao":106}],103:[function(require,module,exports){
|
|
5821
5978
|
"use strict";
|
|
5822
5979
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5823
5980
|
exports.MetodoPrimitiva = void 0;
|
|
@@ -5859,7 +6016,7 @@ class MetodoPrimitiva extends chamavel_1.Chamavel {
|
|
|
5859
6016
|
}
|
|
5860
6017
|
exports.MetodoPrimitiva = MetodoPrimitiva;
|
|
5861
6018
|
|
|
5862
|
-
},{"./chamavel":
|
|
6019
|
+
},{"./chamavel":97}],104:[function(require,module,exports){
|
|
5863
6020
|
"use strict";
|
|
5864
6021
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5865
6022
|
exports.DeleguaModulo = void 0;
|
|
@@ -5885,7 +6042,7 @@ class DeleguaModulo {
|
|
|
5885
6042
|
}
|
|
5886
6043
|
exports.DeleguaModulo = DeleguaModulo;
|
|
5887
6044
|
|
|
5888
|
-
},{}],
|
|
6045
|
+
},{}],105:[function(require,module,exports){
|
|
5889
6046
|
"use strict";
|
|
5890
6047
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5891
6048
|
exports.ObjetoDeleguaClasse = void 0;
|
|
@@ -5940,7 +6097,7 @@ class ObjetoDeleguaClasse {
|
|
|
5940
6097
|
}
|
|
5941
6098
|
exports.ObjetoDeleguaClasse = ObjetoDeleguaClasse;
|
|
5942
6099
|
|
|
5943
|
-
},{"../excecoes":
|
|
6100
|
+
},{"../excecoes":108}],106:[function(require,module,exports){
|
|
5944
6101
|
"use strict";
|
|
5945
6102
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5946
6103
|
exports.ObjetoPadrao = void 0;
|
|
@@ -5974,7 +6131,7 @@ class ObjetoPadrao {
|
|
|
5974
6131
|
}
|
|
5975
6132
|
exports.ObjetoPadrao = ObjetoPadrao;
|
|
5976
6133
|
|
|
5977
|
-
},{}],
|
|
6134
|
+
},{}],107:[function(require,module,exports){
|
|
5978
6135
|
"use strict";
|
|
5979
6136
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5980
6137
|
exports.ErroEmTempoDeExecucao = void 0;
|
|
@@ -5989,7 +6146,7 @@ class ErroEmTempoDeExecucao extends Error {
|
|
|
5989
6146
|
}
|
|
5990
6147
|
exports.ErroEmTempoDeExecucao = ErroEmTempoDeExecucao;
|
|
5991
6148
|
|
|
5992
|
-
},{}],
|
|
6149
|
+
},{}],108:[function(require,module,exports){
|
|
5993
6150
|
"use strict";
|
|
5994
6151
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5995
6152
|
if (k2 === undefined) k2 = k;
|
|
@@ -6008,7 +6165,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
6008
6165
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6009
6166
|
__exportStar(require("./erro-em-tempo-de-execucao"), exports);
|
|
6010
6167
|
|
|
6011
|
-
},{"./erro-em-tempo-de-execucao":
|
|
6168
|
+
},{"./erro-em-tempo-de-execucao":107}],109:[function(require,module,exports){
|
|
6012
6169
|
"use strict";
|
|
6013
6170
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6014
6171
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -6441,7 +6598,7 @@ class FormatadorDelegua {
|
|
|
6441
6598
|
visitarExpressaoFuncaoConstruto(expressao) {
|
|
6442
6599
|
this.codigoFormatado += `(`;
|
|
6443
6600
|
for (let argumento of expressao.parametros) {
|
|
6444
|
-
this.codigoFormatado += `${argumento.nome.lexema}
|
|
6601
|
+
this.codigoFormatado += `${argumento.nome.lexema}: ${argumento.tipoDado || 'qualquer'}, `;
|
|
6445
6602
|
}
|
|
6446
6603
|
if (expressao.parametros.length > 0) {
|
|
6447
6604
|
this.codigoFormatado = this.codigoFormatado.slice(0, -2);
|
|
@@ -6686,7 +6843,7 @@ class FormatadorDelegua {
|
|
|
6686
6843
|
}
|
|
6687
6844
|
exports.FormatadorDelegua = FormatadorDelegua;
|
|
6688
6845
|
|
|
6689
|
-
},{"../construtos":
|
|
6846
|
+
},{"../construtos":41,"../tipos-de-simbolos/delegua":159}],110:[function(require,module,exports){
|
|
6690
6847
|
"use strict";
|
|
6691
6848
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6692
6849
|
if (k2 === undefined) k2 = k;
|
|
@@ -6705,7 +6862,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
6705
6862
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6706
6863
|
__exportStar(require("./formatador-delegua"), exports);
|
|
6707
6864
|
|
|
6708
|
-
},{"./formatador-delegua":
|
|
6865
|
+
},{"./formatador-delegua":109}],111:[function(require,module,exports){
|
|
6709
6866
|
"use strict";
|
|
6710
6867
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6711
6868
|
exports.uuidv4 = uuidv4;
|
|
@@ -6729,7 +6886,7 @@ function uuidv4() {
|
|
|
6729
6886
|
});
|
|
6730
6887
|
}
|
|
6731
6888
|
|
|
6732
|
-
},{}],
|
|
6889
|
+
},{}],112:[function(require,module,exports){
|
|
6733
6890
|
"use strict";
|
|
6734
6891
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6735
6892
|
if (k2 === undefined) k2 = k;
|
|
@@ -6758,15 +6915,131 @@ __exportStar(require("./interpretador"), exports);
|
|
|
6758
6915
|
__exportStar(require("./lexador"), exports);
|
|
6759
6916
|
__exportStar(require("./tradutores"), exports);
|
|
6760
6917
|
|
|
6761
|
-
},{"./avaliador-sintatico":8,"./construtos":
|
|
6918
|
+
},{"./avaliador-sintatico":8,"./construtos":41,"./declaracoes":79,"./depuracao":94,"./formatadores":110,"./interfaces":119,"./interpretador":136,"./lexador":148,"./tradutores":165}],113:[function(require,module,exports){
|
|
6919
|
+
"use strict";
|
|
6920
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6921
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
6922
|
+
};
|
|
6923
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6924
|
+
exports.TipoNativoSimbolo = void 0;
|
|
6925
|
+
exports.inferirTipoVariavel = inferirTipoVariavel;
|
|
6926
|
+
exports.tipoInferenciaParaTipoDadosElementar = tipoInferenciaParaTipoDadosElementar;
|
|
6927
|
+
const primitivos_1 = __importDefault(require("./tipos-de-dados/primitivos"));
|
|
6928
|
+
const delegua_1 = __importDefault(require("./tipos-de-dados/delegua"));
|
|
6929
|
+
const delegua_2 = __importDefault(require("./tipos-de-simbolos/delegua"));
|
|
6930
|
+
var TipoNativoSimbolo;
|
|
6931
|
+
(function (TipoNativoSimbolo) {
|
|
6932
|
+
TipoNativoSimbolo["ESCREVA"] = "<palavra reservada escreva ajuda=\"palavra reservada usada para apresentar informa\u00E7\u00F5es\">";
|
|
6933
|
+
TipoNativoSimbolo["LEIA"] = "<palavra reservada leia ajuda=\"palavra reservada usada para entrada de dados\">";
|
|
6934
|
+
TipoNativoSimbolo["FUNCAO"] = "<palavra reservada funcao ajuda=\"palavra reservada usada para criar fun\u00E7\u00F5es\">";
|
|
6935
|
+
TipoNativoSimbolo["SE"] = "<palavra reservada se ajuda=\"palavra reservada usada para estruturas condicionais\">";
|
|
6936
|
+
TipoNativoSimbolo["ENQUANTO"] = "<palavra reservada enquanto ajuda=\"palavra reservada usada para loops enquanto\">";
|
|
6937
|
+
TipoNativoSimbolo["PARA"] = "<palavra reservada para ajuda=\"palavra reservada usada para loops para\">";
|
|
6938
|
+
TipoNativoSimbolo["RETORNA"] = "<palavra reservada retornar ajuda=\"palavra reservada usada para retornar valores em fun\u00E7\u00F5es\">";
|
|
6939
|
+
TipoNativoSimbolo["INTEIRO"] = "<palavra reservada inteiro ajuda=\"palavra reservada usada para definir vari\u00E1veis do tipo inteiro\">";
|
|
6940
|
+
TipoNativoSimbolo["TEXTO"] = "<palavra reservada texto ajuda=\"palavra reservada usada para definir vari\u00E1veis do tipo texto\">";
|
|
6941
|
+
TipoNativoSimbolo["BOOLEANO"] = "<palavra reservada booleano ajuda=\"palavra reservada usada para definir vari\u00E1veis do tipo booleano\">";
|
|
6942
|
+
TipoNativoSimbolo["VAZIO"] = "<palavra reservada vazio ajuda=\"palavra reservada usada para definir fun\u00E7\u00F5es que n\u00E3o retornam valores\">";
|
|
6943
|
+
})(TipoNativoSimbolo || (exports.TipoNativoSimbolo = TipoNativoSimbolo = {}));
|
|
6944
|
+
function inferirVetor(vetor) {
|
|
6945
|
+
const tiposEmVetor = new Set(vetor.map((elemento) => typeof elemento));
|
|
6946
|
+
if (tiposEmVetor.size > 1) {
|
|
6947
|
+
return 'vetor';
|
|
6948
|
+
}
|
|
6949
|
+
const tipoVetor = tiposEmVetor.values().next().value;
|
|
6950
|
+
switch (tipoVetor) {
|
|
6951
|
+
case 'bigint':
|
|
6952
|
+
return 'longo[]';
|
|
6953
|
+
case 'boolean':
|
|
6954
|
+
return 'lógico[]';
|
|
6955
|
+
case 'number':
|
|
6956
|
+
return 'número[]';
|
|
6957
|
+
case 'string':
|
|
6958
|
+
return 'texto[]';
|
|
6959
|
+
case 'object':
|
|
6960
|
+
const tiposObjetosEmVetor = new Set(vetor.map((elemento) => elemento.tipo));
|
|
6961
|
+
if (tiposObjetosEmVetor.size > 1) {
|
|
6962
|
+
return 'vetor';
|
|
6963
|
+
}
|
|
6964
|
+
return `${tiposObjetosEmVetor.values().next().value}[]`;
|
|
6965
|
+
default:
|
|
6966
|
+
return 'vetor';
|
|
6967
|
+
}
|
|
6968
|
+
}
|
|
6969
|
+
function inferirTipoVariavel(variavel) {
|
|
6970
|
+
const tipo = typeof variavel;
|
|
6971
|
+
switch (tipo) {
|
|
6972
|
+
case 'string':
|
|
6973
|
+
return 'texto';
|
|
6974
|
+
case 'number':
|
|
6975
|
+
return 'número';
|
|
6976
|
+
case 'bigint':
|
|
6977
|
+
return 'longo';
|
|
6978
|
+
case 'boolean':
|
|
6979
|
+
return 'lógico';
|
|
6980
|
+
case 'undefined':
|
|
6981
|
+
return 'nulo';
|
|
6982
|
+
case 'object':
|
|
6983
|
+
if (Array.isArray(variavel)) {
|
|
6984
|
+
return inferirVetor(variavel);
|
|
6985
|
+
}
|
|
6986
|
+
if (variavel === null)
|
|
6987
|
+
return 'nulo';
|
|
6988
|
+
if (variavel.constructor.name === 'DeleguaFuncao')
|
|
6989
|
+
return 'função';
|
|
6990
|
+
if (variavel.constructor.name === 'DeleguaModulo')
|
|
6991
|
+
return 'módulo';
|
|
6992
|
+
if (variavel.constructor.name === 'Classe')
|
|
6993
|
+
return 'objeto';
|
|
6994
|
+
if (variavel.constructor.name === 'Simbolo') {
|
|
6995
|
+
if (typeof variavel === 'object') {
|
|
6996
|
+
const simbolo = variavel;
|
|
6997
|
+
if (simbolo.tipo === delegua_2.default.ESCREVA)
|
|
6998
|
+
return TipoNativoSimbolo.ESCREVA;
|
|
6999
|
+
if (simbolo.tipo === delegua_2.default.FUNCAO || simbolo.tipo === delegua_2.default.FUNÇÃO)
|
|
7000
|
+
return TipoNativoSimbolo.FUNCAO;
|
|
7001
|
+
if (simbolo.tipo === delegua_2.default.LEIA)
|
|
7002
|
+
return TipoNativoSimbolo.LEIA;
|
|
7003
|
+
if (simbolo.tipo === delegua_2.default.SE)
|
|
7004
|
+
return TipoNativoSimbolo.SE;
|
|
7005
|
+
if (simbolo.tipo === delegua_2.default.ENQUANTO)
|
|
7006
|
+
return TipoNativoSimbolo.ENQUANTO;
|
|
7007
|
+
if (simbolo.tipo === delegua_2.default.PARA)
|
|
7008
|
+
return TipoNativoSimbolo.PARA;
|
|
7009
|
+
if (simbolo.tipo === delegua_2.default.RETORNA)
|
|
7010
|
+
return TipoNativoSimbolo.RETORNA;
|
|
7011
|
+
if (simbolo.tipo === primitivos_1.default.TEXTO)
|
|
7012
|
+
return TipoNativoSimbolo.TEXTO;
|
|
7013
|
+
if (simbolo.tipo === primitivos_1.default.BOOLEANO)
|
|
7014
|
+
return TipoNativoSimbolo.BOOLEANO;
|
|
7015
|
+
if (simbolo.tipo === delegua_1.default.VAZIO)
|
|
7016
|
+
return TipoNativoSimbolo.VAZIO;
|
|
7017
|
+
}
|
|
7018
|
+
}
|
|
7019
|
+
return 'dicionário';
|
|
7020
|
+
case 'function':
|
|
7021
|
+
return 'função';
|
|
7022
|
+
case 'symbol':
|
|
7023
|
+
return 'símbolo';
|
|
7024
|
+
}
|
|
7025
|
+
}
|
|
7026
|
+
function tipoInferenciaParaTipoDadosElementar(tipoInferencia) {
|
|
7027
|
+
switch (tipoInferencia) {
|
|
7028
|
+
// TODO: Colocar exceções aqui.
|
|
7029
|
+
default:
|
|
7030
|
+
return tipoInferencia;
|
|
7031
|
+
}
|
|
7032
|
+
}
|
|
7033
|
+
|
|
7034
|
+
},{"./tipos-de-dados/delegua":156,"./tipos-de-dados/primitivos":157,"./tipos-de-simbolos/delegua":159}],114:[function(require,module,exports){
|
|
6762
7035
|
"use strict";
|
|
6763
7036
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6764
7037
|
|
|
6765
|
-
},{}],
|
|
7038
|
+
},{}],115:[function(require,module,exports){
|
|
6766
7039
|
"use strict";
|
|
6767
7040
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6768
7041
|
|
|
6769
|
-
},{}],
|
|
7042
|
+
},{}],116:[function(require,module,exports){
|
|
6770
7043
|
"use strict";
|
|
6771
7044
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6772
7045
|
exports.DiagnosticoSeveridade = void 0;
|
|
@@ -6778,7 +7051,7 @@ var DiagnosticoSeveridade;
|
|
|
6778
7051
|
DiagnosticoSeveridade[DiagnosticoSeveridade["SUGESTAO"] = 3] = "SUGESTAO";
|
|
6779
7052
|
})(DiagnosticoSeveridade || (exports.DiagnosticoSeveridade = DiagnosticoSeveridade = {}));
|
|
6780
7053
|
|
|
6781
|
-
},{}],
|
|
7054
|
+
},{}],117:[function(require,module,exports){
|
|
6782
7055
|
"use strict";
|
|
6783
7056
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6784
7057
|
if (k2 === undefined) k2 = k;
|
|
@@ -6797,11 +7070,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
6797
7070
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6798
7071
|
__exportStar(require("./diagnostico-analisador-semantico"), exports);
|
|
6799
7072
|
|
|
6800
|
-
},{"./diagnostico-analisador-semantico":
|
|
7073
|
+
},{"./diagnostico-analisador-semantico":116}],118:[function(require,module,exports){
|
|
6801
7074
|
"use strict";
|
|
6802
7075
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6803
7076
|
|
|
6804
|
-
},{}],
|
|
7077
|
+
},{}],119:[function(require,module,exports){
|
|
6805
7078
|
"use strict";
|
|
6806
7079
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6807
7080
|
if (k2 === undefined) k2 = k;
|
|
@@ -6835,31 +7108,31 @@ __exportStar(require("./construtos"), exports);
|
|
|
6835
7108
|
__exportStar(require("./erros"), exports);
|
|
6836
7109
|
__exportStar(require("./retornos"), exports);
|
|
6837
7110
|
|
|
6838
|
-
},{"./avaliador-sintatico-interface":
|
|
7111
|
+
},{"./avaliador-sintatico-interface":114,"./construtos":115,"./erros":117,"./formatador-comum-interface":118,"./interpretador-com-depuracao-interface":120,"./interpretador-interface":121,"./lexador-interface":122,"./parametro-interface":123,"./pilha-interface":124,"./resolvedor-interface":125,"./retornos":126,"./retornos/retorno-execucao-interface":128,"./simbolo-interface":131,"./tradutor-interface":132,"./variavel-interface":133,"./visitante-comum-interface":134}],120:[function(require,module,exports){
|
|
6839
7112
|
"use strict";
|
|
6840
7113
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6841
7114
|
|
|
6842
|
-
},{}],
|
|
7115
|
+
},{}],121:[function(require,module,exports){
|
|
6843
7116
|
"use strict";
|
|
6844
7117
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6845
7118
|
|
|
6846
|
-
},{}],
|
|
7119
|
+
},{}],122:[function(require,module,exports){
|
|
6847
7120
|
"use strict";
|
|
6848
7121
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6849
7122
|
|
|
6850
|
-
},{}],
|
|
7123
|
+
},{}],123:[function(require,module,exports){
|
|
6851
7124
|
"use strict";
|
|
6852
7125
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6853
7126
|
|
|
6854
|
-
},{}],
|
|
7127
|
+
},{}],124:[function(require,module,exports){
|
|
6855
7128
|
"use strict";
|
|
6856
7129
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6857
7130
|
|
|
6858
|
-
},{}],
|
|
7131
|
+
},{}],125:[function(require,module,exports){
|
|
6859
7132
|
"use strict";
|
|
6860
7133
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6861
7134
|
|
|
6862
|
-
},{}],
|
|
7135
|
+
},{}],126:[function(require,module,exports){
|
|
6863
7136
|
"use strict";
|
|
6864
7137
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6865
7138
|
if (k2 === undefined) k2 = k;
|
|
@@ -6881,39 +7154,39 @@ __exportStar(require("./retorno-execucao-interface"), exports);
|
|
|
6881
7154
|
__exportStar(require("./retorno-interpretador"), exports);
|
|
6882
7155
|
__exportStar(require("./retorno-lexador"), exports);
|
|
6883
7156
|
|
|
6884
|
-
},{"./retorno-avaliador-sintatico":
|
|
7157
|
+
},{"./retorno-avaliador-sintatico":127,"./retorno-execucao-interface":128,"./retorno-interpretador":129,"./retorno-lexador":130}],127:[function(require,module,exports){
|
|
6885
7158
|
"use strict";
|
|
6886
7159
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6887
7160
|
|
|
6888
|
-
},{}],
|
|
7161
|
+
},{}],128:[function(require,module,exports){
|
|
6889
7162
|
"use strict";
|
|
6890
7163
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6891
7164
|
|
|
6892
|
-
},{}],
|
|
7165
|
+
},{}],129:[function(require,module,exports){
|
|
6893
7166
|
"use strict";
|
|
6894
7167
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6895
7168
|
|
|
6896
|
-
},{}],
|
|
7169
|
+
},{}],130:[function(require,module,exports){
|
|
6897
7170
|
"use strict";
|
|
6898
7171
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6899
7172
|
|
|
6900
|
-
},{}],
|
|
7173
|
+
},{}],131:[function(require,module,exports){
|
|
6901
7174
|
"use strict";
|
|
6902
7175
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6903
7176
|
|
|
6904
|
-
},{}],
|
|
7177
|
+
},{}],132:[function(require,module,exports){
|
|
6905
7178
|
"use strict";
|
|
6906
7179
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6907
7180
|
|
|
6908
|
-
},{}],
|
|
7181
|
+
},{}],133:[function(require,module,exports){
|
|
6909
7182
|
"use strict";
|
|
6910
7183
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6911
7184
|
|
|
6912
|
-
},{}],
|
|
7185
|
+
},{}],134:[function(require,module,exports){
|
|
6913
7186
|
"use strict";
|
|
6914
7187
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6915
7188
|
|
|
6916
|
-
},{}],
|
|
7189
|
+
},{}],135:[function(require,module,exports){
|
|
6917
7190
|
"use strict";
|
|
6918
7191
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6919
7192
|
if (k2 === undefined) k2 = k;
|
|
@@ -6966,7 +7239,7 @@ function carregarBibliotecasGlobais(pilhaEscoposExecucao) {
|
|
|
6966
7239
|
pilhaEscoposExecucao.definirVariavel('tupla', new funcao_padrao_1.FuncaoPadrao(1, bibliotecaGlobal.tupla));
|
|
6967
7240
|
}
|
|
6968
7241
|
|
|
6969
|
-
},{"../bibliotecas/biblioteca-global":
|
|
7242
|
+
},{"../bibliotecas/biblioteca-global":17,"../estruturas/funcao-padrao":101}],136:[function(require,module,exports){
|
|
6970
7243
|
"use strict";
|
|
6971
7244
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6972
7245
|
if (k2 === undefined) k2 = k;
|
|
@@ -6983,93 +7256,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
6983
7256
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
6984
7257
|
};
|
|
6985
7258
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6986
|
-
__exportStar(require("./inferenciador"), exports);
|
|
6987
7259
|
__exportStar(require("./interpretador-base"), exports);
|
|
6988
7260
|
__exportStar(require("./interpretador-com-depuracao"), exports);
|
|
6989
7261
|
|
|
6990
|
-
},{"./
|
|
6991
|
-
"use strict";
|
|
6992
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6993
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
6994
|
-
};
|
|
6995
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6996
|
-
exports.TIPO_NATIVO = void 0;
|
|
6997
|
-
exports.inferirTipoVariavel = inferirTipoVariavel;
|
|
6998
|
-
const primitivos_1 = __importDefault(require("../tipos-de-dados/primitivos"));
|
|
6999
|
-
const delegua_1 = __importDefault(require("../tipos-de-dados/delegua"));
|
|
7000
|
-
const delegua_2 = __importDefault(require("../tipos-de-simbolos/delegua"));
|
|
7001
|
-
var TIPO_NATIVO;
|
|
7002
|
-
(function (TIPO_NATIVO) {
|
|
7003
|
-
TIPO_NATIVO["ESCREVA"] = "<palavra reservada escreva ajuda=\"palavra reservada usada para apresentar informa\u00E7\u00F5es\">";
|
|
7004
|
-
TIPO_NATIVO["LEIA"] = "<palavra reservada leia ajuda=\"palavra reservada usada para entrada de dados\">";
|
|
7005
|
-
TIPO_NATIVO["FUNCAO"] = "<palavra reservada funcao ajuda=\"palavra reservada usada para criar fun\u00E7\u00F5es\">";
|
|
7006
|
-
TIPO_NATIVO["SE"] = "<palavra reservada se ajuda=\"palavra reservada usada para estruturas condicionais\">";
|
|
7007
|
-
TIPO_NATIVO["ENQUANTO"] = "<palavra reservada enquanto ajuda=\"palavra reservada usada para loops enquanto\">";
|
|
7008
|
-
TIPO_NATIVO["PARA"] = "<palavra reservada para ajuda=\"palavra reservada usada para loops para\">";
|
|
7009
|
-
TIPO_NATIVO["RETORNA"] = "<palavra reservada retornar ajuda=\"palavra reservada usada para retornar valores em fun\u00E7\u00F5es\">";
|
|
7010
|
-
TIPO_NATIVO["INTEIRO"] = "<palavra reservada inteiro ajuda=\"palavra reservada usada para definir vari\u00E1veis do tipo inteiro\">";
|
|
7011
|
-
TIPO_NATIVO["TEXTO"] = "<palavra reservada texto ajuda=\"palavra reservada usada para definir vari\u00E1veis do tipo texto\">";
|
|
7012
|
-
TIPO_NATIVO["BOOLEANO"] = "<palavra reservada booleano ajuda=\"palavra reservada usada para definir vari\u00E1veis do tipo booleano\">";
|
|
7013
|
-
TIPO_NATIVO["VAZIO"] = "<palavra reservada vazio ajuda=\"palavra reservada usada para definir fun\u00E7\u00F5es que n\u00E3o retornam valores\">";
|
|
7014
|
-
})(TIPO_NATIVO || (exports.TIPO_NATIVO = TIPO_NATIVO = {}));
|
|
7015
|
-
function inferirTipoVariavel(variavel) {
|
|
7016
|
-
const tipo = typeof variavel;
|
|
7017
|
-
switch (tipo) {
|
|
7018
|
-
case 'string':
|
|
7019
|
-
return 'texto';
|
|
7020
|
-
case 'number':
|
|
7021
|
-
return 'número';
|
|
7022
|
-
case 'bigint':
|
|
7023
|
-
return 'longo';
|
|
7024
|
-
case 'boolean':
|
|
7025
|
-
return 'lógico';
|
|
7026
|
-
case 'undefined':
|
|
7027
|
-
return 'nulo';
|
|
7028
|
-
case 'object':
|
|
7029
|
-
if (Array.isArray(variavel))
|
|
7030
|
-
return 'vetor';
|
|
7031
|
-
if (variavel === null)
|
|
7032
|
-
return 'nulo';
|
|
7033
|
-
if (variavel.constructor.name === 'DeleguaFuncao')
|
|
7034
|
-
return 'função';
|
|
7035
|
-
if (variavel.constructor.name === 'DeleguaModulo')
|
|
7036
|
-
return 'módulo';
|
|
7037
|
-
if (variavel.constructor.name === 'Classe')
|
|
7038
|
-
return 'objeto';
|
|
7039
|
-
if (variavel.constructor.name === 'Simbolo') {
|
|
7040
|
-
if (typeof variavel === 'object') {
|
|
7041
|
-
const simbolo = variavel;
|
|
7042
|
-
if (simbolo.tipo === delegua_2.default.ESCREVA)
|
|
7043
|
-
return TIPO_NATIVO.ESCREVA;
|
|
7044
|
-
if (simbolo.tipo === delegua_2.default.FUNCAO || simbolo.tipo === delegua_2.default.FUNÇÃO)
|
|
7045
|
-
return TIPO_NATIVO.FUNCAO;
|
|
7046
|
-
if (simbolo.tipo === delegua_2.default.LEIA)
|
|
7047
|
-
return TIPO_NATIVO.LEIA;
|
|
7048
|
-
if (simbolo.tipo === delegua_2.default.SE)
|
|
7049
|
-
return TIPO_NATIVO.SE;
|
|
7050
|
-
if (simbolo.tipo === delegua_2.default.ENQUANTO)
|
|
7051
|
-
return TIPO_NATIVO.ENQUANTO;
|
|
7052
|
-
if (simbolo.tipo === delegua_2.default.PARA)
|
|
7053
|
-
return TIPO_NATIVO.PARA;
|
|
7054
|
-
if (simbolo.tipo === delegua_2.default.RETORNA)
|
|
7055
|
-
return TIPO_NATIVO.RETORNA;
|
|
7056
|
-
if (simbolo.tipo === primitivos_1.default.TEXTO)
|
|
7057
|
-
return TIPO_NATIVO.TEXTO;
|
|
7058
|
-
if (simbolo.tipo === primitivos_1.default.BOOLEANO)
|
|
7059
|
-
return TIPO_NATIVO.BOOLEANO;
|
|
7060
|
-
if (simbolo.tipo === delegua_1.default.VAZIO)
|
|
7061
|
-
return TIPO_NATIVO.VAZIO;
|
|
7062
|
-
}
|
|
7063
|
-
}
|
|
7064
|
-
return 'dicionário';
|
|
7065
|
-
case 'function':
|
|
7066
|
-
return 'função';
|
|
7067
|
-
case 'symbol':
|
|
7068
|
-
return 'símbolo';
|
|
7069
|
-
}
|
|
7070
|
-
}
|
|
7071
|
-
|
|
7072
|
-
},{"../tipos-de-dados/delegua":154,"../tipos-de-dados/primitivos":155,"../tipos-de-simbolos/delegua":157}],135:[function(require,module,exports){
|
|
7262
|
+
},{"./interpretador-base":137,"./interpretador-com-depuracao":138}],137:[function(require,module,exports){
|
|
7073
7263
|
(function (process){(function (){
|
|
7074
7264
|
"use strict";
|
|
7075
7265
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -7082,7 +7272,7 @@ const estruturas_1 = require("../estruturas");
|
|
|
7082
7272
|
const construtos_1 = require("../construtos");
|
|
7083
7273
|
const pilha_escopos_execucao_1 = require("./pilha-escopos-execucao");
|
|
7084
7274
|
const quebras_1 = require("../quebras");
|
|
7085
|
-
const inferenciador_1 = require("
|
|
7275
|
+
const inferenciador_1 = require("../inferenciador");
|
|
7086
7276
|
const metodo_primitiva_1 = require("../estruturas/metodo-primitiva");
|
|
7087
7277
|
const lexador_1 = require("../lexador");
|
|
7088
7278
|
const avaliador_sintatico_1 = require("../avaliador-sintatico");
|
|
@@ -8247,6 +8437,9 @@ class InterpretadorBase {
|
|
|
8247
8437
|
}
|
|
8248
8438
|
break;
|
|
8249
8439
|
case delegua_2.default.VETOR:
|
|
8440
|
+
case delegua_2.default.VETOR_NUMERO:
|
|
8441
|
+
case delegua_2.default.VETOR_NÚMERO:
|
|
8442
|
+
case delegua_2.default.VETOR_TEXTO:
|
|
8250
8443
|
const metodoDePrimitivaVetor = primitivas_vetor_1.default[expressao.simbolo.lexema];
|
|
8251
8444
|
if (metodoDePrimitivaVetor) {
|
|
8252
8445
|
return new metodo_primitiva_1.MetodoPrimitiva(objeto, metodoDePrimitivaVetor);
|
|
@@ -8408,7 +8601,9 @@ class InterpretadorBase {
|
|
|
8408
8601
|
hashArquivo: declaracaoAtual.hashArquivo,
|
|
8409
8602
|
});
|
|
8410
8603
|
}
|
|
8411
|
-
|
|
8604
|
+
else {
|
|
8605
|
+
return Promise.reject(erro);
|
|
8606
|
+
}
|
|
8412
8607
|
}
|
|
8413
8608
|
finally {
|
|
8414
8609
|
this.pilhaEscoposExecucao.removerUltimo();
|
|
@@ -8445,12 +8640,8 @@ class InterpretadorBase {
|
|
|
8445
8640
|
this.erros.push(retornoOuErro);
|
|
8446
8641
|
}
|
|
8447
8642
|
}
|
|
8448
|
-
catch (erro) {
|
|
8449
|
-
|
|
8450
|
-
erroInterno: erro,
|
|
8451
|
-
linha: -1,
|
|
8452
|
-
hashArquivo: -1,
|
|
8453
|
-
});
|
|
8643
|
+
catch (erro) { // TODO: Estudar remoção do `catch`.
|
|
8644
|
+
throw new Error(`Não deveria estar caindo aqui. Há erros no interpretador que não estão tratados corretamente. Erro atual: ${JSON.stringify(erro)}.`);
|
|
8454
8645
|
}
|
|
8455
8646
|
finally {
|
|
8456
8647
|
if (this.performance) {
|
|
@@ -8469,7 +8660,7 @@ class InterpretadorBase {
|
|
|
8469
8660
|
exports.InterpretadorBase = InterpretadorBase;
|
|
8470
8661
|
|
|
8471
8662
|
}).call(this)}).call(this,require('_process'))
|
|
8472
|
-
},{"../avaliador-sintatico":8,"../bibliotecas/primitivas-dicionario":
|
|
8663
|
+
},{"../avaliador-sintatico":8,"../bibliotecas/primitivas-dicionario":18,"../bibliotecas/primitivas-numero":19,"../bibliotecas/primitivas-texto":20,"../bibliotecas/primitivas-vetor":21,"../construtos":41,"../espaco-variaveis":96,"../estruturas":102,"../estruturas/metodo-primitiva":103,"../excecoes":108,"../inferenciador":113,"../lexador":148,"../quebras":155,"../tipos-de-dados/delegua":156,"../tipos-de-dados/primitivos":157,"../tipos-de-simbolos/delegua":159,"./comum":135,"./pilha-escopos-execucao":139,"_process":378,"browser-process-hrtime":335}],138:[function(require,module,exports){
|
|
8473
8664
|
"use strict";
|
|
8474
8665
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8475
8666
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -8480,7 +8671,7 @@ const lodash_1 = __importDefault(require("lodash"));
|
|
|
8480
8671
|
const espaco_variaveis_1 = require("../espaco-variaveis");
|
|
8481
8672
|
const declaracoes_1 = require("../declaracoes");
|
|
8482
8673
|
const quebras_1 = require("../quebras");
|
|
8483
|
-
const inferenciador_1 = require("
|
|
8674
|
+
const inferenciador_1 = require("../inferenciador");
|
|
8484
8675
|
const interpretador_base_1 = require("./interpretador-base");
|
|
8485
8676
|
/**
|
|
8486
8677
|
* Implementação do Interpretador com suporte a depuração.
|
|
@@ -9041,7 +9232,7 @@ class InterpretadorComDepuracao extends interpretador_base_1.InterpretadorBase {
|
|
|
9041
9232
|
}
|
|
9042
9233
|
exports.InterpretadorComDepuracao = InterpretadorComDepuracao;
|
|
9043
9234
|
|
|
9044
|
-
},{"../declaracoes":
|
|
9235
|
+
},{"../declaracoes":79,"../espaco-variaveis":96,"../inferenciador":113,"../quebras":155,"./interpretador-base":137,"lodash":371}],139:[function(require,module,exports){
|
|
9045
9236
|
"use strict";
|
|
9046
9237
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9047
9238
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9051,7 +9242,7 @@ exports.PilhaEscoposExecucao = void 0;
|
|
|
9051
9242
|
const estruturas_1 = require("../estruturas");
|
|
9052
9243
|
const excecoes_1 = require("../excecoes");
|
|
9053
9244
|
const lexador_1 = require("../lexador");
|
|
9054
|
-
const inferenciador_1 = require("
|
|
9245
|
+
const inferenciador_1 = require("../inferenciador");
|
|
9055
9246
|
const delegua_1 = __importDefault(require("../tipos-de-dados/delegua"));
|
|
9056
9247
|
class PilhaEscoposExecucao {
|
|
9057
9248
|
constructor() {
|
|
@@ -9286,7 +9477,7 @@ class PilhaEscoposExecucao {
|
|
|
9286
9477
|
}
|
|
9287
9478
|
exports.PilhaEscoposExecucao = PilhaEscoposExecucao;
|
|
9288
9479
|
|
|
9289
|
-
},{"../estruturas":
|
|
9480
|
+
},{"../estruturas":102,"../excecoes":108,"../inferenciador":113,"../lexador":148,"../tipos-de-dados/delegua":156}],140:[function(require,module,exports){
|
|
9290
9481
|
"use strict";
|
|
9291
9482
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9292
9483
|
if (k2 === undefined) k2 = k;
|
|
@@ -9308,7 +9499,7 @@ __exportStar(require("./lexador-pitugues"), exports);
|
|
|
9308
9499
|
__exportStar(require("./lexador-guarani"), exports);
|
|
9309
9500
|
__exportStar(require("./lexador-portugol-ipt"), exports);
|
|
9310
9501
|
|
|
9311
|
-
},{"./lexador-egua-classico":
|
|
9502
|
+
},{"./lexador-egua-classico":141,"./lexador-guarani":142,"./lexador-pitugues":143,"./lexador-portugol-ipt":144}],141:[function(require,module,exports){
|
|
9312
9503
|
"use strict";
|
|
9313
9504
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9314
9505
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9596,7 +9787,7 @@ class LexadorEguaClassico {
|
|
|
9596
9787
|
}
|
|
9597
9788
|
exports.LexadorEguaClassico = LexadorEguaClassico;
|
|
9598
9789
|
|
|
9599
|
-
},{"../../tipos-de-simbolos/egua-classico":
|
|
9790
|
+
},{"../../tipos-de-simbolos/egua-classico":160,"../simbolo":154,"./palavras-reservadas/egua-classico":145}],142:[function(require,module,exports){
|
|
9600
9791
|
"use strict";
|
|
9601
9792
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9602
9793
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9711,7 +9902,7 @@ class LexadorGuarani extends lexador_base_1.LexadorBase {
|
|
|
9711
9902
|
}
|
|
9712
9903
|
exports.LexadorGuarani = LexadorGuarani;
|
|
9713
9904
|
|
|
9714
|
-
},{"../../tipos-de-simbolos/guarani":
|
|
9905
|
+
},{"../../tipos-de-simbolos/guarani":161,"../lexador-base":150,"./palavras-reservadas/guarani":146}],143:[function(require,module,exports){
|
|
9715
9906
|
"use strict";
|
|
9716
9907
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9717
9908
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10111,7 +10302,7 @@ class LexadorPitugues {
|
|
|
10111
10302
|
}
|
|
10112
10303
|
exports.LexadorPitugues = LexadorPitugues;
|
|
10113
10304
|
|
|
10114
|
-
},{"../../tipos-de-simbolos/pitugues":
|
|
10305
|
+
},{"../../tipos-de-simbolos/pitugues":163,"../palavras-reservadas":153,"../simbolo":154,"browser-process-hrtime":335}],144:[function(require,module,exports){
|
|
10115
10306
|
"use strict";
|
|
10116
10307
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10117
10308
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10350,7 +10541,7 @@ class LexadorPortugolIpt {
|
|
|
10350
10541
|
}
|
|
10351
10542
|
exports.LexadorPortugolIpt = LexadorPortugolIpt;
|
|
10352
10543
|
|
|
10353
|
-
},{"../../tipos-de-simbolos/portugol-ipt":
|
|
10544
|
+
},{"../../tipos-de-simbolos/portugol-ipt":164,"../simbolo":154,"./palavras-reservadas/portugol-ipt":147}],145:[function(require,module,exports){
|
|
10354
10545
|
"use strict";
|
|
10355
10546
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10356
10547
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10391,7 +10582,7 @@ exports.palavrasReservadas = {
|
|
|
10391
10582
|
verdadeiro: egua_classico_1.default.VERDADEIRO,
|
|
10392
10583
|
};
|
|
10393
10584
|
|
|
10394
|
-
},{"../../../tipos-de-simbolos/egua-classico":
|
|
10585
|
+
},{"../../../tipos-de-simbolos/egua-classico":160}],146:[function(require,module,exports){
|
|
10395
10586
|
"use strict";
|
|
10396
10587
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10397
10588
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10403,7 +10594,7 @@ exports.palavrasReservadas = {
|
|
|
10403
10594
|
hai: guarani_1.default.HAI,
|
|
10404
10595
|
};
|
|
10405
10596
|
|
|
10406
|
-
},{"../../../tipos-de-simbolos/guarani":
|
|
10597
|
+
},{"../../../tipos-de-simbolos/guarani":161}],147:[function(require,module,exports){
|
|
10407
10598
|
"use strict";
|
|
10408
10599
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10409
10600
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10425,7 +10616,7 @@ exports.palavrasReservadas = {
|
|
|
10425
10616
|
senão: portugol_ipt_1.default.SENAO,
|
|
10426
10617
|
};
|
|
10427
10618
|
|
|
10428
|
-
},{"../../../tipos-de-simbolos/portugol-ipt":
|
|
10619
|
+
},{"../../../tipos-de-simbolos/portugol-ipt":164}],148:[function(require,module,exports){
|
|
10429
10620
|
"use strict";
|
|
10430
10621
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10431
10622
|
if (k2 === undefined) k2 = k;
|
|
@@ -10447,7 +10638,7 @@ __exportStar(require("./lexador-base-linha-unica"), exports);
|
|
|
10447
10638
|
__exportStar(require("./micro-lexador"), exports);
|
|
10448
10639
|
__exportStar(require("./simbolo"), exports);
|
|
10449
10640
|
|
|
10450
|
-
},{"./lexador":
|
|
10641
|
+
},{"./lexador":151,"./lexador-base-linha-unica":149,"./micro-lexador":152,"./simbolo":154}],149:[function(require,module,exports){
|
|
10451
10642
|
"use strict";
|
|
10452
10643
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10453
10644
|
exports.LexadorBaseLinhaUnica = void 0;
|
|
@@ -10531,7 +10722,7 @@ class LexadorBaseLinhaUnica {
|
|
|
10531
10722
|
}
|
|
10532
10723
|
exports.LexadorBaseLinhaUnica = LexadorBaseLinhaUnica;
|
|
10533
10724
|
|
|
10534
|
-
},{"./simbolo":
|
|
10725
|
+
},{"./simbolo":154}],150:[function(require,module,exports){
|
|
10535
10726
|
"use strict";
|
|
10536
10727
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10537
10728
|
exports.LexadorBase = void 0;
|
|
@@ -10645,7 +10836,7 @@ class LexadorBase {
|
|
|
10645
10836
|
}
|
|
10646
10837
|
exports.LexadorBase = LexadorBase;
|
|
10647
10838
|
|
|
10648
|
-
},{"./simbolo":
|
|
10839
|
+
},{"./simbolo":154}],151:[function(require,module,exports){
|
|
10649
10840
|
"use strict";
|
|
10650
10841
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10651
10842
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11087,7 +11278,7 @@ class Lexador {
|
|
|
11087
11278
|
}
|
|
11088
11279
|
exports.Lexador = Lexador;
|
|
11089
11280
|
|
|
11090
|
-
},{"../tipos-de-simbolos/delegua":
|
|
11281
|
+
},{"../tipos-de-simbolos/delegua":159,"./palavras-reservadas":153,"./simbolo":154,"browser-process-hrtime":335}],152:[function(require,module,exports){
|
|
11091
11282
|
"use strict";
|
|
11092
11283
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11093
11284
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11296,7 +11487,7 @@ class MicroLexador {
|
|
|
11296
11487
|
}
|
|
11297
11488
|
exports.MicroLexador = MicroLexador;
|
|
11298
11489
|
|
|
11299
|
-
},{"../tipos-de-simbolos/microgramaticas/delegua":
|
|
11490
|
+
},{"../tipos-de-simbolos/microgramaticas/delegua":162,"./palavras-reservadas":153,"./simbolo":154}],153:[function(require,module,exports){
|
|
11300
11491
|
"use strict";
|
|
11301
11492
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11302
11493
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11359,7 +11550,7 @@ exports.palavrasReservadasMicroGramatica = {
|
|
|
11359
11550
|
verdadeiro: delegua_1.default.VERDADEIRO,
|
|
11360
11551
|
};
|
|
11361
11552
|
|
|
11362
|
-
},{"../tipos-de-simbolos/delegua":
|
|
11553
|
+
},{"../tipos-de-simbolos/delegua":159}],154:[function(require,module,exports){
|
|
11363
11554
|
"use strict";
|
|
11364
11555
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11365
11556
|
exports.Simbolo = void 0;
|
|
@@ -11377,7 +11568,7 @@ class Simbolo {
|
|
|
11377
11568
|
}
|
|
11378
11569
|
exports.Simbolo = Simbolo;
|
|
11379
11570
|
|
|
11380
|
-
},{}],
|
|
11571
|
+
},{}],155:[function(require,module,exports){
|
|
11381
11572
|
"use strict";
|
|
11382
11573
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11383
11574
|
exports.ContinuarQuebra = exports.SustarQuebra = exports.RetornoQuebra = exports.Quebra = void 0;
|
|
@@ -11398,7 +11589,7 @@ class ContinuarQuebra extends Quebra {
|
|
|
11398
11589
|
}
|
|
11399
11590
|
exports.ContinuarQuebra = ContinuarQuebra;
|
|
11400
11591
|
|
|
11401
|
-
},{}],
|
|
11592
|
+
},{}],156:[function(require,module,exports){
|
|
11402
11593
|
"use strict";
|
|
11403
11594
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11404
11595
|
exports.default = {
|
|
@@ -11417,9 +11608,12 @@ exports.default = {
|
|
|
11417
11608
|
TUPLA: 'tupla',
|
|
11418
11609
|
VAZIO: 'vazio',
|
|
11419
11610
|
VETOR: 'vetor',
|
|
11611
|
+
VETOR_NUMERO: 'numero[]',
|
|
11612
|
+
VETOR_NÚMERO: 'número[]',
|
|
11613
|
+
VETOR_TEXTO: 'texto[]',
|
|
11420
11614
|
};
|
|
11421
11615
|
|
|
11422
|
-
},{}],
|
|
11616
|
+
},{}],157:[function(require,module,exports){
|
|
11423
11617
|
"use strict";
|
|
11424
11618
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11425
11619
|
exports.default = {
|
|
@@ -11438,7 +11632,7 @@ exports.default = {
|
|
|
11438
11632
|
TEXTO: 'string',
|
|
11439
11633
|
};
|
|
11440
11634
|
|
|
11441
|
-
},{}],
|
|
11635
|
+
},{}],158:[function(require,module,exports){
|
|
11442
11636
|
"use strict";
|
|
11443
11637
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11444
11638
|
exports.default = {
|
|
@@ -11464,7 +11658,7 @@ exports.default = {
|
|
|
11464
11658
|
VIRGULA: 'VIRGULA',
|
|
11465
11659
|
};
|
|
11466
11660
|
|
|
11467
|
-
},{}],
|
|
11661
|
+
},{}],159:[function(require,module,exports){
|
|
11468
11662
|
"use strict";
|
|
11469
11663
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11470
11664
|
exports.default = {
|
|
@@ -11558,7 +11752,7 @@ exports.default = {
|
|
|
11558
11752
|
VIRGULA: 'VIRGULA',
|
|
11559
11753
|
};
|
|
11560
11754
|
|
|
11561
|
-
},{}],
|
|
11755
|
+
},{}],160:[function(require,module,exports){
|
|
11562
11756
|
"use strict";
|
|
11563
11757
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11564
11758
|
exports.default = {
|
|
@@ -11636,7 +11830,7 @@ exports.default = {
|
|
|
11636
11830
|
VIRGULA: 'VIRGULA',
|
|
11637
11831
|
};
|
|
11638
11832
|
|
|
11639
|
-
},{}],
|
|
11833
|
+
},{}],161:[function(require,module,exports){
|
|
11640
11834
|
"use strict";
|
|
11641
11835
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11642
11836
|
exports.default = {
|
|
@@ -11653,7 +11847,7 @@ exports.default = {
|
|
|
11653
11847
|
VIRGULA: 'VIRGULA',
|
|
11654
11848
|
};
|
|
11655
11849
|
|
|
11656
|
-
},{}],
|
|
11850
|
+
},{}],162:[function(require,module,exports){
|
|
11657
11851
|
"use strict";
|
|
11658
11852
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11659
11853
|
exports.default = {
|
|
@@ -11702,7 +11896,7 @@ exports.default = {
|
|
|
11702
11896
|
VIRGULA: 'VIRGULA',
|
|
11703
11897
|
};
|
|
11704
11898
|
|
|
11705
|
-
},{}],
|
|
11899
|
+
},{}],163:[function(require,module,exports){
|
|
11706
11900
|
"use strict";
|
|
11707
11901
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11708
11902
|
exports.default = {
|
|
@@ -11780,7 +11974,7 @@ exports.default = {
|
|
|
11780
11974
|
VIRGULA: 'VIRGULA',
|
|
11781
11975
|
};
|
|
11782
11976
|
|
|
11783
|
-
},{}],
|
|
11977
|
+
},{}],164:[function(require,module,exports){
|
|
11784
11978
|
"use strict";
|
|
11785
11979
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11786
11980
|
exports.default = {
|
|
@@ -11819,7 +12013,7 @@ exports.default = {
|
|
|
11819
12013
|
VIRGULA: 'VIRGULA',
|
|
11820
12014
|
};
|
|
11821
12015
|
|
|
11822
|
-
},{}],
|
|
12016
|
+
},{}],165:[function(require,module,exports){
|
|
11823
12017
|
"use strict";
|
|
11824
12018
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
11825
12019
|
if (k2 === undefined) k2 = k;
|
|
@@ -11843,7 +12037,7 @@ __exportStar(require("./tradutor-python"), exports);
|
|
|
11843
12037
|
__exportStar(require("./tradutor-reverso-javascript"), exports);
|
|
11844
12038
|
__exportStar(require("./tradutor-reverso-python"), exports);
|
|
11845
12039
|
|
|
11846
|
-
},{"./tradutor-assemblyscript":
|
|
12040
|
+
},{"./tradutor-assemblyscript":168,"./tradutor-javascript":169,"./tradutor-portugol-ipt":170,"./tradutor-python":171,"./tradutor-reverso-javascript":172,"./tradutor-reverso-python":173}],166:[function(require,module,exports){
|
|
11847
12041
|
"use strict";
|
|
11848
12042
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
11849
12043
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -13072,7 +13266,7 @@ __decorate([
|
|
|
13072
13266
|
Decorators_1.Override
|
|
13073
13267
|
], Python3Lexer.prototype, "nextToken", null);
|
|
13074
13268
|
|
|
13075
|
-
},{"./python3-parser":
|
|
13269
|
+
},{"./python3-parser":167,"antlr4ts/CommonToken":183,"antlr4ts/Decorators":187,"antlr4ts/Lexer":195,"antlr4ts/Token":212,"antlr4ts/VocabularyImpl":218,"antlr4ts/atn/ATNDeserializer":224,"antlr4ts/atn/LexerATNSimulator":245,"antlr4ts/misc/Utils":306}],167:[function(require,module,exports){
|
|
13076
13270
|
"use strict";
|
|
13077
13271
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
13078
13272
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -24300,7 +24494,7 @@ class Yield_argContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
24300
24494
|
}
|
|
24301
24495
|
exports.Yield_argContext = Yield_argContext;
|
|
24302
24496
|
|
|
24303
|
-
},{"antlr4ts/FailedPredicateException":
|
|
24497
|
+
},{"antlr4ts/FailedPredicateException":191,"antlr4ts/NoViableAltException":199,"antlr4ts/Parser":200,"antlr4ts/ParserRuleContext":203,"antlr4ts/RecognitionException":206,"antlr4ts/Token":212,"antlr4ts/VocabularyImpl":218,"antlr4ts/atn/ATN":220,"antlr4ts/atn/ATNDeserializer":224,"antlr4ts/atn/ParserATNSimulator":261,"antlr4ts/misc/Utils":306}],168:[function(require,module,exports){
|
|
24304
24498
|
"use strict";
|
|
24305
24499
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
24306
24500
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -24777,7 +24971,7 @@ class TradutorAssemblyScript {
|
|
|
24777
24971
|
traduzirFuncaoConstruto(funcaoConstruto) {
|
|
24778
24972
|
let resultado = 'function(';
|
|
24779
24973
|
for (const parametro of funcaoConstruto.parametros) {
|
|
24780
|
-
const tipoParametro = this.resolveTipoDeclaracaoVarEContante(parametro.tipoDado
|
|
24974
|
+
const tipoParametro = this.resolveTipoDeclaracaoVarEContante(parametro.tipoDado);
|
|
24781
24975
|
resultado += `${parametro.nome.lexema}${tipoParametro}, `;
|
|
24782
24976
|
}
|
|
24783
24977
|
if (funcaoConstruto.parametros.length > 0) {
|
|
@@ -24893,7 +25087,7 @@ class TradutorAssemblyScript {
|
|
|
24893
25087
|
}
|
|
24894
25088
|
exports.TradutorAssemblyScript = TradutorAssemblyScript;
|
|
24895
25089
|
|
|
24896
|
-
},{"../construtos":
|
|
25090
|
+
},{"../construtos":41,"../declaracoes":79,"../tipos-de-simbolos/delegua":159}],169:[function(require,module,exports){
|
|
24897
25091
|
"use strict";
|
|
24898
25092
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
24899
25093
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -25475,7 +25669,7 @@ class TradutorJavaScript {
|
|
|
25475
25669
|
}
|
|
25476
25670
|
exports.TradutorJavaScript = TradutorJavaScript;
|
|
25477
25671
|
|
|
25478
|
-
},{"../construtos":
|
|
25672
|
+
},{"../construtos":41,"../declaracoes":79,"../tipos-de-simbolos/delegua":159}],170:[function(require,module,exports){
|
|
25479
25673
|
"use strict";
|
|
25480
25674
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25481
25675
|
exports.TradutorPortugolIpt = void 0;
|
|
@@ -25537,7 +25731,7 @@ class TradutorPortugolIpt {
|
|
|
25537
25731
|
}
|
|
25538
25732
|
exports.TradutorPortugolIpt = TradutorPortugolIpt;
|
|
25539
25733
|
|
|
25540
|
-
},{"../avaliador-sintatico/dialetos":6,"../lexador/dialetos":
|
|
25734
|
+
},{"../avaliador-sintatico/dialetos":6,"../lexador/dialetos":140}],171:[function(require,module,exports){
|
|
25541
25735
|
"use strict";
|
|
25542
25736
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25543
25737
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -25934,11 +26128,14 @@ class TradutorPython {
|
|
|
25934
26128
|
if (declaracaoPara.inicializador) {
|
|
25935
26129
|
if (Array.isArray(declaracaoPara.inicializador)) {
|
|
25936
26130
|
for (const declaracaoInicializador of declaracaoPara.inicializador) {
|
|
25937
|
-
resultado +=
|
|
26131
|
+
resultado +=
|
|
26132
|
+
this.dicionarioDeclaracoes[declaracaoInicializador.constructor.name](declaracaoInicializador) +
|
|
26133
|
+
`\n`;
|
|
25938
26134
|
}
|
|
25939
26135
|
}
|
|
25940
26136
|
else {
|
|
25941
|
-
resultado +=
|
|
26137
|
+
resultado +=
|
|
26138
|
+
this.dicionarioDeclaracoes[declaracaoPara.inicializador.constructor.name](declaracaoPara.inicializador) + `\n`;
|
|
25942
26139
|
}
|
|
25943
26140
|
}
|
|
25944
26141
|
const condicao = this.dicionarioConstrutos[declaracaoPara.condicao.constructor.name](declaracaoPara.condicao);
|
|
@@ -26054,7 +26251,7 @@ class TradutorPython {
|
|
|
26054
26251
|
}
|
|
26055
26252
|
exports.TradutorPython = TradutorPython;
|
|
26056
26253
|
|
|
26057
|
-
},{"../construtos":
|
|
26254
|
+
},{"../construtos":41,"../declaracoes":79,"../tipos-de-simbolos/delegua":159}],172:[function(require,module,exports){
|
|
26058
26255
|
"use strict";
|
|
26059
26256
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26060
26257
|
exports.TradutorReversoJavaScript = void 0;
|
|
@@ -26448,7 +26645,7 @@ class TradutorReversoJavaScript {
|
|
|
26448
26645
|
}
|
|
26449
26646
|
exports.TradutorReversoJavaScript = TradutorReversoJavaScript;
|
|
26450
26647
|
|
|
26451
|
-
},{}],
|
|
26648
|
+
},{}],173:[function(require,module,exports){
|
|
26452
26649
|
"use strict";
|
|
26453
26650
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26454
26651
|
exports.TradutorReversoPython = void 0;
|
|
@@ -26521,7 +26718,7 @@ class TradutorReversoPython {
|
|
|
26521
26718
|
}
|
|
26522
26719
|
exports.TradutorReversoPython = TradutorReversoPython;
|
|
26523
26720
|
|
|
26524
|
-
},{"./python/python3-lexer":
|
|
26721
|
+
},{"./python/python3-lexer":166,"./python/python3-parser":167,"antlr4ts":289,"antlr4ts/tree/ParseTreeWalker":308}],174:[function(require,module,exports){
|
|
26525
26722
|
"use strict";
|
|
26526
26723
|
/*!
|
|
26527
26724
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -26529,7 +26726,7 @@ exports.TradutorReversoPython = TradutorReversoPython;
|
|
|
26529
26726
|
*/
|
|
26530
26727
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26531
26728
|
|
|
26532
|
-
},{}],
|
|
26729
|
+
},{}],175:[function(require,module,exports){
|
|
26533
26730
|
"use strict";
|
|
26534
26731
|
/*!
|
|
26535
26732
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -26537,7 +26734,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26537
26734
|
*/
|
|
26538
26735
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26539
26736
|
|
|
26540
|
-
},{}],
|
|
26737
|
+
},{}],176:[function(require,module,exports){
|
|
26541
26738
|
"use strict";
|
|
26542
26739
|
/*!
|
|
26543
26740
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -26699,7 +26896,7 @@ __decorate([
|
|
|
26699
26896
|
], ANTLRInputStream.prototype, "toString", null);
|
|
26700
26897
|
exports.ANTLRInputStream = ANTLRInputStream;
|
|
26701
26898
|
|
|
26702
|
-
},{"./Decorators":
|
|
26899
|
+
},{"./Decorators":187,"./IntStream":193,"assert":330}],177:[function(require,module,exports){
|
|
26703
26900
|
"use strict";
|
|
26704
26901
|
/*!
|
|
26705
26902
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -26782,7 +26979,7 @@ __decorate([
|
|
|
26782
26979
|
], BailErrorStrategy.prototype, "sync", null);
|
|
26783
26980
|
exports.BailErrorStrategy = BailErrorStrategy;
|
|
26784
26981
|
|
|
26785
|
-
},{"./Decorators":
|
|
26982
|
+
},{"./Decorators":187,"./DefaultErrorStrategy":188,"./InputMismatchException":192,"./misc/ParseCancellationException":304}],178:[function(require,module,exports){
|
|
26786
26983
|
"use strict";
|
|
26787
26984
|
/*!
|
|
26788
26985
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27272,7 +27469,7 @@ BufferedTokenStream = __decorate([
|
|
|
27272
27469
|
], BufferedTokenStream);
|
|
27273
27470
|
exports.BufferedTokenStream = BufferedTokenStream;
|
|
27274
27471
|
|
|
27275
|
-
},{"./CommonToken":
|
|
27472
|
+
},{"./CommonToken":183,"./Decorators":187,"./Lexer":195,"./Token":212,"./misc/Interval":299,"assert":330}],179:[function(require,module,exports){
|
|
27276
27473
|
"use strict";
|
|
27277
27474
|
/*!
|
|
27278
27475
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27280,7 +27477,7 @@ exports.BufferedTokenStream = BufferedTokenStream;
|
|
|
27280
27477
|
*/
|
|
27281
27478
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27282
27479
|
|
|
27283
|
-
},{}],
|
|
27480
|
+
},{}],180:[function(require,module,exports){
|
|
27284
27481
|
"use strict";
|
|
27285
27482
|
/*!
|
|
27286
27483
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27414,7 +27611,7 @@ var CharStreams;
|
|
|
27414
27611
|
// }
|
|
27415
27612
|
})(CharStreams = exports.CharStreams || (exports.CharStreams = {}));
|
|
27416
27613
|
|
|
27417
|
-
},{"./CodePointBuffer":
|
|
27614
|
+
},{"./CodePointBuffer":181,"./CodePointCharStream":182,"./IntStream":193}],181:[function(require,module,exports){
|
|
27418
27615
|
"use strict";
|
|
27419
27616
|
/*!
|
|
27420
27617
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27649,7 +27846,7 @@ exports.CodePointBuffer = CodePointBuffer;
|
|
|
27649
27846
|
CodePointBuffer.Builder = Builder;
|
|
27650
27847
|
})(CodePointBuffer = exports.CodePointBuffer || (exports.CodePointBuffer = {}));
|
|
27651
27848
|
|
|
27652
|
-
},{"./misc/Character":
|
|
27849
|
+
},{"./misc/Character":295,"assert":330}],182:[function(require,module,exports){
|
|
27653
27850
|
"use strict";
|
|
27654
27851
|
/*!
|
|
27655
27852
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27799,7 +27996,7 @@ __decorate([
|
|
|
27799
27996
|
], CodePointCharStream.prototype, "getText", null);
|
|
27800
27997
|
exports.CodePointCharStream = CodePointCharStream;
|
|
27801
27998
|
|
|
27802
|
-
},{"./Decorators":
|
|
27999
|
+
},{"./Decorators":187,"./IntStream":193,"./misc/Interval":299,"assert":330}],183:[function(require,module,exports){
|
|
27803
28000
|
"use strict";
|
|
27804
28001
|
/*!
|
|
27805
28002
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28029,7 +28226,7 @@ CommonToken = __decorate([
|
|
|
28029
28226
|
], CommonToken);
|
|
28030
28227
|
exports.CommonToken = CommonToken;
|
|
28031
28228
|
|
|
28032
|
-
},{"./Decorators":
|
|
28229
|
+
},{"./Decorators":187,"./Token":212,"./misc/Interval":299}],184:[function(require,module,exports){
|
|
28033
28230
|
"use strict";
|
|
28034
28231
|
/*!
|
|
28035
28232
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28093,7 +28290,7 @@ exports.CommonTokenFactory = CommonTokenFactory;
|
|
|
28093
28290
|
CommonTokenFactory.DEFAULT = new CommonTokenFactory();
|
|
28094
28291
|
})(CommonTokenFactory = exports.CommonTokenFactory || (exports.CommonTokenFactory = {}));
|
|
28095
28292
|
|
|
28096
|
-
},{"./CommonToken":
|
|
28293
|
+
},{"./CommonToken":183,"./Decorators":187,"./misc/Interval":299}],185:[function(require,module,exports){
|
|
28097
28294
|
"use strict";
|
|
28098
28295
|
/*!
|
|
28099
28296
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28220,7 +28417,7 @@ CommonTokenStream = __decorate([
|
|
|
28220
28417
|
], CommonTokenStream);
|
|
28221
28418
|
exports.CommonTokenStream = CommonTokenStream;
|
|
28222
28419
|
|
|
28223
|
-
},{"./BufferedTokenStream":
|
|
28420
|
+
},{"./BufferedTokenStream":178,"./Decorators":187,"./Token":212}],186:[function(require,module,exports){
|
|
28224
28421
|
"use strict";
|
|
28225
28422
|
/*!
|
|
28226
28423
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28254,7 +28451,7 @@ exports.ConsoleErrorListener = ConsoleErrorListener;
|
|
|
28254
28451
|
*/
|
|
28255
28452
|
ConsoleErrorListener.INSTANCE = new ConsoleErrorListener();
|
|
28256
28453
|
|
|
28257
|
-
},{}],
|
|
28454
|
+
},{}],187:[function(require,module,exports){
|
|
28258
28455
|
"use strict";
|
|
28259
28456
|
/*!
|
|
28260
28457
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28281,7 +28478,7 @@ function SuppressWarnings(options) {
|
|
|
28281
28478
|
}
|
|
28282
28479
|
exports.SuppressWarnings = SuppressWarnings;
|
|
28283
28480
|
|
|
28284
|
-
},{}],
|
|
28481
|
+
},{}],188:[function(require,module,exports){
|
|
28285
28482
|
"use strict";
|
|
28286
28483
|
/*!
|
|
28287
28484
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29095,7 +29292,7 @@ __decorate([
|
|
|
29095
29292
|
], DefaultErrorStrategy.prototype, "consumeUntil", null);
|
|
29096
29293
|
exports.DefaultErrorStrategy = DefaultErrorStrategy;
|
|
29097
29294
|
|
|
29098
|
-
},{"./Decorators":
|
|
29295
|
+
},{"./Decorators":187,"./FailedPredicateException":191,"./InputMismatchException":192,"./NoViableAltException":199,"./Token":212,"./atn/ATNState":226,"./atn/ATNStateType":227,"./atn/PredictionContext":267,"./misc/IntervalSet":300}],189:[function(require,module,exports){
|
|
29099
29296
|
"use strict";
|
|
29100
29297
|
/*!
|
|
29101
29298
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29171,7 +29368,7 @@ var Dependents;
|
|
|
29171
29368
|
Dependents[Dependents["FOLLOWING"] = 9] = "FOLLOWING";
|
|
29172
29369
|
})(Dependents = exports.Dependents || (exports.Dependents = {}));
|
|
29173
29370
|
|
|
29174
|
-
},{}],
|
|
29371
|
+
},{}],190:[function(require,module,exports){
|
|
29175
29372
|
"use strict";
|
|
29176
29373
|
/*!
|
|
29177
29374
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29319,7 +29516,7 @@ __decorate([
|
|
|
29319
29516
|
], DiagnosticErrorListener.prototype, "getConflictingAlts", null);
|
|
29320
29517
|
exports.DiagnosticErrorListener = DiagnosticErrorListener;
|
|
29321
29518
|
|
|
29322
|
-
},{"./Decorators":
|
|
29519
|
+
},{"./Decorators":187,"./misc/BitSet":294,"./misc/Interval":299}],191:[function(require,module,exports){
|
|
29323
29520
|
"use strict";
|
|
29324
29521
|
/*!
|
|
29325
29522
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29384,7 +29581,7 @@ FailedPredicateException = __decorate([
|
|
|
29384
29581
|
], FailedPredicateException);
|
|
29385
29582
|
exports.FailedPredicateException = FailedPredicateException;
|
|
29386
29583
|
|
|
29387
|
-
},{"./Decorators":
|
|
29584
|
+
},{"./Decorators":187,"./RecognitionException":206,"./atn/PredicateTransition":266}],192:[function(require,module,exports){
|
|
29388
29585
|
"use strict";
|
|
29389
29586
|
/*!
|
|
29390
29587
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29424,7 +29621,7 @@ InputMismatchException = __decorate([
|
|
|
29424
29621
|
], InputMismatchException);
|
|
29425
29622
|
exports.InputMismatchException = InputMismatchException;
|
|
29426
29623
|
|
|
29427
|
-
},{"./Decorators":
|
|
29624
|
+
},{"./Decorators":187,"./RecognitionException":206}],193:[function(require,module,exports){
|
|
29428
29625
|
"use strict";
|
|
29429
29626
|
/*!
|
|
29430
29627
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29447,7 +29644,7 @@ var IntStream;
|
|
|
29447
29644
|
IntStream.UNKNOWN_SOURCE_NAME = "<unknown>";
|
|
29448
29645
|
})(IntStream = exports.IntStream || (exports.IntStream = {}));
|
|
29449
29646
|
|
|
29450
|
-
},{}],
|
|
29647
|
+
},{}],194:[function(require,module,exports){
|
|
29451
29648
|
"use strict";
|
|
29452
29649
|
/*!
|
|
29453
29650
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29494,7 +29691,7 @@ __decorate([
|
|
|
29494
29691
|
], InterpreterRuleContext.prototype, "ruleIndex", null);
|
|
29495
29692
|
exports.InterpreterRuleContext = InterpreterRuleContext;
|
|
29496
29693
|
|
|
29497
|
-
},{"./Decorators":
|
|
29694
|
+
},{"./Decorators":187,"./ParserRuleContext":203}],195:[function(require,module,exports){
|
|
29498
29695
|
"use strict";
|
|
29499
29696
|
/*!
|
|
29500
29697
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29830,7 +30027,7 @@ __decorate([
|
|
|
29830
30027
|
], Lexer.prototype, "charPositionInLine", null);
|
|
29831
30028
|
exports.Lexer = Lexer;
|
|
29832
30029
|
|
|
29833
|
-
},{"./CommonTokenFactory":
|
|
30030
|
+
},{"./CommonTokenFactory":184,"./Decorators":187,"./IntStream":193,"./LexerNoViableAltException":197,"./Recognizer":207,"./Token":212,"./atn/LexerATNSimulator":245,"./misc/IntegerStack":298,"./misc/Interval":299}],196:[function(require,module,exports){
|
|
29834
30031
|
"use strict";
|
|
29835
30032
|
/*!
|
|
29836
30033
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29910,7 +30107,7 @@ LexerInterpreter = __decorate([
|
|
|
29910
30107
|
], LexerInterpreter);
|
|
29911
30108
|
exports.LexerInterpreter = LexerInterpreter;
|
|
29912
30109
|
|
|
29913
|
-
},{"./Decorators":
|
|
30110
|
+
},{"./Decorators":187,"./Lexer":195,"./atn/LexerATNSimulator":245}],197:[function(require,module,exports){
|
|
29914
30111
|
"use strict";
|
|
29915
30112
|
/*!
|
|
29916
30113
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29967,7 +30164,7 @@ LexerNoViableAltException = __decorate([
|
|
|
29967
30164
|
], LexerNoViableAltException);
|
|
29968
30165
|
exports.LexerNoViableAltException = LexerNoViableAltException;
|
|
29969
30166
|
|
|
29970
|
-
},{"./Decorators":
|
|
30167
|
+
},{"./Decorators":187,"./RecognitionException":206,"./misc/Interval":299,"./misc/Utils":306}],198:[function(require,module,exports){
|
|
29971
30168
|
"use strict";
|
|
29972
30169
|
/*!
|
|
29973
30170
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30177,7 +30374,7 @@ ListTokenSource = __decorate([
|
|
|
30177
30374
|
], ListTokenSource);
|
|
30178
30375
|
exports.ListTokenSource = ListTokenSource;
|
|
30179
30376
|
|
|
30180
|
-
},{"./CommonTokenFactory":
|
|
30377
|
+
},{"./CommonTokenFactory":184,"./Decorators":187,"./Token":212}],199:[function(require,module,exports){
|
|
30181
30378
|
"use strict";
|
|
30182
30379
|
/*!
|
|
30183
30380
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30232,7 +30429,7 @@ __decorate([
|
|
|
30232
30429
|
], NoViableAltException.prototype, "_startToken", void 0);
|
|
30233
30430
|
exports.NoViableAltException = NoViableAltException;
|
|
30234
30431
|
|
|
30235
|
-
},{"./Decorators":
|
|
30432
|
+
},{"./Decorators":187,"./Parser":200,"./RecognitionException":206}],200:[function(require,module,exports){
|
|
30236
30433
|
(function (process){(function (){
|
|
30237
30434
|
"use strict";
|
|
30238
30435
|
/*!
|
|
@@ -31078,7 +31275,7 @@ __decorate([
|
|
|
31078
31275
|
exports.Parser = Parser;
|
|
31079
31276
|
|
|
31080
31277
|
}).call(this)}).call(this,require('_process'))
|
|
31081
|
-
},{"./Decorators":
|
|
31278
|
+
},{"./Decorators":187,"./DefaultErrorStrategy":188,"./Lexer":195,"./ProxyParserErrorListener":205,"./Recognizer":207,"./Token":212,"./atn/ATNDeserializationOptions":223,"./atn/ATNDeserializer":224,"./atn/ParseInfo":260,"./atn/ParserATNSimulator":261,"./atn/ProfilingATNSimulator":270,"./misc/IntegerStack":298,"./misc/Utils":306,"./tree/ErrorNode":307,"./tree/TerminalNode":310,"./tree/pattern/ParseTreePatternMatcher":315,"_process":378}],201:[function(require,module,exports){
|
|
31082
31279
|
"use strict";
|
|
31083
31280
|
/*!
|
|
31084
31281
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31086,7 +31283,7 @@ exports.Parser = Parser;
|
|
|
31086
31283
|
*/
|
|
31087
31284
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31088
31285
|
|
|
31089
|
-
},{}],
|
|
31286
|
+
},{}],202:[function(require,module,exports){
|
|
31090
31287
|
"use strict";
|
|
31091
31288
|
/*!
|
|
31092
31289
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31494,7 +31691,7 @@ ParserInterpreter = __decorate([
|
|
|
31494
31691
|
], ParserInterpreter);
|
|
31495
31692
|
exports.ParserInterpreter = ParserInterpreter;
|
|
31496
31693
|
|
|
31497
|
-
},{"./Decorators":
|
|
31694
|
+
},{"./Decorators":187,"./FailedPredicateException":191,"./InputMismatchException":192,"./InterpreterRuleContext":194,"./Parser":200,"./RecognitionException":206,"./Token":212,"./atn/ATNState":226,"./atn/ATNStateType":227,"./atn/LoopEndState":257,"./atn/ParserATNSimulator":261,"./atn/StarLoopEntryState":279,"./misc/BitSet":294}],203:[function(require,module,exports){
|
|
31498
31695
|
"use strict";
|
|
31499
31696
|
/*!
|
|
31500
31697
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31795,7 +31992,7 @@ __decorate([
|
|
|
31795
31992
|
], ParserRuleContext.prototype, "sourceInterval", null);
|
|
31796
31993
|
exports.ParserRuleContext = ParserRuleContext;
|
|
31797
31994
|
|
|
31798
|
-
},{"./Decorators":
|
|
31995
|
+
},{"./Decorators":187,"./RuleContext":208,"./misc/Interval":299,"./tree/ErrorNode":307,"./tree/TerminalNode":310}],204:[function(require,module,exports){
|
|
31799
31996
|
"use strict";
|
|
31800
31997
|
/*!
|
|
31801
31998
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31845,7 +32042,7 @@ __decorate([
|
|
|
31845
32042
|
], ProxyErrorListener.prototype, "syntaxError", null);
|
|
31846
32043
|
exports.ProxyErrorListener = ProxyErrorListener;
|
|
31847
32044
|
|
|
31848
|
-
},{"./Decorators":
|
|
32045
|
+
},{"./Decorators":187}],205:[function(require,module,exports){
|
|
31849
32046
|
"use strict";
|
|
31850
32047
|
/*!
|
|
31851
32048
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31904,7 +32101,7 @@ __decorate([
|
|
|
31904
32101
|
], ProxyParserErrorListener.prototype, "reportContextSensitivity", null);
|
|
31905
32102
|
exports.ProxyParserErrorListener = ProxyParserErrorListener;
|
|
31906
32103
|
|
|
31907
|
-
},{"./Decorators":
|
|
32104
|
+
},{"./Decorators":187,"./ProxyErrorListener":204}],206:[function(require,module,exports){
|
|
31908
32105
|
"use strict";
|
|
31909
32106
|
/*!
|
|
31910
32107
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32009,7 +32206,7 @@ class RecognitionException extends Error {
|
|
|
32009
32206
|
}
|
|
32010
32207
|
exports.RecognitionException = RecognitionException;
|
|
32011
32208
|
|
|
32012
|
-
},{}],
|
|
32209
|
+
},{}],207:[function(require,module,exports){
|
|
32013
32210
|
"use strict";
|
|
32014
32211
|
/*!
|
|
32015
32212
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32228,7 +32425,7 @@ __decorate([
|
|
|
32228
32425
|
], Recognizer.prototype, "getErrorListeners", null);
|
|
32229
32426
|
exports.Recognizer = Recognizer;
|
|
32230
32427
|
|
|
32231
|
-
},{"./ConsoleErrorListener":
|
|
32428
|
+
},{"./ConsoleErrorListener":186,"./Decorators":187,"./ProxyErrorListener":204,"./Token":212,"./misc/Utils":306}],208:[function(require,module,exports){
|
|
32232
32429
|
"use strict";
|
|
32233
32430
|
/*!
|
|
32234
32431
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32445,7 +32642,7 @@ __decorate([
|
|
|
32445
32642
|
], RuleContext.prototype, "toStringTree", null);
|
|
32446
32643
|
exports.RuleContext = RuleContext;
|
|
32447
32644
|
|
|
32448
|
-
},{"./Decorators":
|
|
32645
|
+
},{"./Decorators":187,"./ParserRuleContext":203,"./Recognizer":207,"./atn/ATN":220,"./misc/Interval":299,"./tree/RuleNode":309,"./tree/Trees":311}],209:[function(require,module,exports){
|
|
32449
32646
|
"use strict";
|
|
32450
32647
|
/*!
|
|
32451
32648
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32496,7 +32693,7 @@ __decorate([
|
|
|
32496
32693
|
], RuleContextWithAltNum.prototype, "altNumber", null);
|
|
32497
32694
|
exports.RuleContextWithAltNum = RuleContextWithAltNum;
|
|
32498
32695
|
|
|
32499
|
-
},{"./Decorators":
|
|
32696
|
+
},{"./Decorators":187,"./ParserRuleContext":203,"./atn/ATN":220}],210:[function(require,module,exports){
|
|
32500
32697
|
"use strict";
|
|
32501
32698
|
/*!
|
|
32502
32699
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32519,7 +32716,7 @@ function RuleDependency(dependency) {
|
|
|
32519
32716
|
}
|
|
32520
32717
|
exports.RuleDependency = RuleDependency;
|
|
32521
32718
|
|
|
32522
|
-
},{}],
|
|
32719
|
+
},{}],211:[function(require,module,exports){
|
|
32523
32720
|
"use strict";
|
|
32524
32721
|
/*!
|
|
32525
32722
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32538,7 +32735,7 @@ function RuleVersion(version) {
|
|
|
32538
32735
|
}
|
|
32539
32736
|
exports.RuleVersion = RuleVersion;
|
|
32540
32737
|
|
|
32541
|
-
},{}],
|
|
32738
|
+
},{}],212:[function(require,module,exports){
|
|
32542
32739
|
"use strict";
|
|
32543
32740
|
/*!
|
|
32544
32741
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32578,7 +32775,7 @@ var Token;
|
|
|
32578
32775
|
Token.MIN_USER_CHANNEL_VALUE = 2;
|
|
32579
32776
|
})(Token = exports.Token || (exports.Token = {}));
|
|
32580
32777
|
|
|
32581
|
-
},{"./IntStream":
|
|
32778
|
+
},{"./IntStream":193}],213:[function(require,module,exports){
|
|
32582
32779
|
"use strict";
|
|
32583
32780
|
/*!
|
|
32584
32781
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32586,7 +32783,7 @@ var Token;
|
|
|
32586
32783
|
*/
|
|
32587
32784
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32588
32785
|
|
|
32589
|
-
},{}],
|
|
32786
|
+
},{}],214:[function(require,module,exports){
|
|
32590
32787
|
"use strict";
|
|
32591
32788
|
/*!
|
|
32592
32789
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32594,7 +32791,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
32594
32791
|
*/
|
|
32595
32792
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32596
32793
|
|
|
32597
|
-
},{}],
|
|
32794
|
+
},{}],215:[function(require,module,exports){
|
|
32598
32795
|
"use strict";
|
|
32599
32796
|
/*!
|
|
32600
32797
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32602,7 +32799,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
32602
32799
|
*/
|
|
32603
32800
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32604
32801
|
|
|
32605
|
-
},{}],
|
|
32802
|
+
},{}],216:[function(require,module,exports){
|
|
32606
32803
|
"use strict";
|
|
32607
32804
|
/*!
|
|
32608
32805
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33110,7 +33307,7 @@ __decorate([
|
|
|
33110
33307
|
Decorators_1.Override
|
|
33111
33308
|
], ReplaceOp.prototype, "toString", null);
|
|
33112
33309
|
|
|
33113
|
-
},{"./Decorators":
|
|
33310
|
+
},{"./Decorators":187,"./Token":212,"./misc/Interval":299}],217:[function(require,module,exports){
|
|
33114
33311
|
"use strict";
|
|
33115
33312
|
/*!
|
|
33116
33313
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33118,7 +33315,7 @@ __decorate([
|
|
|
33118
33315
|
*/
|
|
33119
33316
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33120
33317
|
|
|
33121
|
-
},{}],
|
|
33318
|
+
},{}],218:[function(require,module,exports){
|
|
33122
33319
|
"use strict";
|
|
33123
33320
|
/*!
|
|
33124
33321
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33238,7 +33435,7 @@ __decorate([
|
|
|
33238
33435
|
], VocabularyImpl, "EMPTY_VOCABULARY", void 0);
|
|
33239
33436
|
exports.VocabularyImpl = VocabularyImpl;
|
|
33240
33437
|
|
|
33241
|
-
},{"./Decorators":
|
|
33438
|
+
},{"./Decorators":187,"./Token":212}],219:[function(require,module,exports){
|
|
33242
33439
|
"use strict";
|
|
33243
33440
|
/*!
|
|
33244
33441
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33246,7 +33443,7 @@ exports.VocabularyImpl = VocabularyImpl;
|
|
|
33246
33443
|
*/
|
|
33247
33444
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33248
33445
|
|
|
33249
|
-
},{}],
|
|
33446
|
+
},{}],220:[function(require,module,exports){
|
|
33250
33447
|
"use strict";
|
|
33251
33448
|
/*!
|
|
33252
33449
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33468,7 +33665,7 @@ exports.ATN = ATN;
|
|
|
33468
33665
|
})(ATN = exports.ATN || (exports.ATN = {}));
|
|
33469
33666
|
exports.ATN = ATN;
|
|
33470
33667
|
|
|
33471
|
-
},{"../Decorators":
|
|
33668
|
+
},{"../Decorators":187,"../Token":212,"../dfa/DFA":285,"../misc/Array2DHashMap":290,"../misc/IntervalSet":300,"../misc/ObjectEqualityComparator":303,"./InvalidState":243,"./LL1Analyzer":244,"./PredictionContext":267,"assert":330}],221:[function(require,module,exports){
|
|
33472
33669
|
"use strict";
|
|
33473
33670
|
/*!
|
|
33474
33671
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33993,7 +34190,7 @@ ActionSemanticContextATNConfig = __decorate([
|
|
|
33993
34190
|
__param(1, Decorators_1.NotNull), __param(2, Decorators_1.NotNull)
|
|
33994
34191
|
], ActionSemanticContextATNConfig);
|
|
33995
34192
|
|
|
33996
|
-
},{"../Decorators":
|
|
34193
|
+
},{"../Decorators":187,"../misc/Array2DHashMap":290,"../misc/MurmurHash":302,"../misc/ObjectEqualityComparator":303,"./DecisionState":240,"./PredictionContext":267,"./SemanticContext":275,"assert":330}],222:[function(require,module,exports){
|
|
33997
34194
|
"use strict";
|
|
33998
34195
|
/*!
|
|
33999
34196
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34440,7 +34637,7 @@ __decorate([
|
|
|
34440
34637
|
], ATNConfigSet.prototype, "hashCode", null);
|
|
34441
34638
|
exports.ATNConfigSet = ATNConfigSet;
|
|
34442
34639
|
|
|
34443
|
-
},{"../Decorators":
|
|
34640
|
+
},{"../Decorators":187,"../misc/Array2DHashMap":290,"../misc/Array2DHashSet":291,"../misc/ArrayEqualityComparator":292,"../misc/BitSet":294,"../misc/ObjectEqualityComparator":303,"../misc/Utils":306,"./ATN":220,"./ATNConfig":221,"./PredictionContext":267,"./PredictionContextCache":268,"./SemanticContext":275,"assert":330}],223:[function(require,module,exports){
|
|
34444
34641
|
"use strict";
|
|
34445
34642
|
/*!
|
|
34446
34643
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34519,7 +34716,7 @@ __decorate([
|
|
|
34519
34716
|
], ATNDeserializationOptions, "defaultOptions", null);
|
|
34520
34717
|
exports.ATNDeserializationOptions = ATNDeserializationOptions;
|
|
34521
34718
|
|
|
34522
|
-
},{"../Decorators":
|
|
34719
|
+
},{"../Decorators":187}],224:[function(require,module,exports){
|
|
34523
34720
|
"use strict";
|
|
34524
34721
|
/*!
|
|
34525
34722
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35606,7 +35803,7 @@ __decorate([
|
|
|
35606
35803
|
], ATNDeserializer.prototype, "edgeFactory", null);
|
|
35607
35804
|
exports.ATNDeserializer = ATNDeserializer;
|
|
35608
35805
|
|
|
35609
|
-
},{"../Decorators":
|
|
35806
|
+
},{"../Decorators":187,"../Token":212,"../dfa/DFA":285,"../misc/Array2DHashSet":291,"../misc/BitSet":294,"../misc/IntervalSet":300,"../misc/UUID":305,"./ATN":220,"./ATNDeserializationOptions":223,"./ATNStateType":227,"./ActionTransition":229,"./AtomTransition":231,"./BasicBlockStartState":232,"./BasicState":233,"./BlockEndState":234,"./BlockStartState":235,"./DecisionState":240,"./EpsilonTransition":241,"./InvalidState":243,"./LexerChannelAction":247,"./LexerCustomAction":248,"./LexerModeAction":250,"./LexerMoreAction":251,"./LexerPopModeAction":252,"./LexerPushModeAction":253,"./LexerSkipAction":254,"./LexerTypeAction":255,"./LoopEndState":257,"./NotSetTransition":258,"./ParserATNSimulator":261,"./PlusBlockStartState":262,"./PlusLoopbackState":263,"./PrecedencePredicateTransition":264,"./PredicateTransition":266,"./RangeTransition":271,"./RuleStartState":272,"./RuleStopState":273,"./RuleTransition":274,"./SetTransition":276,"./StarBlockStartState":278,"./StarLoopEntryState":279,"./StarLoopbackState":280,"./TokensStartState":281,"./WildcardTransition":283}],225:[function(require,module,exports){
|
|
35610
35807
|
"use strict";
|
|
35611
35808
|
/*!
|
|
35612
35809
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35670,7 +35867,7 @@ exports.ATNSimulator = ATNSimulator;
|
|
|
35670
35867
|
})(ATNSimulator = exports.ATNSimulator || (exports.ATNSimulator = {}));
|
|
35671
35868
|
exports.ATNSimulator = ATNSimulator;
|
|
35672
35869
|
|
|
35673
|
-
},{"../Decorators":
|
|
35870
|
+
},{"../Decorators":187,"../dfa/DFAState":287,"./ATNConfigSet":222,"./PredictionContext":267}],226:[function(require,module,exports){
|
|
35674
35871
|
"use strict";
|
|
35675
35872
|
/*!
|
|
35676
35873
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35857,7 +36054,7 @@ exports.ATNState = ATNState;
|
|
|
35857
36054
|
ATNState.INVALID_STATE_NUMBER = -1;
|
|
35858
36055
|
})(ATNState = exports.ATNState || (exports.ATNState = {}));
|
|
35859
36056
|
|
|
35860
|
-
},{"../Decorators":
|
|
36057
|
+
},{"../Decorators":187}],227:[function(require,module,exports){
|
|
35861
36058
|
"use strict";
|
|
35862
36059
|
/*!
|
|
35863
36060
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35883,7 +36080,7 @@ var ATNStateType;
|
|
|
35883
36080
|
ATNStateType[ATNStateType["LOOP_END"] = 12] = "LOOP_END";
|
|
35884
36081
|
})(ATNStateType = exports.ATNStateType || (exports.ATNStateType = {}));
|
|
35885
36082
|
|
|
35886
|
-
},{}],
|
|
36083
|
+
},{}],228:[function(require,module,exports){
|
|
35887
36084
|
"use strict";
|
|
35888
36085
|
/*!
|
|
35889
36086
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35903,7 +36100,7 @@ class AbstractPredicateTransition extends Transition_1.Transition {
|
|
|
35903
36100
|
}
|
|
35904
36101
|
exports.AbstractPredicateTransition = AbstractPredicateTransition;
|
|
35905
36102
|
|
|
35906
|
-
},{"./Transition":
|
|
36103
|
+
},{"./Transition":282}],229:[function(require,module,exports){
|
|
35907
36104
|
"use strict";
|
|
35908
36105
|
/*!
|
|
35909
36106
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35959,7 +36156,7 @@ ActionTransition = __decorate([
|
|
|
35959
36156
|
], ActionTransition);
|
|
35960
36157
|
exports.ActionTransition = ActionTransition;
|
|
35961
36158
|
|
|
35962
|
-
},{"../Decorators":
|
|
36159
|
+
},{"../Decorators":187,"./Transition":282}],230:[function(require,module,exports){
|
|
35963
36160
|
"use strict";
|
|
35964
36161
|
/*!
|
|
35965
36162
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36046,7 +36243,7 @@ AmbiguityInfo = __decorate([
|
|
|
36046
36243
|
], AmbiguityInfo);
|
|
36047
36244
|
exports.AmbiguityInfo = AmbiguityInfo;
|
|
36048
36245
|
|
|
36049
|
-
},{"../Decorators":
|
|
36246
|
+
},{"../Decorators":187,"./DecisionEventInfo":238}],231:[function(require,module,exports){
|
|
36050
36247
|
"use strict";
|
|
36051
36248
|
/*!
|
|
36052
36249
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36104,7 +36301,7 @@ AtomTransition = __decorate([
|
|
|
36104
36301
|
], AtomTransition);
|
|
36105
36302
|
exports.AtomTransition = AtomTransition;
|
|
36106
36303
|
|
|
36107
|
-
},{"../Decorators":
|
|
36304
|
+
},{"../Decorators":187,"../misc/IntervalSet":300,"./Transition":282}],232:[function(require,module,exports){
|
|
36108
36305
|
"use strict";
|
|
36109
36306
|
/*!
|
|
36110
36307
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36136,7 +36333,7 @@ __decorate([
|
|
|
36136
36333
|
], BasicBlockStartState.prototype, "stateType", null);
|
|
36137
36334
|
exports.BasicBlockStartState = BasicBlockStartState;
|
|
36138
36335
|
|
|
36139
|
-
},{"../Decorators":
|
|
36336
|
+
},{"../Decorators":187,"./ATNStateType":227,"./BlockStartState":235}],233:[function(require,module,exports){
|
|
36140
36337
|
"use strict";
|
|
36141
36338
|
/*!
|
|
36142
36339
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36168,7 +36365,7 @@ __decorate([
|
|
|
36168
36365
|
], BasicState.prototype, "stateType", null);
|
|
36169
36366
|
exports.BasicState = BasicState;
|
|
36170
36367
|
|
|
36171
|
-
},{"../Decorators":
|
|
36368
|
+
},{"../Decorators":187,"./ATNState":226,"./ATNStateType":227}],234:[function(require,module,exports){
|
|
36172
36369
|
"use strict";
|
|
36173
36370
|
/*!
|
|
36174
36371
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36197,7 +36394,7 @@ __decorate([
|
|
|
36197
36394
|
], BlockEndState.prototype, "stateType", null);
|
|
36198
36395
|
exports.BlockEndState = BlockEndState;
|
|
36199
36396
|
|
|
36200
|
-
},{"../Decorators":
|
|
36397
|
+
},{"../Decorators":187,"./ATNState":226,"./ATNStateType":227}],235:[function(require,module,exports){
|
|
36201
36398
|
"use strict";
|
|
36202
36399
|
/*!
|
|
36203
36400
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36211,7 +36408,7 @@ class BlockStartState extends DecisionState_1.DecisionState {
|
|
|
36211
36408
|
}
|
|
36212
36409
|
exports.BlockStartState = BlockStartState;
|
|
36213
36410
|
|
|
36214
|
-
},{"./DecisionState":
|
|
36411
|
+
},{"./DecisionState":240}],236:[function(require,module,exports){
|
|
36215
36412
|
"use strict";
|
|
36216
36413
|
/*!
|
|
36217
36414
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36281,7 +36478,7 @@ __decorate([
|
|
|
36281
36478
|
], ConflictInfo.prototype, "hashCode", null);
|
|
36282
36479
|
exports.ConflictInfo = ConflictInfo;
|
|
36283
36480
|
|
|
36284
|
-
},{"../Decorators":
|
|
36481
|
+
},{"../Decorators":187,"../misc/Utils":306}],237:[function(require,module,exports){
|
|
36285
36482
|
"use strict";
|
|
36286
36483
|
/*!
|
|
36287
36484
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36341,7 +36538,7 @@ ContextSensitivityInfo = __decorate([
|
|
|
36341
36538
|
], ContextSensitivityInfo);
|
|
36342
36539
|
exports.ContextSensitivityInfo = ContextSensitivityInfo;
|
|
36343
36540
|
|
|
36344
|
-
},{"../Decorators":
|
|
36541
|
+
},{"../Decorators":187,"./DecisionEventInfo":238}],238:[function(require,module,exports){
|
|
36345
36542
|
"use strict";
|
|
36346
36543
|
/*!
|
|
36347
36544
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36393,7 +36590,7 @@ DecisionEventInfo = __decorate([
|
|
|
36393
36590
|
], DecisionEventInfo);
|
|
36394
36591
|
exports.DecisionEventInfo = DecisionEventInfo;
|
|
36395
36592
|
|
|
36396
|
-
},{"../Decorators":
|
|
36593
|
+
},{"../Decorators":187}],239:[function(require,module,exports){
|
|
36397
36594
|
"use strict";
|
|
36398
36595
|
/*!
|
|
36399
36596
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36606,7 +36803,7 @@ __decorate([
|
|
|
36606
36803
|
], DecisionInfo.prototype, "toString", null);
|
|
36607
36804
|
exports.DecisionInfo = DecisionInfo;
|
|
36608
36805
|
|
|
36609
|
-
},{"../Decorators":
|
|
36806
|
+
},{"../Decorators":187}],240:[function(require,module,exports){
|
|
36610
36807
|
"use strict";
|
|
36611
36808
|
/*!
|
|
36612
36809
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36626,7 +36823,7 @@ class DecisionState extends ATNState_1.ATNState {
|
|
|
36626
36823
|
}
|
|
36627
36824
|
exports.DecisionState = DecisionState;
|
|
36628
36825
|
|
|
36629
|
-
},{"./ATNState":
|
|
36826
|
+
},{"./ATNState":226}],241:[function(require,module,exports){
|
|
36630
36827
|
"use strict";
|
|
36631
36828
|
/*!
|
|
36632
36829
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36692,7 +36889,7 @@ EpsilonTransition = __decorate([
|
|
|
36692
36889
|
], EpsilonTransition);
|
|
36693
36890
|
exports.EpsilonTransition = EpsilonTransition;
|
|
36694
36891
|
|
|
36695
|
-
},{"../Decorators":
|
|
36892
|
+
},{"../Decorators":187,"./Transition":282}],242:[function(require,module,exports){
|
|
36696
36893
|
"use strict";
|
|
36697
36894
|
/*!
|
|
36698
36895
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36745,7 +36942,7 @@ ErrorInfo = __decorate([
|
|
|
36745
36942
|
], ErrorInfo);
|
|
36746
36943
|
exports.ErrorInfo = ErrorInfo;
|
|
36747
36944
|
|
|
36748
|
-
},{"../Decorators":
|
|
36945
|
+
},{"../Decorators":187,"./DecisionEventInfo":238}],243:[function(require,module,exports){
|
|
36749
36946
|
"use strict";
|
|
36750
36947
|
/*!
|
|
36751
36948
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36776,7 +36973,7 @@ __decorate([
|
|
|
36776
36973
|
], InvalidState.prototype, "stateType", null);
|
|
36777
36974
|
exports.InvalidState = InvalidState;
|
|
36778
36975
|
|
|
36779
|
-
},{"../Decorators":
|
|
36976
|
+
},{"../Decorators":187,"./ATNStateType":227,"./BasicState":233}],244:[function(require,module,exports){
|
|
36780
36977
|
"use strict";
|
|
36781
36978
|
/*!
|
|
36782
36979
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36998,7 +37195,7 @@ LL1Analyzer = __decorate([
|
|
|
36998
37195
|
], LL1Analyzer);
|
|
36999
37196
|
exports.LL1Analyzer = LL1Analyzer;
|
|
37000
37197
|
|
|
37001
|
-
},{"../Decorators":
|
|
37198
|
+
},{"../Decorators":187,"../Token":212,"../misc/Array2DHashSet":291,"../misc/BitSet":294,"../misc/IntervalSet":300,"../misc/ObjectEqualityComparator":303,"./ATNConfig":221,"./AbstractPredicateTransition":228,"./NotSetTransition":258,"./PredictionContext":267,"./RuleStopState":273,"./RuleTransition":274,"./WildcardTransition":283}],245:[function(require,module,exports){
|
|
37002
37199
|
"use strict";
|
|
37003
37200
|
/*!
|
|
37004
37201
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37715,7 +37912,7 @@ exports.LexerATNSimulator = LexerATNSimulator;
|
|
|
37715
37912
|
})(LexerATNSimulator = exports.LexerATNSimulator || (exports.LexerATNSimulator = {}));
|
|
37716
37913
|
exports.LexerATNSimulator = LexerATNSimulator;
|
|
37717
37914
|
|
|
37718
|
-
},{"../Decorators":
|
|
37915
|
+
},{"../Decorators":187,"../IntStream":193,"../Lexer":195,"../LexerNoViableAltException":197,"../Token":212,"../dfa/AcceptStateInfo":284,"../dfa/DFAState":287,"../misc/Interval":299,"./ATN":220,"./ATNConfig":221,"./ATNConfigSet":222,"./ATNSimulator":225,"./LexerActionExecutor":246,"./OrderedATNConfigSet":259,"./PredictionContext":267,"./RuleStopState":273,"assert":330}],246:[function(require,module,exports){
|
|
37719
37916
|
"use strict";
|
|
37720
37917
|
/*!
|
|
37721
37918
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37916,7 +38113,7 @@ LexerActionExecutor = __decorate([
|
|
|
37916
38113
|
], LexerActionExecutor);
|
|
37917
38114
|
exports.LexerActionExecutor = LexerActionExecutor;
|
|
37918
38115
|
|
|
37919
|
-
},{"../Decorators":
|
|
38116
|
+
},{"../Decorators":187,"../misc/ArrayEqualityComparator":292,"../misc/MurmurHash":302,"./LexerIndexedCustomAction":249}],247:[function(require,module,exports){
|
|
37920
38117
|
"use strict";
|
|
37921
38118
|
/*!
|
|
37922
38119
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38021,7 +38218,7 @@ __decorate([
|
|
|
38021
38218
|
], LexerChannelAction.prototype, "toString", null);
|
|
38022
38219
|
exports.LexerChannelAction = LexerChannelAction;
|
|
38023
38220
|
|
|
38024
|
-
},{"../Decorators":
|
|
38221
|
+
},{"../Decorators":187,"../misc/MurmurHash":302}],248:[function(require,module,exports){
|
|
38025
38222
|
"use strict";
|
|
38026
38223
|
/*!
|
|
38027
38224
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38150,7 +38347,7 @@ __decorate([
|
|
|
38150
38347
|
], LexerCustomAction.prototype, "equals", null);
|
|
38151
38348
|
exports.LexerCustomAction = LexerCustomAction;
|
|
38152
38349
|
|
|
38153
|
-
},{"../Decorators":
|
|
38350
|
+
},{"../Decorators":187,"../misc/MurmurHash":302}],249:[function(require,module,exports){
|
|
38154
38351
|
"use strict";
|
|
38155
38352
|
/*!
|
|
38156
38353
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38285,7 +38482,7 @@ LexerIndexedCustomAction = __decorate([
|
|
|
38285
38482
|
], LexerIndexedCustomAction);
|
|
38286
38483
|
exports.LexerIndexedCustomAction = LexerIndexedCustomAction;
|
|
38287
38484
|
|
|
38288
|
-
},{"../Decorators":
|
|
38485
|
+
},{"../Decorators":187,"../misc/MurmurHash":302}],250:[function(require,module,exports){
|
|
38289
38486
|
"use strict";
|
|
38290
38487
|
/*!
|
|
38291
38488
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38390,7 +38587,7 @@ __decorate([
|
|
|
38390
38587
|
], LexerModeAction.prototype, "toString", null);
|
|
38391
38588
|
exports.LexerModeAction = LexerModeAction;
|
|
38392
38589
|
|
|
38393
|
-
},{"../Decorators":
|
|
38590
|
+
},{"../Decorators":187,"../misc/MurmurHash":302}],251:[function(require,module,exports){
|
|
38394
38591
|
"use strict";
|
|
38395
38592
|
/*!
|
|
38396
38593
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38486,7 +38683,7 @@ exports.LexerMoreAction = LexerMoreAction;
|
|
|
38486
38683
|
LexerMoreAction.INSTANCE = new LexerMoreAction();
|
|
38487
38684
|
})(LexerMoreAction = exports.LexerMoreAction || (exports.LexerMoreAction = {}));
|
|
38488
38685
|
|
|
38489
|
-
},{"../Decorators":
|
|
38686
|
+
},{"../Decorators":187,"../misc/MurmurHash":302}],252:[function(require,module,exports){
|
|
38490
38687
|
"use strict";
|
|
38491
38688
|
/*!
|
|
38492
38689
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38582,7 +38779,7 @@ exports.LexerPopModeAction = LexerPopModeAction;
|
|
|
38582
38779
|
LexerPopModeAction.INSTANCE = new LexerPopModeAction();
|
|
38583
38780
|
})(LexerPopModeAction = exports.LexerPopModeAction || (exports.LexerPopModeAction = {}));
|
|
38584
38781
|
|
|
38585
|
-
},{"../Decorators":
|
|
38782
|
+
},{"../Decorators":187,"../misc/MurmurHash":302}],253:[function(require,module,exports){
|
|
38586
38783
|
"use strict";
|
|
38587
38784
|
/*!
|
|
38588
38785
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38687,7 +38884,7 @@ __decorate([
|
|
|
38687
38884
|
], LexerPushModeAction.prototype, "toString", null);
|
|
38688
38885
|
exports.LexerPushModeAction = LexerPushModeAction;
|
|
38689
38886
|
|
|
38690
|
-
},{"../Decorators":
|
|
38887
|
+
},{"../Decorators":187,"../misc/MurmurHash":302}],254:[function(require,module,exports){
|
|
38691
38888
|
"use strict";
|
|
38692
38889
|
/*!
|
|
38693
38890
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38783,7 +38980,7 @@ exports.LexerSkipAction = LexerSkipAction;
|
|
|
38783
38980
|
LexerSkipAction.INSTANCE = new LexerSkipAction();
|
|
38784
38981
|
})(LexerSkipAction = exports.LexerSkipAction || (exports.LexerSkipAction = {}));
|
|
38785
38982
|
|
|
38786
|
-
},{"../Decorators":
|
|
38983
|
+
},{"../Decorators":187,"../misc/MurmurHash":302}],255:[function(require,module,exports){
|
|
38787
38984
|
"use strict";
|
|
38788
38985
|
/*!
|
|
38789
38986
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38887,7 +39084,7 @@ __decorate([
|
|
|
38887
39084
|
], LexerTypeAction.prototype, "toString", null);
|
|
38888
39085
|
exports.LexerTypeAction = LexerTypeAction;
|
|
38889
39086
|
|
|
38890
|
-
},{"../Decorators":
|
|
39087
|
+
},{"../Decorators":187,"../misc/MurmurHash":302}],256:[function(require,module,exports){
|
|
38891
39088
|
"use strict";
|
|
38892
39089
|
/*!
|
|
38893
39090
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38939,7 +39136,7 @@ LookaheadEventInfo = __decorate([
|
|
|
38939
39136
|
], LookaheadEventInfo);
|
|
38940
39137
|
exports.LookaheadEventInfo = LookaheadEventInfo;
|
|
38941
39138
|
|
|
38942
|
-
},{"../Decorators":
|
|
39139
|
+
},{"../Decorators":187,"./DecisionEventInfo":238}],257:[function(require,module,exports){
|
|
38943
39140
|
"use strict";
|
|
38944
39141
|
/*!
|
|
38945
39142
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38968,7 +39165,7 @@ __decorate([
|
|
|
38968
39165
|
], LoopEndState.prototype, "stateType", null);
|
|
38969
39166
|
exports.LoopEndState = LoopEndState;
|
|
38970
39167
|
|
|
38971
|
-
},{"../Decorators":
|
|
39168
|
+
},{"../Decorators":187,"./ATNState":226,"./ATNStateType":227}],258:[function(require,module,exports){
|
|
38972
39169
|
"use strict";
|
|
38973
39170
|
/*!
|
|
38974
39171
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39017,7 +39214,7 @@ NotSetTransition = __decorate([
|
|
|
39017
39214
|
], NotSetTransition);
|
|
39018
39215
|
exports.NotSetTransition = NotSetTransition;
|
|
39019
39216
|
|
|
39020
|
-
},{"../Decorators":
|
|
39217
|
+
},{"../Decorators":187,"./SetTransition":276}],259:[function(require,module,exports){
|
|
39021
39218
|
"use strict";
|
|
39022
39219
|
/*!
|
|
39023
39220
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39072,7 +39269,7 @@ __decorate([
|
|
|
39072
39269
|
], OrderedATNConfigSet.prototype, "canMerge", null);
|
|
39073
39270
|
exports.OrderedATNConfigSet = OrderedATNConfigSet;
|
|
39074
39271
|
|
|
39075
|
-
},{"../Decorators":
|
|
39272
|
+
},{"../Decorators":187,"./ATNConfigSet":222}],260:[function(require,module,exports){
|
|
39076
39273
|
"use strict";
|
|
39077
39274
|
/*!
|
|
39078
39275
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39234,7 +39431,7 @@ ParseInfo = __decorate([
|
|
|
39234
39431
|
], ParseInfo);
|
|
39235
39432
|
exports.ParseInfo = ParseInfo;
|
|
39236
39433
|
|
|
39237
|
-
},{"../Decorators":
|
|
39434
|
+
},{"../Decorators":187}],261:[function(require,module,exports){
|
|
39238
39435
|
"use strict";
|
|
39239
39436
|
/*!
|
|
39240
39437
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41507,7 +41704,7 @@ ParserATNSimulator = __decorate([
|
|
|
41507
41704
|
], ParserATNSimulator);
|
|
41508
41705
|
exports.ParserATNSimulator = ParserATNSimulator;
|
|
41509
41706
|
|
|
41510
|
-
},{"../Decorators":
|
|
41707
|
+
},{"../Decorators":187,"../IntStream":193,"../NoViableAltException":199,"../ParserRuleContext":203,"../Token":212,"../VocabularyImpl":218,"../dfa/AcceptStateInfo":284,"../dfa/DFAState":287,"../misc/Array2DHashSet":291,"../misc/Arrays":293,"../misc/BitSet":294,"../misc/IntegerList":297,"../misc/Interval":299,"../misc/ObjectEqualityComparator":303,"./ATN":220,"./ATNConfig":221,"./ATNConfigSet":222,"./ATNSimulator":225,"./ATNStateType":227,"./ActionTransition":229,"./AtomTransition":231,"./ConflictInfo":236,"./DecisionState":240,"./NotSetTransition":258,"./PredictionContext":267,"./PredictionContextCache":268,"./PredictionMode":269,"./RuleStopState":273,"./RuleTransition":274,"./SemanticContext":275,"./SetTransition":276,"./SimulatorState":277,"assert":330}],262:[function(require,module,exports){
|
|
41511
41708
|
"use strict";
|
|
41512
41709
|
/*!
|
|
41513
41710
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41540,7 +41737,7 @@ __decorate([
|
|
|
41540
41737
|
], PlusBlockStartState.prototype, "stateType", null);
|
|
41541
41738
|
exports.PlusBlockStartState = PlusBlockStartState;
|
|
41542
41739
|
|
|
41543
|
-
},{"../Decorators":
|
|
41740
|
+
},{"../Decorators":187,"./ATNStateType":227,"./BlockStartState":235}],263:[function(require,module,exports){
|
|
41544
41741
|
"use strict";
|
|
41545
41742
|
/*!
|
|
41546
41743
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41571,7 +41768,7 @@ __decorate([
|
|
|
41571
41768
|
], PlusLoopbackState.prototype, "stateType", null);
|
|
41572
41769
|
exports.PlusLoopbackState = PlusLoopbackState;
|
|
41573
41770
|
|
|
41574
|
-
},{"../Decorators":
|
|
41771
|
+
},{"../Decorators":187,"./ATNStateType":227,"./DecisionState":240}],264:[function(require,module,exports){
|
|
41575
41772
|
"use strict";
|
|
41576
41773
|
/*!
|
|
41577
41774
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41634,7 +41831,7 @@ PrecedencePredicateTransition = __decorate([
|
|
|
41634
41831
|
], PrecedencePredicateTransition);
|
|
41635
41832
|
exports.PrecedencePredicateTransition = PrecedencePredicateTransition;
|
|
41636
41833
|
|
|
41637
|
-
},{"../Decorators":
|
|
41834
|
+
},{"../Decorators":187,"./AbstractPredicateTransition":228,"./SemanticContext":275}],265:[function(require,module,exports){
|
|
41638
41835
|
"use strict";
|
|
41639
41836
|
/*!
|
|
41640
41837
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41697,7 +41894,7 @@ PredicateEvalInfo = __decorate([
|
|
|
41697
41894
|
], PredicateEvalInfo);
|
|
41698
41895
|
exports.PredicateEvalInfo = PredicateEvalInfo;
|
|
41699
41896
|
|
|
41700
|
-
},{"../Decorators":
|
|
41897
|
+
},{"../Decorators":187,"./DecisionEventInfo":238}],266:[function(require,module,exports){
|
|
41701
41898
|
"use strict";
|
|
41702
41899
|
/*!
|
|
41703
41900
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41763,7 +41960,7 @@ PredicateTransition = __decorate([
|
|
|
41763
41960
|
], PredicateTransition);
|
|
41764
41961
|
exports.PredicateTransition = PredicateTransition;
|
|
41765
41962
|
|
|
41766
|
-
},{"../Decorators":
|
|
41963
|
+
},{"../Decorators":187,"./AbstractPredicateTransition":228,"./SemanticContext":275}],267:[function(require,module,exports){
|
|
41767
41964
|
"use strict";
|
|
41768
41965
|
/*!
|
|
41769
41966
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42454,7 +42651,7 @@ exports.SingletonPredictionContext = SingletonPredictionContext;
|
|
|
42454
42651
|
PredictionContext.IdentityEqualityComparator = IdentityEqualityComparator;
|
|
42455
42652
|
})(PredictionContext = exports.PredictionContext || (exports.PredictionContext = {}));
|
|
42456
42653
|
|
|
42457
|
-
},{"../Decorators":
|
|
42654
|
+
},{"../Decorators":187,"../misc/Array2DHashMap":290,"../misc/Array2DHashSet":291,"../misc/Arrays":293,"../misc/MurmurHash":302,"./PredictionContextCache":268,"assert":330}],268:[function(require,module,exports){
|
|
42458
42655
|
"use strict";
|
|
42459
42656
|
/*!
|
|
42460
42657
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42595,7 +42792,7 @@ PredictionContextCache.UNCACHED = new PredictionContextCache(false);
|
|
|
42595
42792
|
PredictionContextCache.IdentityCommutativePredictionContextOperands = IdentityCommutativePredictionContextOperands;
|
|
42596
42793
|
})(PredictionContextCache = exports.PredictionContextCache || (exports.PredictionContextCache = {}));
|
|
42597
42794
|
|
|
42598
|
-
},{"../Decorators":
|
|
42795
|
+
},{"../Decorators":187,"../misc/Array2DHashMap":290,"../misc/ObjectEqualityComparator":303,"./PredictionContext":267,"assert":330}],269:[function(require,module,exports){
|
|
42599
42796
|
"use strict";
|
|
42600
42797
|
/*!
|
|
42601
42798
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42756,7 +42953,7 @@ var PredictionMode;
|
|
|
42756
42953
|
PredictionMode.allConfigsInRuleStopStates = allConfigsInRuleStopStates;
|
|
42757
42954
|
})(PredictionMode = exports.PredictionMode || (exports.PredictionMode = {}));
|
|
42758
42955
|
|
|
42759
|
-
},{"../Decorators":
|
|
42956
|
+
},{"../Decorators":187,"../misc/Array2DHashMap":290,"../misc/MurmurHash":302,"./RuleStopState":273}],270:[function(require,module,exports){
|
|
42760
42957
|
(function (process){(function (){
|
|
42761
42958
|
"use strict";
|
|
42762
42959
|
/*!
|
|
@@ -43025,7 +43222,7 @@ __decorate([
|
|
|
43025
43222
|
exports.ProfilingATNSimulator = ProfilingATNSimulator;
|
|
43026
43223
|
|
|
43027
43224
|
}).call(this)}).call(this,require('_process'))
|
|
43028
|
-
},{"../Decorators":
|
|
43225
|
+
},{"../Decorators":187,"./ATN":220,"./ATNSimulator":225,"./AmbiguityInfo":230,"./ContextSensitivityInfo":237,"./DecisionInfo":239,"./ErrorInfo":242,"./LookaheadEventInfo":256,"./ParserATNSimulator":261,"./PredicateEvalInfo":265,"./SemanticContext":275,"./SimulatorState":277,"_process":378}],271:[function(require,module,exports){
|
|
43029
43226
|
"use strict";
|
|
43030
43227
|
/*!
|
|
43031
43228
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43083,7 +43280,7 @@ RangeTransition = __decorate([
|
|
|
43083
43280
|
], RangeTransition);
|
|
43084
43281
|
exports.RangeTransition = RangeTransition;
|
|
43085
43282
|
|
|
43086
|
-
},{"../Decorators":
|
|
43283
|
+
},{"../Decorators":187,"../misc/IntervalSet":300,"./Transition":282}],272:[function(require,module,exports){
|
|
43087
43284
|
"use strict";
|
|
43088
43285
|
/*!
|
|
43089
43286
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43116,7 +43313,7 @@ __decorate([
|
|
|
43116
43313
|
], RuleStartState.prototype, "stateType", null);
|
|
43117
43314
|
exports.RuleStartState = RuleStartState;
|
|
43118
43315
|
|
|
43119
|
-
},{"../Decorators":
|
|
43316
|
+
},{"../Decorators":187,"./ATNState":226,"./ATNStateType":227}],273:[function(require,module,exports){
|
|
43120
43317
|
"use strict";
|
|
43121
43318
|
/*!
|
|
43122
43319
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43155,7 +43352,7 @@ __decorate([
|
|
|
43155
43352
|
], RuleStopState.prototype, "stateType", null);
|
|
43156
43353
|
exports.RuleStopState = RuleStopState;
|
|
43157
43354
|
|
|
43158
|
-
},{"../Decorators":
|
|
43355
|
+
},{"../Decorators":187,"./ATNState":226,"./ATNStateType":227}],274:[function(require,module,exports){
|
|
43159
43356
|
"use strict";
|
|
43160
43357
|
/*!
|
|
43161
43358
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43211,7 +43408,7 @@ RuleTransition = __decorate([
|
|
|
43211
43408
|
], RuleTransition);
|
|
43212
43409
|
exports.RuleTransition = RuleTransition;
|
|
43213
43410
|
|
|
43214
|
-
},{"../Decorators":
|
|
43411
|
+
},{"../Decorators":187,"./Transition":282}],275:[function(require,module,exports){
|
|
43215
43412
|
"use strict";
|
|
43216
43413
|
/*!
|
|
43217
43414
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43691,7 +43888,7 @@ exports.SemanticContext = SemanticContext;
|
|
|
43691
43888
|
SemanticContext.OR = OR;
|
|
43692
43889
|
})(SemanticContext = exports.SemanticContext || (exports.SemanticContext = {}));
|
|
43693
43890
|
|
|
43694
|
-
},{"../Decorators":
|
|
43891
|
+
},{"../Decorators":187,"../misc/Array2DHashSet":291,"../misc/ArrayEqualityComparator":292,"../misc/MurmurHash":302,"../misc/ObjectEqualityComparator":303,"../misc/Utils":306}],276:[function(require,module,exports){
|
|
43695
43892
|
"use strict";
|
|
43696
43893
|
/*!
|
|
43697
43894
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43757,7 +43954,7 @@ SetTransition = __decorate([
|
|
|
43757
43954
|
], SetTransition);
|
|
43758
43955
|
exports.SetTransition = SetTransition;
|
|
43759
43956
|
|
|
43760
|
-
},{"../Decorators":
|
|
43957
|
+
},{"../Decorators":187,"../Token":212,"../misc/IntervalSet":300,"./Transition":282}],277:[function(require,module,exports){
|
|
43761
43958
|
"use strict";
|
|
43762
43959
|
/*!
|
|
43763
43960
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43793,7 +43990,7 @@ SimulatorState = __decorate([
|
|
|
43793
43990
|
], SimulatorState);
|
|
43794
43991
|
exports.SimulatorState = SimulatorState;
|
|
43795
43992
|
|
|
43796
|
-
},{"../Decorators":
|
|
43993
|
+
},{"../Decorators":187,"../ParserRuleContext":203}],278:[function(require,module,exports){
|
|
43797
43994
|
"use strict";
|
|
43798
43995
|
/*!
|
|
43799
43996
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43821,7 +44018,7 @@ __decorate([
|
|
|
43821
44018
|
], StarBlockStartState.prototype, "stateType", null);
|
|
43822
44019
|
exports.StarBlockStartState = StarBlockStartState;
|
|
43823
44020
|
|
|
43824
|
-
},{"../Decorators":
|
|
44021
|
+
},{"../Decorators":187,"./ATNStateType":227,"./BlockStartState":235}],279:[function(require,module,exports){
|
|
43825
44022
|
"use strict";
|
|
43826
44023
|
/*!
|
|
43827
44024
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43878,7 +44075,7 @@ __decorate([
|
|
|
43878
44075
|
], StarLoopEntryState.prototype, "stateType", null);
|
|
43879
44076
|
exports.StarLoopEntryState = StarLoopEntryState;
|
|
43880
44077
|
|
|
43881
|
-
},{"../Decorators":
|
|
44078
|
+
},{"../Decorators":187,"../misc/BitSet":294,"./ATNStateType":227,"./DecisionState":240}],280:[function(require,module,exports){
|
|
43882
44079
|
"use strict";
|
|
43883
44080
|
/*!
|
|
43884
44081
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43909,7 +44106,7 @@ __decorate([
|
|
|
43909
44106
|
], StarLoopbackState.prototype, "stateType", null);
|
|
43910
44107
|
exports.StarLoopbackState = StarLoopbackState;
|
|
43911
44108
|
|
|
43912
|
-
},{"../Decorators":
|
|
44109
|
+
},{"../Decorators":187,"./ATNState":226,"./ATNStateType":227}],281:[function(require,module,exports){
|
|
43913
44110
|
"use strict";
|
|
43914
44111
|
/*!
|
|
43915
44112
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43938,7 +44135,7 @@ __decorate([
|
|
|
43938
44135
|
], TokensStartState.prototype, "stateType", null);
|
|
43939
44136
|
exports.TokensStartState = TokensStartState;
|
|
43940
44137
|
|
|
43941
|
-
},{"../Decorators":
|
|
44138
|
+
},{"../Decorators":187,"./ATNStateType":227,"./DecisionState":240}],282:[function(require,module,exports){
|
|
43942
44139
|
"use strict";
|
|
43943
44140
|
/*!
|
|
43944
44141
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44012,7 +44209,7 @@ Transition = __decorate([
|
|
|
44012
44209
|
], Transition);
|
|
44013
44210
|
exports.Transition = Transition;
|
|
44014
44211
|
|
|
44015
|
-
},{"../Decorators":
|
|
44212
|
+
},{"../Decorators":187}],283:[function(require,module,exports){
|
|
44016
44213
|
"use strict";
|
|
44017
44214
|
/*!
|
|
44018
44215
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44060,7 +44257,7 @@ WildcardTransition = __decorate([
|
|
|
44060
44257
|
], WildcardTransition);
|
|
44061
44258
|
exports.WildcardTransition = WildcardTransition;
|
|
44062
44259
|
|
|
44063
|
-
},{"../Decorators":
|
|
44260
|
+
},{"../Decorators":187,"./Transition":282}],284:[function(require,module,exports){
|
|
44064
44261
|
"use strict";
|
|
44065
44262
|
/*!
|
|
44066
44263
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44102,7 +44299,7 @@ class AcceptStateInfo {
|
|
|
44102
44299
|
}
|
|
44103
44300
|
exports.AcceptStateInfo = AcceptStateInfo;
|
|
44104
44301
|
|
|
44105
|
-
},{}],
|
|
44302
|
+
},{}],285:[function(require,module,exports){
|
|
44106
44303
|
"use strict";
|
|
44107
44304
|
/*!
|
|
44108
44305
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44277,7 +44474,7 @@ DFA = __decorate([
|
|
|
44277
44474
|
], DFA);
|
|
44278
44475
|
exports.DFA = DFA;
|
|
44279
44476
|
|
|
44280
|
-
},{"../Decorators":
|
|
44477
|
+
},{"../Decorators":187,"../VocabularyImpl":218,"../atn/ATNConfigSet":222,"../atn/StarLoopEntryState":279,"../misc/Array2DHashSet":291,"../misc/ObjectEqualityComparator":303,"./DFASerializer":286,"./DFAState":287,"./LexerDFASerializer":288}],286:[function(require,module,exports){
|
|
44281
44478
|
"use strict";
|
|
44282
44479
|
/*!
|
|
44283
44480
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44419,7 +44616,7 @@ __decorate([
|
|
|
44419
44616
|
], DFASerializer.prototype, "toString", null);
|
|
44420
44617
|
exports.DFASerializer = DFASerializer;
|
|
44421
44618
|
|
|
44422
|
-
},{"../Decorators":
|
|
44619
|
+
},{"../Decorators":187,"../Recognizer":207,"../VocabularyImpl":218,"../atn/ATNSimulator":225,"../atn/PredictionContext":267}],287:[function(require,module,exports){
|
|
44423
44620
|
"use strict";
|
|
44424
44621
|
/*!
|
|
44425
44622
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44650,7 +44847,7 @@ exports.DFAState = DFAState;
|
|
|
44650
44847
|
DFAState.PredPrediction = PredPrediction;
|
|
44651
44848
|
})(DFAState = exports.DFAState || (exports.DFAState = {}));
|
|
44652
44849
|
|
|
44653
|
-
},{"../Decorators":
|
|
44850
|
+
},{"../Decorators":187,"../atn/ATN":220,"../atn/PredictionContext":267,"../misc/BitSet":294,"../misc/MurmurHash":302,"assert":330}],288:[function(require,module,exports){
|
|
44654
44851
|
"use strict";
|
|
44655
44852
|
/*!
|
|
44656
44853
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44687,7 +44884,7 @@ LexerDFASerializer = __decorate([
|
|
|
44687
44884
|
], LexerDFASerializer);
|
|
44688
44885
|
exports.LexerDFASerializer = LexerDFASerializer;
|
|
44689
44886
|
|
|
44690
|
-
},{"../Decorators":
|
|
44887
|
+
},{"../Decorators":187,"../VocabularyImpl":218,"./DFASerializer":286}],289:[function(require,module,exports){
|
|
44691
44888
|
"use strict";
|
|
44692
44889
|
/*!
|
|
44693
44890
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44753,7 +44950,7 @@ __exportStar(require("./Vocabulary"), exports);
|
|
|
44753
44950
|
__exportStar(require("./VocabularyImpl"), exports);
|
|
44754
44951
|
__exportStar(require("./WritableToken"), exports);
|
|
44755
44952
|
|
|
44756
|
-
},{"./ANTLRErrorListener":
|
|
44953
|
+
},{"./ANTLRErrorListener":174,"./ANTLRErrorStrategy":175,"./ANTLRInputStream":176,"./BailErrorStrategy":177,"./BufferedTokenStream":178,"./CharStream":179,"./CharStreams":180,"./CodePointBuffer":181,"./CodePointCharStream":182,"./CommonToken":183,"./CommonTokenFactory":184,"./CommonTokenStream":185,"./ConsoleErrorListener":186,"./DefaultErrorStrategy":188,"./Dependents":189,"./DiagnosticErrorListener":190,"./FailedPredicateException":191,"./InputMismatchException":192,"./IntStream":193,"./InterpreterRuleContext":194,"./Lexer":195,"./LexerInterpreter":196,"./LexerNoViableAltException":197,"./ListTokenSource":198,"./NoViableAltException":199,"./Parser":200,"./ParserErrorListener":201,"./ParserInterpreter":202,"./ParserRuleContext":203,"./ProxyErrorListener":204,"./ProxyParserErrorListener":205,"./RecognitionException":206,"./Recognizer":207,"./RuleContext":208,"./RuleContextWithAltNum":209,"./RuleDependency":210,"./RuleVersion":211,"./Token":212,"./TokenFactory":213,"./TokenSource":214,"./TokenStream":215,"./TokenStreamRewriter":216,"./Vocabulary":217,"./VocabularyImpl":218,"./WritableToken":219}],290:[function(require,module,exports){
|
|
44757
44954
|
"use strict";
|
|
44758
44955
|
/*!
|
|
44759
44956
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44836,7 +45033,7 @@ class Array2DHashMap {
|
|
|
44836
45033
|
}
|
|
44837
45034
|
exports.Array2DHashMap = Array2DHashMap;
|
|
44838
45035
|
|
|
44839
|
-
},{"./Array2DHashSet":
|
|
45036
|
+
},{"./Array2DHashSet":291}],291:[function(require,module,exports){
|
|
44840
45037
|
"use strict";
|
|
44841
45038
|
/*!
|
|
44842
45039
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45203,7 +45400,7 @@ __decorate([
|
|
|
45203
45400
|
], Array2DHashSet.prototype, "createBuckets", null);
|
|
45204
45401
|
exports.Array2DHashSet = Array2DHashSet;
|
|
45205
45402
|
|
|
45206
|
-
},{"../Decorators":
|
|
45403
|
+
},{"../Decorators":187,"./DefaultEqualityComparator":296,"./MurmurHash":302,"assert":330}],292:[function(require,module,exports){
|
|
45207
45404
|
"use strict";
|
|
45208
45405
|
/*!
|
|
45209
45406
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45275,7 +45472,7 @@ __decorate([
|
|
|
45275
45472
|
], ArrayEqualityComparator.prototype, "equals", null);
|
|
45276
45473
|
exports.ArrayEqualityComparator = ArrayEqualityComparator;
|
|
45277
45474
|
|
|
45278
|
-
},{"../Decorators":
|
|
45475
|
+
},{"../Decorators":187,"./MurmurHash":302,"./ObjectEqualityComparator":303}],293:[function(require,module,exports){
|
|
45279
45476
|
"use strict";
|
|
45280
45477
|
/*!
|
|
45281
45478
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45345,7 +45542,7 @@ var Arrays;
|
|
|
45345
45542
|
Arrays.toString = toString;
|
|
45346
45543
|
})(Arrays = exports.Arrays || (exports.Arrays = {}));
|
|
45347
45544
|
|
|
45348
|
-
},{}],
|
|
45545
|
+
},{}],294:[function(require,module,exports){
|
|
45349
45546
|
"use strict";
|
|
45350
45547
|
/*!
|
|
45351
45548
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46017,7 +46214,7 @@ class BitSetIterator {
|
|
|
46017
46214
|
[Symbol.iterator]() { return this; }
|
|
46018
46215
|
}
|
|
46019
46216
|
|
|
46020
|
-
},{"./MurmurHash":
|
|
46217
|
+
},{"./MurmurHash":302,"util":383}],295:[function(require,module,exports){
|
|
46021
46218
|
"use strict";
|
|
46022
46219
|
/*!
|
|
46023
46220
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46038,7 +46235,7 @@ function isSupplementaryCodePoint(ch) {
|
|
|
46038
46235
|
}
|
|
46039
46236
|
exports.isSupplementaryCodePoint = isSupplementaryCodePoint;
|
|
46040
46237
|
|
|
46041
|
-
},{}],
|
|
46238
|
+
},{}],296:[function(require,module,exports){
|
|
46042
46239
|
"use strict";
|
|
46043
46240
|
/*!
|
|
46044
46241
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46109,7 +46306,7 @@ __decorate([
|
|
|
46109
46306
|
], DefaultEqualityComparator.prototype, "equals", null);
|
|
46110
46307
|
exports.DefaultEqualityComparator = DefaultEqualityComparator;
|
|
46111
46308
|
|
|
46112
|
-
},{"../Decorators":
|
|
46309
|
+
},{"../Decorators":187,"./MurmurHash":302,"./ObjectEqualityComparator":303}],297:[function(require,module,exports){
|
|
46113
46310
|
"use strict";
|
|
46114
46311
|
/*!
|
|
46115
46312
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46403,7 +46600,7 @@ __decorate([
|
|
|
46403
46600
|
], IntegerList.prototype, "toString", null);
|
|
46404
46601
|
exports.IntegerList = IntegerList;
|
|
46405
46602
|
|
|
46406
|
-
},{"../Decorators":
|
|
46603
|
+
},{"../Decorators":187,"./Arrays":293}],298:[function(require,module,exports){
|
|
46407
46604
|
"use strict";
|
|
46408
46605
|
/*!
|
|
46409
46606
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46433,7 +46630,7 @@ class IntegerStack extends IntegerList_1.IntegerList {
|
|
|
46433
46630
|
}
|
|
46434
46631
|
exports.IntegerStack = IntegerStack;
|
|
46435
46632
|
|
|
46436
|
-
},{"./IntegerList":
|
|
46633
|
+
},{"./IntegerList":297}],299:[function(require,module,exports){
|
|
46437
46634
|
"use strict";
|
|
46438
46635
|
/*!
|
|
46439
46636
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46576,7 +46773,7 @@ __decorate([
|
|
|
46576
46773
|
], Interval.prototype, "toString", null);
|
|
46577
46774
|
exports.Interval = Interval;
|
|
46578
46775
|
|
|
46579
|
-
},{"../Decorators":
|
|
46776
|
+
},{"../Decorators":187}],300:[function(require,module,exports){
|
|
46580
46777
|
"use strict";
|
|
46581
46778
|
/*!
|
|
46582
46779
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47222,7 +47419,7 @@ __decorate([
|
|
|
47222
47419
|
], IntervalSet, "subtract", null);
|
|
47223
47420
|
exports.IntervalSet = IntervalSet;
|
|
47224
47421
|
|
|
47225
|
-
},{"../Decorators":
|
|
47422
|
+
},{"../Decorators":187,"../Lexer":195,"../Token":212,"./ArrayEqualityComparator":292,"./IntegerList":297,"./Interval":299,"./MurmurHash":302}],301:[function(require,module,exports){
|
|
47226
47423
|
"use strict";
|
|
47227
47424
|
/*!
|
|
47228
47425
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47255,7 +47452,7 @@ class MultiMap extends Map {
|
|
|
47255
47452
|
}
|
|
47256
47453
|
exports.MultiMap = MultiMap;
|
|
47257
47454
|
|
|
47258
|
-
},{}],
|
|
47455
|
+
},{}],302:[function(require,module,exports){
|
|
47259
47456
|
"use strict";
|
|
47260
47457
|
/*!
|
|
47261
47458
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47370,7 +47567,7 @@ var MurmurHash;
|
|
|
47370
47567
|
}
|
|
47371
47568
|
})(MurmurHash = exports.MurmurHash || (exports.MurmurHash = {}));
|
|
47372
47569
|
|
|
47373
|
-
},{}],
|
|
47570
|
+
},{}],303:[function(require,module,exports){
|
|
47374
47571
|
"use strict";
|
|
47375
47572
|
/*!
|
|
47376
47573
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47429,7 +47626,7 @@ __decorate([
|
|
|
47429
47626
|
], ObjectEqualityComparator.prototype, "equals", null);
|
|
47430
47627
|
exports.ObjectEqualityComparator = ObjectEqualityComparator;
|
|
47431
47628
|
|
|
47432
|
-
},{"../Decorators":
|
|
47629
|
+
},{"../Decorators":187}],304:[function(require,module,exports){
|
|
47433
47630
|
"use strict";
|
|
47434
47631
|
/*!
|
|
47435
47632
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47458,7 +47655,7 @@ class ParseCancellationException extends Error {
|
|
|
47458
47655
|
}
|
|
47459
47656
|
exports.ParseCancellationException = ParseCancellationException;
|
|
47460
47657
|
|
|
47461
|
-
},{}],
|
|
47658
|
+
},{}],305:[function(require,module,exports){
|
|
47462
47659
|
"use strict";
|
|
47463
47660
|
/*!
|
|
47464
47661
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47512,7 +47709,7 @@ class UUID {
|
|
|
47512
47709
|
}
|
|
47513
47710
|
exports.UUID = UUID;
|
|
47514
47711
|
|
|
47515
|
-
},{"./MurmurHash":
|
|
47712
|
+
},{"./MurmurHash":302}],306:[function(require,module,exports){
|
|
47516
47713
|
"use strict";
|
|
47517
47714
|
/*!
|
|
47518
47715
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47687,7 +47884,7 @@ exports.toCharArray = toCharArray;
|
|
|
47687
47884
|
// return s;
|
|
47688
47885
|
// }
|
|
47689
47886
|
|
|
47690
|
-
},{}],
|
|
47887
|
+
},{}],307:[function(require,module,exports){
|
|
47691
47888
|
"use strict";
|
|
47692
47889
|
/*!
|
|
47693
47890
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47723,7 +47920,7 @@ __decorate([
|
|
|
47723
47920
|
], ErrorNode.prototype, "accept", null);
|
|
47724
47921
|
exports.ErrorNode = ErrorNode;
|
|
47725
47922
|
|
|
47726
|
-
},{"../Decorators":
|
|
47923
|
+
},{"../Decorators":187,"./TerminalNode":310}],308:[function(require,module,exports){
|
|
47727
47924
|
"use strict";
|
|
47728
47925
|
/*!
|
|
47729
47926
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47828,7 +48025,7 @@ exports.ParseTreeWalker = ParseTreeWalker;
|
|
|
47828
48025
|
ParseTreeWalker.DEFAULT = new ParseTreeWalker();
|
|
47829
48026
|
})(ParseTreeWalker = exports.ParseTreeWalker || (exports.ParseTreeWalker = {}));
|
|
47830
48027
|
|
|
47831
|
-
},{"./ErrorNode":
|
|
48028
|
+
},{"./ErrorNode":307,"./RuleNode":309,"./TerminalNode":310}],309:[function(require,module,exports){
|
|
47832
48029
|
"use strict";
|
|
47833
48030
|
/*!
|
|
47834
48031
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47840,7 +48037,7 @@ class RuleNode {
|
|
|
47840
48037
|
}
|
|
47841
48038
|
exports.RuleNode = RuleNode;
|
|
47842
48039
|
|
|
47843
|
-
},{}],
|
|
48040
|
+
},{}],310:[function(require,module,exports){
|
|
47844
48041
|
"use strict";
|
|
47845
48042
|
/*!
|
|
47846
48043
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47932,7 +48129,7 @@ __decorate([
|
|
|
47932
48129
|
], TerminalNode.prototype, "toString", null);
|
|
47933
48130
|
exports.TerminalNode = TerminalNode;
|
|
47934
48131
|
|
|
47935
|
-
},{"../Decorators":
|
|
48132
|
+
},{"../Decorators":187,"../Token":212,"../misc/Interval":299}],311:[function(require,module,exports){
|
|
47936
48133
|
"use strict";
|
|
47937
48134
|
/*!
|
|
47938
48135
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48176,7 +48373,7 @@ __decorate([
|
|
|
48176
48373
|
], Trees, "getRootOfSubtreeEnclosingRegion", null);
|
|
48177
48374
|
exports.Trees = Trees;
|
|
48178
48375
|
|
|
48179
|
-
},{"../CommonToken":
|
|
48376
|
+
},{"../CommonToken":183,"../Decorators":187,"../Parser":200,"../ParserRuleContext":203,"../Token":212,"../atn/ATN":220,"../misc/Utils":306,"./ErrorNode":307,"./RuleNode":309,"./TerminalNode":310}],312:[function(require,module,exports){
|
|
48180
48377
|
"use strict";
|
|
48181
48378
|
/*!
|
|
48182
48379
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48200,7 +48397,7 @@ class Chunk {
|
|
|
48200
48397
|
}
|
|
48201
48398
|
exports.Chunk = Chunk;
|
|
48202
48399
|
|
|
48203
|
-
},{}],
|
|
48400
|
+
},{}],313:[function(require,module,exports){
|
|
48204
48401
|
"use strict";
|
|
48205
48402
|
/*!
|
|
48206
48403
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48380,7 +48577,7 @@ ParseTreeMatch = __decorate([
|
|
|
48380
48577
|
], ParseTreeMatch);
|
|
48381
48578
|
exports.ParseTreeMatch = ParseTreeMatch;
|
|
48382
48579
|
|
|
48383
|
-
},{"../../Decorators":
|
|
48580
|
+
},{"../../Decorators":187}],314:[function(require,module,exports){
|
|
48384
48581
|
"use strict";
|
|
48385
48582
|
/*!
|
|
48386
48583
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48538,7 +48735,7 @@ ParseTreePattern = __decorate([
|
|
|
48538
48735
|
], ParseTreePattern);
|
|
48539
48736
|
exports.ParseTreePattern = ParseTreePattern;
|
|
48540
48737
|
|
|
48541
|
-
},{"../../Decorators":
|
|
48738
|
+
},{"../../Decorators":187,"../xpath/XPath":320}],315:[function(require,module,exports){
|
|
48542
48739
|
"use strict";
|
|
48543
48740
|
/*!
|
|
48544
48741
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49016,7 +49213,7 @@ exports.ParseTreePatternMatcher = ParseTreePatternMatcher;
|
|
|
49016
49213
|
ParseTreePatternMatcher.StartRuleDoesNotConsumeFullPattern = StartRuleDoesNotConsumeFullPattern;
|
|
49017
49214
|
})(ParseTreePatternMatcher = exports.ParseTreePatternMatcher || (exports.ParseTreePatternMatcher = {}));
|
|
49018
49215
|
|
|
49019
|
-
},{"../../BailErrorStrategy":
|
|
49216
|
+
},{"../../BailErrorStrategy":177,"../../CharStreams":180,"../../CommonTokenStream":185,"../../Decorators":187,"../../ListTokenSource":198,"../../ParserInterpreter":202,"../../ParserRuleContext":203,"../../RecognitionException":206,"../../Token":212,"../../misc/MultiMap":301,"../../misc/ParseCancellationException":304,"../RuleNode":309,"../TerminalNode":310,"./ParseTreeMatch":313,"./ParseTreePattern":314,"./RuleTagToken":316,"./TagChunk":317,"./TextChunk":318,"./TokenTagToken":319}],316:[function(require,module,exports){
|
|
49020
49217
|
"use strict";
|
|
49021
49218
|
/*!
|
|
49022
49219
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49214,7 +49411,7 @@ RuleTagToken = __decorate([
|
|
|
49214
49411
|
], RuleTagToken);
|
|
49215
49412
|
exports.RuleTagToken = RuleTagToken;
|
|
49216
49413
|
|
|
49217
|
-
},{"../../Decorators":
|
|
49414
|
+
},{"../../Decorators":187,"../../Token":212}],317:[function(require,module,exports){
|
|
49218
49415
|
"use strict";
|
|
49219
49416
|
/*!
|
|
49220
49417
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49301,7 +49498,7 @@ __decorate([
|
|
|
49301
49498
|
], TagChunk.prototype, "toString", null);
|
|
49302
49499
|
exports.TagChunk = TagChunk;
|
|
49303
49500
|
|
|
49304
|
-
},{"../../Decorators":
|
|
49501
|
+
},{"../../Decorators":187,"./Chunk":312}],318:[function(require,module,exports){
|
|
49305
49502
|
"use strict";
|
|
49306
49503
|
/*!
|
|
49307
49504
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49371,7 +49568,7 @@ TextChunk = __decorate([
|
|
|
49371
49568
|
], TextChunk);
|
|
49372
49569
|
exports.TextChunk = TextChunk;
|
|
49373
49570
|
|
|
49374
|
-
},{"../../Decorators":
|
|
49571
|
+
},{"../../Decorators":187,"./Chunk":312}],319:[function(require,module,exports){
|
|
49375
49572
|
"use strict";
|
|
49376
49573
|
/*!
|
|
49377
49574
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49466,7 +49663,7 @@ TokenTagToken = __decorate([
|
|
|
49466
49663
|
], TokenTagToken);
|
|
49467
49664
|
exports.TokenTagToken = TokenTagToken;
|
|
49468
49665
|
|
|
49469
|
-
},{"../../CommonToken":
|
|
49666
|
+
},{"../../CommonToken":183,"../../Decorators":187}],320:[function(require,module,exports){
|
|
49470
49667
|
"use strict";
|
|
49471
49668
|
/*!
|
|
49472
49669
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49663,7 +49860,7 @@ exports.XPath = XPath;
|
|
|
49663
49860
|
XPath.WILDCARD = "*"; // word not operator/separator
|
|
49664
49861
|
XPath.NOT = "!"; // word for invert operator
|
|
49665
49862
|
|
|
49666
|
-
},{"../../CharStreams":
|
|
49863
|
+
},{"../../CharStreams":180,"../../CommonTokenStream":185,"../../LexerNoViableAltException":197,"../../ParserRuleContext":203,"../../Token":212,"./XPathLexer":322,"./XPathLexerErrorListener":323,"./XPathRuleAnywhereElement":324,"./XPathRuleElement":325,"./XPathTokenAnywhereElement":326,"./XPathTokenElement":327,"./XPathWildcardAnywhereElement":328,"./XPathWildcardElement":329}],321:[function(require,module,exports){
|
|
49667
49864
|
"use strict";
|
|
49668
49865
|
/*!
|
|
49669
49866
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49698,7 +49895,7 @@ __decorate([
|
|
|
49698
49895
|
], XPathElement.prototype, "toString", null);
|
|
49699
49896
|
exports.XPathElement = XPathElement;
|
|
49700
49897
|
|
|
49701
|
-
},{"../../Decorators":
|
|
49898
|
+
},{"../../Decorators":187}],322:[function(require,module,exports){
|
|
49702
49899
|
"use strict";
|
|
49703
49900
|
// Generated from XPathLexer.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
49704
49901
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -50173,7 +50370,7 @@ XPathLexer._serializedATN = Utils.join([
|
|
|
50173
50370
|
XPathLexer._serializedATNSegment1,
|
|
50174
50371
|
], "");
|
|
50175
50372
|
|
|
50176
|
-
},{"../../Lexer":
|
|
50373
|
+
},{"../../Lexer":195,"../../VocabularyImpl":218,"../../atn/ATNDeserializer":224,"../../atn/LexerATNSimulator":245,"../../misc/Utils":306}],323:[function(require,module,exports){
|
|
50177
50374
|
"use strict";
|
|
50178
50375
|
/*!
|
|
50179
50376
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50198,7 +50395,7 @@ __decorate([
|
|
|
50198
50395
|
], XPathLexerErrorListener.prototype, "syntaxError", null);
|
|
50199
50396
|
exports.XPathLexerErrorListener = XPathLexerErrorListener;
|
|
50200
50397
|
|
|
50201
|
-
},{"../../Decorators":
|
|
50398
|
+
},{"../../Decorators":187}],324:[function(require,module,exports){
|
|
50202
50399
|
"use strict";
|
|
50203
50400
|
/*!
|
|
50204
50401
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50232,7 +50429,7 @@ __decorate([
|
|
|
50232
50429
|
], XPathRuleAnywhereElement.prototype, "evaluate", null);
|
|
50233
50430
|
exports.XPathRuleAnywhereElement = XPathRuleAnywhereElement;
|
|
50234
50431
|
|
|
50235
|
-
},{"../../Decorators":
|
|
50432
|
+
},{"../../Decorators":187,"../Trees":311,"./XPathElement":321}],325:[function(require,module,exports){
|
|
50236
50433
|
"use strict";
|
|
50237
50434
|
/*!
|
|
50238
50435
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50275,7 +50472,7 @@ __decorate([
|
|
|
50275
50472
|
], XPathRuleElement.prototype, "evaluate", null);
|
|
50276
50473
|
exports.XPathRuleElement = XPathRuleElement;
|
|
50277
50474
|
|
|
50278
|
-
},{"../../Decorators":
|
|
50475
|
+
},{"../../Decorators":187,"../../ParserRuleContext":203,"../Trees":311,"./XPathElement":321}],326:[function(require,module,exports){
|
|
50279
50476
|
"use strict";
|
|
50280
50477
|
/*!
|
|
50281
50478
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50307,7 +50504,7 @@ __decorate([
|
|
|
50307
50504
|
], XPathTokenAnywhereElement.prototype, "evaluate", null);
|
|
50308
50505
|
exports.XPathTokenAnywhereElement = XPathTokenAnywhereElement;
|
|
50309
50506
|
|
|
50310
|
-
},{"../../Decorators":
|
|
50507
|
+
},{"../../Decorators":187,"../Trees":311,"./XPathElement":321}],327:[function(require,module,exports){
|
|
50311
50508
|
"use strict";
|
|
50312
50509
|
/*!
|
|
50313
50510
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50350,7 +50547,7 @@ __decorate([
|
|
|
50350
50547
|
], XPathTokenElement.prototype, "evaluate", null);
|
|
50351
50548
|
exports.XPathTokenElement = XPathTokenElement;
|
|
50352
50549
|
|
|
50353
|
-
},{"../../Decorators":
|
|
50550
|
+
},{"../../Decorators":187,"../TerminalNode":310,"../Trees":311,"./XPathElement":321}],328:[function(require,module,exports){
|
|
50354
50551
|
"use strict";
|
|
50355
50552
|
/*!
|
|
50356
50553
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50386,7 +50583,7 @@ __decorate([
|
|
|
50386
50583
|
], XPathWildcardAnywhereElement.prototype, "evaluate", null);
|
|
50387
50584
|
exports.XPathWildcardAnywhereElement = XPathWildcardAnywhereElement;
|
|
50388
50585
|
|
|
50389
|
-
},{"../../Decorators":
|
|
50586
|
+
},{"../../Decorators":187,"../Trees":311,"./XPath":320,"./XPathElement":321}],329:[function(require,module,exports){
|
|
50390
50587
|
"use strict";
|
|
50391
50588
|
/*!
|
|
50392
50589
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50426,7 +50623,7 @@ __decorate([
|
|
|
50426
50623
|
], XPathWildcardElement.prototype, "evaluate", null);
|
|
50427
50624
|
exports.XPathWildcardElement = XPathWildcardElement;
|
|
50428
50625
|
|
|
50429
|
-
},{"../../Decorators":
|
|
50626
|
+
},{"../../Decorators":187,"../Trees":311,"./XPath":320,"./XPathElement":321}],330:[function(require,module,exports){
|
|
50430
50627
|
(function (global){(function (){
|
|
50431
50628
|
'use strict';
|
|
50432
50629
|
|
|
@@ -50936,7 +51133,7 @@ var objectKeys = Object.keys || function (obj) {
|
|
|
50936
51133
|
};
|
|
50937
51134
|
|
|
50938
51135
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
50939
|
-
},{"object.assign/polyfill":
|
|
51136
|
+
},{"object.assign/polyfill":376,"util/":333}],331:[function(require,module,exports){
|
|
50940
51137
|
if (typeof Object.create === 'function') {
|
|
50941
51138
|
// implementation from standard node.js 'util' module
|
|
50942
51139
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -50961,14 +51158,14 @@ if (typeof Object.create === 'function') {
|
|
|
50961
51158
|
}
|
|
50962
51159
|
}
|
|
50963
51160
|
|
|
50964
|
-
},{}],
|
|
51161
|
+
},{}],332:[function(require,module,exports){
|
|
50965
51162
|
module.exports = function isBuffer(arg) {
|
|
50966
51163
|
return arg && typeof arg === 'object'
|
|
50967
51164
|
&& typeof arg.copy === 'function'
|
|
50968
51165
|
&& typeof arg.fill === 'function'
|
|
50969
51166
|
&& typeof arg.readUInt8 === 'function';
|
|
50970
51167
|
}
|
|
50971
|
-
},{}],
|
|
51168
|
+
},{}],333:[function(require,module,exports){
|
|
50972
51169
|
(function (process,global){(function (){
|
|
50973
51170
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
50974
51171
|
//
|
|
@@ -51558,7 +51755,28 @@ function hasOwnProperty(obj, prop) {
|
|
|
51558
51755
|
}
|
|
51559
51756
|
|
|
51560
51757
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51561
|
-
},{"./support/isBuffer":
|
|
51758
|
+
},{"./support/isBuffer":332,"_process":378,"inherits":331}],334:[function(require,module,exports){
|
|
51759
|
+
(function (global){(function (){
|
|
51760
|
+
'use strict';
|
|
51761
|
+
|
|
51762
|
+
var possibleNames = require('possible-typed-array-names');
|
|
51763
|
+
|
|
51764
|
+
var g = typeof globalThis === 'undefined' ? global : globalThis;
|
|
51765
|
+
|
|
51766
|
+
/** @type {import('.')} */
|
|
51767
|
+
module.exports = function availableTypedArrays() {
|
|
51768
|
+
var /** @type {ReturnType<typeof availableTypedArrays>} */ out = [];
|
|
51769
|
+
for (var i = 0; i < possibleNames.length; i++) {
|
|
51770
|
+
if (typeof g[possibleNames[i]] === 'function') {
|
|
51771
|
+
// @ts-expect-error
|
|
51772
|
+
out[out.length] = possibleNames[i];
|
|
51773
|
+
}
|
|
51774
|
+
}
|
|
51775
|
+
return out;
|
|
51776
|
+
};
|
|
51777
|
+
|
|
51778
|
+
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51779
|
+
},{"possible-typed-array-names":377}],335:[function(require,module,exports){
|
|
51562
51780
|
(function (process,global){(function (){
|
|
51563
51781
|
module.exports = process.hrtime || hrtime
|
|
51564
51782
|
|
|
@@ -51589,7 +51807,7 @@ function hrtime(previousTimestamp){
|
|
|
51589
51807
|
return [seconds,nanoseconds]
|
|
51590
51808
|
}
|
|
51591
51809
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51592
|
-
},{"_process":
|
|
51810
|
+
},{"_process":378}],336:[function(require,module,exports){
|
|
51593
51811
|
'use strict';
|
|
51594
51812
|
|
|
51595
51813
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -51606,7 +51824,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
51606
51824
|
return intrinsic;
|
|
51607
51825
|
};
|
|
51608
51826
|
|
|
51609
|
-
},{"./":
|
|
51827
|
+
},{"./":337,"get-intrinsic":340}],337:[function(require,module,exports){
|
|
51610
51828
|
'use strict';
|
|
51611
51829
|
|
|
51612
51830
|
var bind = require('function-bind');
|
|
@@ -51655,157 +51873,49 @@ if ($defineProperty) {
|
|
|
51655
51873
|
module.exports.apply = applyBind;
|
|
51656
51874
|
}
|
|
51657
51875
|
|
|
51658
|
-
},{"function-bind":
|
|
51659
|
-
'use strict';
|
|
51660
|
-
|
|
51661
|
-
var $defineProperty = require('es-define-property');
|
|
51662
|
-
|
|
51663
|
-
var $SyntaxError = require('es-errors/syntax');
|
|
51664
|
-
var $TypeError = require('es-errors/type');
|
|
51665
|
-
|
|
51666
|
-
var gopd = require('gopd');
|
|
51667
|
-
|
|
51668
|
-
/** @type {import('.')} */
|
|
51669
|
-
module.exports = function defineDataProperty(
|
|
51670
|
-
obj,
|
|
51671
|
-
property,
|
|
51672
|
-
value
|
|
51673
|
-
) {
|
|
51674
|
-
if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
|
|
51675
|
-
throw new $TypeError('`obj` must be an object or a function`');
|
|
51676
|
-
}
|
|
51677
|
-
if (typeof property !== 'string' && typeof property !== 'symbol') {
|
|
51678
|
-
throw new $TypeError('`property` must be a string or a symbol`');
|
|
51679
|
-
}
|
|
51680
|
-
if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
|
|
51681
|
-
throw new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');
|
|
51682
|
-
}
|
|
51683
|
-
if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
|
|
51684
|
-
throw new $TypeError('`nonWritable`, if provided, must be a boolean or null');
|
|
51685
|
-
}
|
|
51686
|
-
if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
|
|
51687
|
-
throw new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');
|
|
51688
|
-
}
|
|
51689
|
-
if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
|
|
51690
|
-
throw new $TypeError('`loose`, if provided, must be a boolean');
|
|
51691
|
-
}
|
|
51692
|
-
|
|
51693
|
-
var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
|
|
51694
|
-
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
51695
|
-
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
51696
|
-
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
51697
|
-
|
|
51698
|
-
/* @type {false | TypedPropertyDescriptor<unknown>} */
|
|
51699
|
-
var desc = !!gopd && gopd(obj, property);
|
|
51700
|
-
|
|
51701
|
-
if ($defineProperty) {
|
|
51702
|
-
$defineProperty(obj, property, {
|
|
51703
|
-
configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
|
|
51704
|
-
enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
|
|
51705
|
-
value: value,
|
|
51706
|
-
writable: nonWritable === null && desc ? desc.writable : !nonWritable
|
|
51707
|
-
});
|
|
51708
|
-
} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {
|
|
51709
|
-
// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable
|
|
51710
|
-
obj[property] = value; // eslint-disable-line no-param-reassign
|
|
51711
|
-
} else {
|
|
51712
|
-
throw new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');
|
|
51713
|
-
}
|
|
51714
|
-
};
|
|
51715
|
-
|
|
51716
|
-
},{"es-define-property":336,"es-errors/syntax":344,"es-errors/type":345,"gopd":351}],336:[function(require,module,exports){
|
|
51717
|
-
'use strict';
|
|
51718
|
-
|
|
51719
|
-
var GetIntrinsic = require('get-intrinsic');
|
|
51720
|
-
|
|
51721
|
-
/** @type {import('.')} */
|
|
51722
|
-
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;
|
|
51723
|
-
if ($defineProperty) {
|
|
51724
|
-
try {
|
|
51725
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
51726
|
-
} catch (e) {
|
|
51727
|
-
// IE 8 has a broken defineProperty
|
|
51728
|
-
$defineProperty = false;
|
|
51729
|
-
}
|
|
51730
|
-
}
|
|
51731
|
-
|
|
51732
|
-
module.exports = $defineProperty;
|
|
51733
|
-
|
|
51734
|
-
},{"get-intrinsic":339}],337:[function(require,module,exports){
|
|
51876
|
+
},{"function-bind":339,"get-intrinsic":340}],338:[function(require,module,exports){
|
|
51735
51877
|
'use strict';
|
|
51736
51878
|
|
|
51737
51879
|
/* eslint no-invalid-this: 1 */
|
|
51738
51880
|
|
|
51739
51881
|
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
|
|
51882
|
+
var slice = Array.prototype.slice;
|
|
51740
51883
|
var toStr = Object.prototype.toString;
|
|
51741
|
-
var max = Math.max;
|
|
51742
51884
|
var funcType = '[object Function]';
|
|
51743
51885
|
|
|
51744
|
-
var concatty = function concatty(a, b) {
|
|
51745
|
-
var arr = [];
|
|
51746
|
-
|
|
51747
|
-
for (var i = 0; i < a.length; i += 1) {
|
|
51748
|
-
arr[i] = a[i];
|
|
51749
|
-
}
|
|
51750
|
-
for (var j = 0; j < b.length; j += 1) {
|
|
51751
|
-
arr[j + a.length] = b[j];
|
|
51752
|
-
}
|
|
51753
|
-
|
|
51754
|
-
return arr;
|
|
51755
|
-
};
|
|
51756
|
-
|
|
51757
|
-
var slicy = function slicy(arrLike, offset) {
|
|
51758
|
-
var arr = [];
|
|
51759
|
-
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
51760
|
-
arr[j] = arrLike[i];
|
|
51761
|
-
}
|
|
51762
|
-
return arr;
|
|
51763
|
-
};
|
|
51764
|
-
|
|
51765
|
-
var joiny = function (arr, joiner) {
|
|
51766
|
-
var str = '';
|
|
51767
|
-
for (var i = 0; i < arr.length; i += 1) {
|
|
51768
|
-
str += arr[i];
|
|
51769
|
-
if (i + 1 < arr.length) {
|
|
51770
|
-
str += joiner;
|
|
51771
|
-
}
|
|
51772
|
-
}
|
|
51773
|
-
return str;
|
|
51774
|
-
};
|
|
51775
|
-
|
|
51776
51886
|
module.exports = function bind(that) {
|
|
51777
51887
|
var target = this;
|
|
51778
|
-
if (typeof target !== 'function' || toStr.
|
|
51888
|
+
if (typeof target !== 'function' || toStr.call(target) !== funcType) {
|
|
51779
51889
|
throw new TypeError(ERROR_MESSAGE + target);
|
|
51780
51890
|
}
|
|
51781
|
-
var args =
|
|
51891
|
+
var args = slice.call(arguments, 1);
|
|
51782
51892
|
|
|
51783
51893
|
var bound;
|
|
51784
51894
|
var binder = function () {
|
|
51785
51895
|
if (this instanceof bound) {
|
|
51786
51896
|
var result = target.apply(
|
|
51787
51897
|
this,
|
|
51788
|
-
|
|
51898
|
+
args.concat(slice.call(arguments))
|
|
51789
51899
|
);
|
|
51790
51900
|
if (Object(result) === result) {
|
|
51791
51901
|
return result;
|
|
51792
51902
|
}
|
|
51793
51903
|
return this;
|
|
51904
|
+
} else {
|
|
51905
|
+
return target.apply(
|
|
51906
|
+
that,
|
|
51907
|
+
args.concat(slice.call(arguments))
|
|
51908
|
+
);
|
|
51794
51909
|
}
|
|
51795
|
-
return target.apply(
|
|
51796
|
-
that,
|
|
51797
|
-
concatty(args, arguments)
|
|
51798
|
-
);
|
|
51799
|
-
|
|
51800
51910
|
};
|
|
51801
51911
|
|
|
51802
|
-
var boundLength = max(0, target.length - args.length);
|
|
51912
|
+
var boundLength = Math.max(0, target.length - args.length);
|
|
51803
51913
|
var boundArgs = [];
|
|
51804
51914
|
for (var i = 0; i < boundLength; i++) {
|
|
51805
|
-
boundArgs
|
|
51915
|
+
boundArgs.push('$' + i);
|
|
51806
51916
|
}
|
|
51807
51917
|
|
|
51808
|
-
bound = Function('binder', 'return function (' +
|
|
51918
|
+
bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
|
|
51809
51919
|
|
|
51810
51920
|
if (target.prototype) {
|
|
51811
51921
|
var Empty = function Empty() {};
|
|
@@ -51817,27 +51927,21 @@ module.exports = function bind(that) {
|
|
|
51817
51927
|
return bound;
|
|
51818
51928
|
};
|
|
51819
51929
|
|
|
51820
|
-
},{}],
|
|
51930
|
+
},{}],339:[function(require,module,exports){
|
|
51821
51931
|
'use strict';
|
|
51822
51932
|
|
|
51823
51933
|
var implementation = require('./implementation');
|
|
51824
51934
|
|
|
51825
51935
|
module.exports = Function.prototype.bind || implementation;
|
|
51826
51936
|
|
|
51827
|
-
},{"./implementation":
|
|
51937
|
+
},{"./implementation":338}],340:[function(require,module,exports){
|
|
51828
51938
|
'use strict';
|
|
51829
51939
|
|
|
51830
51940
|
var undefined;
|
|
51831
51941
|
|
|
51832
|
-
var $
|
|
51833
|
-
var $EvalError = require('es-errors/eval');
|
|
51834
|
-
var $RangeError = require('es-errors/range');
|
|
51835
|
-
var $ReferenceError = require('es-errors/ref');
|
|
51836
|
-
var $SyntaxError = require('es-errors/syntax');
|
|
51837
|
-
var $TypeError = require('es-errors/type');
|
|
51838
|
-
var $URIError = require('es-errors/uri');
|
|
51839
|
-
|
|
51942
|
+
var $SyntaxError = SyntaxError;
|
|
51840
51943
|
var $Function = Function;
|
|
51944
|
+
var $TypeError = TypeError;
|
|
51841
51945
|
|
|
51842
51946
|
// eslint-disable-next-line consistent-return
|
|
51843
51947
|
var getEvalledConstructor = function (expressionSyntax) {
|
|
@@ -51876,24 +51980,18 @@ var ThrowTypeError = $gOPD
|
|
|
51876
51980
|
: throwTypeError;
|
|
51877
51981
|
|
|
51878
51982
|
var hasSymbols = require('has-symbols')();
|
|
51879
|
-
var hasProto = require('has-proto')();
|
|
51880
51983
|
|
|
51881
|
-
var getProto = Object.getPrototypeOf || (
|
|
51882
|
-
hasProto
|
|
51883
|
-
? function (x) { return x.__proto__; } // eslint-disable-line no-proto
|
|
51884
|
-
: null
|
|
51885
|
-
);
|
|
51984
|
+
var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
|
|
51886
51985
|
|
|
51887
51986
|
var needsEval = {};
|
|
51888
51987
|
|
|
51889
|
-
var TypedArray = typeof Uint8Array === 'undefined'
|
|
51988
|
+
var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
|
|
51890
51989
|
|
|
51891
51990
|
var INTRINSICS = {
|
|
51892
|
-
__proto__: null,
|
|
51893
51991
|
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
|
|
51894
51992
|
'%Array%': Array,
|
|
51895
51993
|
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
|
|
51896
|
-
'%ArrayIteratorPrototype%': hasSymbols
|
|
51994
|
+
'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
|
|
51897
51995
|
'%AsyncFromSyncIteratorPrototype%': undefined,
|
|
51898
51996
|
'%AsyncFunction%': needsEval,
|
|
51899
51997
|
'%AsyncGenerator%': needsEval,
|
|
@@ -51910,9 +52008,9 @@ var INTRINSICS = {
|
|
|
51910
52008
|
'%decodeURIComponent%': decodeURIComponent,
|
|
51911
52009
|
'%encodeURI%': encodeURI,
|
|
51912
52010
|
'%encodeURIComponent%': encodeURIComponent,
|
|
51913
|
-
'%Error%':
|
|
52011
|
+
'%Error%': Error,
|
|
51914
52012
|
'%eval%': eval, // eslint-disable-line no-eval
|
|
51915
|
-
'%EvalError%':
|
|
52013
|
+
'%EvalError%': EvalError,
|
|
51916
52014
|
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
|
51917
52015
|
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
|
51918
52016
|
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
|
@@ -51923,10 +52021,10 @@ var INTRINSICS = {
|
|
|
51923
52021
|
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
|
|
51924
52022
|
'%isFinite%': isFinite,
|
|
51925
52023
|
'%isNaN%': isNaN,
|
|
51926
|
-
'%IteratorPrototype%': hasSymbols
|
|
52024
|
+
'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
51927
52025
|
'%JSON%': typeof JSON === 'object' ? JSON : undefined,
|
|
51928
52026
|
'%Map%': typeof Map === 'undefined' ? undefined : Map,
|
|
51929
|
-
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols
|
|
52027
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
51930
52028
|
'%Math%': Math,
|
|
51931
52029
|
'%Number%': Number,
|
|
51932
52030
|
'%Object%': Object,
|
|
@@ -51934,15 +52032,15 @@ var INTRINSICS = {
|
|
|
51934
52032
|
'%parseInt%': parseInt,
|
|
51935
52033
|
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
|
51936
52034
|
'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
|
|
51937
|
-
'%RangeError%':
|
|
51938
|
-
'%ReferenceError%':
|
|
52035
|
+
'%RangeError%': RangeError,
|
|
52036
|
+
'%ReferenceError%': ReferenceError,
|
|
51939
52037
|
'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
|
|
51940
52038
|
'%RegExp%': RegExp,
|
|
51941
52039
|
'%Set%': typeof Set === 'undefined' ? undefined : Set,
|
|
51942
|
-
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols
|
|
52040
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
|
|
51943
52041
|
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
|
|
51944
52042
|
'%String%': String,
|
|
51945
|
-
'%StringIteratorPrototype%': hasSymbols
|
|
52043
|
+
'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
|
|
51946
52044
|
'%Symbol%': hasSymbols ? Symbol : undefined,
|
|
51947
52045
|
'%SyntaxError%': $SyntaxError,
|
|
51948
52046
|
'%ThrowTypeError%': ThrowTypeError,
|
|
@@ -51952,20 +52050,18 @@ var INTRINSICS = {
|
|
|
51952
52050
|
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
|
|
51953
52051
|
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
|
|
51954
52052
|
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
|
|
51955
|
-
'%URIError%':
|
|
52053
|
+
'%URIError%': URIError,
|
|
51956
52054
|
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
|
51957
52055
|
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
|
51958
52056
|
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
51959
52057
|
};
|
|
51960
52058
|
|
|
51961
|
-
|
|
51962
|
-
|
|
51963
|
-
|
|
51964
|
-
|
|
51965
|
-
|
|
51966
|
-
|
|
51967
|
-
INTRINSICS['%Error.prototype%'] = errorProto;
|
|
51968
|
-
}
|
|
52059
|
+
try {
|
|
52060
|
+
null.error; // eslint-disable-line no-unused-expressions
|
|
52061
|
+
} catch (e) {
|
|
52062
|
+
// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
|
|
52063
|
+
var errorProto = getProto(getProto(e));
|
|
52064
|
+
INTRINSICS['%Error.prototype%'] = errorProto;
|
|
51969
52065
|
}
|
|
51970
52066
|
|
|
51971
52067
|
var doEval = function doEval(name) {
|
|
@@ -51983,7 +52079,7 @@ var doEval = function doEval(name) {
|
|
|
51983
52079
|
}
|
|
51984
52080
|
} else if (name === '%AsyncIteratorPrototype%') {
|
|
51985
52081
|
var gen = doEval('%AsyncGenerator%');
|
|
51986
|
-
if (gen
|
|
52082
|
+
if (gen) {
|
|
51987
52083
|
value = getProto(gen.prototype);
|
|
51988
52084
|
}
|
|
51989
52085
|
}
|
|
@@ -51994,7 +52090,6 @@ var doEval = function doEval(name) {
|
|
|
51994
52090
|
};
|
|
51995
52091
|
|
|
51996
52092
|
var LEGACY_ALIASES = {
|
|
51997
|
-
__proto__: null,
|
|
51998
52093
|
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
51999
52094
|
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
52000
52095
|
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
@@ -52049,7 +52144,7 @@ var LEGACY_ALIASES = {
|
|
|
52049
52144
|
};
|
|
52050
52145
|
|
|
52051
52146
|
var bind = require('function-bind');
|
|
52052
|
-
var hasOwn = require('
|
|
52147
|
+
var hasOwn = require('has');
|
|
52053
52148
|
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
52054
52149
|
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
52055
52150
|
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
@@ -52185,49 +52280,125 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
52185
52280
|
return value;
|
|
52186
52281
|
};
|
|
52187
52282
|
|
|
52188
|
-
},{"
|
|
52283
|
+
},{"function-bind":339,"has":364,"has-symbols":359}],341:[function(require,module,exports){
|
|
52284
|
+
'use strict';
|
|
52285
|
+
|
|
52286
|
+
var $defineProperty = require('es-define-property');
|
|
52287
|
+
|
|
52288
|
+
var $SyntaxError = require('es-errors/syntax');
|
|
52289
|
+
var $TypeError = require('es-errors/type');
|
|
52290
|
+
|
|
52291
|
+
var gopd = require('gopd');
|
|
52292
|
+
|
|
52293
|
+
/** @type {import('.')} */
|
|
52294
|
+
module.exports = function defineDataProperty(
|
|
52295
|
+
obj,
|
|
52296
|
+
property,
|
|
52297
|
+
value
|
|
52298
|
+
) {
|
|
52299
|
+
if (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {
|
|
52300
|
+
throw new $TypeError('`obj` must be an object or a function`');
|
|
52301
|
+
}
|
|
52302
|
+
if (typeof property !== 'string' && typeof property !== 'symbol') {
|
|
52303
|
+
throw new $TypeError('`property` must be a string or a symbol`');
|
|
52304
|
+
}
|
|
52305
|
+
if (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {
|
|
52306
|
+
throw new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');
|
|
52307
|
+
}
|
|
52308
|
+
if (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {
|
|
52309
|
+
throw new $TypeError('`nonWritable`, if provided, must be a boolean or null');
|
|
52310
|
+
}
|
|
52311
|
+
if (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {
|
|
52312
|
+
throw new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');
|
|
52313
|
+
}
|
|
52314
|
+
if (arguments.length > 6 && typeof arguments[6] !== 'boolean') {
|
|
52315
|
+
throw new $TypeError('`loose`, if provided, must be a boolean');
|
|
52316
|
+
}
|
|
52317
|
+
|
|
52318
|
+
var nonEnumerable = arguments.length > 3 ? arguments[3] : null;
|
|
52319
|
+
var nonWritable = arguments.length > 4 ? arguments[4] : null;
|
|
52320
|
+
var nonConfigurable = arguments.length > 5 ? arguments[5] : null;
|
|
52321
|
+
var loose = arguments.length > 6 ? arguments[6] : false;
|
|
52322
|
+
|
|
52323
|
+
/* @type {false | TypedPropertyDescriptor<unknown>} */
|
|
52324
|
+
var desc = !!gopd && gopd(obj, property);
|
|
52325
|
+
|
|
52326
|
+
if ($defineProperty) {
|
|
52327
|
+
$defineProperty(obj, property, {
|
|
52328
|
+
configurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,
|
|
52329
|
+
enumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,
|
|
52330
|
+
value: value,
|
|
52331
|
+
writable: nonWritable === null && desc ? desc.writable : !nonWritable
|
|
52332
|
+
});
|
|
52333
|
+
} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {
|
|
52334
|
+
// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable
|
|
52335
|
+
obj[property] = value; // eslint-disable-line no-param-reassign
|
|
52336
|
+
} else {
|
|
52337
|
+
throw new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');
|
|
52338
|
+
}
|
|
52339
|
+
};
|
|
52340
|
+
|
|
52341
|
+
},{"es-define-property":342,"es-errors/syntax":347,"es-errors/type":348,"gopd":354}],342:[function(require,module,exports){
|
|
52342
|
+
'use strict';
|
|
52343
|
+
|
|
52344
|
+
var GetIntrinsic = require('get-intrinsic');
|
|
52345
|
+
|
|
52346
|
+
/** @type {import('.')} */
|
|
52347
|
+
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true) || false;
|
|
52348
|
+
if ($defineProperty) {
|
|
52349
|
+
try {
|
|
52350
|
+
$defineProperty({}, 'a', { value: 1 });
|
|
52351
|
+
} catch (e) {
|
|
52352
|
+
// IE 8 has a broken defineProperty
|
|
52353
|
+
$defineProperty = false;
|
|
52354
|
+
}
|
|
52355
|
+
}
|
|
52356
|
+
|
|
52357
|
+
module.exports = $defineProperty;
|
|
52358
|
+
|
|
52359
|
+
},{"get-intrinsic":353}],343:[function(require,module,exports){
|
|
52189
52360
|
'use strict';
|
|
52190
52361
|
|
|
52191
52362
|
/** @type {import('./eval')} */
|
|
52192
52363
|
module.exports = EvalError;
|
|
52193
52364
|
|
|
52194
|
-
},{}],
|
|
52365
|
+
},{}],344:[function(require,module,exports){
|
|
52195
52366
|
'use strict';
|
|
52196
52367
|
|
|
52197
52368
|
/** @type {import('.')} */
|
|
52198
52369
|
module.exports = Error;
|
|
52199
52370
|
|
|
52200
|
-
},{}],
|
|
52371
|
+
},{}],345:[function(require,module,exports){
|
|
52201
52372
|
'use strict';
|
|
52202
52373
|
|
|
52203
52374
|
/** @type {import('./range')} */
|
|
52204
52375
|
module.exports = RangeError;
|
|
52205
52376
|
|
|
52206
|
-
},{}],
|
|
52377
|
+
},{}],346:[function(require,module,exports){
|
|
52207
52378
|
'use strict';
|
|
52208
52379
|
|
|
52209
52380
|
/** @type {import('./ref')} */
|
|
52210
52381
|
module.exports = ReferenceError;
|
|
52211
52382
|
|
|
52212
|
-
},{}],
|
|
52383
|
+
},{}],347:[function(require,module,exports){
|
|
52213
52384
|
'use strict';
|
|
52214
52385
|
|
|
52215
52386
|
/** @type {import('./syntax')} */
|
|
52216
52387
|
module.exports = SyntaxError;
|
|
52217
52388
|
|
|
52218
|
-
},{}],
|
|
52389
|
+
},{}],348:[function(require,module,exports){
|
|
52219
52390
|
'use strict';
|
|
52220
52391
|
|
|
52221
52392
|
/** @type {import('./type')} */
|
|
52222
52393
|
module.exports = TypeError;
|
|
52223
52394
|
|
|
52224
|
-
},{}],
|
|
52395
|
+
},{}],349:[function(require,module,exports){
|
|
52225
52396
|
'use strict';
|
|
52226
52397
|
|
|
52227
52398
|
/** @type {import('./uri')} */
|
|
52228
52399
|
module.exports = URIError;
|
|
52229
52400
|
|
|
52230
|
-
},{}],
|
|
52401
|
+
},{}],350:[function(require,module,exports){
|
|
52231
52402
|
'use strict';
|
|
52232
52403
|
|
|
52233
52404
|
var isCallable = require('is-callable');
|
|
@@ -52291,49 +52462,81 @@ var forEach = function forEach(list, iterator, thisArg) {
|
|
|
52291
52462
|
|
|
52292
52463
|
module.exports = forEach;
|
|
52293
52464
|
|
|
52294
|
-
},{"is-callable":
|
|
52465
|
+
},{"is-callable":368}],351:[function(require,module,exports){
|
|
52295
52466
|
'use strict';
|
|
52296
52467
|
|
|
52297
52468
|
/* eslint no-invalid-this: 1 */
|
|
52298
52469
|
|
|
52299
52470
|
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
|
|
52300
|
-
var slice = Array.prototype.slice;
|
|
52301
52471
|
var toStr = Object.prototype.toString;
|
|
52472
|
+
var max = Math.max;
|
|
52302
52473
|
var funcType = '[object Function]';
|
|
52303
52474
|
|
|
52475
|
+
var concatty = function concatty(a, b) {
|
|
52476
|
+
var arr = [];
|
|
52477
|
+
|
|
52478
|
+
for (var i = 0; i < a.length; i += 1) {
|
|
52479
|
+
arr[i] = a[i];
|
|
52480
|
+
}
|
|
52481
|
+
for (var j = 0; j < b.length; j += 1) {
|
|
52482
|
+
arr[j + a.length] = b[j];
|
|
52483
|
+
}
|
|
52484
|
+
|
|
52485
|
+
return arr;
|
|
52486
|
+
};
|
|
52487
|
+
|
|
52488
|
+
var slicy = function slicy(arrLike, offset) {
|
|
52489
|
+
var arr = [];
|
|
52490
|
+
for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) {
|
|
52491
|
+
arr[j] = arrLike[i];
|
|
52492
|
+
}
|
|
52493
|
+
return arr;
|
|
52494
|
+
};
|
|
52495
|
+
|
|
52496
|
+
var joiny = function (arr, joiner) {
|
|
52497
|
+
var str = '';
|
|
52498
|
+
for (var i = 0; i < arr.length; i += 1) {
|
|
52499
|
+
str += arr[i];
|
|
52500
|
+
if (i + 1 < arr.length) {
|
|
52501
|
+
str += joiner;
|
|
52502
|
+
}
|
|
52503
|
+
}
|
|
52504
|
+
return str;
|
|
52505
|
+
};
|
|
52506
|
+
|
|
52304
52507
|
module.exports = function bind(that) {
|
|
52305
52508
|
var target = this;
|
|
52306
|
-
if (typeof target !== 'function' || toStr.
|
|
52509
|
+
if (typeof target !== 'function' || toStr.apply(target) !== funcType) {
|
|
52307
52510
|
throw new TypeError(ERROR_MESSAGE + target);
|
|
52308
52511
|
}
|
|
52309
|
-
var args =
|
|
52512
|
+
var args = slicy(arguments, 1);
|
|
52310
52513
|
|
|
52311
52514
|
var bound;
|
|
52312
52515
|
var binder = function () {
|
|
52313
52516
|
if (this instanceof bound) {
|
|
52314
52517
|
var result = target.apply(
|
|
52315
52518
|
this,
|
|
52316
|
-
args
|
|
52519
|
+
concatty(args, arguments)
|
|
52317
52520
|
);
|
|
52318
52521
|
if (Object(result) === result) {
|
|
52319
52522
|
return result;
|
|
52320
52523
|
}
|
|
52321
52524
|
return this;
|
|
52322
|
-
} else {
|
|
52323
|
-
return target.apply(
|
|
52324
|
-
that,
|
|
52325
|
-
args.concat(slice.call(arguments))
|
|
52326
|
-
);
|
|
52327
52525
|
}
|
|
52526
|
+
return target.apply(
|
|
52527
|
+
that,
|
|
52528
|
+
concatty(args, arguments)
|
|
52529
|
+
);
|
|
52530
|
+
|
|
52328
52531
|
};
|
|
52329
52532
|
|
|
52330
|
-
var boundLength =
|
|
52533
|
+
var boundLength = max(0, target.length - args.length);
|
|
52331
52534
|
var boundArgs = [];
|
|
52332
52535
|
for (var i = 0; i < boundLength; i++) {
|
|
52333
|
-
boundArgs
|
|
52536
|
+
boundArgs[i] = '$' + i;
|
|
52334
52537
|
}
|
|
52335
52538
|
|
|
52336
|
-
bound = Function('binder', 'return function (' + boundArgs
|
|
52539
|
+
bound = Function('binder', 'return function (' + joiny(boundArgs, ',') + '){ return binder.apply(this,arguments); }')(binder);
|
|
52337
52540
|
|
|
52338
52541
|
if (target.prototype) {
|
|
52339
52542
|
var Empty = function Empty() {};
|
|
@@ -52345,16 +52548,22 @@ module.exports = function bind(that) {
|
|
|
52345
52548
|
return bound;
|
|
52346
52549
|
};
|
|
52347
52550
|
|
|
52348
|
-
},{}],
|
|
52349
|
-
arguments[4][
|
|
52350
|
-
},{"./implementation":
|
|
52551
|
+
},{}],352:[function(require,module,exports){
|
|
52552
|
+
arguments[4][339][0].apply(exports,arguments)
|
|
52553
|
+
},{"./implementation":351,"dup":339}],353:[function(require,module,exports){
|
|
52351
52554
|
'use strict';
|
|
52352
52555
|
|
|
52353
52556
|
var undefined;
|
|
52354
52557
|
|
|
52355
|
-
var $
|
|
52558
|
+
var $Error = require('es-errors');
|
|
52559
|
+
var $EvalError = require('es-errors/eval');
|
|
52560
|
+
var $RangeError = require('es-errors/range');
|
|
52561
|
+
var $ReferenceError = require('es-errors/ref');
|
|
52562
|
+
var $SyntaxError = require('es-errors/syntax');
|
|
52563
|
+
var $TypeError = require('es-errors/type');
|
|
52564
|
+
var $URIError = require('es-errors/uri');
|
|
52565
|
+
|
|
52356
52566
|
var $Function = Function;
|
|
52357
|
-
var $TypeError = TypeError;
|
|
52358
52567
|
|
|
52359
52568
|
// eslint-disable-next-line consistent-return
|
|
52360
52569
|
var getEvalledConstructor = function (expressionSyntax) {
|
|
@@ -52393,18 +52602,24 @@ var ThrowTypeError = $gOPD
|
|
|
52393
52602
|
: throwTypeError;
|
|
52394
52603
|
|
|
52395
52604
|
var hasSymbols = require('has-symbols')();
|
|
52605
|
+
var hasProto = require('has-proto')();
|
|
52396
52606
|
|
|
52397
|
-
var getProto = Object.getPrototypeOf ||
|
|
52607
|
+
var getProto = Object.getPrototypeOf || (
|
|
52608
|
+
hasProto
|
|
52609
|
+
? function (x) { return x.__proto__; } // eslint-disable-line no-proto
|
|
52610
|
+
: null
|
|
52611
|
+
);
|
|
52398
52612
|
|
|
52399
52613
|
var needsEval = {};
|
|
52400
52614
|
|
|
52401
|
-
var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
|
|
52615
|
+
var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
|
|
52402
52616
|
|
|
52403
52617
|
var INTRINSICS = {
|
|
52618
|
+
__proto__: null,
|
|
52404
52619
|
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
|
|
52405
52620
|
'%Array%': Array,
|
|
52406
52621
|
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
|
|
52407
|
-
'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
|
|
52622
|
+
'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,
|
|
52408
52623
|
'%AsyncFromSyncIteratorPrototype%': undefined,
|
|
52409
52624
|
'%AsyncFunction%': needsEval,
|
|
52410
52625
|
'%AsyncGenerator%': needsEval,
|
|
@@ -52421,9 +52636,9 @@ var INTRINSICS = {
|
|
|
52421
52636
|
'%decodeURIComponent%': decodeURIComponent,
|
|
52422
52637
|
'%encodeURI%': encodeURI,
|
|
52423
52638
|
'%encodeURIComponent%': encodeURIComponent,
|
|
52424
|
-
'%Error%': Error,
|
|
52639
|
+
'%Error%': $Error,
|
|
52425
52640
|
'%eval%': eval, // eslint-disable-line no-eval
|
|
52426
|
-
'%EvalError%': EvalError,
|
|
52641
|
+
'%EvalError%': $EvalError,
|
|
52427
52642
|
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
|
52428
52643
|
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
|
52429
52644
|
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
|
@@ -52434,10 +52649,10 @@ var INTRINSICS = {
|
|
|
52434
52649
|
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
|
|
52435
52650
|
'%isFinite%': isFinite,
|
|
52436
52651
|
'%isNaN%': isNaN,
|
|
52437
|
-
'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
52652
|
+
'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,
|
|
52438
52653
|
'%JSON%': typeof JSON === 'object' ? JSON : undefined,
|
|
52439
52654
|
'%Map%': typeof Map === 'undefined' ? undefined : Map,
|
|
52440
|
-
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
52655
|
+
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),
|
|
52441
52656
|
'%Math%': Math,
|
|
52442
52657
|
'%Number%': Number,
|
|
52443
52658
|
'%Object%': Object,
|
|
@@ -52445,15 +52660,15 @@ var INTRINSICS = {
|
|
|
52445
52660
|
'%parseInt%': parseInt,
|
|
52446
52661
|
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
|
52447
52662
|
'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
|
|
52448
|
-
'%RangeError%': RangeError,
|
|
52449
|
-
'%ReferenceError%': ReferenceError,
|
|
52663
|
+
'%RangeError%': $RangeError,
|
|
52664
|
+
'%ReferenceError%': $ReferenceError,
|
|
52450
52665
|
'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
|
|
52451
52666
|
'%RegExp%': RegExp,
|
|
52452
52667
|
'%Set%': typeof Set === 'undefined' ? undefined : Set,
|
|
52453
|
-
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
|
|
52668
|
+
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),
|
|
52454
52669
|
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
|
|
52455
52670
|
'%String%': String,
|
|
52456
|
-
'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
|
|
52671
|
+
'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,
|
|
52457
52672
|
'%Symbol%': hasSymbols ? Symbol : undefined,
|
|
52458
52673
|
'%SyntaxError%': $SyntaxError,
|
|
52459
52674
|
'%ThrowTypeError%': ThrowTypeError,
|
|
@@ -52463,18 +52678,20 @@ var INTRINSICS = {
|
|
|
52463
52678
|
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
|
|
52464
52679
|
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
|
|
52465
52680
|
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
|
|
52466
|
-
'%URIError%': URIError,
|
|
52681
|
+
'%URIError%': $URIError,
|
|
52467
52682
|
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
|
52468
52683
|
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
|
52469
52684
|
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
52470
52685
|
};
|
|
52471
52686
|
|
|
52472
|
-
|
|
52473
|
-
|
|
52474
|
-
|
|
52475
|
-
|
|
52476
|
-
|
|
52477
|
-
|
|
52687
|
+
if (getProto) {
|
|
52688
|
+
try {
|
|
52689
|
+
null.error; // eslint-disable-line no-unused-expressions
|
|
52690
|
+
} catch (e) {
|
|
52691
|
+
// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229
|
|
52692
|
+
var errorProto = getProto(getProto(e));
|
|
52693
|
+
INTRINSICS['%Error.prototype%'] = errorProto;
|
|
52694
|
+
}
|
|
52478
52695
|
}
|
|
52479
52696
|
|
|
52480
52697
|
var doEval = function doEval(name) {
|
|
@@ -52492,7 +52709,7 @@ var doEval = function doEval(name) {
|
|
|
52492
52709
|
}
|
|
52493
52710
|
} else if (name === '%AsyncIteratorPrototype%') {
|
|
52494
52711
|
var gen = doEval('%AsyncGenerator%');
|
|
52495
|
-
if (gen) {
|
|
52712
|
+
if (gen && getProto) {
|
|
52496
52713
|
value = getProto(gen.prototype);
|
|
52497
52714
|
}
|
|
52498
52715
|
}
|
|
@@ -52503,6 +52720,7 @@ var doEval = function doEval(name) {
|
|
|
52503
52720
|
};
|
|
52504
52721
|
|
|
52505
52722
|
var LEGACY_ALIASES = {
|
|
52723
|
+
__proto__: null,
|
|
52506
52724
|
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
52507
52725
|
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
52508
52726
|
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
@@ -52557,7 +52775,7 @@ var LEGACY_ALIASES = {
|
|
|
52557
52775
|
};
|
|
52558
52776
|
|
|
52559
52777
|
var bind = require('function-bind');
|
|
52560
|
-
var hasOwn = require('
|
|
52778
|
+
var hasOwn = require('hasown');
|
|
52561
52779
|
var $concat = bind.call(Function.call, Array.prototype.concat);
|
|
52562
52780
|
var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
|
|
52563
52781
|
var $replace = bind.call(Function.call, String.prototype.replace);
|
|
@@ -52693,7 +52911,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
52693
52911
|
return value;
|
|
52694
52912
|
};
|
|
52695
52913
|
|
|
52696
|
-
},{"function-bind":
|
|
52914
|
+
},{"es-errors":344,"es-errors/eval":343,"es-errors/range":345,"es-errors/ref":346,"es-errors/syntax":347,"es-errors/type":348,"es-errors/uri":349,"function-bind":352,"has-proto":358,"has-symbols":359,"hasown":365}],354:[function(require,module,exports){
|
|
52697
52915
|
'use strict';
|
|
52698
52916
|
|
|
52699
52917
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -52711,7 +52929,13 @@ if ($gOPD) {
|
|
|
52711
52929
|
|
|
52712
52930
|
module.exports = $gOPD;
|
|
52713
52931
|
|
|
52714
|
-
},{"get-intrinsic":
|
|
52932
|
+
},{"get-intrinsic":357}],355:[function(require,module,exports){
|
|
52933
|
+
arguments[4][338][0].apply(exports,arguments)
|
|
52934
|
+
},{"dup":338}],356:[function(require,module,exports){
|
|
52935
|
+
arguments[4][339][0].apply(exports,arguments)
|
|
52936
|
+
},{"./implementation":355,"dup":339}],357:[function(require,module,exports){
|
|
52937
|
+
arguments[4][340][0].apply(exports,arguments)
|
|
52938
|
+
},{"dup":340,"function-bind":356,"has":364,"has-symbols":359}],358:[function(require,module,exports){
|
|
52715
52939
|
'use strict';
|
|
52716
52940
|
|
|
52717
52941
|
var test = {
|
|
@@ -52724,7 +52948,7 @@ module.exports = function hasProto() {
|
|
|
52724
52948
|
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
52725
52949
|
};
|
|
52726
52950
|
|
|
52727
|
-
},{}],
|
|
52951
|
+
},{}],359:[function(require,module,exports){
|
|
52728
52952
|
'use strict';
|
|
52729
52953
|
|
|
52730
52954
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -52739,7 +52963,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
52739
52963
|
return hasSymbolSham();
|
|
52740
52964
|
};
|
|
52741
52965
|
|
|
52742
|
-
},{"./shams":
|
|
52966
|
+
},{"./shams":360}],360:[function(require,module,exports){
|
|
52743
52967
|
'use strict';
|
|
52744
52968
|
|
|
52745
52969
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
@@ -52783,7 +53007,7 @@ module.exports = function hasSymbols() {
|
|
|
52783
53007
|
return true;
|
|
52784
53008
|
};
|
|
52785
53009
|
|
|
52786
|
-
},{}],
|
|
53010
|
+
},{}],361:[function(require,module,exports){
|
|
52787
53011
|
'use strict';
|
|
52788
53012
|
|
|
52789
53013
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -52792,14 +53016,18 @@ module.exports = function hasToStringTagShams() {
|
|
|
52792
53016
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
52793
53017
|
};
|
|
52794
53018
|
|
|
52795
|
-
},{"has-symbols/shams":
|
|
53019
|
+
},{"has-symbols/shams":360}],362:[function(require,module,exports){
|
|
53020
|
+
arguments[4][338][0].apply(exports,arguments)
|
|
53021
|
+
},{"dup":338}],363:[function(require,module,exports){
|
|
53022
|
+
arguments[4][339][0].apply(exports,arguments)
|
|
53023
|
+
},{"./implementation":362,"dup":339}],364:[function(require,module,exports){
|
|
52796
53024
|
'use strict';
|
|
52797
53025
|
|
|
52798
53026
|
var bind = require('function-bind');
|
|
52799
53027
|
|
|
52800
53028
|
module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
52801
53029
|
|
|
52802
|
-
},{"function-bind":
|
|
53030
|
+
},{"function-bind":363}],365:[function(require,module,exports){
|
|
52803
53031
|
'use strict';
|
|
52804
53032
|
|
|
52805
53033
|
var call = Function.prototype.call;
|
|
@@ -52809,11 +53037,7 @@ var bind = require('function-bind');
|
|
|
52809
53037
|
/** @type {import('.')} */
|
|
52810
53038
|
module.exports = bind.call(call, $hasOwn);
|
|
52811
53039
|
|
|
52812
|
-
},{"function-bind":
|
|
52813
|
-
arguments[4][337][0].apply(exports,arguments)
|
|
52814
|
-
},{"dup":337}],359:[function(require,module,exports){
|
|
52815
|
-
arguments[4][338][0].apply(exports,arguments)
|
|
52816
|
-
},{"./implementation":358,"dup":338}],360:[function(require,module,exports){
|
|
53040
|
+
},{"function-bind":352}],366:[function(require,module,exports){
|
|
52817
53041
|
if (typeof Object.create === 'function') {
|
|
52818
53042
|
// implementation from standard node.js 'util' module
|
|
52819
53043
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -52842,7 +53066,7 @@ if (typeof Object.create === 'function') {
|
|
|
52842
53066
|
}
|
|
52843
53067
|
}
|
|
52844
53068
|
|
|
52845
|
-
},{}],
|
|
53069
|
+
},{}],367:[function(require,module,exports){
|
|
52846
53070
|
'use strict';
|
|
52847
53071
|
|
|
52848
53072
|
var hasToStringTag = require('has-tostringtag/shams')();
|
|
@@ -52877,7 +53101,7 @@ isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests
|
|
|
52877
53101
|
|
|
52878
53102
|
module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
52879
53103
|
|
|
52880
|
-
},{"call-bind/callBound":
|
|
53104
|
+
},{"call-bind/callBound":336,"has-tostringtag/shams":361}],368:[function(require,module,exports){
|
|
52881
53105
|
'use strict';
|
|
52882
53106
|
|
|
52883
53107
|
var fnToStr = Function.prototype.toString;
|
|
@@ -52980,7 +53204,7 @@ module.exports = reflectApply
|
|
|
52980
53204
|
return tryFunctionObject(value);
|
|
52981
53205
|
};
|
|
52982
53206
|
|
|
52983
|
-
},{}],
|
|
53207
|
+
},{}],369:[function(require,module,exports){
|
|
52984
53208
|
'use strict';
|
|
52985
53209
|
|
|
52986
53210
|
var toStr = Object.prototype.toString;
|
|
@@ -53020,7 +53244,17 @@ module.exports = function isGeneratorFunction(fn) {
|
|
|
53020
53244
|
return getProto(fn) === GeneratorFunction;
|
|
53021
53245
|
};
|
|
53022
53246
|
|
|
53023
|
-
},{"has-tostringtag/shams":
|
|
53247
|
+
},{"has-tostringtag/shams":361}],370:[function(require,module,exports){
|
|
53248
|
+
'use strict';
|
|
53249
|
+
|
|
53250
|
+
var whichTypedArray = require('which-typed-array');
|
|
53251
|
+
|
|
53252
|
+
/** @type {import('.')} */
|
|
53253
|
+
module.exports = function isTypedArray(value) {
|
|
53254
|
+
return !!whichTypedArray(value);
|
|
53255
|
+
};
|
|
53256
|
+
|
|
53257
|
+
},{"which-typed-array":384}],371:[function(require,module,exports){
|
|
53024
53258
|
(function (global){(function (){
|
|
53025
53259
|
/**
|
|
53026
53260
|
* @license
|
|
@@ -70233,7 +70467,7 @@ module.exports = function isGeneratorFunction(fn) {
|
|
|
70233
70467
|
}.call(this));
|
|
70234
70468
|
|
|
70235
70469
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
70236
|
-
},{}],
|
|
70470
|
+
},{}],372:[function(require,module,exports){
|
|
70237
70471
|
'use strict';
|
|
70238
70472
|
|
|
70239
70473
|
var keysShim;
|
|
@@ -70357,7 +70591,7 @@ if (!Object.keys) {
|
|
|
70357
70591
|
}
|
|
70358
70592
|
module.exports = keysShim;
|
|
70359
70593
|
|
|
70360
|
-
},{"./isArguments":
|
|
70594
|
+
},{"./isArguments":374}],373:[function(require,module,exports){
|
|
70361
70595
|
'use strict';
|
|
70362
70596
|
|
|
70363
70597
|
var slice = Array.prototype.slice;
|
|
@@ -70391,7 +70625,7 @@ keysShim.shim = function shimObjectKeys() {
|
|
|
70391
70625
|
|
|
70392
70626
|
module.exports = keysShim;
|
|
70393
70627
|
|
|
70394
|
-
},{"./implementation":
|
|
70628
|
+
},{"./implementation":372,"./isArguments":374}],374:[function(require,module,exports){
|
|
70395
70629
|
'use strict';
|
|
70396
70630
|
|
|
70397
70631
|
var toStr = Object.prototype.toString;
|
|
@@ -70410,7 +70644,7 @@ module.exports = function isArguments(value) {
|
|
|
70410
70644
|
return isArgs;
|
|
70411
70645
|
};
|
|
70412
70646
|
|
|
70413
|
-
},{}],
|
|
70647
|
+
},{}],375:[function(require,module,exports){
|
|
70414
70648
|
'use strict';
|
|
70415
70649
|
|
|
70416
70650
|
// modified from https://github.com/es-shims/es6-shim
|
|
@@ -70458,7 +70692,7 @@ module.exports = function assign(target, source1) {
|
|
|
70458
70692
|
return to; // step 4
|
|
70459
70693
|
};
|
|
70460
70694
|
|
|
70461
|
-
},{"call-bind/callBound":
|
|
70695
|
+
},{"call-bind/callBound":336,"has-symbols/shams":360,"object-keys":373}],376:[function(require,module,exports){
|
|
70462
70696
|
'use strict';
|
|
70463
70697
|
|
|
70464
70698
|
var implementation = require('./implementation');
|
|
@@ -70515,7 +70749,7 @@ module.exports = function getPolyfill() {
|
|
|
70515
70749
|
return Object.assign;
|
|
70516
70750
|
};
|
|
70517
70751
|
|
|
70518
|
-
},{"./implementation":
|
|
70752
|
+
},{"./implementation":375}],377:[function(require,module,exports){
|
|
70519
70753
|
'use strict';
|
|
70520
70754
|
|
|
70521
70755
|
/** @type {import('.')} */
|
|
@@ -70533,7 +70767,7 @@ module.exports = [
|
|
|
70533
70767
|
'BigUint64Array'
|
|
70534
70768
|
];
|
|
70535
70769
|
|
|
70536
|
-
},{}],
|
|
70770
|
+
},{}],378:[function(require,module,exports){
|
|
70537
70771
|
// shim for using process in browser
|
|
70538
70772
|
var process = module.exports = {};
|
|
70539
70773
|
|
|
@@ -70719,7 +70953,7 @@ process.chdir = function (dir) {
|
|
|
70719
70953
|
};
|
|
70720
70954
|
process.umask = function() { return 0; };
|
|
70721
70955
|
|
|
70722
|
-
},{}],
|
|
70956
|
+
},{}],379:[function(require,module,exports){
|
|
70723
70957
|
'use strict';
|
|
70724
70958
|
|
|
70725
70959
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -70763,13 +70997,7 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
70763
70997
|
return fn;
|
|
70764
70998
|
};
|
|
70765
70999
|
|
|
70766
|
-
},{"define-data-property":
|
|
70767
|
-
arguments[4][337][0].apply(exports,arguments)
|
|
70768
|
-
},{"dup":337}],374:[function(require,module,exports){
|
|
70769
|
-
arguments[4][338][0].apply(exports,arguments)
|
|
70770
|
-
},{"./implementation":373,"dup":338}],375:[function(require,module,exports){
|
|
70771
|
-
arguments[4][339][0].apply(exports,arguments)
|
|
70772
|
-
},{"dup":339,"es-errors":341,"es-errors/eval":340,"es-errors/range":342,"es-errors/ref":343,"es-errors/syntax":344,"es-errors/type":345,"es-errors/uri":346,"function-bind":374,"has-proto":352,"has-symbols":353,"hasown":357}],376:[function(require,module,exports){
|
|
71000
|
+
},{"define-data-property":341,"es-errors/type":348,"get-intrinsic":353,"gopd":354,"has-property-descriptors":380}],380:[function(require,module,exports){
|
|
70773
71001
|
'use strict';
|
|
70774
71002
|
|
|
70775
71003
|
var $defineProperty = require('es-define-property');
|
|
@@ -70793,19 +71021,9 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
70793
71021
|
|
|
70794
71022
|
module.exports = hasPropertyDescriptors;
|
|
70795
71023
|
|
|
70796
|
-
},{"es-define-property":
|
|
70797
|
-
|
|
70798
|
-
|
|
70799
|
-
var whichTypedArray = require('which-typed-array');
|
|
70800
|
-
|
|
70801
|
-
/** @type {import('.')} */
|
|
70802
|
-
module.exports = function isTypedArray(value) {
|
|
70803
|
-
return !!whichTypedArray(value);
|
|
70804
|
-
};
|
|
70805
|
-
|
|
70806
|
-
},{"which-typed-array":381}],378:[function(require,module,exports){
|
|
70807
|
-
arguments[4][330][0].apply(exports,arguments)
|
|
70808
|
-
},{"dup":330}],379:[function(require,module,exports){
|
|
71024
|
+
},{"es-define-property":342}],381:[function(require,module,exports){
|
|
71025
|
+
arguments[4][332][0].apply(exports,arguments)
|
|
71026
|
+
},{"dup":332}],382:[function(require,module,exports){
|
|
70809
71027
|
// Currently in sync with Node.js lib/internal/util/types.js
|
|
70810
71028
|
// https://github.com/nodejs/node/commit/112cc7c27551254aa2b17098fb774867f05ed0d9
|
|
70811
71029
|
|
|
@@ -71141,7 +71359,7 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
|
71141
71359
|
});
|
|
71142
71360
|
});
|
|
71143
71361
|
|
|
71144
|
-
},{"is-arguments":
|
|
71362
|
+
},{"is-arguments":367,"is-generator-function":369,"is-typed-array":370,"which-typed-array":384}],383:[function(require,module,exports){
|
|
71145
71363
|
(function (process){(function (){
|
|
71146
71364
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
71147
71365
|
//
|
|
@@ -71860,7 +72078,7 @@ function callbackify(original) {
|
|
|
71860
72078
|
exports.callbackify = callbackify;
|
|
71861
72079
|
|
|
71862
72080
|
}).call(this)}).call(this,require('_process'))
|
|
71863
|
-
},{"./support/isBuffer":
|
|
72081
|
+
},{"./support/isBuffer":381,"./support/types":382,"_process":378,"inherits":366}],384:[function(require,module,exports){
|
|
71864
72082
|
(function (global){(function (){
|
|
71865
72083
|
'use strict';
|
|
71866
72084
|
|
|
@@ -71980,30 +72198,9 @@ module.exports = function whichTypedArray(value) {
|
|
|
71980
72198
|
};
|
|
71981
72199
|
|
|
71982
72200
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
71983
|
-
},{"available-typed-arrays":
|
|
71984
|
-
(
|
|
71985
|
-
|
|
71986
|
-
|
|
71987
|
-
var possibleNames = require('possible-typed-array-names');
|
|
71988
|
-
|
|
71989
|
-
var g = typeof globalThis === 'undefined' ? global : globalThis;
|
|
71990
|
-
|
|
71991
|
-
/** @type {import('.')} */
|
|
71992
|
-
module.exports = function availableTypedArrays() {
|
|
71993
|
-
var /** @type {ReturnType<typeof availableTypedArrays>} */ out = [];
|
|
71994
|
-
for (var i = 0; i < possibleNames.length; i++) {
|
|
71995
|
-
if (typeof g[possibleNames[i]] === 'function') {
|
|
71996
|
-
// @ts-expect-error
|
|
71997
|
-
out[out.length] = possibleNames[i];
|
|
71998
|
-
}
|
|
71999
|
-
}
|
|
72000
|
-
return out;
|
|
72001
|
-
};
|
|
72002
|
-
|
|
72003
|
-
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
72004
|
-
},{"possible-typed-array-names":370}],383:[function(require,module,exports){
|
|
72005
|
-
arguments[4][333][0].apply(exports,arguments)
|
|
72006
|
-
},{"./":384,"dup":333,"get-intrinsic":387}],384:[function(require,module,exports){
|
|
72201
|
+
},{"available-typed-arrays":334,"call-bind":386,"call-bind/callBound":385,"for-each":350,"gopd":354,"has-tostringtag/shams":387}],385:[function(require,module,exports){
|
|
72202
|
+
arguments[4][336][0].apply(exports,arguments)
|
|
72203
|
+
},{"./":386,"dup":336,"get-intrinsic":353}],386:[function(require,module,exports){
|
|
72007
72204
|
'use strict';
|
|
72008
72205
|
|
|
72009
72206
|
var bind = require('function-bind');
|
|
@@ -72040,13 +72237,7 @@ if ($defineProperty) {
|
|
|
72040
72237
|
module.exports.apply = applyBind;
|
|
72041
72238
|
}
|
|
72042
72239
|
|
|
72043
|
-
},{"es-define-property":
|
|
72044
|
-
arguments[4][337][0].apply(exports,arguments)
|
|
72045
|
-
},{"dup":337}],386:[function(require,module,exports){
|
|
72046
|
-
arguments[4][338][0].apply(exports,arguments)
|
|
72047
|
-
},{"./implementation":385,"dup":338}],387:[function(require,module,exports){
|
|
72048
|
-
arguments[4][339][0].apply(exports,arguments)
|
|
72049
|
-
},{"dup":339,"es-errors":341,"es-errors/eval":340,"es-errors/range":342,"es-errors/ref":343,"es-errors/syntax":344,"es-errors/type":345,"es-errors/uri":346,"function-bind":386,"has-proto":352,"has-symbols":353,"hasown":357}],388:[function(require,module,exports){
|
|
72240
|
+
},{"es-define-property":342,"es-errors/type":348,"function-bind":352,"get-intrinsic":353,"set-function-length":379}],387:[function(require,module,exports){
|
|
72050
72241
|
'use strict';
|
|
72051
72242
|
|
|
72052
72243
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -72056,5 +72247,5 @@ module.exports = function hasToStringTagShams() {
|
|
|
72056
72247
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
72057
72248
|
};
|
|
72058
72249
|
|
|
72059
|
-
},{"has-symbols/shams":
|
|
72250
|
+
},{"has-symbols/shams":360}]},{},[112])(112)
|
|
72060
72251
|
});
|