@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.
Files changed (95) hide show
  1. package/bin/package.json +1 -1
  2. package/package.json +1 -1
  3. package/src/avaliador-sintatico/dialetos/egua-classico.js +12 -12
  4. package/src/avaliador-sintatico/dialetos/egua-classico.js.map +1 -1
  5. package/src/avaliador-sintatico/index.js +14 -6
  6. package/src/avaliador-sintatico/index.js.map +1 -1
  7. package/src/bibliotecas/{bibliotecaGlobal.d.ts → biblioteca-global.d.ts} +0 -0
  8. package/src/bibliotecas/{bibliotecaGlobal.js → biblioteca-global.js} +1 -1
  9. package/src/bibliotecas/biblioteca-global.js.map +1 -0
  10. package/src/bibliotecas/importar-biblioteca.d.ts +2 -0
  11. package/src/bibliotecas/{importarBiblioteca.js → importar-biblioteca.js} +6 -6
  12. package/src/bibliotecas/importar-biblioteca.js.map +1 -0
  13. package/src/construtos/{assign-subscript.d.ts → atribuicao-sobrescrita.d.ts} +1 -1
  14. package/src/construtos/atribuicao-sobrescrita.js +16 -0
  15. package/src/construtos/atribuicao-sobrescrita.js.map +1 -0
  16. package/src/construtos/atribuir.d.ts +1 -1
  17. package/src/construtos/atribuir.js +4 -23
  18. package/src/construtos/atribuir.js.map +1 -1
  19. package/src/construtos/binario.d.ts +1 -1
  20. package/src/construtos/binario.js +5 -24
  21. package/src/construtos/binario.js.map +1 -1
  22. package/src/construtos/call.d.ts +1 -1
  23. package/src/construtos/call.js +5 -24
  24. package/src/construtos/call.js.map +1 -1
  25. package/src/construtos/conjunto.d.ts +1 -1
  26. package/src/construtos/conjunto.js +5 -24
  27. package/src/construtos/conjunto.js.map +1 -1
  28. package/src/construtos/dicionario.d.ts +1 -1
  29. package/src/construtos/dicionario.js +4 -23
  30. package/src/construtos/dicionario.js.map +1 -1
  31. package/src/construtos/expr.d.ts +2 -2
  32. package/src/construtos/expr.js +0 -8
  33. package/src/construtos/expr.js.map +1 -1
  34. package/src/construtos/funcao.d.ts +1 -1
  35. package/src/construtos/funcao.js +4 -23
  36. package/src/construtos/funcao.js.map +1 -1
  37. package/src/construtos/get.d.ts +1 -1
  38. package/src/construtos/get.js +4 -23
  39. package/src/construtos/get.js.map +1 -1
  40. package/src/construtos/grouping.d.ts +1 -1
  41. package/src/construtos/grouping.js +3 -22
  42. package/src/construtos/grouping.js.map +1 -1
  43. package/src/construtos/index.d.ts +1 -1
  44. package/src/construtos/index.js +1 -1
  45. package/src/construtos/index.js.map +1 -1
  46. package/src/construtos/isto.d.ts +1 -1
  47. package/src/construtos/isto.js +3 -22
  48. package/src/construtos/isto.js.map +1 -1
  49. package/src/construtos/literal.d.ts +1 -1
  50. package/src/construtos/literal.js +3 -22
  51. package/src/construtos/literal.js.map +1 -1
  52. package/src/construtos/logical.d.ts +1 -1
  53. package/src/construtos/logical.js +5 -24
  54. package/src/construtos/logical.js.map +1 -1
  55. package/src/construtos/subscript.d.ts +1 -1
  56. package/src/construtos/subscript.js +5 -24
  57. package/src/construtos/subscript.js.map +1 -1
  58. package/src/construtos/super.d.ts +1 -1
  59. package/src/construtos/super.js +4 -23
  60. package/src/construtos/super.js.map +1 -1
  61. package/src/construtos/unario.d.ts +1 -1
  62. package/src/construtos/unario.js +4 -23
  63. package/src/construtos/unario.js.map +1 -1
  64. package/src/construtos/variavel.d.ts +1 -1
  65. package/src/construtos/variavel.js +3 -22
  66. package/src/construtos/variavel.js.map +1 -1
  67. package/src/construtos/vetor.d.ts +1 -1
  68. package/src/construtos/vetor.js +3 -22
  69. package/src/construtos/vetor.js.map +1 -1
  70. package/src/estruturas/classe.d.ts +1 -1
  71. package/src/estruturas/classe.js +1 -1
  72. package/src/estruturas/classe.js.map +1 -1
  73. package/src/estruturas/funcao-padrao.d.ts +1 -1
  74. package/src/estruturas/funcao-padrao.js +1 -1
  75. package/src/estruturas/funcao-padrao.js.map +1 -1
  76. package/src/estruturas/funcao.d.ts +1 -1
  77. package/src/estruturas/funcao.js +1 -1
  78. package/src/estruturas/funcao.js.map +1 -1
  79. package/src/interpretador/dialetos/egua-classico.js +4 -4
  80. package/src/interpretador/dialetos/egua-classico.js.map +1 -1
  81. package/src/interpretador/index.js +4 -4
  82. package/src/interpretador/index.js.map +1 -1
  83. package/src/lexador/dialetos/egua-classico.js +6 -5
  84. package/src/lexador/dialetos/egua-classico.js.map +1 -1
  85. package/src/lexador/index.js +6 -2
  86. package/src/lexador/index.js.map +1 -1
  87. package/src/resolvedor/dialetos/egua-classico.js +3 -3
  88. package/src/tiposDeSimbolos.d.ts +3 -0
  89. package/src/tiposDeSimbolos.js +3 -0
  90. package/src/tiposDeSimbolos.js.map +1 -1
  91. package/src/bibliotecas/bibliotecaGlobal.js.map +0 -1
  92. package/src/bibliotecas/importarBiblioteca.d.ts +0 -2
  93. package/src/bibliotecas/importarBiblioteca.js.map +0 -1
  94. package/src/construtos/assign-subscript.js +0 -35
  95. package/src/construtos/assign-subscript.js.map +0 -1
