@designliquido/delegua 0.1.11 → 0.1.12
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 +1 -1
- package/package.json +1 -1
- package/src/avaliador-sintatico/dialetos/egua-classico.js +12 -12
- package/src/avaliador-sintatico/dialetos/egua-classico.js.map +1 -1
- package/src/avaliador-sintatico/index.js +14 -6
- package/src/avaliador-sintatico/index.js.map +1 -1
- package/src/bibliotecas/{bibliotecaGlobal.d.ts → biblioteca-global.d.ts} +0 -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/call.d.ts +1 -1
- package/src/construtos/call.js +5 -24
- package/src/construtos/call.js.map +1 -1
- 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 +1 -1
- package/src/construtos/index.js +1 -1
- 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 +1 -1
- package/src/construtos/subscript.js +5 -24
- 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/estruturas/classe.d.ts +1 -1
- package/src/estruturas/classe.js +1 -1
- package/src/estruturas/classe.js.map +1 -1
- package/src/estruturas/funcao-padrao.d.ts +1 -1
- package/src/estruturas/funcao-padrao.js +1 -1
- package/src/estruturas/funcao-padrao.js.map +1 -1
- package/src/estruturas/funcao.d.ts +1 -1
- package/src/estruturas/funcao.js +1 -1
- package/src/estruturas/funcao.js.map +1 -1
- package/src/interpretador/dialetos/egua-classico.js +4 -4
- package/src/interpretador/dialetos/egua-classico.js.map +1 -1
- package/src/interpretador/index.js +4 -4
- package/src/interpretador/index.js.map +1 -1
- package/src/lexador/dialetos/egua-classico.js +6 -5
- package/src/lexador/dialetos/egua-classico.js.map +1 -1
- package/src/lexador/index.js +6 -2
- package/src/lexador/index.js.map +1 -1
- package/src/resolvedor/dialetos/egua-classico.js +3 -3
- package/src/tiposDeSimbolos.d.ts +3 -0
- package/src/tiposDeSimbolos.js +3 -0
- package/src/tiposDeSimbolos.js.map +1 -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.js
CHANGED
|
@@ -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.Call = void 0;
|
|
19
|
-
var
|
|
20
|
-
var Call = /** @class */ (function (_super) {
|
|
21
|
-
__extends(Call, _super);
|
|
4
|
+
var Call = /** @class */ (function () {
|
|
22
5
|
function Call(callee, parentese, argumentos) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
_this.argumentos = argumentos;
|
|
27
|
-
return _this;
|
|
6
|
+
this.callee = callee;
|
|
7
|
+
this.parentese = parentese;
|
|
8
|
+
this.argumentos = argumentos;
|
|
28
9
|
}
|
|
29
10
|
Call.prototype.aceitar = function (visitante) {
|
|
30
11
|
return visitante.visitarExpressaoDeChamada(this);
|
|
31
12
|
};
|
|
32
13
|
return Call;
|
|
33
|
-
}(
|
|
14
|
+
}());
|
|
34
15
|
exports.Call = Call;
|
|
35
16
|
//# sourceMappingURL=call.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"call.js","sourceRoot":"","sources":["../../../src/construtos/call.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"call.js","sourceRoot":"","sources":["../../../src/construtos/call.ts"],"names":[],"mappings":";;;AAGA;IAKI,cAAY,MAAW,EAAE,SAAc,EAAE,UAAe;QACpD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IACjC,CAAC;IAED,sBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;IACrD,CAAC;IACL,WAAC;AAAD,CAAC,AAdD,IAcC;AAdY,oBAAI"}
|
|
@@ -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"}
|
package/src/construtos/index.js
CHANGED
|
@@ -10,7 +10,7 @@ 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
16
|
__exportStar(require("./call"), 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,yCAAuB;AACvB,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,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.Subscript = void 0;
|
|
19
|
-
var
|
|
20
|
-
var Subscript = /** @class */ (function (_super) {
|
|
21
|
-
__extends(Subscript, _super);
|
|
4
|
+
var Subscript = /** @class */ (function () {
|
|
22
5
|
function Subscript(callee, indice, closeBracket) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
_this.closeBracket = closeBracket;
|
|
27
|
-
return _this;
|
|
6
|
+
this.callee = callee;
|
|
7
|
+
this.indice = indice;
|
|
8
|
+
this.closeBracket = closeBracket;
|
|
28
9
|
}
|
|
29
10
|
Subscript.prototype.aceitar = function (visitante) {
|
|
30
11
|
return visitante.visitarExpressaoVetorIndice(this);
|
|
31
12
|
};
|
|
32
13
|
return Subscript;
|
|
33
|
-
}(
|
|
14
|
+
}());
|
|
34
15
|
exports.Subscript = Subscript;
|
|
35
16
|
//# sourceMappingURL=subscript.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscript.js","sourceRoot":"","sources":["../../../src/construtos/subscript.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"subscript.js","sourceRoot":"","sources":["../../../src/construtos/subscript.ts"],"names":[],"mappings":";;;AAGA;IAKI,mBAAY,MAAW,EAAE,MAAW,EAAE,YAAiB;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACrC,CAAC;IAED,2BAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC;IACvD,CAAC;IACL,gBAAC;AAAD,CAAC,AAdD,IAcC;AAdY,8BAAS"}
|
package/src/construtos/super.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.Super = void 0;
|
|
19
|
-
var
|
|
20
|
-
var Super = /** @class */ (function (_super) {
|
|
21
|
-
__extends(Super, _super);
|
|
4
|
+
var Super = /** @class */ (function () {
|
|
22
5
|
function Super(palavraChave, metodo) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
_this.metodo = metodo;
|
|
26
|
-
return _this;
|
|
6
|
+
this.palavraChave = palavraChave;
|
|
7
|
+
this.metodo = metodo;
|
|
27
8
|
}
|
|
28
9
|
Super.prototype.aceitar = function (visitante) {
|
|
29
10
|
return visitante.visitarExpressaoSuper(this);
|
|
30
11
|
};
|
|
31
12
|
return Super;
|
|
32
|
-
}(
|
|
13
|
+
}());
|
|
33
14
|
exports.Super = Super;
|
|
34
15
|
//# sourceMappingURL=super.js.map
|