@designliquido/delegua 0.1.3 → 0.1.7

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 (97) hide show
  1. package/bin/package.json +4 -3
  2. package/package.json +4 -3
  3. package/src/avaliador-sintatico/dialetos/egua-classico.js +116 -116
  4. package/src/avaliador-sintatico/dialetos/egua-classico.js.map +1 -1
  5. package/src/avaliador-sintatico/{parser-error.js → erros-avaliador.js} +1 -1
  6. package/src/avaliador-sintatico/erros-avaliador.js.map +1 -0
  7. package/src/avaliador-sintatico/index.js +123 -123
  8. package/src/avaliador-sintatico/index.js.map +1 -1
  9. package/src/construtos/assign-subscript.js +1 -1
  10. package/src/construtos/assign-subscript.js.map +1 -1
  11. package/src/construtos/atribuir.js +1 -1
  12. package/src/construtos/atribuir.js.map +1 -1
  13. package/src/construtos/binario.js +1 -1
  14. package/src/construtos/binario.js.map +1 -1
  15. package/src/construtos/call.js +1 -1
  16. package/src/construtos/call.js.map +1 -1
  17. package/src/construtos/conjunto.js +1 -1
  18. package/src/construtos/conjunto.js.map +1 -1
  19. package/src/construtos/dicionario.js +1 -1
  20. package/src/construtos/dicionario.js.map +1 -1
  21. package/src/construtos/funcao.js +1 -1
  22. package/src/construtos/funcao.js.map +1 -1
  23. package/src/construtos/get.js +1 -1
  24. package/src/construtos/get.js.map +1 -1
  25. package/src/construtos/grouping.js +1 -1
  26. package/src/construtos/grouping.js.map +1 -1
  27. package/src/construtos/isto.js +1 -1
  28. package/src/construtos/isto.js.map +1 -1
  29. package/src/construtos/literal.js +1 -1
  30. package/src/construtos/literal.js.map +1 -1
  31. package/src/construtos/logical.js +1 -1
  32. package/src/construtos/logical.js.map +1 -1
  33. package/src/construtos/subscript.js +1 -1
  34. package/src/construtos/subscript.js.map +1 -1
  35. package/src/construtos/super.js +1 -1
  36. package/src/construtos/super.js.map +1 -1
  37. package/src/construtos/unario.js +1 -1
  38. package/src/construtos/unario.js.map +1 -1
  39. package/src/construtos/variavel.js +1 -1
  40. package/src/construtos/variavel.js.map +1 -1
  41. package/src/construtos/vetor.js +1 -1
  42. package/src/construtos/vetor.js.map +1 -1
  43. package/src/declaracoes/block.js +33 -0
  44. package/src/declaracoes/block.js.map +1 -0
  45. package/src/declaracoes/classe.js +35 -0
  46. package/src/declaracoes/classe.js.map +1 -0
  47. package/src/declaracoes/continua.js +31 -0
  48. package/src/declaracoes/continua.js.map +1 -0
  49. package/src/declaracoes/enquanto.js +34 -0
  50. package/src/declaracoes/enquanto.js.map +1 -0
  51. package/src/declaracoes/escolha.js +35 -0
  52. package/src/declaracoes/escolha.js.map +1 -0
  53. package/src/declaracoes/escreva.js +33 -0
  54. package/src/declaracoes/escreva.js.map +1 -0
  55. package/src/declaracoes/expressao.js +33 -0
  56. package/src/declaracoes/expressao.js.map +1 -0
  57. package/src/declaracoes/fazer.js +34 -0
  58. package/src/declaracoes/fazer.js.map +1 -0
  59. package/src/declaracoes/funcao.js +34 -0
  60. package/src/declaracoes/funcao.js.map +1 -0
  61. package/src/declaracoes/importar.js +34 -0
  62. package/src/declaracoes/importar.js.map +1 -0
  63. package/src/declaracoes/index.js +27 -246
  64. package/src/declaracoes/index.js.map +1 -1
  65. package/src/declaracoes/para.js +36 -0
  66. package/src/declaracoes/para.js.map +1 -0
  67. package/src/declaracoes/pausa.js +31 -0
  68. package/src/declaracoes/pausa.js.map +1 -0
  69. package/src/declaracoes/retorna.js +34 -0
  70. package/src/declaracoes/retorna.js.map +1 -0
  71. package/src/declaracoes/se.js +36 -0
  72. package/src/declaracoes/se.js.map +1 -0
  73. package/src/declaracoes/stmt.js +11 -0
  74. package/src/declaracoes/stmt.js.map +1 -0
  75. package/src/declaracoes/tente.js +36 -0
  76. package/src/declaracoes/tente.js.map +1 -0
  77. package/src/declaracoes/var.js +34 -0
  78. package/src/declaracoes/var.js.map +1 -0
  79. package/src/delegua.js +11 -6
  80. package/src/delegua.js.map +1 -1
  81. package/src/estruturas/funcao.js +1 -1
  82. package/src/estruturas/funcao.js.map +1 -1
  83. package/src/interpretador/dialetos/egua-classico.js +64 -68
  84. package/src/interpretador/dialetos/egua-classico.js.map +1 -1
  85. package/src/interpretador/index.js +74 -75
  86. package/src/interpretador/index.js.map +1 -1
  87. package/src/lexador/dialetos/egua-classico.js +5 -7
  88. package/src/lexador/dialetos/egua-classico.js.map +1 -1
  89. package/src/lexador/index.js +7 -10
  90. package/src/lexador/index.js.map +1 -1
  91. package/src/resolvedor/dialetos/egua-classico.js +39 -39
  92. package/src/resolvedor/dialetos/egua-classico.js.map +1 -1
  93. package/src/resolvedor/index.js +39 -39
  94. package/src/resolvedor/index.js.map +1 -1
  95. package/src/tiposDeSimbolos.js +1 -1
  96. package/src/tiposDeSimbolos.js.map +1 -1
  97. 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.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,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,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,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,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"}
