@designliquido/delegua 0.20.14 → 0.20.16

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 (77) hide show
  1. package/bin/package.json +1 -1
  2. package/fontes/analisador-semantico/analisador-semantico.d.ts +1 -0
  3. package/fontes/analisador-semantico/analisador-semantico.js +3 -0
  4. package/fontes/analisador-semantico/analisador-semantico.js.map +1 -1
  5. package/fontes/avaliador-sintatico/avaliador-sintatico.d.ts +2 -1
  6. package/fontes/avaliador-sintatico/avaliador-sintatico.js +8 -0
  7. package/fontes/avaliador-sintatico/avaliador-sintatico.js.map +1 -1
  8. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-birl.d.ts +1 -0
  9. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-birl.js +44 -17
  10. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-birl.js.map +1 -1
  11. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.d.ts +2 -0
  12. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js +6 -4
  13. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js.map +1 -1
  14. package/fontes/bibliotecas/primitivas-vetor.js +5 -5
  15. package/fontes/bibliotecas/primitivas-vetor.js.map +1 -1
  16. package/fontes/declaracoes/falhar.d.ts +8 -0
  17. package/fontes/declaracoes/falhar.js +16 -0
  18. package/fontes/declaracoes/falhar.js.map +1 -0
  19. package/fontes/declaracoes/index.d.ts +1 -0
  20. package/fontes/declaracoes/index.js +1 -0
  21. package/fontes/declaracoes/index.js.map +1 -1
  22. package/fontes/interfaces/visitante-comum-interface.d.ts +29 -28
  23. package/fontes/interpretador/dialetos/birl/interpretador-birl.d.ts +1 -0
  24. package/fontes/interpretador/dialetos/birl/interpretador-birl.js +3 -0
  25. package/fontes/interpretador/dialetos/birl/interpretador-birl.js.map +1 -1
  26. package/fontes/interpretador/dialetos/egua-classico/interpretador-egua-classico.d.ts +1 -0
  27. package/fontes/interpretador/dialetos/egua-classico/interpretador-egua-classico.js +3 -0
  28. package/fontes/interpretador/dialetos/egua-classico/interpretador-egua-classico.js.map +1 -1
  29. package/fontes/interpretador/dialetos/egua-classico/resolvedor/resolvedor.d.ts +1 -0
  30. package/fontes/interpretador/dialetos/egua-classico/resolvedor/resolvedor.js +3 -0
  31. package/fontes/interpretador/dialetos/egua-classico/resolvedor/resolvedor.js.map +1 -1
  32. package/fontes/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.d.ts +1 -0
  33. package/fontes/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.js +3 -0
  34. package/fontes/interpretador/dialetos/portugol-ipt/interpretador-portugol-ipt.js.map +1 -1
  35. package/fontes/interpretador/interpretador-base.d.ts +2 -1
  36. package/fontes/interpretador/interpretador-base.js +3 -0
  37. package/fontes/interpretador/interpretador-base.js.map +1 -1
  38. package/fontes/lexador/dialetos/palavras-reservadas/egua-classico.d.ts +1 -4
  39. package/fontes/lexador/dialetos/palavras-reservadas/egua-classico.js +2 -5
  40. package/fontes/lexador/dialetos/palavras-reservadas/egua-classico.js.map +1 -1
  41. package/fontes/lexador/palavras-reservadas.d.ts +1 -0
  42. package/fontes/lexador/palavras-reservadas.js +1 -0
  43. package/fontes/lexador/palavras-reservadas.js.map +1 -1
  44. package/fontes/tipos-de-simbolos/delegua.d.ts +1 -0
  45. package/fontes/tipos-de-simbolos/delegua.js +1 -0
  46. package/fontes/tipos-de-simbolos/delegua.js.map +1 -1
  47. package/fontes/tipos-de-simbolos/egua-classico.d.ts +0 -2
  48. package/fontes/tipos-de-simbolos/egua-classico.js +0 -2
  49. package/fontes/tipos-de-simbolos/egua-classico.js.map +1 -1
  50. package/fontes/tradutores/index.d.ts +3 -0
  51. package/fontes/tradutores/index.js +3 -0
  52. package/fontes/tradutores/index.js.map +1 -1
  53. package/fontes/tradutores/python/python3-lexer.d.ts +5 -5
  54. package/fontes/tradutores/python/python3-lexer.js +567 -841
  55. package/fontes/tradutores/python/python3-lexer.js.map +1 -1
  56. package/fontes/tradutores/python/python3-listener.d.ts +184 -173
  57. package/fontes/tradutores/python/python3-listener.js +1 -0
  58. package/fontes/tradutores/python/python3-listener.js.map +1 -1
  59. package/fontes/tradutores/python/python3-parser.d.ts +85 -73
  60. package/fontes/tradutores/python/python3-parser.js +1485 -1415
  61. package/fontes/tradutores/python/python3-parser.js.map +1 -1
  62. package/fontes/tradutores/python/python3-visitor.d.ts +94 -87
  63. package/fontes/tradutores/python/python3-visitor.js +1 -0
  64. package/fontes/tradutores/python/python3-visitor.js.map +1 -1
  65. package/fontes/tradutores/tradutor-javascript.d.ts +2 -2
  66. package/fontes/tradutores/tradutor-javascript.js +1 -1
  67. package/fontes/tradutores/tradutor-javascript.js.map +1 -1
  68. package/fontes/tradutores/tradutor-portugol-ipt.d.ts +21 -0
  69. package/fontes/tradutores/tradutor-portugol-ipt.js +61 -0
  70. package/fontes/tradutores/tradutor-portugol-ipt.js.map +1 -0
  71. package/fontes/tradutores/tradutor-python.d.ts +16 -1
  72. package/fontes/tradutores/tradutor-python.js +41 -28
  73. package/fontes/tradutores/tradutor-python.js.map +1 -1
  74. package/fontes/tradutores/tradutor-reverso-python.d.ts +32 -0
  75. package/fontes/tradutores/tradutor-reverso-python.js +72 -0
  76. package/fontes/tradutores/tradutor-reverso-python.js.map +1 -0
  77. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
