@designliquido/delegua 0.41.8 → 0.42.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 +28 -14
- package/analisador-semantico/analisador-semantico.js.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico.d.ts +16 -3
- package/avaliador-sintatico/avaliador-sintatico.d.ts.map +1 -1
- package/avaliador-sintatico/avaliador-sintatico.js +184 -46
- package/avaliador-sintatico/avaliador-sintatico.js.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.d.ts.map +1 -1
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.js +1 -0
- package/avaliador-sintatico/dialetos/avaliador-sintatico-pitugues.js.map +1 -1
- package/avaliador-sintatico/index.d.ts +1 -0
- package/avaliador-sintatico/index.d.ts.map +1 -1
- package/avaliador-sintatico/index.js +1 -0
- package/avaliador-sintatico/index.js.map +1 -1
- package/avaliador-sintatico/informacao-escopo.d.ts +2 -1
- package/avaliador-sintatico/informacao-escopo.d.ts.map +1 -1
- package/avaliador-sintatico/informacao-escopo.js.map +1 -1
- package/avaliador-sintatico/pilha-escopos.d.ts +3 -1
- package/avaliador-sintatico/pilha-escopos.d.ts.map +1 -1
- package/avaliador-sintatico/pilha-escopos.js +6 -3
- package/avaliador-sintatico/pilha-escopos.js.map +1 -1
- package/bibliotecas/biblioteca-global.d.ts +7 -7
- package/bibliotecas/biblioteca-global.d.ts.map +1 -1
- package/bibliotecas/biblioteca-global.js +14 -8
- package/bibliotecas/biblioteca-global.js.map +1 -1
- package/bibliotecas/primitivas-dicionario.d.ts.map +1 -1
- package/bibliotecas/primitivas-dicionario.js +2 -0
- package/bibliotecas/primitivas-dicionario.js.map +1 -1
- package/bibliotecas/primitivas-numero.d.ts.map +1 -1
- package/bibliotecas/primitivas-numero.js +9 -0
- package/bibliotecas/primitivas-numero.js.map +1 -1
- package/bibliotecas/primitivas-texto.d.ts.map +1 -1
- package/bibliotecas/primitivas-texto.js +28 -0
- package/bibliotecas/primitivas-texto.js.map +1 -1
- package/bibliotecas/primitivas-vetor.d.ts.map +1 -1
- package/bibliotecas/primitivas-vetor.js +46 -4
- package/bibliotecas/primitivas-vetor.js.map +1 -1
- package/bin/package.json +2 -2
- package/informacao-variavel-ou-constante.d.ts +8 -0
- package/informacao-variavel-ou-constante.d.ts.map +1 -0
- package/informacao-variavel-ou-constante.js +16 -0
- package/informacao-variavel-ou-constante.js.map +1 -0
- package/interfaces/primitiva-interface.d.ts +2 -0
- package/interfaces/primitiva-interface.d.ts.map +1 -1
- package/lexador/dialetos/lexador-pitugues.d.ts.map +1 -1
- package/lexador/dialetos/lexador-pitugues.js +39 -39
- package/lexador/dialetos/lexador-pitugues.js.map +1 -1
- package/lexador/dialetos/palavras-reservadas/pitugues.d.ts +56 -0
- package/lexador/dialetos/palavras-reservadas/pitugues.d.ts.map +1 -0
- package/lexador/dialetos/palavras-reservadas/pitugues.js +63 -0
- package/lexador/dialetos/palavras-reservadas/pitugues.js.map +1 -0
- package/lexador/index.d.ts +1 -0
- package/lexador/index.d.ts.map +1 -1
- package/lexador/index.js +1 -0
- package/lexador/index.js.map +1 -1
- package/lexador/lexador.d.ts.map +1 -1
- package/lexador/lexador.js +28 -15
- package/lexador/lexador.js.map +1 -1
- package/package.json +2 -2
- package/tipos-de-simbolos/pitugues.d.ts +6 -0
- package/tipos-de-simbolos/pitugues.d.ts.map +1 -1
- package/tipos-de-simbolos/pitugues.js +6 -0
- package/tipos-de-simbolos/pitugues.js.map +1 -1
- package/umd/delegua.js +768 -437
- package/bin/delegua +0 -3
- package/bin/delegua.cmd +0 -1
package/umd/delegua.js
CHANGED
|
@@ -231,7 +231,7 @@ class AvaliadorSintaticoBase {
|
|
|
231
231
|
}
|
|
232
232
|
exports.AvaliadorSintaticoBase = AvaliadorSintaticoBase;
|
|
233
233
|
|
|
234
|
-
},{"../construtos":42,"../declaracoes":82,"../tipos-de-simbolos/comum":
|
|
234
|
+
},{"../construtos":42,"../declaracoes":82,"../tipos-de-simbolos/comum":164,"./erro-avaliador-sintatico":7}],2:[function(require,module,exports){
|
|
235
235
|
"use strict";
|
|
236
236
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
237
237
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -247,6 +247,7 @@ const avaliador_sintatico_base_1 = require("./avaliador-sintatico-base");
|
|
|
247
247
|
const inferenciador_1 = require("../inferenciador");
|
|
248
248
|
const pilha_escopos_1 = require("./pilha-escopos");
|
|
249
249
|
const informacao_escopo_1 = require("./informacao-escopo");
|
|
250
|
+
const informacao_variavel_ou_constante_1 = require("../informacao-variavel-ou-constante");
|
|
250
251
|
const delegua_1 = __importDefault(require("../tipos-de-dados/delegua"));
|
|
251
252
|
const delegua_2 = __importDefault(require("../tipos-de-simbolos/delegua"));
|
|
252
253
|
const primitivas_dicionario_1 = __importDefault(require("../bibliotecas/primitivas-dicionario"));
|
|
@@ -275,22 +276,23 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
275
276
|
this.tiposDefinidosEmCodigo = {};
|
|
276
277
|
this.tiposDeFerramentasExternas = {};
|
|
277
278
|
this.primitivasConhecidas = {};
|
|
278
|
-
for (const nomePrimitivaDicionario of Object.
|
|
279
|
-
this.primitivasConhecidas[nomePrimitivaDicionario] = 'dicionário';
|
|
279
|
+
for (const [nomePrimitivaDicionario, dadosPrimitiva] of Object.entries(primitivas_dicionario_1.default)) {
|
|
280
|
+
this.primitivasConhecidas[nomePrimitivaDicionario] = new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante(nomePrimitivaDicionario, 'dicionário', dadosPrimitiva.argumentos);
|
|
280
281
|
}
|
|
281
|
-
for (const nomePrimitivaNumero of Object.
|
|
282
|
-
this.primitivasConhecidas[nomePrimitivaNumero] = 'número';
|
|
282
|
+
for (const [nomePrimitivaNumero, dadosPrimitiva] of Object.entries(primitivas_numero_1.default)) {
|
|
283
|
+
this.primitivasConhecidas[nomePrimitivaNumero] = new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante(nomePrimitivaNumero, 'número', dadosPrimitiva.argumentos);
|
|
283
284
|
}
|
|
284
|
-
for (const nomePrimitivaTexto of Object.
|
|
285
|
-
this.primitivasConhecidas[nomePrimitivaTexto] = 'texto';
|
|
285
|
+
for (const [nomePrimitivaTexto, dadosPrimitiva] of Object.entries(primitivas_texto_1.default)) {
|
|
286
|
+
this.primitivasConhecidas[nomePrimitivaTexto] = new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante(nomePrimitivaTexto, 'texto', dadosPrimitiva.argumentos);
|
|
286
287
|
}
|
|
287
|
-
for (const nomePrimitivaVetor of Object.
|
|
288
|
-
this.primitivasConhecidas[nomePrimitivaVetor] = 'vetor';
|
|
288
|
+
for (const [nomePrimitivaVetor, dadosPrimitiva] of Object.entries(primitivas_vetor_1.default)) {
|
|
289
|
+
this.primitivasConhecidas[nomePrimitivaVetor] = new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante(nomePrimitivaVetor, 'vetor', dadosPrimitiva.argumentos);
|
|
289
290
|
}
|
|
290
|
-
|
|
291
|
-
this.primitivasConhecidas['
|
|
292
|
-
this.primitivasConhecidas['
|
|
293
|
-
this.primitivasConhecidas['
|
|
291
|
+
// TODO: Por enquanto não há necessidade de validar argumentos aqui, mas isso pode mudar no futuro.
|
|
292
|
+
this.primitivasConhecidas['inteiro'] = new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('inteiro', 'inteiro');
|
|
293
|
+
this.primitivasConhecidas['numero'] = new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('numero', 'número');
|
|
294
|
+
this.primitivasConhecidas['número'] = new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('número', 'número');
|
|
295
|
+
this.primitivasConhecidas['texto'] = new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('texto', 'texto');
|
|
294
296
|
this.pilhaEscopos = new pilha_escopos_1.PilhaEscopos();
|
|
295
297
|
}
|
|
296
298
|
verificarDefinicaoTipoAtual() {
|
|
@@ -422,7 +424,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
422
424
|
case delegua_2.default.FUNÇÃO:
|
|
423
425
|
const simboloFuncao = this.avancarEDevolverAnterior();
|
|
424
426
|
const corpoDaFuncao = this.corpoDaFuncao(simboloFuncao.lexema);
|
|
425
|
-
this.pilhaEscopos.
|
|
427
|
+
this.pilhaEscopos.definirInformacoesVariavel(simboloFuncao.lexema, new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante(simboloFuncao.lexema, 'função'));
|
|
426
428
|
return corpoDaFuncao;
|
|
427
429
|
case delegua_2.default.IDENTIFICADOR:
|
|
428
430
|
const simboloIdentificador = this.avancarEDevolverAnterior();
|
|
@@ -448,6 +450,8 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
448
450
|
case delegua_2.default.ISTO:
|
|
449
451
|
this.avancarEDevolverAnterior();
|
|
450
452
|
return new construtos_1.Isto(this.hashArquivo, Number(simboloAtual.linha), simboloAtual);
|
|
453
|
+
case delegua_2.default.LEIA:
|
|
454
|
+
return this.expressaoLeia();
|
|
451
455
|
case delegua_2.default.NULO:
|
|
452
456
|
this.avancarEDevolverAnterior();
|
|
453
457
|
return new construtos_1.Literal(this.hashArquivo, Number(simboloAtual.linha), null, 'nulo');
|
|
@@ -542,11 +546,13 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
542
546
|
chamar() {
|
|
543
547
|
let expressao = this.primario();
|
|
544
548
|
while (true) {
|
|
549
|
+
let tipoPrimitiva = undefined;
|
|
545
550
|
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.PARENTESE_ESQUERDO)) {
|
|
546
|
-
expressao = this.finalizarChamada(expressao);
|
|
551
|
+
expressao = this.finalizarChamada(expressao, tipoPrimitiva);
|
|
547
552
|
}
|
|
548
553
|
else if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.PONTO)) {
|
|
549
554
|
const nome = this.consumir(delegua_2.default.IDENTIFICADOR, "Esperado nome de método ou propriedade após '.'.");
|
|
555
|
+
tipoPrimitiva = expressao.tipo;
|
|
550
556
|
expressao = new construtos_1.AcessoMetodoOuPropriedade(this.hashArquivo, expressao, nome);
|
|
551
557
|
}
|
|
552
558
|
else if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.COLCHETE_ESQUERDO)) {
|
|
@@ -610,10 +616,59 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
610
616
|
}
|
|
611
617
|
return entidadeChamadaResolvida;
|
|
612
618
|
}
|
|
613
|
-
|
|
619
|
+
validarArgumentosEntidadeChamada(argumentosEntidadeChamada, argumentosUtilizados) {
|
|
620
|
+
if (argumentosEntidadeChamada.length === 0) {
|
|
621
|
+
return [];
|
|
622
|
+
}
|
|
623
|
+
const possiveisErros = [];
|
|
624
|
+
for (const [indice, argumentoEntidadeChamada] of argumentosEntidadeChamada.entries()) {
|
|
625
|
+
const argumentoUtilizado = argumentosUtilizados[indice];
|
|
626
|
+
if (argumentoUtilizado.tipo === null || argumentoUtilizado.tipo === undefined) {
|
|
627
|
+
continue;
|
|
628
|
+
}
|
|
629
|
+
const argumentoEntidadeChamadaVetor = argumentoEntidadeChamada.tipo.endsWith('[]');
|
|
630
|
+
const argumentoUtilizadoVetor = argumentoUtilizado.tipo.endsWith('[]');
|
|
631
|
+
if (argumentoEntidadeChamadaVetor !== argumentoUtilizadoVetor) {
|
|
632
|
+
possiveisErros.push(`Argumento: ${argumentoEntidadeChamada.nome}. Tipo esperado: ${argumentoEntidadeChamada.tipo}; Tipo utilizado: ${argumentoUtilizado.tipo}`);
|
|
633
|
+
continue;
|
|
634
|
+
}
|
|
635
|
+
const argumentoEntidadeChamadaQualquer = argumentoEntidadeChamada.tipo.startsWith('qualquer');
|
|
636
|
+
if (argumentoEntidadeChamadaQualquer) {
|
|
637
|
+
continue;
|
|
638
|
+
}
|
|
639
|
+
if (argumentoUtilizado.tipo !== argumentoEntidadeChamada.tipo) {
|
|
640
|
+
possiveisErros.push(`Argumento: ${argumentoEntidadeChamada.nome}. Tipo esperado: ${argumentoEntidadeChamada.tipo}; Tipo utilizado: ${argumentoUtilizado.tipo}`);
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
return possiveisErros;
|
|
644
|
+
}
|
|
645
|
+
/**
|
|
646
|
+
* Diversas verificações de resolução de entidade chamada, como resolver chamada da pilha ou usar referência, argumentos, etc.
|
|
647
|
+
* @param entidadeChamada O construto da entidade chamada.
|
|
648
|
+
* @param argumentos Os argumentos utilizados na chamada.
|
|
649
|
+
* @param tipoPrimitiva Se for uma primitiva, o tipo dela. Senão, `undefined`.
|
|
650
|
+
* @returns A entidade chamada resolvida, se as validações passarem.
|
|
651
|
+
*/
|
|
652
|
+
resolverEntidadeChamada(entidadeChamada, argumentos, tipoPrimitiva = undefined) {
|
|
614
653
|
if (entidadeChamada.constructor.name === 'Variavel') {
|
|
615
654
|
const entidadeChamadaResolvidaVariavel = entidadeChamada;
|
|
616
|
-
if (
|
|
655
|
+
if (tipoPrimitiva === undefined) {
|
|
656
|
+
// Provavelmente uma chamada a alguma função da biblioteca global.
|
|
657
|
+
const informacoesPossivelFuncaoBibliotecaGlobal = this.pilhaEscopos.obterBibliotecaGlobal(entidadeChamadaResolvidaVariavel.simbolo.lexema);
|
|
658
|
+
if (informacoesPossivelFuncaoBibliotecaGlobal !== undefined) {
|
|
659
|
+
const erros = this.validarArgumentosEntidadeChamada(informacoesPossivelFuncaoBibliotecaGlobal.argumentos, argumentos);
|
|
660
|
+
if (erros.length > 0) {
|
|
661
|
+
throw new erro_avaliador_sintatico_1.ErroAvaliadorSintatico(entidadeChamadaResolvidaVariavel.simbolo, `Erros ao resolver argumentos de chamada a ${entidadeChamadaResolvidaVariavel.simbolo.lexema}: \n${erros.reduce((mensagem, erro) => mensagem += `${erro}\n`, '')}`);
|
|
662
|
+
}
|
|
663
|
+
return entidadeChamadaResolvidaVariavel;
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
if (tipoPrimitiva !== undefined && this.primitivasConhecidas.hasOwnProperty(entidadeChamadaResolvidaVariavel.simbolo.lexema)) {
|
|
667
|
+
var informacoesPrimitiva = this.primitivasConhecidas[entidadeChamadaResolvidaVariavel.simbolo.lexema];
|
|
668
|
+
const erros = this.validarArgumentosEntidadeChamada(informacoesPrimitiva.argumentos, argumentos);
|
|
669
|
+
if (erros.length > 0) {
|
|
670
|
+
throw new erro_avaliador_sintatico_1.ErroAvaliadorSintatico(entidadeChamadaResolvidaVariavel.simbolo, `Erros ao resolver argumentos de chamada a ${entidadeChamadaResolvidaVariavel.simbolo.lexema}: \n${erros.reduce((mensagem, erro) => mensagem += `${erro}\n`, '')}`);
|
|
671
|
+
}
|
|
617
672
|
return entidadeChamadaResolvidaVariavel;
|
|
618
673
|
}
|
|
619
674
|
if (entidadeChamadaResolvidaVariavel.simbolo.lexema in this.tiposDefinidosEmCodigo) {
|
|
@@ -630,7 +685,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
630
685
|
}
|
|
631
686
|
return entidadeChamada;
|
|
632
687
|
}
|
|
633
|
-
finalizarChamada(entidadeChamada) {
|
|
688
|
+
finalizarChamada(entidadeChamada, tipoPrimitiva = undefined) {
|
|
634
689
|
const argumentos = [];
|
|
635
690
|
if (!this.verificarTipoSimboloAtual(delegua_2.default.PARENTESE_DIREITO)) {
|
|
636
691
|
do {
|
|
@@ -643,7 +698,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
643
698
|
}
|
|
644
699
|
this.consumir(delegua_2.default.PARENTESE_DIREITO, "Esperado ')' após os argumentos.");
|
|
645
700
|
// Toda chamada precisa saber de antemão qual o tipo resolvido.
|
|
646
|
-
const entidadeChamadaResolvida = this.resolverEntidadeChamada(entidadeChamada);
|
|
701
|
+
const entidadeChamadaResolvida = this.resolverEntidadeChamada(entidadeChamada, argumentos, tipoPrimitiva);
|
|
647
702
|
// TODO: Criar forma de validar tipos dos argumentos da entidade chamada.
|
|
648
703
|
const construtoChamada = new construtos_1.Chamada(this.hashArquivo, entidadeChamadaResolvida, argumentos);
|
|
649
704
|
construtoChamada.tipo = 'qualquer';
|
|
@@ -792,7 +847,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
792
847
|
* @returns Um objeto da classe `Leia`.
|
|
793
848
|
*/
|
|
794
849
|
expressaoLeia() {
|
|
795
|
-
const simboloLeia = this.
|
|
850
|
+
const simboloLeia = this.avancarEDevolverAnterior();
|
|
796
851
|
this.consumir(delegua_2.default.PARENTESE_ESQUERDO, "Esperado '(' antes dos argumentos em instrução `leia`.");
|
|
797
852
|
const argumentos = [];
|
|
798
853
|
if (this.simbolos[this.atual].tipo !== delegua_2.default.PARENTESE_DIREITO) {
|
|
@@ -803,9 +858,8 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
803
858
|
this.consumir(delegua_2.default.PARENTESE_DIREITO, "Esperado ')' após os argumentos em instrução `leia`.");
|
|
804
859
|
return new construtos_1.Leia(simboloLeia, argumentos);
|
|
805
860
|
}
|
|
861
|
+
// TODO: Depreciar.
|
|
806
862
|
expressao() {
|
|
807
|
-
if (this.verificarSeSimboloAtualEIgualA(delegua_2.default.LEIA))
|
|
808
|
-
return this.expressaoLeia();
|
|
809
863
|
return this.atribuir();
|
|
810
864
|
}
|
|
811
865
|
blocoEscopo() {
|
|
@@ -993,7 +1047,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
993
1047
|
if (!tipoVetor.endsWith('[]')) {
|
|
994
1048
|
throw this.erro(simboloPara, `Variável ou constante em 'para cada' não é iterável. Tipo resolvido: ${tipoVetor}.`);
|
|
995
1049
|
}
|
|
996
|
-
this.pilhaEscopos.
|
|
1050
|
+
this.pilhaEscopos.definirInformacoesVariavel(nomeVariavelIteracao.lexema, new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante(nomeVariavelIteracao.lexema, tipoVetor.slice(0, -2)));
|
|
997
1051
|
// TODO: Talvez não seja uma ideia melhor chamar o método de `Bloco` aqui?
|
|
998
1052
|
const corpo = this.resolverDeclaracao();
|
|
999
1053
|
return new declaracoes_1.ParaCada(this.hashArquivo, Number(simboloPara.linha), nomeVariavelIteracao.lexema, vetor, corpo);
|
|
@@ -1232,7 +1286,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1232
1286
|
default:
|
|
1233
1287
|
break;
|
|
1234
1288
|
}
|
|
1235
|
-
this.pilhaEscopos.
|
|
1289
|
+
this.pilhaEscopos.definirInformacoesVariavel(simboloNomeVariavel.lexema, new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante(simboloNomeVariavel.lexema, tipoInicializacao));
|
|
1236
1290
|
const blocoCorpo = this.blocoEscopo();
|
|
1237
1291
|
return new declaracoes_1.TendoComo(simboloTendo.linha, simboloTendo.hashArquivo, simboloNomeVariavel, expressaoInicializacao, new declaracoes_1.Bloco(simboloTendo.linha, simboloTendo.hashArquivo, blocoCorpo));
|
|
1238
1292
|
}
|
|
@@ -1246,7 +1300,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1246
1300
|
const inicializador = this.expressao();
|
|
1247
1301
|
const retornos = [];
|
|
1248
1302
|
for (let identificador of identificadores) {
|
|
1249
|
-
this.pilhaEscopos.
|
|
1303
|
+
this.pilhaEscopos.definirInformacoesVariavel(identificador.lexema, new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante(identificador.lexema, this.logicaComumInferenciaTiposVariaveisEConstantes(inicializador, 'qualquer')));
|
|
1250
1304
|
const declaracaoVar = new declaracoes_1.Var(identificador, new construtos_1.AcessoMetodoOuPropriedade(this.hashArquivo, inicializador, identificador));
|
|
1251
1305
|
declaracaoVar.decoradores = Array.from(this.pilhaDecoradores);
|
|
1252
1306
|
retornos.push(declaracaoVar);
|
|
@@ -1268,6 +1322,15 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1268
1322
|
case 'AcessoMetodo':
|
|
1269
1323
|
const entidadeChamadaAcessoMetodo = entidadeChamadaChamada;
|
|
1270
1324
|
return entidadeChamadaAcessoMetodo.tipoRetornoMetodo;
|
|
1325
|
+
case 'AcessoMetodoOuPropriedade':
|
|
1326
|
+
// Este caso ocorre quando a variável/constante é do tipo 'qualquer',
|
|
1327
|
+
// e a chamada normalmente é feita para uma primitiva.
|
|
1328
|
+
// A inferência, portanto, ocorre pelo uso da primitiva.
|
|
1329
|
+
const entidadeChamadaAcessoMetodoOuPropriedade = entidadeChamadaChamada;
|
|
1330
|
+
if (this.primitivasConhecidas.hasOwnProperty(entidadeChamadaAcessoMetodoOuPropriedade.simbolo.lexema)) {
|
|
1331
|
+
return this.primitivasConhecidas[entidadeChamadaAcessoMetodoOuPropriedade.simbolo.lexema].tipo;
|
|
1332
|
+
}
|
|
1333
|
+
throw new erro_avaliador_sintatico_1.ErroAvaliadorSintatico(entidadeChamadaAcessoMetodoOuPropriedade.simbolo, `Primitiva '${entidadeChamadaAcessoMetodoOuPropriedade.simbolo.lexema}' não existe.`);
|
|
1271
1334
|
case 'AcessoPropriedade':
|
|
1272
1335
|
const entidadeChamadaAcessoPropriedade = entidadeChamadaChamada;
|
|
1273
1336
|
return entidadeChamadaAcessoPropriedade.tipoRetornoPropriedade;
|
|
@@ -1297,6 +1360,9 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1297
1360
|
case 'Noneto':
|
|
1298
1361
|
case 'Deceto':
|
|
1299
1362
|
return delegua_1.default.TUPLA;
|
|
1363
|
+
case "ImportarBiblioteca":
|
|
1364
|
+
case "ModuloDeclaracoes":
|
|
1365
|
+
return "módulo";
|
|
1300
1366
|
default:
|
|
1301
1367
|
return inicializador.tipo;
|
|
1302
1368
|
}
|
|
@@ -1322,7 +1388,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1322
1388
|
if (!this.verificarSeSimboloAtualEIgualA(delegua_2.default.IGUAL)) {
|
|
1323
1389
|
// Inicialização de variáveis sem valor.
|
|
1324
1390
|
for (let identificador of identificadores.values()) {
|
|
1325
|
-
this.pilhaEscopos.
|
|
1391
|
+
this.pilhaEscopos.definirInformacoesVariavel(identificador.lexema, new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante(identificador.lexema, tipo));
|
|
1326
1392
|
retorno.push(new declaracoes_1.Var(identificador, null, tipo, Array.from(this.pilhaDecoradores)));
|
|
1327
1393
|
}
|
|
1328
1394
|
this.verificarSeSimboloAtualEIgualA(delegua_2.default.PONTO_E_VIRGULA);
|
|
@@ -1339,7 +1405,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1339
1405
|
for (let [indice, identificador] of identificadores.entries()) {
|
|
1340
1406
|
// Se tipo ainda não foi definido, infere.
|
|
1341
1407
|
tipo = this.logicaComumInferenciaTiposVariaveisEConstantes(inicializadores[indice], tipo);
|
|
1342
|
-
this.pilhaEscopos.
|
|
1408
|
+
this.pilhaEscopos.definirInformacoesVariavel(identificador.lexema, new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante(identificador.lexema, tipo));
|
|
1343
1409
|
retorno.push(new declaracoes_1.Var(identificador, inicializadores[indice], tipo, Array.from(this.pilhaDecoradores)));
|
|
1344
1410
|
}
|
|
1345
1411
|
this.verificarSeSimboloAtualEIgualA(delegua_2.default.PONTO_E_VIRGULA);
|
|
@@ -1357,7 +1423,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1357
1423
|
const retornos = [];
|
|
1358
1424
|
for (let identificador of identificadores) {
|
|
1359
1425
|
// TODO: Melhorar dicionário para intuir o tipo de cada propriedade.
|
|
1360
|
-
this.pilhaEscopos.
|
|
1426
|
+
this.pilhaEscopos.definirInformacoesVariavel(identificador.lexema, new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante(identificador.lexema, 'qualquer'));
|
|
1361
1427
|
const declaracaoConst = new declaracoes_1.Const(identificador, new construtos_1.AcessoMetodoOuPropriedade(this.hashArquivo, inicializador, identificador));
|
|
1362
1428
|
declaracaoConst.decoradores = Array.from(this.pilhaDecoradores);
|
|
1363
1429
|
retornos.push(declaracaoConst);
|
|
@@ -1393,7 +1459,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1393
1459
|
for (let [indice, identificador] of identificadores.entries()) {
|
|
1394
1460
|
// Se tipo ainda não foi definido, infere.
|
|
1395
1461
|
tipo = this.logicaComumInferenciaTiposVariaveisEConstantes(inicializadores[indice], tipo);
|
|
1396
|
-
this.pilhaEscopos.
|
|
1462
|
+
this.pilhaEscopos.definirInformacoesVariavel(identificador.lexema, new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante(identificador.lexema, tipo));
|
|
1397
1463
|
retorno.push(new declaracoes_1.Const(identificador, inicializadores[indice], tipo, Array.from(this.pilhaDecoradores)));
|
|
1398
1464
|
}
|
|
1399
1465
|
this.pilhaDecoradores = [];
|
|
@@ -1414,9 +1480,9 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1414
1480
|
this.pilhaDecoradores = [];
|
|
1415
1481
|
// Se houver chamadas recursivas à função, precisamos definir um tipo
|
|
1416
1482
|
// para ela. Vai ser atualizado após avaliação do corpo da função.
|
|
1417
|
-
this.pilhaEscopos.
|
|
1483
|
+
this.pilhaEscopos.definirInformacoesVariavel(simbolo.lexema, new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante(simbolo.lexema, 'qualquer'));
|
|
1418
1484
|
const corpoDaFuncao = this.corpoDaFuncao(tipo);
|
|
1419
|
-
this.pilhaEscopos.
|
|
1485
|
+
this.pilhaEscopos.definirInformacoesVariavel(simbolo.lexema, new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante(simbolo.lexema, corpoDaFuncao.tipo));
|
|
1420
1486
|
const funcaoDeclaracao = new declaracoes_1.FuncaoDeclaracao(simbolo, corpoDaFuncao, corpoDaFuncao.tipo, decoradores);
|
|
1421
1487
|
this.pilhaEscopos.registrarReferenciaFuncao(simbolo.lexema, funcaoDeclaracao);
|
|
1422
1488
|
return funcaoDeclaracao;
|
|
@@ -1442,7 +1508,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1442
1508
|
parametro.tipoDado = tipoDadoParametro;
|
|
1443
1509
|
this.avancarEDevolverAnterior();
|
|
1444
1510
|
}
|
|
1445
|
-
this.pilhaEscopos.
|
|
1511
|
+
this.pilhaEscopos.definirInformacoesVariavel(parametro.nome.lexema, new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante(parametro.nome.lexema, parametro.tipoDado || 'qualquer'));
|
|
1446
1512
|
parametros.push(parametro);
|
|
1447
1513
|
if (parametro.abrangencia === 'multiplo')
|
|
1448
1514
|
break;
|
|
@@ -1645,28 +1711,99 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1645
1711
|
this.avancarEDevolverAnterior();
|
|
1646
1712
|
}
|
|
1647
1713
|
}
|
|
1714
|
+
/**
|
|
1715
|
+
* Inicializa o primeiro nível da pilha de escopos, normalmente com ítens da biblioteca global.
|
|
1716
|
+
* TODO: Esta abordagem deve ser depreciada, em favor do novo suporte a referências de funções.
|
|
1717
|
+
*/
|
|
1648
1718
|
inicializarPilhaEscopos() {
|
|
1649
1719
|
this.pilhaEscopos = new pilha_escopos_1.PilhaEscopos();
|
|
1650
1720
|
this.pilhaEscopos.empilhar(new informacao_escopo_1.InformacaoEscopo());
|
|
1651
1721
|
// Funções nativas de Delégua
|
|
1652
|
-
this.pilhaEscopos.
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
this.pilhaEscopos.
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
this.pilhaEscopos.
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
this.pilhaEscopos.
|
|
1664
|
-
|
|
1665
|
-
|
|
1722
|
+
this.pilhaEscopos.definirInformacoesVariavel('aleatorio', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('aleatorio', 'inteiro', [
|
|
1723
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('número', 'número')
|
|
1724
|
+
]));
|
|
1725
|
+
this.pilhaEscopos.definirInformacoesVariavel('aleatorioEntre', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('aleatorioEntre', 'inteiro', [
|
|
1726
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('minimo', 'número'),
|
|
1727
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('maximo', 'número')
|
|
1728
|
+
]));
|
|
1729
|
+
this.pilhaEscopos.definirInformacoesVariavel('algum', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('algum', 'lógico', [
|
|
1730
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('vetor', 'qualquer[]'),
|
|
1731
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('funcaoPesquisa', 'função')
|
|
1732
|
+
]));
|
|
1733
|
+
this.pilhaEscopos.definirInformacoesVariavel('encontrar', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('encontrar', 'qualquer', [
|
|
1734
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('vetor', 'qualquer[]'),
|
|
1735
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('funcaoPesquisa', 'função')
|
|
1736
|
+
]));
|
|
1737
|
+
this.pilhaEscopos.definirInformacoesVariavel('encontrarIndice', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('encontrarIndice', 'inteiro', [
|
|
1738
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('vetor', 'qualquer[]'),
|
|
1739
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('funcaoPesquisa', 'função')
|
|
1740
|
+
]));
|
|
1741
|
+
this.pilhaEscopos.definirInformacoesVariavel('encontrarUltimo', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('encontrarUltimo', 'inteiro', [
|
|
1742
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('vetor', 'qualquer[]'),
|
|
1743
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('funcaoPesquisa', 'função')
|
|
1744
|
+
]));
|
|
1745
|
+
this.pilhaEscopos.definirInformacoesVariavel('encontrarUltimoIndice', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('encontrarUltimoIndice', 'inteiro', [
|
|
1746
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('vetor', 'qualquer[]'),
|
|
1747
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('funcaoPesquisa', 'função')
|
|
1748
|
+
]));
|
|
1749
|
+
this.pilhaEscopos.definirInformacoesVariavel('filtrarPor', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('filtrarPor', 'qualquer[]', [
|
|
1750
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('vetor', 'qualquer[]'),
|
|
1751
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('funcaoFiltragem', 'função')
|
|
1752
|
+
]));
|
|
1753
|
+
this.pilhaEscopos.definirInformacoesVariavel('incluido', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('incluido', 'lógico', [
|
|
1754
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('vetor', 'qualquer[]'),
|
|
1755
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('valor', 'qualquer')
|
|
1756
|
+
]));
|
|
1757
|
+
this.pilhaEscopos.definirInformacoesVariavel('inteiro', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('inteiro', 'inteiro', [
|
|
1758
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('valor', 'qualquer')
|
|
1759
|
+
]));
|
|
1760
|
+
this.pilhaEscopos.definirInformacoesVariavel('mapear', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('mapear', 'qualquer[]', [
|
|
1761
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('vetor', 'qualquer[]'),
|
|
1762
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('funcaoMapeamento', 'função')
|
|
1763
|
+
]));
|
|
1764
|
+
this.pilhaEscopos.definirInformacoesVariavel('numero', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('número', 'número', [
|
|
1765
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('valorParaConverter', 'qualquer')
|
|
1766
|
+
]));
|
|
1767
|
+
this.pilhaEscopos.definirInformacoesVariavel('número', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('número', 'número', [
|
|
1768
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('valorParaConverter', 'qualquer')
|
|
1769
|
+
]));
|
|
1770
|
+
this.pilhaEscopos.definirInformacoesVariavel('ordenar', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('ordenar', 'qualquer[]', [
|
|
1771
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('vetor', 'qualquer[]'),
|
|
1772
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('funcaoOrdenacao', 'função')
|
|
1773
|
+
]));
|
|
1774
|
+
this.pilhaEscopos.definirInformacoesVariavel('paraCada', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('paraCada', 'qualquer[]', [
|
|
1775
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('vetor', 'qualquer[]'),
|
|
1776
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('funcaoFiltragem', 'função')
|
|
1777
|
+
]));
|
|
1778
|
+
this.pilhaEscopos.definirInformacoesVariavel('primeiroEmCondicao', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('primeiroEmCondicao', 'qualquer', [
|
|
1779
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('vetor', 'qualquer[]'),
|
|
1780
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('funcaoFiltragem', 'função')
|
|
1781
|
+
]));
|
|
1782
|
+
this.pilhaEscopos.definirInformacoesVariavel('real', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('real', 'número', [
|
|
1783
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('valorParaConverter', 'qualquer')
|
|
1784
|
+
]));
|
|
1785
|
+
this.pilhaEscopos.definirInformacoesVariavel('reduzir', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('reduzir', 'qualquer', [
|
|
1786
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('vetor', 'qualquer[]'),
|
|
1787
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('funcaoReducao', 'função'),
|
|
1788
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('valorInicial', 'qualquer')
|
|
1789
|
+
]));
|
|
1790
|
+
this.pilhaEscopos.definirInformacoesVariavel('tamanho', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('tamanho', 'inteiro', [
|
|
1791
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('objeto', 'qualquer')
|
|
1792
|
+
]));
|
|
1793
|
+
this.pilhaEscopos.definirInformacoesVariavel('texto', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('texto', 'texto', [
|
|
1794
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('valorParaConverter', 'qualquer')
|
|
1795
|
+
]));
|
|
1796
|
+
this.pilhaEscopos.definirInformacoesVariavel('todosEmCondicao', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('todosEmCondicao', 'lógico', [
|
|
1797
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('vetor', 'qualquer[]'),
|
|
1798
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('funcaoCondicional', 'função')
|
|
1799
|
+
]));
|
|
1800
|
+
this.pilhaEscopos.definirInformacoesVariavel('tupla', new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('tupla', 'tupla', [
|
|
1801
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('vetor', 'qualquer[]')
|
|
1802
|
+
]));
|
|
1666
1803
|
// TODO: Escrever algum tipo de validação aqui.
|
|
1667
1804
|
for (const tipos of Object.values(this.tiposDeFerramentasExternas)) {
|
|
1668
1805
|
for (const [nomeTipo, tipo] of Object.entries(tipos)) {
|
|
1669
|
-
this.pilhaEscopos.
|
|
1806
|
+
this.pilhaEscopos.definirInformacoesVariavel(nomeTipo, new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante(nomeTipo, tipo));
|
|
1670
1807
|
}
|
|
1671
1808
|
}
|
|
1672
1809
|
}
|
|
@@ -1693,6 +1830,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1693
1830
|
}
|
|
1694
1831
|
if (this.performance) {
|
|
1695
1832
|
const deltaAnalise = (0, browser_process_hrtime_1.default)(inicioAnalise);
|
|
1833
|
+
// eslint-disable-next-line no-undef
|
|
1696
1834
|
console.log(`[Avaliador Sintático] Tempo para análise: ${deltaAnalise[0] * 1e9 + deltaAnalise[1]}ns`);
|
|
1697
1835
|
}
|
|
1698
1836
|
return {
|
|
@@ -1703,7 +1841,7 @@ class AvaliadorSintatico extends avaliador_sintatico_base_1.AvaliadorSintaticoBa
|
|
|
1703
1841
|
}
|
|
1704
1842
|
exports.AvaliadorSintatico = AvaliadorSintatico;
|
|
1705
1843
|
|
|
1706
|
-
},{"../bibliotecas/primitivas-dicionario":16,"../bibliotecas/primitivas-numero":17,"../bibliotecas/primitivas-texto":18,"../bibliotecas/primitivas-vetor":19,"../construtos":42,"../construtos/tuplas":52,"../declaracoes":82,"../inferenciador":105,"../tipos-de-dados/delegua":
|
|
1844
|
+
},{"../bibliotecas/primitivas-dicionario":16,"../bibliotecas/primitivas-numero":17,"../bibliotecas/primitivas-texto":18,"../bibliotecas/primitivas-vetor":19,"../construtos":42,"../construtos/tuplas":52,"../declaracoes":82,"../inferenciador":105,"../informacao-variavel-ou-constante":106,"../tipos-de-dados/delegua":162,"../tipos-de-simbolos/delegua":165,"./avaliador-sintatico-base":1,"./erro-avaliador-sintatico":7,"./informacao-escopo":9,"./pilha-escopos":12,"browser-process-hrtime":342}],3:[function(require,module,exports){
|
|
1707
1845
|
"use strict";
|
|
1708
1846
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
1709
1847
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2355,7 +2493,7 @@ class AvaliadorSintaticoEguaClassico {
|
|
|
2355
2493
|
}
|
|
2356
2494
|
exports.AvaliadorSintaticoEguaClassico = AvaliadorSintaticoEguaClassico;
|
|
2357
2495
|
|
|
2358
|
-
},{"../../construtos":42,"../../declaracoes":82,"../../tipos-de-simbolos/egua-classico":
|
|
2496
|
+
},{"../../construtos":42,"../../declaracoes":82,"../../tipos-de-simbolos/egua-classico":166,"../erro-avaliador-sintatico":7}],4:[function(require,module,exports){
|
|
2359
2497
|
"use strict";
|
|
2360
2498
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2361
2499
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3015,6 +3153,7 @@ class AvaliadorSintaticoPitugues {
|
|
|
3015
3153
|
case pitugues_1.default.ESCOLHA:
|
|
3016
3154
|
this.avancarEDevolverAnterior();
|
|
3017
3155
|
return this.declaracaoEscolha();
|
|
3156
|
+
case pitugues_1.default.IMPRIMA:
|
|
3018
3157
|
case pitugues_1.default.ESCREVA:
|
|
3019
3158
|
this.avancarEDevolverAnterior();
|
|
3020
3159
|
return this.declaracaoEscreva();
|
|
@@ -3162,7 +3301,7 @@ class AvaliadorSintaticoPitugues {
|
|
|
3162
3301
|
}
|
|
3163
3302
|
exports.AvaliadorSintaticoPitugues = AvaliadorSintaticoPitugues;
|
|
3164
3303
|
|
|
3165
|
-
},{"../../construtos":42,"../../declaracoes":82,"../../inferenciador":105,"../../lexador":
|
|
3304
|
+
},{"../../construtos":42,"../../declaracoes":82,"../../inferenciador":105,"../../lexador":154,"../../tipos-de-simbolos/pitugues":169,"../erro-avaliador-sintatico":7,"browser-process-hrtime":342}],5:[function(require,module,exports){
|
|
3166
3305
|
"use strict";
|
|
3167
3306
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3168
3307
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3331,7 +3470,7 @@ class AvaliadorSintaticoPortugolIpt extends avaliador_sintatico_base_1.Avaliador
|
|
|
3331
3470
|
}
|
|
3332
3471
|
exports.AvaliadorSintaticoPortugolIpt = AvaliadorSintaticoPortugolIpt;
|
|
3333
3472
|
|
|
3334
|
-
},{"../../construtos":42,"../../declaracoes":82,"../../tipos-de-simbolos/portugol-ipt":
|
|
3473
|
+
},{"../../construtos":42,"../../declaracoes":82,"../../tipos-de-simbolos/portugol-ipt":170,"../avaliador-sintatico-base":1}],6:[function(require,module,exports){
|
|
3335
3474
|
"use strict";
|
|
3336
3475
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3337
3476
|
if (k2 === undefined) k2 = k;
|
|
@@ -3386,11 +3525,12 @@ __exportStar(require("./avaliador-sintatico"), exports);
|
|
|
3386
3525
|
__exportStar(require("./avaliador-sintatico-base"), exports);
|
|
3387
3526
|
__exportStar(require("./dialetos"), exports);
|
|
3388
3527
|
__exportStar(require("./erro-avaliador-sintatico"), exports);
|
|
3528
|
+
__exportStar(require("./informacao-escopo"), exports);
|
|
3389
3529
|
__exportStar(require("./micro-avaliador-sintatico"), exports);
|
|
3390
3530
|
__exportStar(require("./pilha-escopos"), exports);
|
|
3391
3531
|
__exportStar(require("./retornos"), exports);
|
|
3392
3532
|
|
|
3393
|
-
},{"./avaliador-sintatico":2,"./avaliador-sintatico-base":1,"./dialetos":6,"./erro-avaliador-sintatico":7,"./micro-avaliador-sintatico":11,"./pilha-escopos":12,"./retornos":13}],9:[function(require,module,exports){
|
|
3533
|
+
},{"./avaliador-sintatico":2,"./avaliador-sintatico-base":1,"./dialetos":6,"./erro-avaliador-sintatico":7,"./informacao-escopo":9,"./micro-avaliador-sintatico":11,"./pilha-escopos":12,"./retornos":13}],9:[function(require,module,exports){
|
|
3394
3534
|
"use strict";
|
|
3395
3535
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3396
3536
|
exports.InformacaoEscopo = void 0;
|
|
@@ -3520,7 +3660,7 @@ class MicroAvaliadorSintaticoBase {
|
|
|
3520
3660
|
}
|
|
3521
3661
|
exports.MicroAvaliadorSintaticoBase = MicroAvaliadorSintaticoBase;
|
|
3522
3662
|
|
|
3523
|
-
},{"../construtos":42,"../tipos-de-simbolos/comum":
|
|
3663
|
+
},{"../construtos":42,"../tipos-de-simbolos/comum":164,"./erro-avaliador-sintatico":7}],11:[function(require,module,exports){
|
|
3524
3664
|
"use strict";
|
|
3525
3665
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3526
3666
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3726,7 +3866,7 @@ class MicroAvaliadorSintatico extends micro_avaliador_sintatico_base_1.MicroAval
|
|
|
3726
3866
|
}
|
|
3727
3867
|
exports.MicroAvaliadorSintatico = MicroAvaliadorSintatico;
|
|
3728
3868
|
|
|
3729
|
-
},{"../construtos":42,"../tipos-de-simbolos/microgramaticas/delegua":
|
|
3869
|
+
},{"../construtos":42,"../tipos-de-simbolos/microgramaticas/delegua":168,"./micro-avaliador-sintatico-base":10}],12:[function(require,module,exports){
|
|
3730
3870
|
"use strict";
|
|
3731
3871
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3732
3872
|
exports.PilhaEscopos = void 0;
|
|
@@ -3750,18 +3890,21 @@ class PilhaEscopos {
|
|
|
3750
3890
|
throw new Error('Pilha vazia.');
|
|
3751
3891
|
return this.pilha.pop();
|
|
3752
3892
|
}
|
|
3893
|
+
obterBibliotecaGlobal(nome) {
|
|
3894
|
+
return this.pilha[0].variaveisEConstantes[nome];
|
|
3895
|
+
}
|
|
3753
3896
|
obterTipoVariavelPorNome(nome) {
|
|
3754
3897
|
for (let i = 1; i <= this.pilha.length; i++) {
|
|
3755
3898
|
const informacaoEscopo = this.pilha[this.pilha.length - i];
|
|
3756
3899
|
if (informacaoEscopo.variaveisEConstantes[nome] !== undefined) {
|
|
3757
|
-
return informacaoEscopo.variaveisEConstantes[nome];
|
|
3900
|
+
return informacaoEscopo.variaveisEConstantes[nome].tipo;
|
|
3758
3901
|
}
|
|
3759
3902
|
}
|
|
3760
3903
|
throw new Error("Variável não definida: '" + nome + "'.");
|
|
3761
3904
|
}
|
|
3762
|
-
|
|
3905
|
+
definirInformacoesVariavel(nomeVariavel, informacoes) {
|
|
3763
3906
|
const topoDaPilha = this.topoDaPilha();
|
|
3764
|
-
topoDaPilha.variaveisEConstantes[nomeVariavel] =
|
|
3907
|
+
topoDaPilha.variaveisEConstantes[nomeVariavel] = informacoes;
|
|
3765
3908
|
}
|
|
3766
3909
|
registrarReferenciaFuncao(nome, definicao) {
|
|
3767
3910
|
const topoDaPilha = this.topoDaPilha();
|
|
@@ -3943,7 +4086,7 @@ async function encontrarIndice(interpretador, vetor, funcaoPesquisa) {
|
|
|
3943
4086
|
* @param {InterpretadorInterface} interpretador A instância do interpretador.
|
|
3944
4087
|
* @param {VariavelInterface | any} vetor Uma variável de Delégua ou um vetor nativo de JavaScript.
|
|
3945
4088
|
* @param {VariavelInterface | any} funcaoPesquisa A função que ensina o método de pesquisa.
|
|
3946
|
-
* @returns {Promise<
|
|
4089
|
+
* @returns {Promise<any>} O número correspondente ao índice se o elemento for encontrado, ou nulo em caso contrário.
|
|
3947
4090
|
*/
|
|
3948
4091
|
async function encontrarUltimo(interpretador, vetor, funcaoPesquisa) {
|
|
3949
4092
|
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
@@ -4065,6 +4208,8 @@ async function mapear(interpretador, vetor, funcaoMapeamento) {
|
|
|
4065
4208
|
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função mapear() não pode ser nulo.'));
|
|
4066
4209
|
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
4067
4210
|
const valorFuncaoMapeamento = funcaoMapeamento.hasOwnProperty('valor') ? funcaoMapeamento.valor : funcaoMapeamento;
|
|
4211
|
+
// TODO: As lógicas de validação abaixo deixam de fazer sentido com a validação de argumentos feita
|
|
4212
|
+
// na avaliação sintática. Estudar remoção.
|
|
4068
4213
|
if (!Array.isArray(valorVetor)) {
|
|
4069
4214
|
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função mapear() deve ser um vetor.'));
|
|
4070
4215
|
}
|
|
@@ -4127,6 +4272,8 @@ async function paraCada(interpretador, vetor, funcaoFiltragem) {
|
|
|
4127
4272
|
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função paraCada() não pode ser nulo.'));
|
|
4128
4273
|
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
4129
4274
|
const valorFuncaoFiltragem = funcaoFiltragem.hasOwnProperty('valor') ? funcaoFiltragem.valor : funcaoFiltragem;
|
|
4275
|
+
// TODO: As lógicas de validação abaixo deixam de fazer sentido com a validação de argumentos feita
|
|
4276
|
+
// na avaliação sintática. Estudar remoção.
|
|
4130
4277
|
if (!Array.isArray(valorVetor)) {
|
|
4131
4278
|
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função paraCada() deve ser um vetor.'));
|
|
4132
4279
|
}
|
|
@@ -4183,13 +4330,13 @@ async function real(interpretador, numero) {
|
|
|
4183
4330
|
* @param interpretador
|
|
4184
4331
|
* @param vetor
|
|
4185
4332
|
* @param funcaoReducao
|
|
4186
|
-
* @param
|
|
4333
|
+
* @param valorInicial
|
|
4187
4334
|
* @returns
|
|
4188
4335
|
*/
|
|
4189
|
-
async function reduzir(interpretador, vetor, funcaoReducao,
|
|
4336
|
+
async function reduzir(interpretador, vetor, funcaoReducao, valorInicial = null) {
|
|
4190
4337
|
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
4191
4338
|
const valorFuncaoReducao = funcaoReducao.hasOwnProperty('valor') ? funcaoReducao.valor : funcaoReducao;
|
|
4192
|
-
const valorPadrao =
|
|
4339
|
+
const valorPadrao = valorInicial.hasOwnProperty('valor') ? valorInicial.valor : valorInicial;
|
|
4193
4340
|
if (!Array.isArray(valorVetor)) {
|
|
4194
4341
|
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função deve ser um vetor.'));
|
|
4195
4342
|
}
|
|
@@ -4239,11 +4386,11 @@ async function tamanho(interpretador, objeto) {
|
|
|
4239
4386
|
/**
|
|
4240
4387
|
* Transforma o valor ou variável em texto.
|
|
4241
4388
|
* @param {InterpretadorInterface} interpretador A instância do interpretador.
|
|
4242
|
-
* @param {VariavelInterface | any}
|
|
4389
|
+
* @param {VariavelInterface | any} valorParaConverter O valor ou variável.
|
|
4243
4390
|
* @returns {Promise<string>} O valor resolvido em texto.
|
|
4244
4391
|
*/
|
|
4245
|
-
async function texto(interpretador,
|
|
4246
|
-
return Promise.resolve(`${
|
|
4392
|
+
async function texto(interpretador, valorParaConverter) {
|
|
4393
|
+
return Promise.resolve(`${valorParaConverter.hasOwnProperty('valor') ? valorParaConverter.valor : valorParaConverter}`);
|
|
4247
4394
|
}
|
|
4248
4395
|
/**
|
|
4249
4396
|
* Retorna verdadeiro se todos os elementos do primeiro parâmetro retornam verdadeiro ao
|
|
@@ -4279,10 +4426,12 @@ async function todosEmCondicao(interpretador, vetor, funcaoCondicional) {
|
|
|
4279
4426
|
* largura do vetor.
|
|
4280
4427
|
* @param {InterpretadorInterface} interpretador A instância do interpretador.
|
|
4281
4428
|
* @param {VariavelInterface | any[]} vetor O vetor.
|
|
4282
|
-
* @returns
|
|
4429
|
+
* @returns A tupla resolvida.
|
|
4283
4430
|
*/
|
|
4284
4431
|
async function tupla(interpretador, vetor) {
|
|
4285
4432
|
const valorVetor = !Array.isArray(vetor) && vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
4433
|
+
// TODO: As lógicas de validação abaixo deixam de fazer sentido com a validação de argumentos feita
|
|
4434
|
+
// na avaliação sintática. Estudar remoção.
|
|
4286
4435
|
if (!Array.isArray(valorVetor)) {
|
|
4287
4436
|
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Argumento de função nativa `tupla` não parece ser um vetor.'));
|
|
4288
4437
|
}
|
|
@@ -4311,18 +4460,20 @@ async function tupla(interpretador, vetor) {
|
|
|
4311
4460
|
}
|
|
4312
4461
|
}
|
|
4313
4462
|
|
|
4314
|
-
},{"../construtos":42,"../excecoes":99,"../interpretador/estruturas":
|
|
4463
|
+
},{"../construtos":42,"../excecoes":99,"../interpretador/estruturas":135,"../interpretador/estruturas/descritor-tipo-classe":133,"../interpretador/estruturas/funcao-padrao":134,"../interpretador/estruturas/objeto-delegua-classe":138}],16:[function(require,module,exports){
|
|
4315
4464
|
"use strict";
|
|
4316
4465
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4317
4466
|
exports.default = {
|
|
4318
4467
|
chaves: {
|
|
4319
4468
|
tipoRetorno: 'texto[]',
|
|
4469
|
+
argumentos: [],
|
|
4320
4470
|
implementacao: (interpretador, valor) => {
|
|
4321
4471
|
return Promise.resolve(Object.keys(valor));
|
|
4322
4472
|
},
|
|
4323
4473
|
},
|
|
4324
4474
|
valores: {
|
|
4325
4475
|
tipoRetorno: 'qualquer[]',
|
|
4476
|
+
argumentos: [],
|
|
4326
4477
|
implementacao: (interpretador, valor) => {
|
|
4327
4478
|
return Promise.resolve(Object.values(valor));
|
|
4328
4479
|
},
|
|
@@ -4335,40 +4486,58 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4335
4486
|
exports.default = {
|
|
4336
4487
|
arredondarParaBaixo: {
|
|
4337
4488
|
tipoRetorno: 'número',
|
|
4489
|
+
argumentos: [],
|
|
4338
4490
|
implementacao: (interpretador, valor) => {
|
|
4339
4491
|
return Promise.resolve(Math.floor(valor));
|
|
4340
4492
|
},
|
|
4341
4493
|
},
|
|
4342
4494
|
arredondarParaCima: {
|
|
4343
4495
|
tipoRetorno: 'número',
|
|
4496
|
+
argumentos: [],
|
|
4344
4497
|
implementacao: (interpretador, valor) => {
|
|
4345
4498
|
return Promise.resolve(Math.ceil(valor));
|
|
4346
4499
|
},
|
|
4347
4500
|
},
|
|
4501
|
+
absoluto: {
|
|
4502
|
+
tipoRetorno: 'número',
|
|
4503
|
+
argumentos: [],
|
|
4504
|
+
implementacao: (interpretador, valor) => {
|
|
4505
|
+
return Promise.resolve(Math.abs(valor));
|
|
4506
|
+
},
|
|
4507
|
+
},
|
|
4348
4508
|
};
|
|
4349
4509
|
|
|
4350
4510
|
},{}],18:[function(require,module,exports){
|
|
4351
4511
|
"use strict";
|
|
4352
4512
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4513
|
+
const informacao_variavel_ou_constante_1 = require("../informacao-variavel-ou-constante");
|
|
4353
4514
|
exports.default = {
|
|
4354
4515
|
aparar: {
|
|
4355
4516
|
tipoRetorno: 'texto',
|
|
4517
|
+
argumentos: [],
|
|
4356
4518
|
implementacao: (interpretador, texto) => Promise.resolve(texto.trim()),
|
|
4357
4519
|
},
|
|
4358
4520
|
apararFim: {
|
|
4359
4521
|
tipoRetorno: 'texto',
|
|
4522
|
+
argumentos: [],
|
|
4360
4523
|
implementacao: (interpretador, texto) => Promise.resolve(texto.trimEnd()),
|
|
4361
4524
|
},
|
|
4362
4525
|
apararInicio: {
|
|
4363
4526
|
tipoRetorno: 'texto',
|
|
4527
|
+
argumentos: [],
|
|
4364
4528
|
implementacao: (interpretador, texto) => Promise.resolve(texto.trimStart()),
|
|
4365
4529
|
},
|
|
4366
4530
|
concatenar: {
|
|
4367
4531
|
tipoRetorno: 'texto',
|
|
4532
|
+
argumentos: [],
|
|
4368
4533
|
implementacao: (interpretador, ...texto) => Promise.resolve(''.concat(...texto)),
|
|
4369
4534
|
},
|
|
4370
4535
|
dividir: {
|
|
4371
4536
|
tipoRetorno: 'texto[]',
|
|
4537
|
+
argumentos: [
|
|
4538
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('divisor', 'texto'),
|
|
4539
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('limite', 'número')
|
|
4540
|
+
],
|
|
4372
4541
|
implementacao: (interpretador, texto, divisor, limite) => {
|
|
4373
4542
|
if (limite) {
|
|
4374
4543
|
return Promise.resolve(texto.split(divisor, limite));
|
|
@@ -4378,44 +4547,67 @@ exports.default = {
|
|
|
4378
4547
|
},
|
|
4379
4548
|
fatiar: {
|
|
4380
4549
|
tipoRetorno: 'texto',
|
|
4550
|
+
argumentos: [
|
|
4551
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('inicio', 'número'),
|
|
4552
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('fim', 'número')
|
|
4553
|
+
],
|
|
4381
4554
|
implementacao: (interpretador, texto, inicio, fim) => Promise.resolve(texto.slice(inicio, fim)),
|
|
4382
4555
|
},
|
|
4383
4556
|
inclui: {
|
|
4384
4557
|
tipoRetorno: 'texto',
|
|
4558
|
+
argumentos: [
|
|
4559
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('elemento', 'texto')
|
|
4560
|
+
],
|
|
4385
4561
|
implementacao: (interpretador, texto, elemento) => Promise.resolve(texto.includes(elemento)),
|
|
4386
4562
|
},
|
|
4387
4563
|
inverter: {
|
|
4388
4564
|
tipoRetorno: 'texto',
|
|
4565
|
+
argumentos: [],
|
|
4389
4566
|
implementacao: (interpretador, texto) => Promise.resolve(texto.split('').reduce((texto, caracter) => (texto = caracter + texto), '')),
|
|
4390
4567
|
},
|
|
4391
4568
|
maiusculo: {
|
|
4392
4569
|
tipoRetorno: 'texto',
|
|
4570
|
+
argumentos: [],
|
|
4393
4571
|
implementacao: (interpretador, texto) => Promise.resolve(texto.toUpperCase()),
|
|
4394
4572
|
},
|
|
4395
4573
|
minusculo: {
|
|
4396
4574
|
tipoRetorno: 'texto',
|
|
4575
|
+
argumentos: [],
|
|
4397
4576
|
implementacao: (interpretador, texto) => Promise.resolve(texto.toLowerCase()),
|
|
4398
4577
|
},
|
|
4399
4578
|
substituir: {
|
|
4400
4579
|
tipoRetorno: 'texto',
|
|
4580
|
+
argumentos: [
|
|
4581
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('elemento', 'texto'),
|
|
4582
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('substituto', 'texto')
|
|
4583
|
+
],
|
|
4401
4584
|
implementacao: (interpretador, texto, elemento, substituto) => Promise.resolve(texto.replace(elemento, substituto)),
|
|
4402
4585
|
},
|
|
4403
4586
|
subtexto: {
|
|
4404
4587
|
tipoRetorno: 'texto',
|
|
4588
|
+
argumentos: [
|
|
4589
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('inicio', 'número'),
|
|
4590
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('fim', 'número')
|
|
4591
|
+
],
|
|
4405
4592
|
implementacao: (interpretador, texto, inicio, fim) => Promise.resolve(texto.slice(inicio, fim)),
|
|
4406
4593
|
},
|
|
4407
4594
|
tamanho: {
|
|
4408
4595
|
tipoRetorno: 'número',
|
|
4596
|
+
argumentos: [],
|
|
4409
4597
|
implementacao: (interpretador, texto) => Promise.resolve(texto.length),
|
|
4410
4598
|
},
|
|
4411
4599
|
};
|
|
4412
4600
|
|
|
4413
|
-
},{}],19:[function(require,module,exports){
|
|
4601
|
+
},{"../informacao-variavel-ou-constante":106}],19:[function(require,module,exports){
|
|
4414
4602
|
"use strict";
|
|
4415
4603
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4604
|
+
const informacao_variavel_ou_constante_1 = require("../informacao-variavel-ou-constante");
|
|
4416
4605
|
exports.default = {
|
|
4417
4606
|
adicionar: {
|
|
4418
4607
|
tipoRetorno: 'qualquer[]',
|
|
4608
|
+
argumentos: [
|
|
4609
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('elemento', 'qualquer')
|
|
4610
|
+
],
|
|
4419
4611
|
implementacao: (interpretador, vetor, elemento) => {
|
|
4420
4612
|
vetor.push(elemento);
|
|
4421
4613
|
return Promise.resolve(vetor);
|
|
@@ -4423,12 +4615,18 @@ exports.default = {
|
|
|
4423
4615
|
},
|
|
4424
4616
|
concatenar: {
|
|
4425
4617
|
tipoRetorno: 'qualquer[]',
|
|
4618
|
+
argumentos: [
|
|
4619
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('outroVetor', 'qualquer[]')
|
|
4620
|
+
],
|
|
4426
4621
|
implementacao: (interpretador, vetor, outroVetor) => {
|
|
4427
4622
|
return Promise.resolve(vetor.concat(outroVetor));
|
|
4428
4623
|
},
|
|
4429
4624
|
},
|
|
4430
4625
|
empilhar: {
|
|
4431
4626
|
tipoRetorno: 'qualquer[]',
|
|
4627
|
+
argumentos: [
|
|
4628
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('elemento', 'qualquer')
|
|
4629
|
+
],
|
|
4432
4630
|
implementacao: (interpretador, vetor, elemento) => {
|
|
4433
4631
|
vetor.push(elemento);
|
|
4434
4632
|
return Promise.resolve(vetor);
|
|
@@ -4436,25 +4634,37 @@ exports.default = {
|
|
|
4436
4634
|
},
|
|
4437
4635
|
encaixar: {
|
|
4438
4636
|
tipoRetorno: 'qualquer[]',
|
|
4439
|
-
|
|
4637
|
+
argumentos: [
|
|
4638
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('inicio', 'qualquer'),
|
|
4639
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('excluirQuantidade', 'número'),
|
|
4640
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('itens', 'qualquer[]')
|
|
4641
|
+
],
|
|
4642
|
+
implementacao: (interpretador, vetor, inicio, excluirQuantidade, ...itens) => {
|
|
4440
4643
|
let elementos = [];
|
|
4441
4644
|
if (excluirQuantidade || excluirQuantidade === 0) {
|
|
4442
|
-
elementos = !
|
|
4645
|
+
elementos = !itens.length
|
|
4443
4646
|
? vetor.splice(inicio, excluirQuantidade)
|
|
4444
|
-
: vetor.splice(inicio, excluirQuantidade, ...
|
|
4647
|
+
: vetor.splice(inicio, excluirQuantidade, ...itens);
|
|
4445
4648
|
}
|
|
4446
4649
|
else {
|
|
4447
|
-
elementos = !
|
|
4650
|
+
elementos = !itens.length ? vetor.splice(inicio) : vetor.splice(inicio, ...itens);
|
|
4448
4651
|
}
|
|
4449
4652
|
return Promise.resolve(elementos);
|
|
4450
4653
|
},
|
|
4451
4654
|
},
|
|
4452
4655
|
fatiar: {
|
|
4453
4656
|
tipoRetorno: 'qualquer[]',
|
|
4657
|
+
argumentos: [
|
|
4658
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('inicio', 'número'),
|
|
4659
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('fim', 'número')
|
|
4660
|
+
],
|
|
4454
4661
|
implementacao: (interpretador, vetor, inicio, fim) => Promise.resolve(vetor.slice(inicio, fim)),
|
|
4455
4662
|
},
|
|
4456
4663
|
filtrarPor: {
|
|
4457
4664
|
tipoRetorno: 'qualquer[]',
|
|
4665
|
+
argumentos: [
|
|
4666
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('funcao', 'função')
|
|
4667
|
+
],
|
|
4458
4668
|
implementacao: async (interpretador, vetor, funcao) => {
|
|
4459
4669
|
if (funcao === undefined || funcao === null) {
|
|
4460
4670
|
return Promise.reject("É necessário passar uma função para o método 'filtrarPor'");
|
|
@@ -4470,18 +4680,28 @@ exports.default = {
|
|
|
4470
4680
|
},
|
|
4471
4681
|
inclui: {
|
|
4472
4682
|
tipoRetorno: 'lógico',
|
|
4683
|
+
argumentos: [
|
|
4684
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('elemento', 'qualquer')
|
|
4685
|
+
],
|
|
4473
4686
|
implementacao: (interpretador, vetor, elemento) => Promise.resolve(vetor.includes(elemento)),
|
|
4474
4687
|
},
|
|
4475
4688
|
inverter: {
|
|
4476
4689
|
tipoRetorno: 'qualquer[]',
|
|
4690
|
+
argumentos: [],
|
|
4477
4691
|
implementacao: (interpretador, vetor) => Promise.resolve(vetor.reverse()),
|
|
4478
4692
|
},
|
|
4479
4693
|
juntar: {
|
|
4480
4694
|
tipoRetorno: 'texto',
|
|
4695
|
+
argumentos: [
|
|
4696
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('separador', 'texto')
|
|
4697
|
+
],
|
|
4481
4698
|
implementacao: (interpretador, vetor, separador) => Promise.resolve(vetor.join(separador)),
|
|
4482
4699
|
},
|
|
4483
4700
|
mapear: {
|
|
4484
4701
|
tipoRetorno: 'qualquer[]',
|
|
4702
|
+
argumentos: [
|
|
4703
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('funcao', 'função')
|
|
4704
|
+
],
|
|
4485
4705
|
implementacao: async (interpretador, vetor, funcao) => {
|
|
4486
4706
|
if (funcao === undefined || funcao === null) {
|
|
4487
4707
|
return Promise.reject("É necessário passar uma função para o método 'mapear'");
|
|
@@ -4496,6 +4716,9 @@ exports.default = {
|
|
|
4496
4716
|
},
|
|
4497
4717
|
ordenar: {
|
|
4498
4718
|
tipoRetorno: 'qualquer[]',
|
|
4719
|
+
argumentos: [
|
|
4720
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('funcaoOrdenacao', 'função')
|
|
4721
|
+
],
|
|
4499
4722
|
implementacao: async (interpretador, vetor, funcaoOrdenacao) => {
|
|
4500
4723
|
if (funcaoOrdenacao !== undefined && funcaoOrdenacao !== null) {
|
|
4501
4724
|
for (let i = 0; i < vetor.length - 1; i++) {
|
|
@@ -4517,6 +4740,9 @@ exports.default = {
|
|
|
4517
4740
|
},
|
|
4518
4741
|
remover: {
|
|
4519
4742
|
tipoRetorno: 'qualquer[]',
|
|
4743
|
+
argumentos: [
|
|
4744
|
+
new informacao_variavel_ou_constante_1.InformacaoVariavelOuConstante('elemento', 'qualquer')
|
|
4745
|
+
],
|
|
4520
4746
|
implementacao: (interpretador, vetor, elemento) => {
|
|
4521
4747
|
const index = vetor.indexOf(elemento);
|
|
4522
4748
|
if (index !== -1)
|
|
@@ -4526,6 +4752,7 @@ exports.default = {
|
|
|
4526
4752
|
},
|
|
4527
4753
|
removerPrimeiro: {
|
|
4528
4754
|
tipoRetorno: 'qualquer',
|
|
4755
|
+
argumentos: [],
|
|
4529
4756
|
implementacao: (interpretador, vetor) => {
|
|
4530
4757
|
let elemento = vetor.shift();
|
|
4531
4758
|
return Promise.resolve(elemento);
|
|
@@ -4533,6 +4760,7 @@ exports.default = {
|
|
|
4533
4760
|
},
|
|
4534
4761
|
removerUltimo: {
|
|
4535
4762
|
tipoRetorno: 'qualquer',
|
|
4763
|
+
argumentos: [],
|
|
4536
4764
|
implementacao: (interpretador, vetor) => {
|
|
4537
4765
|
let elemento = vetor.pop();
|
|
4538
4766
|
return Promise.resolve(elemento);
|
|
@@ -4540,17 +4768,19 @@ exports.default = {
|
|
|
4540
4768
|
},
|
|
4541
4769
|
somar: {
|
|
4542
4770
|
tipoRetorno: 'qualquer',
|
|
4771
|
+
argumentos: [],
|
|
4543
4772
|
implementacao: (interpretador, vetor) => {
|
|
4544
4773
|
return Promise.resolve(vetor.reduce((acc, item) => acc + (typeof item === 'number' ? item : item.valor), 0));
|
|
4545
4774
|
},
|
|
4546
4775
|
},
|
|
4547
4776
|
tamanho: {
|
|
4548
4777
|
tipoRetorno: 'número',
|
|
4778
|
+
argumentos: [],
|
|
4549
4779
|
implementacao: (interpretador, vetor) => Promise.resolve(vetor.length),
|
|
4550
4780
|
},
|
|
4551
4781
|
};
|
|
4552
4782
|
|
|
4553
|
-
},{}],20:[function(require,module,exports){
|
|
4783
|
+
},{"../informacao-variavel-ou-constante":106}],20:[function(require,module,exports){
|
|
4554
4784
|
"use strict";
|
|
4555
4785
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4556
4786
|
exports.AcessoElementoMatriz = void 0;
|
|
@@ -6968,7 +7198,7 @@ class FormatadorDelegua {
|
|
|
6968
7198
|
}
|
|
6969
7199
|
exports.FormatadorDelegua = FormatadorDelegua;
|
|
6970
7200
|
|
|
6971
|
-
},{"../construtos":42,"../tipos-de-simbolos/delegua":
|
|
7201
|
+
},{"../construtos":42,"../tipos-de-simbolos/delegua":165}],101:[function(require,module,exports){
|
|
6972
7202
|
"use strict";
|
|
6973
7203
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6974
7204
|
exports.FormatadorPitugues = void 0;
|
|
@@ -7217,7 +7447,7 @@ __exportStar(require("./interpretador"), exports);
|
|
|
7217
7447
|
__exportStar(require("./lexador"), exports);
|
|
7218
7448
|
__exportStar(require("./tradutores"), exports);
|
|
7219
7449
|
|
|
7220
|
-
},{"./avaliador-sintatico":8,"./construtos":42,"./declaracoes":82,"./depuracao":95,"./formatadores":102,"./interfaces":
|
|
7450
|
+
},{"./avaliador-sintatico":8,"./construtos":42,"./declaracoes":82,"./depuracao":95,"./formatadores":102,"./interfaces":112,"./interpretador":140,"./lexador":154,"./tradutores":171}],105:[function(require,module,exports){
|
|
7221
7451
|
"use strict";
|
|
7222
7452
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
7223
7453
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -7344,9 +7574,22 @@ function tipoInferenciaParaTipoDadosElementar(tipoInferencia) {
|
|
|
7344
7574
|
}
|
|
7345
7575
|
}
|
|
7346
7576
|
|
|
7347
|
-
},{"./tipos-de-dados/delegua":
|
|
7577
|
+
},{"./tipos-de-dados/delegua":162,"./tipos-de-dados/primitivos":163,"./tipos-de-simbolos/delegua":165}],106:[function(require,module,exports){
|
|
7348
7578
|
"use strict";
|
|
7349
7579
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7580
|
+
exports.InformacaoVariavelOuConstante = void 0;
|
|
7581
|
+
class InformacaoVariavelOuConstante {
|
|
7582
|
+
constructor(nome, tipo, argumentos = []) {
|
|
7583
|
+
this.argumentos = [];
|
|
7584
|
+
this.nome = nome;
|
|
7585
|
+
this.tipo = tipo;
|
|
7586
|
+
this.argumentos = argumentos;
|
|
7587
|
+
}
|
|
7588
|
+
toString() {
|
|
7589
|
+
return `InformacaoVariavelOuConstante(nome=${this.nome}, tipo=${this.tipo}, argumentos=${this.argumentos.map(arg => arg.toString()).join(', ')})`;
|
|
7590
|
+
}
|
|
7591
|
+
}
|
|
7592
|
+
exports.InformacaoVariavelOuConstante = InformacaoVariavelOuConstante;
|
|
7350
7593
|
|
|
7351
7594
|
},{}],107:[function(require,module,exports){
|
|
7352
7595
|
"use strict";
|
|
@@ -7355,6 +7598,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7355
7598
|
},{}],108:[function(require,module,exports){
|
|
7356
7599
|
"use strict";
|
|
7357
7600
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7601
|
+
|
|
7602
|
+
},{}],109:[function(require,module,exports){
|
|
7603
|
+
"use strict";
|
|
7604
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7358
7605
|
exports.DiagnosticoSeveridade = void 0;
|
|
7359
7606
|
var DiagnosticoSeveridade;
|
|
7360
7607
|
(function (DiagnosticoSeveridade) {
|
|
@@ -7364,7 +7611,7 @@ var DiagnosticoSeveridade;
|
|
|
7364
7611
|
DiagnosticoSeveridade[DiagnosticoSeveridade["SUGESTAO"] = 3] = "SUGESTAO";
|
|
7365
7612
|
})(DiagnosticoSeveridade || (exports.DiagnosticoSeveridade = DiagnosticoSeveridade = {}));
|
|
7366
7613
|
|
|
7367
|
-
},{}],
|
|
7614
|
+
},{}],110:[function(require,module,exports){
|
|
7368
7615
|
"use strict";
|
|
7369
7616
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7370
7617
|
if (k2 === undefined) k2 = k;
|
|
@@ -7383,11 +7630,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
7383
7630
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7384
7631
|
__exportStar(require("./diagnostico-analisador-semantico"), exports);
|
|
7385
7632
|
|
|
7386
|
-
},{"./diagnostico-analisador-semantico":
|
|
7633
|
+
},{"./diagnostico-analisador-semantico":109}],111:[function(require,module,exports){
|
|
7387
7634
|
"use strict";
|
|
7388
7635
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7389
7636
|
|
|
7390
|
-
},{}],
|
|
7637
|
+
},{}],112:[function(require,module,exports){
|
|
7391
7638
|
"use strict";
|
|
7392
7639
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7393
7640
|
if (k2 === undefined) k2 = k;
|
|
@@ -7422,11 +7669,7 @@ __exportStar(require("./construtos"), exports);
|
|
|
7422
7669
|
__exportStar(require("./erros"), exports);
|
|
7423
7670
|
__exportStar(require("./retornos"), exports);
|
|
7424
7671
|
|
|
7425
|
-
},{"./avaliador-sintatico-interface":
|
|
7426
|
-
"use strict";
|
|
7427
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7428
|
-
|
|
7429
|
-
},{}],113:[function(require,module,exports){
|
|
7672
|
+
},{"./avaliador-sintatico-interface":107,"./construtos":108,"./erros":110,"./formatador-comum-interface":111,"./interpretador-com-depuracao-interface":113,"./interpretador-interface":114,"./lexador-interface":115,"./parametro-interface":116,"./pilha-interface":117,"./primitiva-interface":118,"./resolvedor-interface":119,"./retornos":120,"./retornos/retorno-execucao-interface":122,"./simbolo-interface":125,"./tradutor-interface":126,"./variavel-interface":127,"./visitante-comum-interface":128}],113:[function(require,module,exports){
|
|
7430
7673
|
"use strict";
|
|
7431
7674
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7432
7675
|
|
|
@@ -7452,6 +7695,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7452
7695
|
|
|
7453
7696
|
},{}],119:[function(require,module,exports){
|
|
7454
7697
|
"use strict";
|
|
7698
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7699
|
+
|
|
7700
|
+
},{}],120:[function(require,module,exports){
|
|
7701
|
+
"use strict";
|
|
7455
7702
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7456
7703
|
if (k2 === undefined) k2 = k;
|
|
7457
7704
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -7472,11 +7719,7 @@ __exportStar(require("./retorno-execucao-interface"), exports);
|
|
|
7472
7719
|
__exportStar(require("./retorno-interpretador"), exports);
|
|
7473
7720
|
__exportStar(require("./retorno-lexador"), exports);
|
|
7474
7721
|
|
|
7475
|
-
},{"./retorno-avaliador-sintatico":
|
|
7476
|
-
"use strict";
|
|
7477
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7478
|
-
|
|
7479
|
-
},{}],121:[function(require,module,exports){
|
|
7722
|
+
},{"./retorno-avaliador-sintatico":121,"./retorno-execucao-interface":122,"./retorno-interpretador":123,"./retorno-lexador":124}],121:[function(require,module,exports){
|
|
7480
7723
|
"use strict";
|
|
7481
7724
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7482
7725
|
|
|
@@ -7506,6 +7749,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7506
7749
|
|
|
7507
7750
|
},{}],128:[function(require,module,exports){
|
|
7508
7751
|
"use strict";
|
|
7752
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7753
|
+
|
|
7754
|
+
},{}],129:[function(require,module,exports){
|
|
7755
|
+
"use strict";
|
|
7509
7756
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7510
7757
|
if (k2 === undefined) k2 = k;
|
|
7511
7758
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -7569,7 +7816,7 @@ function carregarBibliotecasGlobais(pilhaEscoposExecucao) {
|
|
|
7569
7816
|
pilhaEscoposExecucao.definirVariavel('tupla', new funcao_padrao_1.FuncaoPadrao(1, bibliotecaGlobal.tupla));
|
|
7570
7817
|
}
|
|
7571
7818
|
|
|
7572
|
-
},{"../bibliotecas/biblioteca-global":15,"./estruturas/funcao-padrao":
|
|
7819
|
+
},{"../bibliotecas/biblioteca-global":15,"./estruturas/funcao-padrao":134}],130:[function(require,module,exports){
|
|
7573
7820
|
"use strict";
|
|
7574
7821
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7575
7822
|
exports.Chamavel = void 0;
|
|
@@ -7583,7 +7830,7 @@ class Chamavel {
|
|
|
7583
7830
|
}
|
|
7584
7831
|
exports.Chamavel = Chamavel;
|
|
7585
7832
|
|
|
7586
|
-
},{}],
|
|
7833
|
+
},{}],131:[function(require,module,exports){
|
|
7587
7834
|
"use strict";
|
|
7588
7835
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7589
7836
|
exports.ClassePadrao = void 0;
|
|
@@ -7624,7 +7871,7 @@ class ClassePadrao extends chamavel_1.Chamavel {
|
|
|
7624
7871
|
}
|
|
7625
7872
|
exports.ClassePadrao = ClassePadrao;
|
|
7626
7873
|
|
|
7627
|
-
},{"./chamavel":
|
|
7874
|
+
},{"./chamavel":130}],132:[function(require,module,exports){
|
|
7628
7875
|
"use strict";
|
|
7629
7876
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7630
7877
|
exports.DeleguaFuncao = void 0;
|
|
@@ -7774,7 +8021,7 @@ class DeleguaFuncao extends chamavel_1.Chamavel {
|
|
|
7774
8021
|
}
|
|
7775
8022
|
exports.DeleguaFuncao = DeleguaFuncao;
|
|
7776
8023
|
|
|
7777
|
-
},{"../../declaracoes":82,"../../espaco-variaveis":97,"../../inferenciador":105,"../../quebras":
|
|
8024
|
+
},{"../../declaracoes":82,"../../espaco-variaveis":97,"../../inferenciador":105,"../../quebras":161,"./chamavel":130}],133:[function(require,module,exports){
|
|
7778
8025
|
"use strict";
|
|
7779
8026
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7780
8027
|
exports.DescritorTipoClasse = void 0;
|
|
@@ -7855,7 +8102,7 @@ class DescritorTipoClasse extends chamavel_1.Chamavel {
|
|
|
7855
8102
|
}
|
|
7856
8103
|
exports.DescritorTipoClasse = DescritorTipoClasse;
|
|
7857
8104
|
|
|
7858
|
-
},{"../../excecoes":99,"./chamavel":
|
|
8105
|
+
},{"../../excecoes":99,"./chamavel":130,"./objeto-delegua-classe":138}],134:[function(require,module,exports){
|
|
7859
8106
|
"use strict";
|
|
7860
8107
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7861
8108
|
exports.FuncaoPadrao = void 0;
|
|
@@ -7891,7 +8138,7 @@ class FuncaoPadrao extends chamavel_1.Chamavel {
|
|
|
7891
8138
|
}
|
|
7892
8139
|
exports.FuncaoPadrao = FuncaoPadrao;
|
|
7893
8140
|
|
|
7894
|
-
},{"./chamavel":
|
|
8141
|
+
},{"./chamavel":130}],135:[function(require,module,exports){
|
|
7895
8142
|
"use strict";
|
|
7896
8143
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7897
8144
|
if (k2 === undefined) k2 = k;
|
|
@@ -7918,7 +8165,7 @@ __exportStar(require("./modulo"), exports);
|
|
|
7918
8165
|
__exportStar(require("./objeto-delegua-classe"), exports);
|
|
7919
8166
|
__exportStar(require("./objeto-padrao"), exports);
|
|
7920
8167
|
|
|
7921
|
-
},{"./chamavel":
|
|
8168
|
+
},{"./chamavel":130,"./classe-padrao":131,"./delegua-funcao":132,"./descritor-tipo-classe":133,"./funcao-padrao":134,"./metodo-primitiva":136,"./modulo":137,"./objeto-delegua-classe":138,"./objeto-padrao":139}],136:[function(require,module,exports){
|
|
7922
8169
|
"use strict";
|
|
7923
8170
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7924
8171
|
exports.MetodoPrimitiva = void 0;
|
|
@@ -7960,7 +8207,7 @@ class MetodoPrimitiva extends chamavel_1.Chamavel {
|
|
|
7960
8207
|
}
|
|
7961
8208
|
exports.MetodoPrimitiva = MetodoPrimitiva;
|
|
7962
8209
|
|
|
7963
|
-
},{"./chamavel":
|
|
8210
|
+
},{"./chamavel":130}],137:[function(require,module,exports){
|
|
7964
8211
|
"use strict";
|
|
7965
8212
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7966
8213
|
exports.DeleguaModulo = void 0;
|
|
@@ -7986,7 +8233,7 @@ class DeleguaModulo {
|
|
|
7986
8233
|
}
|
|
7987
8234
|
exports.DeleguaModulo = DeleguaModulo;
|
|
7988
8235
|
|
|
7989
|
-
},{}],
|
|
8236
|
+
},{}],138:[function(require,module,exports){
|
|
7990
8237
|
"use strict";
|
|
7991
8238
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7992
8239
|
exports.ObjetoDeleguaClasse = void 0;
|
|
@@ -8053,7 +8300,7 @@ class ObjetoDeleguaClasse {
|
|
|
8053
8300
|
}
|
|
8054
8301
|
exports.ObjetoDeleguaClasse = ObjetoDeleguaClasse;
|
|
8055
8302
|
|
|
8056
|
-
},{"../../excecoes":99}],
|
|
8303
|
+
},{"../../excecoes":99}],139:[function(require,module,exports){
|
|
8057
8304
|
"use strict";
|
|
8058
8305
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8059
8306
|
exports.ObjetoPadrao = void 0;
|
|
@@ -8087,7 +8334,7 @@ class ObjetoPadrao {
|
|
|
8087
8334
|
}
|
|
8088
8335
|
exports.ObjetoPadrao = ObjetoPadrao;
|
|
8089
8336
|
|
|
8090
|
-
},{}],
|
|
8337
|
+
},{}],140:[function(require,module,exports){
|
|
8091
8338
|
"use strict";
|
|
8092
8339
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
8093
8340
|
if (k2 === undefined) k2 = k;
|
|
@@ -8108,7 +8355,7 @@ __exportStar(require("./interpretador"), exports);
|
|
|
8108
8355
|
__exportStar(require("./interpretador-base"), exports);
|
|
8109
8356
|
__exportStar(require("./interpretador-com-depuracao"), exports);
|
|
8110
8357
|
|
|
8111
|
-
},{"./interpretador":
|
|
8358
|
+
},{"./interpretador":143,"./interpretador-base":141,"./interpretador-com-depuracao":142}],141:[function(require,module,exports){
|
|
8112
8359
|
(function (process){(function (){
|
|
8113
8360
|
"use strict";
|
|
8114
8361
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -9468,7 +9715,7 @@ class InterpretadorBase {
|
|
|
9468
9715
|
exports.InterpretadorBase = InterpretadorBase;
|
|
9469
9716
|
|
|
9470
9717
|
}).call(this)}).call(this,require('_process'))
|
|
9471
|
-
},{"../avaliador-sintatico":8,"../bibliotecas/primitivas-dicionario":16,"../construtos":42,"../espaco-variaveis":97,"../excecoes":99,"../inferenciador":105,"../lexador":
|
|
9718
|
+
},{"../avaliador-sintatico":8,"../bibliotecas/primitivas-dicionario":16,"../construtos":42,"../espaco-variaveis":97,"../excecoes":99,"../inferenciador":105,"../lexador":154,"../quebras":161,"../tipos-de-dados/delegua":162,"../tipos-de-dados/primitivos":163,"../tipos-de-simbolos/delegua":165,"./comum":129,"./estruturas":135,"./estruturas/metodo-primitiva":136,"./pilha-escopos-execucao":144,"_process":386,"browser-process-hrtime":342}],142:[function(require,module,exports){
|
|
9472
9719
|
"use strict";
|
|
9473
9720
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9474
9721
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10040,7 +10287,7 @@ class InterpretadorComDepuracao extends interpretador_1.Interpretador {
|
|
|
10040
10287
|
}
|
|
10041
10288
|
exports.InterpretadorComDepuracao = InterpretadorComDepuracao;
|
|
10042
10289
|
|
|
10043
|
-
},{"../construtos":42,"../espaco-variaveis":97,"../inferenciador":105,"../quebras":
|
|
10290
|
+
},{"../construtos":42,"../espaco-variaveis":97,"../inferenciador":105,"../quebras":161,"./interpretador":143,"lodash":379}],143:[function(require,module,exports){
|
|
10044
10291
|
"use strict";
|
|
10045
10292
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10046
10293
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10321,7 +10568,7 @@ class Interpretador extends interpretador_base_1.InterpretadorBase {
|
|
|
10321
10568
|
}
|
|
10322
10569
|
exports.Interpretador = Interpretador;
|
|
10323
10570
|
|
|
10324
|
-
},{"../bibliotecas/primitivas-dicionario":16,"../bibliotecas/primitivas-numero":17,"../bibliotecas/primitivas-texto":18,"../bibliotecas/primitivas-vetor":19,"../excecoes":99,"../inferenciador":105,"../quebras":
|
|
10571
|
+
},{"../bibliotecas/primitivas-dicionario":16,"../bibliotecas/primitivas-numero":17,"../bibliotecas/primitivas-texto":18,"../bibliotecas/primitivas-vetor":19,"../excecoes":99,"../inferenciador":105,"../quebras":161,"../tipos-de-dados/delegua":162,"../tipos-de-dados/primitivos":163,"./estruturas":135,"./interpretador-base":141}],144:[function(require,module,exports){
|
|
10325
10572
|
"use strict";
|
|
10326
10573
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10327
10574
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10585,7 +10832,7 @@ class PilhaEscoposExecucao {
|
|
|
10585
10832
|
}
|
|
10586
10833
|
exports.PilhaEscoposExecucao = PilhaEscoposExecucao;
|
|
10587
10834
|
|
|
10588
|
-
},{"../excecoes":99,"../inferenciador":105,"../lexador":
|
|
10835
|
+
},{"../excecoes":99,"../inferenciador":105,"../lexador":154,"../tipos-de-dados/delegua":162,"./estruturas":135}],145:[function(require,module,exports){
|
|
10589
10836
|
"use strict";
|
|
10590
10837
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10591
10838
|
if (k2 === undefined) k2 = k;
|
|
@@ -10607,7 +10854,7 @@ __exportStar(require("./lexador-pitugues"), exports);
|
|
|
10607
10854
|
__exportStar(require("./lexador-guarani"), exports);
|
|
10608
10855
|
__exportStar(require("./lexador-portugol-ipt"), exports);
|
|
10609
10856
|
|
|
10610
|
-
},{"./lexador-egua-classico":
|
|
10857
|
+
},{"./lexador-egua-classico":146,"./lexador-guarani":147,"./lexador-pitugues":148,"./lexador-portugol-ipt":149}],146:[function(require,module,exports){
|
|
10611
10858
|
"use strict";
|
|
10612
10859
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10613
10860
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10895,7 +11142,7 @@ class LexadorEguaClassico {
|
|
|
10895
11142
|
}
|
|
10896
11143
|
exports.LexadorEguaClassico = LexadorEguaClassico;
|
|
10897
11144
|
|
|
10898
|
-
},{"../../tipos-de-simbolos/egua-classico":
|
|
11145
|
+
},{"../../tipos-de-simbolos/egua-classico":166,"../simbolo":160,"./palavras-reservadas/egua-classico":150}],147:[function(require,module,exports){
|
|
10899
11146
|
"use strict";
|
|
10900
11147
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10901
11148
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11010,7 +11257,7 @@ class LexadorGuarani extends lexador_base_1.LexadorBase {
|
|
|
11010
11257
|
}
|
|
11011
11258
|
exports.LexadorGuarani = LexadorGuarani;
|
|
11012
11259
|
|
|
11013
|
-
},{"../../tipos-de-simbolos/guarani":
|
|
11260
|
+
},{"../../tipos-de-simbolos/guarani":167,"../lexador-base":156,"./palavras-reservadas/guarani":151}],148:[function(require,module,exports){
|
|
11014
11261
|
"use strict";
|
|
11015
11262
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11016
11263
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11018,9 +11265,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
11018
11265
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11019
11266
|
exports.LexadorPitugues = void 0;
|
|
11020
11267
|
const browser_process_hrtime_1 = __importDefault(require("browser-process-hrtime"));
|
|
11021
|
-
const pitugues_1 = __importDefault(require("../../tipos-de-simbolos/pitugues"));
|
|
11022
11268
|
const simbolo_1 = require("../simbolo");
|
|
11023
|
-
const
|
|
11269
|
+
const pitugues_1 = require("./palavras-reservadas/pitugues");
|
|
11270
|
+
const pitugues_2 = __importDefault(require("../../tipos-de-simbolos/pitugues"));
|
|
11024
11271
|
/**
|
|
11025
11272
|
* O Lexador é responsável por transformar o código em uma coleção de tokens de linguagem.
|
|
11026
11273
|
* Cada token de linguagem é representado por um tipo, um lexema e informações da linha de código em que foi expresso.
|
|
@@ -11137,7 +11384,7 @@ class LexadorPitugues {
|
|
|
11137
11384
|
return;
|
|
11138
11385
|
}
|
|
11139
11386
|
const textoCompleto = this.codigo[this.linha].substring(this.inicioSimbolo + 1, this.atual);
|
|
11140
|
-
this.simbolos.push(new simbolo_1.Simbolo(
|
|
11387
|
+
this.simbolos.push(new simbolo_1.Simbolo(pitugues_2.default.TEXTO, textoCompleto, textoCompleto, linhaPrimeiroCaracter + 1, this.hashArquivo));
|
|
11141
11388
|
}
|
|
11142
11389
|
analisarNumero() {
|
|
11143
11390
|
const linhaPrimeiroDigito = this.linha;
|
|
@@ -11158,7 +11405,7 @@ class LexadorPitugues {
|
|
|
11158
11405
|
else {
|
|
11159
11406
|
numeroCompleto = this.codigo[this.linha].substring(this.inicioSimbolo, this.atual);
|
|
11160
11407
|
}
|
|
11161
|
-
this.simbolos.push(new simbolo_1.Simbolo(
|
|
11408
|
+
this.simbolos.push(new simbolo_1.Simbolo(pitugues_2.default.NUMERO, numeroCompleto, parseFloat(numeroCompleto), linhaPrimeiroDigito + 1, this.hashArquivo));
|
|
11162
11409
|
}
|
|
11163
11410
|
identificarPalavraChave() {
|
|
11164
11411
|
const linhaPrimeiroCaracter = this.linha;
|
|
@@ -11173,9 +11420,9 @@ class LexadorPitugues {
|
|
|
11173
11420
|
else {
|
|
11174
11421
|
textoPalavraChave = this.codigo[this.linha].substring(this.inicioSimbolo, this.atual);
|
|
11175
11422
|
}
|
|
11176
|
-
const tipo = textoPalavraChave in
|
|
11177
|
-
?
|
|
11178
|
-
:
|
|
11423
|
+
const tipo = textoPalavraChave in pitugues_1.palavrasReservadas
|
|
11424
|
+
? pitugues_1.palavrasReservadas[textoPalavraChave]
|
|
11425
|
+
: pitugues_2.default.IDENTIFICADOR;
|
|
11179
11426
|
this.simbolos.push(new simbolo_1.Simbolo(tipo, textoPalavraChave, null, linhaPrimeiroCaracter + 1, this.hashArquivo));
|
|
11180
11427
|
}
|
|
11181
11428
|
analisarIndentacao() {
|
|
@@ -11210,86 +11457,86 @@ class LexadorPitugues {
|
|
|
11210
11457
|
case '=':
|
|
11211
11458
|
this.avancar();
|
|
11212
11459
|
if (this.simboloAtual() === '=') {
|
|
11213
|
-
this.adicionarSimbolo(
|
|
11460
|
+
this.adicionarSimbolo(pitugues_2.default.IGUAL_IGUAL);
|
|
11214
11461
|
this.avancar();
|
|
11215
11462
|
}
|
|
11216
11463
|
else {
|
|
11217
|
-
this.adicionarSimbolo(
|
|
11464
|
+
this.adicionarSimbolo(pitugues_2.default.IGUAL);
|
|
11218
11465
|
}
|
|
11219
11466
|
break;
|
|
11220
11467
|
case '#':
|
|
11221
11468
|
this.avancarParaProximaLinha();
|
|
11222
11469
|
break;
|
|
11223
11470
|
case '[':
|
|
11224
|
-
this.adicionarSimbolo(
|
|
11471
|
+
this.adicionarSimbolo(pitugues_2.default.COLCHETE_ESQUERDO);
|
|
11225
11472
|
this.avancar();
|
|
11226
11473
|
break;
|
|
11227
11474
|
case ']':
|
|
11228
|
-
this.adicionarSimbolo(
|
|
11475
|
+
this.adicionarSimbolo(pitugues_2.default.COLCHETE_DIREITO);
|
|
11229
11476
|
this.avancar();
|
|
11230
11477
|
break;
|
|
11231
11478
|
case '(':
|
|
11232
|
-
this.adicionarSimbolo(
|
|
11479
|
+
this.adicionarSimbolo(pitugues_2.default.PARENTESE_ESQUERDO);
|
|
11233
11480
|
this.avancar();
|
|
11234
11481
|
break;
|
|
11235
11482
|
case ')':
|
|
11236
|
-
this.adicionarSimbolo(
|
|
11483
|
+
this.adicionarSimbolo(pitugues_2.default.PARENTESE_DIREITO);
|
|
11237
11484
|
this.avancar();
|
|
11238
11485
|
break;
|
|
11239
11486
|
case '{':
|
|
11240
|
-
this.adicionarSimbolo(
|
|
11487
|
+
this.adicionarSimbolo(pitugues_2.default.CHAVE_ESQUERDA);
|
|
11241
11488
|
this.avancar();
|
|
11242
11489
|
break;
|
|
11243
11490
|
case '}':
|
|
11244
|
-
this.adicionarSimbolo(
|
|
11491
|
+
this.adicionarSimbolo(pitugues_2.default.CHAVE_DIREITA);
|
|
11245
11492
|
this.avancar();
|
|
11246
11493
|
break;
|
|
11247
11494
|
case ',':
|
|
11248
|
-
this.adicionarSimbolo(
|
|
11495
|
+
this.adicionarSimbolo(pitugues_2.default.VIRGULA);
|
|
11249
11496
|
this.avancar();
|
|
11250
11497
|
break;
|
|
11251
11498
|
case '.':
|
|
11252
|
-
this.adicionarSimbolo(
|
|
11499
|
+
this.adicionarSimbolo(pitugues_2.default.PONTO);
|
|
11253
11500
|
this.avancar();
|
|
11254
11501
|
break;
|
|
11255
11502
|
case '-':
|
|
11256
11503
|
this.avancar();
|
|
11257
11504
|
if (this.simboloAtual() === '=') {
|
|
11258
|
-
this.adicionarSimbolo(
|
|
11505
|
+
this.adicionarSimbolo(pitugues_2.default.MENOS_IGUAL);
|
|
11259
11506
|
this.avancar();
|
|
11260
11507
|
}
|
|
11261
11508
|
else {
|
|
11262
|
-
this.adicionarSimbolo(
|
|
11509
|
+
this.adicionarSimbolo(pitugues_2.default.SUBTRACAO);
|
|
11263
11510
|
}
|
|
11264
11511
|
break;
|
|
11265
11512
|
case '+':
|
|
11266
11513
|
this.avancar();
|
|
11267
11514
|
if (this.simboloAtual() === '=') {
|
|
11268
|
-
this.adicionarSimbolo(
|
|
11515
|
+
this.adicionarSimbolo(pitugues_2.default.MAIS_IGUAL);
|
|
11269
11516
|
this.avancar();
|
|
11270
11517
|
}
|
|
11271
11518
|
else {
|
|
11272
|
-
this.adicionarSimbolo(
|
|
11519
|
+
this.adicionarSimbolo(pitugues_2.default.ADICAO);
|
|
11273
11520
|
}
|
|
11274
11521
|
break;
|
|
11275
11522
|
case '/':
|
|
11276
11523
|
this.avancar();
|
|
11277
11524
|
switch (this.simboloAtual()) {
|
|
11278
11525
|
case '/':
|
|
11279
|
-
this.adicionarSimbolo(
|
|
11526
|
+
this.adicionarSimbolo(pitugues_2.default.DIVISAO_INTEIRA);
|
|
11280
11527
|
this.avancar();
|
|
11281
11528
|
break;
|
|
11282
11529
|
default:
|
|
11283
|
-
this.adicionarSimbolo(
|
|
11530
|
+
this.adicionarSimbolo(pitugues_2.default.DIVISAO);
|
|
11284
11531
|
break;
|
|
11285
11532
|
}
|
|
11286
11533
|
break;
|
|
11287
11534
|
case ':':
|
|
11288
|
-
this.adicionarSimbolo(
|
|
11535
|
+
this.adicionarSimbolo(pitugues_2.default.DOIS_PONTOS);
|
|
11289
11536
|
this.avancar();
|
|
11290
11537
|
break;
|
|
11291
11538
|
case '%':
|
|
11292
|
-
this.adicionarSimbolo(
|
|
11539
|
+
this.adicionarSimbolo(pitugues_2.default.MODULO);
|
|
11293
11540
|
this.avancar();
|
|
11294
11541
|
break;
|
|
11295
11542
|
case '*':
|
|
@@ -11297,63 +11544,63 @@ class LexadorPitugues {
|
|
|
11297
11544
|
this.avancar();
|
|
11298
11545
|
if (this.simboloAtual() === '*') {
|
|
11299
11546
|
this.avancar();
|
|
11300
|
-
this.adicionarSimbolo(
|
|
11547
|
+
this.adicionarSimbolo(pitugues_2.default.EXPONENCIACAO);
|
|
11301
11548
|
}
|
|
11302
11549
|
else {
|
|
11303
|
-
this.adicionarSimbolo(
|
|
11550
|
+
this.adicionarSimbolo(pitugues_2.default.MULTIPLICACAO);
|
|
11304
11551
|
}
|
|
11305
11552
|
break;
|
|
11306
11553
|
case '!':
|
|
11307
11554
|
this.avancar();
|
|
11308
11555
|
if (this.simboloAtual() === '=') {
|
|
11309
|
-
this.adicionarSimbolo(
|
|
11556
|
+
this.adicionarSimbolo(pitugues_2.default.DIFERENTE);
|
|
11310
11557
|
this.avancar();
|
|
11311
11558
|
}
|
|
11312
11559
|
else {
|
|
11313
|
-
this.adicionarSimbolo(
|
|
11560
|
+
this.adicionarSimbolo(pitugues_2.default.NEGACAO);
|
|
11314
11561
|
}
|
|
11315
11562
|
case '&':
|
|
11316
|
-
this.adicionarSimbolo(
|
|
11563
|
+
this.adicionarSimbolo(pitugues_2.default.BIT_AND);
|
|
11317
11564
|
this.avancar();
|
|
11318
11565
|
break;
|
|
11319
11566
|
case '~':
|
|
11320
|
-
this.adicionarSimbolo(
|
|
11567
|
+
this.adicionarSimbolo(pitugues_2.default.BIT_NOT);
|
|
11321
11568
|
this.avancar();
|
|
11322
11569
|
break;
|
|
11323
11570
|
case '|':
|
|
11324
|
-
this.adicionarSimbolo(
|
|
11571
|
+
this.adicionarSimbolo(pitugues_2.default.BIT_OR);
|
|
11325
11572
|
this.avancar();
|
|
11326
11573
|
break;
|
|
11327
11574
|
case '^':
|
|
11328
|
-
this.adicionarSimbolo(
|
|
11575
|
+
this.adicionarSimbolo(pitugues_2.default.BIT_XOR);
|
|
11329
11576
|
this.avancar();
|
|
11330
11577
|
break;
|
|
11331
11578
|
case '<':
|
|
11332
11579
|
this.avancar();
|
|
11333
11580
|
if (this.simboloAtual() === '=') {
|
|
11334
|
-
this.adicionarSimbolo(
|
|
11581
|
+
this.adicionarSimbolo(pitugues_2.default.MENOR_IGUAL);
|
|
11335
11582
|
this.avancar();
|
|
11336
11583
|
}
|
|
11337
11584
|
else if (this.simboloAtual() === '<') {
|
|
11338
|
-
this.adicionarSimbolo(
|
|
11585
|
+
this.adicionarSimbolo(pitugues_2.default.MENOR_MENOR);
|
|
11339
11586
|
this.avancar();
|
|
11340
11587
|
}
|
|
11341
11588
|
else {
|
|
11342
|
-
this.adicionarSimbolo(
|
|
11589
|
+
this.adicionarSimbolo(pitugues_2.default.MENOR);
|
|
11343
11590
|
}
|
|
11344
11591
|
break;
|
|
11345
11592
|
case '>':
|
|
11346
11593
|
this.avancar();
|
|
11347
11594
|
if (this.simboloAtual() === '=') {
|
|
11348
|
-
this.adicionarSimbolo(
|
|
11595
|
+
this.adicionarSimbolo(pitugues_2.default.MAIOR_IGUAL);
|
|
11349
11596
|
this.avancar();
|
|
11350
11597
|
}
|
|
11351
11598
|
else if (this.simboloAtual() === '>') {
|
|
11352
|
-
this.adicionarSimbolo(
|
|
11599
|
+
this.adicionarSimbolo(pitugues_2.default.MAIOR_MAIOR);
|
|
11353
11600
|
this.avancar();
|
|
11354
11601
|
}
|
|
11355
11602
|
else {
|
|
11356
|
-
this.adicionarSimbolo(
|
|
11603
|
+
this.adicionarSimbolo(pitugues_2.default.MAIOR);
|
|
11357
11604
|
}
|
|
11358
11605
|
break;
|
|
11359
11606
|
case '"':
|
|
@@ -11410,7 +11657,7 @@ class LexadorPitugues {
|
|
|
11410
11657
|
}
|
|
11411
11658
|
exports.LexadorPitugues = LexadorPitugues;
|
|
11412
11659
|
|
|
11413
|
-
},{"../../tipos-de-simbolos/pitugues":
|
|
11660
|
+
},{"../../tipos-de-simbolos/pitugues":169,"../simbolo":160,"./palavras-reservadas/pitugues":152,"browser-process-hrtime":342}],149:[function(require,module,exports){
|
|
11414
11661
|
"use strict";
|
|
11415
11662
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11416
11663
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11649,7 +11896,7 @@ class LexadorPortugolIpt {
|
|
|
11649
11896
|
}
|
|
11650
11897
|
exports.LexadorPortugolIpt = LexadorPortugolIpt;
|
|
11651
11898
|
|
|
11652
|
-
},{"../../tipos-de-simbolos/portugol-ipt":
|
|
11899
|
+
},{"../../tipos-de-simbolos/portugol-ipt":170,"../simbolo":160,"./palavras-reservadas/portugol-ipt":153}],150:[function(require,module,exports){
|
|
11653
11900
|
"use strict";
|
|
11654
11901
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11655
11902
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11690,7 +11937,7 @@ exports.palavrasReservadas = {
|
|
|
11690
11937
|
verdadeiro: egua_classico_1.default.VERDADEIRO,
|
|
11691
11938
|
};
|
|
11692
11939
|
|
|
11693
|
-
},{"../../../tipos-de-simbolos/egua-classico":
|
|
11940
|
+
},{"../../../tipos-de-simbolos/egua-classico":166}],151:[function(require,module,exports){
|
|
11694
11941
|
"use strict";
|
|
11695
11942
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11696
11943
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11702,7 +11949,71 @@ exports.palavrasReservadas = {
|
|
|
11702
11949
|
hai: guarani_1.default.HAI,
|
|
11703
11950
|
};
|
|
11704
11951
|
|
|
11705
|
-
},{"../../../tipos-de-simbolos/guarani":
|
|
11952
|
+
},{"../../../tipos-de-simbolos/guarani":167}],152:[function(require,module,exports){
|
|
11953
|
+
"use strict";
|
|
11954
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11955
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
11956
|
+
};
|
|
11957
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11958
|
+
exports.palavrasReservadasMicroGramatica = exports.palavrasReservadas = void 0;
|
|
11959
|
+
const pitugues_1 = __importDefault(require("../../../tipos-de-simbolos/pitugues"));
|
|
11960
|
+
exports.palavrasReservadas = {
|
|
11961
|
+
cada: pitugues_1.default.CADA,
|
|
11962
|
+
caso: pitugues_1.default.CASO,
|
|
11963
|
+
classe: pitugues_1.default.CLASSE,
|
|
11964
|
+
como: pitugues_1.default.COMO,
|
|
11965
|
+
construtor: pitugues_1.default.CONSTRUTOR,
|
|
11966
|
+
continua: pitugues_1.default.CONTINUA,
|
|
11967
|
+
constante: pitugues_1.default.CONSTANTE,
|
|
11968
|
+
const: pitugues_1.default.CONSTANTE,
|
|
11969
|
+
de: pitugues_1.default.DE,
|
|
11970
|
+
e: pitugues_1.default.E,
|
|
11971
|
+
em: pitugues_1.default.EM,
|
|
11972
|
+
enquanto: pitugues_1.default.ENQUANTO,
|
|
11973
|
+
escolha: pitugues_1.default.ESCOLHA,
|
|
11974
|
+
escreva: pitugues_1.default.ESCREVA,
|
|
11975
|
+
falhar: pitugues_1.default.FALHAR,
|
|
11976
|
+
falso: pitugues_1.default.FALSO,
|
|
11977
|
+
fazer: pitugues_1.default.FAZER,
|
|
11978
|
+
finalmente: pitugues_1.default.FINALMENTE,
|
|
11979
|
+
fixo: pitugues_1.default.CONSTANTE,
|
|
11980
|
+
funcao: pitugues_1.default.FUNCAO,
|
|
11981
|
+
função: pitugues_1.default.FUNÇÃO,
|
|
11982
|
+
herda: pitugues_1.default.HERDA,
|
|
11983
|
+
importar: pitugues_1.default.IMPORTAR,
|
|
11984
|
+
imprima: pitugues_1.default.IMPRIMA,
|
|
11985
|
+
isto: pitugues_1.default.ISTO,
|
|
11986
|
+
leia: pitugues_1.default.LEIA,
|
|
11987
|
+
nulo: pitugues_1.default.NULO,
|
|
11988
|
+
ou: pitugues_1.default.OU,
|
|
11989
|
+
padrao: pitugues_1.default.PADRAO,
|
|
11990
|
+
para: pitugues_1.default.PARA,
|
|
11991
|
+
pausa: pitugues_1.default.PAUSA,
|
|
11992
|
+
pegue: pitugues_1.default.PEGUE,
|
|
11993
|
+
retorna: pitugues_1.default.RETORNA,
|
|
11994
|
+
se: pitugues_1.default.SE,
|
|
11995
|
+
senao: pitugues_1.default.SENAO,
|
|
11996
|
+
senão: pitugues_1.default.SENÃO,
|
|
11997
|
+
super: pitugues_1.default.SUPER,
|
|
11998
|
+
sustar: pitugues_1.default.SUSTAR,
|
|
11999
|
+
tendo: pitugues_1.default.TENDO,
|
|
12000
|
+
tente: pitugues_1.default.TENTE,
|
|
12001
|
+
tipo: pitugues_1.default.TIPO,
|
|
12002
|
+
var: pitugues_1.default.VARIAVEL,
|
|
12003
|
+
variavel: pitugues_1.default.VARIAVEL,
|
|
12004
|
+
variável: pitugues_1.default.VARIAVEL,
|
|
12005
|
+
verdadeiro: pitugues_1.default.VERDADEIRO,
|
|
12006
|
+
};
|
|
12007
|
+
exports.palavrasReservadasMicroGramatica = {
|
|
12008
|
+
e: pitugues_1.default.E,
|
|
12009
|
+
em: pitugues_1.default.EM,
|
|
12010
|
+
falso: pitugues_1.default.FALSO,
|
|
12011
|
+
nulo: pitugues_1.default.NULO,
|
|
12012
|
+
ou: pitugues_1.default.OU,
|
|
12013
|
+
verdadeiro: pitugues_1.default.VERDADEIRO,
|
|
12014
|
+
};
|
|
12015
|
+
|
|
12016
|
+
},{"../../../tipos-de-simbolos/pitugues":169}],153:[function(require,module,exports){
|
|
11706
12017
|
"use strict";
|
|
11707
12018
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11708
12019
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11724,7 +12035,7 @@ exports.palavrasReservadas = {
|
|
|
11724
12035
|
senão: portugol_ipt_1.default.SENAO,
|
|
11725
12036
|
};
|
|
11726
12037
|
|
|
11727
|
-
},{"../../../tipos-de-simbolos/portugol-ipt":
|
|
12038
|
+
},{"../../../tipos-de-simbolos/portugol-ipt":170}],154:[function(require,module,exports){
|
|
11728
12039
|
"use strict";
|
|
11729
12040
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
11730
12041
|
if (k2 === undefined) k2 = k;
|
|
@@ -11741,12 +12052,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
11741
12052
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11742
12053
|
};
|
|
11743
12054
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12055
|
+
__exportStar(require("./dialetos"), exports);
|
|
11744
12056
|
__exportStar(require("./lexador"), exports);
|
|
11745
12057
|
__exportStar(require("./lexador-base-linha-unica"), exports);
|
|
11746
12058
|
__exportStar(require("./micro-lexador"), exports);
|
|
11747
12059
|
__exportStar(require("./simbolo"), exports);
|
|
11748
12060
|
|
|
11749
|
-
},{"./lexador":
|
|
12061
|
+
},{"./dialetos":145,"./lexador":157,"./lexador-base-linha-unica":155,"./micro-lexador":158,"./simbolo":160}],155:[function(require,module,exports){
|
|
11750
12062
|
"use strict";
|
|
11751
12063
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11752
12064
|
exports.LexadorBaseLinhaUnica = void 0;
|
|
@@ -11830,7 +12142,7 @@ class LexadorBaseLinhaUnica {
|
|
|
11830
12142
|
}
|
|
11831
12143
|
exports.LexadorBaseLinhaUnica = LexadorBaseLinhaUnica;
|
|
11832
12144
|
|
|
11833
|
-
},{"./simbolo":
|
|
12145
|
+
},{"./simbolo":160}],156:[function(require,module,exports){
|
|
11834
12146
|
"use strict";
|
|
11835
12147
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11836
12148
|
exports.LexadorBase = void 0;
|
|
@@ -11944,7 +12256,7 @@ class LexadorBase {
|
|
|
11944
12256
|
}
|
|
11945
12257
|
exports.LexadorBase = LexadorBase;
|
|
11946
12258
|
|
|
11947
|
-
},{"./simbolo":
|
|
12259
|
+
},{"./simbolo":160}],157:[function(require,module,exports){
|
|
11948
12260
|
"use strict";
|
|
11949
12261
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11950
12262
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -12081,19 +12393,36 @@ class Lexador {
|
|
|
12081
12393
|
return this.codigo[this.linha].charAt(this.atual - 1);
|
|
12082
12394
|
}
|
|
12083
12395
|
analisarTexto(delimitador = '"') {
|
|
12084
|
-
|
|
12396
|
+
let textoCompleto = '';
|
|
12397
|
+
this.avancar();
|
|
12398
|
+
while (!this.eFinalDoCodigo()) {
|
|
12399
|
+
const caractere = this.simboloAtual();
|
|
12400
|
+
if (caractere === delimitador) {
|
|
12401
|
+
this.avancar();
|
|
12402
|
+
this.adicionarSimbolo(delegua_1.default.TEXTO, textoCompleto);
|
|
12403
|
+
return;
|
|
12404
|
+
}
|
|
12405
|
+
if (caractere === '\0' && this.eUltimaLinha()) {
|
|
12406
|
+
this.erros.push({
|
|
12407
|
+
linha: this.linha + 1,
|
|
12408
|
+
caractere: this.simboloAnterior(),
|
|
12409
|
+
mensagem: 'Texto não finalizado.',
|
|
12410
|
+
});
|
|
12411
|
+
return;
|
|
12412
|
+
}
|
|
12413
|
+
if (caractere === '\0') {
|
|
12414
|
+
textoCompleto += '\n';
|
|
12415
|
+
this.avancar();
|
|
12416
|
+
continue;
|
|
12417
|
+
}
|
|
12418
|
+
textoCompleto += caractere;
|
|
12085
12419
|
this.avancar();
|
|
12086
12420
|
}
|
|
12087
|
-
|
|
12088
|
-
this.
|
|
12089
|
-
|
|
12090
|
-
|
|
12091
|
-
|
|
12092
|
-
});
|
|
12093
|
-
return;
|
|
12094
|
-
}
|
|
12095
|
-
const valor = this.codigo[this.linha].substring(this.inicioSimbolo + 1, this.atual);
|
|
12096
|
-
this.adicionarSimbolo(delegua_1.default.TEXTO, valor);
|
|
12421
|
+
this.erros.push({
|
|
12422
|
+
linha: this.linha + 1,
|
|
12423
|
+
caractere: this.simboloAnterior(),
|
|
12424
|
+
mensagem: 'Texto não finalizado.',
|
|
12425
|
+
});
|
|
12097
12426
|
}
|
|
12098
12427
|
analisarNumero() {
|
|
12099
12428
|
while (this.eDigito(this.simboloAtual())) {
|
|
@@ -12334,14 +12663,10 @@ class Lexador {
|
|
|
12334
12663
|
this.avancar();
|
|
12335
12664
|
break;
|
|
12336
12665
|
case '"':
|
|
12337
|
-
this.avancar();
|
|
12338
12666
|
this.analisarTexto('"');
|
|
12339
|
-
this.avancar();
|
|
12340
12667
|
break;
|
|
12341
12668
|
case "'":
|
|
12342
|
-
this.avancar();
|
|
12343
12669
|
this.analisarTexto("'");
|
|
12344
|
-
this.avancar();
|
|
12345
12670
|
break;
|
|
12346
12671
|
default:
|
|
12347
12672
|
if (this.eDigito(caractere))
|
|
@@ -12389,7 +12714,7 @@ class Lexador {
|
|
|
12389
12714
|
}
|
|
12390
12715
|
exports.Lexador = Lexador;
|
|
12391
12716
|
|
|
12392
|
-
},{"../tipos-de-simbolos/delegua":
|
|
12717
|
+
},{"../tipos-de-simbolos/delegua":165,"./palavras-reservadas":159,"./simbolo":160,"browser-process-hrtime":342}],158:[function(require,module,exports){
|
|
12393
12718
|
"use strict";
|
|
12394
12719
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12395
12720
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -12602,7 +12927,7 @@ class MicroLexador {
|
|
|
12602
12927
|
}
|
|
12603
12928
|
exports.MicroLexador = MicroLexador;
|
|
12604
12929
|
|
|
12605
|
-
},{"../tipos-de-simbolos/microgramaticas/delegua":
|
|
12930
|
+
},{"../tipos-de-simbolos/microgramaticas/delegua":168,"./palavras-reservadas":159,"./simbolo":160}],159:[function(require,module,exports){
|
|
12606
12931
|
"use strict";
|
|
12607
12932
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12608
12933
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -12665,7 +12990,7 @@ exports.palavrasReservadasMicroGramatica = {
|
|
|
12665
12990
|
verdadeiro: delegua_1.default.VERDADEIRO,
|
|
12666
12991
|
};
|
|
12667
12992
|
|
|
12668
|
-
},{"../tipos-de-simbolos/delegua":
|
|
12993
|
+
},{"../tipos-de-simbolos/delegua":165}],160:[function(require,module,exports){
|
|
12669
12994
|
"use strict";
|
|
12670
12995
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12671
12996
|
exports.Simbolo = void 0;
|
|
@@ -12683,7 +13008,7 @@ class Simbolo {
|
|
|
12683
13008
|
}
|
|
12684
13009
|
exports.Simbolo = Simbolo;
|
|
12685
13010
|
|
|
12686
|
-
},{}],
|
|
13011
|
+
},{}],161:[function(require,module,exports){
|
|
12687
13012
|
"use strict";
|
|
12688
13013
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12689
13014
|
exports.ContinuarQuebra = exports.SustarQuebra = exports.RetornoQuebra = exports.Quebra = void 0;
|
|
@@ -12707,7 +13032,7 @@ class ContinuarQuebra extends Quebra {
|
|
|
12707
13032
|
}
|
|
12708
13033
|
exports.ContinuarQuebra = ContinuarQuebra;
|
|
12709
13034
|
|
|
12710
|
-
},{}],
|
|
13035
|
+
},{}],162:[function(require,module,exports){
|
|
12711
13036
|
"use strict";
|
|
12712
13037
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12713
13038
|
exports.default = {
|
|
@@ -12737,7 +13062,7 @@ exports.default = {
|
|
|
12737
13062
|
VETOR_TEXTO: 'texto[]',
|
|
12738
13063
|
};
|
|
12739
13064
|
|
|
12740
|
-
},{}],
|
|
13065
|
+
},{}],163:[function(require,module,exports){
|
|
12741
13066
|
"use strict";
|
|
12742
13067
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12743
13068
|
exports.default = {
|
|
@@ -12756,7 +13081,7 @@ exports.default = {
|
|
|
12756
13081
|
TEXTO: 'string',
|
|
12757
13082
|
};
|
|
12758
13083
|
|
|
12759
|
-
},{}],
|
|
13084
|
+
},{}],164:[function(require,module,exports){
|
|
12760
13085
|
"use strict";
|
|
12761
13086
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12762
13087
|
exports.default = {
|
|
@@ -12782,7 +13107,7 @@ exports.default = {
|
|
|
12782
13107
|
VIRGULA: 'VIRGULA',
|
|
12783
13108
|
};
|
|
12784
13109
|
|
|
12785
|
-
},{}],
|
|
13110
|
+
},{}],165:[function(require,module,exports){
|
|
12786
13111
|
"use strict";
|
|
12787
13112
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12788
13113
|
exports.default = {
|
|
@@ -12877,7 +13202,7 @@ exports.default = {
|
|
|
12877
13202
|
VIRGULA: 'VIRGULA',
|
|
12878
13203
|
};
|
|
12879
13204
|
|
|
12880
|
-
},{}],
|
|
13205
|
+
},{}],166:[function(require,module,exports){
|
|
12881
13206
|
"use strict";
|
|
12882
13207
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12883
13208
|
exports.default = {
|
|
@@ -12955,7 +13280,7 @@ exports.default = {
|
|
|
12955
13280
|
VIRGULA: 'VIRGULA',
|
|
12956
13281
|
};
|
|
12957
13282
|
|
|
12958
|
-
},{}],
|
|
13283
|
+
},{}],167:[function(require,module,exports){
|
|
12959
13284
|
"use strict";
|
|
12960
13285
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12961
13286
|
exports.default = {
|
|
@@ -12972,7 +13297,7 @@ exports.default = {
|
|
|
12972
13297
|
VIRGULA: 'VIRGULA',
|
|
12973
13298
|
};
|
|
12974
13299
|
|
|
12975
|
-
},{}],
|
|
13300
|
+
},{}],168:[function(require,module,exports){
|
|
12976
13301
|
"use strict";
|
|
12977
13302
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12978
13303
|
exports.default = {
|
|
@@ -13021,7 +13346,7 @@ exports.default = {
|
|
|
13021
13346
|
VIRGULA: 'VIRGULA',
|
|
13022
13347
|
};
|
|
13023
13348
|
|
|
13024
|
-
},{}],
|
|
13349
|
+
},{}],169:[function(require,module,exports){
|
|
13025
13350
|
"use strict";
|
|
13026
13351
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13027
13352
|
exports.default = {
|
|
@@ -13030,15 +13355,18 @@ exports.default = {
|
|
|
13030
13355
|
BIT_OR: 'BIT_OR',
|
|
13031
13356
|
BIT_XOR: 'BIT_XOR',
|
|
13032
13357
|
BIT_NOT: 'BIT_NOT',
|
|
13358
|
+
CADA: 'CADA',
|
|
13033
13359
|
CASO: 'CASO',
|
|
13034
13360
|
CHAVE_DIREITA: 'CHAVE_DIREITA',
|
|
13035
13361
|
CHAVE_ESQUERDA: 'CHAVE_ESQUERDA',
|
|
13036
13362
|
CLASSE: 'CLASSE',
|
|
13037
13363
|
COLCHETE_DIREITO: 'COLCHETE_DIREITO',
|
|
13038
13364
|
COLCHETE_ESQUERDO: 'COLCHETE_ESQUERDO',
|
|
13365
|
+
COMO: 'COMO',
|
|
13039
13366
|
CONSTANTE: 'CONSTANTE',
|
|
13040
13367
|
CONSTRUTOR: 'CONSTRUTOR',
|
|
13041
13368
|
CONTINUA: 'CONTINUA',
|
|
13369
|
+
DE: 'DE',
|
|
13042
13370
|
DIFERENTE: 'DIFERENTE',
|
|
13043
13371
|
DIVISAO: 'DIVISAO',
|
|
13044
13372
|
DIVISAO_INTEIRA: 'DIVISAO_INTEIRA',
|
|
@@ -13053,6 +13381,7 @@ exports.default = {
|
|
|
13053
13381
|
FALHAR: 'FALHAR',
|
|
13054
13382
|
IGUAL: 'IGUAL',
|
|
13055
13383
|
IGUAL_IGUAL: 'IGUAL_IGUAL',
|
|
13384
|
+
IMPRIMA: 'IMPRIMA',
|
|
13056
13385
|
FALSO: 'FALSO',
|
|
13057
13386
|
FAZER: 'FAZER',
|
|
13058
13387
|
FINALMENTE: 'FINALMENTE',
|
|
@@ -13092,14 +13421,16 @@ exports.default = {
|
|
|
13092
13421
|
SENÃO: 'SENÃO',
|
|
13093
13422
|
SUPER: 'SUPER',
|
|
13094
13423
|
SUSTAR: 'SUSTAR',
|
|
13424
|
+
TENDO: 'TENDO',
|
|
13095
13425
|
TENTE: 'TENTE',
|
|
13096
13426
|
TEXTO: 'TEXTO',
|
|
13427
|
+
TIPO: 'TIPO',
|
|
13097
13428
|
VARIAVEL: 'VARIAVEL',
|
|
13098
13429
|
VERDADEIRO: 'VERDADEIRO',
|
|
13099
13430
|
VIRGULA: 'VIRGULA',
|
|
13100
13431
|
};
|
|
13101
13432
|
|
|
13102
|
-
},{}],
|
|
13433
|
+
},{}],170:[function(require,module,exports){
|
|
13103
13434
|
"use strict";
|
|
13104
13435
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13105
13436
|
exports.default = {
|
|
@@ -13138,7 +13469,7 @@ exports.default = {
|
|
|
13138
13469
|
VIRGULA: 'VIRGULA',
|
|
13139
13470
|
};
|
|
13140
13471
|
|
|
13141
|
-
},{}],
|
|
13472
|
+
},{}],171:[function(require,module,exports){
|
|
13142
13473
|
"use strict";
|
|
13143
13474
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
13144
13475
|
if (k2 === undefined) k2 = k;
|
|
@@ -13163,7 +13494,7 @@ __exportStar(require("./tradutor-python"), exports);
|
|
|
13163
13494
|
__exportStar(require("./tradutor-reverso-javascript"), exports);
|
|
13164
13495
|
__exportStar(require("./tradutor-reverso-python"), exports);
|
|
13165
13496
|
|
|
13166
|
-
},{"./tradutor-assemblyscript":
|
|
13497
|
+
},{"./tradutor-assemblyscript":174,"./tradutor-javascript":175,"./tradutor-mermaidjs":176,"./tradutor-portugol-ipt":177,"./tradutor-python":178,"./tradutor-reverso-javascript":179,"./tradutor-reverso-python":180}],172:[function(require,module,exports){
|
|
13167
13498
|
"use strict";
|
|
13168
13499
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
13169
13500
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -14402,7 +14733,7 @@ __decorate([
|
|
|
14402
14733
|
Decorators_1.Override
|
|
14403
14734
|
], Python3Lexer.prototype, "nextToken", null);
|
|
14404
14735
|
|
|
14405
|
-
},{"./python3-parser":
|
|
14736
|
+
},{"./python3-parser":173,"antlr4ts/CommonToken":190,"antlr4ts/Decorators":194,"antlr4ts/Lexer":202,"antlr4ts/Token":219,"antlr4ts/VocabularyImpl":225,"antlr4ts/atn/ATNDeserializer":231,"antlr4ts/atn/LexerATNSimulator":252,"antlr4ts/misc/Utils":313}],173:[function(require,module,exports){
|
|
14406
14737
|
"use strict";
|
|
14407
14738
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
14408
14739
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -25640,7 +25971,7 @@ class Yield_argContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
25640
25971
|
}
|
|
25641
25972
|
exports.Yield_argContext = Yield_argContext;
|
|
25642
25973
|
|
|
25643
|
-
},{"antlr4ts/FailedPredicateException":
|
|
25974
|
+
},{"antlr4ts/FailedPredicateException":198,"antlr4ts/NoViableAltException":206,"antlr4ts/Parser":207,"antlr4ts/ParserRuleContext":210,"antlr4ts/RecognitionException":213,"antlr4ts/Token":219,"antlr4ts/VocabularyImpl":225,"antlr4ts/atn/ATN":227,"antlr4ts/atn/ATNDeserializer":231,"antlr4ts/atn/ParserATNSimulator":268,"antlr4ts/misc/Utils":313}],174:[function(require,module,exports){
|
|
25644
25975
|
"use strict";
|
|
25645
25976
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25646
25977
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -26260,7 +26591,7 @@ class TradutorAssemblyScript {
|
|
|
26260
26591
|
}
|
|
26261
26592
|
exports.TradutorAssemblyScript = TradutorAssemblyScript;
|
|
26262
26593
|
|
|
26263
|
-
},{"../construtos":42,"../declaracoes":82,"../tipos-de-simbolos/delegua":
|
|
26594
|
+
},{"../construtos":42,"../declaracoes":82,"../tipos-de-simbolos/delegua":165}],175:[function(require,module,exports){
|
|
26264
26595
|
"use strict";
|
|
26265
26596
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26266
26597
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -26983,7 +27314,7 @@ class TradutorJavaScript {
|
|
|
26983
27314
|
}
|
|
26984
27315
|
exports.TradutorJavaScript = TradutorJavaScript;
|
|
26985
27316
|
|
|
26986
|
-
},{"../construtos":42,"../declaracoes":82,"../tipos-de-simbolos/delegua":
|
|
27317
|
+
},{"../construtos":42,"../declaracoes":82,"../tipos-de-simbolos/delegua":165}],176:[function(require,module,exports){
|
|
26987
27318
|
"use strict";
|
|
26988
27319
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26989
27320
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -27434,7 +27765,7 @@ class TradutorMermaidJs {
|
|
|
27434
27765
|
}
|
|
27435
27766
|
exports.TradutorMermaidJs = TradutorMermaidJs;
|
|
27436
27767
|
|
|
27437
|
-
},{"../tipos-de-simbolos/delegua":
|
|
27768
|
+
},{"../tipos-de-simbolos/delegua":165}],177:[function(require,module,exports){
|
|
27438
27769
|
"use strict";
|
|
27439
27770
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27440
27771
|
exports.TradutorPortugolIpt = void 0;
|
|
@@ -27496,7 +27827,7 @@ class TradutorPortugolIpt {
|
|
|
27496
27827
|
}
|
|
27497
27828
|
exports.TradutorPortugolIpt = TradutorPortugolIpt;
|
|
27498
27829
|
|
|
27499
|
-
},{"../avaliador-sintatico/dialetos":6,"../lexador/dialetos":
|
|
27830
|
+
},{"../avaliador-sintatico/dialetos":6,"../lexador/dialetos":145}],178:[function(require,module,exports){
|
|
27500
27831
|
"use strict";
|
|
27501
27832
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
27502
27833
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -28134,7 +28465,7 @@ class TradutorPython {
|
|
|
28134
28465
|
}
|
|
28135
28466
|
exports.TradutorPython = TradutorPython;
|
|
28136
28467
|
|
|
28137
|
-
},{"../construtos":42,"../declaracoes":82,"../tipos-de-simbolos/delegua":
|
|
28468
|
+
},{"../construtos":42,"../declaracoes":82,"../tipos-de-simbolos/delegua":165}],179:[function(require,module,exports){
|
|
28138
28469
|
"use strict";
|
|
28139
28470
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28140
28471
|
exports.TradutorReversoJavaScript = void 0;
|
|
@@ -28528,7 +28859,7 @@ class TradutorReversoJavaScript {
|
|
|
28528
28859
|
}
|
|
28529
28860
|
exports.TradutorReversoJavaScript = TradutorReversoJavaScript;
|
|
28530
28861
|
|
|
28531
|
-
},{}],
|
|
28862
|
+
},{}],180:[function(require,module,exports){
|
|
28532
28863
|
"use strict";
|
|
28533
28864
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28534
28865
|
exports.TradutorReversoPython = void 0;
|
|
@@ -28601,7 +28932,7 @@ class TradutorReversoPython {
|
|
|
28601
28932
|
}
|
|
28602
28933
|
exports.TradutorReversoPython = TradutorReversoPython;
|
|
28603
28934
|
|
|
28604
|
-
},{"./python/python3-lexer":
|
|
28935
|
+
},{"./python/python3-lexer":172,"./python/python3-parser":173,"antlr4ts":296,"antlr4ts/tree/ParseTreeWalker":315}],181:[function(require,module,exports){
|
|
28605
28936
|
"use strict";
|
|
28606
28937
|
/*!
|
|
28607
28938
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28609,7 +28940,7 @@ exports.TradutorReversoPython = TradutorReversoPython;
|
|
|
28609
28940
|
*/
|
|
28610
28941
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28611
28942
|
|
|
28612
|
-
},{}],
|
|
28943
|
+
},{}],182:[function(require,module,exports){
|
|
28613
28944
|
"use strict";
|
|
28614
28945
|
/*!
|
|
28615
28946
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28617,7 +28948,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
28617
28948
|
*/
|
|
28618
28949
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28619
28950
|
|
|
28620
|
-
},{}],
|
|
28951
|
+
},{}],183:[function(require,module,exports){
|
|
28621
28952
|
"use strict";
|
|
28622
28953
|
/*!
|
|
28623
28954
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28779,7 +29110,7 @@ __decorate([
|
|
|
28779
29110
|
], ANTLRInputStream.prototype, "toString", null);
|
|
28780
29111
|
exports.ANTLRInputStream = ANTLRInputStream;
|
|
28781
29112
|
|
|
28782
|
-
},{"./Decorators":
|
|
29113
|
+
},{"./Decorators":194,"./IntStream":200,"assert":337}],184:[function(require,module,exports){
|
|
28783
29114
|
"use strict";
|
|
28784
29115
|
/*!
|
|
28785
29116
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28862,7 +29193,7 @@ __decorate([
|
|
|
28862
29193
|
], BailErrorStrategy.prototype, "sync", null);
|
|
28863
29194
|
exports.BailErrorStrategy = BailErrorStrategy;
|
|
28864
29195
|
|
|
28865
|
-
},{"./Decorators":
|
|
29196
|
+
},{"./Decorators":194,"./DefaultErrorStrategy":195,"./InputMismatchException":199,"./misc/ParseCancellationException":311}],185:[function(require,module,exports){
|
|
28866
29197
|
"use strict";
|
|
28867
29198
|
/*!
|
|
28868
29199
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29352,7 +29683,7 @@ BufferedTokenStream = __decorate([
|
|
|
29352
29683
|
], BufferedTokenStream);
|
|
29353
29684
|
exports.BufferedTokenStream = BufferedTokenStream;
|
|
29354
29685
|
|
|
29355
|
-
},{"./CommonToken":
|
|
29686
|
+
},{"./CommonToken":190,"./Decorators":194,"./Lexer":202,"./Token":219,"./misc/Interval":306,"assert":337}],186:[function(require,module,exports){
|
|
29356
29687
|
"use strict";
|
|
29357
29688
|
/*!
|
|
29358
29689
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29360,7 +29691,7 @@ exports.BufferedTokenStream = BufferedTokenStream;
|
|
|
29360
29691
|
*/
|
|
29361
29692
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29362
29693
|
|
|
29363
|
-
},{}],
|
|
29694
|
+
},{}],187:[function(require,module,exports){
|
|
29364
29695
|
"use strict";
|
|
29365
29696
|
/*!
|
|
29366
29697
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29494,7 +29825,7 @@ var CharStreams;
|
|
|
29494
29825
|
// }
|
|
29495
29826
|
})(CharStreams = exports.CharStreams || (exports.CharStreams = {}));
|
|
29496
29827
|
|
|
29497
|
-
},{"./CodePointBuffer":
|
|
29828
|
+
},{"./CodePointBuffer":188,"./CodePointCharStream":189,"./IntStream":200}],188:[function(require,module,exports){
|
|
29498
29829
|
"use strict";
|
|
29499
29830
|
/*!
|
|
29500
29831
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29729,7 +30060,7 @@ exports.CodePointBuffer = CodePointBuffer;
|
|
|
29729
30060
|
CodePointBuffer.Builder = Builder;
|
|
29730
30061
|
})(CodePointBuffer = exports.CodePointBuffer || (exports.CodePointBuffer = {}));
|
|
29731
30062
|
|
|
29732
|
-
},{"./misc/Character":
|
|
30063
|
+
},{"./misc/Character":302,"assert":337}],189:[function(require,module,exports){
|
|
29733
30064
|
"use strict";
|
|
29734
30065
|
/*!
|
|
29735
30066
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29879,7 +30210,7 @@ __decorate([
|
|
|
29879
30210
|
], CodePointCharStream.prototype, "getText", null);
|
|
29880
30211
|
exports.CodePointCharStream = CodePointCharStream;
|
|
29881
30212
|
|
|
29882
|
-
},{"./Decorators":
|
|
30213
|
+
},{"./Decorators":194,"./IntStream":200,"./misc/Interval":306,"assert":337}],190:[function(require,module,exports){
|
|
29883
30214
|
"use strict";
|
|
29884
30215
|
/*!
|
|
29885
30216
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30109,7 +30440,7 @@ CommonToken = __decorate([
|
|
|
30109
30440
|
], CommonToken);
|
|
30110
30441
|
exports.CommonToken = CommonToken;
|
|
30111
30442
|
|
|
30112
|
-
},{"./Decorators":
|
|
30443
|
+
},{"./Decorators":194,"./Token":219,"./misc/Interval":306}],191:[function(require,module,exports){
|
|
30113
30444
|
"use strict";
|
|
30114
30445
|
/*!
|
|
30115
30446
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30173,7 +30504,7 @@ exports.CommonTokenFactory = CommonTokenFactory;
|
|
|
30173
30504
|
CommonTokenFactory.DEFAULT = new CommonTokenFactory();
|
|
30174
30505
|
})(CommonTokenFactory = exports.CommonTokenFactory || (exports.CommonTokenFactory = {}));
|
|
30175
30506
|
|
|
30176
|
-
},{"./CommonToken":
|
|
30507
|
+
},{"./CommonToken":190,"./Decorators":194,"./misc/Interval":306}],192:[function(require,module,exports){
|
|
30177
30508
|
"use strict";
|
|
30178
30509
|
/*!
|
|
30179
30510
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30300,7 +30631,7 @@ CommonTokenStream = __decorate([
|
|
|
30300
30631
|
], CommonTokenStream);
|
|
30301
30632
|
exports.CommonTokenStream = CommonTokenStream;
|
|
30302
30633
|
|
|
30303
|
-
},{"./BufferedTokenStream":
|
|
30634
|
+
},{"./BufferedTokenStream":185,"./Decorators":194,"./Token":219}],193:[function(require,module,exports){
|
|
30304
30635
|
"use strict";
|
|
30305
30636
|
/*!
|
|
30306
30637
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30334,7 +30665,7 @@ exports.ConsoleErrorListener = ConsoleErrorListener;
|
|
|
30334
30665
|
*/
|
|
30335
30666
|
ConsoleErrorListener.INSTANCE = new ConsoleErrorListener();
|
|
30336
30667
|
|
|
30337
|
-
},{}],
|
|
30668
|
+
},{}],194:[function(require,module,exports){
|
|
30338
30669
|
"use strict";
|
|
30339
30670
|
/*!
|
|
30340
30671
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30361,7 +30692,7 @@ function SuppressWarnings(options) {
|
|
|
30361
30692
|
}
|
|
30362
30693
|
exports.SuppressWarnings = SuppressWarnings;
|
|
30363
30694
|
|
|
30364
|
-
},{}],
|
|
30695
|
+
},{}],195:[function(require,module,exports){
|
|
30365
30696
|
"use strict";
|
|
30366
30697
|
/*!
|
|
30367
30698
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31175,7 +31506,7 @@ __decorate([
|
|
|
31175
31506
|
], DefaultErrorStrategy.prototype, "consumeUntil", null);
|
|
31176
31507
|
exports.DefaultErrorStrategy = DefaultErrorStrategy;
|
|
31177
31508
|
|
|
31178
|
-
},{"./Decorators":
|
|
31509
|
+
},{"./Decorators":194,"./FailedPredicateException":198,"./InputMismatchException":199,"./NoViableAltException":206,"./Token":219,"./atn/ATNState":233,"./atn/ATNStateType":234,"./atn/PredictionContext":274,"./misc/IntervalSet":307}],196:[function(require,module,exports){
|
|
31179
31510
|
"use strict";
|
|
31180
31511
|
/*!
|
|
31181
31512
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31251,7 +31582,7 @@ var Dependents;
|
|
|
31251
31582
|
Dependents[Dependents["FOLLOWING"] = 9] = "FOLLOWING";
|
|
31252
31583
|
})(Dependents = exports.Dependents || (exports.Dependents = {}));
|
|
31253
31584
|
|
|
31254
|
-
},{}],
|
|
31585
|
+
},{}],197:[function(require,module,exports){
|
|
31255
31586
|
"use strict";
|
|
31256
31587
|
/*!
|
|
31257
31588
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31399,7 +31730,7 @@ __decorate([
|
|
|
31399
31730
|
], DiagnosticErrorListener.prototype, "getConflictingAlts", null);
|
|
31400
31731
|
exports.DiagnosticErrorListener = DiagnosticErrorListener;
|
|
31401
31732
|
|
|
31402
|
-
},{"./Decorators":
|
|
31733
|
+
},{"./Decorators":194,"./misc/BitSet":301,"./misc/Interval":306}],198:[function(require,module,exports){
|
|
31403
31734
|
"use strict";
|
|
31404
31735
|
/*!
|
|
31405
31736
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31464,7 +31795,7 @@ FailedPredicateException = __decorate([
|
|
|
31464
31795
|
], FailedPredicateException);
|
|
31465
31796
|
exports.FailedPredicateException = FailedPredicateException;
|
|
31466
31797
|
|
|
31467
|
-
},{"./Decorators":
|
|
31798
|
+
},{"./Decorators":194,"./RecognitionException":213,"./atn/PredicateTransition":273}],199:[function(require,module,exports){
|
|
31468
31799
|
"use strict";
|
|
31469
31800
|
/*!
|
|
31470
31801
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31504,7 +31835,7 @@ InputMismatchException = __decorate([
|
|
|
31504
31835
|
], InputMismatchException);
|
|
31505
31836
|
exports.InputMismatchException = InputMismatchException;
|
|
31506
31837
|
|
|
31507
|
-
},{"./Decorators":
|
|
31838
|
+
},{"./Decorators":194,"./RecognitionException":213}],200:[function(require,module,exports){
|
|
31508
31839
|
"use strict";
|
|
31509
31840
|
/*!
|
|
31510
31841
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31527,7 +31858,7 @@ var IntStream;
|
|
|
31527
31858
|
IntStream.UNKNOWN_SOURCE_NAME = "<unknown>";
|
|
31528
31859
|
})(IntStream = exports.IntStream || (exports.IntStream = {}));
|
|
31529
31860
|
|
|
31530
|
-
},{}],
|
|
31861
|
+
},{}],201:[function(require,module,exports){
|
|
31531
31862
|
"use strict";
|
|
31532
31863
|
/*!
|
|
31533
31864
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31574,7 +31905,7 @@ __decorate([
|
|
|
31574
31905
|
], InterpreterRuleContext.prototype, "ruleIndex", null);
|
|
31575
31906
|
exports.InterpreterRuleContext = InterpreterRuleContext;
|
|
31576
31907
|
|
|
31577
|
-
},{"./Decorators":
|
|
31908
|
+
},{"./Decorators":194,"./ParserRuleContext":210}],202:[function(require,module,exports){
|
|
31578
31909
|
"use strict";
|
|
31579
31910
|
/*!
|
|
31580
31911
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31910,7 +32241,7 @@ __decorate([
|
|
|
31910
32241
|
], Lexer.prototype, "charPositionInLine", null);
|
|
31911
32242
|
exports.Lexer = Lexer;
|
|
31912
32243
|
|
|
31913
|
-
},{"./CommonTokenFactory":
|
|
32244
|
+
},{"./CommonTokenFactory":191,"./Decorators":194,"./IntStream":200,"./LexerNoViableAltException":204,"./Recognizer":214,"./Token":219,"./atn/LexerATNSimulator":252,"./misc/IntegerStack":305,"./misc/Interval":306}],203:[function(require,module,exports){
|
|
31914
32245
|
"use strict";
|
|
31915
32246
|
/*!
|
|
31916
32247
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31990,7 +32321,7 @@ LexerInterpreter = __decorate([
|
|
|
31990
32321
|
], LexerInterpreter);
|
|
31991
32322
|
exports.LexerInterpreter = LexerInterpreter;
|
|
31992
32323
|
|
|
31993
|
-
},{"./Decorators":
|
|
32324
|
+
},{"./Decorators":194,"./Lexer":202,"./atn/LexerATNSimulator":252}],204:[function(require,module,exports){
|
|
31994
32325
|
"use strict";
|
|
31995
32326
|
/*!
|
|
31996
32327
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32047,7 +32378,7 @@ LexerNoViableAltException = __decorate([
|
|
|
32047
32378
|
], LexerNoViableAltException);
|
|
32048
32379
|
exports.LexerNoViableAltException = LexerNoViableAltException;
|
|
32049
32380
|
|
|
32050
|
-
},{"./Decorators":
|
|
32381
|
+
},{"./Decorators":194,"./RecognitionException":213,"./misc/Interval":306,"./misc/Utils":313}],205:[function(require,module,exports){
|
|
32051
32382
|
"use strict";
|
|
32052
32383
|
/*!
|
|
32053
32384
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32257,7 +32588,7 @@ ListTokenSource = __decorate([
|
|
|
32257
32588
|
], ListTokenSource);
|
|
32258
32589
|
exports.ListTokenSource = ListTokenSource;
|
|
32259
32590
|
|
|
32260
|
-
},{"./CommonTokenFactory":
|
|
32591
|
+
},{"./CommonTokenFactory":191,"./Decorators":194,"./Token":219}],206:[function(require,module,exports){
|
|
32261
32592
|
"use strict";
|
|
32262
32593
|
/*!
|
|
32263
32594
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32312,7 +32643,7 @@ __decorate([
|
|
|
32312
32643
|
], NoViableAltException.prototype, "_startToken", void 0);
|
|
32313
32644
|
exports.NoViableAltException = NoViableAltException;
|
|
32314
32645
|
|
|
32315
|
-
},{"./Decorators":
|
|
32646
|
+
},{"./Decorators":194,"./Parser":207,"./RecognitionException":213}],207:[function(require,module,exports){
|
|
32316
32647
|
(function (process){(function (){
|
|
32317
32648
|
"use strict";
|
|
32318
32649
|
/*!
|
|
@@ -33158,7 +33489,7 @@ __decorate([
|
|
|
33158
33489
|
exports.Parser = Parser;
|
|
33159
33490
|
|
|
33160
33491
|
}).call(this)}).call(this,require('_process'))
|
|
33161
|
-
},{"./Decorators":
|
|
33492
|
+
},{"./Decorators":194,"./DefaultErrorStrategy":195,"./Lexer":202,"./ProxyParserErrorListener":212,"./Recognizer":214,"./Token":219,"./atn/ATNDeserializationOptions":230,"./atn/ATNDeserializer":231,"./atn/ParseInfo":267,"./atn/ParserATNSimulator":268,"./atn/ProfilingATNSimulator":277,"./misc/IntegerStack":305,"./misc/Utils":313,"./tree/ErrorNode":314,"./tree/TerminalNode":317,"./tree/pattern/ParseTreePatternMatcher":322,"_process":386}],208:[function(require,module,exports){
|
|
33162
33493
|
"use strict";
|
|
33163
33494
|
/*!
|
|
33164
33495
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33166,7 +33497,7 @@ exports.Parser = Parser;
|
|
|
33166
33497
|
*/
|
|
33167
33498
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33168
33499
|
|
|
33169
|
-
},{}],
|
|
33500
|
+
},{}],209:[function(require,module,exports){
|
|
33170
33501
|
"use strict";
|
|
33171
33502
|
/*!
|
|
33172
33503
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33574,7 +33905,7 @@ ParserInterpreter = __decorate([
|
|
|
33574
33905
|
], ParserInterpreter);
|
|
33575
33906
|
exports.ParserInterpreter = ParserInterpreter;
|
|
33576
33907
|
|
|
33577
|
-
},{"./Decorators":
|
|
33908
|
+
},{"./Decorators":194,"./FailedPredicateException":198,"./InputMismatchException":199,"./InterpreterRuleContext":201,"./Parser":207,"./RecognitionException":213,"./Token":219,"./atn/ATNState":233,"./atn/ATNStateType":234,"./atn/LoopEndState":264,"./atn/ParserATNSimulator":268,"./atn/StarLoopEntryState":286,"./misc/BitSet":301}],210:[function(require,module,exports){
|
|
33578
33909
|
"use strict";
|
|
33579
33910
|
/*!
|
|
33580
33911
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33875,7 +34206,7 @@ __decorate([
|
|
|
33875
34206
|
], ParserRuleContext.prototype, "sourceInterval", null);
|
|
33876
34207
|
exports.ParserRuleContext = ParserRuleContext;
|
|
33877
34208
|
|
|
33878
|
-
},{"./Decorators":
|
|
34209
|
+
},{"./Decorators":194,"./RuleContext":215,"./misc/Interval":306,"./tree/ErrorNode":314,"./tree/TerminalNode":317}],211:[function(require,module,exports){
|
|
33879
34210
|
"use strict";
|
|
33880
34211
|
/*!
|
|
33881
34212
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33925,7 +34256,7 @@ __decorate([
|
|
|
33925
34256
|
], ProxyErrorListener.prototype, "syntaxError", null);
|
|
33926
34257
|
exports.ProxyErrorListener = ProxyErrorListener;
|
|
33927
34258
|
|
|
33928
|
-
},{"./Decorators":
|
|
34259
|
+
},{"./Decorators":194}],212:[function(require,module,exports){
|
|
33929
34260
|
"use strict";
|
|
33930
34261
|
/*!
|
|
33931
34262
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33984,7 +34315,7 @@ __decorate([
|
|
|
33984
34315
|
], ProxyParserErrorListener.prototype, "reportContextSensitivity", null);
|
|
33985
34316
|
exports.ProxyParserErrorListener = ProxyParserErrorListener;
|
|
33986
34317
|
|
|
33987
|
-
},{"./Decorators":
|
|
34318
|
+
},{"./Decorators":194,"./ProxyErrorListener":211}],213:[function(require,module,exports){
|
|
33988
34319
|
"use strict";
|
|
33989
34320
|
/*!
|
|
33990
34321
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34089,7 +34420,7 @@ class RecognitionException extends Error {
|
|
|
34089
34420
|
}
|
|
34090
34421
|
exports.RecognitionException = RecognitionException;
|
|
34091
34422
|
|
|
34092
|
-
},{}],
|
|
34423
|
+
},{}],214:[function(require,module,exports){
|
|
34093
34424
|
"use strict";
|
|
34094
34425
|
/*!
|
|
34095
34426
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34308,7 +34639,7 @@ __decorate([
|
|
|
34308
34639
|
], Recognizer.prototype, "getErrorListeners", null);
|
|
34309
34640
|
exports.Recognizer = Recognizer;
|
|
34310
34641
|
|
|
34311
|
-
},{"./ConsoleErrorListener":
|
|
34642
|
+
},{"./ConsoleErrorListener":193,"./Decorators":194,"./ProxyErrorListener":211,"./Token":219,"./misc/Utils":313}],215:[function(require,module,exports){
|
|
34312
34643
|
"use strict";
|
|
34313
34644
|
/*!
|
|
34314
34645
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34525,7 +34856,7 @@ __decorate([
|
|
|
34525
34856
|
], RuleContext.prototype, "toStringTree", null);
|
|
34526
34857
|
exports.RuleContext = RuleContext;
|
|
34527
34858
|
|
|
34528
|
-
},{"./Decorators":
|
|
34859
|
+
},{"./Decorators":194,"./ParserRuleContext":210,"./Recognizer":214,"./atn/ATN":227,"./misc/Interval":306,"./tree/RuleNode":316,"./tree/Trees":318}],216:[function(require,module,exports){
|
|
34529
34860
|
"use strict";
|
|
34530
34861
|
/*!
|
|
34531
34862
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34576,7 +34907,7 @@ __decorate([
|
|
|
34576
34907
|
], RuleContextWithAltNum.prototype, "altNumber", null);
|
|
34577
34908
|
exports.RuleContextWithAltNum = RuleContextWithAltNum;
|
|
34578
34909
|
|
|
34579
|
-
},{"./Decorators":
|
|
34910
|
+
},{"./Decorators":194,"./ParserRuleContext":210,"./atn/ATN":227}],217:[function(require,module,exports){
|
|
34580
34911
|
"use strict";
|
|
34581
34912
|
/*!
|
|
34582
34913
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34599,7 +34930,7 @@ function RuleDependency(dependency) {
|
|
|
34599
34930
|
}
|
|
34600
34931
|
exports.RuleDependency = RuleDependency;
|
|
34601
34932
|
|
|
34602
|
-
},{}],
|
|
34933
|
+
},{}],218:[function(require,module,exports){
|
|
34603
34934
|
"use strict";
|
|
34604
34935
|
/*!
|
|
34605
34936
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34618,7 +34949,7 @@ function RuleVersion(version) {
|
|
|
34618
34949
|
}
|
|
34619
34950
|
exports.RuleVersion = RuleVersion;
|
|
34620
34951
|
|
|
34621
|
-
},{}],
|
|
34952
|
+
},{}],219:[function(require,module,exports){
|
|
34622
34953
|
"use strict";
|
|
34623
34954
|
/*!
|
|
34624
34955
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34658,7 +34989,7 @@ var Token;
|
|
|
34658
34989
|
Token.MIN_USER_CHANNEL_VALUE = 2;
|
|
34659
34990
|
})(Token = exports.Token || (exports.Token = {}));
|
|
34660
34991
|
|
|
34661
|
-
},{"./IntStream":
|
|
34992
|
+
},{"./IntStream":200}],220:[function(require,module,exports){
|
|
34662
34993
|
"use strict";
|
|
34663
34994
|
/*!
|
|
34664
34995
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34666,7 +34997,7 @@ var Token;
|
|
|
34666
34997
|
*/
|
|
34667
34998
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34668
34999
|
|
|
34669
|
-
},{}],
|
|
35000
|
+
},{}],221:[function(require,module,exports){
|
|
34670
35001
|
"use strict";
|
|
34671
35002
|
/*!
|
|
34672
35003
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34674,7 +35005,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
34674
35005
|
*/
|
|
34675
35006
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34676
35007
|
|
|
34677
|
-
},{}],
|
|
35008
|
+
},{}],222:[function(require,module,exports){
|
|
34678
35009
|
"use strict";
|
|
34679
35010
|
/*!
|
|
34680
35011
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34682,7 +35013,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
34682
35013
|
*/
|
|
34683
35014
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34684
35015
|
|
|
34685
|
-
},{}],
|
|
35016
|
+
},{}],223:[function(require,module,exports){
|
|
34686
35017
|
"use strict";
|
|
34687
35018
|
/*!
|
|
34688
35019
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35190,7 +35521,7 @@ __decorate([
|
|
|
35190
35521
|
Decorators_1.Override
|
|
35191
35522
|
], ReplaceOp.prototype, "toString", null);
|
|
35192
35523
|
|
|
35193
|
-
},{"./Decorators":
|
|
35524
|
+
},{"./Decorators":194,"./Token":219,"./misc/Interval":306}],224:[function(require,module,exports){
|
|
35194
35525
|
"use strict";
|
|
35195
35526
|
/*!
|
|
35196
35527
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35198,7 +35529,7 @@ __decorate([
|
|
|
35198
35529
|
*/
|
|
35199
35530
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35200
35531
|
|
|
35201
|
-
},{}],
|
|
35532
|
+
},{}],225:[function(require,module,exports){
|
|
35202
35533
|
"use strict";
|
|
35203
35534
|
/*!
|
|
35204
35535
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35318,7 +35649,7 @@ __decorate([
|
|
|
35318
35649
|
], VocabularyImpl, "EMPTY_VOCABULARY", void 0);
|
|
35319
35650
|
exports.VocabularyImpl = VocabularyImpl;
|
|
35320
35651
|
|
|
35321
|
-
},{"./Decorators":
|
|
35652
|
+
},{"./Decorators":194,"./Token":219}],226:[function(require,module,exports){
|
|
35322
35653
|
"use strict";
|
|
35323
35654
|
/*!
|
|
35324
35655
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35326,7 +35657,7 @@ exports.VocabularyImpl = VocabularyImpl;
|
|
|
35326
35657
|
*/
|
|
35327
35658
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35328
35659
|
|
|
35329
|
-
},{}],
|
|
35660
|
+
},{}],227:[function(require,module,exports){
|
|
35330
35661
|
"use strict";
|
|
35331
35662
|
/*!
|
|
35332
35663
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35548,7 +35879,7 @@ exports.ATN = ATN;
|
|
|
35548
35879
|
})(ATN = exports.ATN || (exports.ATN = {}));
|
|
35549
35880
|
exports.ATN = ATN;
|
|
35550
35881
|
|
|
35551
|
-
},{"../Decorators":
|
|
35882
|
+
},{"../Decorators":194,"../Token":219,"../dfa/DFA":292,"../misc/Array2DHashMap":297,"../misc/IntervalSet":307,"../misc/ObjectEqualityComparator":310,"./InvalidState":250,"./LL1Analyzer":251,"./PredictionContext":274,"assert":337}],228:[function(require,module,exports){
|
|
35552
35883
|
"use strict";
|
|
35553
35884
|
/*!
|
|
35554
35885
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36073,7 +36404,7 @@ ActionSemanticContextATNConfig = __decorate([
|
|
|
36073
36404
|
__param(1, Decorators_1.NotNull), __param(2, Decorators_1.NotNull)
|
|
36074
36405
|
], ActionSemanticContextATNConfig);
|
|
36075
36406
|
|
|
36076
|
-
},{"../Decorators":
|
|
36407
|
+
},{"../Decorators":194,"../misc/Array2DHashMap":297,"../misc/MurmurHash":309,"../misc/ObjectEqualityComparator":310,"./DecisionState":247,"./PredictionContext":274,"./SemanticContext":282,"assert":337}],229:[function(require,module,exports){
|
|
36077
36408
|
"use strict";
|
|
36078
36409
|
/*!
|
|
36079
36410
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36520,7 +36851,7 @@ __decorate([
|
|
|
36520
36851
|
], ATNConfigSet.prototype, "hashCode", null);
|
|
36521
36852
|
exports.ATNConfigSet = ATNConfigSet;
|
|
36522
36853
|
|
|
36523
|
-
},{"../Decorators":
|
|
36854
|
+
},{"../Decorators":194,"../misc/Array2DHashMap":297,"../misc/Array2DHashSet":298,"../misc/ArrayEqualityComparator":299,"../misc/BitSet":301,"../misc/ObjectEqualityComparator":310,"../misc/Utils":313,"./ATN":227,"./ATNConfig":228,"./PredictionContext":274,"./PredictionContextCache":275,"./SemanticContext":282,"assert":337}],230:[function(require,module,exports){
|
|
36524
36855
|
"use strict";
|
|
36525
36856
|
/*!
|
|
36526
36857
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36599,7 +36930,7 @@ __decorate([
|
|
|
36599
36930
|
], ATNDeserializationOptions, "defaultOptions", null);
|
|
36600
36931
|
exports.ATNDeserializationOptions = ATNDeserializationOptions;
|
|
36601
36932
|
|
|
36602
|
-
},{"../Decorators":
|
|
36933
|
+
},{"../Decorators":194}],231:[function(require,module,exports){
|
|
36603
36934
|
"use strict";
|
|
36604
36935
|
/*!
|
|
36605
36936
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37686,7 +38017,7 @@ __decorate([
|
|
|
37686
38017
|
], ATNDeserializer.prototype, "edgeFactory", null);
|
|
37687
38018
|
exports.ATNDeserializer = ATNDeserializer;
|
|
37688
38019
|
|
|
37689
|
-
},{"../Decorators":
|
|
38020
|
+
},{"../Decorators":194,"../Token":219,"../dfa/DFA":292,"../misc/Array2DHashSet":298,"../misc/BitSet":301,"../misc/IntervalSet":307,"../misc/UUID":312,"./ATN":227,"./ATNDeserializationOptions":230,"./ATNStateType":234,"./ActionTransition":236,"./AtomTransition":238,"./BasicBlockStartState":239,"./BasicState":240,"./BlockEndState":241,"./BlockStartState":242,"./DecisionState":247,"./EpsilonTransition":248,"./InvalidState":250,"./LexerChannelAction":254,"./LexerCustomAction":255,"./LexerModeAction":257,"./LexerMoreAction":258,"./LexerPopModeAction":259,"./LexerPushModeAction":260,"./LexerSkipAction":261,"./LexerTypeAction":262,"./LoopEndState":264,"./NotSetTransition":265,"./ParserATNSimulator":268,"./PlusBlockStartState":269,"./PlusLoopbackState":270,"./PrecedencePredicateTransition":271,"./PredicateTransition":273,"./RangeTransition":278,"./RuleStartState":279,"./RuleStopState":280,"./RuleTransition":281,"./SetTransition":283,"./StarBlockStartState":285,"./StarLoopEntryState":286,"./StarLoopbackState":287,"./TokensStartState":288,"./WildcardTransition":290}],232:[function(require,module,exports){
|
|
37690
38021
|
"use strict";
|
|
37691
38022
|
/*!
|
|
37692
38023
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37750,7 +38081,7 @@ exports.ATNSimulator = ATNSimulator;
|
|
|
37750
38081
|
})(ATNSimulator = exports.ATNSimulator || (exports.ATNSimulator = {}));
|
|
37751
38082
|
exports.ATNSimulator = ATNSimulator;
|
|
37752
38083
|
|
|
37753
|
-
},{"../Decorators":
|
|
38084
|
+
},{"../Decorators":194,"../dfa/DFAState":294,"./ATNConfigSet":229,"./PredictionContext":274}],233:[function(require,module,exports){
|
|
37754
38085
|
"use strict";
|
|
37755
38086
|
/*!
|
|
37756
38087
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37937,7 +38268,7 @@ exports.ATNState = ATNState;
|
|
|
37937
38268
|
ATNState.INVALID_STATE_NUMBER = -1;
|
|
37938
38269
|
})(ATNState = exports.ATNState || (exports.ATNState = {}));
|
|
37939
38270
|
|
|
37940
|
-
},{"../Decorators":
|
|
38271
|
+
},{"../Decorators":194}],234:[function(require,module,exports){
|
|
37941
38272
|
"use strict";
|
|
37942
38273
|
/*!
|
|
37943
38274
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37963,7 +38294,7 @@ var ATNStateType;
|
|
|
37963
38294
|
ATNStateType[ATNStateType["LOOP_END"] = 12] = "LOOP_END";
|
|
37964
38295
|
})(ATNStateType = exports.ATNStateType || (exports.ATNStateType = {}));
|
|
37965
38296
|
|
|
37966
|
-
},{}],
|
|
38297
|
+
},{}],235:[function(require,module,exports){
|
|
37967
38298
|
"use strict";
|
|
37968
38299
|
/*!
|
|
37969
38300
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37983,7 +38314,7 @@ class AbstractPredicateTransition extends Transition_1.Transition {
|
|
|
37983
38314
|
}
|
|
37984
38315
|
exports.AbstractPredicateTransition = AbstractPredicateTransition;
|
|
37985
38316
|
|
|
37986
|
-
},{"./Transition":
|
|
38317
|
+
},{"./Transition":289}],236:[function(require,module,exports){
|
|
37987
38318
|
"use strict";
|
|
37988
38319
|
/*!
|
|
37989
38320
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38039,7 +38370,7 @@ ActionTransition = __decorate([
|
|
|
38039
38370
|
], ActionTransition);
|
|
38040
38371
|
exports.ActionTransition = ActionTransition;
|
|
38041
38372
|
|
|
38042
|
-
},{"../Decorators":
|
|
38373
|
+
},{"../Decorators":194,"./Transition":289}],237:[function(require,module,exports){
|
|
38043
38374
|
"use strict";
|
|
38044
38375
|
/*!
|
|
38045
38376
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38126,7 +38457,7 @@ AmbiguityInfo = __decorate([
|
|
|
38126
38457
|
], AmbiguityInfo);
|
|
38127
38458
|
exports.AmbiguityInfo = AmbiguityInfo;
|
|
38128
38459
|
|
|
38129
|
-
},{"../Decorators":
|
|
38460
|
+
},{"../Decorators":194,"./DecisionEventInfo":245}],238:[function(require,module,exports){
|
|
38130
38461
|
"use strict";
|
|
38131
38462
|
/*!
|
|
38132
38463
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38184,7 +38515,7 @@ AtomTransition = __decorate([
|
|
|
38184
38515
|
], AtomTransition);
|
|
38185
38516
|
exports.AtomTransition = AtomTransition;
|
|
38186
38517
|
|
|
38187
|
-
},{"../Decorators":
|
|
38518
|
+
},{"../Decorators":194,"../misc/IntervalSet":307,"./Transition":289}],239:[function(require,module,exports){
|
|
38188
38519
|
"use strict";
|
|
38189
38520
|
/*!
|
|
38190
38521
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38216,7 +38547,7 @@ __decorate([
|
|
|
38216
38547
|
], BasicBlockStartState.prototype, "stateType", null);
|
|
38217
38548
|
exports.BasicBlockStartState = BasicBlockStartState;
|
|
38218
38549
|
|
|
38219
|
-
},{"../Decorators":
|
|
38550
|
+
},{"../Decorators":194,"./ATNStateType":234,"./BlockStartState":242}],240:[function(require,module,exports){
|
|
38220
38551
|
"use strict";
|
|
38221
38552
|
/*!
|
|
38222
38553
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38248,7 +38579,7 @@ __decorate([
|
|
|
38248
38579
|
], BasicState.prototype, "stateType", null);
|
|
38249
38580
|
exports.BasicState = BasicState;
|
|
38250
38581
|
|
|
38251
|
-
},{"../Decorators":
|
|
38582
|
+
},{"../Decorators":194,"./ATNState":233,"./ATNStateType":234}],241:[function(require,module,exports){
|
|
38252
38583
|
"use strict";
|
|
38253
38584
|
/*!
|
|
38254
38585
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38277,7 +38608,7 @@ __decorate([
|
|
|
38277
38608
|
], BlockEndState.prototype, "stateType", null);
|
|
38278
38609
|
exports.BlockEndState = BlockEndState;
|
|
38279
38610
|
|
|
38280
|
-
},{"../Decorators":
|
|
38611
|
+
},{"../Decorators":194,"./ATNState":233,"./ATNStateType":234}],242:[function(require,module,exports){
|
|
38281
38612
|
"use strict";
|
|
38282
38613
|
/*!
|
|
38283
38614
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38291,7 +38622,7 @@ class BlockStartState extends DecisionState_1.DecisionState {
|
|
|
38291
38622
|
}
|
|
38292
38623
|
exports.BlockStartState = BlockStartState;
|
|
38293
38624
|
|
|
38294
|
-
},{"./DecisionState":
|
|
38625
|
+
},{"./DecisionState":247}],243:[function(require,module,exports){
|
|
38295
38626
|
"use strict";
|
|
38296
38627
|
/*!
|
|
38297
38628
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38361,7 +38692,7 @@ __decorate([
|
|
|
38361
38692
|
], ConflictInfo.prototype, "hashCode", null);
|
|
38362
38693
|
exports.ConflictInfo = ConflictInfo;
|
|
38363
38694
|
|
|
38364
|
-
},{"../Decorators":
|
|
38695
|
+
},{"../Decorators":194,"../misc/Utils":313}],244:[function(require,module,exports){
|
|
38365
38696
|
"use strict";
|
|
38366
38697
|
/*!
|
|
38367
38698
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38421,7 +38752,7 @@ ContextSensitivityInfo = __decorate([
|
|
|
38421
38752
|
], ContextSensitivityInfo);
|
|
38422
38753
|
exports.ContextSensitivityInfo = ContextSensitivityInfo;
|
|
38423
38754
|
|
|
38424
|
-
},{"../Decorators":
|
|
38755
|
+
},{"../Decorators":194,"./DecisionEventInfo":245}],245:[function(require,module,exports){
|
|
38425
38756
|
"use strict";
|
|
38426
38757
|
/*!
|
|
38427
38758
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38473,7 +38804,7 @@ DecisionEventInfo = __decorate([
|
|
|
38473
38804
|
], DecisionEventInfo);
|
|
38474
38805
|
exports.DecisionEventInfo = DecisionEventInfo;
|
|
38475
38806
|
|
|
38476
|
-
},{"../Decorators":
|
|
38807
|
+
},{"../Decorators":194}],246:[function(require,module,exports){
|
|
38477
38808
|
"use strict";
|
|
38478
38809
|
/*!
|
|
38479
38810
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38686,7 +39017,7 @@ __decorate([
|
|
|
38686
39017
|
], DecisionInfo.prototype, "toString", null);
|
|
38687
39018
|
exports.DecisionInfo = DecisionInfo;
|
|
38688
39019
|
|
|
38689
|
-
},{"../Decorators":
|
|
39020
|
+
},{"../Decorators":194}],247:[function(require,module,exports){
|
|
38690
39021
|
"use strict";
|
|
38691
39022
|
/*!
|
|
38692
39023
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38706,7 +39037,7 @@ class DecisionState extends ATNState_1.ATNState {
|
|
|
38706
39037
|
}
|
|
38707
39038
|
exports.DecisionState = DecisionState;
|
|
38708
39039
|
|
|
38709
|
-
},{"./ATNState":
|
|
39040
|
+
},{"./ATNState":233}],248:[function(require,module,exports){
|
|
38710
39041
|
"use strict";
|
|
38711
39042
|
/*!
|
|
38712
39043
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38772,7 +39103,7 @@ EpsilonTransition = __decorate([
|
|
|
38772
39103
|
], EpsilonTransition);
|
|
38773
39104
|
exports.EpsilonTransition = EpsilonTransition;
|
|
38774
39105
|
|
|
38775
|
-
},{"../Decorators":
|
|
39106
|
+
},{"../Decorators":194,"./Transition":289}],249:[function(require,module,exports){
|
|
38776
39107
|
"use strict";
|
|
38777
39108
|
/*!
|
|
38778
39109
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38825,7 +39156,7 @@ ErrorInfo = __decorate([
|
|
|
38825
39156
|
], ErrorInfo);
|
|
38826
39157
|
exports.ErrorInfo = ErrorInfo;
|
|
38827
39158
|
|
|
38828
|
-
},{"../Decorators":
|
|
39159
|
+
},{"../Decorators":194,"./DecisionEventInfo":245}],250:[function(require,module,exports){
|
|
38829
39160
|
"use strict";
|
|
38830
39161
|
/*!
|
|
38831
39162
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38856,7 +39187,7 @@ __decorate([
|
|
|
38856
39187
|
], InvalidState.prototype, "stateType", null);
|
|
38857
39188
|
exports.InvalidState = InvalidState;
|
|
38858
39189
|
|
|
38859
|
-
},{"../Decorators":
|
|
39190
|
+
},{"../Decorators":194,"./ATNStateType":234,"./BasicState":240}],251:[function(require,module,exports){
|
|
38860
39191
|
"use strict";
|
|
38861
39192
|
/*!
|
|
38862
39193
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39078,7 +39409,7 @@ LL1Analyzer = __decorate([
|
|
|
39078
39409
|
], LL1Analyzer);
|
|
39079
39410
|
exports.LL1Analyzer = LL1Analyzer;
|
|
39080
39411
|
|
|
39081
|
-
},{"../Decorators":
|
|
39412
|
+
},{"../Decorators":194,"../Token":219,"../misc/Array2DHashSet":298,"../misc/BitSet":301,"../misc/IntervalSet":307,"../misc/ObjectEqualityComparator":310,"./ATNConfig":228,"./AbstractPredicateTransition":235,"./NotSetTransition":265,"./PredictionContext":274,"./RuleStopState":280,"./RuleTransition":281,"./WildcardTransition":290}],252:[function(require,module,exports){
|
|
39082
39413
|
"use strict";
|
|
39083
39414
|
/*!
|
|
39084
39415
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39795,7 +40126,7 @@ exports.LexerATNSimulator = LexerATNSimulator;
|
|
|
39795
40126
|
})(LexerATNSimulator = exports.LexerATNSimulator || (exports.LexerATNSimulator = {}));
|
|
39796
40127
|
exports.LexerATNSimulator = LexerATNSimulator;
|
|
39797
40128
|
|
|
39798
|
-
},{"../Decorators":
|
|
40129
|
+
},{"../Decorators":194,"../IntStream":200,"../Lexer":202,"../LexerNoViableAltException":204,"../Token":219,"../dfa/AcceptStateInfo":291,"../dfa/DFAState":294,"../misc/Interval":306,"./ATN":227,"./ATNConfig":228,"./ATNConfigSet":229,"./ATNSimulator":232,"./LexerActionExecutor":253,"./OrderedATNConfigSet":266,"./PredictionContext":274,"./RuleStopState":280,"assert":337}],253:[function(require,module,exports){
|
|
39799
40130
|
"use strict";
|
|
39800
40131
|
/*!
|
|
39801
40132
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39996,7 +40327,7 @@ LexerActionExecutor = __decorate([
|
|
|
39996
40327
|
], LexerActionExecutor);
|
|
39997
40328
|
exports.LexerActionExecutor = LexerActionExecutor;
|
|
39998
40329
|
|
|
39999
|
-
},{"../Decorators":
|
|
40330
|
+
},{"../Decorators":194,"../misc/ArrayEqualityComparator":299,"../misc/MurmurHash":309,"./LexerIndexedCustomAction":256}],254:[function(require,module,exports){
|
|
40000
40331
|
"use strict";
|
|
40001
40332
|
/*!
|
|
40002
40333
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40101,7 +40432,7 @@ __decorate([
|
|
|
40101
40432
|
], LexerChannelAction.prototype, "toString", null);
|
|
40102
40433
|
exports.LexerChannelAction = LexerChannelAction;
|
|
40103
40434
|
|
|
40104
|
-
},{"../Decorators":
|
|
40435
|
+
},{"../Decorators":194,"../misc/MurmurHash":309}],255:[function(require,module,exports){
|
|
40105
40436
|
"use strict";
|
|
40106
40437
|
/*!
|
|
40107
40438
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40230,7 +40561,7 @@ __decorate([
|
|
|
40230
40561
|
], LexerCustomAction.prototype, "equals", null);
|
|
40231
40562
|
exports.LexerCustomAction = LexerCustomAction;
|
|
40232
40563
|
|
|
40233
|
-
},{"../Decorators":
|
|
40564
|
+
},{"../Decorators":194,"../misc/MurmurHash":309}],256:[function(require,module,exports){
|
|
40234
40565
|
"use strict";
|
|
40235
40566
|
/*!
|
|
40236
40567
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40365,7 +40696,7 @@ LexerIndexedCustomAction = __decorate([
|
|
|
40365
40696
|
], LexerIndexedCustomAction);
|
|
40366
40697
|
exports.LexerIndexedCustomAction = LexerIndexedCustomAction;
|
|
40367
40698
|
|
|
40368
|
-
},{"../Decorators":
|
|
40699
|
+
},{"../Decorators":194,"../misc/MurmurHash":309}],257:[function(require,module,exports){
|
|
40369
40700
|
"use strict";
|
|
40370
40701
|
/*!
|
|
40371
40702
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40470,7 +40801,7 @@ __decorate([
|
|
|
40470
40801
|
], LexerModeAction.prototype, "toString", null);
|
|
40471
40802
|
exports.LexerModeAction = LexerModeAction;
|
|
40472
40803
|
|
|
40473
|
-
},{"../Decorators":
|
|
40804
|
+
},{"../Decorators":194,"../misc/MurmurHash":309}],258:[function(require,module,exports){
|
|
40474
40805
|
"use strict";
|
|
40475
40806
|
/*!
|
|
40476
40807
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40566,7 +40897,7 @@ exports.LexerMoreAction = LexerMoreAction;
|
|
|
40566
40897
|
LexerMoreAction.INSTANCE = new LexerMoreAction();
|
|
40567
40898
|
})(LexerMoreAction = exports.LexerMoreAction || (exports.LexerMoreAction = {}));
|
|
40568
40899
|
|
|
40569
|
-
},{"../Decorators":
|
|
40900
|
+
},{"../Decorators":194,"../misc/MurmurHash":309}],259:[function(require,module,exports){
|
|
40570
40901
|
"use strict";
|
|
40571
40902
|
/*!
|
|
40572
40903
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40662,7 +40993,7 @@ exports.LexerPopModeAction = LexerPopModeAction;
|
|
|
40662
40993
|
LexerPopModeAction.INSTANCE = new LexerPopModeAction();
|
|
40663
40994
|
})(LexerPopModeAction = exports.LexerPopModeAction || (exports.LexerPopModeAction = {}));
|
|
40664
40995
|
|
|
40665
|
-
},{"../Decorators":
|
|
40996
|
+
},{"../Decorators":194,"../misc/MurmurHash":309}],260:[function(require,module,exports){
|
|
40666
40997
|
"use strict";
|
|
40667
40998
|
/*!
|
|
40668
40999
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40767,7 +41098,7 @@ __decorate([
|
|
|
40767
41098
|
], LexerPushModeAction.prototype, "toString", null);
|
|
40768
41099
|
exports.LexerPushModeAction = LexerPushModeAction;
|
|
40769
41100
|
|
|
40770
|
-
},{"../Decorators":
|
|
41101
|
+
},{"../Decorators":194,"../misc/MurmurHash":309}],261:[function(require,module,exports){
|
|
40771
41102
|
"use strict";
|
|
40772
41103
|
/*!
|
|
40773
41104
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40863,7 +41194,7 @@ exports.LexerSkipAction = LexerSkipAction;
|
|
|
40863
41194
|
LexerSkipAction.INSTANCE = new LexerSkipAction();
|
|
40864
41195
|
})(LexerSkipAction = exports.LexerSkipAction || (exports.LexerSkipAction = {}));
|
|
40865
41196
|
|
|
40866
|
-
},{"../Decorators":
|
|
41197
|
+
},{"../Decorators":194,"../misc/MurmurHash":309}],262:[function(require,module,exports){
|
|
40867
41198
|
"use strict";
|
|
40868
41199
|
/*!
|
|
40869
41200
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -40967,7 +41298,7 @@ __decorate([
|
|
|
40967
41298
|
], LexerTypeAction.prototype, "toString", null);
|
|
40968
41299
|
exports.LexerTypeAction = LexerTypeAction;
|
|
40969
41300
|
|
|
40970
|
-
},{"../Decorators":
|
|
41301
|
+
},{"../Decorators":194,"../misc/MurmurHash":309}],263:[function(require,module,exports){
|
|
40971
41302
|
"use strict";
|
|
40972
41303
|
/*!
|
|
40973
41304
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41019,7 +41350,7 @@ LookaheadEventInfo = __decorate([
|
|
|
41019
41350
|
], LookaheadEventInfo);
|
|
41020
41351
|
exports.LookaheadEventInfo = LookaheadEventInfo;
|
|
41021
41352
|
|
|
41022
|
-
},{"../Decorators":
|
|
41353
|
+
},{"../Decorators":194,"./DecisionEventInfo":245}],264:[function(require,module,exports){
|
|
41023
41354
|
"use strict";
|
|
41024
41355
|
/*!
|
|
41025
41356
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41048,7 +41379,7 @@ __decorate([
|
|
|
41048
41379
|
], LoopEndState.prototype, "stateType", null);
|
|
41049
41380
|
exports.LoopEndState = LoopEndState;
|
|
41050
41381
|
|
|
41051
|
-
},{"../Decorators":
|
|
41382
|
+
},{"../Decorators":194,"./ATNState":233,"./ATNStateType":234}],265:[function(require,module,exports){
|
|
41052
41383
|
"use strict";
|
|
41053
41384
|
/*!
|
|
41054
41385
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41097,7 +41428,7 @@ NotSetTransition = __decorate([
|
|
|
41097
41428
|
], NotSetTransition);
|
|
41098
41429
|
exports.NotSetTransition = NotSetTransition;
|
|
41099
41430
|
|
|
41100
|
-
},{"../Decorators":
|
|
41431
|
+
},{"../Decorators":194,"./SetTransition":283}],266:[function(require,module,exports){
|
|
41101
41432
|
"use strict";
|
|
41102
41433
|
/*!
|
|
41103
41434
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41152,7 +41483,7 @@ __decorate([
|
|
|
41152
41483
|
], OrderedATNConfigSet.prototype, "canMerge", null);
|
|
41153
41484
|
exports.OrderedATNConfigSet = OrderedATNConfigSet;
|
|
41154
41485
|
|
|
41155
|
-
},{"../Decorators":
|
|
41486
|
+
},{"../Decorators":194,"./ATNConfigSet":229}],267:[function(require,module,exports){
|
|
41156
41487
|
"use strict";
|
|
41157
41488
|
/*!
|
|
41158
41489
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41314,7 +41645,7 @@ ParseInfo = __decorate([
|
|
|
41314
41645
|
], ParseInfo);
|
|
41315
41646
|
exports.ParseInfo = ParseInfo;
|
|
41316
41647
|
|
|
41317
|
-
},{"../Decorators":
|
|
41648
|
+
},{"../Decorators":194}],268:[function(require,module,exports){
|
|
41318
41649
|
"use strict";
|
|
41319
41650
|
/*!
|
|
41320
41651
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43587,7 +43918,7 @@ ParserATNSimulator = __decorate([
|
|
|
43587
43918
|
], ParserATNSimulator);
|
|
43588
43919
|
exports.ParserATNSimulator = ParserATNSimulator;
|
|
43589
43920
|
|
|
43590
|
-
},{"../Decorators":
|
|
43921
|
+
},{"../Decorators":194,"../IntStream":200,"../NoViableAltException":206,"../ParserRuleContext":210,"../Token":219,"../VocabularyImpl":225,"../dfa/AcceptStateInfo":291,"../dfa/DFAState":294,"../misc/Array2DHashSet":298,"../misc/Arrays":300,"../misc/BitSet":301,"../misc/IntegerList":304,"../misc/Interval":306,"../misc/ObjectEqualityComparator":310,"./ATN":227,"./ATNConfig":228,"./ATNConfigSet":229,"./ATNSimulator":232,"./ATNStateType":234,"./ActionTransition":236,"./AtomTransition":238,"./ConflictInfo":243,"./DecisionState":247,"./NotSetTransition":265,"./PredictionContext":274,"./PredictionContextCache":275,"./PredictionMode":276,"./RuleStopState":280,"./RuleTransition":281,"./SemanticContext":282,"./SetTransition":283,"./SimulatorState":284,"assert":337}],269:[function(require,module,exports){
|
|
43591
43922
|
"use strict";
|
|
43592
43923
|
/*!
|
|
43593
43924
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43620,7 +43951,7 @@ __decorate([
|
|
|
43620
43951
|
], PlusBlockStartState.prototype, "stateType", null);
|
|
43621
43952
|
exports.PlusBlockStartState = PlusBlockStartState;
|
|
43622
43953
|
|
|
43623
|
-
},{"../Decorators":
|
|
43954
|
+
},{"../Decorators":194,"./ATNStateType":234,"./BlockStartState":242}],270:[function(require,module,exports){
|
|
43624
43955
|
"use strict";
|
|
43625
43956
|
/*!
|
|
43626
43957
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43651,7 +43982,7 @@ __decorate([
|
|
|
43651
43982
|
], PlusLoopbackState.prototype, "stateType", null);
|
|
43652
43983
|
exports.PlusLoopbackState = PlusLoopbackState;
|
|
43653
43984
|
|
|
43654
|
-
},{"../Decorators":
|
|
43985
|
+
},{"../Decorators":194,"./ATNStateType":234,"./DecisionState":247}],271:[function(require,module,exports){
|
|
43655
43986
|
"use strict";
|
|
43656
43987
|
/*!
|
|
43657
43988
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43714,7 +44045,7 @@ PrecedencePredicateTransition = __decorate([
|
|
|
43714
44045
|
], PrecedencePredicateTransition);
|
|
43715
44046
|
exports.PrecedencePredicateTransition = PrecedencePredicateTransition;
|
|
43716
44047
|
|
|
43717
|
-
},{"../Decorators":
|
|
44048
|
+
},{"../Decorators":194,"./AbstractPredicateTransition":235,"./SemanticContext":282}],272:[function(require,module,exports){
|
|
43718
44049
|
"use strict";
|
|
43719
44050
|
/*!
|
|
43720
44051
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43777,7 +44108,7 @@ PredicateEvalInfo = __decorate([
|
|
|
43777
44108
|
], PredicateEvalInfo);
|
|
43778
44109
|
exports.PredicateEvalInfo = PredicateEvalInfo;
|
|
43779
44110
|
|
|
43780
|
-
},{"../Decorators":
|
|
44111
|
+
},{"../Decorators":194,"./DecisionEventInfo":245}],273:[function(require,module,exports){
|
|
43781
44112
|
"use strict";
|
|
43782
44113
|
/*!
|
|
43783
44114
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43843,7 +44174,7 @@ PredicateTransition = __decorate([
|
|
|
43843
44174
|
], PredicateTransition);
|
|
43844
44175
|
exports.PredicateTransition = PredicateTransition;
|
|
43845
44176
|
|
|
43846
|
-
},{"../Decorators":
|
|
44177
|
+
},{"../Decorators":194,"./AbstractPredicateTransition":235,"./SemanticContext":282}],274:[function(require,module,exports){
|
|
43847
44178
|
"use strict";
|
|
43848
44179
|
/*!
|
|
43849
44180
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44534,7 +44865,7 @@ exports.SingletonPredictionContext = SingletonPredictionContext;
|
|
|
44534
44865
|
PredictionContext.IdentityEqualityComparator = IdentityEqualityComparator;
|
|
44535
44866
|
})(PredictionContext = exports.PredictionContext || (exports.PredictionContext = {}));
|
|
44536
44867
|
|
|
44537
|
-
},{"../Decorators":
|
|
44868
|
+
},{"../Decorators":194,"../misc/Array2DHashMap":297,"../misc/Array2DHashSet":298,"../misc/Arrays":300,"../misc/MurmurHash":309,"./PredictionContextCache":275,"assert":337}],275:[function(require,module,exports){
|
|
44538
44869
|
"use strict";
|
|
44539
44870
|
/*!
|
|
44540
44871
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44675,7 +45006,7 @@ PredictionContextCache.UNCACHED = new PredictionContextCache(false);
|
|
|
44675
45006
|
PredictionContextCache.IdentityCommutativePredictionContextOperands = IdentityCommutativePredictionContextOperands;
|
|
44676
45007
|
})(PredictionContextCache = exports.PredictionContextCache || (exports.PredictionContextCache = {}));
|
|
44677
45008
|
|
|
44678
|
-
},{"../Decorators":
|
|
45009
|
+
},{"../Decorators":194,"../misc/Array2DHashMap":297,"../misc/ObjectEqualityComparator":310,"./PredictionContext":274,"assert":337}],276:[function(require,module,exports){
|
|
44679
45010
|
"use strict";
|
|
44680
45011
|
/*!
|
|
44681
45012
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44836,7 +45167,7 @@ var PredictionMode;
|
|
|
44836
45167
|
PredictionMode.allConfigsInRuleStopStates = allConfigsInRuleStopStates;
|
|
44837
45168
|
})(PredictionMode = exports.PredictionMode || (exports.PredictionMode = {}));
|
|
44838
45169
|
|
|
44839
|
-
},{"../Decorators":
|
|
45170
|
+
},{"../Decorators":194,"../misc/Array2DHashMap":297,"../misc/MurmurHash":309,"./RuleStopState":280}],277:[function(require,module,exports){
|
|
44840
45171
|
(function (process){(function (){
|
|
44841
45172
|
"use strict";
|
|
44842
45173
|
/*!
|
|
@@ -45105,7 +45436,7 @@ __decorate([
|
|
|
45105
45436
|
exports.ProfilingATNSimulator = ProfilingATNSimulator;
|
|
45106
45437
|
|
|
45107
45438
|
}).call(this)}).call(this,require('_process'))
|
|
45108
|
-
},{"../Decorators":
|
|
45439
|
+
},{"../Decorators":194,"./ATN":227,"./ATNSimulator":232,"./AmbiguityInfo":237,"./ContextSensitivityInfo":244,"./DecisionInfo":246,"./ErrorInfo":249,"./LookaheadEventInfo":263,"./ParserATNSimulator":268,"./PredicateEvalInfo":272,"./SemanticContext":282,"./SimulatorState":284,"_process":386}],278:[function(require,module,exports){
|
|
45109
45440
|
"use strict";
|
|
45110
45441
|
/*!
|
|
45111
45442
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45163,7 +45494,7 @@ RangeTransition = __decorate([
|
|
|
45163
45494
|
], RangeTransition);
|
|
45164
45495
|
exports.RangeTransition = RangeTransition;
|
|
45165
45496
|
|
|
45166
|
-
},{"../Decorators":
|
|
45497
|
+
},{"../Decorators":194,"../misc/IntervalSet":307,"./Transition":289}],279:[function(require,module,exports){
|
|
45167
45498
|
"use strict";
|
|
45168
45499
|
/*!
|
|
45169
45500
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45196,7 +45527,7 @@ __decorate([
|
|
|
45196
45527
|
], RuleStartState.prototype, "stateType", null);
|
|
45197
45528
|
exports.RuleStartState = RuleStartState;
|
|
45198
45529
|
|
|
45199
|
-
},{"../Decorators":
|
|
45530
|
+
},{"../Decorators":194,"./ATNState":233,"./ATNStateType":234}],280:[function(require,module,exports){
|
|
45200
45531
|
"use strict";
|
|
45201
45532
|
/*!
|
|
45202
45533
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45235,7 +45566,7 @@ __decorate([
|
|
|
45235
45566
|
], RuleStopState.prototype, "stateType", null);
|
|
45236
45567
|
exports.RuleStopState = RuleStopState;
|
|
45237
45568
|
|
|
45238
|
-
},{"../Decorators":
|
|
45569
|
+
},{"../Decorators":194,"./ATNState":233,"./ATNStateType":234}],281:[function(require,module,exports){
|
|
45239
45570
|
"use strict";
|
|
45240
45571
|
/*!
|
|
45241
45572
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45291,7 +45622,7 @@ RuleTransition = __decorate([
|
|
|
45291
45622
|
], RuleTransition);
|
|
45292
45623
|
exports.RuleTransition = RuleTransition;
|
|
45293
45624
|
|
|
45294
|
-
},{"../Decorators":
|
|
45625
|
+
},{"../Decorators":194,"./Transition":289}],282:[function(require,module,exports){
|
|
45295
45626
|
"use strict";
|
|
45296
45627
|
/*!
|
|
45297
45628
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45771,7 +46102,7 @@ exports.SemanticContext = SemanticContext;
|
|
|
45771
46102
|
SemanticContext.OR = OR;
|
|
45772
46103
|
})(SemanticContext = exports.SemanticContext || (exports.SemanticContext = {}));
|
|
45773
46104
|
|
|
45774
|
-
},{"../Decorators":
|
|
46105
|
+
},{"../Decorators":194,"../misc/Array2DHashSet":298,"../misc/ArrayEqualityComparator":299,"../misc/MurmurHash":309,"../misc/ObjectEqualityComparator":310,"../misc/Utils":313}],283:[function(require,module,exports){
|
|
45775
46106
|
"use strict";
|
|
45776
46107
|
/*!
|
|
45777
46108
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45837,7 +46168,7 @@ SetTransition = __decorate([
|
|
|
45837
46168
|
], SetTransition);
|
|
45838
46169
|
exports.SetTransition = SetTransition;
|
|
45839
46170
|
|
|
45840
|
-
},{"../Decorators":
|
|
46171
|
+
},{"../Decorators":194,"../Token":219,"../misc/IntervalSet":307,"./Transition":289}],284:[function(require,module,exports){
|
|
45841
46172
|
"use strict";
|
|
45842
46173
|
/*!
|
|
45843
46174
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45873,7 +46204,7 @@ SimulatorState = __decorate([
|
|
|
45873
46204
|
], SimulatorState);
|
|
45874
46205
|
exports.SimulatorState = SimulatorState;
|
|
45875
46206
|
|
|
45876
|
-
},{"../Decorators":
|
|
46207
|
+
},{"../Decorators":194,"../ParserRuleContext":210}],285:[function(require,module,exports){
|
|
45877
46208
|
"use strict";
|
|
45878
46209
|
/*!
|
|
45879
46210
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45901,7 +46232,7 @@ __decorate([
|
|
|
45901
46232
|
], StarBlockStartState.prototype, "stateType", null);
|
|
45902
46233
|
exports.StarBlockStartState = StarBlockStartState;
|
|
45903
46234
|
|
|
45904
|
-
},{"../Decorators":
|
|
46235
|
+
},{"../Decorators":194,"./ATNStateType":234,"./BlockStartState":242}],286:[function(require,module,exports){
|
|
45905
46236
|
"use strict";
|
|
45906
46237
|
/*!
|
|
45907
46238
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45958,7 +46289,7 @@ __decorate([
|
|
|
45958
46289
|
], StarLoopEntryState.prototype, "stateType", null);
|
|
45959
46290
|
exports.StarLoopEntryState = StarLoopEntryState;
|
|
45960
46291
|
|
|
45961
|
-
},{"../Decorators":
|
|
46292
|
+
},{"../Decorators":194,"../misc/BitSet":301,"./ATNStateType":234,"./DecisionState":247}],287:[function(require,module,exports){
|
|
45962
46293
|
"use strict";
|
|
45963
46294
|
/*!
|
|
45964
46295
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45989,7 +46320,7 @@ __decorate([
|
|
|
45989
46320
|
], StarLoopbackState.prototype, "stateType", null);
|
|
45990
46321
|
exports.StarLoopbackState = StarLoopbackState;
|
|
45991
46322
|
|
|
45992
|
-
},{"../Decorators":
|
|
46323
|
+
},{"../Decorators":194,"./ATNState":233,"./ATNStateType":234}],288:[function(require,module,exports){
|
|
45993
46324
|
"use strict";
|
|
45994
46325
|
/*!
|
|
45995
46326
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46018,7 +46349,7 @@ __decorate([
|
|
|
46018
46349
|
], TokensStartState.prototype, "stateType", null);
|
|
46019
46350
|
exports.TokensStartState = TokensStartState;
|
|
46020
46351
|
|
|
46021
|
-
},{"../Decorators":
|
|
46352
|
+
},{"../Decorators":194,"./ATNStateType":234,"./DecisionState":247}],289:[function(require,module,exports){
|
|
46022
46353
|
"use strict";
|
|
46023
46354
|
/*!
|
|
46024
46355
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46092,7 +46423,7 @@ Transition = __decorate([
|
|
|
46092
46423
|
], Transition);
|
|
46093
46424
|
exports.Transition = Transition;
|
|
46094
46425
|
|
|
46095
|
-
},{"../Decorators":
|
|
46426
|
+
},{"../Decorators":194}],290:[function(require,module,exports){
|
|
46096
46427
|
"use strict";
|
|
46097
46428
|
/*!
|
|
46098
46429
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46140,7 +46471,7 @@ WildcardTransition = __decorate([
|
|
|
46140
46471
|
], WildcardTransition);
|
|
46141
46472
|
exports.WildcardTransition = WildcardTransition;
|
|
46142
46473
|
|
|
46143
|
-
},{"../Decorators":
|
|
46474
|
+
},{"../Decorators":194,"./Transition":289}],291:[function(require,module,exports){
|
|
46144
46475
|
"use strict";
|
|
46145
46476
|
/*!
|
|
46146
46477
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46182,7 +46513,7 @@ class AcceptStateInfo {
|
|
|
46182
46513
|
}
|
|
46183
46514
|
exports.AcceptStateInfo = AcceptStateInfo;
|
|
46184
46515
|
|
|
46185
|
-
},{}],
|
|
46516
|
+
},{}],292:[function(require,module,exports){
|
|
46186
46517
|
"use strict";
|
|
46187
46518
|
/*!
|
|
46188
46519
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46357,7 +46688,7 @@ DFA = __decorate([
|
|
|
46357
46688
|
], DFA);
|
|
46358
46689
|
exports.DFA = DFA;
|
|
46359
46690
|
|
|
46360
|
-
},{"../Decorators":
|
|
46691
|
+
},{"../Decorators":194,"../VocabularyImpl":225,"../atn/ATNConfigSet":229,"../atn/StarLoopEntryState":286,"../misc/Array2DHashSet":298,"../misc/ObjectEqualityComparator":310,"./DFASerializer":293,"./DFAState":294,"./LexerDFASerializer":295}],293:[function(require,module,exports){
|
|
46361
46692
|
"use strict";
|
|
46362
46693
|
/*!
|
|
46363
46694
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46499,7 +46830,7 @@ __decorate([
|
|
|
46499
46830
|
], DFASerializer.prototype, "toString", null);
|
|
46500
46831
|
exports.DFASerializer = DFASerializer;
|
|
46501
46832
|
|
|
46502
|
-
},{"../Decorators":
|
|
46833
|
+
},{"../Decorators":194,"../Recognizer":214,"../VocabularyImpl":225,"../atn/ATNSimulator":232,"../atn/PredictionContext":274}],294:[function(require,module,exports){
|
|
46503
46834
|
"use strict";
|
|
46504
46835
|
/*!
|
|
46505
46836
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46730,7 +47061,7 @@ exports.DFAState = DFAState;
|
|
|
46730
47061
|
DFAState.PredPrediction = PredPrediction;
|
|
46731
47062
|
})(DFAState = exports.DFAState || (exports.DFAState = {}));
|
|
46732
47063
|
|
|
46733
|
-
},{"../Decorators":
|
|
47064
|
+
},{"../Decorators":194,"../atn/ATN":227,"../atn/PredictionContext":274,"../misc/BitSet":301,"../misc/MurmurHash":309,"assert":337}],295:[function(require,module,exports){
|
|
46734
47065
|
"use strict";
|
|
46735
47066
|
/*!
|
|
46736
47067
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46767,7 +47098,7 @@ LexerDFASerializer = __decorate([
|
|
|
46767
47098
|
], LexerDFASerializer);
|
|
46768
47099
|
exports.LexerDFASerializer = LexerDFASerializer;
|
|
46769
47100
|
|
|
46770
|
-
},{"../Decorators":
|
|
47101
|
+
},{"../Decorators":194,"../VocabularyImpl":225,"./DFASerializer":293}],296:[function(require,module,exports){
|
|
46771
47102
|
"use strict";
|
|
46772
47103
|
/*!
|
|
46773
47104
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46833,7 +47164,7 @@ __exportStar(require("./Vocabulary"), exports);
|
|
|
46833
47164
|
__exportStar(require("./VocabularyImpl"), exports);
|
|
46834
47165
|
__exportStar(require("./WritableToken"), exports);
|
|
46835
47166
|
|
|
46836
|
-
},{"./ANTLRErrorListener":
|
|
47167
|
+
},{"./ANTLRErrorListener":181,"./ANTLRErrorStrategy":182,"./ANTLRInputStream":183,"./BailErrorStrategy":184,"./BufferedTokenStream":185,"./CharStream":186,"./CharStreams":187,"./CodePointBuffer":188,"./CodePointCharStream":189,"./CommonToken":190,"./CommonTokenFactory":191,"./CommonTokenStream":192,"./ConsoleErrorListener":193,"./DefaultErrorStrategy":195,"./Dependents":196,"./DiagnosticErrorListener":197,"./FailedPredicateException":198,"./InputMismatchException":199,"./IntStream":200,"./InterpreterRuleContext":201,"./Lexer":202,"./LexerInterpreter":203,"./LexerNoViableAltException":204,"./ListTokenSource":205,"./NoViableAltException":206,"./Parser":207,"./ParserErrorListener":208,"./ParserInterpreter":209,"./ParserRuleContext":210,"./ProxyErrorListener":211,"./ProxyParserErrorListener":212,"./RecognitionException":213,"./Recognizer":214,"./RuleContext":215,"./RuleContextWithAltNum":216,"./RuleDependency":217,"./RuleVersion":218,"./Token":219,"./TokenFactory":220,"./TokenSource":221,"./TokenStream":222,"./TokenStreamRewriter":223,"./Vocabulary":224,"./VocabularyImpl":225,"./WritableToken":226}],297:[function(require,module,exports){
|
|
46837
47168
|
"use strict";
|
|
46838
47169
|
/*!
|
|
46839
47170
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46916,7 +47247,7 @@ class Array2DHashMap {
|
|
|
46916
47247
|
}
|
|
46917
47248
|
exports.Array2DHashMap = Array2DHashMap;
|
|
46918
47249
|
|
|
46919
|
-
},{"./Array2DHashSet":
|
|
47250
|
+
},{"./Array2DHashSet":298}],298:[function(require,module,exports){
|
|
46920
47251
|
"use strict";
|
|
46921
47252
|
/*!
|
|
46922
47253
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47283,7 +47614,7 @@ __decorate([
|
|
|
47283
47614
|
], Array2DHashSet.prototype, "createBuckets", null);
|
|
47284
47615
|
exports.Array2DHashSet = Array2DHashSet;
|
|
47285
47616
|
|
|
47286
|
-
},{"../Decorators":
|
|
47617
|
+
},{"../Decorators":194,"./DefaultEqualityComparator":303,"./MurmurHash":309,"assert":337}],299:[function(require,module,exports){
|
|
47287
47618
|
"use strict";
|
|
47288
47619
|
/*!
|
|
47289
47620
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47355,7 +47686,7 @@ __decorate([
|
|
|
47355
47686
|
], ArrayEqualityComparator.prototype, "equals", null);
|
|
47356
47687
|
exports.ArrayEqualityComparator = ArrayEqualityComparator;
|
|
47357
47688
|
|
|
47358
|
-
},{"../Decorators":
|
|
47689
|
+
},{"../Decorators":194,"./MurmurHash":309,"./ObjectEqualityComparator":310}],300:[function(require,module,exports){
|
|
47359
47690
|
"use strict";
|
|
47360
47691
|
/*!
|
|
47361
47692
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47425,7 +47756,7 @@ var Arrays;
|
|
|
47425
47756
|
Arrays.toString = toString;
|
|
47426
47757
|
})(Arrays = exports.Arrays || (exports.Arrays = {}));
|
|
47427
47758
|
|
|
47428
|
-
},{}],
|
|
47759
|
+
},{}],301:[function(require,module,exports){
|
|
47429
47760
|
"use strict";
|
|
47430
47761
|
/*!
|
|
47431
47762
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48097,7 +48428,7 @@ class BitSetIterator {
|
|
|
48097
48428
|
[Symbol.iterator]() { return this; }
|
|
48098
48429
|
}
|
|
48099
48430
|
|
|
48100
|
-
},{"./MurmurHash":
|
|
48431
|
+
},{"./MurmurHash":309,"util":390}],302:[function(require,module,exports){
|
|
48101
48432
|
"use strict";
|
|
48102
48433
|
/*!
|
|
48103
48434
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48118,7 +48449,7 @@ function isSupplementaryCodePoint(ch) {
|
|
|
48118
48449
|
}
|
|
48119
48450
|
exports.isSupplementaryCodePoint = isSupplementaryCodePoint;
|
|
48120
48451
|
|
|
48121
|
-
},{}],
|
|
48452
|
+
},{}],303:[function(require,module,exports){
|
|
48122
48453
|
"use strict";
|
|
48123
48454
|
/*!
|
|
48124
48455
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48189,7 +48520,7 @@ __decorate([
|
|
|
48189
48520
|
], DefaultEqualityComparator.prototype, "equals", null);
|
|
48190
48521
|
exports.DefaultEqualityComparator = DefaultEqualityComparator;
|
|
48191
48522
|
|
|
48192
|
-
},{"../Decorators":
|
|
48523
|
+
},{"../Decorators":194,"./MurmurHash":309,"./ObjectEqualityComparator":310}],304:[function(require,module,exports){
|
|
48193
48524
|
"use strict";
|
|
48194
48525
|
/*!
|
|
48195
48526
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48483,7 +48814,7 @@ __decorate([
|
|
|
48483
48814
|
], IntegerList.prototype, "toString", null);
|
|
48484
48815
|
exports.IntegerList = IntegerList;
|
|
48485
48816
|
|
|
48486
|
-
},{"../Decorators":
|
|
48817
|
+
},{"../Decorators":194,"./Arrays":300}],305:[function(require,module,exports){
|
|
48487
48818
|
"use strict";
|
|
48488
48819
|
/*!
|
|
48489
48820
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48513,7 +48844,7 @@ class IntegerStack extends IntegerList_1.IntegerList {
|
|
|
48513
48844
|
}
|
|
48514
48845
|
exports.IntegerStack = IntegerStack;
|
|
48515
48846
|
|
|
48516
|
-
},{"./IntegerList":
|
|
48847
|
+
},{"./IntegerList":304}],306:[function(require,module,exports){
|
|
48517
48848
|
"use strict";
|
|
48518
48849
|
/*!
|
|
48519
48850
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48656,7 +48987,7 @@ __decorate([
|
|
|
48656
48987
|
], Interval.prototype, "toString", null);
|
|
48657
48988
|
exports.Interval = Interval;
|
|
48658
48989
|
|
|
48659
|
-
},{"../Decorators":
|
|
48990
|
+
},{"../Decorators":194}],307:[function(require,module,exports){
|
|
48660
48991
|
"use strict";
|
|
48661
48992
|
/*!
|
|
48662
48993
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49302,7 +49633,7 @@ __decorate([
|
|
|
49302
49633
|
], IntervalSet, "subtract", null);
|
|
49303
49634
|
exports.IntervalSet = IntervalSet;
|
|
49304
49635
|
|
|
49305
|
-
},{"../Decorators":
|
|
49636
|
+
},{"../Decorators":194,"../Lexer":202,"../Token":219,"./ArrayEqualityComparator":299,"./IntegerList":304,"./Interval":306,"./MurmurHash":309}],308:[function(require,module,exports){
|
|
49306
49637
|
"use strict";
|
|
49307
49638
|
/*!
|
|
49308
49639
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49335,7 +49666,7 @@ class MultiMap extends Map {
|
|
|
49335
49666
|
}
|
|
49336
49667
|
exports.MultiMap = MultiMap;
|
|
49337
49668
|
|
|
49338
|
-
},{}],
|
|
49669
|
+
},{}],309:[function(require,module,exports){
|
|
49339
49670
|
"use strict";
|
|
49340
49671
|
/*!
|
|
49341
49672
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49450,7 +49781,7 @@ var MurmurHash;
|
|
|
49450
49781
|
}
|
|
49451
49782
|
})(MurmurHash = exports.MurmurHash || (exports.MurmurHash = {}));
|
|
49452
49783
|
|
|
49453
|
-
},{}],
|
|
49784
|
+
},{}],310:[function(require,module,exports){
|
|
49454
49785
|
"use strict";
|
|
49455
49786
|
/*!
|
|
49456
49787
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49509,7 +49840,7 @@ __decorate([
|
|
|
49509
49840
|
], ObjectEqualityComparator.prototype, "equals", null);
|
|
49510
49841
|
exports.ObjectEqualityComparator = ObjectEqualityComparator;
|
|
49511
49842
|
|
|
49512
|
-
},{"../Decorators":
|
|
49843
|
+
},{"../Decorators":194}],311:[function(require,module,exports){
|
|
49513
49844
|
"use strict";
|
|
49514
49845
|
/*!
|
|
49515
49846
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49538,7 +49869,7 @@ class ParseCancellationException extends Error {
|
|
|
49538
49869
|
}
|
|
49539
49870
|
exports.ParseCancellationException = ParseCancellationException;
|
|
49540
49871
|
|
|
49541
|
-
},{}],
|
|
49872
|
+
},{}],312:[function(require,module,exports){
|
|
49542
49873
|
"use strict";
|
|
49543
49874
|
/*!
|
|
49544
49875
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49592,7 +49923,7 @@ class UUID {
|
|
|
49592
49923
|
}
|
|
49593
49924
|
exports.UUID = UUID;
|
|
49594
49925
|
|
|
49595
|
-
},{"./MurmurHash":
|
|
49926
|
+
},{"./MurmurHash":309}],313:[function(require,module,exports){
|
|
49596
49927
|
"use strict";
|
|
49597
49928
|
/*!
|
|
49598
49929
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49767,7 +50098,7 @@ exports.toCharArray = toCharArray;
|
|
|
49767
50098
|
// return s;
|
|
49768
50099
|
// }
|
|
49769
50100
|
|
|
49770
|
-
},{}],
|
|
50101
|
+
},{}],314:[function(require,module,exports){
|
|
49771
50102
|
"use strict";
|
|
49772
50103
|
/*!
|
|
49773
50104
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49803,7 +50134,7 @@ __decorate([
|
|
|
49803
50134
|
], ErrorNode.prototype, "accept", null);
|
|
49804
50135
|
exports.ErrorNode = ErrorNode;
|
|
49805
50136
|
|
|
49806
|
-
},{"../Decorators":
|
|
50137
|
+
},{"../Decorators":194,"./TerminalNode":317}],315:[function(require,module,exports){
|
|
49807
50138
|
"use strict";
|
|
49808
50139
|
/*!
|
|
49809
50140
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49908,7 +50239,7 @@ exports.ParseTreeWalker = ParseTreeWalker;
|
|
|
49908
50239
|
ParseTreeWalker.DEFAULT = new ParseTreeWalker();
|
|
49909
50240
|
})(ParseTreeWalker = exports.ParseTreeWalker || (exports.ParseTreeWalker = {}));
|
|
49910
50241
|
|
|
49911
|
-
},{"./ErrorNode":
|
|
50242
|
+
},{"./ErrorNode":314,"./RuleNode":316,"./TerminalNode":317}],316:[function(require,module,exports){
|
|
49912
50243
|
"use strict";
|
|
49913
50244
|
/*!
|
|
49914
50245
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49920,7 +50251,7 @@ class RuleNode {
|
|
|
49920
50251
|
}
|
|
49921
50252
|
exports.RuleNode = RuleNode;
|
|
49922
50253
|
|
|
49923
|
-
},{}],
|
|
50254
|
+
},{}],317:[function(require,module,exports){
|
|
49924
50255
|
"use strict";
|
|
49925
50256
|
/*!
|
|
49926
50257
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50012,7 +50343,7 @@ __decorate([
|
|
|
50012
50343
|
], TerminalNode.prototype, "toString", null);
|
|
50013
50344
|
exports.TerminalNode = TerminalNode;
|
|
50014
50345
|
|
|
50015
|
-
},{"../Decorators":
|
|
50346
|
+
},{"../Decorators":194,"../Token":219,"../misc/Interval":306}],318:[function(require,module,exports){
|
|
50016
50347
|
"use strict";
|
|
50017
50348
|
/*!
|
|
50018
50349
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50256,7 +50587,7 @@ __decorate([
|
|
|
50256
50587
|
], Trees, "getRootOfSubtreeEnclosingRegion", null);
|
|
50257
50588
|
exports.Trees = Trees;
|
|
50258
50589
|
|
|
50259
|
-
},{"../CommonToken":
|
|
50590
|
+
},{"../CommonToken":190,"../Decorators":194,"../Parser":207,"../ParserRuleContext":210,"../Token":219,"../atn/ATN":227,"../misc/Utils":313,"./ErrorNode":314,"./RuleNode":316,"./TerminalNode":317}],319:[function(require,module,exports){
|
|
50260
50591
|
"use strict";
|
|
50261
50592
|
/*!
|
|
50262
50593
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50280,7 +50611,7 @@ class Chunk {
|
|
|
50280
50611
|
}
|
|
50281
50612
|
exports.Chunk = Chunk;
|
|
50282
50613
|
|
|
50283
|
-
},{}],
|
|
50614
|
+
},{}],320:[function(require,module,exports){
|
|
50284
50615
|
"use strict";
|
|
50285
50616
|
/*!
|
|
50286
50617
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50460,7 +50791,7 @@ ParseTreeMatch = __decorate([
|
|
|
50460
50791
|
], ParseTreeMatch);
|
|
50461
50792
|
exports.ParseTreeMatch = ParseTreeMatch;
|
|
50462
50793
|
|
|
50463
|
-
},{"../../Decorators":
|
|
50794
|
+
},{"../../Decorators":194}],321:[function(require,module,exports){
|
|
50464
50795
|
"use strict";
|
|
50465
50796
|
/*!
|
|
50466
50797
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50618,7 +50949,7 @@ ParseTreePattern = __decorate([
|
|
|
50618
50949
|
], ParseTreePattern);
|
|
50619
50950
|
exports.ParseTreePattern = ParseTreePattern;
|
|
50620
50951
|
|
|
50621
|
-
},{"../../Decorators":
|
|
50952
|
+
},{"../../Decorators":194,"../xpath/XPath":327}],322:[function(require,module,exports){
|
|
50622
50953
|
"use strict";
|
|
50623
50954
|
/*!
|
|
50624
50955
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51096,7 +51427,7 @@ exports.ParseTreePatternMatcher = ParseTreePatternMatcher;
|
|
|
51096
51427
|
ParseTreePatternMatcher.StartRuleDoesNotConsumeFullPattern = StartRuleDoesNotConsumeFullPattern;
|
|
51097
51428
|
})(ParseTreePatternMatcher = exports.ParseTreePatternMatcher || (exports.ParseTreePatternMatcher = {}));
|
|
51098
51429
|
|
|
51099
|
-
},{"../../BailErrorStrategy":
|
|
51430
|
+
},{"../../BailErrorStrategy":184,"../../CharStreams":187,"../../CommonTokenStream":192,"../../Decorators":194,"../../ListTokenSource":205,"../../ParserInterpreter":209,"../../ParserRuleContext":210,"../../RecognitionException":213,"../../Token":219,"../../misc/MultiMap":308,"../../misc/ParseCancellationException":311,"../RuleNode":316,"../TerminalNode":317,"./ParseTreeMatch":320,"./ParseTreePattern":321,"./RuleTagToken":323,"./TagChunk":324,"./TextChunk":325,"./TokenTagToken":326}],323:[function(require,module,exports){
|
|
51100
51431
|
"use strict";
|
|
51101
51432
|
/*!
|
|
51102
51433
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51294,7 +51625,7 @@ RuleTagToken = __decorate([
|
|
|
51294
51625
|
], RuleTagToken);
|
|
51295
51626
|
exports.RuleTagToken = RuleTagToken;
|
|
51296
51627
|
|
|
51297
|
-
},{"../../Decorators":
|
|
51628
|
+
},{"../../Decorators":194,"../../Token":219}],324:[function(require,module,exports){
|
|
51298
51629
|
"use strict";
|
|
51299
51630
|
/*!
|
|
51300
51631
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51381,7 +51712,7 @@ __decorate([
|
|
|
51381
51712
|
], TagChunk.prototype, "toString", null);
|
|
51382
51713
|
exports.TagChunk = TagChunk;
|
|
51383
51714
|
|
|
51384
|
-
},{"../../Decorators":
|
|
51715
|
+
},{"../../Decorators":194,"./Chunk":319}],325:[function(require,module,exports){
|
|
51385
51716
|
"use strict";
|
|
51386
51717
|
/*!
|
|
51387
51718
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51451,7 +51782,7 @@ TextChunk = __decorate([
|
|
|
51451
51782
|
], TextChunk);
|
|
51452
51783
|
exports.TextChunk = TextChunk;
|
|
51453
51784
|
|
|
51454
|
-
},{"../../Decorators":
|
|
51785
|
+
},{"../../Decorators":194,"./Chunk":319}],326:[function(require,module,exports){
|
|
51455
51786
|
"use strict";
|
|
51456
51787
|
/*!
|
|
51457
51788
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51546,7 +51877,7 @@ TokenTagToken = __decorate([
|
|
|
51546
51877
|
], TokenTagToken);
|
|
51547
51878
|
exports.TokenTagToken = TokenTagToken;
|
|
51548
51879
|
|
|
51549
|
-
},{"../../CommonToken":
|
|
51880
|
+
},{"../../CommonToken":190,"../../Decorators":194}],327:[function(require,module,exports){
|
|
51550
51881
|
"use strict";
|
|
51551
51882
|
/*!
|
|
51552
51883
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51743,7 +52074,7 @@ exports.XPath = XPath;
|
|
|
51743
52074
|
XPath.WILDCARD = "*"; // word not operator/separator
|
|
51744
52075
|
XPath.NOT = "!"; // word for invert operator
|
|
51745
52076
|
|
|
51746
|
-
},{"../../CharStreams":
|
|
52077
|
+
},{"../../CharStreams":187,"../../CommonTokenStream":192,"../../LexerNoViableAltException":204,"../../ParserRuleContext":210,"../../Token":219,"./XPathLexer":329,"./XPathLexerErrorListener":330,"./XPathRuleAnywhereElement":331,"./XPathRuleElement":332,"./XPathTokenAnywhereElement":333,"./XPathTokenElement":334,"./XPathWildcardAnywhereElement":335,"./XPathWildcardElement":336}],328:[function(require,module,exports){
|
|
51747
52078
|
"use strict";
|
|
51748
52079
|
/*!
|
|
51749
52080
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -51778,7 +52109,7 @@ __decorate([
|
|
|
51778
52109
|
], XPathElement.prototype, "toString", null);
|
|
51779
52110
|
exports.XPathElement = XPathElement;
|
|
51780
52111
|
|
|
51781
|
-
},{"../../Decorators":
|
|
52112
|
+
},{"../../Decorators":194}],329:[function(require,module,exports){
|
|
51782
52113
|
"use strict";
|
|
51783
52114
|
// Generated from XPathLexer.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
51784
52115
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -52253,7 +52584,7 @@ XPathLexer._serializedATN = Utils.join([
|
|
|
52253
52584
|
XPathLexer._serializedATNSegment1,
|
|
52254
52585
|
], "");
|
|
52255
52586
|
|
|
52256
|
-
},{"../../Lexer":
|
|
52587
|
+
},{"../../Lexer":202,"../../VocabularyImpl":225,"../../atn/ATNDeserializer":231,"../../atn/LexerATNSimulator":252,"../../misc/Utils":313}],330:[function(require,module,exports){
|
|
52257
52588
|
"use strict";
|
|
52258
52589
|
/*!
|
|
52259
52590
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52278,7 +52609,7 @@ __decorate([
|
|
|
52278
52609
|
], XPathLexerErrorListener.prototype, "syntaxError", null);
|
|
52279
52610
|
exports.XPathLexerErrorListener = XPathLexerErrorListener;
|
|
52280
52611
|
|
|
52281
|
-
},{"../../Decorators":
|
|
52612
|
+
},{"../../Decorators":194}],331:[function(require,module,exports){
|
|
52282
52613
|
"use strict";
|
|
52283
52614
|
/*!
|
|
52284
52615
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52312,7 +52643,7 @@ __decorate([
|
|
|
52312
52643
|
], XPathRuleAnywhereElement.prototype, "evaluate", null);
|
|
52313
52644
|
exports.XPathRuleAnywhereElement = XPathRuleAnywhereElement;
|
|
52314
52645
|
|
|
52315
|
-
},{"../../Decorators":
|
|
52646
|
+
},{"../../Decorators":194,"../Trees":318,"./XPathElement":328}],332:[function(require,module,exports){
|
|
52316
52647
|
"use strict";
|
|
52317
52648
|
/*!
|
|
52318
52649
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52355,7 +52686,7 @@ __decorate([
|
|
|
52355
52686
|
], XPathRuleElement.prototype, "evaluate", null);
|
|
52356
52687
|
exports.XPathRuleElement = XPathRuleElement;
|
|
52357
52688
|
|
|
52358
|
-
},{"../../Decorators":
|
|
52689
|
+
},{"../../Decorators":194,"../../ParserRuleContext":210,"../Trees":318,"./XPathElement":328}],333:[function(require,module,exports){
|
|
52359
52690
|
"use strict";
|
|
52360
52691
|
/*!
|
|
52361
52692
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52387,7 +52718,7 @@ __decorate([
|
|
|
52387
52718
|
], XPathTokenAnywhereElement.prototype, "evaluate", null);
|
|
52388
52719
|
exports.XPathTokenAnywhereElement = XPathTokenAnywhereElement;
|
|
52389
52720
|
|
|
52390
|
-
},{"../../Decorators":
|
|
52721
|
+
},{"../../Decorators":194,"../Trees":318,"./XPathElement":328}],334:[function(require,module,exports){
|
|
52391
52722
|
"use strict";
|
|
52392
52723
|
/*!
|
|
52393
52724
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52430,7 +52761,7 @@ __decorate([
|
|
|
52430
52761
|
], XPathTokenElement.prototype, "evaluate", null);
|
|
52431
52762
|
exports.XPathTokenElement = XPathTokenElement;
|
|
52432
52763
|
|
|
52433
|
-
},{"../../Decorators":
|
|
52764
|
+
},{"../../Decorators":194,"../TerminalNode":317,"../Trees":318,"./XPathElement":328}],335:[function(require,module,exports){
|
|
52434
52765
|
"use strict";
|
|
52435
52766
|
/*!
|
|
52436
52767
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52466,7 +52797,7 @@ __decorate([
|
|
|
52466
52797
|
], XPathWildcardAnywhereElement.prototype, "evaluate", null);
|
|
52467
52798
|
exports.XPathWildcardAnywhereElement = XPathWildcardAnywhereElement;
|
|
52468
52799
|
|
|
52469
|
-
},{"../../Decorators":
|
|
52800
|
+
},{"../../Decorators":194,"../Trees":318,"./XPath":327,"./XPathElement":328}],336:[function(require,module,exports){
|
|
52470
52801
|
"use strict";
|
|
52471
52802
|
/*!
|
|
52472
52803
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -52506,7 +52837,7 @@ __decorate([
|
|
|
52506
52837
|
], XPathWildcardElement.prototype, "evaluate", null);
|
|
52507
52838
|
exports.XPathWildcardElement = XPathWildcardElement;
|
|
52508
52839
|
|
|
52509
|
-
},{"../../Decorators":
|
|
52840
|
+
},{"../../Decorators":194,"../Trees":318,"./XPath":327,"./XPathElement":328}],337:[function(require,module,exports){
|
|
52510
52841
|
(function (global){(function (){
|
|
52511
52842
|
'use strict';
|
|
52512
52843
|
|
|
@@ -53016,7 +53347,7 @@ var objectKeys = Object.keys || function (obj) {
|
|
|
53016
53347
|
};
|
|
53017
53348
|
|
|
53018
53349
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
53019
|
-
},{"object.assign/polyfill":
|
|
53350
|
+
},{"object.assign/polyfill":384,"util/":340}],338:[function(require,module,exports){
|
|
53020
53351
|
if (typeof Object.create === 'function') {
|
|
53021
53352
|
// implementation from standard node.js 'util' module
|
|
53022
53353
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -53041,14 +53372,14 @@ if (typeof Object.create === 'function') {
|
|
|
53041
53372
|
}
|
|
53042
53373
|
}
|
|
53043
53374
|
|
|
53044
|
-
},{}],
|
|
53375
|
+
},{}],339:[function(require,module,exports){
|
|
53045
53376
|
module.exports = function isBuffer(arg) {
|
|
53046
53377
|
return arg && typeof arg === 'object'
|
|
53047
53378
|
&& typeof arg.copy === 'function'
|
|
53048
53379
|
&& typeof arg.fill === 'function'
|
|
53049
53380
|
&& typeof arg.readUInt8 === 'function';
|
|
53050
53381
|
}
|
|
53051
|
-
},{}],
|
|
53382
|
+
},{}],340:[function(require,module,exports){
|
|
53052
53383
|
(function (process,global){(function (){
|
|
53053
53384
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
53054
53385
|
//
|
|
@@ -53638,7 +53969,7 @@ function hasOwnProperty(obj, prop) {
|
|
|
53638
53969
|
}
|
|
53639
53970
|
|
|
53640
53971
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
53641
|
-
},{"./support/isBuffer":
|
|
53972
|
+
},{"./support/isBuffer":339,"_process":386,"inherits":338}],341:[function(require,module,exports){
|
|
53642
53973
|
(function (global){(function (){
|
|
53643
53974
|
'use strict';
|
|
53644
53975
|
|
|
@@ -53659,7 +53990,7 @@ module.exports = function availableTypedArrays() {
|
|
|
53659
53990
|
};
|
|
53660
53991
|
|
|
53661
53992
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
53662
|
-
},{"possible-typed-array-names":
|
|
53993
|
+
},{"possible-typed-array-names":385}],342:[function(require,module,exports){
|
|
53663
53994
|
(function (process,global){(function (){
|
|
53664
53995
|
module.exports = process.hrtime || hrtime
|
|
53665
53996
|
|
|
@@ -53690,7 +54021,7 @@ function hrtime(previousTimestamp){
|
|
|
53690
54021
|
return [seconds,nanoseconds]
|
|
53691
54022
|
}
|
|
53692
54023
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
53693
|
-
},{"_process":
|
|
54024
|
+
},{"_process":386}],343:[function(require,module,exports){
|
|
53694
54025
|
'use strict';
|
|
53695
54026
|
|
|
53696
54027
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -53707,7 +54038,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
53707
54038
|
return intrinsic;
|
|
53708
54039
|
};
|
|
53709
54040
|
|
|
53710
|
-
},{"./":
|
|
54041
|
+
},{"./":344,"get-intrinsic":347}],344:[function(require,module,exports){
|
|
53711
54042
|
'use strict';
|
|
53712
54043
|
|
|
53713
54044
|
var bind = require('function-bind');
|
|
@@ -53756,7 +54087,7 @@ if ($defineProperty) {
|
|
|
53756
54087
|
module.exports.apply = applyBind;
|
|
53757
54088
|
}
|
|
53758
54089
|
|
|
53759
|
-
},{"function-bind":
|
|
54090
|
+
},{"function-bind":346,"get-intrinsic":347}],345:[function(require,module,exports){
|
|
53760
54091
|
'use strict';
|
|
53761
54092
|
|
|
53762
54093
|
/* eslint no-invalid-this: 1 */
|
|
@@ -53810,14 +54141,14 @@ module.exports = function bind(that) {
|
|
|
53810
54141
|
return bound;
|
|
53811
54142
|
};
|
|
53812
54143
|
|
|
53813
|
-
},{}],
|
|
54144
|
+
},{}],346:[function(require,module,exports){
|
|
53814
54145
|
'use strict';
|
|
53815
54146
|
|
|
53816
54147
|
var implementation = require('./implementation');
|
|
53817
54148
|
|
|
53818
54149
|
module.exports = Function.prototype.bind || implementation;
|
|
53819
54150
|
|
|
53820
|
-
},{"./implementation":
|
|
54151
|
+
},{"./implementation":345}],347:[function(require,module,exports){
|
|
53821
54152
|
'use strict';
|
|
53822
54153
|
|
|
53823
54154
|
var undefined;
|
|
@@ -54163,7 +54494,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
54163
54494
|
return value;
|
|
54164
54495
|
};
|
|
54165
54496
|
|
|
54166
|
-
},{"function-bind":
|
|
54497
|
+
},{"function-bind":346,"has":372,"has-symbols":367}],348:[function(require,module,exports){
|
|
54167
54498
|
'use strict';
|
|
54168
54499
|
|
|
54169
54500
|
var $defineProperty = require('es-define-property');
|
|
@@ -54221,7 +54552,7 @@ module.exports = function defineDataProperty(
|
|
|
54221
54552
|
}
|
|
54222
54553
|
};
|
|
54223
54554
|
|
|
54224
|
-
},{"es-define-property":
|
|
54555
|
+
},{"es-define-property":349,"es-errors/syntax":354,"es-errors/type":355,"gopd":361}],349:[function(require,module,exports){
|
|
54225
54556
|
'use strict';
|
|
54226
54557
|
|
|
54227
54558
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -54239,49 +54570,49 @@ if ($defineProperty) {
|
|
|
54239
54570
|
|
|
54240
54571
|
module.exports = $defineProperty;
|
|
54241
54572
|
|
|
54242
|
-
},{"get-intrinsic":
|
|
54573
|
+
},{"get-intrinsic":360}],350:[function(require,module,exports){
|
|
54243
54574
|
'use strict';
|
|
54244
54575
|
|
|
54245
54576
|
/** @type {import('./eval')} */
|
|
54246
54577
|
module.exports = EvalError;
|
|
54247
54578
|
|
|
54248
|
-
},{}],
|
|
54579
|
+
},{}],351:[function(require,module,exports){
|
|
54249
54580
|
'use strict';
|
|
54250
54581
|
|
|
54251
54582
|
/** @type {import('.')} */
|
|
54252
54583
|
module.exports = Error;
|
|
54253
54584
|
|
|
54254
|
-
},{}],
|
|
54585
|
+
},{}],352:[function(require,module,exports){
|
|
54255
54586
|
'use strict';
|
|
54256
54587
|
|
|
54257
54588
|
/** @type {import('./range')} */
|
|
54258
54589
|
module.exports = RangeError;
|
|
54259
54590
|
|
|
54260
|
-
},{}],
|
|
54591
|
+
},{}],353:[function(require,module,exports){
|
|
54261
54592
|
'use strict';
|
|
54262
54593
|
|
|
54263
54594
|
/** @type {import('./ref')} */
|
|
54264
54595
|
module.exports = ReferenceError;
|
|
54265
54596
|
|
|
54266
|
-
},{}],
|
|
54597
|
+
},{}],354:[function(require,module,exports){
|
|
54267
54598
|
'use strict';
|
|
54268
54599
|
|
|
54269
54600
|
/** @type {import('./syntax')} */
|
|
54270
54601
|
module.exports = SyntaxError;
|
|
54271
54602
|
|
|
54272
|
-
},{}],
|
|
54603
|
+
},{}],355:[function(require,module,exports){
|
|
54273
54604
|
'use strict';
|
|
54274
54605
|
|
|
54275
54606
|
/** @type {import('./type')} */
|
|
54276
54607
|
module.exports = TypeError;
|
|
54277
54608
|
|
|
54278
|
-
},{}],
|
|
54609
|
+
},{}],356:[function(require,module,exports){
|
|
54279
54610
|
'use strict';
|
|
54280
54611
|
|
|
54281
54612
|
/** @type {import('./uri')} */
|
|
54282
54613
|
module.exports = URIError;
|
|
54283
54614
|
|
|
54284
|
-
},{}],
|
|
54615
|
+
},{}],357:[function(require,module,exports){
|
|
54285
54616
|
'use strict';
|
|
54286
54617
|
|
|
54287
54618
|
var isCallable = require('is-callable');
|
|
@@ -54345,7 +54676,7 @@ var forEach = function forEach(list, iterator, thisArg) {
|
|
|
54345
54676
|
|
|
54346
54677
|
module.exports = forEach;
|
|
54347
54678
|
|
|
54348
|
-
},{"is-callable":
|
|
54679
|
+
},{"is-callable":376}],358:[function(require,module,exports){
|
|
54349
54680
|
'use strict';
|
|
54350
54681
|
|
|
54351
54682
|
/* eslint no-invalid-this: 1 */
|
|
@@ -54431,9 +54762,9 @@ module.exports = function bind(that) {
|
|
|
54431
54762
|
return bound;
|
|
54432
54763
|
};
|
|
54433
54764
|
|
|
54434
|
-
},{}],
|
|
54435
|
-
arguments[4][
|
|
54436
|
-
},{"./implementation":
|
|
54765
|
+
},{}],359:[function(require,module,exports){
|
|
54766
|
+
arguments[4][346][0].apply(exports,arguments)
|
|
54767
|
+
},{"./implementation":358,"dup":346}],360:[function(require,module,exports){
|
|
54437
54768
|
'use strict';
|
|
54438
54769
|
|
|
54439
54770
|
var undefined;
|
|
@@ -54794,7 +55125,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
54794
55125
|
return value;
|
|
54795
55126
|
};
|
|
54796
55127
|
|
|
54797
|
-
},{"es-errors":
|
|
55128
|
+
},{"es-errors":351,"es-errors/eval":350,"es-errors/range":352,"es-errors/ref":353,"es-errors/syntax":354,"es-errors/type":355,"es-errors/uri":356,"function-bind":359,"has-proto":366,"has-symbols":367,"hasown":373}],361:[function(require,module,exports){
|
|
54798
55129
|
'use strict';
|
|
54799
55130
|
|
|
54800
55131
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -54812,13 +55143,37 @@ if ($gOPD) {
|
|
|
54812
55143
|
|
|
54813
55144
|
module.exports = $gOPD;
|
|
54814
55145
|
|
|
54815
|
-
},{"get-intrinsic":
|
|
54816
|
-
arguments[4][343][0].apply(exports,arguments)
|
|
54817
|
-
},{"dup":343}],361:[function(require,module,exports){
|
|
54818
|
-
arguments[4][344][0].apply(exports,arguments)
|
|
54819
|
-
},{"./implementation":360,"dup":344}],362:[function(require,module,exports){
|
|
55146
|
+
},{"get-intrinsic":364}],362:[function(require,module,exports){
|
|
54820
55147
|
arguments[4][345][0].apply(exports,arguments)
|
|
54821
|
-
},{"dup":345
|
|
55148
|
+
},{"dup":345}],363:[function(require,module,exports){
|
|
55149
|
+
arguments[4][346][0].apply(exports,arguments)
|
|
55150
|
+
},{"./implementation":362,"dup":346}],364:[function(require,module,exports){
|
|
55151
|
+
arguments[4][347][0].apply(exports,arguments)
|
|
55152
|
+
},{"dup":347,"function-bind":363,"has":372,"has-symbols":367}],365:[function(require,module,exports){
|
|
55153
|
+
'use strict';
|
|
55154
|
+
|
|
55155
|
+
var $defineProperty = require('es-define-property');
|
|
55156
|
+
|
|
55157
|
+
var hasPropertyDescriptors = function hasPropertyDescriptors() {
|
|
55158
|
+
return !!$defineProperty;
|
|
55159
|
+
};
|
|
55160
|
+
|
|
55161
|
+
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
55162
|
+
// node v0.6 has a bug where array lengths can be Set but not Defined
|
|
55163
|
+
if (!$defineProperty) {
|
|
55164
|
+
return null;
|
|
55165
|
+
}
|
|
55166
|
+
try {
|
|
55167
|
+
return $defineProperty([], 'length', { value: 1 }).length !== 1;
|
|
55168
|
+
} catch (e) {
|
|
55169
|
+
// In Firefox 4-22, defining length on an array throws an exception.
|
|
55170
|
+
return true;
|
|
55171
|
+
}
|
|
55172
|
+
};
|
|
55173
|
+
|
|
55174
|
+
module.exports = hasPropertyDescriptors;
|
|
55175
|
+
|
|
55176
|
+
},{"es-define-property":349}],366:[function(require,module,exports){
|
|
54822
55177
|
'use strict';
|
|
54823
55178
|
|
|
54824
55179
|
var test = {
|
|
@@ -54831,7 +55186,7 @@ module.exports = function hasProto() {
|
|
|
54831
55186
|
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
54832
55187
|
};
|
|
54833
55188
|
|
|
54834
|
-
},{}],
|
|
55189
|
+
},{}],367:[function(require,module,exports){
|
|
54835
55190
|
'use strict';
|
|
54836
55191
|
|
|
54837
55192
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -54846,7 +55201,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
54846
55201
|
return hasSymbolSham();
|
|
54847
55202
|
};
|
|
54848
55203
|
|
|
54849
|
-
},{"./shams":
|
|
55204
|
+
},{"./shams":368}],368:[function(require,module,exports){
|
|
54850
55205
|
'use strict';
|
|
54851
55206
|
|
|
54852
55207
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
@@ -54890,7 +55245,7 @@ module.exports = function hasSymbols() {
|
|
|
54890
55245
|
return true;
|
|
54891
55246
|
};
|
|
54892
55247
|
|
|
54893
|
-
},{}],
|
|
55248
|
+
},{}],369:[function(require,module,exports){
|
|
54894
55249
|
'use strict';
|
|
54895
55250
|
|
|
54896
55251
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -54899,18 +55254,18 @@ module.exports = function hasToStringTagShams() {
|
|
|
54899
55254
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
54900
55255
|
};
|
|
54901
55256
|
|
|
54902
|
-
},{"has-symbols/shams":
|
|
54903
|
-
arguments[4][
|
|
54904
|
-
},{"dup":
|
|
54905
|
-
arguments[4][
|
|
54906
|
-
},{"./implementation":
|
|
55257
|
+
},{"has-symbols/shams":368}],370:[function(require,module,exports){
|
|
55258
|
+
arguments[4][345][0].apply(exports,arguments)
|
|
55259
|
+
},{"dup":345}],371:[function(require,module,exports){
|
|
55260
|
+
arguments[4][346][0].apply(exports,arguments)
|
|
55261
|
+
},{"./implementation":370,"dup":346}],372:[function(require,module,exports){
|
|
54907
55262
|
'use strict';
|
|
54908
55263
|
|
|
54909
55264
|
var bind = require('function-bind');
|
|
54910
55265
|
|
|
54911
55266
|
module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
54912
55267
|
|
|
54913
|
-
},{"function-bind":
|
|
55268
|
+
},{"function-bind":371}],373:[function(require,module,exports){
|
|
54914
55269
|
'use strict';
|
|
54915
55270
|
|
|
54916
55271
|
var call = Function.prototype.call;
|
|
@@ -54920,7 +55275,7 @@ var bind = require('function-bind');
|
|
|
54920
55275
|
/** @type {import('.')} */
|
|
54921
55276
|
module.exports = bind.call(call, $hasOwn);
|
|
54922
55277
|
|
|
54923
|
-
},{"function-bind":
|
|
55278
|
+
},{"function-bind":359}],374:[function(require,module,exports){
|
|
54924
55279
|
if (typeof Object.create === 'function') {
|
|
54925
55280
|
// implementation from standard node.js 'util' module
|
|
54926
55281
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -54949,7 +55304,7 @@ if (typeof Object.create === 'function') {
|
|
|
54949
55304
|
}
|
|
54950
55305
|
}
|
|
54951
55306
|
|
|
54952
|
-
},{}],
|
|
55307
|
+
},{}],375:[function(require,module,exports){
|
|
54953
55308
|
'use strict';
|
|
54954
55309
|
|
|
54955
55310
|
var hasToStringTag = require('has-tostringtag/shams')();
|
|
@@ -54984,7 +55339,7 @@ isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests
|
|
|
54984
55339
|
|
|
54985
55340
|
module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
54986
55341
|
|
|
54987
|
-
},{"call-bind/callBound":
|
|
55342
|
+
},{"call-bind/callBound":343,"has-tostringtag/shams":369}],376:[function(require,module,exports){
|
|
54988
55343
|
'use strict';
|
|
54989
55344
|
|
|
54990
55345
|
var fnToStr = Function.prototype.toString;
|
|
@@ -55087,7 +55442,7 @@ module.exports = reflectApply
|
|
|
55087
55442
|
return tryFunctionObject(value);
|
|
55088
55443
|
};
|
|
55089
55444
|
|
|
55090
|
-
},{}],
|
|
55445
|
+
},{}],377:[function(require,module,exports){
|
|
55091
55446
|
'use strict';
|
|
55092
55447
|
|
|
55093
55448
|
var toStr = Object.prototype.toString;
|
|
@@ -55127,7 +55482,7 @@ module.exports = function isGeneratorFunction(fn) {
|
|
|
55127
55482
|
return getProto(fn) === GeneratorFunction;
|
|
55128
55483
|
};
|
|
55129
55484
|
|
|
55130
|
-
},{"has-tostringtag/shams":
|
|
55485
|
+
},{"has-tostringtag/shams":369}],378:[function(require,module,exports){
|
|
55131
55486
|
'use strict';
|
|
55132
55487
|
|
|
55133
55488
|
var whichTypedArray = require('which-typed-array');
|
|
@@ -55137,7 +55492,7 @@ module.exports = function isTypedArray(value) {
|
|
|
55137
55492
|
return !!whichTypedArray(value);
|
|
55138
55493
|
};
|
|
55139
55494
|
|
|
55140
|
-
},{"which-typed-array":
|
|
55495
|
+
},{"which-typed-array":391}],379:[function(require,module,exports){
|
|
55141
55496
|
(function (global){(function (){
|
|
55142
55497
|
/**
|
|
55143
55498
|
* @license
|
|
@@ -72350,7 +72705,7 @@ module.exports = function isTypedArray(value) {
|
|
|
72350
72705
|
}.call(this));
|
|
72351
72706
|
|
|
72352
72707
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
72353
|
-
},{}],
|
|
72708
|
+
},{}],380:[function(require,module,exports){
|
|
72354
72709
|
'use strict';
|
|
72355
72710
|
|
|
72356
72711
|
var keysShim;
|
|
@@ -72474,7 +72829,7 @@ if (!Object.keys) {
|
|
|
72474
72829
|
}
|
|
72475
72830
|
module.exports = keysShim;
|
|
72476
72831
|
|
|
72477
|
-
},{"./isArguments":
|
|
72832
|
+
},{"./isArguments":382}],381:[function(require,module,exports){
|
|
72478
72833
|
'use strict';
|
|
72479
72834
|
|
|
72480
72835
|
var slice = Array.prototype.slice;
|
|
@@ -72508,7 +72863,7 @@ keysShim.shim = function shimObjectKeys() {
|
|
|
72508
72863
|
|
|
72509
72864
|
module.exports = keysShim;
|
|
72510
72865
|
|
|
72511
|
-
},{"./implementation":
|
|
72866
|
+
},{"./implementation":380,"./isArguments":382}],382:[function(require,module,exports){
|
|
72512
72867
|
'use strict';
|
|
72513
72868
|
|
|
72514
72869
|
var toStr = Object.prototype.toString;
|
|
@@ -72527,7 +72882,7 @@ module.exports = function isArguments(value) {
|
|
|
72527
72882
|
return isArgs;
|
|
72528
72883
|
};
|
|
72529
72884
|
|
|
72530
|
-
},{}],
|
|
72885
|
+
},{}],383:[function(require,module,exports){
|
|
72531
72886
|
'use strict';
|
|
72532
72887
|
|
|
72533
72888
|
// modified from https://github.com/es-shims/es6-shim
|
|
@@ -72575,7 +72930,7 @@ module.exports = function assign(target, source1) {
|
|
|
72575
72930
|
return to; // step 4
|
|
72576
72931
|
};
|
|
72577
72932
|
|
|
72578
|
-
},{"call-bind/callBound":
|
|
72933
|
+
},{"call-bind/callBound":343,"has-symbols/shams":368,"object-keys":381}],384:[function(require,module,exports){
|
|
72579
72934
|
'use strict';
|
|
72580
72935
|
|
|
72581
72936
|
var implementation = require('./implementation');
|
|
@@ -72632,7 +72987,7 @@ module.exports = function getPolyfill() {
|
|
|
72632
72987
|
return Object.assign;
|
|
72633
72988
|
};
|
|
72634
72989
|
|
|
72635
|
-
},{"./implementation":
|
|
72990
|
+
},{"./implementation":383}],385:[function(require,module,exports){
|
|
72636
72991
|
'use strict';
|
|
72637
72992
|
|
|
72638
72993
|
/** @type {import('.')} */
|
|
@@ -72650,7 +73005,7 @@ module.exports = [
|
|
|
72650
73005
|
'BigUint64Array'
|
|
72651
73006
|
];
|
|
72652
73007
|
|
|
72653
|
-
},{}],
|
|
73008
|
+
},{}],386:[function(require,module,exports){
|
|
72654
73009
|
// shim for using process in browser
|
|
72655
73010
|
var process = module.exports = {};
|
|
72656
73011
|
|
|
@@ -72836,7 +73191,7 @@ process.chdir = function (dir) {
|
|
|
72836
73191
|
};
|
|
72837
73192
|
process.umask = function() { return 0; };
|
|
72838
73193
|
|
|
72839
|
-
},{}],
|
|
73194
|
+
},{}],387:[function(require,module,exports){
|
|
72840
73195
|
'use strict';
|
|
72841
73196
|
|
|
72842
73197
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -72880,33 +73235,9 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
72880
73235
|
return fn;
|
|
72881
73236
|
};
|
|
72882
73237
|
|
|
72883
|
-
},{"define-data-property":
|
|
72884
|
-
|
|
72885
|
-
|
|
72886
|
-
var $defineProperty = require('es-define-property');
|
|
72887
|
-
|
|
72888
|
-
var hasPropertyDescriptors = function hasPropertyDescriptors() {
|
|
72889
|
-
return !!$defineProperty;
|
|
72890
|
-
};
|
|
72891
|
-
|
|
72892
|
-
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
72893
|
-
// node v0.6 has a bug where array lengths can be Set but not Defined
|
|
72894
|
-
if (!$defineProperty) {
|
|
72895
|
-
return null;
|
|
72896
|
-
}
|
|
72897
|
-
try {
|
|
72898
|
-
return $defineProperty([], 'length', { value: 1 }).length !== 1;
|
|
72899
|
-
} catch (e) {
|
|
72900
|
-
// In Firefox 4-22, defining length on an array throws an exception.
|
|
72901
|
-
return true;
|
|
72902
|
-
}
|
|
72903
|
-
};
|
|
72904
|
-
|
|
72905
|
-
module.exports = hasPropertyDescriptors;
|
|
72906
|
-
|
|
72907
|
-
},{"es-define-property":347}],386:[function(require,module,exports){
|
|
72908
|
-
arguments[4][337][0].apply(exports,arguments)
|
|
72909
|
-
},{"dup":337}],387:[function(require,module,exports){
|
|
73238
|
+
},{"define-data-property":348,"es-errors/type":355,"get-intrinsic":360,"gopd":361,"has-property-descriptors":365}],388:[function(require,module,exports){
|
|
73239
|
+
arguments[4][339][0].apply(exports,arguments)
|
|
73240
|
+
},{"dup":339}],389:[function(require,module,exports){
|
|
72910
73241
|
// Currently in sync with Node.js lib/internal/util/types.js
|
|
72911
73242
|
// https://github.com/nodejs/node/commit/112cc7c27551254aa2b17098fb774867f05ed0d9
|
|
72912
73243
|
|
|
@@ -73242,7 +73573,7 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
|
73242
73573
|
});
|
|
73243
73574
|
});
|
|
73244
73575
|
|
|
73245
|
-
},{"is-arguments":
|
|
73576
|
+
},{"is-arguments":375,"is-generator-function":377,"is-typed-array":378,"which-typed-array":391}],390:[function(require,module,exports){
|
|
73246
73577
|
(function (process){(function (){
|
|
73247
73578
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
73248
73579
|
//
|
|
@@ -73961,7 +74292,7 @@ function callbackify(original) {
|
|
|
73961
74292
|
exports.callbackify = callbackify;
|
|
73962
74293
|
|
|
73963
74294
|
}).call(this)}).call(this,require('_process'))
|
|
73964
|
-
},{"./support/isBuffer":
|
|
74295
|
+
},{"./support/isBuffer":388,"./support/types":389,"_process":386,"inherits":374}],391:[function(require,module,exports){
|
|
73965
74296
|
(function (global){(function (){
|
|
73966
74297
|
'use strict';
|
|
73967
74298
|
|
|
@@ -74081,9 +74412,9 @@ module.exports = function whichTypedArray(value) {
|
|
|
74081
74412
|
};
|
|
74082
74413
|
|
|
74083
74414
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
74084
|
-
},{"available-typed-arrays":
|
|
74085
|
-
arguments[4][
|
|
74086
|
-
},{"./":
|
|
74415
|
+
},{"available-typed-arrays":341,"call-bind":393,"call-bind/callBound":392,"for-each":357,"gopd":361,"has-tostringtag/shams":394}],392:[function(require,module,exports){
|
|
74416
|
+
arguments[4][343][0].apply(exports,arguments)
|
|
74417
|
+
},{"./":393,"dup":343,"get-intrinsic":360}],393:[function(require,module,exports){
|
|
74087
74418
|
'use strict';
|
|
74088
74419
|
|
|
74089
74420
|
var bind = require('function-bind');
|
|
@@ -74120,7 +74451,7 @@ if ($defineProperty) {
|
|
|
74120
74451
|
module.exports.apply = applyBind;
|
|
74121
74452
|
}
|
|
74122
74453
|
|
|
74123
|
-
},{"es-define-property":
|
|
74454
|
+
},{"es-define-property":349,"es-errors/type":355,"function-bind":359,"get-intrinsic":360,"set-function-length":387}],394:[function(require,module,exports){
|
|
74124
74455
|
'use strict';
|
|
74125
74456
|
|
|
74126
74457
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -74130,5 +74461,5 @@ module.exports = function hasToStringTagShams() {
|
|
|
74130
74461
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
74131
74462
|
};
|
|
74132
74463
|
|
|
74133
|
-
},{"has-symbols/shams":
|
|
74464
|
+
},{"has-symbols/shams":368}]},{},[104])(104)
|
|
74134
74465
|
});
|