@@ -1,249 +1,30 @@
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
- })();
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
17
12
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.Var = exports.Continua = exports.Pausa = exports.Escolha = exports.Se = exports.Tente = exports.Para = exports.Enquanto = exports.Fazer = exports.Importar = exports.Escreva = exports.Block = exports.Classe = exports.Retorna = exports.Funcao = exports.Expressao = exports.Stmt = void 0;
19
- var Stmt = /** @class */ (function () {
20
- function Stmt() {
21
- }
22
- Stmt.prototype.aceitar = function (visitor) { };
23
- return Stmt;
24
- }());
25
- exports.Stmt = Stmt;
26
- var Expressao = /** @class */ (function (_super) {
27
- __extends(Expressao, _super);
28
- function Expressao(expressao) {
29
- var _this = _super.call(this) || this;
30
- _this.expressao = expressao;
31
- return _this;
32
- }
33
- Expressao.prototype.aceitar = function (visitor) {
34
- return visitor.visitExpressionStmt(this);
35
- };
36
- return Expressao;
37
- }(Stmt));
38
- exports.Expressao = Expressao;
39
- var Funcao = /** @class */ (function (_super) {
40
- __extends(Funcao, _super);
41
- function Funcao(nome, funcao) {
42
- var _this = _super.call(this) || this;
43
- _this.nome = nome;
44
- _this.funcao = funcao;
45
- return _this;
46
- }
47
- Funcao.prototype.aceitar = function (visitor) {
48
- return visitor.visitFunctionStmt(this);
49
- };
50
- return Funcao;
51
- }(Stmt));
52
- exports.Funcao = Funcao;
53
- var Retorna = /** @class */ (function (_super) {
54
- __extends(Retorna, _super);
55
- function Retorna(palavraChave, valor) {
56
- var _this = _super.call(this) || this;
57
- _this.palavraChave = palavraChave;
58
- _this.valor = valor;
59
- return _this;
60
- }
61
- Retorna.prototype.aceitar = function (visitor) {
62
- return visitor.visitReturnStmt(this);
63
- };
64
- return Retorna;
65
- }(Stmt));
66
- exports.Retorna = Retorna;
67
- var Classe = /** @class */ (function (_super) {
68
- __extends(Classe, _super);
69
- function Classe(nome, superClasse, metodos) {
70
- var _this = _super.call(this) || this;
71
- _this.nome = nome;
72
- _this.superClasse = superClasse;
73
- _this.metodos = metodos;
74
- return _this;
75
- }
76
- Classe.prototype.aceitar = function (visitor) {
77
- return visitor.visitClassStmt(this);
78
- };
79
- return Classe;
80
- }(Stmt));
81
- exports.Classe = Classe;
82
- var Block = /** @class */ (function (_super) {
83
- __extends(Block, _super);
84
- function Block(declaracoes) {
85
- var _this = _super.call(this) || this;
86
- _this.declaracoes = declaracoes;
87
- return _this;
88
- }
89
- Block.prototype.aceitar = function (visitor) {
90
- return visitor.visitBlockStmt(this);
91
- };
92
- return Block;
93
- }(Stmt));
94
- exports.Block = Block;
95
- var Escreva = /** @class */ (function (_super) {
96
- __extends(Escreva, _super);
97
- function Escreva(expressao) {
98
- var _this = _super.call(this) || this;
99
- _this.expressao = expressao;
100
- return _this;
101
- }
102
- Escreva.prototype.aceitar = function (visitor) {
103
- return visitor.visitPrintStmt(this);
104
- };
105
- return Escreva;
106
- }(Stmt));
107
- exports.Escreva = Escreva;
108
- var Importar = /** @class */ (function (_super) {
109
- __extends(Importar, _super);
110
- function Importar(caminho, closeBracket) {
111
- var _this = _super.call(this) || this;
112
- _this.caminho = caminho;
113
- _this.closeBracket = closeBracket;
114
- return _this;
115
- }
116
- Importar.prototype.aceitar = function (visitor) {
117
- return visitor.visitImportStmt(this);
118
- };
119
- return Importar;
120
- }(Stmt));
121
- exports.Importar = Importar;
122
- var Fazer = /** @class */ (function (_super) {
123
- __extends(Fazer, _super);
124
- function Fazer(doBranch, whileCondition) {
125
- var _this = _super.call(this) || this;
126
- _this.doBranch = doBranch;
127
- _this.whileCondition = whileCondition;
128
- return _this;
129
- }
130
- Fazer.prototype.aceitar = function (visitor) {
131
- return visitor.visitDoStmt(this);
132
- };
133
- return Fazer;
134
- }(Stmt));
135
- exports.Fazer = Fazer;
136
- var Enquanto = /** @class */ (function (_super) {
137
- __extends(Enquanto, _super);
138
- function Enquanto(condicao, corpo) {
139
- var _this = _super.call(this) || this;
140
- _this.condicao = condicao;
141
- _this.corpo = corpo;
142
- return _this;
143
- }
144
- Enquanto.prototype.aceitar = function (visitor) {
145
- return visitor.visitWhileStmt(this);
146
- };
147
- return Enquanto;
148
- }(Stmt));
149
- exports.Enquanto = Enquanto;
150
- var Para = /** @class */ (function (_super) {
151
- __extends(Para, _super);
152
- function Para(inicializador, condicao, incrementar, corpo) {
153
- var _this = _super.call(this) || this;
154
- _this.inicializador = inicializador;
155
- _this.condicao = condicao;
156
- _this.incrementar = incrementar;
157
- _this.corpo = corpo;
158
- return _this;
159
- }
160
- Para.prototype.aceitar = function (visitor) {
161
- return visitor.visitForStmt(this);
162
- };
163
- return Para;
164
- }(Stmt));
165
- exports.Para = Para;
166
- var Tente = /** @class */ (function (_super) {
167
- __extends(Tente, _super);
168
- function Tente(tryBranch, catchBranch, elseBranch, finallyBranch) {
169
- var _this = _super.call(this) || this;
170
- _this.tryBranch = tryBranch;
171
- _this.catchBranch = catchBranch;
172
- _this.elseBranch = elseBranch;
173
- _this.finallyBranch = finallyBranch;
174
- return _this;
175
- }
176
- Tente.prototype.aceitar = function (visitor) {
177
- return visitor.visitTryStmt(this);
178
- };
179
- return Tente;
180
- }(Stmt));
181
- exports.Tente = Tente;
182
- var Se = /** @class */ (function (_super) {
183
- __extends(Se, _super);
184
- function Se(condicao, thenBranch, elifBranches, elseBranch) {
185
- var _this = _super.call(this) || this;
186
- _this.condicao = condicao;
187
- _this.thenBranch = thenBranch;
188
- _this.elifBranches = elifBranches;
189
- _this.elseBranch = elseBranch;
190
- return _this;
191
- }
192
- Se.prototype.aceitar = function (visitor) {
193
- return visitor.visitIfStmt(this);
194
- };
195
- return Se;
196
- }(Stmt));
197
- exports.Se = Se;
198
- var Escolha = /** @class */ (function (_super) {
199
- __extends(Escolha, _super);
200
- function Escolha(condicao, branches, defaultBranch) {
201
- var _this = _super.call(this) || this;
202
- _this.condicao = condicao;
203
- _this.branches = branches;
204
- _this.defaultBranch = defaultBranch;
205
- return _this;
206
- }
207
- Escolha.prototype.aceitar = function (visitor) {
208
- return visitor.visitSwitchStmt(this);
209
- };
210
- return Escolha;
211
- }(Stmt));
212
- exports.Escolha = Escolha;
213
- var Pausa = /** @class */ (function (_super) {
214
- __extends(Pausa, _super);
215
- function Pausa() {
216
- return _super.call(this) || this;
217
- }
218
- Pausa.prototype.aceitar = function (visitor) {
219
- return visitor.visitBreakStmt(this);
220
- };
221
- return Pausa;
222
- }(Stmt));
223
- exports.Pausa = Pausa;
224
- var Continua = /** @class */ (function (_super) {
225
- __extends(Continua, _super);
226
- function Continua() {
227
- return _super.call(this) || this;
228
- }
229
- Continua.prototype.aceitar = function (visitor) {
230
- return visitor.visitContinueStmt(this);
231
- };
232
- return Continua;
233
- }(Stmt));
234
- exports.Continua = Continua;
235
- var Var = /** @class */ (function (_super) {
236
- __extends(Var, _super);
237
- function Var(nome, inicializador) {
238
- var _this = _super.call(this) || this;
239
- _this.nome = nome;
240
- _this.inicializador = inicializador;
241
- return _this;
242
- }
243
- Var.prototype.aceitar = function (visitor) {
244
- return visitor.visitVarStmt(this);
245
- };
246
- return Var;
247
- }(Stmt));
248
- exports.Var = Var;
13
+ __exportStar(require("./block"), exports);
14
+ __exportStar(require("./classe"), exports);
15
+ __exportStar(require("./continua"), exports);
16
+ __exportStar(require("./enquanto"), exports);
17
+ __exportStar(require("./escolha"), exports);
18
+ __exportStar(require("./escreva"), exports);
19
+ __exportStar(require("./expressao"), exports);
20
+ __exportStar(require("./fazer"), exports);
21
+ __exportStar(require("./funcao"), exports);
22
+ __exportStar(require("./importar"), exports);
23
+ __exportStar(require("./para"), exports);
24
+ __exportStar(require("./pausa"), exports);
25
+ __exportStar(require("./retorna"), exports);
26
+ __exportStar(require("./se"), exports);
27
+ __exportStar(require("./stmt"), exports);
28
+ __exportStar(require("./tente"), exports);
29
+ __exportStar(require("./var"), exports);
249
30
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/declaracoes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;IAAA;IAEA,CAAC;IADG,sBAAO,GAAP,UAAQ,OAAY,IAAS,CAAC;IAClC,WAAC;AAAD,CAAC,AAFD,IAEC;AAFY,oBAAI;AAIjB;IAA+B,6BAAI;IAG/B,mBAAY,SAAS;QAArB,YACI,iBAAO,SAEV;QADG,KAAI,CAAC,SAAS,GAAG,SAAS,CAAC;;IAC/B,CAAC;IAED,2BAAO,GAAP,UAAQ,OAAY;QAChB,OAAO,OAAO,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAA;IAC5C,CAAC;IACL,gBAAC;AAAD,CAAC,AAXD,CAA+B,IAAI,GAWlC;AAXY,8BAAS;AAatB;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,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;IACL,aAAC;AAAD,CAAC,AAbD,CAA4B,IAAI,GAa/B;AAbY,wBAAM;AAenB;IAA6B,2BAAI;IAI7B,iBAAY,YAAiB,EAAE,KAAU;QAAzC,YACI,iBAAO,SAGV;QAFG,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,KAAI,CAAC,KAAK,GAAG,KAAK,CAAC;;IACvB,CAAC;IAED,yBAAO,GAAP,UAAQ,OAAY;QAChB,OAAO,OAAO,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;IACzC,CAAC;IACL,cAAC;AAAD,CAAC,AAbD,CAA6B,IAAI,GAahC;AAbY,0BAAO;AAepB;IAA4B,0BAAI;I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0BAAO;AAiBpB;IAA2B,yBAAI;IAC3B;eACI,iBAAO;IACX,CAAC;IAED,uBAAO,GAAP,UAAQ,OAAY;QAChB,OAAO,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IACxC,CAAC;IACL,YAAC;AAAD,CAAC,AARD,CAA2B,IAAI,GAQ9B;AARY,sBAAK;AAUlB;IAA8B,4BAAI;IAC9B;eACI,iBAAO;IACX,CAAC;IAED,0BAAO,GAAP,UAAQ,OAAY;QAChB,OAAO,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;IACL,eAAC;AAAD,CAAC,AARD,CAA8B,IAAI,GAQjC;AARY,4BAAQ;AAUrB;IAAyB,uBAAI;IAIzB,aAAY,IAAS,EAAE,aAAkB;QAAzC,YACI,iBAAO,SAGV;QAFG,KAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,KAAI,CAAC,aAAa,GAAG,aAAa,CAAC;;IACvC,CAAC;IAED,qBAAO,GAAP,UAAQ,OAAY;QAChB,OAAO,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACL,UAAC;AAAD,CAAC,AAbD,CAAyB,IAAI,GAa5B;AAbY,kBAAG"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/declaracoes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB;AACzB,6CAA2B;AAC3B,6CAA2B;AAC3B,4CAA0B;AAC1B,4CAA0B;AAC1B,8CAA4B;AAC5B,0CAAwB;AACxB,2CAAyB;AACzB,6CAA2B;AAC3B,yCAAuB;AACvB,0CAAwB;AACxB,4CAA0B;AAC1B,uCAAqB;AACrB,yCAAuB;AACvB,0CAAwB;AACxB,wCAAsB"}
@@ -0,0 +1,36 @@
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.Para = void 0;
19
+ var stmt_1 = require("./stmt");
20
+ var Para = /** @class */ (function (_super) {
21
+ __extends(Para, _super);
22
+ function Para(inicializador, condicao, incrementar, corpo) {
23
+ var _this = _super.call(this) || this;
24
+ _this.inicializador = inicializador;
25
+ _this.condicao = condicao;
26
+ _this.incrementar = incrementar;
27
+ _this.corpo = corpo;
28
+ return _this;
29
+ }
30
+ Para.prototype.aceitar = function (visitor) {
31
+ return visitor.visitarExpressaoPara(this);
32
+ };
33
+ return Para;
34
+ }(stmt_1.Stmt));
35
+ exports.Para = Para;
36
+ //# sourceMappingURL=para.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"para.js","sourceRoot":"","sources":["../../../src/declaracoes/para.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA0B,wBAAI;IAM1B,cAAY,aAAkB,EAAE,QAAa,EAAE,WAAgB,EAAE,KAAU;QAA3E,YACI,iBAAO,SAKV;QAJG,KAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,KAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,KAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,KAAI,CAAC,KAAK,GAAG,KAAK,CAAC;;IACvB,CAAC;IAED,sBAAO,GAAP,UAAQ,OAAY;QAChB,OAAO,OAAO,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAC9C,CAAC;IACL,WAAC;AAAD,CAAC,AAjBD,CAA0B,WAAI,GAiB7B;AAjBY,oBAAI"}
@@ -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.Pausa = void 0;
19
+ var stmt_1 = require("./stmt");
20
+ var Pausa = /** @class */ (function (_super) {
21
+ __extends(Pausa, _super);
22
+ function Pausa() {
23
+ return _super.call(this) || this;
24
+ }
25
+ Pausa.prototype.aceitar = function (visitor) {
26
+ return visitor.visitarExpressaoPausa(this);
27
+ };
28
+ return Pausa;
29
+ }(stmt_1.Stmt));
30
+ exports.Pausa = Pausa;
31
+ //# sourceMappingURL=pausa.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pausa.js","sourceRoot":"","sources":["../../../src/declaracoes/pausa.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA2B,yBAAI;IAC3B;eACI,iBAAO;IACX,CAAC;IAED,uBAAO,GAAP,UAAQ,OAAY;QAChB,OAAO,OAAO,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;IACL,YAAC;AAAD,CAAC,AARD,CAA2B,WAAI,GAQ9B;AARY,sBAAK"}
@@ -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.Retorna = void 0;
19
+ var stmt_1 = require("./stmt");
20
+ var Retorna = /** @class */ (function (_super) {
21
+ __extends(Retorna, _super);
22
+ function Retorna(palavraChave, valor) {
23
+ var _this = _super.call(this) || this;
24
+ _this.palavraChave = palavraChave;
25
+ _this.valor = valor;
26
+ return _this;
27
+ }
28
+ Retorna.prototype.aceitar = function (visitor) {
29
+ return visitor.visitarExpressaoRetornar(this);
30
+ };
31
+ return Retorna;
32
+ }(stmt_1.Stmt));
33
+ exports.Retorna = Retorna;
34
+ //# sourceMappingURL=retorna.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"retorna.js","sourceRoot":"","sources":["../../../src/declaracoes/retorna.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAA6B,2BAAI;IAI7B,iBAAY,YAAiB,EAAE,KAAU;QAAzC,YACI,iBAAO,SAGV;QAFG,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,KAAI,CAAC,KAAK,GAAG,KAAK,CAAC;;IACvB,CAAC;IAED,yBAAO,GAAP,UAAQ,OAAY;QAChB,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IACL,cAAC;AAAD,CAAC,AAbD,CAA6B,WAAI,GAahC;AAbY,0BAAO"}
@@ -0,0 +1,36 @@
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.Se = void 0;
19
+ var stmt_1 = require("./stmt");
20
+ var Se = /** @class */ (function (_super) {
21
+ __extends(Se, _super);
22
+ function Se(condicao, thenBranch, elifBranches, elseBranch) {
23
+ var _this = _super.call(this) || this;
24
+ _this.condicao = condicao;
25
+ _this.thenBranch = thenBranch;
26
+ _this.elifBranches = elifBranches;
27
+ _this.elseBranch = elseBranch;
28
+ return _this;
29
+ }
30
+ Se.prototype.aceitar = function (visitor) {
31
+ return visitor.visitarExpressaoSe(this);
32
+ };
33
+ return Se;
34
+ }(stmt_1.Stmt));
35
+ exports.Se = Se;
36
+ //# sourceMappingURL=se.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"se.js","sourceRoot":"","sources":["../../../src/declaracoes/se.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,+BAA8B;AAG9B;IAAwB,sBAAI;IAMxB,YAAY,QAAa,EAAE,UAAe,EAAE,YAAiB,EAAE,UAAe;QAA9E,YACI,iBAAO,SAKV;QAJG,KAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,KAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,KAAI,CAAC,UAAU,GAAG,UAAU,CAAC;;IACjC,CAAC;IAED,oBAAO,GAAP,UAAQ,OAAY;QAChB,OAAO,OAAO,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAC5C,CAAC;IACL,SAAC;AAAD,CAAC,AAjBD,CAAwB,WAAI,GAiB3B;AAjBY,gBAAE"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Stmt = void 0;
4
+ var Stmt = /** @class */ (function () {
5
+ function Stmt() {
6
+ }
7
+ Stmt.prototype.aceitar = function (visitor) { };
8
+ return Stmt;
9
+ }());
10
+ exports.Stmt = Stmt;
11
+ //# sourceMappingURL=stmt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stmt.js","sourceRoot":"","sources":["../../../src/declaracoes/stmt.ts"],"names":[],"mappings":";;;AAAA;IAAA;IAEA,CAAC;IADG,sBAAO,GAAP,UAAQ,OAAY,IAAS,CAAC;IAClC,WAAC;AAAD,CAAC,AAFD,IAEC;AAFY,oBAAI"}