+ // Generated from fontes\tradutores\python\Python3.g4 by ANTLR 4.9.0-SNAPSHOT
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
3
4
  //# sourceMappingURL=python3-listener.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"python3-listener.js","sourceRoot":"","sources":["../../../../fontes/tradutores/python/python3-listener.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"python3-listener.js","sourceRoot":"","sources":["../../../../fontes/tradutores/python/python3-listener.ts"],"names":[],"mappings":";AAAA,6EAA6E"}
@@ -124,75 +124,76 @@ export declare class Python3Parser extends Parser {
124
124
  static readonly RULE_simple_stmt = 14;
125
125
  static readonly RULE_small_stmt = 15;
126
126
  static readonly RULE_expr_stmt = 16;
127
- static readonly RULE_annassign = 17;
128
- static readonly RULE_testlist_star_expr = 18;
129
- static readonly RULE_augassign = 19;
130
- static readonly RULE_del_stmt = 20;
131
- static readonly RULE_pass_stmt = 21;
132
- static readonly RULE_flow_stmt = 22;
133
- static readonly RULE_break_stmt = 23;
134
- static readonly RULE_continue_stmt = 24;
135
- static readonly RULE_return_stmt = 25;
136
- static readonly RULE_yield_stmt = 26;
137
- static readonly RULE_raise_stmt = 27;
138
- static readonly RULE_import_stmt = 28;
139
- static readonly RULE_import_name = 29;
140
- static readonly RULE_import_from = 30;
141
- static readonly RULE_import_as_name = 31;
142
- static readonly RULE_dotted_as_name = 32;
143
- static readonly RULE_import_as_names = 33;
144
- static readonly RULE_dotted_as_names = 34;
145
- static readonly RULE_dotted_name = 35;
146
- static readonly RULE_global_stmt = 36;
147
- static readonly RULE_nonlocal_stmt = 37;
148
- static readonly RULE_assert_stmt = 38;
149
- static readonly RULE_compound_stmt = 39;
150
- static readonly RULE_async_stmt = 40;
151
- static readonly RULE_if_stmt = 41;
152
- static readonly RULE_while_stmt = 42;
153
- static readonly RULE_for_stmt = 43;
154
- static readonly RULE_try_stmt = 44;
155
- static readonly RULE_with_stmt = 45;
156
- static readonly RULE_with_item = 46;
157
- static readonly RULE_except_clause = 47;
158
- static readonly RULE_suite = 48;
159
- static readonly RULE_test = 49;
160
- static readonly RULE_test_nocond = 50;
161
- static readonly RULE_lambdef = 51;
162
- static readonly RULE_lambdef_nocond = 52;
163
- static readonly RULE_or_test = 53;
164
- static readonly RULE_and_test = 54;
165
- static readonly RULE_not_test = 55;
166
- static readonly RULE_comparison = 56;
167
- static readonly RULE_comp_op = 57;
168
- static readonly RULE_star_expr = 58;
169
- static readonly RULE_expr = 59;
170
- static readonly RULE_xor_expr = 60;
171
- static readonly RULE_and_expr = 61;
172
- static readonly RULE_shift_expr = 62;
173
- static readonly RULE_arith_expr = 63;
174
- static readonly RULE_term = 64;
175
- static readonly RULE_factor = 65;
176
- static readonly RULE_power = 66;
177
- static readonly RULE_atom_expr = 67;
178
- static readonly RULE_atom = 68;
179
- static readonly RULE_testlist_comp = 69;
180
- static readonly RULE_trailer = 70;
181
- static readonly RULE_subscriptlist = 71;
182
- static readonly RULE_subscript = 72;
183
- static readonly RULE_sliceop = 73;
184
- static readonly RULE_exprlist = 74;
185
- static readonly RULE_testlist = 75;
186
- static readonly RULE_dictorsetmaker = 76;
187
- static readonly RULE_classdef = 77;
188
- static readonly RULE_arglist = 78;
189
- static readonly RULE_argument = 79;
190
- static readonly RULE_comp_iter = 80;
191
- static readonly RULE_comp_for = 81;
192
- static readonly RULE_comp_if = 82;
193
- static readonly RULE_encoding_decl = 83;
194
- static readonly RULE_yield_expr = 84;
195
- static readonly RULE_yield_arg = 85;
127
+ static readonly RULE_simple_assign = 17;
128
+ static readonly RULE_annassign = 18;
129
+ static readonly RULE_testlist_star_expr = 19;
130
+ static readonly RULE_augassign = 20;
131
+ static readonly RULE_del_stmt = 21;
132
+ static readonly RULE_pass_stmt = 22;
133
+ static readonly RULE_flow_stmt = 23;
134
+ static readonly RULE_break_stmt = 24;
135
+ static readonly RULE_continue_stmt = 25;
136
+ static readonly RULE_return_stmt = 26;
137
+ static readonly RULE_yield_stmt = 27;
138
+ static readonly RULE_raise_stmt = 28;
139
+ static readonly RULE_import_stmt = 29;
140
+ static readonly RULE_import_name = 30;
141
+ static readonly RULE_import_from = 31;
142
+ static readonly RULE_import_as_name = 32;
143
+ static readonly RULE_dotted_as_name = 33;
144
+ static readonly RULE_import_as_names = 34;
145
+ static readonly RULE_dotted_as_names = 35;
146
+ static readonly RULE_dotted_name = 36;
147
+ static readonly RULE_global_stmt = 37;
148
+ static readonly RULE_nonlocal_stmt = 38;
149
+ static readonly RULE_assert_stmt = 39;
150
+ static readonly RULE_compound_stmt = 40;
151
+ static readonly RULE_async_stmt = 41;
152
+ static readonly RULE_if_stmt = 42;
153
+ static readonly RULE_while_stmt = 43;
154
+ static readonly RULE_for_stmt = 44;
155
+ static readonly RULE_try_stmt = 45;
156
+ static readonly RULE_with_stmt = 46;
157
+ static readonly RULE_with_item = 47;
158
+ static readonly RULE_except_clause = 48;
159
+ static readonly RULE_suite = 49;
160
+ static readonly RULE_test = 50;
161
+ static readonly RULE_test_nocond = 51;
162
+ static readonly RULE_lambdef = 52;
163
+ static readonly RULE_lambdef_nocond = 53;
164
+ static readonly RULE_or_test = 54;
165
+ static readonly RULE_and_test = 55;
166
+ static readonly RULE_not_test = 56;
167
+ static readonly RULE_comparison = 57;
168
+ static readonly RULE_comp_op = 58;
169
+ static readonly RULE_star_expr = 59;
170
+ static readonly RULE_expr = 60;
171
+ static readonly RULE_xor_expr = 61;
172
+ static readonly RULE_and_expr = 62;
173
+ static readonly RULE_shift_expr = 63;
174
+ static readonly RULE_arith_expr = 64;
175
+ static readonly RULE_term = 65;
176
+ static readonly RULE_factor = 66;
177
+ static readonly RULE_power = 67;
178
+ static readonly RULE_atom_expr = 68;
179
+ static readonly RULE_atom = 69;
180
+ static readonly RULE_testlist_comp = 70;
181
+ static readonly RULE_trailer = 71;
182
+ static readonly RULE_subscriptlist = 72;
183
+ static readonly RULE_subscript = 73;
184
+ static readonly RULE_sliceop = 74;
185
+ static readonly RULE_exprlist = 75;
186
+ static readonly RULE_testlist = 76;
187
+ static readonly RULE_dictorsetmaker = 77;
188
+ static readonly RULE_classdef = 78;
189
+ static readonly RULE_arglist = 79;
190
+ static readonly RULE_argument = 80;
191
+ static readonly RULE_comp_iter = 81;
192
+ static readonly RULE_comp_for = 82;
193
+ static readonly RULE_comp_if = 83;
194
+ static readonly RULE_encoding_decl = 84;
195
+ static readonly RULE_yield_expr = 85;
196
+ static readonly RULE_yield_arg = 86;
196
197
  static readonly ruleNames: string[];
197
198
  private static readonly _LITERAL_NAMES;
198
199
  private static readonly _SYMBOLIC_NAMES;
@@ -220,6 +221,7 @@ export declare class Python3Parser extends Parser {
220
221
  simple_stmt(): Simple_stmtContext;
221
222
  small_stmt(): Small_stmtContext;
222
223
  expr_stmt(): Expr_stmtContext;
224
+ simple_assign(): Simple_assignContext;
223
225
  annassign(): AnnassignContext;
224
226
  testlist_star_expr(): Testlist_star_exprContext;
225
227
  augassign(): AugassignContext;
@@ -485,15 +487,25 @@ export declare class Small_stmtContext extends ParserRuleContext {
485
487
  accept<Result>(visitor: Python3Visitor<Result>): Result;
486
488
  }
487
489
  export declare class Expr_stmtContext extends ParserRuleContext {
488
- testlist_star_expr(): Testlist_star_exprContext[];
489
- testlist_star_expr(i: number): Testlist_star_exprContext;
490
+ testlist_star_expr(): Testlist_star_exprContext;
490
491
  annassign(): AnnassignContext | undefined;
491
492
  augassign(): AugassignContext | undefined;
492
- yield_expr(): Yield_exprContext[];
493
- yield_expr(i: number): Yield_exprContext;
493
+ simple_assign(): Simple_assignContext | undefined;
494
+ yield_expr(): Yield_exprContext | undefined;
494
495
  testlist(): TestlistContext | undefined;
496
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
497
+ get ruleIndex(): number;
498
+ enterRule(listener: Python3Listener): void;
499
+ exitRule(listener: Python3Listener): void;
500
+ accept<Result>(visitor: Python3Visitor<Result>): Result;
501
+ }
502
+ export declare class Simple_assignContext extends ParserRuleContext {
495
503
  ASSIGN(): TerminalNode[];
496
504
  ASSIGN(i: number): TerminalNode;
505
+ yield_expr(): Yield_exprContext[];
506
+ yield_expr(i: number): Yield_exprContext;
507
+ testlist_star_expr(): Testlist_star_exprContext[];
508
+ testlist_star_expr(i: number): Testlist_star_exprContext;
497
509
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
498
510
  get ruleIndex(): number;
499
511
  enterRule(listener: Python3Listener): void;