@@ -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 expr_1 = require("./expr");
20
- var Call = /** @class */ (function (_super) {
21
- __extends(Call, _super);
4
+ var Call = /** @class */ (function () {
22
5
  function Call(callee, parentese, argumentos) {
23
- var _this = _super.call(this) || this;
24
- _this.callee = callee;
25
- _this.parentese = parentese;
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
- }(expr_1.Expr));
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":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA0B,wBAAI;IAK1B,cAAY,MAAW,EAAE,SAAc,EAAE,UAAe;QAAxD,YACI,iBAAO,SAIV;QAHG,KAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,KAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,KAAI,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,AAfD,CAA0B,WAAI,GAe7B;AAfY,oBAAI"}
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,5 +1,5 @@
1
1
  import { Expr } from "./expr";
2
- export declare class Conjunto extends Expr {
2
+ export declare class Conjunto implements Expr {
3
3
  objeto: any;
4
4
  nome: any;
5
5
  valor: any;
@@ -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 expr_1 = require("./expr");
20
- var Conjunto = /** @class */ (function (_super) {
21
- __extends(Conjunto, _super);
4
+ var Conjunto = /** @class */ (function () {
22
5
  function Conjunto(objeto, nome, valor) {
23
- var _this = _super.call(this) || this;
24
- _this.objeto = objeto;
25
- _this.nome = nome;
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
- }(expr_1.Expr));
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":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA8B,4BAAI;IAK9B,kBAAY,MAAW,EAAE,IAAS,EAAE,KAAU;QAA9C,YACI,iBAAO,SAIV;QAHG,KAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,KAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,KAAI,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,AAfD,CAA8B,WAAI,GAejC;AAfY,4BAAQ"}
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,5 +1,5 @@
1
1
  import { Expr } from "./expr";
2
- export declare class Dicionario extends Expr {
2
+ export declare class Dicionario implements Expr {
3
3
  chaves: any;
4
4
  valores: any;
5
5
  constructor(chaves: any, valores: any);
@@ -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 expr_1 = require("./expr");
20
- var Dicionario = /** @class */ (function (_super) {
21
- __extends(Dicionario, _super);
4
+ var Dicionario = /** @class */ (function () {
22
5
  function Dicionario(chaves, valores) {
23
- var _this = _super.call(this) || this;
24
- _this.chaves = chaves;
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
- }(expr_1.Expr));
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":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAAgC,8BAAI;IAIhC,oBAAY,MAAW,EAAE,OAAY;QAArC,YACI,iBAAO,SAGV;QAFG,KAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,KAAI,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,AAbD,CAAgC,WAAI,GAanC;AAbY,gCAAU"}
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"}
@@ -1,3 +1,3 @@
1
- export declare class Expr {
2
- aceitar(visitante: any): void;
1
+ export interface Expr {
2
+ aceitar(visitante: any): any;
3
3
  }
@@ -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":";;;AAAA;IAAA;IAEA,CAAC;IADG,sBAAO,GAAP,UAAQ,SAAc,IAAI,CAAC;IAC/B,WAAC;AAAD,CAAC,AAFD,IAEC;AAFY,oBAAI"}
1
+ {"version":3,"file":"expr.js","sourceRoot":"","sources":["../../../src/construtos/expr.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
1
  import { Expr } from "./expr";
2
- export declare class Funcao extends Expr {
2
+ export declare class Funcao implements Expr {
3
3
  parametros: any;
4
4
  corpo: any;
5
5
  constructor(parametros: any, corpo: any);
@@ -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 expr_1 = require("./expr");
20
- var Funcao = /** @class */ (function (_super) {
21
- __extends(Funcao, _super);
4
+ var Funcao = /** @class */ (function () {
22
5
  function Funcao(parametros, corpo) {
23
- var _this = _super.call(this) || this;
24
- _this.parametros = parametros;
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
- }(expr_1.Expr));
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":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA4B,0BAAI;IAI5B,gBAAY,UAAe,EAAE,KAAU;QAAvC,YACI,iBAAO,SAGV;QAFG,KAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,KAAI,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,AAbD,CAA4B,WAAI,GAa/B;AAbY,wBAAM"}
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"}
@@ -1,5 +1,5 @@
1
1
  import { Expr } from "./expr";
2
- export declare class Get extends Expr {
2
+ export declare class Get implements Expr {
3
3
  objeto: any;
4
4
  nome: any;
5
5
  constructor(objeto: any, nome: any);
@@ -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 expr_1 = require("./expr");
20
- var Get = /** @class */ (function (_super) {
21
- __extends(Get, _super);
4
+ var Get = /** @class */ (function () {
22
5
  function Get(objeto, nome) {
23
- var _this = _super.call(this) || this;
24
- _this.objeto = objeto;
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
- }(expr_1.Expr));
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":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAAyB,uBAAI;IAIzB,aAAY,MAAW,EAAE,IAAS;QAAlC,YACI,iBAAO,SAGV;QAFG,KAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,KAAI,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,AAbD,CAAyB,WAAI,GAa5B;AAbY,kBAAG"}
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,5 +1,5 @@
1
1
  import { Expr } from "./expr";
2
- export declare class Grouping extends Expr {
2
+ export declare class Grouping implements Expr {
3
3
  expressao: any;
4
4
  constructor(expressao: any);
5
5
  aceitar(visitante: any): any;
@@ -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 expr_1 = require("./expr");
20
- var Grouping = /** @class */ (function (_super) {
21
- __extends(Grouping, _super);
4
+ var Grouping = /** @class */ (function () {
22
5
  function Grouping(expressao) {
23
- var _this = _super.call(this) || this;
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
- }(expr_1.Expr));
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":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA8B,4BAAI;IAG9B,kBAAY,SAAc;QAA1B,YACI,iBAAO,SAEV;QADG,KAAI,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,AAXD,CAA8B,WAAI,GAWjC;AAXY,4BAAQ"}
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,4 +1,4 @@
1
- export * from "./assign-subscript";
1
+ export * from "./atribuicao-sobrescrita";
2
2
  export * from "./atribuir";
3
3
  export * from "./binario";
4
4
  export * from "./call";
@@ -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("./assign-subscript"), exports);
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,qDAAmC;AACnC,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"}
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"}
@@ -1,5 +1,5 @@
1
1
  import { Expr } from "./expr";
2
- export declare class Isto extends Expr {
2
+ export declare class Isto implements Expr {
3
3
  palavraChave: any;
4
4
  constructor(palavraChave?: any);
5
5
  aceitar(visitante: any): any;
@@ -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 expr_1 = require("./expr");
20
- var Isto = /** @class */ (function (_super) {
21
- __extends(Isto, _super);
4
+ var Isto = /** @class */ (function () {
22
5
  function Isto(palavraChave) {
23
- var _this = _super.call(this) || this;
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
- }(expr_1.Expr));
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":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA0B,wBAAI;IAG1B,cAAY,YAAkB;QAA9B,YACI,iBAAO,SAEV;QADG,KAAI,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,AAXD,CAA0B,WAAI,GAW7B;AAXY,oBAAI"}
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,5 +1,5 @@
1
1
  import { Expr } from "./expr";
2
- export declare class Literal extends Expr {
2
+ export declare class Literal implements Expr {
3
3
  valor: any;
4
4
  constructor(valor: any);
5
5
  aceitar(visitante: any): any;
@@ -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 expr_1 = require("./expr");
20
- var Literal = /** @class */ (function (_super) {
21
- __extends(Literal, _super);
4
+ var Literal = /** @class */ (function () {
22
5
  function Literal(valor) {
23
- var _this = _super.call(this) || this;
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
- }(expr_1.Expr));
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":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA6B,2BAAI;IAG7B,iBAAY,KAAU;QAAtB,YACI,iBAAO,SAEV;QADG,KAAI,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,AAXD,CAA6B,WAAI,GAWhC;AAXY,0BAAO"}
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,5 +1,5 @@
1
1
  import { Expr } from "./expr";
2
- export declare class Logical extends Expr {
2
+ export declare class Logical implements Expr {
3
3
  esquerda: any;
4
4
  operador: any;
5
5
  direita: any;
@@ -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 expr_1 = require("./expr");
20
- var Logical = /** @class */ (function (_super) {
21
- __extends(Logical, _super);
4
+ var Logical = /** @class */ (function () {
22
5
  function Logical(esquerda, operador, direita) {
23
- var _this = _super.call(this) || this;
24
- _this.esquerda = esquerda;
25
- _this.operador = operador;
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
- }(expr_1.Expr));
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":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA6B,2BAAI;IAK7B,iBAAY,QAAa,EAAE,QAAa,EAAE,OAAY;QAAtD,YACI,iBAAO,SAIV;QAHG,KAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,KAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,KAAI,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,AAfD,CAA6B,WAAI,GAehC;AAfY,0BAAO"}
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,5 +1,5 @@
1
1
  import { Expr } from "./expr";
2
- export declare class Subscript extends Expr {
2
+ export declare class Subscript implements Expr {
3
3
  callee: any;
4
4
  closeBracket: any;
5
5
  indice: any;
@@ -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 expr_1 = require("./expr");
20
- var Subscript = /** @class */ (function (_super) {
21
- __extends(Subscript, _super);
4
+ var Subscript = /** @class */ (function () {
22
5
  function Subscript(callee, indice, closeBracket) {
23
- var _this = _super.call(this) || this;
24
- _this.callee = callee;
25
- _this.indice = indice;
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
- }(expr_1.Expr));
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":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA+B,6BAAI;IAK/B,mBAAY,MAAW,EAAE,MAAW,EAAE,YAAiB;QAAvD,YACI,iBAAO,SAIV;QAHG,KAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,KAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,KAAI,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,AAfD,CAA+B,WAAI,GAelC;AAfY,8BAAS"}
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"}
@@ -1,5 +1,5 @@
1
1
  import { Expr } from "./expr";
2
- export declare class Super extends Expr {
2
+ export declare class Super implements Expr {
3
3
  palavraChave: any;
4
4
  metodo: any;
5
5
  constructor(palavraChave: any, metodo: any);
@@ -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 expr_1 = require("./expr");
20
- var Super = /** @class */ (function (_super) {
21
- __extends(Super, _super);
4
+ var Super = /** @class */ (function () {
22
5
  function Super(palavraChave, metodo) {
23
- var _this = _super.call(this) || this;
24
- _this.palavraChave = palavraChave;
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
- }(expr_1.Expr));
13
+ }());
33
14
  exports.Super = Super;
34
15
  //# sourceMappingURL=super.js.map