@designliquido/delegua 0.1.4 → 0.1.8

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 (175) hide show
  1. package/bin/package.json +4 -3
  2. package/index.d.ts +1 -0
  3. package/package.json +3 -2
  4. package/src/ambiente.d.ts +11 -0
  5. package/src/avaliador-sintatico/dialetos/egua-classico.d.ts +60 -0
  6. package/src/avaliador-sintatico/dialetos/egua-classico.js +116 -116
  7. package/src/avaliador-sintatico/dialetos/egua-classico.js.map +1 -1
  8. package/src/avaliador-sintatico/dialetos/index.d.ts +1 -0
  9. package/src/avaliador-sintatico/erros-avaliador.d.ts +2 -0
  10. package/src/avaliador-sintatico/{parser-error.js → erros-avaliador.js} +1 -1
  11. package/src/avaliador-sintatico/erros-avaliador.js.map +1 -0
  12. package/src/avaliador-sintatico/index.d.ts +61 -0
  13. package/src/avaliador-sintatico/index.js +123 -123
  14. package/src/avaliador-sintatico/index.js.map +1 -1
  15. package/src/bibliotecas/bibliotecaGlobal.d.ts +1 -0
  16. package/src/bibliotecas/importarBiblioteca.d.ts +2 -0
  17. package/src/construtos/assign-subscript.d.ts +8 -0
  18. package/src/construtos/assign-subscript.js +1 -1
  19. package/src/construtos/assign-subscript.js.map +1 -1
  20. package/src/construtos/atribuir.d.ts +7 -0
  21. package/src/construtos/atribuir.js +1 -1
  22. package/src/construtos/atribuir.js.map +1 -1
  23. package/src/construtos/binario.d.ts +8 -0
  24. package/src/construtos/binario.js +1 -1
  25. package/src/construtos/binario.js.map +1 -1
  26. package/src/construtos/call.d.ts +8 -0
  27. package/src/construtos/call.js +1 -1
  28. package/src/construtos/call.js.map +1 -1
  29. package/src/construtos/conjunto.d.ts +8 -0
  30. package/src/construtos/conjunto.js +1 -1
  31. package/src/construtos/conjunto.js.map +1 -1
  32. package/src/construtos/dicionario.d.ts +7 -0
  33. package/src/construtos/dicionario.js +1 -1
  34. package/src/construtos/dicionario.js.map +1 -1
  35. package/src/construtos/expr.d.ts +3 -0
  36. package/src/construtos/funcao.d.ts +7 -0
  37. package/src/construtos/funcao.js +1 -1
  38. package/src/construtos/funcao.js.map +1 -1
  39. package/src/construtos/get.d.ts +7 -0
  40. package/src/construtos/get.js +1 -1
  41. package/src/construtos/get.js.map +1 -1
  42. package/src/construtos/grouping.d.ts +6 -0
  43. package/src/construtos/grouping.js +1 -1
  44. package/src/construtos/grouping.js.map +1 -1
  45. package/src/construtos/index.d.ts +18 -0
  46. package/src/construtos/isto.d.ts +6 -0
  47. package/src/construtos/isto.js +1 -1
  48. package/src/construtos/isto.js.map +1 -1
  49. package/src/construtos/literal.d.ts +6 -0
  50. package/src/construtos/literal.js +1 -1
  51. package/src/construtos/literal.js.map +1 -1
  52. package/src/construtos/logical.d.ts +8 -0
  53. package/src/construtos/logical.js +1 -1
  54. package/src/construtos/logical.js.map +1 -1
  55. package/src/construtos/subscript.d.ts +8 -0
  56. package/src/construtos/subscript.js +1 -1
  57. package/src/construtos/subscript.js.map +1 -1
  58. package/src/construtos/super.d.ts +7 -0
  59. package/src/construtos/super.js +1 -1
  60. package/src/construtos/super.js.map +1 -1
  61. package/src/construtos/unario.d.ts +7 -0
  62. package/src/construtos/unario.js +1 -1
  63. package/src/construtos/unario.js.map +1 -1
  64. package/src/construtos/variavel.d.ts +6 -0
  65. package/src/construtos/variavel.js +1 -1
  66. package/src/construtos/variavel.js.map +1 -1
  67. package/src/construtos/vetor.d.ts +6 -0
  68. package/src/construtos/vetor.js +1 -1
  69. package/src/construtos/vetor.js.map +1 -1
  70. package/src/declaracoes/block.d.ts +6 -0
  71. package/src/declaracoes/block.js +33 -0
  72. package/src/declaracoes/block.js.map +1 -0
  73. package/src/declaracoes/classe.d.ts +8 -0
  74. package/src/declaracoes/classe.js +35 -0
  75. package/src/declaracoes/classe.js.map +1 -0
  76. package/src/declaracoes/continua.d.ts +5 -0
  77. package/src/declaracoes/continua.js +31 -0
  78. package/src/declaracoes/continua.js.map +1 -0
  79. package/src/declaracoes/enquanto.d.ts +7 -0
  80. package/src/declaracoes/enquanto.js +34 -0
  81. package/src/declaracoes/enquanto.js.map +1 -0
  82. package/src/declaracoes/escolha.d.ts +8 -0
  83. package/src/declaracoes/escolha.js +35 -0
  84. package/src/declaracoes/escolha.js.map +1 -0
  85. package/src/declaracoes/escreva.d.ts +6 -0
  86. package/src/declaracoes/escreva.js +33 -0
  87. package/src/declaracoes/escreva.js.map +1 -0
  88. package/src/declaracoes/expressao.d.ts +6 -0
  89. package/src/declaracoes/expressao.js +33 -0
  90. package/src/declaracoes/expressao.js.map +1 -0
  91. package/src/declaracoes/fazer.d.ts +7 -0
  92. package/src/declaracoes/fazer.js +34 -0
  93. package/src/declaracoes/fazer.js.map +1 -0
  94. package/src/declaracoes/funcao.d.ts +7 -0
  95. package/src/declaracoes/funcao.js +34 -0
  96. package/src/declaracoes/funcao.js.map +1 -0
  97. package/src/declaracoes/importar.d.ts +7 -0
  98. package/src/declaracoes/importar.js +34 -0
  99. package/src/declaracoes/importar.js.map +1 -0
  100. package/src/declaracoes/index.d.ts +17 -0
  101. package/src/declaracoes/index.js +27 -246
  102. package/src/declaracoes/index.js.map +1 -1
  103. package/src/declaracoes/para.d.ts +9 -0
  104. package/src/declaracoes/para.js +36 -0
  105. package/src/declaracoes/para.js.map +1 -0
  106. package/src/declaracoes/pausa.d.ts +5 -0
  107. package/src/declaracoes/pausa.js +31 -0
  108. package/src/declaracoes/pausa.js.map +1 -0
  109. package/src/declaracoes/retorna.d.ts +7 -0
  110. package/src/declaracoes/retorna.js +34 -0
  111. package/src/declaracoes/retorna.js.map +1 -0
  112. package/src/declaracoes/se.d.ts +9 -0
  113. package/src/declaracoes/se.js +36 -0
  114. package/src/declaracoes/se.js.map +1 -0
  115. package/src/declaracoes/stmt.d.ts +3 -0
  116. package/src/declaracoes/stmt.js +11 -0
  117. package/src/declaracoes/stmt.js.map +1 -0
  118. package/src/declaracoes/tente.d.ts +9 -0
  119. package/src/declaracoes/tente.js +36 -0
  120. package/src/declaracoes/tente.js.map +1 -0
  121. package/src/declaracoes/var.d.ts +7 -0
  122. package/src/declaracoes/var.js +34 -0
  123. package/src/declaracoes/var.js.map +1 -0
  124. package/src/delegua.d.ts +21 -0
  125. package/src/delegua.js +12 -6
  126. package/src/delegua.js.map +1 -1
  127. package/src/estruturas/callable.d.ts +5 -0
  128. package/src/estruturas/classe.d.ts +11 -0
  129. package/src/estruturas/funcao-padrao.d.ts +9 -0
  130. package/src/estruturas/funcao.d.ts +12 -0
  131. package/src/estruturas/funcao.js +1 -1
  132. package/src/estruturas/funcao.js.map +1 -1
  133. package/src/estruturas/index.d.ts +6 -0
  134. package/src/estruturas/instancia.d.ts +8 -0
  135. package/src/estruturas/modulo.d.ts +5 -0
  136. package/src/excecoes/break-exception.d.ts +2 -0
  137. package/src/excecoes/continue-exception.d.ts +2 -0
  138. package/src/excecoes/erro-em-tempo-de-execucao.d.ts +5 -0
  139. package/src/excecoes/index.d.ts +4 -0
  140. package/src/excecoes/return-exception.d.ts +4 -0
  141. package/src/interfaces/avaliador-sintatico-interface.d.ts +55 -0
  142. package/src/interfaces/index.d.ts +6 -0
  143. package/src/interfaces/interpretador-interface.d.ts +51 -0
  144. package/src/interfaces/lexador-interface.d.ts +23 -0
  145. package/src/interfaces/pilha-interface.d.ts +7 -0
  146. package/src/interfaces/resolvedor-interface.d.ts +48 -0
  147. package/src/interfaces/simbolo-interface.d.ts +6 -0
  148. package/src/interpretador/dialetos/egua-classico.d.ts +58 -0
  149. package/src/interpretador/dialetos/egua-classico.js +64 -68
  150. package/src/interpretador/dialetos/egua-classico.js.map +1 -1
  151. package/src/interpretador/dialetos/index.d.ts +1 -0
  152. package/src/interpretador/index.d.ts +58 -0
  153. package/src/interpretador/index.js +74 -75
  154. package/src/interpretador/index.js.map +1 -1
  155. package/src/lexador/dialetos/egua-classico.d.ts +31 -0
  156. package/src/lexador/dialetos/egua-classico.js +5 -7
  157. package/src/lexador/dialetos/egua-classico.js.map +1 -1
  158. package/src/lexador/dialetos/index.d.ts +1 -0
  159. package/src/lexador/index.d.ts +31 -0
  160. package/src/lexador/index.js +7 -10
  161. package/src/lexador/index.js.map +1 -1
  162. package/src/resolvedor/Pilha.d.ts +9 -0
  163. package/src/resolvedor/ResolverError.d.ts +4 -0
  164. package/src/resolvedor/dialetos/egua-classico.d.ts +56 -0
  165. package/src/resolvedor/dialetos/egua-classico.js +39 -39
  166. package/src/resolvedor/dialetos/egua-classico.js.map +1 -1
  167. package/src/resolvedor/dialetos/index.d.ts +1 -0
  168. package/src/resolvedor/index.d.ts +56 -0
  169. package/src/resolvedor/index.js +39 -39
  170. package/src/resolvedor/index.js.map +1 -1
  171. package/src/tiposDeSimbolos.d.ts +67 -0
  172. package/src/tiposDeSimbolos.js +1 -1
  173. package/src/tiposDeSimbolos.js.map +1 -1
  174. package/src/web.d.ts +11 -0
  175. package/src/avaliador-sintatico/parser-error.js.map +0 -1
