@designliquido/delegua 0.1.11 → 0.2.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/README.md +3 -4
- package/bin/package.json +1 -1
- package/package.json +1 -1
- package/src/ambiente.d.ts +5 -0
- package/src/ambiente.js +15 -0
- package/src/ambiente.js.map +1 -1
- package/src/avaliador-sintatico/dialetos/egua-classico.d.ts +1 -1
- package/src/avaliador-sintatico/dialetos/egua-classico.js +14 -14
- package/src/avaliador-sintatico/dialetos/egua-classico.js.map +1 -1
- package/src/avaliador-sintatico/index.d.ts +1 -1
- package/src/avaliador-sintatico/index.js +16 -8
- package/src/avaliador-sintatico/index.js.map +1 -1
- package/src/bibliotecas/biblioteca-global.d.ts +3 -0
- package/src/bibliotecas/{bibliotecaGlobal.js → biblioteca-global.js} +1 -1
- package/src/bibliotecas/biblioteca-global.js.map +1 -0
- package/src/bibliotecas/importar-biblioteca.d.ts +2 -0
- package/src/bibliotecas/{importarBiblioteca.js → importar-biblioteca.js} +6 -6
- package/src/bibliotecas/importar-biblioteca.js.map +1 -0
- package/src/construtos/{assign-subscript.d.ts → atribuicao-sobrescrita.d.ts} +1 -1
- package/src/construtos/atribuicao-sobrescrita.js +16 -0
- package/src/construtos/atribuicao-sobrescrita.js.map +1 -0
- package/src/construtos/atribuir.d.ts +1 -1
- package/src/construtos/atribuir.js +4 -23
- package/src/construtos/atribuir.js.map +1 -1
- package/src/construtos/binario.d.ts +1 -1
- package/src/construtos/binario.js +5 -24
- package/src/construtos/binario.js.map +1 -1
- package/src/construtos/chamada.d.ts +8 -0
- package/src/construtos/chamada.js +16 -0
- package/src/construtos/chamada.js.map +1 -0
- package/src/construtos/conjunto.d.ts +1 -1
- package/src/construtos/conjunto.js +5 -24
- package/src/construtos/conjunto.js.map +1 -1
- package/src/construtos/dicionario.d.ts +1 -1
- package/src/construtos/dicionario.js +4 -23
- package/src/construtos/dicionario.js.map +1 -1
- package/src/construtos/expr.d.ts +2 -2
- package/src/construtos/expr.js +0 -8
- package/src/construtos/expr.js.map +1 -1
- package/src/construtos/funcao.d.ts +1 -1
- package/src/construtos/funcao.js +4 -23
- package/src/construtos/funcao.js.map +1 -1
- package/src/construtos/get.d.ts +1 -1
- package/src/construtos/get.js +4 -23
- package/src/construtos/get.js.map +1 -1
- package/src/construtos/grouping.d.ts +1 -1
- package/src/construtos/grouping.js +3 -22
- package/src/construtos/grouping.js.map +1 -1
- package/src/construtos/index.d.ts +2 -2
- package/src/construtos/index.js +2 -2
- package/src/construtos/index.js.map +1 -1
- package/src/construtos/isto.d.ts +1 -1
- package/src/construtos/isto.js +3 -22
- package/src/construtos/isto.js.map +1 -1
- package/src/construtos/literal.d.ts +1 -1
- package/src/construtos/literal.js +3 -22
- package/src/construtos/literal.js.map +1 -1
- package/src/construtos/logical.d.ts +1 -1
- package/src/construtos/logical.js +5 -24
- package/src/construtos/logical.js.map +1 -1
- package/src/construtos/subscript.d.ts +3 -3
- package/src/construtos/subscript.js +6 -25
- package/src/construtos/subscript.js.map +1 -1
- package/src/construtos/super.d.ts +1 -1
- package/src/construtos/super.js +4 -23
- package/src/construtos/super.js.map +1 -1
- package/src/construtos/unario.d.ts +1 -1
- package/src/construtos/unario.js +4 -23
- package/src/construtos/unario.js.map +1 -1
- package/src/construtos/variavel.d.ts +1 -1
- package/src/construtos/variavel.js +3 -22
- package/src/construtos/variavel.js.map +1 -1
- package/src/construtos/vetor.d.ts +1 -1
- package/src/construtos/vetor.js +3 -22
- package/src/construtos/vetor.js.map +1 -1
- package/src/delegua.js +4 -4
- package/src/delegua.js.map +1 -1
- package/src/estruturas/chamavel.d.ts +5 -0
- package/src/estruturas/chamavel.js +16 -0
- package/src/estruturas/{callable.js.map → chamavel.js.map} +1 -1
- package/src/estruturas/classe.d.ts +3 -3
- package/src/estruturas/classe.js +3 -3
- package/src/estruturas/classe.js.map +1 -1
- package/src/estruturas/funcao-padrao.d.ts +6 -6
- package/src/estruturas/funcao-padrao.js +3 -3
- package/src/estruturas/funcao-padrao.js.map +1 -1
- package/src/estruturas/funcao.d.ts +3 -3
- package/src/estruturas/funcao.js +3 -3
- package/src/estruturas/funcao.js.map +1 -1
- package/src/estruturas/index.d.ts +1 -1
- package/src/estruturas/index.js +1 -1
- package/src/interfaces/avaliador-sintatico-interface.d.ts +1 -1
- package/src/interpretador/dialetos/egua-classico.js +19 -19
- package/src/interpretador/dialetos/egua-classico.js.map +1 -1
- package/src/interpretador/index.js +25 -25
- package/src/interpretador/index.js.map +1 -1
- package/src/lexador/dialetos/egua-classico.d.ts +1 -1
- package/src/lexador/dialetos/egua-classico.js +27 -28
- package/src/lexador/dialetos/egua-classico.js.map +1 -1
- package/src/lexador/index.d.ts +1 -1
- package/src/lexador/index.js +27 -25
- package/src/lexador/index.js.map +1 -1
- package/src/resolvedor/dialetos/egua-classico.js +6 -6
- package/src/resolvedor/dialetos/egua-classico.js.map +1 -1
- package/src/resolvedor/index.js +2 -2
- package/src/resolvedor/index.js.map +1 -1
- package/src/tiposDeSimbolos.d.ts +3 -0
- package/src/tiposDeSimbolos.js +3 -0
- package/src/tiposDeSimbolos.js.map +1 -1
- package/src/bibliotecas/bibliotecaGlobal.d.ts +0 -1
- package/src/bibliotecas/bibliotecaGlobal.js.map +0 -1
- package/src/bibliotecas/importarBiblioteca.d.ts +0 -2
- package/src/bibliotecas/importarBiblioteca.js.map +0 -1
- package/src/construtos/assign-subscript.js +0 -35
- package/src/construtos/assign-subscript.js.map +0 -1
- package/src/construtos/call.d.ts +0 -8
- package/src/construtos/call.js +0 -35
- package/src/construtos/call.js.map +0 -1
- package/src/estruturas/callable.d.ts +0 -5
- package/src/estruturas/callable.js +0 -16
|
@@ -1,34 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.Atribuir = void 0;
|
|
19
|
-
var
|
|
20
|
-
var Atribuir = /** @class */ (function (_super) {
|
|
21
|
-
__extends(Atribuir, _super);
|
|
4
|
+
var Atribuir = /** @class */ (function () {
|
|
22
5
|
function Atribuir(nome, valor) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
_this.valor = valor;
|
|
26
|
-
return _this;
|
|
6
|
+
this.nome = nome;
|
|
7
|
+
this.valor = valor;
|
|
27
8
|
}
|
|
28
9
|
Atribuir.prototype.aceitar = function (visitante) {
|
|
29
10
|
return visitante.visitarExpressaoDeAtribuicao(this);
|
|
30
11
|
};
|
|
31
12
|
return Atribuir;
|
|
32
|
-
}(
|
|
13
|
+
}());
|
|
33
14
|
exports.Atribuir = Atribuir;
|
|
34
15
|
//# sourceMappingURL=atribuir.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"atribuir.js","sourceRoot":"","sources":["../../../src/construtos/atribuir.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"atribuir.js","sourceRoot":"","sources":["../../../src/construtos/atribuir.ts"],"names":[],"mappings":";;;AAGA;IAII,kBAAY,IAAS,EAAE,KAAU;QAC7B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAED,0BAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,4BAA4B,CAAC,IAAI,CAAC,CAAC;IACxD,CAAC;IACL,eAAC;AAAD,CAAC,AAZD,IAYC;AAZY,4BAAQ"}
|
|
@@ -1,35 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.Binario = void 0;
|
|
19
|
-
var
|
|
20
|
-
var Binario = /** @class */ (function (_super) {
|
|
21
|
-
__extends(Binario, _super);
|
|
4
|
+
var Binario = /** @class */ (function () {
|
|
22
5
|
function Binario(esquerda, operador, direita) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
_this.direita = direita;
|
|
27
|
-
return _this;
|
|
6
|
+
this.esquerda = esquerda;
|
|
7
|
+
this.operador = operador;
|
|
8
|
+
this.direita = direita;
|
|
28
9
|
}
|
|
29
10
|
Binario.prototype.aceitar = function (visitante) {
|
|
30
11
|
return visitante.visitarExpressaoBinaria(this);
|
|
31
12
|
};
|
|
32
13
|
return Binario;
|
|
33
|
-
}(
|
|
14
|
+
}());
|
|
34
15
|
exports.Binario = Binario;
|
|
35
16
|
//# sourceMappingURL=binario.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"binario.js","sourceRoot":"","sources":["../../../src/construtos/binario.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"binario.js","sourceRoot":"","sources":["../../../src/construtos/binario.ts"],"names":[],"mappings":";;;AAGA;IAKI,iBAAY,QAAa,EAAE,QAAa,EAAE,OAAY;QAClD,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,yBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IACL,cAAC;AAAD,CAAC,AAdD,IAcC;AAdY,0BAAO"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Chamada = void 0;
|
|
4
|
+
var Chamada = /** @class */ (function () {
|
|
5
|
+
function Chamada(entidadeChamada, parentese, argumentos) {
|
|
6
|
+
this.entidadeChamada = entidadeChamada;
|
|
7
|
+
this.parentese = parentese;
|
|
8
|
+
this.argumentos = argumentos;
|
|
9
|
+
}
|
|
10
|
+
Chamada.prototype.aceitar = function (visitante) {
|
|
11
|
+
return visitante.visitarExpressaoDeChamada(this);
|
|
12
|
+
};
|
|
13
|
+
return Chamada;
|
|
14
|
+
}());
|
|
15
|
+
exports.Chamada = Chamada;
|
|
16
|
+
//# sourceMappingURL=chamada.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chamada.js","sourceRoot":"","sources":["../../../src/construtos/chamada.ts"],"names":[],"mappings":";;;AAGA;IAKI,iBAAY,eAAoB,EAAE,SAAc,EAAE,UAAe;QAC7D,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,SAAc;QAClB,OAAO,SAAS,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;IACrD,CAAC;IACL,cAAC;AAAD,CAAC,AAdD,IAcC;AAdY,0BAAO"}
|
|
@@ -1,35 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.Conjunto = void 0;
|
|
19
|
-
var
|
|
20
|
-
var Conjunto = /** @class */ (function (_super) {
|
|
21
|
-
__extends(Conjunto, _super);
|
|
4
|
+
var Conjunto = /** @class */ (function () {
|
|
22
5
|
function Conjunto(objeto, nome, valor) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
_this.valor = valor;
|
|
27
|
-
return _this;
|
|
6
|
+
this.objeto = objeto;
|
|
7
|
+
this.nome = nome;
|
|
8
|
+
this.valor = valor;
|
|
28
9
|
}
|
|
29
10
|
Conjunto.prototype.aceitar = function (visitante) {
|
|
30
11
|
return visitante.visitarExpressaoDefinir(this);
|
|
31
12
|
};
|
|
32
13
|
return Conjunto;
|
|
33
|
-
}(
|
|
14
|
+
}());
|
|
34
15
|
exports.Conjunto = Conjunto;
|
|
35
16
|
//# sourceMappingURL=conjunto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conjunto.js","sourceRoot":"","sources":["../../../src/construtos/conjunto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"conjunto.js","sourceRoot":"","sources":["../../../src/construtos/conjunto.ts"],"names":[],"mappings":";;;AAGA;IAKI,kBAAY,MAAW,EAAE,IAAS,EAAE,KAAU;QAC1C,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,AAdD,IAcC;AAdY,4BAAQ"}
|
|
@@ -1,34 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.Dicionario = void 0;
|
|
19
|
-
var
|
|
20
|
-
var Dicionario = /** @class */ (function (_super) {
|
|
21
|
-
__extends(Dicionario, _super);
|
|
4
|
+
var Dicionario = /** @class */ (function () {
|
|
22
5
|
function Dicionario(chaves, valores) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
_this.valores = valores;
|
|
26
|
-
return _this;
|
|
6
|
+
this.chaves = chaves;
|
|
7
|
+
this.valores = valores;
|
|
27
8
|
}
|
|
28
9
|
Dicionario.prototype.aceitar = function (visitante) {
|
|
29
10
|
return visitante.visitarExpressaoDicionario(this);
|
|
30
11
|
};
|
|
31
12
|
return Dicionario;
|
|
32
|
-
}(
|
|
13
|
+
}());
|
|
33
14
|
exports.Dicionario = Dicionario;
|
|
34
15
|
//# sourceMappingURL=dicionario.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dicionario.js","sourceRoot":"","sources":["../../../src/construtos/dicionario.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dicionario.js","sourceRoot":"","sources":["../../../src/construtos/dicionario.ts"],"names":[],"mappings":";;;AAGA;IAII,oBAAY,MAAW,EAAE,OAAY;QACjC,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,AAZD,IAYC;AAZY,gCAAU"}
|
package/src/construtos/expr.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
aceitar(visitante: any):
|
|
1
|
+
export interface Expr {
|
|
2
|
+
aceitar(visitante: any): any;
|
|
3
3
|
}
|
package/src/construtos/expr.js
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Expr = void 0;
|
|
4
|
-
var Expr = /** @class */ (function () {
|
|
5
|
-
function Expr() {
|
|
6
|
-
}
|
|
7
|
-
Expr.prototype.aceitar = function (visitante) { };
|
|
8
|
-
return Expr;
|
|
9
|
-
}());
|
|
10
|
-
exports.Expr = Expr;
|
|
11
3
|
//# sourceMappingURL=expr.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expr.js","sourceRoot":"","sources":["../../../src/construtos/expr.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"expr.js","sourceRoot":"","sources":["../../../src/construtos/expr.ts"],"names":[],"mappings":""}
|
package/src/construtos/funcao.js
CHANGED
|
@@ -1,34 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.Funcao = void 0;
|
|
19
|
-
var
|
|
20
|
-
var Funcao = /** @class */ (function (_super) {
|
|
21
|
-
__extends(Funcao, _super);
|
|
4
|
+
var Funcao = /** @class */ (function () {
|
|
22
5
|
function Funcao(parametros, corpo) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
_this.corpo = corpo;
|
|
26
|
-
return _this;
|
|
6
|
+
this.parametros = parametros;
|
|
7
|
+
this.corpo = corpo;
|
|
27
8
|
}
|
|
28
9
|
Funcao.prototype.aceitar = function (visitante) {
|
|
29
10
|
return visitante.visitarExpressaoDeleguaFuncao(this);
|
|
30
11
|
};
|
|
31
12
|
return Funcao;
|
|
32
|
-
}(
|
|
13
|
+
}());
|
|
33
14
|
exports.Funcao = Funcao;
|
|
34
15
|
//# sourceMappingURL=funcao.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"funcao.js","sourceRoot":"","sources":["../../../src/construtos/funcao.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"funcao.js","sourceRoot":"","sources":["../../../src/construtos/funcao.ts"],"names":[],"mappings":";;;AAGA;IAII,gBAAY,UAAe,EAAE,KAAU;QACnC,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,AAZD,IAYC;AAZY,wBAAM"}
|
package/src/construtos/get.d.ts
CHANGED
package/src/construtos/get.js
CHANGED
|
@@ -1,34 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.Get = void 0;
|
|
19
|
-
var
|
|
20
|
-
var Get = /** @class */ (function (_super) {
|
|
21
|
-
__extends(Get, _super);
|
|
4
|
+
var Get = /** @class */ (function () {
|
|
22
5
|
function Get(objeto, nome) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
_this.nome = nome;
|
|
26
|
-
return _this;
|
|
6
|
+
this.objeto = objeto;
|
|
7
|
+
this.nome = nome;
|
|
27
8
|
}
|
|
28
9
|
Get.prototype.aceitar = function (visitante) {
|
|
29
10
|
return visitante.visitarExpressaoObter(this);
|
|
30
11
|
};
|
|
31
12
|
return Get;
|
|
32
|
-
}(
|
|
13
|
+
}());
|
|
33
14
|
exports.Get = Get;
|
|
34
15
|
//# sourceMappingURL=get.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/construtos/get.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/construtos/get.ts"],"names":[],"mappings":";;;AAGA;IAII,aAAY,MAAW,EAAE,IAAS;QAC9B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAED,qBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACL,UAAC;AAAD,CAAC,AAZD,IAYC;AAZY,kBAAG"}
|
|
@@ -1,33 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.Grouping = void 0;
|
|
19
|
-
var
|
|
20
|
-
var Grouping = /** @class */ (function (_super) {
|
|
21
|
-
__extends(Grouping, _super);
|
|
4
|
+
var Grouping = /** @class */ (function () {
|
|
22
5
|
function Grouping(expressao) {
|
|
23
|
-
|
|
24
|
-
_this.expressao = expressao;
|
|
25
|
-
return _this;
|
|
6
|
+
this.expressao = expressao;
|
|
26
7
|
}
|
|
27
8
|
Grouping.prototype.aceitar = function (visitante) {
|
|
28
9
|
return visitante.visitarExpressaoAgrupamento(this);
|
|
29
10
|
};
|
|
30
11
|
return Grouping;
|
|
31
|
-
}(
|
|
12
|
+
}());
|
|
32
13
|
exports.Grouping = Grouping;
|
|
33
14
|
//# sourceMappingURL=grouping.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grouping.js","sourceRoot":"","sources":["../../../src/construtos/grouping.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"grouping.js","sourceRoot":"","sources":["../../../src/construtos/grouping.ts"],"names":[],"mappings":";;;AAGA;IAGI,kBAAY,SAAc;QACtB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IAED,0BAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC;IACvD,CAAC;IACL,eAAC;AAAD,CAAC,AAVD,IAUC;AAVY,4BAAQ"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./atribuicao-sobrescrita";
|
|
2
2
|
export * from "./atribuir";
|
|
3
3
|
export * from "./binario";
|
|
4
|
-
export * from "./
|
|
4
|
+
export * from "./chamada";
|
|
5
5
|
export * from "./conjunto";
|
|
6
6
|
export * from "./dicionario";
|
|
7
7
|
export * from "./expr";
|
package/src/construtos/index.js
CHANGED
|
@@ -10,10 +10,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./
|
|
13
|
+
__exportStar(require("./atribuicao-sobrescrita"), exports);
|
|
14
14
|
__exportStar(require("./atribuir"), exports);
|
|
15
15
|
__exportStar(require("./binario"), exports);
|
|
16
|
-
__exportStar(require("./
|
|
16
|
+
__exportStar(require("./chamada"), exports);
|
|
17
17
|
__exportStar(require("./conjunto"), exports);
|
|
18
18
|
__exportStar(require("./dicionario"), exports);
|
|
19
19
|
__exportStar(require("./expr"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/construtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/construtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2DAAyC;AACzC,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B;AAC1B,6CAA2B;AAC3B,+CAA6B;AAC7B,yCAAuB;AACvB,2CAAyB;AACzB,wCAAsB;AACtB,6CAA2B;AAC3B,yCAAuB;AACvB,4CAA0B;AAC1B,4CAA0B;AAC1B,8CAA4B;AAC5B,0CAAwB;AACxB,2CAAyB;AACzB,6CAA2B;AAC3B,0CAAwB"}
|
package/src/construtos/isto.d.ts
CHANGED
package/src/construtos/isto.js
CHANGED
|
@@ -1,33 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.Isto = void 0;
|
|
19
|
-
var
|
|
20
|
-
var Isto = /** @class */ (function (_super) {
|
|
21
|
-
__extends(Isto, _super);
|
|
4
|
+
var Isto = /** @class */ (function () {
|
|
22
5
|
function Isto(palavraChave) {
|
|
23
|
-
|
|
24
|
-
_this.palavraChave = palavraChave;
|
|
25
|
-
return _this;
|
|
6
|
+
this.palavraChave = palavraChave;
|
|
26
7
|
}
|
|
27
8
|
Isto.prototype.aceitar = function (visitante) {
|
|
28
9
|
return visitante.visitarExpressaoIsto(this);
|
|
29
10
|
};
|
|
30
11
|
return Isto;
|
|
31
|
-
}(
|
|
12
|
+
}());
|
|
32
13
|
exports.Isto = Isto;
|
|
33
14
|
//# sourceMappingURL=isto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isto.js","sourceRoot":"","sources":["../../../src/construtos/isto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"isto.js","sourceRoot":"","sources":["../../../src/construtos/isto.ts"],"names":[],"mappings":";;;AAGA;IAGI,cAAY,YAAkB;QAC1B,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,AAVD,IAUC;AAVY,oBAAI"}
|
|
@@ -1,33 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.Literal = void 0;
|
|
19
|
-
var
|
|
20
|
-
var Literal = /** @class */ (function (_super) {
|
|
21
|
-
__extends(Literal, _super);
|
|
4
|
+
var Literal = /** @class */ (function () {
|
|
22
5
|
function Literal(valor) {
|
|
23
|
-
|
|
24
|
-
_this.valor = valor;
|
|
25
|
-
return _this;
|
|
6
|
+
this.valor = valor;
|
|
26
7
|
}
|
|
27
8
|
Literal.prototype.aceitar = function (visitante) {
|
|
28
9
|
return visitante.visitarExpressaoLiteral(this);
|
|
29
10
|
};
|
|
30
11
|
return Literal;
|
|
31
|
-
}(
|
|
12
|
+
}());
|
|
32
13
|
exports.Literal = Literal;
|
|
33
14
|
//# sourceMappingURL=literal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"literal.js","sourceRoot":"","sources":["../../../src/construtos/literal.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"literal.js","sourceRoot":"","sources":["../../../src/construtos/literal.ts"],"names":[],"mappings":";;;AAGA;IAGI,iBAAY,KAAU;QAClB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAED,yBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IACL,cAAC;AAAD,CAAC,AAVD,IAUC;AAVY,0BAAO"}
|
|
@@ -1,35 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
3
|
exports.Logical = void 0;
|
|
19
|
-
var
|
|
20
|
-
var Logical = /** @class */ (function (_super) {
|
|
21
|
-
__extends(Logical, _super);
|
|
4
|
+
var Logical = /** @class */ (function () {
|
|
22
5
|
function Logical(esquerda, operador, direita) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
_this.direita = direita;
|
|
27
|
-
return _this;
|
|
6
|
+
this.esquerda = esquerda;
|
|
7
|
+
this.operador = operador;
|
|
8
|
+
this.direita = direita;
|
|
28
9
|
}
|
|
29
10
|
Logical.prototype.aceitar = function (visitante) {
|
|
30
11
|
return visitante.visitarExpressaoLogica(this);
|
|
31
12
|
};
|
|
32
13
|
return Logical;
|
|
33
|
-
}(
|
|
14
|
+
}());
|
|
34
15
|
exports.Logical = Logical;
|
|
35
16
|
//# sourceMappingURL=logical.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logical.js","sourceRoot":"","sources":["../../../src/construtos/logical.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"logical.js","sourceRoot":"","sources":["../../../src/construtos/logical.ts"],"names":[],"mappings":";;;AAGA;IAKI,iBAAY,QAAa,EAAE,QAAa,EAAE,OAAY;QAClD,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,yBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IACL,cAAC;AAAD,CAAC,AAdD,IAcC;AAdY,0BAAO"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Expr } from "./expr";
|
|
2
|
-
export declare class Subscript
|
|
3
|
-
|
|
2
|
+
export declare class Subscript implements Expr {
|
|
3
|
+
entidadeChamada: any;
|
|
4
4
|
closeBracket: any;
|
|
5
5
|
indice: any;
|
|
6
|
-
constructor(
|
|
6
|
+
constructor(entidadeChamada: any, indice: any, closeBracket: any);
|
|
7
7
|
aceitar(visitante: any): any;
|
|
8
8
|
}
|