@designliquido/delegua 0.34.3 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/analisador-semantico/index.d.ts +1 -0
- package/analisador-semantico/index.d.ts.map +1 -1
- package/analisador-semantico/index.js +1 -0
- package/analisador-semantico/index.js.map +1 -1
- package/bibliotecas/biblioteca-global.d.ts +157 -3
- package/bibliotecas/biblioteca-global.d.ts.map +1 -1
- package/bibliotecas/biblioteca-global.js +488 -308
- package/bibliotecas/biblioteca-global.js.map +1 -1
- package/bin/package.json +1 -1
- package/estruturas/funcao-padrao.d.ts +0 -1
- package/estruturas/funcao-padrao.d.ts.map +1 -1
- package/estruturas/funcao-padrao.js +1 -4
- package/estruturas/funcao-padrao.js.map +1 -1
- package/interpretador/comum.d.ts +3 -0
- package/interpretador/comum.d.ts.map +1 -0
- package/interpretador/comum.js +53 -0
- package/interpretador/comum.js.map +1 -0
- package/interpretador/interpretador-base.d.ts +2 -2
- package/interpretador/interpretador-base.d.ts.map +1 -1
- package/interpretador/interpretador-base.js +7 -7
- package/interpretador/interpretador-base.js.map +1 -1
- package/interpretador/pilha-escopos-execucao.d.ts.map +1 -1
- package/interpretador/pilha-escopos-execucao.js +2 -0
- package/interpretador/pilha-escopos-execucao.js.map +1 -1
- package/package.json +1 -1
- package/umd/delegua.js +819 -586
package/umd/delegua.js
CHANGED
|
@@ -223,7 +223,7 @@ class AvaliadorSintaticoBase {
|
|
|
223
223
|
}
|
|
224
224
|
exports.AvaliadorSintaticoBase = AvaliadorSintaticoBase;
|
|
225
225
|
|
|
226
|
-
},{"../construtos":40,"../declaracoes":78,"../tipos-de-simbolos/comum":
|
|
226
|
+
},{"../construtos":40,"../declaracoes":78,"../tipos-de-simbolos/comum":156,"./erro-avaliador-sintatico":7}],2:[function(require,module,exports){
|
|
227
227
|
"use strict";
|
|
228
228
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
229
229
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -1313,7 +1313,7 @@ class AvaliadorSintatico {
|
|
|
1313
1313
|
}
|
|
1314
1314
|
exports.AvaliadorSintatico = AvaliadorSintatico;
|
|
1315
1315
|
|
|
1316
|
-
},{"../construtos":40,"../construtos/tuplas":49,"../declaracoes":78,"../lexador":
|
|
1316
|
+
},{"../construtos":40,"../construtos/tuplas":49,"../declaracoes":78,"../lexador":146,"../tipos-de-dados/delegua":154,"../tipos-de-simbolos/delegua":157,"./erro-avaliador-sintatico":7,"browser-process-hrtime":332}],3:[function(require,module,exports){
|
|
1317
1317
|
"use strict";
|
|
1318
1318
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
1319
1319
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -1963,7 +1963,7 @@ class AvaliadorSintaticoEguaClassico {
|
|
|
1963
1963
|
}
|
|
1964
1964
|
exports.AvaliadorSintaticoEguaClassico = AvaliadorSintaticoEguaClassico;
|
|
1965
1965
|
|
|
1966
|
-
},{"../../construtos":40,"../../declaracoes":78,"../../tipos-de-simbolos/egua-classico":
|
|
1966
|
+
},{"../../construtos":40,"../../declaracoes":78,"../../tipos-de-simbolos/egua-classico":158,"../erro-avaliador-sintatico":7}],4:[function(require,module,exports){
|
|
1967
1967
|
"use strict";
|
|
1968
1968
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
1969
1969
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2735,7 +2735,7 @@ class AvaliadorSintaticoPitugues {
|
|
|
2735
2735
|
}
|
|
2736
2736
|
exports.AvaliadorSintaticoPitugues = AvaliadorSintaticoPitugues;
|
|
2737
2737
|
|
|
2738
|
-
},{"../../construtos":40,"../../declaracoes":78,"../../lexador":
|
|
2738
|
+
},{"../../construtos":40,"../../declaracoes":78,"../../lexador":146,"../../tipos-de-simbolos/pitugues":161,"../erro-avaliador-sintatico":7,"browser-process-hrtime":332}],5:[function(require,module,exports){
|
|
2739
2739
|
"use strict";
|
|
2740
2740
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
2741
2741
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2905,7 +2905,7 @@ class AvaliadorSintaticoPortugolIpt extends avaliador_sintatico_base_1.Avaliador
|
|
|
2905
2905
|
}
|
|
2906
2906
|
exports.AvaliadorSintaticoPortugolIpt = AvaliadorSintaticoPortugolIpt;
|
|
2907
2907
|
|
|
2908
|
-
},{"../../construtos":40,"../../declaracoes":78,"../../tipos-de-simbolos/portugol-ipt":
|
|
2908
|
+
},{"../../construtos":40,"../../declaracoes":78,"../../tipos-de-simbolos/portugol-ipt":162,"../avaliador-sintatico-base":1}],6:[function(require,module,exports){
|
|
2909
2909
|
"use strict";
|
|
2910
2910
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2911
2911
|
if (k2 === undefined) k2 = k;
|
|
@@ -3081,7 +3081,7 @@ class MicroAvaliadorSintaticoBase {
|
|
|
3081
3081
|
}
|
|
3082
3082
|
exports.MicroAvaliadorSintaticoBase = MicroAvaliadorSintaticoBase;
|
|
3083
3083
|
|
|
3084
|
-
},{"../construtos":40,"../tipos-de-simbolos/comum":
|
|
3084
|
+
},{"../construtos":40,"../tipos-de-simbolos/comum":156,"./erro-avaliador-sintatico":7}],10:[function(require,module,exports){
|
|
3085
3085
|
"use strict";
|
|
3086
3086
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3087
3087
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3370,7 +3370,7 @@ class MicroAvaliadorSintatico extends micro_avaliador_sintatico_base_1.MicroAval
|
|
|
3370
3370
|
}
|
|
3371
3371
|
exports.MicroAvaliadorSintatico = MicroAvaliadorSintatico;
|
|
3372
3372
|
|
|
3373
|
-
},{"../construtos":40,"../tipos-de-simbolos/microgramaticas/delegua":
|
|
3373
|
+
},{"../construtos":40,"../tipos-de-simbolos/microgramaticas/delegua":160,"./erro-avaliador-sintatico":7,"./micro-avaliador-sintatico-base":9}],11:[function(require,module,exports){
|
|
3374
3374
|
"use strict";
|
|
3375
3375
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3376
3376
|
if (k2 === undefined) k2 = k;
|
|
@@ -3406,324 +3406,504 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3406
3406
|
},{}],15:[function(require,module,exports){
|
|
3407
3407
|
"use strict";
|
|
3408
3408
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3409
|
+
exports.tupla = exports.todosEmCondicao = exports.texto = exports.tamanho = exports.reduzir = exports.real = exports.primeiroEmCondicao = exports.paraCada = exports.ordenar = exports.mapear = exports.inteiro = exports.incluido = exports.filtrarPor = exports.encontrarUltimoIndice = exports.encontrarUltimo = exports.encontrarIndice = exports.encontrar = exports.algum = exports.aleatorioEntre = exports.aleatorio = void 0;
|
|
3409
3410
|
const excecoes_1 = require("../excecoes");
|
|
3410
3411
|
const objeto_delegua_classe_1 = require("../estruturas/objeto-delegua-classe");
|
|
3411
3412
|
const funcao_padrao_1 = require("../estruturas/funcao-padrao");
|
|
3412
3413
|
const delegua_classe_1 = require("../estruturas/delegua-classe");
|
|
3413
3414
|
const estruturas_1 = require("../estruturas");
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
// Mínimo(inclusivo) - Máximo(exclusivo)
|
|
3440
|
-
pilhaEscoposExecucao.definirVariavel('aleatorioEntre', new funcao_padrao_1.FuncaoPadrao(1, async function (minimo, maximo) {
|
|
3441
|
-
// eslint-disable-next-line prefer-rest-params
|
|
3442
|
-
if (arguments.length <= 0) {
|
|
3443
|
-
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'A função recebe ao menos um parâmetro.'));
|
|
3444
|
-
}
|
|
3445
|
-
const valorMinimo = minimo.hasOwnProperty('valor') ? minimo.valor : minimo;
|
|
3446
|
-
if (arguments.length === 1) {
|
|
3447
|
-
if (typeof valorMinimo !== 'number') {
|
|
3448
|
-
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'O parâmetro deve ser um número.'));
|
|
3449
|
-
}
|
|
3450
|
-
return Math.floor(Math.random() * (0 - valorMinimo)) + valorMinimo;
|
|
3451
|
-
}
|
|
3452
|
-
if (arguments.length > 2) {
|
|
3453
|
-
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'A quantidade de parâmetros máxima para esta função é 2.'));
|
|
3454
|
-
}
|
|
3455
|
-
const valorMaximo = maximo.hasOwnProperty('valor') ? maximo.valor : maximo;
|
|
3456
|
-
if (typeof valorMinimo !== 'number' || typeof valorMaximo !== 'number') {
|
|
3457
|
-
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Os dois parâmetros devem ser do tipo número.'));
|
|
3458
|
-
}
|
|
3459
|
-
return Promise.resolve(Math.floor(Math.random() * (valorMaximo - valorMinimo)) + valorMinimo);
|
|
3460
|
-
}));
|
|
3461
|
-
pilhaEscoposExecucao.definirVariavel('algum', new funcao_padrao_1.FuncaoPadrao(2, async function (vetor, funcaoPesquisa) {
|
|
3462
|
-
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
3463
|
-
const valorFuncaoPesquisa = funcaoPesquisa.hasOwnProperty('valor') ? funcaoPesquisa.valor : funcaoPesquisa;
|
|
3464
|
-
if (!Array.isArray(valorVetor)) {
|
|
3465
|
-
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função deve ser um vetor.'));
|
|
3466
|
-
}
|
|
3467
|
-
if (valorFuncaoPesquisa.constructor.name !== 'DeleguaFuncao') {
|
|
3468
|
-
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O segundo parâmetro da função deve ser uma função.'));
|
|
3469
|
-
}
|
|
3470
|
-
for (let indice = 0; indice < valorVetor.length; ++indice) {
|
|
3471
|
-
if (await valorFuncaoPesquisa.chamar(interpretador, [valorVetor[indice]])) {
|
|
3472
|
-
return true;
|
|
3473
|
-
}
|
|
3474
|
-
}
|
|
3475
|
-
return false;
|
|
3476
|
-
}));
|
|
3477
|
-
pilhaEscoposExecucao.definirVariavel('encontrar', new funcao_padrao_1.FuncaoPadrao(1, async function (vetor, funcaoPesquisa) {
|
|
3478
|
-
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
3479
|
-
const valorFuncaoPesquisa = funcaoPesquisa.hasOwnProperty('valor') ? funcaoPesquisa.valor : funcaoPesquisa;
|
|
3480
|
-
if (!Array.isArray(valorVetor)) {
|
|
3481
|
-
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função deve ser um vetor.'));
|
|
3482
|
-
}
|
|
3483
|
-
if (valorFuncaoPesquisa.constructor.name !== 'DeleguaFuncao') {
|
|
3484
|
-
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O segundo parâmetro da função deve ser uma função.'));
|
|
3485
|
-
}
|
|
3486
|
-
for (let indice = 0; indice < valorVetor.length; ++indice) {
|
|
3487
|
-
if (await valorFuncaoPesquisa.chamar(interpretador, [valorVetor[indice]])) {
|
|
3488
|
-
return valorVetor[indice];
|
|
3489
|
-
}
|
|
3490
|
-
}
|
|
3491
|
-
return null;
|
|
3492
|
-
}));
|
|
3493
|
-
pilhaEscoposExecucao.definirVariavel('encontrarUltimo', new funcao_padrao_1.FuncaoPadrao(1, async function (vetor, funcaoPesquisa) {
|
|
3494
|
-
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
3495
|
-
const valorFuncaoPesquisa = funcaoPesquisa.hasOwnProperty('valor') ? funcaoPesquisa.valor : funcaoPesquisa;
|
|
3496
|
-
if (!Array.isArray(valorVetor)) {
|
|
3497
|
-
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função deve ser um vetor.'));
|
|
3498
|
-
}
|
|
3499
|
-
if (valorFuncaoPesquisa.constructor.name !== 'DeleguaFuncao') {
|
|
3500
|
-
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O segundo parâmetro da função deve ser uma função.'));
|
|
3501
|
-
}
|
|
3502
|
-
for (let indice = valorVetor.length - 1; indice >= 0; --indice) {
|
|
3503
|
-
if (await valorFuncaoPesquisa.chamar(interpretador, [valorVetor[indice]])) {
|
|
3504
|
-
return valorVetor[indice];
|
|
3505
|
-
}
|
|
3506
|
-
}
|
|
3507
|
-
}));
|
|
3508
|
-
pilhaEscoposExecucao.definirVariavel('encontrarIndice', new funcao_padrao_1.FuncaoPadrao(2, async function (vetor, funcaoPesquisa) {
|
|
3509
|
-
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
3510
|
-
const valorFuncaoPesquisa = funcaoPesquisa.hasOwnProperty('valor') ? funcaoPesquisa.valor : funcaoPesquisa;
|
|
3511
|
-
if (!Array.isArray(valorVetor)) {
|
|
3512
|
-
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função deve ser um vetor.'));
|
|
3513
|
-
}
|
|
3514
|
-
if (valorFuncaoPesquisa.constructor.name !== 'DeleguaFuncao') {
|
|
3515
|
-
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O segundo parâmetro da função deve ser uma função.'));
|
|
3415
|
+
const construtos_1 = require("../construtos");
|
|
3416
|
+
/**
|
|
3417
|
+
* Retorna um número aleatório entre 0 e 1.
|
|
3418
|
+
* @returns {Promise<number>} Número real.
|
|
3419
|
+
*/
|
|
3420
|
+
async function aleatorio(interpretador) {
|
|
3421
|
+
return Promise.resolve(Math.random());
|
|
3422
|
+
}
|
|
3423
|
+
exports.aleatorio = aleatorio;
|
|
3424
|
+
/**
|
|
3425
|
+
* Retorna um número aleatório de acordo com o parâmetro passado.
|
|
3426
|
+
* Mínimo(inclusivo) - Máximo(exclusivo).
|
|
3427
|
+
* @param {number} minimo O número mínimo.
|
|
3428
|
+
* @param {number} maximo O número máximo.
|
|
3429
|
+
* @returns {Promise<number>} Um número real entre os valores máximo e mínimo especificados.
|
|
3430
|
+
*/
|
|
3431
|
+
async function aleatorioEntre(interpretador, minimo, maximo) {
|
|
3432
|
+
// eslint-disable-next-line prefer-rest-params
|
|
3433
|
+
if (arguments.length <= 0) {
|
|
3434
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'A função recebe ao menos um parâmetro.'));
|
|
3435
|
+
}
|
|
3436
|
+
const valorMinimo = minimo.hasOwnProperty('valor') ? minimo.valor : minimo;
|
|
3437
|
+
if (arguments.length === 2) {
|
|
3438
|
+
if (typeof valorMinimo !== 'number') {
|
|
3439
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'O parâmetro deve ser um número.'));
|
|
3516
3440
|
}
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3441
|
+
return Math.floor(Math.random() * (0 - valorMinimo)) + valorMinimo;
|
|
3442
|
+
}
|
|
3443
|
+
if (arguments.length > 3) {
|
|
3444
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'A quantidade de parâmetros máxima para esta função é 2.'));
|
|
3445
|
+
}
|
|
3446
|
+
const valorMaximo = maximo.hasOwnProperty('valor') ? maximo.valor : maximo;
|
|
3447
|
+
if (typeof valorMinimo !== 'number' || typeof valorMaximo !== 'number') {
|
|
3448
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Os dois parâmetros devem ser do tipo número.'));
|
|
3449
|
+
}
|
|
3450
|
+
return Promise.resolve(Math.floor(Math.random() * (valorMaximo - valorMinimo)) + valorMinimo);
|
|
3451
|
+
}
|
|
3452
|
+
exports.aleatorioEntre = aleatorioEntre;
|
|
3453
|
+
/**
|
|
3454
|
+
* Verifica se algum dos elementos satisfaz à condição para por parâmetro.
|
|
3455
|
+
* @param {InterpretadorInterface} interpretador A instância do interpretador.
|
|
3456
|
+
* @param {VariavelInterface | any} vetor Uma variável de Delégua ou um vetor nativo de JavaScript.
|
|
3457
|
+
* @param {VariavelInterface | any} funcaoPesquisa A função que ensina o método de pesquisa.
|
|
3458
|
+
* @returns {Promise<boolean>} Verdadeiro se há algum elemento no vetor com a condição. Falso caso contrário.
|
|
3459
|
+
*/
|
|
3460
|
+
async function algum(interpretador, vetor, funcaoPesquisa) {
|
|
3461
|
+
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
3462
|
+
const valorFuncaoPesquisa = funcaoPesquisa.hasOwnProperty('valor') ? funcaoPesquisa.valor : funcaoPesquisa;
|
|
3463
|
+
if (!Array.isArray(valorVetor)) {
|
|
3464
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função deve ser um vetor.'));
|
|
3465
|
+
}
|
|
3466
|
+
if (valorFuncaoPesquisa.constructor.name !== 'DeleguaFuncao') {
|
|
3467
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O segundo parâmetro da função deve ser uma função.'));
|
|
3468
|
+
}
|
|
3469
|
+
for (let indice = 0; indice < valorVetor.length; ++indice) {
|
|
3470
|
+
if (await valorFuncaoPesquisa.chamar(interpretador, [valorVetor[indice]])) {
|
|
3471
|
+
return true;
|
|
3521
3472
|
}
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
if (valorVetor[indice] == valorValor) {
|
|
3547
|
-
return true;
|
|
3548
|
-
}
|
|
3473
|
+
}
|
|
3474
|
+
return false;
|
|
3475
|
+
}
|
|
3476
|
+
exports.algum = algum;
|
|
3477
|
+
/**
|
|
3478
|
+
* Encontra o primeiro elemento de um vetor cuja função de pesquisa retorne
|
|
3479
|
+
* verdadeiro na avaliação de cada elemento.
|
|
3480
|
+
* @param {InterpretadorInterface} interpretador A instância do interpretador.
|
|
3481
|
+
* @param {VariavelInterface | any} vetor Uma variável de Delégua ou um vetor nativo de JavaScript.
|
|
3482
|
+
* @param {VariavelInterface | any} funcaoPesquisa A função que ensina o método de pesquisa.
|
|
3483
|
+
* @returns {Promise<any>} Um elemento, caso o elemento seja encontraro, ou nulo em caso contrário.
|
|
3484
|
+
*/
|
|
3485
|
+
async function encontrar(interpretador, vetor, funcaoPesquisa) {
|
|
3486
|
+
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
3487
|
+
const valorFuncaoPesquisa = funcaoPesquisa.hasOwnProperty('valor') ? funcaoPesquisa.valor : funcaoPesquisa;
|
|
3488
|
+
if (!Array.isArray(valorVetor)) {
|
|
3489
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função deve ser um vetor.'));
|
|
3490
|
+
}
|
|
3491
|
+
if (valorFuncaoPesquisa.constructor.name !== 'DeleguaFuncao') {
|
|
3492
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O segundo parâmetro da função deve ser uma função.'));
|
|
3493
|
+
}
|
|
3494
|
+
for (let indice = 0; indice < valorVetor.length; ++indice) {
|
|
3495
|
+
if (await valorFuncaoPesquisa.chamar(interpretador, [valorVetor[indice]])) {
|
|
3496
|
+
return valorVetor[indice];
|
|
3549
3497
|
}
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
if (valorFuncaoMapeamento.constructor.name !== 'DeleguaFuncao') {
|
|
3575
|
-
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O segundo parâmetro da função mapear() deve ser uma função.'));
|
|
3576
|
-
}
|
|
3577
|
-
const resultados = [];
|
|
3578
|
-
for (let indice = 0; indice < valorVetor.length; ++indice) {
|
|
3579
|
-
resultados.push(await valorFuncaoMapeamento.chamar(interpretador, [valorVetor[indice]]));
|
|
3580
|
-
}
|
|
3581
|
-
return resultados;
|
|
3582
|
-
}));
|
|
3583
|
-
pilhaEscoposExecucao.definirVariavel('todos', new funcao_padrao_1.FuncaoPadrao(2, todosEmCondicao));
|
|
3584
|
-
pilhaEscoposExecucao.definirVariavel('todosEmCondicao', new funcao_padrao_1.FuncaoPadrao(2, todosEmCondicao));
|
|
3585
|
-
pilhaEscoposExecucao.definirVariavel('filtrarPor', new funcao_padrao_1.FuncaoPadrao(1, async function (vetor, funcaoFiltragem) {
|
|
3586
|
-
if (vetor === null || vetor === undefined)
|
|
3587
|
-
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função filtrarPor() não pode ser nulo.'));
|
|
3588
|
-
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
3589
|
-
const valorFuncaoFiltragem = funcaoFiltragem.hasOwnProperty('valor')
|
|
3590
|
-
? funcaoFiltragem.valor
|
|
3591
|
-
: funcaoFiltragem;
|
|
3592
|
-
if (!Array.isArray(valorVetor)) {
|
|
3593
|
-
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função filtrarPor() deve ser um vetor.'));
|
|
3594
|
-
}
|
|
3595
|
-
if (valorFuncaoFiltragem.constructor.name !== 'DeleguaFuncao') {
|
|
3596
|
-
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O segundo parâmetro da função filtrarPor() deve ser uma função.'));
|
|
3597
|
-
}
|
|
3598
|
-
const resultados = [];
|
|
3599
|
-
for (let indice = 0; indice < valorVetor.length; ++indice) {
|
|
3600
|
-
const deveRetornarValor = await valorFuncaoFiltragem.chamar(interpretador, [valorVetor[indice]]);
|
|
3601
|
-
if (deveRetornarValor === false)
|
|
3602
|
-
continue;
|
|
3603
|
-
resultados.push(valorVetor[indice]);
|
|
3498
|
+
}
|
|
3499
|
+
return null;
|
|
3500
|
+
}
|
|
3501
|
+
exports.encontrar = encontrar;
|
|
3502
|
+
/**
|
|
3503
|
+
* Encontra o índice do primeiro elemento de um vetor cuja função de pesquisa retorne
|
|
3504
|
+
* verdadeiro na avaliação de cada elemento.
|
|
3505
|
+
* @param {InterpretadorInterface} interpretador A instância do interpretador.
|
|
3506
|
+
* @param {VariavelInterface | any} vetor Uma variável de Delégua ou um vetor nativo de JavaScript.
|
|
3507
|
+
* @param {VariavelInterface | any} funcaoPesquisa A função que ensina o método de pesquisa.
|
|
3508
|
+
* @returns {Promise<number>} O número correspondente ao índice se o elemento for encontrado, ou nulo em caso contrário.
|
|
3509
|
+
*/
|
|
3510
|
+
async function encontrarIndice(interpretador, vetor, funcaoPesquisa) {
|
|
3511
|
+
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
3512
|
+
const valorFuncaoPesquisa = funcaoPesquisa.hasOwnProperty('valor') ? funcaoPesquisa.valor : funcaoPesquisa;
|
|
3513
|
+
if (!Array.isArray(valorVetor)) {
|
|
3514
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função deve ser um vetor.'));
|
|
3515
|
+
}
|
|
3516
|
+
if (valorFuncaoPesquisa.constructor.name !== 'DeleguaFuncao') {
|
|
3517
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O segundo parâmetro da função deve ser uma função.'));
|
|
3518
|
+
}
|
|
3519
|
+
for (let indice = 0; indice < valorVetor.length; ++indice) {
|
|
3520
|
+
if (await valorFuncaoPesquisa.chamar(interpretador, [valorVetor[indice]])) {
|
|
3521
|
+
return indice;
|
|
3604
3522
|
}
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3523
|
+
}
|
|
3524
|
+
return -1;
|
|
3525
|
+
}
|
|
3526
|
+
exports.encontrarIndice = encontrarIndice;
|
|
3527
|
+
/**
|
|
3528
|
+
* Encontrar o último elemento de um vetor cuja função de pesquisa retorne
|
|
3529
|
+
* verdadeiro na avaliação de cada elemento.
|
|
3530
|
+
* @param {InterpretadorInterface} interpretador A instância do interpretador.
|
|
3531
|
+
* @param {VariavelInterface | any} vetor Uma variável de Delégua ou um vetor nativo de JavaScript.
|
|
3532
|
+
* @param {VariavelInterface | any} funcaoPesquisa A função que ensina o método de pesquisa.
|
|
3533
|
+
* @returns {Promise<number>} O número correspondente ao índice se o elemento for encontrado, ou nulo em caso contrário.
|
|
3534
|
+
*/
|
|
3535
|
+
async function encontrarUltimo(interpretador, vetor, funcaoPesquisa) {
|
|
3536
|
+
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
3537
|
+
const valorFuncaoPesquisa = funcaoPesquisa.hasOwnProperty('valor') ? funcaoPesquisa.valor : funcaoPesquisa;
|
|
3538
|
+
if (!Array.isArray(valorVetor)) {
|
|
3539
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função deve ser um vetor.'));
|
|
3540
|
+
}
|
|
3541
|
+
if (valorFuncaoPesquisa.constructor.name !== 'DeleguaFuncao') {
|
|
3542
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O segundo parâmetro da função deve ser uma função.'));
|
|
3543
|
+
}
|
|
3544
|
+
for (let indice = valorVetor.length - 1; indice >= 0; --indice) {
|
|
3545
|
+
if (await valorFuncaoPesquisa.chamar(interpretador, [valorVetor[indice]])) {
|
|
3546
|
+
return valorVetor[indice];
|
|
3616
3547
|
}
|
|
3617
|
-
|
|
3618
|
-
|
|
3548
|
+
}
|
|
3549
|
+
return null;
|
|
3550
|
+
}
|
|
3551
|
+
exports.encontrarUltimo = encontrarUltimo;
|
|
3552
|
+
/**
|
|
3553
|
+
*
|
|
3554
|
+
* @param {InterpretadorInterface} interpretador A instância do interpretador.
|
|
3555
|
+
* @param {VariavelInterface | any} vetor Uma variável de Delégua ou um vetor nativo de JavaScript.
|
|
3556
|
+
* @param {VariavelInterface | any} funcaoPesquisa A função que ensina o método de pesquisa.
|
|
3557
|
+
* @returns {Promise<number>} O número correspondente ao índice se o elemento for encontrado, ou nulo em caso contrário.
|
|
3558
|
+
*/
|
|
3559
|
+
async function encontrarUltimoIndice(interpretador, vetor, funcaoPesquisa) {
|
|
3560
|
+
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
3561
|
+
const valorFuncaoPesquisa = funcaoPesquisa.hasOwnProperty('valor') ? funcaoPesquisa.valor : funcaoPesquisa;
|
|
3562
|
+
if (!Array.isArray(valorVetor)) {
|
|
3563
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função deve ser um vetor.'));
|
|
3564
|
+
}
|
|
3565
|
+
if (valorFuncaoPesquisa.constructor.name !== 'DeleguaFuncao') {
|
|
3566
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O segundo parâmetro da função deve ser uma função.'));
|
|
3567
|
+
}
|
|
3568
|
+
for (let indice = valorVetor.length - 1; indice >= 0; --indice) {
|
|
3569
|
+
if (await valorFuncaoPesquisa.chamar(interpretador, [valorVetor[indice]])) {
|
|
3570
|
+
return indice;
|
|
3619
3571
|
}
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3572
|
+
}
|
|
3573
|
+
return null;
|
|
3574
|
+
}
|
|
3575
|
+
exports.encontrarUltimoIndice = encontrarUltimoIndice;
|
|
3576
|
+
/**
|
|
3577
|
+
*
|
|
3578
|
+
* @param interpretador
|
|
3579
|
+
* @param vetor
|
|
3580
|
+
* @param funcaoFiltragem
|
|
3581
|
+
* @returns
|
|
3582
|
+
*/
|
|
3583
|
+
async function filtrarPor(interpretador, vetor, funcaoFiltragem) {
|
|
3584
|
+
if (vetor === null || vetor === undefined)
|
|
3585
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função filtrarPor() não pode ser nulo.'));
|
|
3586
|
+
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
3587
|
+
const valorFuncaoFiltragem = funcaoFiltragem.hasOwnProperty('valor')
|
|
3588
|
+
? funcaoFiltragem.valor
|
|
3589
|
+
: funcaoFiltragem;
|
|
3590
|
+
if (!Array.isArray(valorVetor)) {
|
|
3591
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função filtrarPor() deve ser um vetor.'));
|
|
3592
|
+
}
|
|
3593
|
+
if (valorFuncaoFiltragem.constructor.name !== 'DeleguaFuncao') {
|
|
3594
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O segundo parâmetro da função filtrarPor() deve ser uma função.'));
|
|
3595
|
+
}
|
|
3596
|
+
const resultados = [];
|
|
3597
|
+
for (let indice = 0; indice < valorVetor.length; ++indice) {
|
|
3598
|
+
const deveRetornarValor = await valorFuncaoFiltragem.chamar(interpretador, [valorVetor[indice]]);
|
|
3599
|
+
if (deveRetornarValor === false)
|
|
3600
|
+
continue;
|
|
3601
|
+
resultados.push(valorVetor[indice]);
|
|
3602
|
+
}
|
|
3603
|
+
return resultados;
|
|
3604
|
+
}
|
|
3605
|
+
exports.filtrarPor = filtrarPor;
|
|
3606
|
+
/**
|
|
3607
|
+
*
|
|
3608
|
+
* @param {InterpretadorInterface} interpretador A instância do interpretador.
|
|
3609
|
+
* @param {VariavelInterface | any} vetor Uma variável de Delégua ou um vetor nativo de JavaScript.
|
|
3610
|
+
* @param valor
|
|
3611
|
+
* @returns
|
|
3612
|
+
*/
|
|
3613
|
+
async function incluido(interpretador, vetor, valor) {
|
|
3614
|
+
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
3615
|
+
const valorValor = valor.hasOwnProperty('valor') ? valor.valor : valor;
|
|
3616
|
+
if (!Array.isArray(valorVetor)) {
|
|
3617
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função deve ser um vetor.'));
|
|
3618
|
+
}
|
|
3619
|
+
for (let indice = 0; indice < valorVetor.length; ++indice) {
|
|
3620
|
+
if (valorVetor[indice] == valorValor) {
|
|
3621
|
+
return true;
|
|
3625
3622
|
}
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3623
|
+
}
|
|
3624
|
+
return false;
|
|
3625
|
+
}
|
|
3626
|
+
exports.incluido = incluido;
|
|
3627
|
+
/**
|
|
3628
|
+
*
|
|
3629
|
+
* @param {InterpretadorInterface} interpretador A instância do interpretador.
|
|
3630
|
+
* @param numero
|
|
3631
|
+
* @returns
|
|
3632
|
+
*/
|
|
3633
|
+
async function inteiro(interpretador, numero) {
|
|
3634
|
+
if (numero === null || numero === undefined)
|
|
3635
|
+
return Promise.resolve(0);
|
|
3636
|
+
const valor = numero.hasOwnProperty('valor') ? numero.valor : numero;
|
|
3637
|
+
if (isNaN(valor)) {
|
|
3638
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Valor não parece ser um número. Somente números ou textos com números podem ser convertidos para inteiro.'));
|
|
3639
|
+
}
|
|
3640
|
+
if (!/^(-)?\d+(\.\d+)?$/.test(valor)) {
|
|
3641
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Valor não parece estar estruturado como um número (texto vazio, falso ou não definido). Somente números ou textos com números podem ser convertidos para inteiro.'));
|
|
3642
|
+
}
|
|
3643
|
+
return Promise.resolve(parseInt(valor));
|
|
3644
|
+
}
|
|
3645
|
+
exports.inteiro = inteiro;
|
|
3646
|
+
/**
|
|
3647
|
+
*
|
|
3648
|
+
* @param interpretador
|
|
3649
|
+
* @param vetor
|
|
3650
|
+
* @param funcaoMapeamento
|
|
3651
|
+
* @returns
|
|
3652
|
+
*/
|
|
3653
|
+
async function mapear(interpretador, vetor, funcaoMapeamento) {
|
|
3654
|
+
if (vetor === null || vetor === undefined)
|
|
3655
|
+
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.'));
|
|
3656
|
+
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
3657
|
+
const valorFuncaoMapeamento = funcaoMapeamento.hasOwnProperty('valor')
|
|
3658
|
+
? funcaoMapeamento.valor
|
|
3659
|
+
: funcaoMapeamento;
|
|
3660
|
+
if (!Array.isArray(valorVetor)) {
|
|
3661
|
+
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.'));
|
|
3662
|
+
}
|
|
3663
|
+
if (valorFuncaoMapeamento.constructor.name !== 'DeleguaFuncao') {
|
|
3664
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O segundo parâmetro da função mapear() deve ser uma função.'));
|
|
3665
|
+
}
|
|
3666
|
+
const resultados = [];
|
|
3667
|
+
for (let indice = 0; indice < valorVetor.length; ++indice) {
|
|
3668
|
+
resultados.push(await valorFuncaoMapeamento.chamar(interpretador, [valorVetor[indice]]));
|
|
3669
|
+
}
|
|
3670
|
+
return resultados;
|
|
3671
|
+
}
|
|
3672
|
+
exports.mapear = mapear;
|
|
3673
|
+
/**
|
|
3674
|
+
*
|
|
3675
|
+
* @param vetor
|
|
3676
|
+
* @returns
|
|
3677
|
+
*/
|
|
3678
|
+
async function ordenar(interpretador, vetor) {
|
|
3679
|
+
if (vetor === null || vetor === undefined)
|
|
3680
|
+
throw new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função ordenar() não pode ser nulo.');
|
|
3681
|
+
const objeto = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
3682
|
+
if (!Array.isArray(objeto)) {
|
|
3683
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Valor inválido. Objeto inserido não é um vetor.'));
|
|
3684
|
+
}
|
|
3685
|
+
let trocado;
|
|
3686
|
+
const tamanho = objeto.length;
|
|
3687
|
+
do {
|
|
3688
|
+
trocado = false;
|
|
3689
|
+
for (let i = 0; i < tamanho - 1; i++) {
|
|
3690
|
+
if (objeto[i] > objeto[i + 1]) {
|
|
3691
|
+
[objeto[i], objeto[i + 1]] = [objeto[i + 1], objeto[i]];
|
|
3692
|
+
trocado = true;
|
|
3693
|
+
}
|
|
3694
|
+
}
|
|
3695
|
+
} while (trocado);
|
|
3696
|
+
return Promise.resolve(objeto);
|
|
3697
|
+
}
|
|
3698
|
+
exports.ordenar = ordenar;
|
|
3699
|
+
/**
|
|
3700
|
+
*
|
|
3701
|
+
* @param interpretador
|
|
3702
|
+
* @param vetor
|
|
3703
|
+
* @param funcaoFiltragem
|
|
3704
|
+
* @returns
|
|
3705
|
+
*/
|
|
3706
|
+
async function paraCada(interpretador, vetor, funcaoFiltragem) {
|
|
3707
|
+
if (vetor === null || vetor === undefined)
|
|
3708
|
+
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.'));
|
|
3709
|
+
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
3710
|
+
const valorFuncaoFiltragem = funcaoFiltragem.hasOwnProperty('valor')
|
|
3711
|
+
? funcaoFiltragem.valor
|
|
3712
|
+
: funcaoFiltragem;
|
|
3713
|
+
if (!Array.isArray(valorVetor)) {
|
|
3714
|
+
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.'));
|
|
3715
|
+
}
|
|
3716
|
+
if (valorFuncaoFiltragem.constructor.name !== 'DeleguaFuncao') {
|
|
3717
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O segundo parâmetro da função paraCada() deve ser uma função.'));
|
|
3718
|
+
}
|
|
3719
|
+
for (let indice = 0; indice < valorVetor.length; ++indice) {
|
|
3720
|
+
await valorFuncaoFiltragem.chamar(interpretador, [valorVetor[indice]]);
|
|
3721
|
+
}
|
|
3722
|
+
}
|
|
3723
|
+
exports.paraCada = paraCada;
|
|
3724
|
+
/**
|
|
3725
|
+
*
|
|
3726
|
+
* @param interpretador
|
|
3727
|
+
* @param vetor
|
|
3728
|
+
* @param funcaoFiltragem
|
|
3729
|
+
* @returns
|
|
3730
|
+
*/
|
|
3731
|
+
async function primeiroEmCondicao(interpretador, vetor, funcaoFiltragem) {
|
|
3732
|
+
if (vetor === null || vetor === undefined)
|
|
3733
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função primeiroEmCondicao() não pode ser nulo.'));
|
|
3734
|
+
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
3735
|
+
const valorFuncaoFiltragem = funcaoFiltragem.hasOwnProperty('valor')
|
|
3736
|
+
? funcaoFiltragem.valor
|
|
3737
|
+
: funcaoFiltragem;
|
|
3738
|
+
if (!Array.isArray(valorVetor)) {
|
|
3739
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função primeiroEmCondicao() deve ser um vetor.'));
|
|
3740
|
+
}
|
|
3741
|
+
if (valorFuncaoFiltragem.constructor.name !== 'DeleguaFuncao') {
|
|
3742
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O segundo parâmetro da função primeiroEmCondicao() deve ser uma função.'));
|
|
3743
|
+
}
|
|
3744
|
+
for (let indice = 0; indice < valorVetor.length; ++indice) {
|
|
3745
|
+
const valorResolvido = await valorFuncaoFiltragem.chamar(interpretador, [valorVetor[indice]]);
|
|
3746
|
+
if (valorResolvido !== null) {
|
|
3747
|
+
return valorResolvido;
|
|
3748
|
+
}
|
|
3749
|
+
}
|
|
3750
|
+
return undefined;
|
|
3751
|
+
}
|
|
3752
|
+
exports.primeiroEmCondicao = primeiroEmCondicao;
|
|
3753
|
+
/**
|
|
3754
|
+
*
|
|
3755
|
+
* @param interpretador
|
|
3756
|
+
* @param numero
|
|
3757
|
+
* @returns
|
|
3758
|
+
*/
|
|
3759
|
+
async function real(interpretador, numero) {
|
|
3760
|
+
if (numero === null || numero === undefined)
|
|
3761
|
+
return Promise.resolve(parseFloat('0'));
|
|
3762
|
+
const valor = numero.hasOwnProperty('valor') ? numero.valor : numero;
|
|
3763
|
+
if (!/^(-)?\d+(\.\d+)?$/.test(valor)) {
|
|
3764
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Valor não parece estar estruturado como um número (texto/valor vazio, falso ou não definido). Somente números ou textos com números podem ser convertidos para real.'));
|
|
3765
|
+
}
|
|
3766
|
+
return Promise.resolve(parseFloat(valor));
|
|
3767
|
+
}
|
|
3768
|
+
exports.real = real;
|
|
3769
|
+
/**
|
|
3770
|
+
*
|
|
3771
|
+
* @param interpretador
|
|
3772
|
+
* @param vetor
|
|
3773
|
+
* @param funcaoReducao
|
|
3774
|
+
* @param padrao
|
|
3775
|
+
* @returns
|
|
3776
|
+
*/
|
|
3777
|
+
async function reduzir(interpretador, vetor, funcaoReducao, padrao = null) {
|
|
3778
|
+
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
3779
|
+
const valorFuncaoReducao = funcaoReducao.hasOwnProperty('valor') ? funcaoReducao.valor : funcaoReducao;
|
|
3780
|
+
const valorPadrao = padrao.hasOwnProperty('valor') ? padrao.valor : padrao;
|
|
3781
|
+
if (!Array.isArray(valorVetor)) {
|
|
3782
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função deve ser um vetor.'));
|
|
3783
|
+
}
|
|
3784
|
+
if (valorFuncaoReducao.constructor.name !== 'DeleguaFuncao') {
|
|
3785
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O segundo parâmetro da função deve ser uma função.'));
|
|
3786
|
+
}
|
|
3787
|
+
let resultado = valorPadrao;
|
|
3788
|
+
let inicio = 0;
|
|
3789
|
+
if (!resultado) {
|
|
3790
|
+
resultado = vetor[0];
|
|
3791
|
+
inicio = 1;
|
|
3792
|
+
}
|
|
3793
|
+
for (let index = inicio; index < vetor.length; ++index) {
|
|
3794
|
+
resultado = await valorFuncaoReducao.chamar(interpretador, [resultado, vetor[index]]);
|
|
3795
|
+
}
|
|
3796
|
+
return resultado;
|
|
3797
|
+
}
|
|
3798
|
+
exports.reduzir = reduzir;
|
|
3799
|
+
/**
|
|
3800
|
+
*
|
|
3801
|
+
* @param objeto
|
|
3802
|
+
* @returns
|
|
3803
|
+
*/
|
|
3804
|
+
async function tamanho(interpretador, objeto) {
|
|
3805
|
+
const valorObjeto = objeto.hasOwnProperty('valor') ? objeto.valor : objeto;
|
|
3806
|
+
if (typeof valorObjeto === 'number') {
|
|
3807
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Função global tamanho() não funciona com números.'));
|
|
3808
|
+
}
|
|
3809
|
+
if (valorObjeto instanceof objeto_delegua_classe_1.ObjetoDeleguaClasse) {
|
|
3810
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Função global tamanho não funciona com objetos complexos.'));
|
|
3811
|
+
}
|
|
3812
|
+
if (valorObjeto instanceof estruturas_1.DeleguaFuncao) {
|
|
3813
|
+
return Promise.resolve(valorObjeto.declaracao.parametros.length);
|
|
3814
|
+
}
|
|
3815
|
+
if (valorObjeto instanceof funcao_padrao_1.FuncaoPadrao) {
|
|
3816
|
+
return Promise.resolve(valorObjeto.valorAridade);
|
|
3817
|
+
}
|
|
3818
|
+
if (valorObjeto instanceof delegua_classe_1.DeleguaClasse) {
|
|
3819
|
+
const metodos = valorObjeto.metodos;
|
|
3820
|
+
let tamanho = 0;
|
|
3821
|
+
if (metodos.inicializacao && metodos.inicializacao.eInicializador) {
|
|
3822
|
+
tamanho = metodos.inicializacao.declaracao.parametros.length;
|
|
3692
3823
|
}
|
|
3693
|
-
return
|
|
3694
|
-
}
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
return Promise.
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3824
|
+
return Promise.resolve(tamanho);
|
|
3825
|
+
}
|
|
3826
|
+
return Promise.resolve(valorObjeto.length);
|
|
3827
|
+
}
|
|
3828
|
+
exports.tamanho = tamanho;
|
|
3829
|
+
/**
|
|
3830
|
+
*
|
|
3831
|
+
* @param interpretador
|
|
3832
|
+
* @param valorOuVariavel
|
|
3833
|
+
* @returns
|
|
3834
|
+
*/
|
|
3835
|
+
async function texto(interpretador, valorOuVariavel) {
|
|
3836
|
+
return Promise.resolve(`${valorOuVariavel.hasOwnProperty('valor') ? valorOuVariavel.valor : valorOuVariavel}`);
|
|
3837
|
+
}
|
|
3838
|
+
exports.texto = texto;
|
|
3839
|
+
/**
|
|
3840
|
+
*
|
|
3841
|
+
* @param interpretador
|
|
3842
|
+
* @param vetor
|
|
3843
|
+
* @param funcaoCondicional
|
|
3844
|
+
* @returns
|
|
3845
|
+
*/
|
|
3846
|
+
async function todosEmCondicao(interpretador, vetor, funcaoCondicional) {
|
|
3847
|
+
if (vetor === null || vetor === undefined)
|
|
3848
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função todosEmCondicao() não pode ser nulo.'));
|
|
3849
|
+
const valorVetor = vetor.hasOwnProperty('valor') ? vetor.valor : vetor;
|
|
3850
|
+
const valorFuncaoCondicional = funcaoCondicional.hasOwnProperty('valor')
|
|
3851
|
+
? funcaoCondicional.valor
|
|
3852
|
+
: funcaoCondicional;
|
|
3853
|
+
if (!Array.isArray(valorVetor)) {
|
|
3854
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O primeiro parâmetro da função todosEmCondicao() deve ser um vetor.'));
|
|
3855
|
+
}
|
|
3856
|
+
if (valorFuncaoCondicional.constructor.name !== 'DeleguaFuncao') {
|
|
3857
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Parâmetro inválido. O segundo parâmetro da função todosEmCondicao() deve ser uma função.'));
|
|
3858
|
+
}
|
|
3859
|
+
for (let indice = 0; indice < valorVetor.length; ++indice) {
|
|
3860
|
+
if (!(await valorFuncaoCondicional.chamar(interpretador, [valorVetor[indice]])))
|
|
3861
|
+
return false;
|
|
3862
|
+
}
|
|
3863
|
+
return true;
|
|
3864
|
+
}
|
|
3865
|
+
exports.todosEmCondicao = todosEmCondicao;
|
|
3866
|
+
/**
|
|
3867
|
+
* Transforma um vetor de elementos em uma tupla de N elementos, sendo N a
|
|
3868
|
+
* largura do vetor.
|
|
3869
|
+
* @param interpretador
|
|
3870
|
+
* @param vetor
|
|
3871
|
+
* @returns
|
|
3872
|
+
*/
|
|
3873
|
+
async function tupla(interpretador, vetor) {
|
|
3874
|
+
const valorVetor = !Array.isArray(vetor) && vetor.hasOwnProperty('valor') ?
|
|
3875
|
+
vetor.valor :
|
|
3876
|
+
vetor;
|
|
3877
|
+
if (!Array.isArray(valorVetor)) {
|
|
3878
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Argumento de função nativa `tupla` não parece ser um vetor.'));
|
|
3879
|
+
}
|
|
3880
|
+
switch (valorVetor.length) {
|
|
3881
|
+
case 2:
|
|
3882
|
+
return Promise.resolve(new construtos_1.Dupla(valorVetor[0], valorVetor[1]));
|
|
3883
|
+
case 3:
|
|
3884
|
+
return Promise.resolve(new construtos_1.Trio(valorVetor[0], valorVetor[1], valorVetor[2]));
|
|
3885
|
+
case 4:
|
|
3886
|
+
return Promise.resolve(new construtos_1.Quarteto(valorVetor[0], valorVetor[1], valorVetor[2], valorVetor[3]));
|
|
3887
|
+
case 5:
|
|
3888
|
+
return Promise.resolve(new construtos_1.Quinteto(valorVetor[0], valorVetor[1], valorVetor[2], valorVetor[3], valorVetor[4]));
|
|
3889
|
+
case 6:
|
|
3890
|
+
return Promise.resolve(new construtos_1.Sexteto(valorVetor[0], valorVetor[1], valorVetor[2], valorVetor[3], valorVetor[4], valorVetor[5]));
|
|
3891
|
+
case 7:
|
|
3892
|
+
return Promise.resolve(new construtos_1.Septeto(valorVetor[0], valorVetor[1], valorVetor[2], valorVetor[3], valorVetor[4], valorVetor[5], valorVetor[6]));
|
|
3893
|
+
case 8:
|
|
3894
|
+
return Promise.resolve(new construtos_1.Octeto(valorVetor[0], valorVetor[1], valorVetor[2], valorVetor[3], valorVetor[4], valorVetor[5], valorVetor[6], valorVetor[7]));
|
|
3895
|
+
case 9:
|
|
3896
|
+
return Promise.resolve(new construtos_1.Noneto(valorVetor[0], valorVetor[1], valorVetor[2], valorVetor[3], valorVetor[4], valorVetor[5], valorVetor[6], valorVetor[7], valorVetor[8]));
|
|
3897
|
+
case 10:
|
|
3898
|
+
return Promise.resolve(new construtos_1.Deceto(valorVetor[0], valorVetor[1], valorVetor[2], valorVetor[3], valorVetor[4], valorVetor[5], valorVetor[6], valorVetor[7], valorVetor[8], valorVetor[9]));
|
|
3899
|
+
case 1:
|
|
3900
|
+
default:
|
|
3901
|
+
return Promise.reject(new excecoes_1.ErroEmTempoDeExecucao(this.simbolo, 'Para ser transformado em uma tupla, vetor precisa ter de 2 a 10 elementos.'));
|
|
3902
|
+
}
|
|
3723
3903
|
}
|
|
3724
|
-
exports.
|
|
3904
|
+
exports.tupla = tupla;
|
|
3725
3905
|
|
|
3726
|
-
},{"../estruturas":101,"../estruturas/delegua-classe":98,"../estruturas/funcao-padrao":100,"../estruturas/objeto-delegua-classe":104,"../excecoes":107}],16:[function(require,module,exports){
|
|
3906
|
+
},{"../construtos":40,"../estruturas":101,"../estruturas/delegua-classe":98,"../estruturas/funcao-padrao":100,"../estruturas/objeto-delegua-classe":104,"../excecoes":107}],16:[function(require,module,exports){
|
|
3727
3907
|
"use strict";
|
|
3728
3908
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3729
3909
|
exports.default = {
|
|
@@ -5699,7 +5879,7 @@ class DeleguaFuncao extends chamavel_1.Chamavel {
|
|
|
5699
5879
|
}
|
|
5700
5880
|
exports.DeleguaFuncao = DeleguaFuncao;
|
|
5701
5881
|
|
|
5702
|
-
},{"../declaracoes":78,"../espaco-variaveis":95,"../interpretador/inferenciador":
|
|
5882
|
+
},{"../declaracoes":78,"../espaco-variaveis":95,"../interpretador/inferenciador":134,"../quebras":153,"./chamavel":96}],100:[function(require,module,exports){
|
|
5703
5883
|
"use strict";
|
|
5704
5884
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5705
5885
|
exports.FuncaoPadrao = void 0;
|
|
@@ -5715,11 +5895,8 @@ class FuncaoPadrao extends chamavel_1.Chamavel {
|
|
|
5715
5895
|
this.funcao = funcao;
|
|
5716
5896
|
}
|
|
5717
5897
|
async chamar(visitante, argumentos, simbolo) {
|
|
5718
|
-
return this.chamarInterno(argumentos, simbolo);
|
|
5719
|
-
}
|
|
5720
|
-
async chamarInterno(argumentos, simbolo) {
|
|
5721
5898
|
this.simbolo = simbolo;
|
|
5722
|
-
return await this.funcao.apply(this, argumentos);
|
|
5899
|
+
return await this.funcao.apply(this, [visitante, ...argumentos]);
|
|
5723
5900
|
}
|
|
5724
5901
|
/**
|
|
5725
5902
|
* Método utilizado por Delégua para inspecionar esta função em depuração.
|
|
@@ -6634,7 +6811,7 @@ class FormatadorDelegua {
|
|
|
6634
6811
|
}
|
|
6635
6812
|
exports.FormatadorDelegua = FormatadorDelegua;
|
|
6636
6813
|
|
|
6637
|
-
},{"../construtos":40,"../tipos-de-simbolos/delegua":
|
|
6814
|
+
},{"../construtos":40,"../tipos-de-simbolos/delegua":157}],109:[function(require,module,exports){
|
|
6638
6815
|
"use strict";
|
|
6639
6816
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6640
6817
|
if (k2 === undefined) k2 = k;
|
|
@@ -6707,7 +6884,7 @@ __exportStar(require("./interpretador"), exports);
|
|
|
6707
6884
|
__exportStar(require("./lexador"), exports);
|
|
6708
6885
|
__exportStar(require("./tradutores"), exports);
|
|
6709
6886
|
|
|
6710
|
-
},{"./avaliador-sintatico":8,"./construtos":40,"./declaracoes":78,"./depuracao":93,"./formatadores":109,"./interfaces":116,"./interpretador":
|
|
6887
|
+
},{"./avaliador-sintatico":8,"./construtos":40,"./declaracoes":78,"./depuracao":93,"./formatadores":109,"./interfaces":116,"./interpretador":133,"./lexador":146,"./tradutores":163}],112:[function(require,module,exports){
|
|
6711
6888
|
"use strict";
|
|
6712
6889
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6713
6890
|
|
|
@@ -6870,6 +7047,60 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
6870
7047
|
if (k2 === undefined) k2 = k;
|
|
6871
7048
|
o[k2] = m[k];
|
|
6872
7049
|
}));
|
|
7050
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
7051
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
7052
|
+
}) : function(o, v) {
|
|
7053
|
+
o["default"] = v;
|
|
7054
|
+
});
|
|
7055
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
7056
|
+
if (mod && mod.__esModule) return mod;
|
|
7057
|
+
var result = {};
|
|
7058
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
7059
|
+
__setModuleDefault(result, mod);
|
|
7060
|
+
return result;
|
|
7061
|
+
};
|
|
7062
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7063
|
+
exports.carregarBibliotecasGlobais = void 0;
|
|
7064
|
+
const funcao_padrao_1 = require("../estruturas/funcao-padrao");
|
|
7065
|
+
const bibliotecaGlobal = __importStar(require("../bibliotecas/biblioteca-global"));
|
|
7066
|
+
function carregarBibliotecasGlobais(pilhaEscoposExecucao) {
|
|
7067
|
+
pilhaEscoposExecucao.definirVariavel('aleatorio', new funcao_padrao_1.FuncaoPadrao(1, bibliotecaGlobal.aleatorio));
|
|
7068
|
+
pilhaEscoposExecucao.definirVariavel('aleatorioEntre', new funcao_padrao_1.FuncaoPadrao(2, bibliotecaGlobal.aleatorioEntre));
|
|
7069
|
+
pilhaEscoposExecucao.definirVariavel('algum', new funcao_padrao_1.FuncaoPadrao(2, bibliotecaGlobal.algum));
|
|
7070
|
+
pilhaEscoposExecucao.definirVariavel('encontrar', new funcao_padrao_1.FuncaoPadrao(2, bibliotecaGlobal.encontrar));
|
|
7071
|
+
pilhaEscoposExecucao.definirVariavel('encontrarIndice', new funcao_padrao_1.FuncaoPadrao(2, bibliotecaGlobal.encontrarIndice));
|
|
7072
|
+
pilhaEscoposExecucao.definirVariavel('encontrarUltimo', new funcao_padrao_1.FuncaoPadrao(2, bibliotecaGlobal.encontrarUltimo));
|
|
7073
|
+
pilhaEscoposExecucao.definirVariavel('encontrarUltimoIndice', new funcao_padrao_1.FuncaoPadrao(2, bibliotecaGlobal.encontrarUltimoIndice));
|
|
7074
|
+
pilhaEscoposExecucao.definirVariavel('filtrarPor', new funcao_padrao_1.FuncaoPadrao(2, bibliotecaGlobal.filtrarPor));
|
|
7075
|
+
pilhaEscoposExecucao.definirVariavel('incluido', new funcao_padrao_1.FuncaoPadrao(2, bibliotecaGlobal.incluido));
|
|
7076
|
+
pilhaEscoposExecucao.definirVariavel('inteiro', new funcao_padrao_1.FuncaoPadrao(1, bibliotecaGlobal.inteiro));
|
|
7077
|
+
pilhaEscoposExecucao.definirVariavel('mapear', new funcao_padrao_1.FuncaoPadrao(2, bibliotecaGlobal.mapear));
|
|
7078
|
+
pilhaEscoposExecucao.definirVariavel('ordenar', new funcao_padrao_1.FuncaoPadrao(1, bibliotecaGlobal.ordenar));
|
|
7079
|
+
pilhaEscoposExecucao.definirVariavel('paraCada', new funcao_padrao_1.FuncaoPadrao(2, bibliotecaGlobal.paraCada));
|
|
7080
|
+
pilhaEscoposExecucao.definirVariavel('primeiroEmCondicao', new funcao_padrao_1.FuncaoPadrao(2, bibliotecaGlobal.primeiroEmCondicao));
|
|
7081
|
+
pilhaEscoposExecucao.definirVariavel('real', new funcao_padrao_1.FuncaoPadrao(1, bibliotecaGlobal.real));
|
|
7082
|
+
pilhaEscoposExecucao.definirVariavel('reduzir', new funcao_padrao_1.FuncaoPadrao(3, bibliotecaGlobal.reduzir));
|
|
7083
|
+
pilhaEscoposExecucao.definirVariavel('tamanho', new funcao_padrao_1.FuncaoPadrao(1, bibliotecaGlobal.tamanho));
|
|
7084
|
+
pilhaEscoposExecucao.definirVariavel('texto', new funcao_padrao_1.FuncaoPadrao(1, bibliotecaGlobal.texto));
|
|
7085
|
+
pilhaEscoposExecucao.definirVariavel('todos', new funcao_padrao_1.FuncaoPadrao(2, bibliotecaGlobal.todosEmCondicao));
|
|
7086
|
+
pilhaEscoposExecucao.definirVariavel('todosEmCondicao', new funcao_padrao_1.FuncaoPadrao(2, bibliotecaGlobal.todosEmCondicao));
|
|
7087
|
+
pilhaEscoposExecucao.definirVariavel('tupla', new funcao_padrao_1.FuncaoPadrao(1, bibliotecaGlobal.tupla));
|
|
7088
|
+
}
|
|
7089
|
+
exports.carregarBibliotecasGlobais = carregarBibliotecasGlobais;
|
|
7090
|
+
|
|
7091
|
+
},{"../bibliotecas/biblioteca-global":15,"../estruturas/funcao-padrao":100}],133:[function(require,module,exports){
|
|
7092
|
+
"use strict";
|
|
7093
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7094
|
+
if (k2 === undefined) k2 = k;
|
|
7095
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7096
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7097
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7098
|
+
}
|
|
7099
|
+
Object.defineProperty(o, k2, desc);
|
|
7100
|
+
}) : (function(o, m, k, k2) {
|
|
7101
|
+
if (k2 === undefined) k2 = k;
|
|
7102
|
+
o[k2] = m[k];
|
|
7103
|
+
}));
|
|
6873
7104
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
6874
7105
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
6875
7106
|
};
|
|
@@ -6878,7 +7109,7 @@ __exportStar(require("./inferenciador"), exports);
|
|
|
6878
7109
|
__exportStar(require("./interpretador-base"), exports);
|
|
6879
7110
|
__exportStar(require("./interpretador-com-depuracao"), exports);
|
|
6880
7111
|
|
|
6881
|
-
},{"./inferenciador":
|
|
7112
|
+
},{"./inferenciador":134,"./interpretador-base":135,"./interpretador-com-depuracao":136}],134:[function(require,module,exports){
|
|
6882
7113
|
"use strict";
|
|
6883
7114
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
6884
7115
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -6960,7 +7191,7 @@ function inferirTipoVariavel(variavel) {
|
|
|
6960
7191
|
}
|
|
6961
7192
|
exports.inferirTipoVariavel = inferirTipoVariavel;
|
|
6962
7193
|
|
|
6963
|
-
},{"../tipos-de-dados/delegua":
|
|
7194
|
+
},{"../tipos-de-dados/delegua":154,"../tipos-de-dados/primitivos":155,"../tipos-de-simbolos/delegua":157}],135:[function(require,module,exports){
|
|
6964
7195
|
(function (process){(function (){
|
|
6965
7196
|
"use strict";
|
|
6966
7197
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -6969,15 +7200,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
6969
7200
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6970
7201
|
exports.InterpretadorBase = void 0;
|
|
6971
7202
|
const browser_process_hrtime_1 = __importDefault(require("browser-process-hrtime"));
|
|
6972
|
-
const espaco_variaveis_1 = require("../espaco-variaveis");
|
|
6973
|
-
const biblioteca_global_1 = __importDefault(require("../bibliotecas/biblioteca-global"));
|
|
6974
|
-
const excecoes_1 = require("../excecoes");
|
|
6975
7203
|
const estruturas_1 = require("../estruturas");
|
|
6976
7204
|
const construtos_1 = require("../construtos");
|
|
6977
7205
|
const pilha_escopos_execucao_1 = require("./pilha-escopos-execucao");
|
|
6978
7206
|
const quebras_1 = require("../quebras");
|
|
6979
7207
|
const inferenciador_1 = require("./inferenciador");
|
|
6980
7208
|
const metodo_primitiva_1 = require("../estruturas/metodo-primitiva");
|
|
7209
|
+
const lexador_1 = require("../lexador");
|
|
7210
|
+
const avaliador_sintatico_1 = require("../avaliador-sintatico");
|
|
7211
|
+
const espaco_variaveis_1 = require("../espaco-variaveis");
|
|
7212
|
+
const comum_1 = require("./comum");
|
|
7213
|
+
const excecoes_1 = require("../excecoes");
|
|
6981
7214
|
const primitivas_dicionario_1 = __importDefault(require("../bibliotecas/primitivas-dicionario"));
|
|
6982
7215
|
const primitivas_numero_1 = __importDefault(require("../bibliotecas/primitivas-numero"));
|
|
6983
7216
|
const primitivas_texto_1 = __importDefault(require("../bibliotecas/primitivas-texto"));
|
|
@@ -6985,8 +7218,6 @@ const primitivas_vetor_1 = __importDefault(require("../bibliotecas/primitivas-ve
|
|
|
6985
7218
|
const delegua_1 = __importDefault(require("../tipos-de-simbolos/delegua"));
|
|
6986
7219
|
const primitivos_1 = __importDefault(require("../tipos-de-dados/primitivos"));
|
|
6987
7220
|
const delegua_2 = __importDefault(require("../tipos-de-dados/delegua"));
|
|
6988
|
-
const lexador_1 = require("../lexador");
|
|
6989
|
-
const avaliador_sintatico_1 = require("../avaliador-sintatico");
|
|
6990
7221
|
/**
|
|
6991
7222
|
* O Interpretador visita todos os elementos complexos gerados pelo avaliador sintático (_parser_),
|
|
6992
7223
|
* e de fato executa a lógica de programação descrita no código.
|
|
@@ -7034,7 +7265,7 @@ class InterpretadorBase {
|
|
|
7034
7265
|
emLacoRepeticao: false,
|
|
7035
7266
|
};
|
|
7036
7267
|
this.pilhaEscoposExecucao.empilhar(escopoExecucao);
|
|
7037
|
-
(0,
|
|
7268
|
+
(0, comum_1.carregarBibliotecasGlobais)(this.pilhaEscoposExecucao);
|
|
7038
7269
|
}
|
|
7039
7270
|
/**
|
|
7040
7271
|
* Construtos de comentários não têm utilidade para o Interpretador.
|
|
@@ -7505,7 +7736,7 @@ class InterpretadorBase {
|
|
|
7505
7736
|
} */
|
|
7506
7737
|
if (entidadeChamada instanceof estruturas_1.FuncaoPadrao) {
|
|
7507
7738
|
try {
|
|
7508
|
-
return entidadeChamada.chamar(
|
|
7739
|
+
return entidadeChamada.chamar(this, argumentos.map((a) => a && a.valor && a.valor.hasOwnProperty('valor') ? a.valor.valor : a === null || a === void 0 ? void 0 : a.valor), expressao.entidadeChamada.simbolo);
|
|
7509
7740
|
}
|
|
7510
7741
|
catch (erro) {
|
|
7511
7742
|
this.erros.push({
|
|
@@ -8351,7 +8582,7 @@ class InterpretadorBase {
|
|
|
8351
8582
|
exports.InterpretadorBase = InterpretadorBase;
|
|
8352
8583
|
|
|
8353
8584
|
}).call(this)}).call(this,require('_process'))
|
|
8354
|
-
},{"../avaliador-sintatico":8,"../bibliotecas/
|
|
8585
|
+
},{"../avaliador-sintatico":8,"../bibliotecas/primitivas-dicionario":16,"../bibliotecas/primitivas-numero":17,"../bibliotecas/primitivas-texto":18,"../bibliotecas/primitivas-vetor":19,"../construtos":40,"../espaco-variaveis":95,"../estruturas":101,"../estruturas/metodo-primitiva":102,"../excecoes":107,"../lexador":146,"../quebras":153,"../tipos-de-dados/delegua":154,"../tipos-de-dados/primitivos":155,"../tipos-de-simbolos/delegua":157,"./comum":132,"./inferenciador":134,"./pilha-escopos-execucao":137,"_process":371,"browser-process-hrtime":332}],136:[function(require,module,exports){
|
|
8355
8586
|
"use strict";
|
|
8356
8587
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8357
8588
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -8921,7 +9152,7 @@ class InterpretadorComDepuracao extends interpretador_base_1.InterpretadorBase {
|
|
|
8921
9152
|
}
|
|
8922
9153
|
exports.InterpretadorComDepuracao = InterpretadorComDepuracao;
|
|
8923
9154
|
|
|
8924
|
-
},{"../declaracoes":78,"../espaco-variaveis":95,"../quebras":
|
|
9155
|
+
},{"../declaracoes":78,"../espaco-variaveis":95,"../quebras":153,"./inferenciador":134,"./interpretador-base":135,"lodash":364}],137:[function(require,module,exports){
|
|
8925
9156
|
"use strict";
|
|
8926
9157
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8927
9158
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -8963,8 +9194,10 @@ class PilhaEscoposExecucao {
|
|
|
8963
9194
|
switch (tipo) {
|
|
8964
9195
|
case 'inteiro':
|
|
8965
9196
|
return parseInt(valor);
|
|
9197
|
+
case 'logico':
|
|
8966
9198
|
case 'lógico':
|
|
8967
9199
|
return Boolean(valor);
|
|
9200
|
+
case 'numero':
|
|
8968
9201
|
case 'número':
|
|
8969
9202
|
return Number(valor);
|
|
8970
9203
|
case 'texto':
|
|
@@ -9154,7 +9387,7 @@ class PilhaEscoposExecucao {
|
|
|
9154
9387
|
}
|
|
9155
9388
|
exports.PilhaEscoposExecucao = PilhaEscoposExecucao;
|
|
9156
9389
|
|
|
9157
|
-
},{"../estruturas":101,"../excecoes":107,"../lexador":
|
|
9390
|
+
},{"../estruturas":101,"../excecoes":107,"../lexador":146,"../tipos-de-dados/delegua":154,"./inferenciador":134}],138:[function(require,module,exports){
|
|
9158
9391
|
"use strict";
|
|
9159
9392
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
9160
9393
|
if (k2 === undefined) k2 = k;
|
|
@@ -9176,7 +9409,7 @@ __exportStar(require("./lexador-pitugues"), exports);
|
|
|
9176
9409
|
__exportStar(require("./lexador-guarani"), exports);
|
|
9177
9410
|
__exportStar(require("./lexador-portugol-ipt"), exports);
|
|
9178
9411
|
|
|
9179
|
-
},{"./lexador-egua-classico":
|
|
9412
|
+
},{"./lexador-egua-classico":139,"./lexador-guarani":140,"./lexador-pitugues":141,"./lexador-portugol-ipt":142}],139:[function(require,module,exports){
|
|
9180
9413
|
"use strict";
|
|
9181
9414
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9182
9415
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9464,7 +9697,7 @@ class LexadorEguaClassico {
|
|
|
9464
9697
|
}
|
|
9465
9698
|
exports.LexadorEguaClassico = LexadorEguaClassico;
|
|
9466
9699
|
|
|
9467
|
-
},{"../../tipos-de-simbolos/egua-classico":
|
|
9700
|
+
},{"../../tipos-de-simbolos/egua-classico":158,"../simbolo":152,"./palavras-reservadas/egua-classico":143}],140:[function(require,module,exports){
|
|
9468
9701
|
"use strict";
|
|
9469
9702
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9470
9703
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9579,7 +9812,7 @@ class LexadorGuarani extends lexador_base_1.LexadorBase {
|
|
|
9579
9812
|
}
|
|
9580
9813
|
exports.LexadorGuarani = LexadorGuarani;
|
|
9581
9814
|
|
|
9582
|
-
},{"../../tipos-de-simbolos/guarani":
|
|
9815
|
+
},{"../../tipos-de-simbolos/guarani":159,"../lexador-base":148,"./palavras-reservadas/guarani":144}],141:[function(require,module,exports){
|
|
9583
9816
|
"use strict";
|
|
9584
9817
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9585
9818
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -9979,7 +10212,7 @@ class LexadorPitugues {
|
|
|
9979
10212
|
}
|
|
9980
10213
|
exports.LexadorPitugues = LexadorPitugues;
|
|
9981
10214
|
|
|
9982
|
-
},{"../../tipos-de-simbolos/pitugues":
|
|
10215
|
+
},{"../../tipos-de-simbolos/pitugues":161,"../palavras-reservadas":151,"../simbolo":152,"browser-process-hrtime":332}],142:[function(require,module,exports){
|
|
9983
10216
|
"use strict";
|
|
9984
10217
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9985
10218
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10218,7 +10451,7 @@ class LexadorPortugolIpt {
|
|
|
10218
10451
|
}
|
|
10219
10452
|
exports.LexadorPortugolIpt = LexadorPortugolIpt;
|
|
10220
10453
|
|
|
10221
|
-
},{"../../tipos-de-simbolos/portugol-ipt":
|
|
10454
|
+
},{"../../tipos-de-simbolos/portugol-ipt":162,"../simbolo":152,"./palavras-reservadas/portugol-ipt":145}],143:[function(require,module,exports){
|
|
10222
10455
|
"use strict";
|
|
10223
10456
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10224
10457
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10259,7 +10492,7 @@ exports.palavrasReservadas = {
|
|
|
10259
10492
|
verdadeiro: egua_classico_1.default.VERDADEIRO,
|
|
10260
10493
|
};
|
|
10261
10494
|
|
|
10262
|
-
},{"../../../tipos-de-simbolos/egua-classico":
|
|
10495
|
+
},{"../../../tipos-de-simbolos/egua-classico":158}],144:[function(require,module,exports){
|
|
10263
10496
|
"use strict";
|
|
10264
10497
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10265
10498
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10271,7 +10504,7 @@ exports.palavrasReservadas = {
|
|
|
10271
10504
|
hai: guarani_1.default.HAI,
|
|
10272
10505
|
};
|
|
10273
10506
|
|
|
10274
|
-
},{"../../../tipos-de-simbolos/guarani":
|
|
10507
|
+
},{"../../../tipos-de-simbolos/guarani":159}],145:[function(require,module,exports){
|
|
10275
10508
|
"use strict";
|
|
10276
10509
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10277
10510
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10293,7 +10526,7 @@ exports.palavrasReservadas = {
|
|
|
10293
10526
|
senão: portugol_ipt_1.default.SENAO,
|
|
10294
10527
|
};
|
|
10295
10528
|
|
|
10296
|
-
},{"../../../tipos-de-simbolos/portugol-ipt":
|
|
10529
|
+
},{"../../../tipos-de-simbolos/portugol-ipt":162}],146:[function(require,module,exports){
|
|
10297
10530
|
"use strict";
|
|
10298
10531
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10299
10532
|
if (k2 === undefined) k2 = k;
|
|
@@ -10315,7 +10548,7 @@ __exportStar(require("./lexador-base-linha-unica"), exports);
|
|
|
10315
10548
|
__exportStar(require("./micro-lexador"), exports);
|
|
10316
10549
|
__exportStar(require("./simbolo"), exports);
|
|
10317
10550
|
|
|
10318
|
-
},{"./lexador":
|
|
10551
|
+
},{"./lexador":149,"./lexador-base-linha-unica":147,"./micro-lexador":150,"./simbolo":152}],147:[function(require,module,exports){
|
|
10319
10552
|
"use strict";
|
|
10320
10553
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10321
10554
|
exports.LexadorBaseLinhaUnica = void 0;
|
|
@@ -10399,7 +10632,7 @@ class LexadorBaseLinhaUnica {
|
|
|
10399
10632
|
}
|
|
10400
10633
|
exports.LexadorBaseLinhaUnica = LexadorBaseLinhaUnica;
|
|
10401
10634
|
|
|
10402
|
-
},{"./simbolo":
|
|
10635
|
+
},{"./simbolo":152}],148:[function(require,module,exports){
|
|
10403
10636
|
"use strict";
|
|
10404
10637
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10405
10638
|
exports.LexadorBase = void 0;
|
|
@@ -10513,7 +10746,7 @@ class LexadorBase {
|
|
|
10513
10746
|
}
|
|
10514
10747
|
exports.LexadorBase = LexadorBase;
|
|
10515
10748
|
|
|
10516
|
-
},{"./simbolo":
|
|
10749
|
+
},{"./simbolo":152}],149:[function(require,module,exports){
|
|
10517
10750
|
"use strict";
|
|
10518
10751
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10519
10752
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -10955,7 +11188,7 @@ class Lexador {
|
|
|
10955
11188
|
}
|
|
10956
11189
|
exports.Lexador = Lexador;
|
|
10957
11190
|
|
|
10958
|
-
},{"../tipos-de-simbolos/delegua":
|
|
11191
|
+
},{"../tipos-de-simbolos/delegua":157,"./palavras-reservadas":151,"./simbolo":152,"browser-process-hrtime":332}],150:[function(require,module,exports){
|
|
10959
11192
|
"use strict";
|
|
10960
11193
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
10961
11194
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11164,7 +11397,7 @@ class MicroLexador {
|
|
|
11164
11397
|
}
|
|
11165
11398
|
exports.MicroLexador = MicroLexador;
|
|
11166
11399
|
|
|
11167
|
-
},{"../tipos-de-simbolos/microgramaticas/delegua":
|
|
11400
|
+
},{"../tipos-de-simbolos/microgramaticas/delegua":160,"./palavras-reservadas":151,"./simbolo":152}],151:[function(require,module,exports){
|
|
11168
11401
|
"use strict";
|
|
11169
11402
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
11170
11403
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -11227,7 +11460,7 @@ exports.palavrasReservadasMicroGramatica = {
|
|
|
11227
11460
|
verdadeiro: delegua_1.default.VERDADEIRO,
|
|
11228
11461
|
};
|
|
11229
11462
|
|
|
11230
|
-
},{"../tipos-de-simbolos/delegua":
|
|
11463
|
+
},{"../tipos-de-simbolos/delegua":157}],152:[function(require,module,exports){
|
|
11231
11464
|
"use strict";
|
|
11232
11465
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11233
11466
|
exports.Simbolo = void 0;
|
|
@@ -11245,7 +11478,7 @@ class Simbolo {
|
|
|
11245
11478
|
}
|
|
11246
11479
|
exports.Simbolo = Simbolo;
|
|
11247
11480
|
|
|
11248
|
-
},{}],
|
|
11481
|
+
},{}],153:[function(require,module,exports){
|
|
11249
11482
|
"use strict";
|
|
11250
11483
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11251
11484
|
exports.ContinuarQuebra = exports.SustarQuebra = exports.RetornoQuebra = exports.Quebra = void 0;
|
|
@@ -11266,7 +11499,7 @@ class ContinuarQuebra extends Quebra {
|
|
|
11266
11499
|
}
|
|
11267
11500
|
exports.ContinuarQuebra = ContinuarQuebra;
|
|
11268
11501
|
|
|
11269
|
-
},{}],
|
|
11502
|
+
},{}],154:[function(require,module,exports){
|
|
11270
11503
|
"use strict";
|
|
11271
11504
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11272
11505
|
exports.default = {
|
|
@@ -11287,7 +11520,7 @@ exports.default = {
|
|
|
11287
11520
|
VETOR: 'vetor',
|
|
11288
11521
|
};
|
|
11289
11522
|
|
|
11290
|
-
},{}],
|
|
11523
|
+
},{}],155:[function(require,module,exports){
|
|
11291
11524
|
"use strict";
|
|
11292
11525
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11293
11526
|
exports.default = {
|
|
@@ -11306,7 +11539,7 @@ exports.default = {
|
|
|
11306
11539
|
TEXTO: 'string',
|
|
11307
11540
|
};
|
|
11308
11541
|
|
|
11309
|
-
},{}],
|
|
11542
|
+
},{}],156:[function(require,module,exports){
|
|
11310
11543
|
"use strict";
|
|
11311
11544
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11312
11545
|
exports.default = {
|
|
@@ -11332,7 +11565,7 @@ exports.default = {
|
|
|
11332
11565
|
VIRGULA: 'VIRGULA',
|
|
11333
11566
|
};
|
|
11334
11567
|
|
|
11335
|
-
},{}],
|
|
11568
|
+
},{}],157:[function(require,module,exports){
|
|
11336
11569
|
"use strict";
|
|
11337
11570
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11338
11571
|
exports.default = {
|
|
@@ -11426,7 +11659,7 @@ exports.default = {
|
|
|
11426
11659
|
VIRGULA: 'VIRGULA',
|
|
11427
11660
|
};
|
|
11428
11661
|
|
|
11429
|
-
},{}],
|
|
11662
|
+
},{}],158:[function(require,module,exports){
|
|
11430
11663
|
"use strict";
|
|
11431
11664
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11432
11665
|
exports.default = {
|
|
@@ -11504,7 +11737,7 @@ exports.default = {
|
|
|
11504
11737
|
VIRGULA: 'VIRGULA',
|
|
11505
11738
|
};
|
|
11506
11739
|
|
|
11507
|
-
},{}],
|
|
11740
|
+
},{}],159:[function(require,module,exports){
|
|
11508
11741
|
"use strict";
|
|
11509
11742
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11510
11743
|
exports.default = {
|
|
@@ -11521,7 +11754,7 @@ exports.default = {
|
|
|
11521
11754
|
VIRGULA: 'VIRGULA',
|
|
11522
11755
|
};
|
|
11523
11756
|
|
|
11524
|
-
},{}],
|
|
11757
|
+
},{}],160:[function(require,module,exports){
|
|
11525
11758
|
"use strict";
|
|
11526
11759
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11527
11760
|
exports.default = {
|
|
@@ -11570,7 +11803,7 @@ exports.default = {
|
|
|
11570
11803
|
VIRGULA: 'VIRGULA',
|
|
11571
11804
|
};
|
|
11572
11805
|
|
|
11573
|
-
},{}],
|
|
11806
|
+
},{}],161:[function(require,module,exports){
|
|
11574
11807
|
"use strict";
|
|
11575
11808
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11576
11809
|
exports.default = {
|
|
@@ -11648,7 +11881,7 @@ exports.default = {
|
|
|
11648
11881
|
VIRGULA: 'VIRGULA',
|
|
11649
11882
|
};
|
|
11650
11883
|
|
|
11651
|
-
},{}],
|
|
11884
|
+
},{}],162:[function(require,module,exports){
|
|
11652
11885
|
"use strict";
|
|
11653
11886
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11654
11887
|
exports.default = {
|
|
@@ -11687,7 +11920,7 @@ exports.default = {
|
|
|
11687
11920
|
VIRGULA: 'VIRGULA',
|
|
11688
11921
|
};
|
|
11689
11922
|
|
|
11690
|
-
},{}],
|
|
11923
|
+
},{}],163:[function(require,module,exports){
|
|
11691
11924
|
"use strict";
|
|
11692
11925
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
11693
11926
|
if (k2 === undefined) k2 = k;
|
|
@@ -11711,7 +11944,7 @@ __exportStar(require("./tradutor-python"), exports);
|
|
|
11711
11944
|
__exportStar(require("./tradutor-reverso-javascript"), exports);
|
|
11712
11945
|
__exportStar(require("./tradutor-reverso-python"), exports);
|
|
11713
11946
|
|
|
11714
|
-
},{"./tradutor-assemblyscript":
|
|
11947
|
+
},{"./tradutor-assemblyscript":166,"./tradutor-javascript":167,"./tradutor-portugol-ipt":168,"./tradutor-python":169,"./tradutor-reverso-javascript":170,"./tradutor-reverso-python":171}],164:[function(require,module,exports){
|
|
11715
11948
|
"use strict";
|
|
11716
11949
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
11717
11950
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -12940,7 +13173,7 @@ __decorate([
|
|
|
12940
13173
|
], Python3Lexer.prototype, "nextToken", null);
|
|
12941
13174
|
exports.Python3Lexer = Python3Lexer;
|
|
12942
13175
|
|
|
12943
|
-
},{"./python3-parser":
|
|
13176
|
+
},{"./python3-parser":165,"antlr4ts/CommonToken":181,"antlr4ts/Decorators":185,"antlr4ts/Lexer":193,"antlr4ts/Token":210,"antlr4ts/VocabularyImpl":216,"antlr4ts/atn/ATNDeserializer":222,"antlr4ts/atn/LexerATNSimulator":243,"antlr4ts/misc/Utils":304}],165:[function(require,module,exports){
|
|
12944
13177
|
"use strict";
|
|
12945
13178
|
// Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
12946
13179
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -24168,7 +24401,7 @@ class Yield_argContext extends ParserRuleContext_1.ParserRuleContext {
|
|
|
24168
24401
|
}
|
|
24169
24402
|
exports.Yield_argContext = Yield_argContext;
|
|
24170
24403
|
|
|
24171
|
-
},{"antlr4ts/FailedPredicateException":
|
|
24404
|
+
},{"antlr4ts/FailedPredicateException":189,"antlr4ts/NoViableAltException":197,"antlr4ts/Parser":198,"antlr4ts/ParserRuleContext":201,"antlr4ts/RecognitionException":204,"antlr4ts/Token":210,"antlr4ts/VocabularyImpl":216,"antlr4ts/atn/ATN":218,"antlr4ts/atn/ATNDeserializer":222,"antlr4ts/atn/ParserATNSimulator":259,"antlr4ts/misc/Utils":304}],166:[function(require,module,exports){
|
|
24172
24405
|
"use strict";
|
|
24173
24406
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
24174
24407
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -24760,7 +24993,7 @@ class TradutorAssemblyScript {
|
|
|
24760
24993
|
}
|
|
24761
24994
|
exports.TradutorAssemblyScript = TradutorAssemblyScript;
|
|
24762
24995
|
|
|
24763
|
-
},{"../construtos":40,"../declaracoes":78,"../tipos-de-simbolos/delegua":
|
|
24996
|
+
},{"../construtos":40,"../declaracoes":78,"../tipos-de-simbolos/delegua":157}],167:[function(require,module,exports){
|
|
24764
24997
|
"use strict";
|
|
24765
24998
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
24766
24999
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -25335,7 +25568,7 @@ class TradutorJavaScript {
|
|
|
25335
25568
|
}
|
|
25336
25569
|
exports.TradutorJavaScript = TradutorJavaScript;
|
|
25337
25570
|
|
|
25338
|
-
},{"../construtos":40,"../declaracoes":78,"../tipos-de-simbolos/delegua":
|
|
25571
|
+
},{"../construtos":40,"../declaracoes":78,"../tipos-de-simbolos/delegua":157}],168:[function(require,module,exports){
|
|
25339
25572
|
"use strict";
|
|
25340
25573
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25341
25574
|
exports.TradutorPortugolIpt = void 0;
|
|
@@ -25397,7 +25630,7 @@ class TradutorPortugolIpt {
|
|
|
25397
25630
|
}
|
|
25398
25631
|
exports.TradutorPortugolIpt = TradutorPortugolIpt;
|
|
25399
25632
|
|
|
25400
|
-
},{"../avaliador-sintatico/dialetos":6,"../lexador/dialetos":
|
|
25633
|
+
},{"../avaliador-sintatico/dialetos":6,"../lexador/dialetos":138}],169:[function(require,module,exports){
|
|
25401
25634
|
"use strict";
|
|
25402
25635
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25403
25636
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -25860,7 +26093,7 @@ class TradutorPython {
|
|
|
25860
26093
|
}
|
|
25861
26094
|
exports.TradutorPython = TradutorPython;
|
|
25862
26095
|
|
|
25863
|
-
},{"../construtos":40,"../declaracoes":78,"../tipos-de-simbolos/delegua":
|
|
26096
|
+
},{"../construtos":40,"../declaracoes":78,"../tipos-de-simbolos/delegua":157}],170:[function(require,module,exports){
|
|
25864
26097
|
"use strict";
|
|
25865
26098
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25866
26099
|
exports.TradutorReversoJavaScript = void 0;
|
|
@@ -26254,7 +26487,7 @@ class TradutorReversoJavaScript {
|
|
|
26254
26487
|
}
|
|
26255
26488
|
exports.TradutorReversoJavaScript = TradutorReversoJavaScript;
|
|
26256
26489
|
|
|
26257
|
-
},{}],
|
|
26490
|
+
},{}],171:[function(require,module,exports){
|
|
26258
26491
|
"use strict";
|
|
26259
26492
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26260
26493
|
exports.TradutorReversoPython = void 0;
|
|
@@ -26327,7 +26560,7 @@ class TradutorReversoPython {
|
|
|
26327
26560
|
}
|
|
26328
26561
|
exports.TradutorReversoPython = TradutorReversoPython;
|
|
26329
26562
|
|
|
26330
|
-
},{"./python/python3-lexer":
|
|
26563
|
+
},{"./python/python3-lexer":164,"./python/python3-parser":165,"antlr4ts":287,"antlr4ts/tree/ParseTreeWalker":306}],172:[function(require,module,exports){
|
|
26331
26564
|
"use strict";
|
|
26332
26565
|
/*!
|
|
26333
26566
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -26335,7 +26568,7 @@ exports.TradutorReversoPython = TradutorReversoPython;
|
|
|
26335
26568
|
*/
|
|
26336
26569
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26337
26570
|
|
|
26338
|
-
},{}],
|
|
26571
|
+
},{}],173:[function(require,module,exports){
|
|
26339
26572
|
"use strict";
|
|
26340
26573
|
/*!
|
|
26341
26574
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -26343,7 +26576,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26343
26576
|
*/
|
|
26344
26577
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26345
26578
|
|
|
26346
|
-
},{}],
|
|
26579
|
+
},{}],174:[function(require,module,exports){
|
|
26347
26580
|
"use strict";
|
|
26348
26581
|
/*!
|
|
26349
26582
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -26505,7 +26738,7 @@ __decorate([
|
|
|
26505
26738
|
], ANTLRInputStream.prototype, "toString", null);
|
|
26506
26739
|
exports.ANTLRInputStream = ANTLRInputStream;
|
|
26507
26740
|
|
|
26508
|
-
},{"./Decorators":
|
|
26741
|
+
},{"./Decorators":185,"./IntStream":191,"assert":328}],175:[function(require,module,exports){
|
|
26509
26742
|
"use strict";
|
|
26510
26743
|
/*!
|
|
26511
26744
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -26588,7 +26821,7 @@ __decorate([
|
|
|
26588
26821
|
], BailErrorStrategy.prototype, "sync", null);
|
|
26589
26822
|
exports.BailErrorStrategy = BailErrorStrategy;
|
|
26590
26823
|
|
|
26591
|
-
},{"./Decorators":
|
|
26824
|
+
},{"./Decorators":185,"./DefaultErrorStrategy":186,"./InputMismatchException":190,"./misc/ParseCancellationException":302}],176:[function(require,module,exports){
|
|
26592
26825
|
"use strict";
|
|
26593
26826
|
/*!
|
|
26594
26827
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27078,7 +27311,7 @@ BufferedTokenStream = __decorate([
|
|
|
27078
27311
|
], BufferedTokenStream);
|
|
27079
27312
|
exports.BufferedTokenStream = BufferedTokenStream;
|
|
27080
27313
|
|
|
27081
|
-
},{"./CommonToken":
|
|
27314
|
+
},{"./CommonToken":181,"./Decorators":185,"./Lexer":193,"./Token":210,"./misc/Interval":297,"assert":328}],177:[function(require,module,exports){
|
|
27082
27315
|
"use strict";
|
|
27083
27316
|
/*!
|
|
27084
27317
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27086,7 +27319,7 @@ exports.BufferedTokenStream = BufferedTokenStream;
|
|
|
27086
27319
|
*/
|
|
27087
27320
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27088
27321
|
|
|
27089
|
-
},{}],
|
|
27322
|
+
},{}],178:[function(require,module,exports){
|
|
27090
27323
|
"use strict";
|
|
27091
27324
|
/*!
|
|
27092
27325
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27220,7 +27453,7 @@ var CharStreams;
|
|
|
27220
27453
|
// }
|
|
27221
27454
|
})(CharStreams = exports.CharStreams || (exports.CharStreams = {}));
|
|
27222
27455
|
|
|
27223
|
-
},{"./CodePointBuffer":
|
|
27456
|
+
},{"./CodePointBuffer":179,"./CodePointCharStream":180,"./IntStream":191}],179:[function(require,module,exports){
|
|
27224
27457
|
"use strict";
|
|
27225
27458
|
/*!
|
|
27226
27459
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27455,7 +27688,7 @@ exports.CodePointBuffer = CodePointBuffer;
|
|
|
27455
27688
|
CodePointBuffer.Builder = Builder;
|
|
27456
27689
|
})(CodePointBuffer = exports.CodePointBuffer || (exports.CodePointBuffer = {}));
|
|
27457
27690
|
|
|
27458
|
-
},{"./misc/Character":
|
|
27691
|
+
},{"./misc/Character":293,"assert":328}],180:[function(require,module,exports){
|
|
27459
27692
|
"use strict";
|
|
27460
27693
|
/*!
|
|
27461
27694
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27605,7 +27838,7 @@ __decorate([
|
|
|
27605
27838
|
], CodePointCharStream.prototype, "getText", null);
|
|
27606
27839
|
exports.CodePointCharStream = CodePointCharStream;
|
|
27607
27840
|
|
|
27608
|
-
},{"./Decorators":
|
|
27841
|
+
},{"./Decorators":185,"./IntStream":191,"./misc/Interval":297,"assert":328}],181:[function(require,module,exports){
|
|
27609
27842
|
"use strict";
|
|
27610
27843
|
/*!
|
|
27611
27844
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27835,7 +28068,7 @@ CommonToken = __decorate([
|
|
|
27835
28068
|
], CommonToken);
|
|
27836
28069
|
exports.CommonToken = CommonToken;
|
|
27837
28070
|
|
|
27838
|
-
},{"./Decorators":
|
|
28071
|
+
},{"./Decorators":185,"./Token":210,"./misc/Interval":297}],182:[function(require,module,exports){
|
|
27839
28072
|
"use strict";
|
|
27840
28073
|
/*!
|
|
27841
28074
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -27899,7 +28132,7 @@ exports.CommonTokenFactory = CommonTokenFactory;
|
|
|
27899
28132
|
CommonTokenFactory.DEFAULT = new CommonTokenFactory();
|
|
27900
28133
|
})(CommonTokenFactory = exports.CommonTokenFactory || (exports.CommonTokenFactory = {}));
|
|
27901
28134
|
|
|
27902
|
-
},{"./CommonToken":
|
|
28135
|
+
},{"./CommonToken":181,"./Decorators":185,"./misc/Interval":297}],183:[function(require,module,exports){
|
|
27903
28136
|
"use strict";
|
|
27904
28137
|
/*!
|
|
27905
28138
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28026,7 +28259,7 @@ CommonTokenStream = __decorate([
|
|
|
28026
28259
|
], CommonTokenStream);
|
|
28027
28260
|
exports.CommonTokenStream = CommonTokenStream;
|
|
28028
28261
|
|
|
28029
|
-
},{"./BufferedTokenStream":
|
|
28262
|
+
},{"./BufferedTokenStream":176,"./Decorators":185,"./Token":210}],184:[function(require,module,exports){
|
|
28030
28263
|
"use strict";
|
|
28031
28264
|
/*!
|
|
28032
28265
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28060,7 +28293,7 @@ exports.ConsoleErrorListener = ConsoleErrorListener;
|
|
|
28060
28293
|
*/
|
|
28061
28294
|
ConsoleErrorListener.INSTANCE = new ConsoleErrorListener();
|
|
28062
28295
|
|
|
28063
|
-
},{}],
|
|
28296
|
+
},{}],185:[function(require,module,exports){
|
|
28064
28297
|
"use strict";
|
|
28065
28298
|
/*!
|
|
28066
28299
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28087,7 +28320,7 @@ function SuppressWarnings(options) {
|
|
|
28087
28320
|
}
|
|
28088
28321
|
exports.SuppressWarnings = SuppressWarnings;
|
|
28089
28322
|
|
|
28090
|
-
},{}],
|
|
28323
|
+
},{}],186:[function(require,module,exports){
|
|
28091
28324
|
"use strict";
|
|
28092
28325
|
/*!
|
|
28093
28326
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28901,7 +29134,7 @@ __decorate([
|
|
|
28901
29134
|
], DefaultErrorStrategy.prototype, "consumeUntil", null);
|
|
28902
29135
|
exports.DefaultErrorStrategy = DefaultErrorStrategy;
|
|
28903
29136
|
|
|
28904
|
-
},{"./Decorators":
|
|
29137
|
+
},{"./Decorators":185,"./FailedPredicateException":189,"./InputMismatchException":190,"./NoViableAltException":197,"./Token":210,"./atn/ATNState":224,"./atn/ATNStateType":225,"./atn/PredictionContext":265,"./misc/IntervalSet":298}],187:[function(require,module,exports){
|
|
28905
29138
|
"use strict";
|
|
28906
29139
|
/*!
|
|
28907
29140
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -28977,7 +29210,7 @@ var Dependents;
|
|
|
28977
29210
|
Dependents[Dependents["FOLLOWING"] = 9] = "FOLLOWING";
|
|
28978
29211
|
})(Dependents = exports.Dependents || (exports.Dependents = {}));
|
|
28979
29212
|
|
|
28980
|
-
},{}],
|
|
29213
|
+
},{}],188:[function(require,module,exports){
|
|
28981
29214
|
"use strict";
|
|
28982
29215
|
/*!
|
|
28983
29216
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29125,7 +29358,7 @@ __decorate([
|
|
|
29125
29358
|
], DiagnosticErrorListener.prototype, "getConflictingAlts", null);
|
|
29126
29359
|
exports.DiagnosticErrorListener = DiagnosticErrorListener;
|
|
29127
29360
|
|
|
29128
|
-
},{"./Decorators":
|
|
29361
|
+
},{"./Decorators":185,"./misc/BitSet":292,"./misc/Interval":297}],189:[function(require,module,exports){
|
|
29129
29362
|
"use strict";
|
|
29130
29363
|
/*!
|
|
29131
29364
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29190,7 +29423,7 @@ FailedPredicateException = __decorate([
|
|
|
29190
29423
|
], FailedPredicateException);
|
|
29191
29424
|
exports.FailedPredicateException = FailedPredicateException;
|
|
29192
29425
|
|
|
29193
|
-
},{"./Decorators":
|
|
29426
|
+
},{"./Decorators":185,"./RecognitionException":204,"./atn/PredicateTransition":264}],190:[function(require,module,exports){
|
|
29194
29427
|
"use strict";
|
|
29195
29428
|
/*!
|
|
29196
29429
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29230,7 +29463,7 @@ InputMismatchException = __decorate([
|
|
|
29230
29463
|
], InputMismatchException);
|
|
29231
29464
|
exports.InputMismatchException = InputMismatchException;
|
|
29232
29465
|
|
|
29233
|
-
},{"./Decorators":
|
|
29466
|
+
},{"./Decorators":185,"./RecognitionException":204}],191:[function(require,module,exports){
|
|
29234
29467
|
"use strict";
|
|
29235
29468
|
/*!
|
|
29236
29469
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29253,7 +29486,7 @@ var IntStream;
|
|
|
29253
29486
|
IntStream.UNKNOWN_SOURCE_NAME = "<unknown>";
|
|
29254
29487
|
})(IntStream = exports.IntStream || (exports.IntStream = {}));
|
|
29255
29488
|
|
|
29256
|
-
},{}],
|
|
29489
|
+
},{}],192:[function(require,module,exports){
|
|
29257
29490
|
"use strict";
|
|
29258
29491
|
/*!
|
|
29259
29492
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29300,7 +29533,7 @@ __decorate([
|
|
|
29300
29533
|
], InterpreterRuleContext.prototype, "ruleIndex", null);
|
|
29301
29534
|
exports.InterpreterRuleContext = InterpreterRuleContext;
|
|
29302
29535
|
|
|
29303
|
-
},{"./Decorators":
|
|
29536
|
+
},{"./Decorators":185,"./ParserRuleContext":201}],193:[function(require,module,exports){
|
|
29304
29537
|
"use strict";
|
|
29305
29538
|
/*!
|
|
29306
29539
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29636,7 +29869,7 @@ __decorate([
|
|
|
29636
29869
|
], Lexer.prototype, "charPositionInLine", null);
|
|
29637
29870
|
exports.Lexer = Lexer;
|
|
29638
29871
|
|
|
29639
|
-
},{"./CommonTokenFactory":
|
|
29872
|
+
},{"./CommonTokenFactory":182,"./Decorators":185,"./IntStream":191,"./LexerNoViableAltException":195,"./Recognizer":205,"./Token":210,"./atn/LexerATNSimulator":243,"./misc/IntegerStack":296,"./misc/Interval":297}],194:[function(require,module,exports){
|
|
29640
29873
|
"use strict";
|
|
29641
29874
|
/*!
|
|
29642
29875
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29716,7 +29949,7 @@ LexerInterpreter = __decorate([
|
|
|
29716
29949
|
], LexerInterpreter);
|
|
29717
29950
|
exports.LexerInterpreter = LexerInterpreter;
|
|
29718
29951
|
|
|
29719
|
-
},{"./Decorators":
|
|
29952
|
+
},{"./Decorators":185,"./Lexer":193,"./atn/LexerATNSimulator":243}],195:[function(require,module,exports){
|
|
29720
29953
|
"use strict";
|
|
29721
29954
|
/*!
|
|
29722
29955
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29773,7 +30006,7 @@ LexerNoViableAltException = __decorate([
|
|
|
29773
30006
|
], LexerNoViableAltException);
|
|
29774
30007
|
exports.LexerNoViableAltException = LexerNoViableAltException;
|
|
29775
30008
|
|
|
29776
|
-
},{"./Decorators":
|
|
30009
|
+
},{"./Decorators":185,"./RecognitionException":204,"./misc/Interval":297,"./misc/Utils":304}],196:[function(require,module,exports){
|
|
29777
30010
|
"use strict";
|
|
29778
30011
|
/*!
|
|
29779
30012
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -29983,7 +30216,7 @@ ListTokenSource = __decorate([
|
|
|
29983
30216
|
], ListTokenSource);
|
|
29984
30217
|
exports.ListTokenSource = ListTokenSource;
|
|
29985
30218
|
|
|
29986
|
-
},{"./CommonTokenFactory":
|
|
30219
|
+
},{"./CommonTokenFactory":182,"./Decorators":185,"./Token":210}],197:[function(require,module,exports){
|
|
29987
30220
|
"use strict";
|
|
29988
30221
|
/*!
|
|
29989
30222
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30038,7 +30271,7 @@ __decorate([
|
|
|
30038
30271
|
], NoViableAltException.prototype, "_startToken", void 0);
|
|
30039
30272
|
exports.NoViableAltException = NoViableAltException;
|
|
30040
30273
|
|
|
30041
|
-
},{"./Decorators":
|
|
30274
|
+
},{"./Decorators":185,"./Parser":198,"./RecognitionException":204}],198:[function(require,module,exports){
|
|
30042
30275
|
(function (process){(function (){
|
|
30043
30276
|
"use strict";
|
|
30044
30277
|
/*!
|
|
@@ -30884,7 +31117,7 @@ __decorate([
|
|
|
30884
31117
|
exports.Parser = Parser;
|
|
30885
31118
|
|
|
30886
31119
|
}).call(this)}).call(this,require('_process'))
|
|
30887
|
-
},{"./Decorators":
|
|
31120
|
+
},{"./Decorators":185,"./DefaultErrorStrategy":186,"./Lexer":193,"./ProxyParserErrorListener":203,"./Recognizer":205,"./Token":210,"./atn/ATNDeserializationOptions":221,"./atn/ATNDeserializer":222,"./atn/ParseInfo":258,"./atn/ParserATNSimulator":259,"./atn/ProfilingATNSimulator":268,"./misc/IntegerStack":296,"./misc/Utils":304,"./tree/ErrorNode":305,"./tree/TerminalNode":308,"./tree/pattern/ParseTreePatternMatcher":313,"_process":371}],199:[function(require,module,exports){
|
|
30888
31121
|
"use strict";
|
|
30889
31122
|
/*!
|
|
30890
31123
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -30892,7 +31125,7 @@ exports.Parser = Parser;
|
|
|
30892
31125
|
*/
|
|
30893
31126
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30894
31127
|
|
|
30895
|
-
},{}],
|
|
31128
|
+
},{}],200:[function(require,module,exports){
|
|
30896
31129
|
"use strict";
|
|
30897
31130
|
/*!
|
|
30898
31131
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31300,7 +31533,7 @@ ParserInterpreter = __decorate([
|
|
|
31300
31533
|
], ParserInterpreter);
|
|
31301
31534
|
exports.ParserInterpreter = ParserInterpreter;
|
|
31302
31535
|
|
|
31303
|
-
},{"./Decorators":
|
|
31536
|
+
},{"./Decorators":185,"./FailedPredicateException":189,"./InputMismatchException":190,"./InterpreterRuleContext":192,"./Parser":198,"./RecognitionException":204,"./Token":210,"./atn/ATNState":224,"./atn/ATNStateType":225,"./atn/LoopEndState":255,"./atn/ParserATNSimulator":259,"./atn/StarLoopEntryState":277,"./misc/BitSet":292}],201:[function(require,module,exports){
|
|
31304
31537
|
"use strict";
|
|
31305
31538
|
/*!
|
|
31306
31539
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31601,7 +31834,7 @@ __decorate([
|
|
|
31601
31834
|
], ParserRuleContext.prototype, "sourceInterval", null);
|
|
31602
31835
|
exports.ParserRuleContext = ParserRuleContext;
|
|
31603
31836
|
|
|
31604
|
-
},{"./Decorators":
|
|
31837
|
+
},{"./Decorators":185,"./RuleContext":206,"./misc/Interval":297,"./tree/ErrorNode":305,"./tree/TerminalNode":308}],202:[function(require,module,exports){
|
|
31605
31838
|
"use strict";
|
|
31606
31839
|
/*!
|
|
31607
31840
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31651,7 +31884,7 @@ __decorate([
|
|
|
31651
31884
|
], ProxyErrorListener.prototype, "syntaxError", null);
|
|
31652
31885
|
exports.ProxyErrorListener = ProxyErrorListener;
|
|
31653
31886
|
|
|
31654
|
-
},{"./Decorators":
|
|
31887
|
+
},{"./Decorators":185}],203:[function(require,module,exports){
|
|
31655
31888
|
"use strict";
|
|
31656
31889
|
/*!
|
|
31657
31890
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31710,7 +31943,7 @@ __decorate([
|
|
|
31710
31943
|
], ProxyParserErrorListener.prototype, "reportContextSensitivity", null);
|
|
31711
31944
|
exports.ProxyParserErrorListener = ProxyParserErrorListener;
|
|
31712
31945
|
|
|
31713
|
-
},{"./Decorators":
|
|
31946
|
+
},{"./Decorators":185,"./ProxyErrorListener":202}],204:[function(require,module,exports){
|
|
31714
31947
|
"use strict";
|
|
31715
31948
|
/*!
|
|
31716
31949
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -31815,7 +32048,7 @@ class RecognitionException extends Error {
|
|
|
31815
32048
|
}
|
|
31816
32049
|
exports.RecognitionException = RecognitionException;
|
|
31817
32050
|
|
|
31818
|
-
},{}],
|
|
32051
|
+
},{}],205:[function(require,module,exports){
|
|
31819
32052
|
"use strict";
|
|
31820
32053
|
/*!
|
|
31821
32054
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32034,7 +32267,7 @@ __decorate([
|
|
|
32034
32267
|
], Recognizer.prototype, "getErrorListeners", null);
|
|
32035
32268
|
exports.Recognizer = Recognizer;
|
|
32036
32269
|
|
|
32037
|
-
},{"./ConsoleErrorListener":
|
|
32270
|
+
},{"./ConsoleErrorListener":184,"./Decorators":185,"./ProxyErrorListener":202,"./Token":210,"./misc/Utils":304}],206:[function(require,module,exports){
|
|
32038
32271
|
"use strict";
|
|
32039
32272
|
/*!
|
|
32040
32273
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32251,7 +32484,7 @@ __decorate([
|
|
|
32251
32484
|
], RuleContext.prototype, "toStringTree", null);
|
|
32252
32485
|
exports.RuleContext = RuleContext;
|
|
32253
32486
|
|
|
32254
|
-
},{"./Decorators":
|
|
32487
|
+
},{"./Decorators":185,"./ParserRuleContext":201,"./Recognizer":205,"./atn/ATN":218,"./misc/Interval":297,"./tree/RuleNode":307,"./tree/Trees":309}],207:[function(require,module,exports){
|
|
32255
32488
|
"use strict";
|
|
32256
32489
|
/*!
|
|
32257
32490
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32302,7 +32535,7 @@ __decorate([
|
|
|
32302
32535
|
], RuleContextWithAltNum.prototype, "altNumber", null);
|
|
32303
32536
|
exports.RuleContextWithAltNum = RuleContextWithAltNum;
|
|
32304
32537
|
|
|
32305
|
-
},{"./Decorators":
|
|
32538
|
+
},{"./Decorators":185,"./ParserRuleContext":201,"./atn/ATN":218}],208:[function(require,module,exports){
|
|
32306
32539
|
"use strict";
|
|
32307
32540
|
/*!
|
|
32308
32541
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32325,7 +32558,7 @@ function RuleDependency(dependency) {
|
|
|
32325
32558
|
}
|
|
32326
32559
|
exports.RuleDependency = RuleDependency;
|
|
32327
32560
|
|
|
32328
|
-
},{}],
|
|
32561
|
+
},{}],209:[function(require,module,exports){
|
|
32329
32562
|
"use strict";
|
|
32330
32563
|
/*!
|
|
32331
32564
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32344,7 +32577,7 @@ function RuleVersion(version) {
|
|
|
32344
32577
|
}
|
|
32345
32578
|
exports.RuleVersion = RuleVersion;
|
|
32346
32579
|
|
|
32347
|
-
},{}],
|
|
32580
|
+
},{}],210:[function(require,module,exports){
|
|
32348
32581
|
"use strict";
|
|
32349
32582
|
/*!
|
|
32350
32583
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32384,7 +32617,7 @@ var Token;
|
|
|
32384
32617
|
Token.MIN_USER_CHANNEL_VALUE = 2;
|
|
32385
32618
|
})(Token = exports.Token || (exports.Token = {}));
|
|
32386
32619
|
|
|
32387
|
-
},{"./IntStream":
|
|
32620
|
+
},{"./IntStream":191}],211:[function(require,module,exports){
|
|
32388
32621
|
"use strict";
|
|
32389
32622
|
/*!
|
|
32390
32623
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32392,7 +32625,7 @@ var Token;
|
|
|
32392
32625
|
*/
|
|
32393
32626
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32394
32627
|
|
|
32395
|
-
},{}],
|
|
32628
|
+
},{}],212:[function(require,module,exports){
|
|
32396
32629
|
"use strict";
|
|
32397
32630
|
/*!
|
|
32398
32631
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32400,7 +32633,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
32400
32633
|
*/
|
|
32401
32634
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32402
32635
|
|
|
32403
|
-
},{}],
|
|
32636
|
+
},{}],213:[function(require,module,exports){
|
|
32404
32637
|
"use strict";
|
|
32405
32638
|
/*!
|
|
32406
32639
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32408,7 +32641,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
32408
32641
|
*/
|
|
32409
32642
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32410
32643
|
|
|
32411
|
-
},{}],
|
|
32644
|
+
},{}],214:[function(require,module,exports){
|
|
32412
32645
|
"use strict";
|
|
32413
32646
|
/*!
|
|
32414
32647
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32916,7 +33149,7 @@ __decorate([
|
|
|
32916
33149
|
Decorators_1.Override
|
|
32917
33150
|
], ReplaceOp.prototype, "toString", null);
|
|
32918
33151
|
|
|
32919
|
-
},{"./Decorators":
|
|
33152
|
+
},{"./Decorators":185,"./Token":210,"./misc/Interval":297}],215:[function(require,module,exports){
|
|
32920
33153
|
"use strict";
|
|
32921
33154
|
/*!
|
|
32922
33155
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -32924,7 +33157,7 @@ __decorate([
|
|
|
32924
33157
|
*/
|
|
32925
33158
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32926
33159
|
|
|
32927
|
-
},{}],
|
|
33160
|
+
},{}],216:[function(require,module,exports){
|
|
32928
33161
|
"use strict";
|
|
32929
33162
|
/*!
|
|
32930
33163
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33044,7 +33277,7 @@ __decorate([
|
|
|
33044
33277
|
], VocabularyImpl, "EMPTY_VOCABULARY", void 0);
|
|
33045
33278
|
exports.VocabularyImpl = VocabularyImpl;
|
|
33046
33279
|
|
|
33047
|
-
},{"./Decorators":
|
|
33280
|
+
},{"./Decorators":185,"./Token":210}],217:[function(require,module,exports){
|
|
33048
33281
|
"use strict";
|
|
33049
33282
|
/*!
|
|
33050
33283
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33052,7 +33285,7 @@ exports.VocabularyImpl = VocabularyImpl;
|
|
|
33052
33285
|
*/
|
|
33053
33286
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33054
33287
|
|
|
33055
|
-
},{}],
|
|
33288
|
+
},{}],218:[function(require,module,exports){
|
|
33056
33289
|
"use strict";
|
|
33057
33290
|
/*!
|
|
33058
33291
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33274,7 +33507,7 @@ exports.ATN = ATN;
|
|
|
33274
33507
|
})(ATN = exports.ATN || (exports.ATN = {}));
|
|
33275
33508
|
exports.ATN = ATN;
|
|
33276
33509
|
|
|
33277
|
-
},{"../Decorators":
|
|
33510
|
+
},{"../Decorators":185,"../Token":210,"../dfa/DFA":283,"../misc/Array2DHashMap":288,"../misc/IntervalSet":298,"../misc/ObjectEqualityComparator":301,"./InvalidState":241,"./LL1Analyzer":242,"./PredictionContext":265,"assert":328}],219:[function(require,module,exports){
|
|
33278
33511
|
"use strict";
|
|
33279
33512
|
/*!
|
|
33280
33513
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -33799,7 +34032,7 @@ ActionSemanticContextATNConfig = __decorate([
|
|
|
33799
34032
|
__param(1, Decorators_1.NotNull), __param(2, Decorators_1.NotNull)
|
|
33800
34033
|
], ActionSemanticContextATNConfig);
|
|
33801
34034
|
|
|
33802
|
-
},{"../Decorators":
|
|
34035
|
+
},{"../Decorators":185,"../misc/Array2DHashMap":288,"../misc/MurmurHash":300,"../misc/ObjectEqualityComparator":301,"./DecisionState":238,"./PredictionContext":265,"./SemanticContext":273,"assert":328}],220:[function(require,module,exports){
|
|
33803
34036
|
"use strict";
|
|
33804
34037
|
/*!
|
|
33805
34038
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34246,7 +34479,7 @@ __decorate([
|
|
|
34246
34479
|
], ATNConfigSet.prototype, "hashCode", null);
|
|
34247
34480
|
exports.ATNConfigSet = ATNConfigSet;
|
|
34248
34481
|
|
|
34249
|
-
},{"../Decorators":
|
|
34482
|
+
},{"../Decorators":185,"../misc/Array2DHashMap":288,"../misc/Array2DHashSet":289,"../misc/ArrayEqualityComparator":290,"../misc/BitSet":292,"../misc/ObjectEqualityComparator":301,"../misc/Utils":304,"./ATN":218,"./ATNConfig":219,"./PredictionContext":265,"./PredictionContextCache":266,"./SemanticContext":273,"assert":328}],221:[function(require,module,exports){
|
|
34250
34483
|
"use strict";
|
|
34251
34484
|
/*!
|
|
34252
34485
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -34325,7 +34558,7 @@ __decorate([
|
|
|
34325
34558
|
], ATNDeserializationOptions, "defaultOptions", null);
|
|
34326
34559
|
exports.ATNDeserializationOptions = ATNDeserializationOptions;
|
|
34327
34560
|
|
|
34328
|
-
},{"../Decorators":
|
|
34561
|
+
},{"../Decorators":185}],222:[function(require,module,exports){
|
|
34329
34562
|
"use strict";
|
|
34330
34563
|
/*!
|
|
34331
34564
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35412,7 +35645,7 @@ __decorate([
|
|
|
35412
35645
|
], ATNDeserializer.prototype, "edgeFactory", null);
|
|
35413
35646
|
exports.ATNDeserializer = ATNDeserializer;
|
|
35414
35647
|
|
|
35415
|
-
},{"../Decorators":
|
|
35648
|
+
},{"../Decorators":185,"../Token":210,"../dfa/DFA":283,"../misc/Array2DHashSet":289,"../misc/BitSet":292,"../misc/IntervalSet":298,"../misc/UUID":303,"./ATN":218,"./ATNDeserializationOptions":221,"./ATNStateType":225,"./ActionTransition":227,"./AtomTransition":229,"./BasicBlockStartState":230,"./BasicState":231,"./BlockEndState":232,"./BlockStartState":233,"./DecisionState":238,"./EpsilonTransition":239,"./InvalidState":241,"./LexerChannelAction":245,"./LexerCustomAction":246,"./LexerModeAction":248,"./LexerMoreAction":249,"./LexerPopModeAction":250,"./LexerPushModeAction":251,"./LexerSkipAction":252,"./LexerTypeAction":253,"./LoopEndState":255,"./NotSetTransition":256,"./ParserATNSimulator":259,"./PlusBlockStartState":260,"./PlusLoopbackState":261,"./PrecedencePredicateTransition":262,"./PredicateTransition":264,"./RangeTransition":269,"./RuleStartState":270,"./RuleStopState":271,"./RuleTransition":272,"./SetTransition":274,"./StarBlockStartState":276,"./StarLoopEntryState":277,"./StarLoopbackState":278,"./TokensStartState":279,"./WildcardTransition":281}],223:[function(require,module,exports){
|
|
35416
35649
|
"use strict";
|
|
35417
35650
|
/*!
|
|
35418
35651
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35476,7 +35709,7 @@ exports.ATNSimulator = ATNSimulator;
|
|
|
35476
35709
|
})(ATNSimulator = exports.ATNSimulator || (exports.ATNSimulator = {}));
|
|
35477
35710
|
exports.ATNSimulator = ATNSimulator;
|
|
35478
35711
|
|
|
35479
|
-
},{"../Decorators":
|
|
35712
|
+
},{"../Decorators":185,"../dfa/DFAState":285,"./ATNConfigSet":220,"./PredictionContext":265}],224:[function(require,module,exports){
|
|
35480
35713
|
"use strict";
|
|
35481
35714
|
/*!
|
|
35482
35715
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35663,7 +35896,7 @@ exports.ATNState = ATNState;
|
|
|
35663
35896
|
ATNState.INVALID_STATE_NUMBER = -1;
|
|
35664
35897
|
})(ATNState = exports.ATNState || (exports.ATNState = {}));
|
|
35665
35898
|
|
|
35666
|
-
},{"../Decorators":
|
|
35899
|
+
},{"../Decorators":185}],225:[function(require,module,exports){
|
|
35667
35900
|
"use strict";
|
|
35668
35901
|
/*!
|
|
35669
35902
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35689,7 +35922,7 @@ var ATNStateType;
|
|
|
35689
35922
|
ATNStateType[ATNStateType["LOOP_END"] = 12] = "LOOP_END";
|
|
35690
35923
|
})(ATNStateType = exports.ATNStateType || (exports.ATNStateType = {}));
|
|
35691
35924
|
|
|
35692
|
-
},{}],
|
|
35925
|
+
},{}],226:[function(require,module,exports){
|
|
35693
35926
|
"use strict";
|
|
35694
35927
|
/*!
|
|
35695
35928
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35709,7 +35942,7 @@ class AbstractPredicateTransition extends Transition_1.Transition {
|
|
|
35709
35942
|
}
|
|
35710
35943
|
exports.AbstractPredicateTransition = AbstractPredicateTransition;
|
|
35711
35944
|
|
|
35712
|
-
},{"./Transition":
|
|
35945
|
+
},{"./Transition":280}],227:[function(require,module,exports){
|
|
35713
35946
|
"use strict";
|
|
35714
35947
|
/*!
|
|
35715
35948
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35765,7 +35998,7 @@ ActionTransition = __decorate([
|
|
|
35765
35998
|
], ActionTransition);
|
|
35766
35999
|
exports.ActionTransition = ActionTransition;
|
|
35767
36000
|
|
|
35768
|
-
},{"../Decorators":
|
|
36001
|
+
},{"../Decorators":185,"./Transition":280}],228:[function(require,module,exports){
|
|
35769
36002
|
"use strict";
|
|
35770
36003
|
/*!
|
|
35771
36004
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35852,7 +36085,7 @@ AmbiguityInfo = __decorate([
|
|
|
35852
36085
|
], AmbiguityInfo);
|
|
35853
36086
|
exports.AmbiguityInfo = AmbiguityInfo;
|
|
35854
36087
|
|
|
35855
|
-
},{"../Decorators":
|
|
36088
|
+
},{"../Decorators":185,"./DecisionEventInfo":236}],229:[function(require,module,exports){
|
|
35856
36089
|
"use strict";
|
|
35857
36090
|
/*!
|
|
35858
36091
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35910,7 +36143,7 @@ AtomTransition = __decorate([
|
|
|
35910
36143
|
], AtomTransition);
|
|
35911
36144
|
exports.AtomTransition = AtomTransition;
|
|
35912
36145
|
|
|
35913
|
-
},{"../Decorators":
|
|
36146
|
+
},{"../Decorators":185,"../misc/IntervalSet":298,"./Transition":280}],230:[function(require,module,exports){
|
|
35914
36147
|
"use strict";
|
|
35915
36148
|
/*!
|
|
35916
36149
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35942,7 +36175,7 @@ __decorate([
|
|
|
35942
36175
|
], BasicBlockStartState.prototype, "stateType", null);
|
|
35943
36176
|
exports.BasicBlockStartState = BasicBlockStartState;
|
|
35944
36177
|
|
|
35945
|
-
},{"../Decorators":
|
|
36178
|
+
},{"../Decorators":185,"./ATNStateType":225,"./BlockStartState":233}],231:[function(require,module,exports){
|
|
35946
36179
|
"use strict";
|
|
35947
36180
|
/*!
|
|
35948
36181
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -35974,7 +36207,7 @@ __decorate([
|
|
|
35974
36207
|
], BasicState.prototype, "stateType", null);
|
|
35975
36208
|
exports.BasicState = BasicState;
|
|
35976
36209
|
|
|
35977
|
-
},{"../Decorators":
|
|
36210
|
+
},{"../Decorators":185,"./ATNState":224,"./ATNStateType":225}],232:[function(require,module,exports){
|
|
35978
36211
|
"use strict";
|
|
35979
36212
|
/*!
|
|
35980
36213
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36003,7 +36236,7 @@ __decorate([
|
|
|
36003
36236
|
], BlockEndState.prototype, "stateType", null);
|
|
36004
36237
|
exports.BlockEndState = BlockEndState;
|
|
36005
36238
|
|
|
36006
|
-
},{"../Decorators":
|
|
36239
|
+
},{"../Decorators":185,"./ATNState":224,"./ATNStateType":225}],233:[function(require,module,exports){
|
|
36007
36240
|
"use strict";
|
|
36008
36241
|
/*!
|
|
36009
36242
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36017,7 +36250,7 @@ class BlockStartState extends DecisionState_1.DecisionState {
|
|
|
36017
36250
|
}
|
|
36018
36251
|
exports.BlockStartState = BlockStartState;
|
|
36019
36252
|
|
|
36020
|
-
},{"./DecisionState":
|
|
36253
|
+
},{"./DecisionState":238}],234:[function(require,module,exports){
|
|
36021
36254
|
"use strict";
|
|
36022
36255
|
/*!
|
|
36023
36256
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36087,7 +36320,7 @@ __decorate([
|
|
|
36087
36320
|
], ConflictInfo.prototype, "hashCode", null);
|
|
36088
36321
|
exports.ConflictInfo = ConflictInfo;
|
|
36089
36322
|
|
|
36090
|
-
},{"../Decorators":
|
|
36323
|
+
},{"../Decorators":185,"../misc/Utils":304}],235:[function(require,module,exports){
|
|
36091
36324
|
"use strict";
|
|
36092
36325
|
/*!
|
|
36093
36326
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36147,7 +36380,7 @@ ContextSensitivityInfo = __decorate([
|
|
|
36147
36380
|
], ContextSensitivityInfo);
|
|
36148
36381
|
exports.ContextSensitivityInfo = ContextSensitivityInfo;
|
|
36149
36382
|
|
|
36150
|
-
},{"../Decorators":
|
|
36383
|
+
},{"../Decorators":185,"./DecisionEventInfo":236}],236:[function(require,module,exports){
|
|
36151
36384
|
"use strict";
|
|
36152
36385
|
/*!
|
|
36153
36386
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36199,7 +36432,7 @@ DecisionEventInfo = __decorate([
|
|
|
36199
36432
|
], DecisionEventInfo);
|
|
36200
36433
|
exports.DecisionEventInfo = DecisionEventInfo;
|
|
36201
36434
|
|
|
36202
|
-
},{"../Decorators":
|
|
36435
|
+
},{"../Decorators":185}],237:[function(require,module,exports){
|
|
36203
36436
|
"use strict";
|
|
36204
36437
|
/*!
|
|
36205
36438
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36412,7 +36645,7 @@ __decorate([
|
|
|
36412
36645
|
], DecisionInfo.prototype, "toString", null);
|
|
36413
36646
|
exports.DecisionInfo = DecisionInfo;
|
|
36414
36647
|
|
|
36415
|
-
},{"../Decorators":
|
|
36648
|
+
},{"../Decorators":185}],238:[function(require,module,exports){
|
|
36416
36649
|
"use strict";
|
|
36417
36650
|
/*!
|
|
36418
36651
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36432,7 +36665,7 @@ class DecisionState extends ATNState_1.ATNState {
|
|
|
36432
36665
|
}
|
|
36433
36666
|
exports.DecisionState = DecisionState;
|
|
36434
36667
|
|
|
36435
|
-
},{"./ATNState":
|
|
36668
|
+
},{"./ATNState":224}],239:[function(require,module,exports){
|
|
36436
36669
|
"use strict";
|
|
36437
36670
|
/*!
|
|
36438
36671
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36498,7 +36731,7 @@ EpsilonTransition = __decorate([
|
|
|
36498
36731
|
], EpsilonTransition);
|
|
36499
36732
|
exports.EpsilonTransition = EpsilonTransition;
|
|
36500
36733
|
|
|
36501
|
-
},{"../Decorators":
|
|
36734
|
+
},{"../Decorators":185,"./Transition":280}],240:[function(require,module,exports){
|
|
36502
36735
|
"use strict";
|
|
36503
36736
|
/*!
|
|
36504
36737
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36551,7 +36784,7 @@ ErrorInfo = __decorate([
|
|
|
36551
36784
|
], ErrorInfo);
|
|
36552
36785
|
exports.ErrorInfo = ErrorInfo;
|
|
36553
36786
|
|
|
36554
|
-
},{"../Decorators":
|
|
36787
|
+
},{"../Decorators":185,"./DecisionEventInfo":236}],241:[function(require,module,exports){
|
|
36555
36788
|
"use strict";
|
|
36556
36789
|
/*!
|
|
36557
36790
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36582,7 +36815,7 @@ __decorate([
|
|
|
36582
36815
|
], InvalidState.prototype, "stateType", null);
|
|
36583
36816
|
exports.InvalidState = InvalidState;
|
|
36584
36817
|
|
|
36585
|
-
},{"../Decorators":
|
|
36818
|
+
},{"../Decorators":185,"./ATNStateType":225,"./BasicState":231}],242:[function(require,module,exports){
|
|
36586
36819
|
"use strict";
|
|
36587
36820
|
/*!
|
|
36588
36821
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -36804,7 +37037,7 @@ LL1Analyzer = __decorate([
|
|
|
36804
37037
|
], LL1Analyzer);
|
|
36805
37038
|
exports.LL1Analyzer = LL1Analyzer;
|
|
36806
37039
|
|
|
36807
|
-
},{"../Decorators":
|
|
37040
|
+
},{"../Decorators":185,"../Token":210,"../misc/Array2DHashSet":289,"../misc/BitSet":292,"../misc/IntervalSet":298,"../misc/ObjectEqualityComparator":301,"./ATNConfig":219,"./AbstractPredicateTransition":226,"./NotSetTransition":256,"./PredictionContext":265,"./RuleStopState":271,"./RuleTransition":272,"./WildcardTransition":281}],243:[function(require,module,exports){
|
|
36808
37041
|
"use strict";
|
|
36809
37042
|
/*!
|
|
36810
37043
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37521,7 +37754,7 @@ exports.LexerATNSimulator = LexerATNSimulator;
|
|
|
37521
37754
|
})(LexerATNSimulator = exports.LexerATNSimulator || (exports.LexerATNSimulator = {}));
|
|
37522
37755
|
exports.LexerATNSimulator = LexerATNSimulator;
|
|
37523
37756
|
|
|
37524
|
-
},{"../Decorators":
|
|
37757
|
+
},{"../Decorators":185,"../IntStream":191,"../Lexer":193,"../LexerNoViableAltException":195,"../Token":210,"../dfa/AcceptStateInfo":282,"../dfa/DFAState":285,"../misc/Interval":297,"./ATN":218,"./ATNConfig":219,"./ATNConfigSet":220,"./ATNSimulator":223,"./LexerActionExecutor":244,"./OrderedATNConfigSet":257,"./PredictionContext":265,"./RuleStopState":271,"assert":328}],244:[function(require,module,exports){
|
|
37525
37758
|
"use strict";
|
|
37526
37759
|
/*!
|
|
37527
37760
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37722,7 +37955,7 @@ LexerActionExecutor = __decorate([
|
|
|
37722
37955
|
], LexerActionExecutor);
|
|
37723
37956
|
exports.LexerActionExecutor = LexerActionExecutor;
|
|
37724
37957
|
|
|
37725
|
-
},{"../Decorators":
|
|
37958
|
+
},{"../Decorators":185,"../misc/ArrayEqualityComparator":290,"../misc/MurmurHash":300,"./LexerIndexedCustomAction":247}],245:[function(require,module,exports){
|
|
37726
37959
|
"use strict";
|
|
37727
37960
|
/*!
|
|
37728
37961
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37827,7 +38060,7 @@ __decorate([
|
|
|
37827
38060
|
], LexerChannelAction.prototype, "toString", null);
|
|
37828
38061
|
exports.LexerChannelAction = LexerChannelAction;
|
|
37829
38062
|
|
|
37830
|
-
},{"../Decorators":
|
|
38063
|
+
},{"../Decorators":185,"../misc/MurmurHash":300}],246:[function(require,module,exports){
|
|
37831
38064
|
"use strict";
|
|
37832
38065
|
/*!
|
|
37833
38066
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -37956,7 +38189,7 @@ __decorate([
|
|
|
37956
38189
|
], LexerCustomAction.prototype, "equals", null);
|
|
37957
38190
|
exports.LexerCustomAction = LexerCustomAction;
|
|
37958
38191
|
|
|
37959
|
-
},{"../Decorators":
|
|
38192
|
+
},{"../Decorators":185,"../misc/MurmurHash":300}],247:[function(require,module,exports){
|
|
37960
38193
|
"use strict";
|
|
37961
38194
|
/*!
|
|
37962
38195
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38091,7 +38324,7 @@ LexerIndexedCustomAction = __decorate([
|
|
|
38091
38324
|
], LexerIndexedCustomAction);
|
|
38092
38325
|
exports.LexerIndexedCustomAction = LexerIndexedCustomAction;
|
|
38093
38326
|
|
|
38094
|
-
},{"../Decorators":
|
|
38327
|
+
},{"../Decorators":185,"../misc/MurmurHash":300}],248:[function(require,module,exports){
|
|
38095
38328
|
"use strict";
|
|
38096
38329
|
/*!
|
|
38097
38330
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38196,7 +38429,7 @@ __decorate([
|
|
|
38196
38429
|
], LexerModeAction.prototype, "toString", null);
|
|
38197
38430
|
exports.LexerModeAction = LexerModeAction;
|
|
38198
38431
|
|
|
38199
|
-
},{"../Decorators":
|
|
38432
|
+
},{"../Decorators":185,"../misc/MurmurHash":300}],249:[function(require,module,exports){
|
|
38200
38433
|
"use strict";
|
|
38201
38434
|
/*!
|
|
38202
38435
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38292,7 +38525,7 @@ exports.LexerMoreAction = LexerMoreAction;
|
|
|
38292
38525
|
LexerMoreAction.INSTANCE = new LexerMoreAction();
|
|
38293
38526
|
})(LexerMoreAction = exports.LexerMoreAction || (exports.LexerMoreAction = {}));
|
|
38294
38527
|
|
|
38295
|
-
},{"../Decorators":
|
|
38528
|
+
},{"../Decorators":185,"../misc/MurmurHash":300}],250:[function(require,module,exports){
|
|
38296
38529
|
"use strict";
|
|
38297
38530
|
/*!
|
|
38298
38531
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38388,7 +38621,7 @@ exports.LexerPopModeAction = LexerPopModeAction;
|
|
|
38388
38621
|
LexerPopModeAction.INSTANCE = new LexerPopModeAction();
|
|
38389
38622
|
})(LexerPopModeAction = exports.LexerPopModeAction || (exports.LexerPopModeAction = {}));
|
|
38390
38623
|
|
|
38391
|
-
},{"../Decorators":
|
|
38624
|
+
},{"../Decorators":185,"../misc/MurmurHash":300}],251:[function(require,module,exports){
|
|
38392
38625
|
"use strict";
|
|
38393
38626
|
/*!
|
|
38394
38627
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38493,7 +38726,7 @@ __decorate([
|
|
|
38493
38726
|
], LexerPushModeAction.prototype, "toString", null);
|
|
38494
38727
|
exports.LexerPushModeAction = LexerPushModeAction;
|
|
38495
38728
|
|
|
38496
|
-
},{"../Decorators":
|
|
38729
|
+
},{"../Decorators":185,"../misc/MurmurHash":300}],252:[function(require,module,exports){
|
|
38497
38730
|
"use strict";
|
|
38498
38731
|
/*!
|
|
38499
38732
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38589,7 +38822,7 @@ exports.LexerSkipAction = LexerSkipAction;
|
|
|
38589
38822
|
LexerSkipAction.INSTANCE = new LexerSkipAction();
|
|
38590
38823
|
})(LexerSkipAction = exports.LexerSkipAction || (exports.LexerSkipAction = {}));
|
|
38591
38824
|
|
|
38592
|
-
},{"../Decorators":
|
|
38825
|
+
},{"../Decorators":185,"../misc/MurmurHash":300}],253:[function(require,module,exports){
|
|
38593
38826
|
"use strict";
|
|
38594
38827
|
/*!
|
|
38595
38828
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38693,7 +38926,7 @@ __decorate([
|
|
|
38693
38926
|
], LexerTypeAction.prototype, "toString", null);
|
|
38694
38927
|
exports.LexerTypeAction = LexerTypeAction;
|
|
38695
38928
|
|
|
38696
|
-
},{"../Decorators":
|
|
38929
|
+
},{"../Decorators":185,"../misc/MurmurHash":300}],254:[function(require,module,exports){
|
|
38697
38930
|
"use strict";
|
|
38698
38931
|
/*!
|
|
38699
38932
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38745,7 +38978,7 @@ LookaheadEventInfo = __decorate([
|
|
|
38745
38978
|
], LookaheadEventInfo);
|
|
38746
38979
|
exports.LookaheadEventInfo = LookaheadEventInfo;
|
|
38747
38980
|
|
|
38748
|
-
},{"../Decorators":
|
|
38981
|
+
},{"../Decorators":185,"./DecisionEventInfo":236}],255:[function(require,module,exports){
|
|
38749
38982
|
"use strict";
|
|
38750
38983
|
/*!
|
|
38751
38984
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38774,7 +39007,7 @@ __decorate([
|
|
|
38774
39007
|
], LoopEndState.prototype, "stateType", null);
|
|
38775
39008
|
exports.LoopEndState = LoopEndState;
|
|
38776
39009
|
|
|
38777
|
-
},{"../Decorators":
|
|
39010
|
+
},{"../Decorators":185,"./ATNState":224,"./ATNStateType":225}],256:[function(require,module,exports){
|
|
38778
39011
|
"use strict";
|
|
38779
39012
|
/*!
|
|
38780
39013
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38823,7 +39056,7 @@ NotSetTransition = __decorate([
|
|
|
38823
39056
|
], NotSetTransition);
|
|
38824
39057
|
exports.NotSetTransition = NotSetTransition;
|
|
38825
39058
|
|
|
38826
|
-
},{"../Decorators":
|
|
39059
|
+
},{"../Decorators":185,"./SetTransition":274}],257:[function(require,module,exports){
|
|
38827
39060
|
"use strict";
|
|
38828
39061
|
/*!
|
|
38829
39062
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -38878,7 +39111,7 @@ __decorate([
|
|
|
38878
39111
|
], OrderedATNConfigSet.prototype, "canMerge", null);
|
|
38879
39112
|
exports.OrderedATNConfigSet = OrderedATNConfigSet;
|
|
38880
39113
|
|
|
38881
|
-
},{"../Decorators":
|
|
39114
|
+
},{"../Decorators":185,"./ATNConfigSet":220}],258:[function(require,module,exports){
|
|
38882
39115
|
"use strict";
|
|
38883
39116
|
/*!
|
|
38884
39117
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -39040,7 +39273,7 @@ ParseInfo = __decorate([
|
|
|
39040
39273
|
], ParseInfo);
|
|
39041
39274
|
exports.ParseInfo = ParseInfo;
|
|
39042
39275
|
|
|
39043
|
-
},{"../Decorators":
|
|
39276
|
+
},{"../Decorators":185}],259:[function(require,module,exports){
|
|
39044
39277
|
"use strict";
|
|
39045
39278
|
/*!
|
|
39046
39279
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41313,7 +41546,7 @@ ParserATNSimulator = __decorate([
|
|
|
41313
41546
|
], ParserATNSimulator);
|
|
41314
41547
|
exports.ParserATNSimulator = ParserATNSimulator;
|
|
41315
41548
|
|
|
41316
|
-
},{"../Decorators":
|
|
41549
|
+
},{"../Decorators":185,"../IntStream":191,"../NoViableAltException":197,"../ParserRuleContext":201,"../Token":210,"../VocabularyImpl":216,"../dfa/AcceptStateInfo":282,"../dfa/DFAState":285,"../misc/Array2DHashSet":289,"../misc/Arrays":291,"../misc/BitSet":292,"../misc/IntegerList":295,"../misc/Interval":297,"../misc/ObjectEqualityComparator":301,"./ATN":218,"./ATNConfig":219,"./ATNConfigSet":220,"./ATNSimulator":223,"./ATNStateType":225,"./ActionTransition":227,"./AtomTransition":229,"./ConflictInfo":234,"./DecisionState":238,"./NotSetTransition":256,"./PredictionContext":265,"./PredictionContextCache":266,"./PredictionMode":267,"./RuleStopState":271,"./RuleTransition":272,"./SemanticContext":273,"./SetTransition":274,"./SimulatorState":275,"assert":328}],260:[function(require,module,exports){
|
|
41317
41550
|
"use strict";
|
|
41318
41551
|
/*!
|
|
41319
41552
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41346,7 +41579,7 @@ __decorate([
|
|
|
41346
41579
|
], PlusBlockStartState.prototype, "stateType", null);
|
|
41347
41580
|
exports.PlusBlockStartState = PlusBlockStartState;
|
|
41348
41581
|
|
|
41349
|
-
},{"../Decorators":
|
|
41582
|
+
},{"../Decorators":185,"./ATNStateType":225,"./BlockStartState":233}],261:[function(require,module,exports){
|
|
41350
41583
|
"use strict";
|
|
41351
41584
|
/*!
|
|
41352
41585
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41377,7 +41610,7 @@ __decorate([
|
|
|
41377
41610
|
], PlusLoopbackState.prototype, "stateType", null);
|
|
41378
41611
|
exports.PlusLoopbackState = PlusLoopbackState;
|
|
41379
41612
|
|
|
41380
|
-
},{"../Decorators":
|
|
41613
|
+
},{"../Decorators":185,"./ATNStateType":225,"./DecisionState":238}],262:[function(require,module,exports){
|
|
41381
41614
|
"use strict";
|
|
41382
41615
|
/*!
|
|
41383
41616
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41440,7 +41673,7 @@ PrecedencePredicateTransition = __decorate([
|
|
|
41440
41673
|
], PrecedencePredicateTransition);
|
|
41441
41674
|
exports.PrecedencePredicateTransition = PrecedencePredicateTransition;
|
|
41442
41675
|
|
|
41443
|
-
},{"../Decorators":
|
|
41676
|
+
},{"../Decorators":185,"./AbstractPredicateTransition":226,"./SemanticContext":273}],263:[function(require,module,exports){
|
|
41444
41677
|
"use strict";
|
|
41445
41678
|
/*!
|
|
41446
41679
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41503,7 +41736,7 @@ PredicateEvalInfo = __decorate([
|
|
|
41503
41736
|
], PredicateEvalInfo);
|
|
41504
41737
|
exports.PredicateEvalInfo = PredicateEvalInfo;
|
|
41505
41738
|
|
|
41506
|
-
},{"../Decorators":
|
|
41739
|
+
},{"../Decorators":185,"./DecisionEventInfo":236}],264:[function(require,module,exports){
|
|
41507
41740
|
"use strict";
|
|
41508
41741
|
/*!
|
|
41509
41742
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -41569,7 +41802,7 @@ PredicateTransition = __decorate([
|
|
|
41569
41802
|
], PredicateTransition);
|
|
41570
41803
|
exports.PredicateTransition = PredicateTransition;
|
|
41571
41804
|
|
|
41572
|
-
},{"../Decorators":
|
|
41805
|
+
},{"../Decorators":185,"./AbstractPredicateTransition":226,"./SemanticContext":273}],265:[function(require,module,exports){
|
|
41573
41806
|
"use strict";
|
|
41574
41807
|
/*!
|
|
41575
41808
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42260,7 +42493,7 @@ exports.SingletonPredictionContext = SingletonPredictionContext;
|
|
|
42260
42493
|
PredictionContext.IdentityEqualityComparator = IdentityEqualityComparator;
|
|
42261
42494
|
})(PredictionContext = exports.PredictionContext || (exports.PredictionContext = {}));
|
|
42262
42495
|
|
|
42263
|
-
},{"../Decorators":
|
|
42496
|
+
},{"../Decorators":185,"../misc/Array2DHashMap":288,"../misc/Array2DHashSet":289,"../misc/Arrays":291,"../misc/MurmurHash":300,"./PredictionContextCache":266,"assert":328}],266:[function(require,module,exports){
|
|
42264
42497
|
"use strict";
|
|
42265
42498
|
/*!
|
|
42266
42499
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42401,7 +42634,7 @@ PredictionContextCache.UNCACHED = new PredictionContextCache(false);
|
|
|
42401
42634
|
PredictionContextCache.IdentityCommutativePredictionContextOperands = IdentityCommutativePredictionContextOperands;
|
|
42402
42635
|
})(PredictionContextCache = exports.PredictionContextCache || (exports.PredictionContextCache = {}));
|
|
42403
42636
|
|
|
42404
|
-
},{"../Decorators":
|
|
42637
|
+
},{"../Decorators":185,"../misc/Array2DHashMap":288,"../misc/ObjectEqualityComparator":301,"./PredictionContext":265,"assert":328}],267:[function(require,module,exports){
|
|
42405
42638
|
"use strict";
|
|
42406
42639
|
/*!
|
|
42407
42640
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42562,7 +42795,7 @@ var PredictionMode;
|
|
|
42562
42795
|
PredictionMode.allConfigsInRuleStopStates = allConfigsInRuleStopStates;
|
|
42563
42796
|
})(PredictionMode = exports.PredictionMode || (exports.PredictionMode = {}));
|
|
42564
42797
|
|
|
42565
|
-
},{"../Decorators":
|
|
42798
|
+
},{"../Decorators":185,"../misc/Array2DHashMap":288,"../misc/MurmurHash":300,"./RuleStopState":271}],268:[function(require,module,exports){
|
|
42566
42799
|
(function (process){(function (){
|
|
42567
42800
|
"use strict";
|
|
42568
42801
|
/*!
|
|
@@ -42831,7 +43064,7 @@ __decorate([
|
|
|
42831
43064
|
exports.ProfilingATNSimulator = ProfilingATNSimulator;
|
|
42832
43065
|
|
|
42833
43066
|
}).call(this)}).call(this,require('_process'))
|
|
42834
|
-
},{"../Decorators":
|
|
43067
|
+
},{"../Decorators":185,"./ATN":218,"./ATNSimulator":223,"./AmbiguityInfo":228,"./ContextSensitivityInfo":235,"./DecisionInfo":237,"./ErrorInfo":240,"./LookaheadEventInfo":254,"./ParserATNSimulator":259,"./PredicateEvalInfo":263,"./SemanticContext":273,"./SimulatorState":275,"_process":371}],269:[function(require,module,exports){
|
|
42835
43068
|
"use strict";
|
|
42836
43069
|
/*!
|
|
42837
43070
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42889,7 +43122,7 @@ RangeTransition = __decorate([
|
|
|
42889
43122
|
], RangeTransition);
|
|
42890
43123
|
exports.RangeTransition = RangeTransition;
|
|
42891
43124
|
|
|
42892
|
-
},{"../Decorators":
|
|
43125
|
+
},{"../Decorators":185,"../misc/IntervalSet":298,"./Transition":280}],270:[function(require,module,exports){
|
|
42893
43126
|
"use strict";
|
|
42894
43127
|
/*!
|
|
42895
43128
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42922,7 +43155,7 @@ __decorate([
|
|
|
42922
43155
|
], RuleStartState.prototype, "stateType", null);
|
|
42923
43156
|
exports.RuleStartState = RuleStartState;
|
|
42924
43157
|
|
|
42925
|
-
},{"../Decorators":
|
|
43158
|
+
},{"../Decorators":185,"./ATNState":224,"./ATNStateType":225}],271:[function(require,module,exports){
|
|
42926
43159
|
"use strict";
|
|
42927
43160
|
/*!
|
|
42928
43161
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -42961,7 +43194,7 @@ __decorate([
|
|
|
42961
43194
|
], RuleStopState.prototype, "stateType", null);
|
|
42962
43195
|
exports.RuleStopState = RuleStopState;
|
|
42963
43196
|
|
|
42964
|
-
},{"../Decorators":
|
|
43197
|
+
},{"../Decorators":185,"./ATNState":224,"./ATNStateType":225}],272:[function(require,module,exports){
|
|
42965
43198
|
"use strict";
|
|
42966
43199
|
/*!
|
|
42967
43200
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43017,7 +43250,7 @@ RuleTransition = __decorate([
|
|
|
43017
43250
|
], RuleTransition);
|
|
43018
43251
|
exports.RuleTransition = RuleTransition;
|
|
43019
43252
|
|
|
43020
|
-
},{"../Decorators":
|
|
43253
|
+
},{"../Decorators":185,"./Transition":280}],273:[function(require,module,exports){
|
|
43021
43254
|
"use strict";
|
|
43022
43255
|
/*!
|
|
43023
43256
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43497,7 +43730,7 @@ exports.SemanticContext = SemanticContext;
|
|
|
43497
43730
|
SemanticContext.OR = OR;
|
|
43498
43731
|
})(SemanticContext = exports.SemanticContext || (exports.SemanticContext = {}));
|
|
43499
43732
|
|
|
43500
|
-
},{"../Decorators":
|
|
43733
|
+
},{"../Decorators":185,"../misc/Array2DHashSet":289,"../misc/ArrayEqualityComparator":290,"../misc/MurmurHash":300,"../misc/ObjectEqualityComparator":301,"../misc/Utils":304}],274:[function(require,module,exports){
|
|
43501
43734
|
"use strict";
|
|
43502
43735
|
/*!
|
|
43503
43736
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43563,7 +43796,7 @@ SetTransition = __decorate([
|
|
|
43563
43796
|
], SetTransition);
|
|
43564
43797
|
exports.SetTransition = SetTransition;
|
|
43565
43798
|
|
|
43566
|
-
},{"../Decorators":
|
|
43799
|
+
},{"../Decorators":185,"../Token":210,"../misc/IntervalSet":298,"./Transition":280}],275:[function(require,module,exports){
|
|
43567
43800
|
"use strict";
|
|
43568
43801
|
/*!
|
|
43569
43802
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43599,7 +43832,7 @@ SimulatorState = __decorate([
|
|
|
43599
43832
|
], SimulatorState);
|
|
43600
43833
|
exports.SimulatorState = SimulatorState;
|
|
43601
43834
|
|
|
43602
|
-
},{"../Decorators":
|
|
43835
|
+
},{"../Decorators":185,"../ParserRuleContext":201}],276:[function(require,module,exports){
|
|
43603
43836
|
"use strict";
|
|
43604
43837
|
/*!
|
|
43605
43838
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43627,7 +43860,7 @@ __decorate([
|
|
|
43627
43860
|
], StarBlockStartState.prototype, "stateType", null);
|
|
43628
43861
|
exports.StarBlockStartState = StarBlockStartState;
|
|
43629
43862
|
|
|
43630
|
-
},{"../Decorators":
|
|
43863
|
+
},{"../Decorators":185,"./ATNStateType":225,"./BlockStartState":233}],277:[function(require,module,exports){
|
|
43631
43864
|
"use strict";
|
|
43632
43865
|
/*!
|
|
43633
43866
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43684,7 +43917,7 @@ __decorate([
|
|
|
43684
43917
|
], StarLoopEntryState.prototype, "stateType", null);
|
|
43685
43918
|
exports.StarLoopEntryState = StarLoopEntryState;
|
|
43686
43919
|
|
|
43687
|
-
},{"../Decorators":
|
|
43920
|
+
},{"../Decorators":185,"../misc/BitSet":292,"./ATNStateType":225,"./DecisionState":238}],278:[function(require,module,exports){
|
|
43688
43921
|
"use strict";
|
|
43689
43922
|
/*!
|
|
43690
43923
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43715,7 +43948,7 @@ __decorate([
|
|
|
43715
43948
|
], StarLoopbackState.prototype, "stateType", null);
|
|
43716
43949
|
exports.StarLoopbackState = StarLoopbackState;
|
|
43717
43950
|
|
|
43718
|
-
},{"../Decorators":
|
|
43951
|
+
},{"../Decorators":185,"./ATNState":224,"./ATNStateType":225}],279:[function(require,module,exports){
|
|
43719
43952
|
"use strict";
|
|
43720
43953
|
/*!
|
|
43721
43954
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43744,7 +43977,7 @@ __decorate([
|
|
|
43744
43977
|
], TokensStartState.prototype, "stateType", null);
|
|
43745
43978
|
exports.TokensStartState = TokensStartState;
|
|
43746
43979
|
|
|
43747
|
-
},{"../Decorators":
|
|
43980
|
+
},{"../Decorators":185,"./ATNStateType":225,"./DecisionState":238}],280:[function(require,module,exports){
|
|
43748
43981
|
"use strict";
|
|
43749
43982
|
/*!
|
|
43750
43983
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43818,7 +44051,7 @@ Transition = __decorate([
|
|
|
43818
44051
|
], Transition);
|
|
43819
44052
|
exports.Transition = Transition;
|
|
43820
44053
|
|
|
43821
|
-
},{"../Decorators":
|
|
44054
|
+
},{"../Decorators":185}],281:[function(require,module,exports){
|
|
43822
44055
|
"use strict";
|
|
43823
44056
|
/*!
|
|
43824
44057
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43866,7 +44099,7 @@ WildcardTransition = __decorate([
|
|
|
43866
44099
|
], WildcardTransition);
|
|
43867
44100
|
exports.WildcardTransition = WildcardTransition;
|
|
43868
44101
|
|
|
43869
|
-
},{"../Decorators":
|
|
44102
|
+
},{"../Decorators":185,"./Transition":280}],282:[function(require,module,exports){
|
|
43870
44103
|
"use strict";
|
|
43871
44104
|
/*!
|
|
43872
44105
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -43908,7 +44141,7 @@ class AcceptStateInfo {
|
|
|
43908
44141
|
}
|
|
43909
44142
|
exports.AcceptStateInfo = AcceptStateInfo;
|
|
43910
44143
|
|
|
43911
|
-
},{}],
|
|
44144
|
+
},{}],283:[function(require,module,exports){
|
|
43912
44145
|
"use strict";
|
|
43913
44146
|
/*!
|
|
43914
44147
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44083,7 +44316,7 @@ DFA = __decorate([
|
|
|
44083
44316
|
], DFA);
|
|
44084
44317
|
exports.DFA = DFA;
|
|
44085
44318
|
|
|
44086
|
-
},{"../Decorators":
|
|
44319
|
+
},{"../Decorators":185,"../VocabularyImpl":216,"../atn/ATNConfigSet":220,"../atn/StarLoopEntryState":277,"../misc/Array2DHashSet":289,"../misc/ObjectEqualityComparator":301,"./DFASerializer":284,"./DFAState":285,"./LexerDFASerializer":286}],284:[function(require,module,exports){
|
|
44087
44320
|
"use strict";
|
|
44088
44321
|
/*!
|
|
44089
44322
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44225,7 +44458,7 @@ __decorate([
|
|
|
44225
44458
|
], DFASerializer.prototype, "toString", null);
|
|
44226
44459
|
exports.DFASerializer = DFASerializer;
|
|
44227
44460
|
|
|
44228
|
-
},{"../Decorators":
|
|
44461
|
+
},{"../Decorators":185,"../Recognizer":205,"../VocabularyImpl":216,"../atn/ATNSimulator":223,"../atn/PredictionContext":265}],285:[function(require,module,exports){
|
|
44229
44462
|
"use strict";
|
|
44230
44463
|
/*!
|
|
44231
44464
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44456,7 +44689,7 @@ exports.DFAState = DFAState;
|
|
|
44456
44689
|
DFAState.PredPrediction = PredPrediction;
|
|
44457
44690
|
})(DFAState = exports.DFAState || (exports.DFAState = {}));
|
|
44458
44691
|
|
|
44459
|
-
},{"../Decorators":
|
|
44692
|
+
},{"../Decorators":185,"../atn/ATN":218,"../atn/PredictionContext":265,"../misc/BitSet":292,"../misc/MurmurHash":300,"assert":328}],286:[function(require,module,exports){
|
|
44460
44693
|
"use strict";
|
|
44461
44694
|
/*!
|
|
44462
44695
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44493,7 +44726,7 @@ LexerDFASerializer = __decorate([
|
|
|
44493
44726
|
], LexerDFASerializer);
|
|
44494
44727
|
exports.LexerDFASerializer = LexerDFASerializer;
|
|
44495
44728
|
|
|
44496
|
-
},{"../Decorators":
|
|
44729
|
+
},{"../Decorators":185,"../VocabularyImpl":216,"./DFASerializer":284}],287:[function(require,module,exports){
|
|
44497
44730
|
"use strict";
|
|
44498
44731
|
/*!
|
|
44499
44732
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44559,7 +44792,7 @@ __exportStar(require("./Vocabulary"), exports);
|
|
|
44559
44792
|
__exportStar(require("./VocabularyImpl"), exports);
|
|
44560
44793
|
__exportStar(require("./WritableToken"), exports);
|
|
44561
44794
|
|
|
44562
|
-
},{"./ANTLRErrorListener":
|
|
44795
|
+
},{"./ANTLRErrorListener":172,"./ANTLRErrorStrategy":173,"./ANTLRInputStream":174,"./BailErrorStrategy":175,"./BufferedTokenStream":176,"./CharStream":177,"./CharStreams":178,"./CodePointBuffer":179,"./CodePointCharStream":180,"./CommonToken":181,"./CommonTokenFactory":182,"./CommonTokenStream":183,"./ConsoleErrorListener":184,"./DefaultErrorStrategy":186,"./Dependents":187,"./DiagnosticErrorListener":188,"./FailedPredicateException":189,"./InputMismatchException":190,"./IntStream":191,"./InterpreterRuleContext":192,"./Lexer":193,"./LexerInterpreter":194,"./LexerNoViableAltException":195,"./ListTokenSource":196,"./NoViableAltException":197,"./Parser":198,"./ParserErrorListener":199,"./ParserInterpreter":200,"./ParserRuleContext":201,"./ProxyErrorListener":202,"./ProxyParserErrorListener":203,"./RecognitionException":204,"./Recognizer":205,"./RuleContext":206,"./RuleContextWithAltNum":207,"./RuleDependency":208,"./RuleVersion":209,"./Token":210,"./TokenFactory":211,"./TokenSource":212,"./TokenStream":213,"./TokenStreamRewriter":214,"./Vocabulary":215,"./VocabularyImpl":216,"./WritableToken":217}],288:[function(require,module,exports){
|
|
44563
44796
|
"use strict";
|
|
44564
44797
|
/*!
|
|
44565
44798
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -44642,7 +44875,7 @@ class Array2DHashMap {
|
|
|
44642
44875
|
}
|
|
44643
44876
|
exports.Array2DHashMap = Array2DHashMap;
|
|
44644
44877
|
|
|
44645
|
-
},{"./Array2DHashSet":
|
|
44878
|
+
},{"./Array2DHashSet":289}],289:[function(require,module,exports){
|
|
44646
44879
|
"use strict";
|
|
44647
44880
|
/*!
|
|
44648
44881
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45009,7 +45242,7 @@ __decorate([
|
|
|
45009
45242
|
], Array2DHashSet.prototype, "createBuckets", null);
|
|
45010
45243
|
exports.Array2DHashSet = Array2DHashSet;
|
|
45011
45244
|
|
|
45012
|
-
},{"../Decorators":
|
|
45245
|
+
},{"../Decorators":185,"./DefaultEqualityComparator":294,"./MurmurHash":300,"assert":328}],290:[function(require,module,exports){
|
|
45013
45246
|
"use strict";
|
|
45014
45247
|
/*!
|
|
45015
45248
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45081,7 +45314,7 @@ __decorate([
|
|
|
45081
45314
|
], ArrayEqualityComparator.prototype, "equals", null);
|
|
45082
45315
|
exports.ArrayEqualityComparator = ArrayEqualityComparator;
|
|
45083
45316
|
|
|
45084
|
-
},{"../Decorators":
|
|
45317
|
+
},{"../Decorators":185,"./MurmurHash":300,"./ObjectEqualityComparator":301}],291:[function(require,module,exports){
|
|
45085
45318
|
"use strict";
|
|
45086
45319
|
/*!
|
|
45087
45320
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45151,7 +45384,7 @@ var Arrays;
|
|
|
45151
45384
|
Arrays.toString = toString;
|
|
45152
45385
|
})(Arrays = exports.Arrays || (exports.Arrays = {}));
|
|
45153
45386
|
|
|
45154
|
-
},{}],
|
|
45387
|
+
},{}],292:[function(require,module,exports){
|
|
45155
45388
|
"use strict";
|
|
45156
45389
|
/*!
|
|
45157
45390
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45823,7 +46056,7 @@ class BitSetIterator {
|
|
|
45823
46056
|
[Symbol.iterator]() { return this; }
|
|
45824
46057
|
}
|
|
45825
46058
|
|
|
45826
|
-
},{"./MurmurHash":
|
|
46059
|
+
},{"./MurmurHash":300,"util":380}],293:[function(require,module,exports){
|
|
45827
46060
|
"use strict";
|
|
45828
46061
|
/*!
|
|
45829
46062
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45844,7 +46077,7 @@ function isSupplementaryCodePoint(ch) {
|
|
|
45844
46077
|
}
|
|
45845
46078
|
exports.isSupplementaryCodePoint = isSupplementaryCodePoint;
|
|
45846
46079
|
|
|
45847
|
-
},{}],
|
|
46080
|
+
},{}],294:[function(require,module,exports){
|
|
45848
46081
|
"use strict";
|
|
45849
46082
|
/*!
|
|
45850
46083
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -45915,7 +46148,7 @@ __decorate([
|
|
|
45915
46148
|
], DefaultEqualityComparator.prototype, "equals", null);
|
|
45916
46149
|
exports.DefaultEqualityComparator = DefaultEqualityComparator;
|
|
45917
46150
|
|
|
45918
|
-
},{"../Decorators":
|
|
46151
|
+
},{"../Decorators":185,"./MurmurHash":300,"./ObjectEqualityComparator":301}],295:[function(require,module,exports){
|
|
45919
46152
|
"use strict";
|
|
45920
46153
|
/*!
|
|
45921
46154
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46209,7 +46442,7 @@ __decorate([
|
|
|
46209
46442
|
], IntegerList.prototype, "toString", null);
|
|
46210
46443
|
exports.IntegerList = IntegerList;
|
|
46211
46444
|
|
|
46212
|
-
},{"../Decorators":
|
|
46445
|
+
},{"../Decorators":185,"./Arrays":291}],296:[function(require,module,exports){
|
|
46213
46446
|
"use strict";
|
|
46214
46447
|
/*!
|
|
46215
46448
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46239,7 +46472,7 @@ class IntegerStack extends IntegerList_1.IntegerList {
|
|
|
46239
46472
|
}
|
|
46240
46473
|
exports.IntegerStack = IntegerStack;
|
|
46241
46474
|
|
|
46242
|
-
},{"./IntegerList":
|
|
46475
|
+
},{"./IntegerList":295}],297:[function(require,module,exports){
|
|
46243
46476
|
"use strict";
|
|
46244
46477
|
/*!
|
|
46245
46478
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -46382,7 +46615,7 @@ __decorate([
|
|
|
46382
46615
|
], Interval.prototype, "toString", null);
|
|
46383
46616
|
exports.Interval = Interval;
|
|
46384
46617
|
|
|
46385
|
-
},{"../Decorators":
|
|
46618
|
+
},{"../Decorators":185}],298:[function(require,module,exports){
|
|
46386
46619
|
"use strict";
|
|
46387
46620
|
/*!
|
|
46388
46621
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47028,7 +47261,7 @@ __decorate([
|
|
|
47028
47261
|
], IntervalSet, "subtract", null);
|
|
47029
47262
|
exports.IntervalSet = IntervalSet;
|
|
47030
47263
|
|
|
47031
|
-
},{"../Decorators":
|
|
47264
|
+
},{"../Decorators":185,"../Lexer":193,"../Token":210,"./ArrayEqualityComparator":290,"./IntegerList":295,"./Interval":297,"./MurmurHash":300}],299:[function(require,module,exports){
|
|
47032
47265
|
"use strict";
|
|
47033
47266
|
/*!
|
|
47034
47267
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47061,7 +47294,7 @@ class MultiMap extends Map {
|
|
|
47061
47294
|
}
|
|
47062
47295
|
exports.MultiMap = MultiMap;
|
|
47063
47296
|
|
|
47064
|
-
},{}],
|
|
47297
|
+
},{}],300:[function(require,module,exports){
|
|
47065
47298
|
"use strict";
|
|
47066
47299
|
/*!
|
|
47067
47300
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47176,7 +47409,7 @@ var MurmurHash;
|
|
|
47176
47409
|
}
|
|
47177
47410
|
})(MurmurHash = exports.MurmurHash || (exports.MurmurHash = {}));
|
|
47178
47411
|
|
|
47179
|
-
},{}],
|
|
47412
|
+
},{}],301:[function(require,module,exports){
|
|
47180
47413
|
"use strict";
|
|
47181
47414
|
/*!
|
|
47182
47415
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47235,7 +47468,7 @@ __decorate([
|
|
|
47235
47468
|
], ObjectEqualityComparator.prototype, "equals", null);
|
|
47236
47469
|
exports.ObjectEqualityComparator = ObjectEqualityComparator;
|
|
47237
47470
|
|
|
47238
|
-
},{"../Decorators":
|
|
47471
|
+
},{"../Decorators":185}],302:[function(require,module,exports){
|
|
47239
47472
|
"use strict";
|
|
47240
47473
|
/*!
|
|
47241
47474
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47264,7 +47497,7 @@ class ParseCancellationException extends Error {
|
|
|
47264
47497
|
}
|
|
47265
47498
|
exports.ParseCancellationException = ParseCancellationException;
|
|
47266
47499
|
|
|
47267
|
-
},{}],
|
|
47500
|
+
},{}],303:[function(require,module,exports){
|
|
47268
47501
|
"use strict";
|
|
47269
47502
|
/*!
|
|
47270
47503
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47318,7 +47551,7 @@ class UUID {
|
|
|
47318
47551
|
}
|
|
47319
47552
|
exports.UUID = UUID;
|
|
47320
47553
|
|
|
47321
|
-
},{"./MurmurHash":
|
|
47554
|
+
},{"./MurmurHash":300}],304:[function(require,module,exports){
|
|
47322
47555
|
"use strict";
|
|
47323
47556
|
/*!
|
|
47324
47557
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47493,7 +47726,7 @@ exports.toCharArray = toCharArray;
|
|
|
47493
47726
|
// return s;
|
|
47494
47727
|
// }
|
|
47495
47728
|
|
|
47496
|
-
},{}],
|
|
47729
|
+
},{}],305:[function(require,module,exports){
|
|
47497
47730
|
"use strict";
|
|
47498
47731
|
/*!
|
|
47499
47732
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47529,7 +47762,7 @@ __decorate([
|
|
|
47529
47762
|
], ErrorNode.prototype, "accept", null);
|
|
47530
47763
|
exports.ErrorNode = ErrorNode;
|
|
47531
47764
|
|
|
47532
|
-
},{"../Decorators":
|
|
47765
|
+
},{"../Decorators":185,"./TerminalNode":308}],306:[function(require,module,exports){
|
|
47533
47766
|
"use strict";
|
|
47534
47767
|
/*!
|
|
47535
47768
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47634,7 +47867,7 @@ exports.ParseTreeWalker = ParseTreeWalker;
|
|
|
47634
47867
|
ParseTreeWalker.DEFAULT = new ParseTreeWalker();
|
|
47635
47868
|
})(ParseTreeWalker = exports.ParseTreeWalker || (exports.ParseTreeWalker = {}));
|
|
47636
47869
|
|
|
47637
|
-
},{"./ErrorNode":
|
|
47870
|
+
},{"./ErrorNode":305,"./RuleNode":307,"./TerminalNode":308}],307:[function(require,module,exports){
|
|
47638
47871
|
"use strict";
|
|
47639
47872
|
/*!
|
|
47640
47873
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47646,7 +47879,7 @@ class RuleNode {
|
|
|
47646
47879
|
}
|
|
47647
47880
|
exports.RuleNode = RuleNode;
|
|
47648
47881
|
|
|
47649
|
-
},{}],
|
|
47882
|
+
},{}],308:[function(require,module,exports){
|
|
47650
47883
|
"use strict";
|
|
47651
47884
|
/*!
|
|
47652
47885
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47738,7 +47971,7 @@ __decorate([
|
|
|
47738
47971
|
], TerminalNode.prototype, "toString", null);
|
|
47739
47972
|
exports.TerminalNode = TerminalNode;
|
|
47740
47973
|
|
|
47741
|
-
},{"../Decorators":
|
|
47974
|
+
},{"../Decorators":185,"../Token":210,"../misc/Interval":297}],309:[function(require,module,exports){
|
|
47742
47975
|
"use strict";
|
|
47743
47976
|
/*!
|
|
47744
47977
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -47982,7 +48215,7 @@ __decorate([
|
|
|
47982
48215
|
], Trees, "getRootOfSubtreeEnclosingRegion", null);
|
|
47983
48216
|
exports.Trees = Trees;
|
|
47984
48217
|
|
|
47985
|
-
},{"../CommonToken":
|
|
48218
|
+
},{"../CommonToken":181,"../Decorators":185,"../Parser":198,"../ParserRuleContext":201,"../Token":210,"../atn/ATN":218,"../misc/Utils":304,"./ErrorNode":305,"./RuleNode":307,"./TerminalNode":308}],310:[function(require,module,exports){
|
|
47986
48219
|
"use strict";
|
|
47987
48220
|
/*!
|
|
47988
48221
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48006,7 +48239,7 @@ class Chunk {
|
|
|
48006
48239
|
}
|
|
48007
48240
|
exports.Chunk = Chunk;
|
|
48008
48241
|
|
|
48009
|
-
},{}],
|
|
48242
|
+
},{}],311:[function(require,module,exports){
|
|
48010
48243
|
"use strict";
|
|
48011
48244
|
/*!
|
|
48012
48245
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48186,7 +48419,7 @@ ParseTreeMatch = __decorate([
|
|
|
48186
48419
|
], ParseTreeMatch);
|
|
48187
48420
|
exports.ParseTreeMatch = ParseTreeMatch;
|
|
48188
48421
|
|
|
48189
|
-
},{"../../Decorators":
|
|
48422
|
+
},{"../../Decorators":185}],312:[function(require,module,exports){
|
|
48190
48423
|
"use strict";
|
|
48191
48424
|
/*!
|
|
48192
48425
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48344,7 +48577,7 @@ ParseTreePattern = __decorate([
|
|
|
48344
48577
|
], ParseTreePattern);
|
|
48345
48578
|
exports.ParseTreePattern = ParseTreePattern;
|
|
48346
48579
|
|
|
48347
|
-
},{"../../Decorators":
|
|
48580
|
+
},{"../../Decorators":185,"../xpath/XPath":318}],313:[function(require,module,exports){
|
|
48348
48581
|
"use strict";
|
|
48349
48582
|
/*!
|
|
48350
48583
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -48822,7 +49055,7 @@ exports.ParseTreePatternMatcher = ParseTreePatternMatcher;
|
|
|
48822
49055
|
ParseTreePatternMatcher.StartRuleDoesNotConsumeFullPattern = StartRuleDoesNotConsumeFullPattern;
|
|
48823
49056
|
})(ParseTreePatternMatcher = exports.ParseTreePatternMatcher || (exports.ParseTreePatternMatcher = {}));
|
|
48824
49057
|
|
|
48825
|
-
},{"../../BailErrorStrategy":
|
|
49058
|
+
},{"../../BailErrorStrategy":175,"../../CharStreams":178,"../../CommonTokenStream":183,"../../Decorators":185,"../../ListTokenSource":196,"../../ParserInterpreter":200,"../../ParserRuleContext":201,"../../RecognitionException":204,"../../Token":210,"../../misc/MultiMap":299,"../../misc/ParseCancellationException":302,"../RuleNode":307,"../TerminalNode":308,"./ParseTreeMatch":311,"./ParseTreePattern":312,"./RuleTagToken":314,"./TagChunk":315,"./TextChunk":316,"./TokenTagToken":317}],314:[function(require,module,exports){
|
|
48826
49059
|
"use strict";
|
|
48827
49060
|
/*!
|
|
48828
49061
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49020,7 +49253,7 @@ RuleTagToken = __decorate([
|
|
|
49020
49253
|
], RuleTagToken);
|
|
49021
49254
|
exports.RuleTagToken = RuleTagToken;
|
|
49022
49255
|
|
|
49023
|
-
},{"../../Decorators":
|
|
49256
|
+
},{"../../Decorators":185,"../../Token":210}],315:[function(require,module,exports){
|
|
49024
49257
|
"use strict";
|
|
49025
49258
|
/*!
|
|
49026
49259
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49107,7 +49340,7 @@ __decorate([
|
|
|
49107
49340
|
], TagChunk.prototype, "toString", null);
|
|
49108
49341
|
exports.TagChunk = TagChunk;
|
|
49109
49342
|
|
|
49110
|
-
},{"../../Decorators":
|
|
49343
|
+
},{"../../Decorators":185,"./Chunk":310}],316:[function(require,module,exports){
|
|
49111
49344
|
"use strict";
|
|
49112
49345
|
/*!
|
|
49113
49346
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49177,7 +49410,7 @@ TextChunk = __decorate([
|
|
|
49177
49410
|
], TextChunk);
|
|
49178
49411
|
exports.TextChunk = TextChunk;
|
|
49179
49412
|
|
|
49180
|
-
},{"../../Decorators":
|
|
49413
|
+
},{"../../Decorators":185,"./Chunk":310}],317:[function(require,module,exports){
|
|
49181
49414
|
"use strict";
|
|
49182
49415
|
/*!
|
|
49183
49416
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49272,7 +49505,7 @@ TokenTagToken = __decorate([
|
|
|
49272
49505
|
], TokenTagToken);
|
|
49273
49506
|
exports.TokenTagToken = TokenTagToken;
|
|
49274
49507
|
|
|
49275
|
-
},{"../../CommonToken":
|
|
49508
|
+
},{"../../CommonToken":181,"../../Decorators":185}],318:[function(require,module,exports){
|
|
49276
49509
|
"use strict";
|
|
49277
49510
|
/*!
|
|
49278
49511
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49469,7 +49702,7 @@ exports.XPath = XPath;
|
|
|
49469
49702
|
XPath.WILDCARD = "*"; // word not operator/separator
|
|
49470
49703
|
XPath.NOT = "!"; // word for invert operator
|
|
49471
49704
|
|
|
49472
|
-
},{"../../CharStreams":
|
|
49705
|
+
},{"../../CharStreams":178,"../../CommonTokenStream":183,"../../LexerNoViableAltException":195,"../../ParserRuleContext":201,"../../Token":210,"./XPathLexer":320,"./XPathLexerErrorListener":321,"./XPathRuleAnywhereElement":322,"./XPathRuleElement":323,"./XPathTokenAnywhereElement":324,"./XPathTokenElement":325,"./XPathWildcardAnywhereElement":326,"./XPathWildcardElement":327}],319:[function(require,module,exports){
|
|
49473
49706
|
"use strict";
|
|
49474
49707
|
/*!
|
|
49475
49708
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -49504,7 +49737,7 @@ __decorate([
|
|
|
49504
49737
|
], XPathElement.prototype, "toString", null);
|
|
49505
49738
|
exports.XPathElement = XPathElement;
|
|
49506
49739
|
|
|
49507
|
-
},{"../../Decorators":
|
|
49740
|
+
},{"../../Decorators":185}],320:[function(require,module,exports){
|
|
49508
49741
|
"use strict";
|
|
49509
49742
|
// Generated from XPathLexer.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
49510
49743
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -49979,7 +50212,7 @@ XPathLexer._serializedATN = Utils.join([
|
|
|
49979
50212
|
XPathLexer._serializedATNSegment1,
|
|
49980
50213
|
], "");
|
|
49981
50214
|
|
|
49982
|
-
},{"../../Lexer":
|
|
50215
|
+
},{"../../Lexer":193,"../../VocabularyImpl":216,"../../atn/ATNDeserializer":222,"../../atn/LexerATNSimulator":243,"../../misc/Utils":304}],321:[function(require,module,exports){
|
|
49983
50216
|
"use strict";
|
|
49984
50217
|
/*!
|
|
49985
50218
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50004,7 +50237,7 @@ __decorate([
|
|
|
50004
50237
|
], XPathLexerErrorListener.prototype, "syntaxError", null);
|
|
50005
50238
|
exports.XPathLexerErrorListener = XPathLexerErrorListener;
|
|
50006
50239
|
|
|
50007
|
-
},{"../../Decorators":
|
|
50240
|
+
},{"../../Decorators":185}],322:[function(require,module,exports){
|
|
50008
50241
|
"use strict";
|
|
50009
50242
|
/*!
|
|
50010
50243
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50038,7 +50271,7 @@ __decorate([
|
|
|
50038
50271
|
], XPathRuleAnywhereElement.prototype, "evaluate", null);
|
|
50039
50272
|
exports.XPathRuleAnywhereElement = XPathRuleAnywhereElement;
|
|
50040
50273
|
|
|
50041
|
-
},{"../../Decorators":
|
|
50274
|
+
},{"../../Decorators":185,"../Trees":309,"./XPathElement":319}],323:[function(require,module,exports){
|
|
50042
50275
|
"use strict";
|
|
50043
50276
|
/*!
|
|
50044
50277
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50081,7 +50314,7 @@ __decorate([
|
|
|
50081
50314
|
], XPathRuleElement.prototype, "evaluate", null);
|
|
50082
50315
|
exports.XPathRuleElement = XPathRuleElement;
|
|
50083
50316
|
|
|
50084
|
-
},{"../../Decorators":
|
|
50317
|
+
},{"../../Decorators":185,"../../ParserRuleContext":201,"../Trees":309,"./XPathElement":319}],324:[function(require,module,exports){
|
|
50085
50318
|
"use strict";
|
|
50086
50319
|
/*!
|
|
50087
50320
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50113,7 +50346,7 @@ __decorate([
|
|
|
50113
50346
|
], XPathTokenAnywhereElement.prototype, "evaluate", null);
|
|
50114
50347
|
exports.XPathTokenAnywhereElement = XPathTokenAnywhereElement;
|
|
50115
50348
|
|
|
50116
|
-
},{"../../Decorators":
|
|
50349
|
+
},{"../../Decorators":185,"../Trees":309,"./XPathElement":319}],325:[function(require,module,exports){
|
|
50117
50350
|
"use strict";
|
|
50118
50351
|
/*!
|
|
50119
50352
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50156,7 +50389,7 @@ __decorate([
|
|
|
50156
50389
|
], XPathTokenElement.prototype, "evaluate", null);
|
|
50157
50390
|
exports.XPathTokenElement = XPathTokenElement;
|
|
50158
50391
|
|
|
50159
|
-
},{"../../Decorators":
|
|
50392
|
+
},{"../../Decorators":185,"../TerminalNode":308,"../Trees":309,"./XPathElement":319}],326:[function(require,module,exports){
|
|
50160
50393
|
"use strict";
|
|
50161
50394
|
/*!
|
|
50162
50395
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50192,7 +50425,7 @@ __decorate([
|
|
|
50192
50425
|
], XPathWildcardAnywhereElement.prototype, "evaluate", null);
|
|
50193
50426
|
exports.XPathWildcardAnywhereElement = XPathWildcardAnywhereElement;
|
|
50194
50427
|
|
|
50195
|
-
},{"../../Decorators":
|
|
50428
|
+
},{"../../Decorators":185,"../Trees":309,"./XPath":318,"./XPathElement":319}],327:[function(require,module,exports){
|
|
50196
50429
|
"use strict";
|
|
50197
50430
|
/*!
|
|
50198
50431
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
@@ -50232,7 +50465,7 @@ __decorate([
|
|
|
50232
50465
|
], XPathWildcardElement.prototype, "evaluate", null);
|
|
50233
50466
|
exports.XPathWildcardElement = XPathWildcardElement;
|
|
50234
50467
|
|
|
50235
|
-
},{"../../Decorators":
|
|
50468
|
+
},{"../../Decorators":185,"../Trees":309,"./XPath":318,"./XPathElement":319}],328:[function(require,module,exports){
|
|
50236
50469
|
(function (global){(function (){
|
|
50237
50470
|
'use strict';
|
|
50238
50471
|
|
|
@@ -50742,7 +50975,7 @@ var objectKeys = Object.keys || function (obj) {
|
|
|
50742
50975
|
};
|
|
50743
50976
|
|
|
50744
50977
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
50745
|
-
},{"object.assign/polyfill":
|
|
50978
|
+
},{"object.assign/polyfill":369,"util/":331}],329:[function(require,module,exports){
|
|
50746
50979
|
if (typeof Object.create === 'function') {
|
|
50747
50980
|
// implementation from standard node.js 'util' module
|
|
50748
50981
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -50767,14 +51000,14 @@ if (typeof Object.create === 'function') {
|
|
|
50767
51000
|
}
|
|
50768
51001
|
}
|
|
50769
51002
|
|
|
50770
|
-
},{}],
|
|
51003
|
+
},{}],330:[function(require,module,exports){
|
|
50771
51004
|
module.exports = function isBuffer(arg) {
|
|
50772
51005
|
return arg && typeof arg === 'object'
|
|
50773
51006
|
&& typeof arg.copy === 'function'
|
|
50774
51007
|
&& typeof arg.fill === 'function'
|
|
50775
51008
|
&& typeof arg.readUInt8 === 'function';
|
|
50776
51009
|
}
|
|
50777
|
-
},{}],
|
|
51010
|
+
},{}],331:[function(require,module,exports){
|
|
50778
51011
|
(function (process,global){(function (){
|
|
50779
51012
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
50780
51013
|
//
|
|
@@ -51364,7 +51597,7 @@ function hasOwnProperty(obj, prop) {
|
|
|
51364
51597
|
}
|
|
51365
51598
|
|
|
51366
51599
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51367
|
-
},{"./support/isBuffer":
|
|
51600
|
+
},{"./support/isBuffer":330,"_process":371,"inherits":329}],332:[function(require,module,exports){
|
|
51368
51601
|
(function (process,global){(function (){
|
|
51369
51602
|
module.exports = process.hrtime || hrtime
|
|
51370
51603
|
|
|
@@ -51395,7 +51628,7 @@ function hrtime(previousTimestamp){
|
|
|
51395
51628
|
return [seconds,nanoseconds]
|
|
51396
51629
|
}
|
|
51397
51630
|
}).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
51398
|
-
},{"_process":
|
|
51631
|
+
},{"_process":371}],333:[function(require,module,exports){
|
|
51399
51632
|
'use strict';
|
|
51400
51633
|
|
|
51401
51634
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -51412,7 +51645,7 @@ module.exports = function callBoundIntrinsic(name, allowMissing) {
|
|
|
51412
51645
|
return intrinsic;
|
|
51413
51646
|
};
|
|
51414
51647
|
|
|
51415
|
-
},{"./":
|
|
51648
|
+
},{"./":334,"get-intrinsic":350}],334:[function(require,module,exports){
|
|
51416
51649
|
'use strict';
|
|
51417
51650
|
|
|
51418
51651
|
var bind = require('function-bind');
|
|
@@ -51461,7 +51694,7 @@ if ($defineProperty) {
|
|
|
51461
51694
|
module.exports.apply = applyBind;
|
|
51462
51695
|
}
|
|
51463
51696
|
|
|
51464
|
-
},{"function-bind":
|
|
51697
|
+
},{"function-bind":349,"get-intrinsic":350}],335:[function(require,module,exports){
|
|
51465
51698
|
'use strict';
|
|
51466
51699
|
|
|
51467
51700
|
var $defineProperty = require('es-define-property');
|
|
@@ -51519,7 +51752,7 @@ module.exports = function defineDataProperty(
|
|
|
51519
51752
|
}
|
|
51520
51753
|
};
|
|
51521
51754
|
|
|
51522
|
-
},{"es-define-property":
|
|
51755
|
+
},{"es-define-property":336,"es-errors/syntax":344,"es-errors/type":345,"gopd":351}],336:[function(require,module,exports){
|
|
51523
51756
|
'use strict';
|
|
51524
51757
|
|
|
51525
51758
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -51537,7 +51770,7 @@ if ($defineProperty) {
|
|
|
51537
51770
|
|
|
51538
51771
|
module.exports = $defineProperty;
|
|
51539
51772
|
|
|
51540
|
-
},{"get-intrinsic":
|
|
51773
|
+
},{"get-intrinsic":339}],337:[function(require,module,exports){
|
|
51541
51774
|
'use strict';
|
|
51542
51775
|
|
|
51543
51776
|
/* eslint no-invalid-this: 1 */
|
|
@@ -51623,14 +51856,14 @@ module.exports = function bind(that) {
|
|
|
51623
51856
|
return bound;
|
|
51624
51857
|
};
|
|
51625
51858
|
|
|
51626
|
-
},{}],
|
|
51859
|
+
},{}],338:[function(require,module,exports){
|
|
51627
51860
|
'use strict';
|
|
51628
51861
|
|
|
51629
51862
|
var implementation = require('./implementation');
|
|
51630
51863
|
|
|
51631
51864
|
module.exports = Function.prototype.bind || implementation;
|
|
51632
51865
|
|
|
51633
|
-
},{"./implementation":
|
|
51866
|
+
},{"./implementation":337}],339:[function(require,module,exports){
|
|
51634
51867
|
'use strict';
|
|
51635
51868
|
|
|
51636
51869
|
var undefined;
|
|
@@ -51991,49 +52224,49 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
51991
52224
|
return value;
|
|
51992
52225
|
};
|
|
51993
52226
|
|
|
51994
|
-
},{"es-errors":
|
|
52227
|
+
},{"es-errors":341,"es-errors/eval":340,"es-errors/range":342,"es-errors/ref":343,"es-errors/syntax":344,"es-errors/type":345,"es-errors/uri":346,"function-bind":338,"has-proto":352,"has-symbols":353,"hasown":357}],340:[function(require,module,exports){
|
|
51995
52228
|
'use strict';
|
|
51996
52229
|
|
|
51997
52230
|
/** @type {import('./eval')} */
|
|
51998
52231
|
module.exports = EvalError;
|
|
51999
52232
|
|
|
52000
|
-
},{}],
|
|
52233
|
+
},{}],341:[function(require,module,exports){
|
|
52001
52234
|
'use strict';
|
|
52002
52235
|
|
|
52003
52236
|
/** @type {import('.')} */
|
|
52004
52237
|
module.exports = Error;
|
|
52005
52238
|
|
|
52006
|
-
},{}],
|
|
52239
|
+
},{}],342:[function(require,module,exports){
|
|
52007
52240
|
'use strict';
|
|
52008
52241
|
|
|
52009
52242
|
/** @type {import('./range')} */
|
|
52010
52243
|
module.exports = RangeError;
|
|
52011
52244
|
|
|
52012
|
-
},{}],
|
|
52245
|
+
},{}],343:[function(require,module,exports){
|
|
52013
52246
|
'use strict';
|
|
52014
52247
|
|
|
52015
52248
|
/** @type {import('./ref')} */
|
|
52016
52249
|
module.exports = ReferenceError;
|
|
52017
52250
|
|
|
52018
|
-
},{}],
|
|
52251
|
+
},{}],344:[function(require,module,exports){
|
|
52019
52252
|
'use strict';
|
|
52020
52253
|
|
|
52021
52254
|
/** @type {import('./syntax')} */
|
|
52022
52255
|
module.exports = SyntaxError;
|
|
52023
52256
|
|
|
52024
|
-
},{}],
|
|
52257
|
+
},{}],345:[function(require,module,exports){
|
|
52025
52258
|
'use strict';
|
|
52026
52259
|
|
|
52027
52260
|
/** @type {import('./type')} */
|
|
52028
52261
|
module.exports = TypeError;
|
|
52029
52262
|
|
|
52030
|
-
},{}],
|
|
52263
|
+
},{}],346:[function(require,module,exports){
|
|
52031
52264
|
'use strict';
|
|
52032
52265
|
|
|
52033
52266
|
/** @type {import('./uri')} */
|
|
52034
52267
|
module.exports = URIError;
|
|
52035
52268
|
|
|
52036
|
-
},{}],
|
|
52269
|
+
},{}],347:[function(require,module,exports){
|
|
52037
52270
|
'use strict';
|
|
52038
52271
|
|
|
52039
52272
|
var isCallable = require('is-callable');
|
|
@@ -52097,7 +52330,7 @@ var forEach = function forEach(list, iterator, thisArg) {
|
|
|
52097
52330
|
|
|
52098
52331
|
module.exports = forEach;
|
|
52099
52332
|
|
|
52100
|
-
},{"is-callable":
|
|
52333
|
+
},{"is-callable":362}],348:[function(require,module,exports){
|
|
52101
52334
|
'use strict';
|
|
52102
52335
|
|
|
52103
52336
|
/* eslint no-invalid-this: 1 */
|
|
@@ -52151,9 +52384,9 @@ module.exports = function bind(that) {
|
|
|
52151
52384
|
return bound;
|
|
52152
52385
|
};
|
|
52153
52386
|
|
|
52154
|
-
},{}],
|
|
52155
|
-
arguments[4][
|
|
52156
|
-
},{"./implementation":
|
|
52387
|
+
},{}],349:[function(require,module,exports){
|
|
52388
|
+
arguments[4][338][0].apply(exports,arguments)
|
|
52389
|
+
},{"./implementation":348,"dup":338}],350:[function(require,module,exports){
|
|
52157
52390
|
'use strict';
|
|
52158
52391
|
|
|
52159
52392
|
var undefined;
|
|
@@ -52499,7 +52732,7 @@ module.exports = function GetIntrinsic(name, allowMissing) {
|
|
|
52499
52732
|
return value;
|
|
52500
52733
|
};
|
|
52501
52734
|
|
|
52502
|
-
},{"function-bind":
|
|
52735
|
+
},{"function-bind":349,"has":356,"has-symbols":353}],351:[function(require,module,exports){
|
|
52503
52736
|
'use strict';
|
|
52504
52737
|
|
|
52505
52738
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -52517,7 +52750,7 @@ if ($gOPD) {
|
|
|
52517
52750
|
|
|
52518
52751
|
module.exports = $gOPD;
|
|
52519
52752
|
|
|
52520
|
-
},{"get-intrinsic":
|
|
52753
|
+
},{"get-intrinsic":350}],352:[function(require,module,exports){
|
|
52521
52754
|
'use strict';
|
|
52522
52755
|
|
|
52523
52756
|
var test = {
|
|
@@ -52530,7 +52763,7 @@ module.exports = function hasProto() {
|
|
|
52530
52763
|
return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
|
|
52531
52764
|
};
|
|
52532
52765
|
|
|
52533
|
-
},{}],
|
|
52766
|
+
},{}],353:[function(require,module,exports){
|
|
52534
52767
|
'use strict';
|
|
52535
52768
|
|
|
52536
52769
|
var origSymbol = typeof Symbol !== 'undefined' && Symbol;
|
|
@@ -52545,7 +52778,7 @@ module.exports = function hasNativeSymbols() {
|
|
|
52545
52778
|
return hasSymbolSham();
|
|
52546
52779
|
};
|
|
52547
52780
|
|
|
52548
|
-
},{"./shams":
|
|
52781
|
+
},{"./shams":354}],354:[function(require,module,exports){
|
|
52549
52782
|
'use strict';
|
|
52550
52783
|
|
|
52551
52784
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
@@ -52589,7 +52822,7 @@ module.exports = function hasSymbols() {
|
|
|
52589
52822
|
return true;
|
|
52590
52823
|
};
|
|
52591
52824
|
|
|
52592
|
-
},{}],
|
|
52825
|
+
},{}],355:[function(require,module,exports){
|
|
52593
52826
|
'use strict';
|
|
52594
52827
|
|
|
52595
52828
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -52598,14 +52831,14 @@ module.exports = function hasToStringTagShams() {
|
|
|
52598
52831
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
52599
52832
|
};
|
|
52600
52833
|
|
|
52601
|
-
},{"has-symbols/shams":
|
|
52834
|
+
},{"has-symbols/shams":354}],356:[function(require,module,exports){
|
|
52602
52835
|
'use strict';
|
|
52603
52836
|
|
|
52604
52837
|
var bind = require('function-bind');
|
|
52605
52838
|
|
|
52606
52839
|
module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
52607
52840
|
|
|
52608
|
-
},{"function-bind":
|
|
52841
|
+
},{"function-bind":349}],357:[function(require,module,exports){
|
|
52609
52842
|
'use strict';
|
|
52610
52843
|
|
|
52611
52844
|
var call = Function.prototype.call;
|
|
@@ -52615,11 +52848,11 @@ var bind = require('function-bind');
|
|
|
52615
52848
|
/** @type {import('.')} */
|
|
52616
52849
|
module.exports = bind.call(call, $hasOwn);
|
|
52617
52850
|
|
|
52618
|
-
},{"function-bind":
|
|
52619
|
-
arguments[4][336][0].apply(exports,arguments)
|
|
52620
|
-
},{"dup":336}],358:[function(require,module,exports){
|
|
52851
|
+
},{"function-bind":359}],358:[function(require,module,exports){
|
|
52621
52852
|
arguments[4][337][0].apply(exports,arguments)
|
|
52622
|
-
},{"
|
|
52853
|
+
},{"dup":337}],359:[function(require,module,exports){
|
|
52854
|
+
arguments[4][338][0].apply(exports,arguments)
|
|
52855
|
+
},{"./implementation":358,"dup":338}],360:[function(require,module,exports){
|
|
52623
52856
|
if (typeof Object.create === 'function') {
|
|
52624
52857
|
// implementation from standard node.js 'util' module
|
|
52625
52858
|
module.exports = function inherits(ctor, superCtor) {
|
|
@@ -52648,7 +52881,7 @@ if (typeof Object.create === 'function') {
|
|
|
52648
52881
|
}
|
|
52649
52882
|
}
|
|
52650
52883
|
|
|
52651
|
-
},{}],
|
|
52884
|
+
},{}],361:[function(require,module,exports){
|
|
52652
52885
|
'use strict';
|
|
52653
52886
|
|
|
52654
52887
|
var hasToStringTag = require('has-tostringtag/shams')();
|
|
@@ -52683,7 +52916,7 @@ isStandardArguments.isLegacyArguments = isLegacyArguments; // for tests
|
|
|
52683
52916
|
|
|
52684
52917
|
module.exports = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
|
|
52685
52918
|
|
|
52686
|
-
},{"call-bind/callBound":
|
|
52919
|
+
},{"call-bind/callBound":333,"has-tostringtag/shams":355}],362:[function(require,module,exports){
|
|
52687
52920
|
'use strict';
|
|
52688
52921
|
|
|
52689
52922
|
var fnToStr = Function.prototype.toString;
|
|
@@ -52786,7 +53019,7 @@ module.exports = reflectApply
|
|
|
52786
53019
|
return tryFunctionObject(value);
|
|
52787
53020
|
};
|
|
52788
53021
|
|
|
52789
|
-
},{}],
|
|
53022
|
+
},{}],363:[function(require,module,exports){
|
|
52790
53023
|
'use strict';
|
|
52791
53024
|
|
|
52792
53025
|
var toStr = Object.prototype.toString;
|
|
@@ -52826,7 +53059,7 @@ module.exports = function isGeneratorFunction(fn) {
|
|
|
52826
53059
|
return getProto(fn) === GeneratorFunction;
|
|
52827
53060
|
};
|
|
52828
53061
|
|
|
52829
|
-
},{"has-tostringtag/shams":
|
|
53062
|
+
},{"has-tostringtag/shams":355}],364:[function(require,module,exports){
|
|
52830
53063
|
(function (global){(function (){
|
|
52831
53064
|
/**
|
|
52832
53065
|
* @license
|
|
@@ -70039,7 +70272,7 @@ module.exports = function isGeneratorFunction(fn) {
|
|
|
70039
70272
|
}.call(this));
|
|
70040
70273
|
|
|
70041
70274
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
70042
|
-
},{}],
|
|
70275
|
+
},{}],365:[function(require,module,exports){
|
|
70043
70276
|
'use strict';
|
|
70044
70277
|
|
|
70045
70278
|
var keysShim;
|
|
@@ -70163,7 +70396,7 @@ if (!Object.keys) {
|
|
|
70163
70396
|
}
|
|
70164
70397
|
module.exports = keysShim;
|
|
70165
70398
|
|
|
70166
|
-
},{"./isArguments":
|
|
70399
|
+
},{"./isArguments":367}],366:[function(require,module,exports){
|
|
70167
70400
|
'use strict';
|
|
70168
70401
|
|
|
70169
70402
|
var slice = Array.prototype.slice;
|
|
@@ -70197,7 +70430,7 @@ keysShim.shim = function shimObjectKeys() {
|
|
|
70197
70430
|
|
|
70198
70431
|
module.exports = keysShim;
|
|
70199
70432
|
|
|
70200
|
-
},{"./implementation":
|
|
70433
|
+
},{"./implementation":365,"./isArguments":367}],367:[function(require,module,exports){
|
|
70201
70434
|
'use strict';
|
|
70202
70435
|
|
|
70203
70436
|
var toStr = Object.prototype.toString;
|
|
@@ -70216,7 +70449,7 @@ module.exports = function isArguments(value) {
|
|
|
70216
70449
|
return isArgs;
|
|
70217
70450
|
};
|
|
70218
70451
|
|
|
70219
|
-
},{}],
|
|
70452
|
+
},{}],368:[function(require,module,exports){
|
|
70220
70453
|
'use strict';
|
|
70221
70454
|
|
|
70222
70455
|
// modified from https://github.com/es-shims/es6-shim
|
|
@@ -70264,7 +70497,7 @@ module.exports = function assign(target, source1) {
|
|
|
70264
70497
|
return to; // step 4
|
|
70265
70498
|
};
|
|
70266
70499
|
|
|
70267
|
-
},{"call-bind/callBound":
|
|
70500
|
+
},{"call-bind/callBound":333,"has-symbols/shams":354,"object-keys":366}],369:[function(require,module,exports){
|
|
70268
70501
|
'use strict';
|
|
70269
70502
|
|
|
70270
70503
|
var implementation = require('./implementation');
|
|
@@ -70321,7 +70554,7 @@ module.exports = function getPolyfill() {
|
|
|
70321
70554
|
return Object.assign;
|
|
70322
70555
|
};
|
|
70323
70556
|
|
|
70324
|
-
},{"./implementation":
|
|
70557
|
+
},{"./implementation":368}],370:[function(require,module,exports){
|
|
70325
70558
|
'use strict';
|
|
70326
70559
|
|
|
70327
70560
|
/** @type {import('.')} */
|
|
@@ -70339,7 +70572,7 @@ module.exports = [
|
|
|
70339
70572
|
'BigUint64Array'
|
|
70340
70573
|
];
|
|
70341
70574
|
|
|
70342
|
-
},{}],
|
|
70575
|
+
},{}],371:[function(require,module,exports){
|
|
70343
70576
|
// shim for using process in browser
|
|
70344
70577
|
var process = module.exports = {};
|
|
70345
70578
|
|
|
@@ -70525,7 +70758,7 @@ process.chdir = function (dir) {
|
|
|
70525
70758
|
};
|
|
70526
70759
|
process.umask = function() { return 0; };
|
|
70527
70760
|
|
|
70528
|
-
},{}],
|
|
70761
|
+
},{}],372:[function(require,module,exports){
|
|
70529
70762
|
'use strict';
|
|
70530
70763
|
|
|
70531
70764
|
var GetIntrinsic = require('get-intrinsic');
|
|
@@ -70569,13 +70802,13 @@ module.exports = function setFunctionLength(fn, length) {
|
|
|
70569
70802
|
return fn;
|
|
70570
70803
|
};
|
|
70571
70804
|
|
|
70572
|
-
},{"define-data-property":
|
|
70573
|
-
arguments[4][336][0].apply(exports,arguments)
|
|
70574
|
-
},{"dup":336}],373:[function(require,module,exports){
|
|
70805
|
+
},{"define-data-property":335,"es-errors/type":345,"get-intrinsic":375,"gopd":351,"has-property-descriptors":376}],373:[function(require,module,exports){
|
|
70575
70806
|
arguments[4][337][0].apply(exports,arguments)
|
|
70576
|
-
},{"
|
|
70807
|
+
},{"dup":337}],374:[function(require,module,exports){
|
|
70577
70808
|
arguments[4][338][0].apply(exports,arguments)
|
|
70578
|
-
},{"
|
|
70809
|
+
},{"./implementation":373,"dup":338}],375:[function(require,module,exports){
|
|
70810
|
+
arguments[4][339][0].apply(exports,arguments)
|
|
70811
|
+
},{"dup":339,"es-errors":341,"es-errors/eval":340,"es-errors/range":342,"es-errors/ref":343,"es-errors/syntax":344,"es-errors/type":345,"es-errors/uri":346,"function-bind":374,"has-proto":352,"has-symbols":353,"hasown":357}],376:[function(require,module,exports){
|
|
70579
70812
|
'use strict';
|
|
70580
70813
|
|
|
70581
70814
|
var $defineProperty = require('es-define-property');
|
|
@@ -70599,7 +70832,7 @@ hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBu
|
|
|
70599
70832
|
|
|
70600
70833
|
module.exports = hasPropertyDescriptors;
|
|
70601
70834
|
|
|
70602
|
-
},{"es-define-property":
|
|
70835
|
+
},{"es-define-property":336}],377:[function(require,module,exports){
|
|
70603
70836
|
'use strict';
|
|
70604
70837
|
|
|
70605
70838
|
var whichTypedArray = require('which-typed-array');
|
|
@@ -70609,9 +70842,9 @@ module.exports = function isTypedArray(value) {
|
|
|
70609
70842
|
return !!whichTypedArray(value);
|
|
70610
70843
|
};
|
|
70611
70844
|
|
|
70612
|
-
},{"which-typed-array":
|
|
70613
|
-
arguments[4][
|
|
70614
|
-
},{"dup":
|
|
70845
|
+
},{"which-typed-array":381}],378:[function(require,module,exports){
|
|
70846
|
+
arguments[4][330][0].apply(exports,arguments)
|
|
70847
|
+
},{"dup":330}],379:[function(require,module,exports){
|
|
70615
70848
|
// Currently in sync with Node.js lib/internal/util/types.js
|
|
70616
70849
|
// https://github.com/nodejs/node/commit/112cc7c27551254aa2b17098fb774867f05ed0d9
|
|
70617
70850
|
|
|
@@ -70947,7 +71180,7 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
|
70947
71180
|
});
|
|
70948
71181
|
});
|
|
70949
71182
|
|
|
70950
|
-
},{"is-arguments":
|
|
71183
|
+
},{"is-arguments":361,"is-generator-function":363,"is-typed-array":377,"which-typed-array":381}],380:[function(require,module,exports){
|
|
70951
71184
|
(function (process){(function (){
|
|
70952
71185
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
70953
71186
|
//
|
|
@@ -71666,7 +71899,7 @@ function callbackify(original) {
|
|
|
71666
71899
|
exports.callbackify = callbackify;
|
|
71667
71900
|
|
|
71668
71901
|
}).call(this)}).call(this,require('_process'))
|
|
71669
|
-
},{"./support/isBuffer":
|
|
71902
|
+
},{"./support/isBuffer":378,"./support/types":379,"_process":371,"inherits":360}],381:[function(require,module,exports){
|
|
71670
71903
|
(function (global){(function (){
|
|
71671
71904
|
'use strict';
|
|
71672
71905
|
|
|
@@ -71786,7 +72019,7 @@ module.exports = function whichTypedArray(value) {
|
|
|
71786
72019
|
};
|
|
71787
72020
|
|
|
71788
72021
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
71789
|
-
},{"available-typed-arrays":
|
|
72022
|
+
},{"available-typed-arrays":382,"call-bind":384,"call-bind/callBound":383,"for-each":347,"gopd":351,"has-tostringtag/shams":388}],382:[function(require,module,exports){
|
|
71790
72023
|
(function (global){(function (){
|
|
71791
72024
|
'use strict';
|
|
71792
72025
|
|
|
@@ -71807,9 +72040,9 @@ module.exports = function availableTypedArrays() {
|
|
|
71807
72040
|
};
|
|
71808
72041
|
|
|
71809
72042
|
}).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
71810
|
-
},{"possible-typed-array-names":
|
|
71811
|
-
arguments[4][
|
|
71812
|
-
},{"./":
|
|
72043
|
+
},{"possible-typed-array-names":370}],383:[function(require,module,exports){
|
|
72044
|
+
arguments[4][333][0].apply(exports,arguments)
|
|
72045
|
+
},{"./":384,"dup":333,"get-intrinsic":387}],384:[function(require,module,exports){
|
|
71813
72046
|
'use strict';
|
|
71814
72047
|
|
|
71815
72048
|
var bind = require('function-bind');
|
|
@@ -71846,13 +72079,13 @@ if ($defineProperty) {
|
|
|
71846
72079
|
module.exports.apply = applyBind;
|
|
71847
72080
|
}
|
|
71848
72081
|
|
|
71849
|
-
},{"es-define-property":
|
|
71850
|
-
arguments[4][336][0].apply(exports,arguments)
|
|
71851
|
-
},{"dup":336}],385:[function(require,module,exports){
|
|
72082
|
+
},{"es-define-property":336,"es-errors/type":345,"function-bind":386,"get-intrinsic":387,"set-function-length":372}],385:[function(require,module,exports){
|
|
71852
72083
|
arguments[4][337][0].apply(exports,arguments)
|
|
71853
|
-
},{"
|
|
72084
|
+
},{"dup":337}],386:[function(require,module,exports){
|
|
71854
72085
|
arguments[4][338][0].apply(exports,arguments)
|
|
71855
|
-
},{"
|
|
72086
|
+
},{"./implementation":385,"dup":338}],387:[function(require,module,exports){
|
|
72087
|
+
arguments[4][339][0].apply(exports,arguments)
|
|
72088
|
+
},{"dup":339,"es-errors":341,"es-errors/eval":340,"es-errors/range":342,"es-errors/ref":343,"es-errors/syntax":344,"es-errors/type":345,"es-errors/uri":346,"function-bind":386,"has-proto":352,"has-symbols":353,"hasown":357}],388:[function(require,module,exports){
|
|
71856
72089
|
'use strict';
|
|
71857
72090
|
|
|
71858
72091
|
var hasSymbols = require('has-symbols/shams');
|
|
@@ -71862,5 +72095,5 @@ module.exports = function hasToStringTagShams() {
|
|
|
71862
72095
|
return hasSymbols() && !!Symbol.toStringTag;
|
|
71863
72096
|
};
|
|
71864
72097
|
|
|
71865
|
-
},{"has-symbols/shams":
|
|
72098
|
+
},{"has-symbols/shams":354}]},{},[111])(111)
|
|
71866
72099
|
});
|