@@ -0,0 +1,33 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.Block = void 0;
19
+ var stmt_1 = require("./stmt");
20
+ var Block = /** @class */ (function (_super) {
21
+ __extends(Block, _super);
22
+ function Block(declaracoes) {
23
+ var _this = _super.call(this) || this;
24
+ _this.declaracoes = declaracoes;
25
+ return _this;
26
+ }
27
+ Block.prototype.aceitar = function (visitor) {
28
+ return visitor.visitarExpressaoBloco(this);
29
+ };
30
+ return Block;
31
+ }(stmt_1.Stmt));
32
+ exports.Block = Block;
33
+ //# sourceMappingURL=block.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"block.js","sourceRoot":"","sources":["../../../src/declaracoes/block.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA2B,yBAAI;IAG3B,eAAY,WAAgB;QAA5B,YACI,iBAAO,SAEV;QADG,KAAI,CAAC,WAAW,GAAG,WAAW,CAAC;;IACnC,CAAC;IAED,uBAAO,GAAP,UAAQ,OAAY;QAChB,OAAO,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;IACL,YAAC;AAAD,CAAC,AAXD,CAA2B,WAAI,GAW9B;AAXY,sBAAK"}
@@ -0,0 +1,8 @@
1
+ import { Stmt } from "./stmt";
2
+ export declare class Classe extends Stmt {
3
+ nome: string;
4
+ superClasse: any;
5
+ metodos: any;
6
+ constructor(nome: any, superClasse: any, metodos: any);
7
+ aceitar(visitor: any): any;
8
+ }
@@ -0,0 +1,35 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.Classe = void 0;
19
+ var stmt_1 = require("./stmt");
20
+ var Classe = /** @class */ (function (_super) {
21
+ __extends(Classe, _super);
22
+ function Classe(nome, superClasse, metodos) {
23
+ var _this = _super.call(this) || this;
24
+ _this.nome = nome;
25
+ _this.superClasse = superClasse;
26
+ _this.metodos = metodos;
27
+ return _this;
28
+ }
29
+ Classe.prototype.aceitar = function (visitor) {
30
+ return visitor.visitarExpressaoClasse(this);
31
+ };
32
+ return Classe;
33
+ }(stmt_1.Stmt));
34
+ exports.Classe = Classe;
35
+ //# sourceMappingURL=classe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"classe.js","sourceRoot":"","sources":["../../../src/declaracoes/classe.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA4B,0BAAI;IAK5B,gBAAY,IAAS,EAAE,WAAgB,EAAE,OAAY;QAArD,YACI,iBAAO,SAIV;QAHG,KAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,KAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;;IAC3B,CAAC;IAED,wBAAO,GAAP,UAAQ,OAAY;QAChB,OAAO,OAAO,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;IACL,aAAC;AAAD,CAAC,AAfD,CAA4B,WAAI,GAe/B;AAfY,wBAAM"}
@@ -0,0 +1,5 @@
1
+ import { Stmt } from "./stmt";
2
+ export declare class Continua extends Stmt {
3
+ constructor();
4
+ aceitar(visitor: any): any;
5
+ }
@@ -0,0 +1,31 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.Continua = void 0;
19
+ var stmt_1 = require("./stmt");
20
+ var Continua = /** @class */ (function (_super) {
21
+ __extends(Continua, _super);
22
+ function Continua() {
23
+ return _super.call(this) || this;
24
+ }
25
+ Continua.prototype.aceitar = function (visitor) {
26
+ return visitor.visitarExpressaoContinua(this);
27
+ };
28
+ return Continua;
29
+ }(stmt_1.Stmt));
30
+ exports.Continua = Continua;
31
+ //# sourceMappingURL=continua.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"continua.js","sourceRoot":"","sources":["../../../src/declaracoes/continua.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA8B,4BAAI;IAC9B;eACI,iBAAO;IACX,CAAC;IAED,0BAAO,GAAP,UAAQ,OAAY;QAChB,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IACL,eAAC;AAAD,CAAC,AARD,CAA8B,WAAI,GAQjC;AARY,4BAAQ"}
@@ -0,0 +1,7 @@
1
+ import { Stmt } from "./stmt";
2
+ export declare class Enquanto extends Stmt {
3
+ condicao: any;
4
+ corpo: any;
5
+ constructor(condicao: any, corpo: any);
6
+ aceitar(visitor: any): any;
7
+ }
@@ -0,0 +1,34 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.Enquanto = void 0;
19
+ var stmt_1 = require("./stmt");
20
+ var Enquanto = /** @class */ (function (_super) {
21
+ __extends(Enquanto, _super);
22
+ function Enquanto(condicao, corpo) {
23
+ var _this = _super.call(this) || this;
24
+ _this.condicao = condicao;
25
+ _this.corpo = corpo;
26
+ return _this;
27
+ }
28
+ Enquanto.prototype.aceitar = function (visitor) {
29
+ return visitor.visitarExpressaoEnquanto(this);
30
+ };
31
+ return Enquanto;
32
+ }(stmt_1.Stmt));
33
+ exports.Enquanto = Enquanto;
34
+ //# sourceMappingURL=enquanto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enquanto.js","sourceRoot":"","sources":["../../../src/declaracoes/enquanto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA8B,4BAAI;IAI9B,kBAAY,QAAa,EAAE,KAAU;QAArC,YACI,iBAAO,SAGV;QAFG,KAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,KAAI,CAAC,KAAK,GAAG,KAAK,CAAC;;IACvB,CAAC;IAED,0BAAO,GAAP,UAAQ,OAAY;QAChB,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IACL,eAAC;AAAD,CAAC,AAbD,CAA8B,WAAI,GAajC;AAbY,4BAAQ"}
@@ -0,0 +1,8 @@
1
+ import { Stmt } from "./stmt";
2
+ export declare class Escolha extends Stmt {
3
+ condicao: any;
4
+ branches: any;
5
+ defaultBranch: any;
6
+ constructor(condicao: any, branches: any, defaultBranch: any);
7
+ aceitar(visitor: any): any;
8
+ }
@@ -0,0 +1,35 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.Escolha = void 0;
19
+ var stmt_1 = require("./stmt");
20
+ var Escolha = /** @class */ (function (_super) {
21
+ __extends(Escolha, _super);
22
+ function Escolha(condicao, branches, defaultBranch) {
23
+ var _this = _super.call(this) || this;
24
+ _this.condicao = condicao;
25
+ _this.branches = branches;
26
+ _this.defaultBranch = defaultBranch;
27
+ return _this;
28
+ }
29
+ Escolha.prototype.aceitar = function (visitor) {
30
+ return visitor.visitarExpressaoEscolha(this);
31
+ };
32
+ return Escolha;
33
+ }(stmt_1.Stmt));
34
+ exports.Escolha = Escolha;
35
+ //# sourceMappingURL=escolha.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"escolha.js","sourceRoot":"","sources":["../../../src/declaracoes/escolha.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA6B,2BAAI;IAK7B,iBAAY,QAAa,EAAE,QAAa,EAAE,aAAkB;QAA5D,YACI,iBAAO,SAIV;QAHG,KAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,KAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,KAAI,CAAC,aAAa,GAAG,aAAa,CAAC;;IACvC,CAAC;IAED,yBAAO,GAAP,UAAQ,OAAY;QAChB,OAAO,OAAO,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACL,cAAC;AAAD,CAAC,AAfD,CAA6B,WAAI,GAehC;AAfY,0BAAO"}
@@ -0,0 +1,6 @@
1
+ import { Stmt } from "./stmt";
2
+ export declare class Escreva extends Stmt {
3
+ expressao: any;
4
+ constructor(expressao: any);
5
+ aceitar(visitor: any): any;
6
+ }
@@ -0,0 +1,33 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.Escreva = void 0;
19
+ var stmt_1 = require("./stmt");
20
+ var Escreva = /** @class */ (function (_super) {
21
+ __extends(Escreva, _super);
22
+ function Escreva(expressao) {
23
+ var _this = _super.call(this) || this;
24
+ _this.expressao = expressao;
25
+ return _this;
26
+ }
27
+ Escreva.prototype.aceitar = function (visitor) {
28
+ return visitor.visitarExpressaoEscreva(this);
29
+ };
30
+ return Escreva;
31
+ }(stmt_1.Stmt));
32
+ exports.Escreva = Escreva;
33
+ //# sourceMappingURL=escreva.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"escreva.js","sourceRoot":"","sources":["../../../src/declaracoes/escreva.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA6B,2BAAI;IAG7B,iBAAY,SAAc;QAA1B,YACI,iBAAO,SAEV;QADG,KAAI,CAAC,SAAS,GAAG,SAAS,CAAC;;IAC/B,CAAC;IAED,yBAAO,GAAP,UAAQ,OAAY;QAChB,OAAO,OAAO,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACL,cAAC;AAAD,CAAC,AAXD,CAA6B,WAAI,GAWhC;AAXY,0BAAO"}
@@ -0,0 +1,6 @@
1
+ import { Stmt } from "./stmt";
2
+ export declare class Expressao extends Stmt {
3
+ expressao: any;
4
+ constructor(expressao: any);
5
+ aceitar(visitor: any): any;
6
+ }
@@ -0,0 +1,33 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.Expressao = void 0;
19
+ var stmt_1 = require("./stmt");
20
+ var Expressao = /** @class */ (function (_super) {
21
+ __extends(Expressao, _super);
22
+ function Expressao(expressao) {
23
+ var _this = _super.call(this) || this;
24
+ _this.expressao = expressao;
25
+ return _this;
26
+ }
27
+ Expressao.prototype.aceitar = function (visitor) {
28
+ return visitor.visitarDeclaracaoDeExpressao(this);
29
+ };
30
+ return Expressao;
31
+ }(stmt_1.Stmt));
32
+ exports.Expressao = Expressao;
33
+ //# sourceMappingURL=expressao.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expressao.js","sourceRoot":"","sources":["../../../src/declaracoes/expressao.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA+B,6BAAI;IAG/B,mBAAY,SAAc;QAA1B,YACI,iBAAO,SAEV;QADG,KAAI,CAAC,SAAS,GAAG,SAAS,CAAC;;IAC/B,CAAC;IAED,2BAAO,GAAP,UAAQ,OAAY;QAChB,OAAO,OAAO,CAAC,4BAA4B,CAAC,IAAI,CAAC,CAAC;IACtD,CAAC;IACL,gBAAC;AAAD,CAAC,AAXD,CAA+B,WAAI,GAWlC;AAXY,8BAAS"}
@@ -0,0 +1,7 @@
1
+ import { Stmt } from "./stmt";
2
+ export declare class Fazer extends Stmt {
3
+ doBranch: any;
4
+ whileCondition: any;
5
+ constructor(doBranch: any, whileCondition: any);
6
+ aceitar(visitor: any): any;
7
+ }
@@ -0,0 +1,34 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.Fazer = void 0;
19
+ var stmt_1 = require("./stmt");
20
+ var Fazer = /** @class */ (function (_super) {
21
+ __extends(Fazer, _super);
22
+ function Fazer(doBranch, whileCondition) {
23
+ var _this = _super.call(this) || this;
24
+ _this.doBranch = doBranch;
25
+ _this.whileCondition = whileCondition;
26
+ return _this;
27
+ }
28
+ Fazer.prototype.aceitar = function (visitor) {
29
+ return visitor.visitarExpressaoFazer(this);
30
+ };
31
+ return Fazer;
32
+ }(stmt_1.Stmt));
33
+ exports.Fazer = Fazer;
34
+ //# sourceMappingURL=fazer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fazer.js","sourceRoot":"","sources":["../../../src/declaracoes/fazer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA2B,yBAAI;IAI3B,eAAY,QAAa,EAAE,cAAmB;QAA9C,YACI,iBAAO,SAGV;QAFG,KAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,KAAI,CAAC,cAAc,GAAG,cAAc,CAAC;;IACzC,CAAC;IAED,uBAAO,GAAP,UAAQ,OAAY;QAChB,OAAO,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;IACL,YAAC;AAAD,CAAC,AAbD,CAA2B,WAAI,GAa9B;AAbY,sBAAK"}
@@ -0,0 +1,7 @@
1
+ import { Stmt } from "./stmt";
2
+ export declare class Funcao extends Stmt {
3
+ nome: string;
4
+ funcao: any;
5
+ constructor(nome: any, funcao: any);
6
+ aceitar(visitor: any): any;
7
+ }
@@ -0,0 +1,34 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.Funcao = void 0;
19
+ var stmt_1 = require("./stmt");
20
+ var Funcao = /** @class */ (function (_super) {
21
+ __extends(Funcao, _super);
22
+ function Funcao(nome, funcao) {
23
+ var _this = _super.call(this) || this;
24
+ _this.nome = nome;
25
+ _this.funcao = funcao;
26
+ return _this;
27
+ }
28
+ Funcao.prototype.aceitar = function (visitor) {
29
+ return visitor.visitarExpressaoFuncao(this);
30
+ };
31
+ return Funcao;
32
+ }(stmt_1.Stmt));
33
+ exports.Funcao = Funcao;
34
+ //# sourceMappingURL=funcao.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"funcao.js","sourceRoot":"","sources":["../../../src/declaracoes/funcao.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA4B,0BAAI;IAI5B,gBAAY,IAAS,EAAE,MAAW;QAAlC,YACI,iBAAO,SAGV;QAFG,KAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,KAAI,CAAC,MAAM,GAAG,MAAM,CAAC;;IACzB,CAAC;IAED,wBAAO,GAAP,UAAQ,OAAY;QAChB,OAAO,OAAO,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;IACL,aAAC;AAAD,CAAC,AAbD,CAA4B,WAAI,GAa/B;AAbY,wBAAM"}
@@ -0,0 +1,7 @@
1
+ import { Stmt } from "./stmt";
2
+ export declare class Importar extends Stmt {
3
+ caminho: string;
4
+ closeBracket: any;
5
+ constructor(caminho: any, closeBracket: any);
6
+ aceitar(visitor: any): any;
7
+ }
@@ -0,0 +1,34 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.Importar = void 0;
19
+ var stmt_1 = require("./stmt");
20
+ var Importar = /** @class */ (function (_super) {
21
+ __extends(Importar, _super);
22
+ function Importar(caminho, closeBracket) {
23
+ var _this = _super.call(this) || this;
24
+ _this.caminho = caminho;
25
+ _this.closeBracket = closeBracket;
26
+ return _this;
27
+ }
28
+ Importar.prototype.aceitar = function (visitor) {
29
+ return visitor.visitarExpressaoImportar(this);
30
+ };
31
+ return Importar;
32
+ }(stmt_1.Stmt));
33
+ exports.Importar = Importar;
34
+ //# sourceMappingURL=importar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"importar.js","sourceRoot":"","sources":["../../../src/declaracoes/importar.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA8B,4BAAI;IAI9B,kBAAY,OAAY,EAAE,YAAiB;QAA3C,YACI,iBAAO,SAGV;QAFG,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;;IACrC,CAAC;IAED,0BAAO,GAAP,UAAQ,OAAY;QAChB,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IACL,eAAC;AAAD,CAAC,AAbD,CAA8B,WAAI,GAajC;AAbY,4BAAQ"}
@@ -0,0 +1,17 @@
1
+ export * from './block';
2
+ export * from './classe';
3
+ export * from './continua';
4
+ export * from './enquanto';
5
+ export * from './escolha';
6
+ export * from './escreva';
7
+ export * from './expressao';
8
+ export * from './fazer';
9
+ export * from './funcao';
10
+ export * from './importar';
11
+ export * from './para';
12
+ export * from './pausa';
13
+ export * from './retorna';
14
+ export * from './se';
15
+ export * from './stmt';
16
+ export * from './tente';
17
+ export * from './var';