@designliquido/delegua 0.3.0 → 0.4.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/bin/package.json +3 -1
- package/fontes/ambiente.js.map +1 -1
- package/fontes/avaliador-sintatico/avaliador-sintatico.d.ts +6 -5
- package/fontes/avaliador-sintatico/avaliador-sintatico.js +55 -41
- package/fontes/avaliador-sintatico/avaliador-sintatico.js.map +1 -1
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.d.ts +4 -3
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js +38 -37
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js.map +1 -1
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-eguap.d.ts +4 -3
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-eguap.js +38 -37
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-eguap.js.map +1 -1
- package/fontes/bibliotecas/biblioteca-global.d.ts +2 -2
- package/fontes/bibliotecas/biblioteca-global.js.map +1 -1
- package/fontes/construtos/acesso-indice-variavel.d.ts +2 -1
- package/fontes/construtos/acesso-indice-variavel.js +2 -1
- package/fontes/construtos/acesso-indice-variavel.js.map +1 -1
- package/fontes/construtos/acesso-metodo.d.ts +4 -3
- package/fontes/construtos/acesso-metodo.js +2 -1
- package/fontes/construtos/acesso-metodo.js.map +1 -1
- package/fontes/construtos/agrupamento.d.ts +2 -1
- package/fontes/construtos/agrupamento.js +2 -1
- package/fontes/construtos/agrupamento.js.map +1 -1
- package/fontes/construtos/atribuicao-sobrescrita.d.ts +2 -1
- package/fontes/construtos/atribuicao-sobrescrita.js +2 -1
- package/fontes/construtos/atribuicao-sobrescrita.js.map +1 -1
- package/fontes/construtos/atribuir.d.ts +2 -1
- package/fontes/construtos/atribuir.js +2 -1
- package/fontes/construtos/atribuir.js.map +1 -1
- package/fontes/construtos/binario.d.ts +2 -1
- package/fontes/construtos/binario.js +2 -1
- package/fontes/construtos/binario.js.map +1 -1
- package/fontes/construtos/chamada.d.ts +2 -1
- package/fontes/construtos/chamada.js +2 -1
- package/fontes/construtos/chamada.js.map +1 -1
- package/fontes/construtos/conjunto.d.ts +2 -1
- package/fontes/construtos/conjunto.js +2 -1
- package/fontes/construtos/conjunto.js.map +1 -1
- package/fontes/construtos/construto.d.ts +1 -0
- package/fontes/construtos/dicionario.d.ts +2 -1
- package/fontes/construtos/dicionario.js +2 -1
- package/fontes/construtos/dicionario.js.map +1 -1
- package/fontes/construtos/funcao.d.ts +2 -1
- package/fontes/construtos/funcao.js +2 -1
- package/fontes/construtos/funcao.js.map +1 -1
- package/fontes/construtos/isto.d.ts +2 -1
- package/fontes/construtos/isto.js +2 -1
- package/fontes/construtos/isto.js.map +1 -1
- package/fontes/construtos/literal.d.ts +2 -1
- package/fontes/construtos/literal.js +2 -1
- package/fontes/construtos/literal.js.map +1 -1
- package/fontes/construtos/logico.d.ts +2 -1
- package/fontes/construtos/logico.js +2 -1
- package/fontes/construtos/logico.js.map +1 -1
- package/fontes/construtos/super.d.ts +4 -2
- package/fontes/construtos/super.js +4 -3
- package/fontes/construtos/super.js.map +1 -1
- package/fontes/construtos/unario.d.ts +2 -1
- package/fontes/construtos/unario.js +2 -1
- package/fontes/construtos/unario.js.map +1 -1
- package/fontes/construtos/variavel.d.ts +2 -1
- package/fontes/construtos/variavel.js +2 -1
- package/fontes/construtos/variavel.js.map +1 -1
- package/fontes/construtos/vetor.d.ts +2 -1
- package/fontes/construtos/vetor.js +2 -1
- package/fontes/construtos/vetor.js.map +1 -1
- package/fontes/declaracoes/bloco.js +1 -1
- package/fontes/declaracoes/bloco.js.map +1 -1
- package/fontes/declaracoes/classe.js +1 -1
- package/fontes/declaracoes/classe.js.map +1 -1
- package/fontes/declaracoes/continua.d.ts +2 -1
- package/fontes/declaracoes/continua.js +2 -2
- package/fontes/declaracoes/continua.js.map +1 -1
- package/fontes/declaracoes/declaracao.d.ts +2 -1
- package/fontes/declaracoes/declaracao.js +2 -1
- package/fontes/declaracoes/declaracao.js.map +1 -1
- package/fontes/declaracoes/enquanto.d.ts +3 -2
- package/fontes/declaracoes/enquanto.js +1 -1
- package/fontes/declaracoes/enquanto.js.map +1 -1
- package/fontes/declaracoes/escolha.d.ts +2 -1
- package/fontes/declaracoes/escolha.js +1 -1
- package/fontes/declaracoes/escolha.js.map +1 -1
- package/fontes/declaracoes/escreva.d.ts +3 -2
- package/fontes/declaracoes/escreva.js +1 -1
- package/fontes/declaracoes/escreva.js.map +1 -1
- package/fontes/declaracoes/expressao.js +1 -1
- package/fontes/declaracoes/expressao.js.map +1 -1
- package/fontes/declaracoes/fazer.js +1 -1
- package/fontes/declaracoes/fazer.js.map +1 -1
- package/fontes/declaracoes/funcao.js +1 -1
- package/fontes/declaracoes/funcao.js.map +1 -1
- package/fontes/declaracoes/importar.js +1 -1
- package/fontes/declaracoes/importar.js.map +1 -1
- package/fontes/declaracoes/para.d.ts +1 -1
- package/fontes/declaracoes/para.js +2 -2
- package/fontes/declaracoes/para.js.map +1 -1
- package/fontes/declaracoes/retorna.d.ts +3 -3
- package/fontes/declaracoes/retorna.js +3 -3
- package/fontes/declaracoes/retorna.js.map +1 -1
- package/fontes/declaracoes/se.js +1 -1
- package/fontes/declaracoes/se.js.map +1 -1
- package/fontes/declaracoes/sustar.d.ts +2 -1
- package/fontes/declaracoes/sustar.js +2 -2
- package/fontes/declaracoes/sustar.js.map +1 -1
- package/fontes/declaracoes/tente.js +1 -1
- package/fontes/declaracoes/tente.js.map +1 -1
- package/fontes/declaracoes/var.js +1 -1
- package/fontes/declaracoes/var.js.map +1 -1
- package/fontes/delegua.d.ts +28 -5
- package/fontes/delegua.js +67 -20
- package/fontes/delegua.js.map +1 -1
- package/fontes/depuracao/cyrb53.d.ts +9 -0
- package/fontes/depuracao/cyrb53.js +25 -0
- package/fontes/depuracao/cyrb53.js.map +1 -0
- package/fontes/depuracao/index.d.ts +3 -0
- package/fontes/depuracao/index.js +20 -0
- package/fontes/depuracao/index.js.map +1 -0
- package/fontes/depuracao/ponto-parada.d.ts +4 -0
- package/fontes/depuracao/ponto-parada.js +3 -0
- package/fontes/depuracao/ponto-parada.js.map +1 -0
- package/fontes/depuracao/servidor-depuracao.d.ts +15 -0
- package/fontes/depuracao/servidor-depuracao.js +187 -0
- package/fontes/depuracao/servidor-depuracao.js.map +1 -0
- package/fontes/estruturas/funcao.d.ts +1 -1
- package/fontes/estruturas/funcao.js.map +1 -1
- package/fontes/importador/importador.d.ts +18 -1
- package/fontes/importador/importador.js +23 -5
- package/fontes/importador/importador.js.map +1 -1
- package/fontes/importador/retorno-importador.d.ts +2 -3
- package/fontes/interfaces/avaliador-sintatico-interface.d.ts +3 -3
- package/fontes/interfaces/delegua-interface.d.ts +2 -4
- package/fontes/interfaces/index.d.ts +2 -1
- package/fontes/interfaces/index.js +2 -1
- package/fontes/interfaces/index.js.map +1 -1
- package/fontes/interfaces/interpretador-com-depuracao-interface.d.ts +11 -0
- package/fontes/interfaces/interpretador-com-depuracao-interface.js +3 -0
- package/fontes/interfaces/interpretador-com-depuracao-interface.js.map +1 -0
- package/fontes/interfaces/interpretador-interface.d.ts +3 -4
- package/fontes/interfaces/lexador-interface.d.ts +2 -2
- package/fontes/interfaces/pilha-escopos-execucao-interface.d.ts +17 -0
- package/fontes/interfaces/pilha-escopos-execucao-interface.js +3 -0
- package/fontes/interfaces/pilha-escopos-execucao-interface.js.map +1 -0
- package/fontes/interfaces/pilha-interface.d.ts +2 -2
- package/fontes/interfaces/retornos/index.d.ts +4 -0
- package/fontes/interfaces/retornos/index.js +21 -0
- package/fontes/interfaces/retornos/index.js.map +1 -0
- package/fontes/interfaces/retornos/retorno-avaliador-sintatico.d.ts +6 -0
- package/fontes/{avaliador-sintatico → interfaces/retornos}/retorno-avaliador-sintatico.js +0 -0
- package/fontes/interfaces/retornos/retorno-avaliador-sintatico.js.map +1 -0
- package/fontes/interfaces/retornos/retorno-execucao-interface.d.ts +11 -0
- package/fontes/interfaces/{retorno-execucao-interface.js → retornos/retorno-execucao-interface.js} +0 -0
- package/fontes/interfaces/retornos/retorno-execucao-interface.js.map +1 -0
- package/fontes/{interpretador → interfaces/retornos}/retorno-interpretador.d.ts +1 -1
- package/fontes/{interpretador → interfaces/retornos}/retorno-interpretador.js +0 -0
- package/fontes/interfaces/retornos/retorno-interpretador.js.map +1 -0
- package/fontes/interfaces/retornos/retorno-lexador.d.ts +10 -0
- package/fontes/{lexador → interfaces/retornos}/retorno-lexador.js +0 -0
- package/fontes/interfaces/retornos/retorno-lexador.js.map +1 -0
- package/fontes/interfaces/simbolo-interface.d.ts +1 -0
- package/fontes/interpretador/dialetos/egua-classico.d.ts +1 -1
- package/fontes/interpretador/dialetos/egua-classico.js +2 -2
- package/fontes/interpretador/dialetos/egua-classico.js.map +1 -1
- package/fontes/interpretador/index.d.ts +1 -1
- package/fontes/interpretador/index.js +1 -1
- package/fontes/interpretador/index.js.map +1 -1
- package/fontes/interpretador/interpretador-com-depuracao.d.ts +94 -0
- package/fontes/interpretador/interpretador-com-depuracao.js +278 -0
- package/fontes/interpretador/interpretador-com-depuracao.js.map +1 -0
- package/fontes/interpretador/interpretador.d.ts +16 -8
- package/fontes/interpretador/interpretador.js +17 -9
- package/fontes/interpretador/interpretador.js.map +1 -1
- package/fontes/interpretador/pilha-escopos-execucao.d.ts +12 -5
- package/fontes/interpretador/pilha-escopos-execucao.js +26 -9
- package/fontes/interpretador/pilha-escopos-execucao.js.map +1 -1
- package/fontes/lexador/dialetos/lexador-egua-classico.d.ts +1 -1
- package/fontes/lexador/dialetos/lexador-egua-classico.js +2 -2
- package/fontes/lexador/dialetos/lexador-egua-classico.js.map +1 -1
- package/fontes/lexador/dialetos/lexador-eguap.d.ts +3 -2
- package/fontes/lexador/dialetos/lexador-eguap.js +6 -5
- package/fontes/lexador/dialetos/lexador-eguap.js.map +1 -1
- package/fontes/lexador/lexador.d.ts +3 -2
- package/fontes/lexador/lexador.js +4 -2
- package/fontes/lexador/lexador.js.map +1 -1
- package/fontes/lexador/simbolo.d.ts +2 -1
- package/fontes/lexador/simbolo.js +2 -1
- package/fontes/lexador/simbolo.js.map +1 -1
- package/fontes/resolvedor/dialetos/egua-classico.d.ts +1 -1
- package/fontes/resolvedor/dialetos/egua-classico.js +3 -3
- package/fontes/resolvedor/dialetos/egua-classico.js.map +1 -1
- package/fontes/resolvedor/resolvedor.js +3 -3
- package/index.js +6 -4
- package/index.js.map +1 -1
- package/package.json +3 -1
- package/testes/avaliador-sintatico.test.js +1 -1
- package/testes/avaliador-sintatico.test.js.map +1 -1
- package/testes/biblioteca-global.test.js +14 -14
- package/testes/biblioteca-global.test.js.map +1 -1
- package/testes/egua-classico/avaliador-sintatico.test.js +1 -1
- package/testes/egua-classico/avaliador-sintatico.test.js.map +1 -1
- package/testes/egua-classico/interpretador.test.js +20 -20
- package/testes/egua-classico/interpretador.test.js.map +1 -1
- package/testes/egua-classico/lexador.test.js +8 -8
- package/testes/egua-classico/lexador.test.js.map +1 -1
- package/testes/egua-classico/resolvedor.test.js +1 -1
- package/testes/egua-classico/resolvedor.test.js.map +1 -1
- package/testes/eguap/lexador.test.js +6 -6
- package/testes/eguap/lexador.test.js.map +1 -1
- package/testes/interpretador.test.js +20 -20
- package/testes/interpretador.test.js.map +1 -1
- package/testes/lexador.test.js +8 -8
- package/testes/lexador.test.js.map +1 -1
- package/testes/resolvedor.test.js +1 -1
- package/testes/resolvedor.test.js.map +1 -1
- package/fontes/avaliador-sintatico/retorno-avaliador-sintatico.d.ts +0 -6
- package/fontes/avaliador-sintatico/retorno-avaliador-sintatico.js.map +0 -1
- package/fontes/interfaces/retorno-execucao-interface.d.ts +0 -11
- package/fontes/interfaces/retorno-execucao-interface.js.map +0 -1
- package/fontes/interpretador/retorno-interpretador.js.map +0 -1
- package/fontes/lexador/retorno-lexador.d.ts +0 -10
- package/fontes/lexador/retorno-lexador.js.map +0 -1
|
@@ -2,9 +2,10 @@ import { InterpretadorInterface, ResolvedorInterface } from "../interfaces";
|
|
|
2
2
|
import { Construto } from "./construto";
|
|
3
3
|
export declare class Chamada implements Construto {
|
|
4
4
|
linha: number;
|
|
5
|
+
hashArquivo?: number;
|
|
5
6
|
entidadeChamada: Construto;
|
|
6
7
|
argumentos: any;
|
|
7
8
|
parentese: any;
|
|
8
|
-
constructor(entidadeChamada: Construto, parentese: any, argumentos: any);
|
|
9
|
+
constructor(hashArquivo: number, entidadeChamada: Construto, parentese: any, argumentos: any);
|
|
9
10
|
aceitar(visitante: ResolvedorInterface | InterpretadorInterface): any;
|
|
10
11
|
}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Chamada = void 0;
|
|
4
4
|
var Chamada = /** @class */ (function () {
|
|
5
|
-
function Chamada(entidadeChamada, parentese, argumentos) {
|
|
5
|
+
function Chamada(hashArquivo, entidadeChamada, parentese, argumentos) {
|
|
6
6
|
this.linha = entidadeChamada.linha;
|
|
7
|
+
this.hashArquivo = hashArquivo;
|
|
7
8
|
this.entidadeChamada = entidadeChamada;
|
|
8
9
|
this.parentese = parentese;
|
|
9
10
|
this.argumentos = argumentos;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chamada.js","sourceRoot":"","sources":["../../../fontes/construtos/chamada.ts"],"names":[],"mappings":";;;AAIA;
|
|
1
|
+
{"version":3,"file":"chamada.js","sourceRoot":"","sources":["../../../fontes/construtos/chamada.ts"],"names":[],"mappings":";;;AAIA;IAQI,iBAAY,WAAmB,EAAE,eAA0B,EAAE,SAAc,EAAE,UAAe;QACxF,IAAI,CAAC,KAAK,GAAG,eAAe,CAAC,KAAK,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IACjC,CAAC;IAED,yBAAO,GAAP,UAAQ,SAAuD;QAC3D,OAAO,SAAS,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;IACrD,CAAC;IACL,cAAC;AAAD,CAAC,AApBD,IAoBC;AApBY,0BAAO"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Construto } from "./construto";
|
|
2
2
|
export declare class Conjunto implements Construto {
|
|
3
3
|
linha: number;
|
|
4
|
+
hashArquivo?: number;
|
|
4
5
|
objeto: any;
|
|
5
6
|
nome: any;
|
|
6
7
|
valor: any;
|
|
7
|
-
constructor(linha: number, objeto: any, nome: any, valor: any);
|
|
8
|
+
constructor(hashArquivo: number, linha: number, objeto: any, nome: any, valor: any);
|
|
8
9
|
aceitar(visitante: any): any;
|
|
9
10
|
}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Conjunto = void 0;
|
|
4
4
|
var Conjunto = /** @class */ (function () {
|
|
5
|
-
function Conjunto(linha, objeto, nome, valor) {
|
|
5
|
+
function Conjunto(hashArquivo, linha, objeto, nome, valor) {
|
|
6
6
|
this.linha = linha;
|
|
7
|
+
this.hashArquivo = hashArquivo;
|
|
7
8
|
this.objeto = objeto;
|
|
8
9
|
this.nome = nome;
|
|
9
10
|
this.valor = valor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conjunto.js","sourceRoot":"","sources":["../../../fontes/construtos/conjunto.ts"],"names":[],"mappings":";;;AAGA;
|
|
1
|
+
{"version":3,"file":"conjunto.js","sourceRoot":"","sources":["../../../fontes/construtos/conjunto.ts"],"names":[],"mappings":";;;AAGA;IAQI,kBAAY,WAAmB,EAAE,KAAa,EAAE,MAAW,EAAE,IAAS,EAAE,KAAU;QAC9E,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAED,0BAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IACL,eAAC;AAAD,CAAC,AApBD,IAoBC;AApBY,4BAAQ"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Construto } from "./construto";
|
|
2
2
|
export declare class Dicionario implements Construto {
|
|
3
3
|
linha: number;
|
|
4
|
+
hashArquivo?: number;
|
|
4
5
|
chaves: any;
|
|
5
6
|
valores: any;
|
|
6
|
-
constructor(linha: number, chaves: any, valores: any);
|
|
7
|
+
constructor(hashArquivo: number, linha: number, chaves: any, valores: any);
|
|
7
8
|
aceitar(visitante: any): any;
|
|
8
9
|
}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Dicionario = void 0;
|
|
4
4
|
var Dicionario = /** @class */ (function () {
|
|
5
|
-
function Dicionario(linha, chaves, valores) {
|
|
5
|
+
function Dicionario(hashArquivo, linha, chaves, valores) {
|
|
6
6
|
this.linha = linha;
|
|
7
|
+
this.hashArquivo = hashArquivo;
|
|
7
8
|
this.chaves = chaves;
|
|
8
9
|
this.valores = valores;
|
|
9
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dicionario.js","sourceRoot":"","sources":["../../../fontes/construtos/dicionario.ts"],"names":[],"mappings":";;;AAGA;
|
|
1
|
+
{"version":3,"file":"dicionario.js","sourceRoot":"","sources":["../../../fontes/construtos/dicionario.ts"],"names":[],"mappings":";;;AAGA;IAOI,oBAAY,WAAmB,EAAE,KAAa,EAAE,MAAW,EAAE,OAAY;QACrE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,4BAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,0BAA0B,CAAC,IAAI,CAAC,CAAC;IACtD,CAAC;IACL,iBAAC;AAAD,CAAC,AAlBD,IAkBC;AAlBY,gCAAU"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Construto } from "./construto";
|
|
2
2
|
export declare class Funcao implements Construto {
|
|
3
3
|
linha: number;
|
|
4
|
+
hashArquivo?: number;
|
|
4
5
|
parametros: any;
|
|
5
6
|
corpo: any;
|
|
6
|
-
constructor(linha: number, parametros: any, corpo: any);
|
|
7
|
+
constructor(hashArquivo: number, linha: number, parametros: any, corpo: any);
|
|
7
8
|
aceitar(visitante: any): any;
|
|
8
9
|
}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Funcao = void 0;
|
|
4
4
|
var Funcao = /** @class */ (function () {
|
|
5
|
-
function Funcao(linha, parametros, corpo) {
|
|
5
|
+
function Funcao(hashArquivo, linha, parametros, corpo) {
|
|
6
6
|
this.linha = linha;
|
|
7
|
+
this.hashArquivo = hashArquivo;
|
|
7
8
|
this.parametros = parametros;
|
|
8
9
|
this.corpo = corpo;
|
|
9
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"funcao.js","sourceRoot":"","sources":["../../../fontes/construtos/funcao.ts"],"names":[],"mappings":";;;AAGA;
|
|
1
|
+
{"version":3,"file":"funcao.js","sourceRoot":"","sources":["../../../fontes/construtos/funcao.ts"],"names":[],"mappings":";;;AAGA;IAOI,gBAAY,WAAmB,EAAE,KAAa,EAAE,UAAe,EAAE,KAAU;QACvE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAED,wBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,6BAA6B,CAAC,IAAI,CAAC,CAAC;IACzD,CAAC;IACL,aAAC;AAAD,CAAC,AAlBD,IAkBC;AAlBY,wBAAM"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Construto } from "./construto";
|
|
2
2
|
export declare class Isto implements Construto {
|
|
3
3
|
linha: number;
|
|
4
|
+
hashArquivo?: number;
|
|
4
5
|
palavraChave: any;
|
|
5
|
-
constructor(linha: number, palavraChave?: any);
|
|
6
|
+
constructor(hashArquivo: number, linha: number, palavraChave?: any);
|
|
6
7
|
aceitar(visitante: any): any;
|
|
7
8
|
}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Isto = void 0;
|
|
4
4
|
var Isto = /** @class */ (function () {
|
|
5
|
-
function Isto(linha, palavraChave) {
|
|
5
|
+
function Isto(hashArquivo, linha, palavraChave) {
|
|
6
6
|
this.linha = linha;
|
|
7
|
+
this.hashArquivo = hashArquivo;
|
|
7
8
|
this.palavraChave = palavraChave;
|
|
8
9
|
}
|
|
9
10
|
Isto.prototype.aceitar = function (visitante) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isto.js","sourceRoot":"","sources":["../../../fontes/construtos/isto.ts"],"names":[],"mappings":";;;AAGA;
|
|
1
|
+
{"version":3,"file":"isto.js","sourceRoot":"","sources":["../../../fontes/construtos/isto.ts"],"names":[],"mappings":";;;AAGA;IAMI,cAAY,WAAmB,EAAE,KAAa,EAAE,YAAkB;QAC9D,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACrC,CAAC;IAED,sBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;IACL,WAAC;AAAD,CAAC,AAhBD,IAgBC;AAhBY,oBAAI"}
|
|
@@ -2,7 +2,8 @@ import { InterpretadorInterface, ResolvedorInterface } from "../interfaces";
|
|
|
2
2
|
import { Construto } from "./construto";
|
|
3
3
|
export declare class Literal implements Construto {
|
|
4
4
|
linha: number;
|
|
5
|
+
hashArquivo?: number;
|
|
5
6
|
valor: any;
|
|
6
|
-
constructor(linha: number, valor: any);
|
|
7
|
+
constructor(hashArquivo: number, linha: number, valor: any);
|
|
7
8
|
aceitar(visitante: ResolvedorInterface | InterpretadorInterface): any;
|
|
8
9
|
}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Literal = void 0;
|
|
4
4
|
var Literal = /** @class */ (function () {
|
|
5
|
-
function Literal(linha, valor) {
|
|
5
|
+
function Literal(hashArquivo, linha, valor) {
|
|
6
6
|
this.linha = linha;
|
|
7
|
+
this.hashArquivo = hashArquivo;
|
|
7
8
|
this.valor = valor;
|
|
8
9
|
}
|
|
9
10
|
Literal.prototype.aceitar = function (visitante) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"literal.js","sourceRoot":"","sources":["../../../fontes/construtos/literal.ts"],"names":[],"mappings":";;;AAIA;
|
|
1
|
+
{"version":3,"file":"literal.js","sourceRoot":"","sources":["../../../fontes/construtos/literal.ts"],"names":[],"mappings":";;;AAIA;IAMI,iBAAY,WAAmB,EAAE,KAAa,EAAE,KAAU;QACtD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAED,yBAAO,GAAP,UAAQ,SAAuD;QAC3D,OAAO,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IACL,cAAC;AAAD,CAAC,AAhBD,IAgBC;AAhBY,0BAAO"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Construto } from "./construto";
|
|
2
2
|
export declare class Logico implements Construto {
|
|
3
3
|
linha: number;
|
|
4
|
+
hashArquivo?: number;
|
|
4
5
|
esquerda: any;
|
|
5
6
|
operador: any;
|
|
6
7
|
direita: any;
|
|
7
|
-
constructor(esquerda: any, operador: any, direita: any);
|
|
8
|
+
constructor(hashArquivo: number, esquerda: any, operador: any, direita: any);
|
|
8
9
|
aceitar(visitante: any): any;
|
|
9
10
|
}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Logico = void 0;
|
|
4
4
|
var Logico = /** @class */ (function () {
|
|
5
|
-
function Logico(esquerda, operador, direita) {
|
|
5
|
+
function Logico(hashArquivo, esquerda, operador, direita) {
|
|
6
6
|
this.linha = esquerda.linha;
|
|
7
|
+
this.hashArquivo = hashArquivo;
|
|
7
8
|
this.esquerda = esquerda;
|
|
8
9
|
this.operador = operador;
|
|
9
10
|
this.direita = direita;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logico.js","sourceRoot":"","sources":["../../../fontes/construtos/logico.ts"],"names":[],"mappings":";;;AAGA;
|
|
1
|
+
{"version":3,"file":"logico.js","sourceRoot":"","sources":["../../../fontes/construtos/logico.ts"],"names":[],"mappings":";;;AAGA;IAQI,gBAAY,WAAmB,EAAE,QAAa,EAAE,QAAa,EAAE,OAAY;QACvE,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC;QAC5B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,wBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IACL,aAAC;AAAD,CAAC,AApBD,IAoBC;AApBY,wBAAM"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { SimboloInterface } from "../interfaces";
|
|
1
2
|
import { Construto } from "./construto";
|
|
2
3
|
export declare class Super implements Construto {
|
|
3
4
|
linha: number;
|
|
4
|
-
|
|
5
|
+
hashArquivo?: number;
|
|
6
|
+
simboloChave: SimboloInterface;
|
|
5
7
|
metodo: any;
|
|
6
|
-
constructor(
|
|
8
|
+
constructor(hashArquivo: number, simboloChave: SimboloInterface, metodo: any);
|
|
7
9
|
aceitar(visitante: any): any;
|
|
8
10
|
}
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Super = void 0;
|
|
4
4
|
var Super = /** @class */ (function () {
|
|
5
|
-
function Super(
|
|
6
|
-
this.linha = linha;
|
|
7
|
-
this.
|
|
5
|
+
function Super(hashArquivo, simboloChave, metodo) {
|
|
6
|
+
this.linha = Number(simboloChave.linha);
|
|
7
|
+
this.hashArquivo = hashArquivo;
|
|
8
|
+
this.simboloChave = simboloChave;
|
|
8
9
|
this.metodo = metodo;
|
|
9
10
|
}
|
|
10
11
|
Super.prototype.aceitar = function (visitante) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"super.js","sourceRoot":"","sources":["../../../fontes/construtos/super.ts"],"names":[],"mappings":";;;AAGA;
|
|
1
|
+
{"version":3,"file":"super.js","sourceRoot":"","sources":["../../../fontes/construtos/super.ts"],"names":[],"mappings":";;;AAGA;IAOI,eAAY,WAAmB,EAAE,YAA8B,EAAE,MAAW;QACxE,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QACxC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAED,uBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACL,YAAC;AAAD,CAAC,AAlBD,IAkBC;AAlBY,sBAAK"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Construto } from "./construto";
|
|
2
2
|
export declare class Unario implements Construto {
|
|
3
3
|
linha: number;
|
|
4
|
+
hashArquivo?: number;
|
|
4
5
|
operador: any;
|
|
5
6
|
direita: any;
|
|
6
|
-
constructor(operador: any, direita: any);
|
|
7
|
+
constructor(hashArquivo: number, operador: any, direita: any);
|
|
7
8
|
aceitar(visitante: any): any;
|
|
8
9
|
}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Unario = void 0;
|
|
4
4
|
var Unario = /** @class */ (function () {
|
|
5
|
-
function Unario(operador, direita) {
|
|
5
|
+
function Unario(hashArquivo, operador, direita) {
|
|
6
6
|
this.linha = operador.linha;
|
|
7
|
+
this.hashArquivo = hashArquivo;
|
|
7
8
|
this.operador = operador;
|
|
8
9
|
this.direita = direita;
|
|
9
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unario.js","sourceRoot":"","sources":["../../../fontes/construtos/unario.ts"],"names":[],"mappings":";;;AAGA;
|
|
1
|
+
{"version":3,"file":"unario.js","sourceRoot":"","sources":["../../../fontes/construtos/unario.ts"],"names":[],"mappings":";;;AAGA;IAOI,gBAAY,WAAmB,EAAE,QAAa,EAAE,OAAY;QACxD,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC;QAC5B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,wBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IACL,aAAC;AAAD,CAAC,AAlBD,IAkBC;AAlBY,wBAAM"}
|
|
@@ -2,7 +2,8 @@ import { InterpretadorInterface, ResolvedorInterface, SimboloInterface } from ".
|
|
|
2
2
|
import { Construto } from "./construto";
|
|
3
3
|
export declare class Variavel implements Construto {
|
|
4
4
|
linha: number;
|
|
5
|
+
hashArquivo?: number;
|
|
5
6
|
simbolo: SimboloInterface;
|
|
6
|
-
constructor(simbolo: SimboloInterface);
|
|
7
|
+
constructor(hashArquivo: number, simbolo: SimboloInterface);
|
|
7
8
|
aceitar(visitante: ResolvedorInterface | InterpretadorInterface): any;
|
|
8
9
|
}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Variavel = void 0;
|
|
4
4
|
var Variavel = /** @class */ (function () {
|
|
5
|
-
function Variavel(simbolo) {
|
|
5
|
+
function Variavel(hashArquivo, simbolo) {
|
|
6
6
|
this.linha = Number(simbolo.linha);
|
|
7
|
+
this.hashArquivo = hashArquivo;
|
|
7
8
|
this.simbolo = simbolo;
|
|
8
9
|
}
|
|
9
10
|
Variavel.prototype.aceitar = function (visitante) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variavel.js","sourceRoot":"","sources":["../../../fontes/construtos/variavel.ts"],"names":[],"mappings":";;;AAIA;
|
|
1
|
+
{"version":3,"file":"variavel.js","sourceRoot":"","sources":["../../../fontes/construtos/variavel.ts"],"names":[],"mappings":";;;AAIA;IAMI,kBAAY,WAAmB,EAAE,OAAyB;QACtD,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,0BAAO,GAAP,UAAQ,SAAuD;QAC3D,OAAO,SAAS,CAAC,0BAA0B,CAAC,IAAI,CAAC,CAAC;IACtD,CAAC;IACL,eAAC;AAAD,CAAC,AAhBD,IAgBC;AAhBY,4BAAQ"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Construto } from "./construto";
|
|
2
2
|
export declare class Vetor implements Construto {
|
|
3
3
|
linha: number;
|
|
4
|
+
hashArquivo?: number;
|
|
4
5
|
valores: any;
|
|
5
|
-
constructor(linha: number, valores: any);
|
|
6
|
+
constructor(hashArquivo: number, linha: number, valores: any);
|
|
6
7
|
aceitar(visitante: any): any;
|
|
7
8
|
}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Vetor = void 0;
|
|
4
4
|
var Vetor = /** @class */ (function () {
|
|
5
|
-
function Vetor(linha, valores) {
|
|
5
|
+
function Vetor(hashArquivo, linha, valores) {
|
|
6
6
|
this.linha = linha;
|
|
7
|
+
this.hashArquivo = hashArquivo;
|
|
7
8
|
this.valores = valores;
|
|
8
9
|
}
|
|
9
10
|
Vetor.prototype.aceitar = function (visitante) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vetor.js","sourceRoot":"","sources":["../../../fontes/construtos/vetor.ts"],"names":[],"mappings":";;;AAGA;
|
|
1
|
+
{"version":3,"file":"vetor.js","sourceRoot":"","sources":["../../../fontes/construtos/vetor.ts"],"names":[],"mappings":";;;AAGA;IAMI,eAAY,WAAmB,EAAE,KAAa,EAAE,OAAY;QACxD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,uBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACL,YAAC;AAAD,CAAC,AAhBD,IAgBC;AAhBY,sBAAK"}
|
|
@@ -20,7 +20,7 @@ var declaracao_1 = require("./declaracao");
|
|
|
20
20
|
var Bloco = /** @class */ (function (_super) {
|
|
21
21
|
__extends(Bloco, _super);
|
|
22
22
|
function Bloco(declaracoes) {
|
|
23
|
-
var _this = _super.call(this, 0) || this;
|
|
23
|
+
var _this = _super.call(this, 0, 0) || this;
|
|
24
24
|
_this.declaracoes = declaracoes;
|
|
25
25
|
return _this;
|
|
26
26
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bloco.js","sourceRoot":"","sources":["../../../fontes/declaracoes/bloco.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA2B,yBAAU;IAGjC,eAAY,WAAgB;QAA5B,YACI,kBAAM,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"bloco.js","sourceRoot":"","sources":["../../../fontes/declaracoes/bloco.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA2B,yBAAU;IAGjC,eAAY,WAAgB;QAA5B,YACI,kBAAM,CAAC,EAAE,CAAC,CAAC,SAEd;QADG,KAAI,CAAC,WAAW,GAAG,WAAW,CAAC;;IACnC,CAAC;IAED,uBAAO,GAAP,UAAQ,SAAuD;QAC3D,OAAO,SAAS,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACL,YAAC;AAAD,CAAC,AAXD,CAA2B,uBAAU,GAWpC;AAXY,sBAAK"}
|
|
@@ -20,7 +20,7 @@ var declaracao_1 = require("./declaracao");
|
|
|
20
20
|
var Classe = /** @class */ (function (_super) {
|
|
21
21
|
__extends(Classe, _super);
|
|
22
22
|
function Classe(simbolo, superClasse, metodos) {
|
|
23
|
-
var _this = _super.call(this, Number(simbolo.linha)) || this;
|
|
23
|
+
var _this = _super.call(this, Number(simbolo.linha), simbolo.hashArquivo) || this;
|
|
24
24
|
_this.simbolo = simbolo;
|
|
25
25
|
_this.superClasse = superClasse;
|
|
26
26
|
_this.metodos = metodos;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"classe.js","sourceRoot":"","sources":["../../../fontes/declaracoes/classe.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA4B,0BAAU;IAKlC,gBAAY,OAAyB,EAAE,WAAgB,EAAE,OAAY;QAArE,YACI,kBAAM,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"classe.js","sourceRoot":"","sources":["../../../fontes/declaracoes/classe.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA4B,0BAAU;IAKlC,gBAAY,OAAyB,EAAE,WAAgB,EAAE,OAAY;QAArE,YACI,kBAAM,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,SAIpD;QAHG,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,KAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;;IAC3B,CAAC;IAED,wBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IACL,aAAC;AAAD,CAAC,AAfD,CAA4B,uBAAU,GAerC;AAfY,wBAAM"}
|
|
@@ -19,8 +19,8 @@ exports.Continua = void 0;
|
|
|
19
19
|
var declaracao_1 = require("./declaracao");
|
|
20
20
|
var Continua = /** @class */ (function (_super) {
|
|
21
21
|
__extends(Continua, _super);
|
|
22
|
-
function Continua() {
|
|
23
|
-
return _super.call(this,
|
|
22
|
+
function Continua(simbolo) {
|
|
23
|
+
return _super.call(this, Number(simbolo.linha), simbolo.hashArquivo) || this;
|
|
24
24
|
}
|
|
25
25
|
Continua.prototype.aceitar = function (visitante) {
|
|
26
26
|
return visitante.visitarExpressaoContinua(this);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"continua.js","sourceRoot":"","sources":["../../../fontes/declaracoes/continua.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"continua.js","sourceRoot":"","sources":["../../../fontes/declaracoes/continua.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA8B,4BAAU;IACpC,kBAAY,OAAyB;eACjC,kBAAM,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;IACrD,CAAC;IAED,0BAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACL,eAAC;AAAD,CAAC,AARD,CAA8B,uBAAU,GAQvC;AARY,4BAAQ"}
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Declaracao = void 0;
|
|
4
4
|
var Declaracao = /** @class */ (function () {
|
|
5
|
-
function Declaracao(linha) {
|
|
5
|
+
function Declaracao(linha, hashArquivo) {
|
|
6
6
|
this.linha = linha;
|
|
7
|
+
this.hashArquivo = hashArquivo;
|
|
7
8
|
}
|
|
8
9
|
Declaracao.prototype.aceitar = function (visitante) { };
|
|
9
10
|
return Declaracao;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"declaracao.js","sourceRoot":"","sources":["../../../fontes/declaracoes/declaracao.ts"],"names":[],"mappings":";;;AAAA;
|
|
1
|
+
{"version":3,"file":"declaracao.js","sourceRoot":"","sources":["../../../fontes/declaracoes/declaracao.ts"],"names":[],"mappings":";;;AAAA;IAKI,oBAAY,KAAa,EAAE,WAAmB;QAC1C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,CAAC;IALD,4BAAO,GAAP,UAAQ,SAAc,IAAS,CAAC;IAMpC,iBAAC;AAAD,CAAC,AATD,IASC;AATY,gCAAU"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { Construto } from "../construtos";
|
|
1
2
|
import { Declaracao } from "./declaracao";
|
|
2
3
|
export declare class Enquanto extends Declaracao {
|
|
3
|
-
condicao:
|
|
4
|
+
condicao: Construto;
|
|
4
5
|
corpo: any;
|
|
5
|
-
constructor(condicao:
|
|
6
|
+
constructor(condicao: Construto, corpo: any);
|
|
6
7
|
aceitar(visitante: any): any;
|
|
7
8
|
}
|
|
@@ -20,7 +20,7 @@ var declaracao_1 = require("./declaracao");
|
|
|
20
20
|
var Enquanto = /** @class */ (function (_super) {
|
|
21
21
|
__extends(Enquanto, _super);
|
|
22
22
|
function Enquanto(condicao, corpo) {
|
|
23
|
-
var _this = _super.call(this, 0) || this;
|
|
23
|
+
var _this = _super.call(this, condicao.linha, 0) || this;
|
|
24
24
|
_this.condicao = condicao;
|
|
25
25
|
_this.corpo = corpo;
|
|
26
26
|
return _this;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enquanto.js","sourceRoot":"","sources":["../../../fontes/declaracoes/enquanto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"enquanto.js","sourceRoot":"","sources":["../../../fontes/declaracoes/enquanto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA8B,4BAAU;IAIpC,kBAAY,QAAmB,EAAE,KAAU;QAA3C,YACI,kBAAM,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC,SAG3B;QAFG,KAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,KAAI,CAAC,KAAK,GAAG,KAAK,CAAC;;IACvB,CAAC;IAED,0BAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACL,eAAC;AAAD,CAAC,AAbD,CAA8B,uBAAU,GAavC;AAbY,4BAAQ"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { Construto } from "../construtos";
|
|
1
2
|
import { Declaracao } from "./declaracao";
|
|
2
3
|
export declare class Escolha extends Declaracao {
|
|
3
|
-
condicao:
|
|
4
|
+
condicao: Construto;
|
|
4
5
|
caminhos: any;
|
|
5
6
|
caminhoPadrao: any;
|
|
6
7
|
constructor(condicao: any, caminhos: any, caminhoPadrao: any);
|
|
@@ -20,7 +20,7 @@ var declaracao_1 = require("./declaracao");
|
|
|
20
20
|
var Escolha = /** @class */ (function (_super) {
|
|
21
21
|
__extends(Escolha, _super);
|
|
22
22
|
function Escolha(condicao, caminhos, caminhoPadrao) {
|
|
23
|
-
var _this = _super.call(this, 0) || this;
|
|
23
|
+
var _this = _super.call(this, condicao.linha, 0) || this;
|
|
24
24
|
_this.condicao = condicao;
|
|
25
25
|
_this.caminhos = caminhos;
|
|
26
26
|
_this.caminhoPadrao = caminhoPadrao;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"escolha.js","sourceRoot":"","sources":["../../../fontes/declaracoes/escolha.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"escolha.js","sourceRoot":"","sources":["../../../fontes/declaracoes/escolha.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA6B,2BAAU;IAKnC,iBAAY,QAAa,EAAE,QAAa,EAAE,aAAkB;QAA5D,YACI,kBAAM,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC,SAI3B;QAHG,KAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,KAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,KAAI,CAAC,aAAa,GAAG,aAAa,CAAC;;IACvC,CAAC;IAED,yBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IACL,cAAC;AAAD,CAAC,AAfD,CAA6B,uBAAU,GAetC;AAfY,0BAAO"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { Construto } from "../construtos";
|
|
1
2
|
import { InterpretadorInterface, ResolvedorInterface } from "../interfaces";
|
|
2
3
|
import { Declaracao } from "./declaracao";
|
|
3
4
|
export declare class Escreva extends Declaracao {
|
|
4
|
-
expressao:
|
|
5
|
-
constructor(expressao:
|
|
5
|
+
expressao: Construto;
|
|
6
|
+
constructor(expressao: Construto);
|
|
6
7
|
aceitar(visitante: ResolvedorInterface | InterpretadorInterface): any;
|
|
7
8
|
}
|
|
@@ -20,7 +20,7 @@ var declaracao_1 = require("./declaracao");
|
|
|
20
20
|
var Escreva = /** @class */ (function (_super) {
|
|
21
21
|
__extends(Escreva, _super);
|
|
22
22
|
function Escreva(expressao) {
|
|
23
|
-
var _this = _super.call(this, expressao.linha) || this;
|
|
23
|
+
var _this = _super.call(this, expressao.linha, expressao.hashArquivo) || this;
|
|
24
24
|
_this.expressao = expressao;
|
|
25
25
|
return _this;
|
|
26
26
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"escreva.js","sourceRoot":"","sources":["../../../fontes/declaracoes/escreva.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"escreva.js","sourceRoot":"","sources":["../../../fontes/declaracoes/escreva.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAEA,2CAA0C;AAG1C;IAA6B,2BAAU;IAGnC,iBAAY,SAAoB;QAAhC,YACI,kBAAM,SAAS,CAAC,KAAK,EAAE,SAAS,CAAC,WAAW,CAAC,SAEhD;QADG,KAAI,CAAC,SAAS,GAAG,SAAS,CAAC;;IAC/B,CAAC;IAED,yBAAO,GAAP,UAAQ,SAAuD;QAC3D,OAAO,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IACL,cAAC;AAAD,CAAC,AAXD,CAA6B,uBAAU,GAWtC;AAXY,0BAAO"}
|
|
@@ -20,7 +20,7 @@ var declaracao_1 = require("./declaracao");
|
|
|
20
20
|
var Expressao = /** @class */ (function (_super) {
|
|
21
21
|
__extends(Expressao, _super);
|
|
22
22
|
function Expressao(expressao) {
|
|
23
|
-
var _this = _super.call(this, expressao.linha) || this;
|
|
23
|
+
var _this = _super.call(this, expressao.linha, expressao.hashArquivo) || this;
|
|
24
24
|
_this.expressao = expressao;
|
|
25
25
|
return _this;
|
|
26
26
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expressao.js","sourceRoot":"","sources":["../../../fontes/declaracoes/expressao.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAEA,2CAA0C;AAG1C;IAA+B,6BAAU;IAGrC,mBAAY,SAAoB;QAAhC,YACI,kBAAM,SAAS,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"expressao.js","sourceRoot":"","sources":["../../../fontes/declaracoes/expressao.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAEA,2CAA0C;AAG1C;IAA+B,6BAAU;IAGrC,mBAAY,SAAoB;QAAhC,YACI,kBAAM,SAAS,CAAC,KAAK,EAAE,SAAS,CAAC,WAAW,CAAC,SAEhD;QADG,KAAI,CAAC,SAAS,GAAG,SAAS,CAAC;;IAC/B,CAAC;IAED,2BAAO,GAAP,UAAQ,SAAuD;QAC3D,OAAO,SAAS,CAAC,4BAA4B,CAAC,IAAI,CAAC,CAAC;IACxD,CAAC;IACL,gBAAC;AAAD,CAAC,AAXD,CAA+B,uBAAU,GAWxC;AAXY,8BAAS"}
|
|
@@ -20,7 +20,7 @@ var declaracao_1 = require("./declaracao");
|
|
|
20
20
|
var Fazer = /** @class */ (function (_super) {
|
|
21
21
|
__extends(Fazer, _super);
|
|
22
22
|
function Fazer(caminhoFazer, condicaoEnquanto) {
|
|
23
|
-
var _this = _super.call(this, 0) || this;
|
|
23
|
+
var _this = _super.call(this, 0, 0) || this;
|
|
24
24
|
_this.caminhoFazer = caminhoFazer;
|
|
25
25
|
_this.condicaoEnquanto = condicaoEnquanto;
|
|
26
26
|
return _this;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fazer.js","sourceRoot":"","sources":["../../../fontes/declaracoes/fazer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAA0C;AAG1C;IAA2B,yBAAU;IAIjC,eAAY,YAAiB,EAAE,gBAAqB;QAApD,YACI,kBAAM,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"fazer.js","sourceRoot":"","sources":["../../../fontes/declaracoes/fazer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAA0C;AAG1C;IAA2B,yBAAU;IAIjC,eAAY,YAAiB,EAAE,gBAAqB;QAApD,YACI,kBAAM,CAAC,EAAE,CAAC,CAAC,SAGd;QAFG,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,KAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;;IAC7C,CAAC;IAED,uBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACL,YAAC;AAAD,CAAC,AAbD,CAA2B,uBAAU,GAapC;AAbY,sBAAK"}
|
|
@@ -20,7 +20,7 @@ var declaracao_1 = require("./declaracao");
|
|
|
20
20
|
var Funcao = /** @class */ (function (_super) {
|
|
21
21
|
__extends(Funcao, _super);
|
|
22
22
|
function Funcao(simbolo, funcao) {
|
|
23
|
-
var _this = _super.call(this, Number(simbolo.linha)) || this;
|
|
23
|
+
var _this = _super.call(this, Number(simbolo.linha), simbolo.hashArquivo) || this;
|
|
24
24
|
_this.simbolo = simbolo;
|
|
25
25
|
_this.funcao = funcao;
|
|
26
26
|
return _this;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"funcao.js","sourceRoot":"","sources":["../../../fontes/declaracoes/funcao.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA4B,0BAAU;IAIlC,gBAAY,OAAyB,EAAE,MAAW;QAAlD,YACI,kBAAM,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"funcao.js","sourceRoot":"","sources":["../../../fontes/declaracoes/funcao.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA4B,0BAAU;IAIlC,gBAAY,OAAyB,EAAE,MAAW;QAAlD,YACI,kBAAM,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,SAGpD;QAFG,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,KAAI,CAAC,MAAM,GAAG,MAAM,CAAC;;IACzB,CAAC;IAED,wBAAO,GAAP,UAAQ,SAAuD;QAC3D,OAAO,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IACL,aAAC;AAAD,CAAC,AAbD,CAA4B,uBAAU,GAarC;AAbY,wBAAM"}
|
|
@@ -20,7 +20,7 @@ var declaracao_1 = require("./declaracao");
|
|
|
20
20
|
var Importar = /** @class */ (function (_super) {
|
|
21
21
|
__extends(Importar, _super);
|
|
22
22
|
function Importar(caminho, simboloFechamento) {
|
|
23
|
-
var _this = _super.call(this,
|
|
23
|
+
var _this = _super.call(this, caminho.linha, caminho.hashArquivo) || this;
|
|
24
24
|
_this.caminho = caminho;
|
|
25
25
|
_this.simboloFechamento = simboloFechamento;
|
|
26
26
|
return _this;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"importar.js","sourceRoot":"","sources":["../../../fontes/declaracoes/importar.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA8B,4BAAU;IAIpC,kBAAY,OAAgB,EAAE,iBAAsB;QAApD,YACI,kBAAM,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"importar.js","sourceRoot":"","sources":["../../../fontes/declaracoes/importar.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA8B,4BAAU;IAIpC,kBAAY,OAAgB,EAAE,iBAAsB;QAApD,YACI,kBAAM,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,WAAW,CAAC,SAG5C;QAFG,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,KAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;;IAC/C,CAAC;IAED,0BAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACL,eAAC;AAAD,CAAC,AAbD,CAA8B,uBAAU,GAavC;AAbY,4BAAQ"}
|
|
@@ -4,6 +4,6 @@ export declare class Para extends Declaracao {
|
|
|
4
4
|
condicao: any;
|
|
5
5
|
incrementar: any;
|
|
6
6
|
corpo: any;
|
|
7
|
-
constructor(linha: number, inicializador: any, condicao: any, incrementar: any, corpo: any);
|
|
7
|
+
constructor(hashArquivo: number, linha: number, inicializador: any, condicao: any, incrementar: any, corpo: any);
|
|
8
8
|
aceitar(visitante: any): any;
|
|
9
9
|
}
|
|
@@ -19,8 +19,8 @@ exports.Para = void 0;
|
|
|
19
19
|
var declaracao_1 = require("./declaracao");
|
|
20
20
|
var Para = /** @class */ (function (_super) {
|
|
21
21
|
__extends(Para, _super);
|
|
22
|
-
function Para(linha, inicializador, condicao, incrementar, corpo) {
|
|
23
|
-
var _this = _super.call(this, linha) || this;
|
|
22
|
+
function Para(hashArquivo, linha, inicializador, condicao, incrementar, corpo) {
|
|
23
|
+
var _this = _super.call(this, linha, hashArquivo) || this;
|
|
24
24
|
_this.inicializador = inicializador;
|
|
25
25
|
_this.condicao = condicao;
|
|
26
26
|
_this.incrementar = incrementar;
|