@designliquido/delegua 0.7.6 → 0.8.1

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 (261) hide show
  1. package/bin/package.json +78 -65
  2. package/fontes/avaliador-sintatico/avaliador-sintatico-base.d.ts +63 -0
  3. package/fontes/avaliador-sintatico/avaliador-sintatico-base.js +180 -0
  4. package/fontes/avaliador-sintatico/avaliador-sintatico-base.js.map +1 -0
  5. package/fontes/avaliador-sintatico/avaliador-sintatico.d.ts +5 -4
  6. package/fontes/avaliador-sintatico/avaliador-sintatico.js +189 -188
  7. package/fontes/avaliador-sintatico/avaliador-sintatico.js.map +1 -1
  8. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.d.ts +34 -32
  9. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js +154 -148
  10. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js.map +1 -1
  11. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-eguap.d.ts +13 -12
  12. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-eguap.js +144 -142
  13. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-eguap.js.map +1 -1
  14. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-visualg.d.ts +48 -0
  15. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-visualg.js +297 -0
  16. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-visualg.js.map +1 -0
  17. package/fontes/avaliador-sintatico/erro-avaliador-sintatico.d.ts +1 -1
  18. package/fontes/avaliador-sintatico/retornos/index.d.ts +3 -0
  19. package/fontes/avaliador-sintatico/retornos/index.js +20 -0
  20. package/fontes/avaliador-sintatico/retornos/index.js.map +1 -0
  21. package/fontes/avaliador-sintatico/retornos/retorno-declaracao.d.ts +3 -0
  22. package/fontes/avaliador-sintatico/retornos/retorno-declaracao.js +3 -0
  23. package/fontes/avaliador-sintatico/retornos/retorno-declaracao.js.map +1 -0
  24. package/fontes/avaliador-sintatico/retornos/retorno-primario.d.ts +3 -0
  25. package/fontes/avaliador-sintatico/retornos/retorno-primario.js +3 -0
  26. package/fontes/avaliador-sintatico/retornos/retorno-primario.js.map +1 -0
  27. package/fontes/avaliador-sintatico/retornos/retorno-resolver-declaracao.d.ts +2 -0
  28. package/fontes/avaliador-sintatico/retornos/retorno-resolver-declaracao.js +3 -0
  29. package/fontes/avaliador-sintatico/retornos/retorno-resolver-declaracao.js.map +1 -0
  30. package/fontes/bibliotecas/biblioteca-global.d.ts +2 -2
  31. package/fontes/bibliotecas/biblioteca-global.js +112 -57
  32. package/fontes/bibliotecas/biblioteca-global.js.map +1 -1
  33. package/fontes/bibliotecas/importar-biblioteca.d.ts +1 -1
  34. package/fontes/bibliotecas/importar-biblioteca.js +13 -14
  35. package/fontes/bibliotecas/importar-biblioteca.js.map +1 -1
  36. package/fontes/bibliotecas/primitivas-texto.js +13 -7
  37. package/fontes/bibliotecas/primitivas-texto.js.map +1 -1
  38. package/fontes/bibliotecas/primitivas-vetor.js +25 -11
  39. package/fontes/bibliotecas/primitivas-vetor.js.map +1 -1
  40. package/fontes/construtos/acesso-indice-variavel.d.ts +2 -2
  41. package/fontes/construtos/acesso-indice-variavel.js.map +1 -1
  42. package/fontes/construtos/acesso-metodo.d.ts +2 -2
  43. package/fontes/construtos/acesso-metodo.js.map +1 -1
  44. package/fontes/construtos/agrupamento.d.ts +2 -2
  45. package/fontes/construtos/atribuicao-sobrescrita.d.ts +1 -1
  46. package/fontes/construtos/atribuicao-sobrescrita.js.map +1 -1
  47. package/fontes/construtos/atribuir.d.ts +2 -2
  48. package/fontes/construtos/atribuir.js.map +1 -1
  49. package/fontes/construtos/binario.d.ts +2 -2
  50. package/fontes/construtos/binario.js.map +1 -1
  51. package/fontes/construtos/chamada.d.ts +2 -2
  52. package/fontes/construtos/chamada.js.map +1 -1
  53. package/fontes/construtos/conjunto.d.ts +1 -1
  54. package/fontes/construtos/conjunto.js.map +1 -1
  55. package/fontes/construtos/construto.d.ts +1 -0
  56. package/fontes/construtos/dicionario.d.ts +1 -1
  57. package/fontes/construtos/dicionario.js.map +1 -1
  58. package/fontes/construtos/funcao.d.ts +2 -2
  59. package/fontes/construtos/funcao.js.map +1 -1
  60. package/fontes/construtos/index.d.ts +18 -18
  61. package/fontes/construtos/isto.d.ts +1 -1
  62. package/fontes/construtos/isto.js.map +1 -1
  63. package/fontes/construtos/literal.d.ts +5 -4
  64. package/fontes/construtos/literal.js.map +1 -1
  65. package/fontes/construtos/logico.d.ts +1 -1
  66. package/fontes/construtos/logico.js.map +1 -1
  67. package/fontes/construtos/super.d.ts +4 -4
  68. package/fontes/construtos/super.js.map +1 -1
  69. package/fontes/construtos/unario.d.ts +1 -1
  70. package/fontes/construtos/unario.js.map +1 -1
  71. package/fontes/construtos/variavel.d.ts +2 -2
  72. package/fontes/construtos/variavel.js.map +1 -1
  73. package/fontes/construtos/vetor.d.ts +3 -3
  74. package/fontes/construtos/vetor.js.map +1 -1
  75. package/fontes/declaracoes/bloco.d.ts +4 -4
  76. package/fontes/declaracoes/bloco.js.map +1 -1
  77. package/fontes/declaracoes/classe.d.ts +2 -2
  78. package/fontes/declaracoes/classe.js.map +1 -1
  79. package/fontes/declaracoes/continua.d.ts +2 -2
  80. package/fontes/declaracoes/continua.js.map +1 -1
  81. package/fontes/declaracoes/declaracao.js +2 -2
  82. package/fontes/declaracoes/declaracao.js.map +1 -1
  83. package/fontes/declaracoes/enquanto.d.ts +2 -2
  84. package/fontes/declaracoes/enquanto.js.map +1 -1
  85. package/fontes/declaracoes/escolha.d.ts +7 -4
  86. package/fontes/declaracoes/escolha.js +6 -3
  87. package/fontes/declaracoes/escolha.js.map +1 -1
  88. package/fontes/declaracoes/escreva.d.ts +3 -3
  89. package/fontes/declaracoes/escreva.js.map +1 -1
  90. package/fontes/declaracoes/expressao.d.ts +3 -3
  91. package/fontes/declaracoes/expressao.js.map +1 -1
  92. package/fontes/declaracoes/fazer.d.ts +1 -1
  93. package/fontes/declaracoes/fazer.js.map +1 -1
  94. package/fontes/declaracoes/funcao.d.ts +2 -2
  95. package/fontes/declaracoes/funcao.js.map +1 -1
  96. package/fontes/declaracoes/importar.d.ts +2 -2
  97. package/fontes/declaracoes/importar.js.map +1 -1
  98. package/fontes/declaracoes/index.d.ts +1 -0
  99. package/fontes/declaracoes/index.js +1 -0
  100. package/fontes/declaracoes/index.js.map +1 -1
  101. package/fontes/declaracoes/leia.d.ts +12 -0
  102. package/fontes/declaracoes/leia.js +37 -0
  103. package/fontes/declaracoes/leia.js.map +1 -0
  104. package/fontes/declaracoes/para.d.ts +1 -1
  105. package/fontes/declaracoes/para.js.map +1 -1
  106. package/fontes/declaracoes/retorna.d.ts +2 -2
  107. package/fontes/declaracoes/retorna.js.map +1 -1
  108. package/fontes/declaracoes/se.d.ts +2 -2
  109. package/fontes/declaracoes/se.js.map +1 -1
  110. package/fontes/declaracoes/sustar.d.ts +2 -2
  111. package/fontes/declaracoes/sustar.js.map +1 -1
  112. package/fontes/declaracoes/tente.d.ts +2 -2
  113. package/fontes/declaracoes/tente.js.map +1 -1
  114. package/fontes/declaracoes/var.d.ts +5 -4
  115. package/fontes/declaracoes/var.js.map +1 -1
  116. package/fontes/delegua.d.ts +3 -3
  117. package/fontes/delegua.js +38 -22
  118. package/fontes/delegua.js.map +1 -1
  119. package/fontes/depuracao/cyrb53.js +6 -3
  120. package/fontes/depuracao/cyrb53.js.map +1 -1
  121. package/fontes/depuracao/servidor-depuracao.js +84 -46
  122. package/fontes/depuracao/servidor-depuracao.js.map +1 -1
  123. package/fontes/espaco-variaveis.d.ts +1 -1
  124. package/fontes/espaco-variaveis.js +0 -1
  125. package/fontes/espaco-variaveis.js.map +1 -1
  126. package/fontes/estruturas/chamavel.js +1 -1
  127. package/fontes/estruturas/classe-padrao.d.ts +1 -1
  128. package/fontes/estruturas/classe-padrao.js.map +1 -1
  129. package/fontes/estruturas/delegua-classe.d.ts +4 -4
  130. package/fontes/estruturas/delegua-classe.js +5 -3
  131. package/fontes/estruturas/delegua-classe.js.map +1 -1
  132. package/fontes/estruturas/funcao-padrao.d.ts +1 -1
  133. package/fontes/estruturas/funcao-padrao.js +1 -1
  134. package/fontes/estruturas/funcao.d.ts +4 -4
  135. package/fontes/estruturas/funcao.js +9 -4
  136. package/fontes/estruturas/funcao.js.map +1 -1
  137. package/fontes/estruturas/index.d.ts +9 -9
  138. package/fontes/estruturas/metodo-primitiva.d.ts +1 -1
  139. package/fontes/estruturas/modulo.d.ts +1 -1
  140. package/fontes/estruturas/modulo.js +1 -1
  141. package/fontes/estruturas/objeto-delegua-classe.d.ts +2 -2
  142. package/fontes/estruturas/objeto-delegua-classe.js +2 -2
  143. package/fontes/estruturas/objeto-delegua-classe.js.map +1 -1
  144. package/fontes/estruturas/objeto-padrao.js.map +1 -1
  145. package/fontes/excecoes/erro-em-tempo-de-execucao.d.ts +1 -1
  146. package/fontes/excecoes/erro-em-tempo-de-execucao.js.map +1 -1
  147. package/fontes/excecoes/index.d.ts +1 -1
  148. package/fontes/importador/importador.d.ts +1 -1
  149. package/fontes/importador/importador.js +3 -2
  150. package/fontes/importador/importador.js.map +1 -1
  151. package/fontes/importador/retorno-importador.d.ts +2 -2
  152. package/fontes/interfaces/avaliador-sintatico-interface.d.ts +3 -5
  153. package/fontes/interfaces/delegua-interface.d.ts +2 -2
  154. package/fontes/interfaces/escopo-execucao.d.ts +2 -2
  155. package/fontes/interfaces/importador-interface.d.ts +1 -1
  156. package/fontes/interfaces/interpretador-com-depuracao-interface.d.ts +3 -3
  157. package/fontes/interfaces/interpretador-interface.d.ts +8 -7
  158. package/fontes/interfaces/lexador-interface.d.ts +4 -4
  159. package/fontes/interfaces/parametro-interface.d.ts +1 -1
  160. package/fontes/interfaces/pilha-escopos-execucao-interface.d.ts +5 -5
  161. package/fontes/interfaces/resolvedor-interface.d.ts +5 -5
  162. package/fontes/interfaces/retornos/retorno-avaliador-sintatico.d.ts +2 -2
  163. package/fontes/interfaces/retornos/retorno-execucao-interface.d.ts +1 -1
  164. package/fontes/interfaces/retornos/retorno-interpretador.d.ts +1 -1
  165. package/fontes/interfaces/retornos/retorno-lexador.d.ts +3 -3
  166. package/fontes/interfaces/variavel-interface.d.ts +1 -1
  167. package/fontes/interpretador/dialetos/egua-classico.d.ts +2 -1
  168. package/fontes/interpretador/dialetos/egua-classico.js +75 -47
  169. package/fontes/interpretador/dialetos/egua-classico.js.map +1 -1
  170. package/fontes/interpretador/dialetos/index.js.map +1 -1
  171. package/fontes/interpretador/erro-interpretador.d.ts +1 -1
  172. package/fontes/interpretador/inferenciador.js.map +1 -1
  173. package/fontes/interpretador/interpretador-com-depuracao.js +5 -3
  174. package/fontes/interpretador/interpretador-com-depuracao.js.map +1 -1
  175. package/fontes/interpretador/interpretador.d.ts +10 -4
  176. package/fontes/interpretador/interpretador.js +57 -47
  177. package/fontes/interpretador/interpretador.js.map +1 -1
  178. package/fontes/interpretador/pilha-escopos-execucao.js +16 -5
  179. package/fontes/interpretador/pilha-escopos-execucao.js.map +1 -1
  180. package/fontes/lexador/dialetos/index.js.map +1 -1
  181. package/fontes/lexador/dialetos/lexador-birl.d.ts +25 -0
  182. package/fontes/lexador/dialetos/lexador-birl.js +75 -0
  183. package/fontes/lexador/dialetos/lexador-birl.js.map +1 -0
  184. package/fontes/lexador/dialetos/lexador-egua-classico.js +38 -38
  185. package/fontes/lexador/dialetos/lexador-egua-classico.js.map +1 -1
  186. package/fontes/lexador/dialetos/lexador-eguap.d.ts +4 -4
  187. package/fontes/lexador/dialetos/lexador-eguap.js +50 -44
  188. package/fontes/lexador/dialetos/lexador-eguap.js.map +1 -1
  189. package/fontes/lexador/dialetos/lexador-visualg.d.ts +16 -0
  190. package/fontes/lexador/dialetos/lexador-visualg.js +227 -0
  191. package/fontes/lexador/dialetos/lexador-visualg.js.map +1 -0
  192. package/fontes/lexador/dialetos/palavras-reservadas/birl.d.ts +2 -0
  193. package/fontes/lexador/dialetos/palavras-reservadas/birl.js +4 -0
  194. package/fontes/lexador/dialetos/palavras-reservadas/birl.js.map +1 -0
  195. package/fontes/lexador/dialetos/palavras-reservadas/visualg.d.ts +26 -0
  196. package/fontes/lexador/dialetos/palavras-reservadas/visualg.js +32 -0
  197. package/fontes/lexador/dialetos/palavras-reservadas/visualg.js.map +1 -0
  198. package/fontes/lexador/lexador-base-linha-unica.d.ts +33 -0
  199. package/fontes/lexador/lexador-base-linha-unica.js +92 -0
  200. package/fontes/lexador/lexador-base-linha-unica.js.map +1 -0
  201. package/fontes/lexador/lexador.d.ts +3 -3
  202. package/fontes/lexador/lexador.js +43 -43
  203. package/fontes/lexador/lexador.js.map +1 -1
  204. package/fontes/lexador/palavras-reservadas.js +33 -33
  205. package/fontes/lexador/palavras-reservadas.js.map +1 -1
  206. package/fontes/lexador/simbolo.d.ts +1 -1
  207. package/fontes/lexador/simbolo.js +1 -1
  208. package/fontes/lexador/simbolo.js.map +1 -1
  209. package/fontes/quebras/index.js.map +1 -1
  210. package/fontes/resolvedor/dialetos/egua-classico.js +1 -1
  211. package/fontes/resolvedor/dialetos/egua-classico.js.map +1 -1
  212. package/fontes/resolvedor/dialetos/index.js.map +1 -1
  213. package/fontes/resolvedor/erro-resolvedor.d.ts +1 -1
  214. package/fontes/resolvedor/pilha-escopos.d.ts +1 -1
  215. package/fontes/resolvedor/pilha-escopos.js +2 -2
  216. package/fontes/resolvedor/pilha-escopos.js.map +1 -1
  217. package/fontes/resolvedor/retorno-resolvedor.d.ts +2 -2
  218. package/fontes/tipos-de-simbolos/birl.d.ts +18 -0
  219. package/fontes/tipos-de-simbolos/birl.js +21 -0
  220. package/fontes/tipos-de-simbolos/birl.js.map +1 -0
  221. package/fontes/tipos-de-simbolos/comum.d.ts +18 -0
  222. package/fontes/tipos-de-simbolos/comum.js +20 -0
  223. package/fontes/tipos-de-simbolos/comum.js.map +1 -0
  224. package/fontes/{tipos-de-simbolos.d.ts → tipos-de-simbolos/delegua.d.ts} +0 -0
  225. package/fontes/tipos-de-simbolos/delegua.js +78 -0
  226. package/fontes/tipos-de-simbolos/delegua.js.map +1 -0
  227. package/fontes/{lexador/dialetos/tipos-de-simbolos-eguap.d.ts → tipos-de-simbolos/eguap.d.ts} +0 -0
  228. package/fontes/tipos-de-simbolos/eguap.js +74 -0
  229. package/fontes/tipos-de-simbolos/eguap.js.map +1 -0
  230. package/fontes/tipos-de-simbolos/visualg.d.ts +47 -0
  231. package/fontes/tipos-de-simbolos/visualg.js +49 -0
  232. package/fontes/tipos-de-simbolos/visualg.js.map +1 -0
  233. package/index.js +1 -1
  234. package/index.js.map +1 -1
  235. package/jest.config.js +2 -2
  236. package/jest.config.js.map +1 -1
  237. package/package.json +78 -65
  238. package/testes/avaliador-sintatico.test.js +5 -5
  239. package/testes/avaliador-sintatico.test.js.map +1 -1
  240. package/testes/egua-classico/avaliador-sintatico.test.js +4 -1
  241. package/testes/egua-classico/avaliador-sintatico.test.js.map +1 -1
  242. package/testes/egua-classico/delegua.test.js.map +1 -1
  243. package/testes/egua-classico/resolvedor.test.js.map +1 -1
  244. package/testes/eguap/avaliador-sintatico.test.js +1 -5
  245. package/testes/eguap/avaliador-sintatico.test.js.map +1 -1
  246. package/testes/eguap/lexador.test.js +1 -1
  247. package/testes/eguap/lexador.test.js.map +1 -1
  248. package/testes/interpretador.test.js +48 -0
  249. package/testes/interpretador.test.js.map +1 -1
  250. package/testes/lexador.test.js +45 -45
  251. package/testes/lexador.test.js.map +1 -1
  252. package/testes/visualg/avaliador-sintatico.test.d.ts +1 -0
  253. package/testes/visualg/avaliador-sintatico.test.js +113 -0
  254. package/testes/visualg/avaliador-sintatico.test.js.map +1 -0
  255. package/testes/visualg/lexador.test.d.ts +1 -0
  256. package/testes/visualg/lexador.test.js +67 -0
  257. package/testes/visualg/lexador.test.js.map +1 -0
  258. package/fontes/lexador/dialetos/tipos-de-simbolos-eguap.js +0 -74
  259. package/fontes/lexador/dialetos/tipos-de-simbolos-eguap.js.map +0 -1
  260. package/fontes/tipos-de-simbolos.js +0 -78
  261. package/fontes/tipos-de-simbolos.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { Construto } from "./construto";
1
+ import { Construto } from './construto';
2
2
  export declare class Dicionario implements Construto {
3
3
  linha: number;
4
4
  hashArquivo?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"dicionario.js","sourceRoot":"","sources":["../../../fontes/construtos/dicionario.ts"],"names":[],"mappings":";;;AAGA;IAOI,oBAAY,WAAmB,EAAE,KAAa,EAAE,MAAW,EAAE,OAAY;QACrE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,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,AAlBD,IAkBC;AAlBY,gCAAU"}
1
+ {"version":3,"file":"dicionario.js","sourceRoot":"","sources":["../../../fontes/construtos/dicionario.ts"],"names":[],"mappings":";;;AAEA;IAOI,oBAAY,WAAmB,EAAE,KAAa,EAAE,MAAW,EAAE,OAAY;QACrE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,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,AAlBD,IAkBC;AAlBY,gCAAU"}
@@ -1,5 +1,5 @@
1
- import { InterpretadorInterface, ParametroInterface } from "../interfaces";
2
- import { Construto } from "./construto";
1
+ import { InterpretadorInterface, ParametroInterface } from '../interfaces';
2
+ import { Construto } from './construto';
3
3
  export declare class Funcao implements Construto {
4
4
  linha: number;
5
5
  hashArquivo?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"funcao.js","sourceRoot":"","sources":["../../../fontes/construtos/funcao.ts"],"names":[],"mappings":";;;AAIA;IAOI,gBAAY,WAAmB,EAAE,KAAa,EAAE,UAAgC,EAAE,KAAU;QACxF,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAED,wBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,6BAA6B,CAAC,IAAI,CAAC,CAAC;IACzD,CAAC;IACL,aAAC;AAAD,CAAC,AAlBD,IAkBC;AAlBY,wBAAM"}
1
+ {"version":3,"file":"funcao.js","sourceRoot":"","sources":["../../../fontes/construtos/funcao.ts"],"names":[],"mappings":";;;AAGA;IAOI,gBACI,WAAmB,EACnB,KAAa,EACb,UAAgC,EAChC,KAAU;QAEV,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAED,wBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,6BAA6B,CAAC,IAAI,CAAC,CAAC;IACzD,CAAC;IACL,aAAC;AAAD,CAAC,AAvBD,IAuBC;AAvBY,wBAAM"}
@@ -1,18 +1,18 @@
1
- export * from "./atribuicao-sobrescrita";
2
- export * from "./atribuir";
3
- export * from "./binario";
4
- export * from "./chamada";
5
- export * from "./conjunto";
6
- export * from "./dicionario";
7
- export * from "./construto";
8
- export * from "./funcao";
9
- export * from "./acesso-metodo";
10
- export * from "./agrupamento";
11
- export * from "./isto";
12
- export * from "./literal";
13
- export * from "./logico";
14
- export * from "./acesso-indice-variavel";
15
- export * from "./super";
16
- export * from "./unario";
17
- export * from "./variavel";
18
- export * from "./vetor";
1
+ export * from './atribuicao-sobrescrita';
2
+ export * from './atribuir';
3
+ export * from './binario';
4
+ export * from './chamada';
5
+ export * from './conjunto';
6
+ export * from './dicionario';
7
+ export * from './construto';
8
+ export * from './funcao';
9
+ export * from './acesso-metodo';
10
+ export * from './agrupamento';
11
+ export * from './isto';
12
+ export * from './literal';
13
+ export * from './logico';
14
+ export * from './acesso-indice-variavel';
15
+ export * from './super';
16
+ export * from './unario';
17
+ export * from './variavel';
18
+ export * from './vetor';
@@ -1,4 +1,4 @@
1
- import { Construto } from "./construto";
1
+ import { Construto } from './construto';
2
2
  export declare class Isto implements Construto {
3
3
  linha: number;
4
4
  hashArquivo?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"isto.js","sourceRoot":"","sources":["../../../fontes/construtos/isto.ts"],"names":[],"mappings":";;;AAGA;IAMI,cAAY,WAAmB,EAAE,KAAa,EAAE,YAAkB;QAC9D,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,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,AAhBD,IAgBC;AAhBY,oBAAI"}
1
+ {"version":3,"file":"isto.js","sourceRoot":"","sources":["../../../fontes/construtos/isto.ts"],"names":[],"mappings":";;;AAEA;IAMI,cAAY,WAAmB,EAAE,KAAa,EAAE,YAAkB;QAC9D,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,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,AAhBD,IAgBC;AAhBY,oBAAI"}
@@ -1,9 +1,10 @@
1
- import { InterpretadorInterface } from "../interfaces";
2
- import { Construto } from "./construto";
1
+ import { InterpretadorInterface } from '../interfaces';
2
+ import { Construto } from './construto';
3
+ export declare type ValorLiteral = number | string | number[] | string[] | any;
3
4
  export declare class Literal implements Construto {
4
5
  linha: number;
5
6
  hashArquivo?: number;
6
- valor: any;
7
- constructor(hashArquivo: number, linha: number, valor: any);
7
+ valor: ValorLiteral;
8
+ constructor(hashArquivo: number, linha: number, valor: ValorLiteral);
8
9
  aceitar(visitante: InterpretadorInterface): any;
9
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"literal.js","sourceRoot":"","sources":["../../../fontes/construtos/literal.ts"],"names":[],"mappings":";;;AAIA;IAMI,iBAAY,WAAmB,EAAE,KAAa,EAAE,KAAU;QACtD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAED,yBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IACL,cAAC;AAAD,CAAC,AAhBD,IAgBC;AAhBY,0BAAO"}
1
+ {"version":3,"file":"literal.js","sourceRoot":"","sources":["../../../fontes/construtos/literal.ts"],"names":[],"mappings":";;;AAKA;IAMI,iBAAY,WAAmB,EAAE,KAAa,EAAE,KAAmB;QAC/D,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAED,yBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IACL,cAAC;AAAD,CAAC,AAhBD,IAgBC;AAhBY,0BAAO"}
@@ -1,4 +1,4 @@
1
- import { Construto } from "./construto";
1
+ import { Construto } from './construto';
2
2
  export declare class Logico implements Construto {
3
3
  linha: number;
4
4
  hashArquivo?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"logico.js","sourceRoot":"","sources":["../../../fontes/construtos/logico.ts"],"names":[],"mappings":";;;AAGA;IAQI,gBAAY,WAAmB,EAAE,QAAa,EAAE,QAAa,EAAE,OAAY;QACvE,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC;QAC5B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,wBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IACL,aAAC;AAAD,CAAC,AApBD,IAoBC;AApBY,wBAAM"}
1
+ {"version":3,"file":"logico.js","sourceRoot":"","sources":["../../../fontes/construtos/logico.ts"],"names":[],"mappings":";;;AAEA;IAQI,gBACI,WAAmB,EACnB,QAAa,EACb,QAAa,EACb,OAAY;QAEZ,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC;QAC5B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,wBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IACL,aAAC;AAAD,CAAC,AAzBD,IAyBC;AAzBY,wBAAM"}
@@ -1,10 +1,10 @@
1
- import { SimboloInterface } from "../interfaces";
2
- import { Construto } from "./construto";
1
+ import { SimboloInterface } from '../interfaces';
2
+ import { Construto } from './construto';
3
3
  export declare class Super implements Construto {
4
4
  linha: number;
5
5
  hashArquivo?: number;
6
6
  simboloChave: SimboloInterface;
7
- metodo: any;
8
- constructor(hashArquivo: number, simboloChave: SimboloInterface, metodo: any);
7
+ metodo: SimboloInterface;
8
+ constructor(hashArquivo: number, simboloChave: SimboloInterface, metodo: SimboloInterface);
9
9
  aceitar(visitante: any): any;
10
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"super.js","sourceRoot":"","sources":["../../../fontes/construtos/super.ts"],"names":[],"mappings":";;;AAGA;IAOI,eAAY,WAAmB,EAAE,YAA8B,EAAE,MAAW;QACxE,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QACxC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAED,uBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACL,YAAC;AAAD,CAAC,AAlBD,IAkBC;AAlBY,sBAAK"}
1
+ {"version":3,"file":"super.js","sourceRoot":"","sources":["../../../fontes/construtos/super.ts"],"names":[],"mappings":";;;AAGA;IAOI,eACI,WAAmB,EACnB,YAA8B,EAC9B,MAAwB;QAExB,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QACxC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAED,uBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACL,YAAC;AAAD,CAAC,AAtBD,IAsBC;AAtBY,sBAAK"}
@@ -1,4 +1,4 @@
1
- import { Construto } from "./construto";
1
+ import { Construto } from './construto';
2
2
  export declare class Unario implements Construto {
3
3
  linha: number;
4
4
  hashArquivo?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"unario.js","sourceRoot":"","sources":["../../../fontes/construtos/unario.ts"],"names":[],"mappings":";;;AAGA;IAOI,gBAAY,WAAmB,EAAE,QAAa,EAAE,OAAY;QACxD,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC;QAC5B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,wBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IACL,aAAC;AAAD,CAAC,AAlBD,IAkBC;AAlBY,wBAAM"}
1
+ {"version":3,"file":"unario.js","sourceRoot":"","sources":["../../../fontes/construtos/unario.ts"],"names":[],"mappings":";;;AAEA;IAOI,gBAAY,WAAmB,EAAE,QAAa,EAAE,OAAY;QACxD,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC;QAC5B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,wBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IACL,aAAC;AAAD,CAAC,AAlBD,IAkBC;AAlBY,wBAAM"}
@@ -1,5 +1,5 @@
1
- import { InterpretadorInterface, SimboloInterface, VariavelInterface } from "../interfaces";
2
- import { Construto } from "./construto";
1
+ import { InterpretadorInterface, SimboloInterface, VariavelInterface } from '../interfaces';
2
+ import { Construto } from './construto';
3
3
  export declare class Variavel implements Construto {
4
4
  linha: number;
5
5
  hashArquivo?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"variavel.js","sourceRoot":"","sources":["../../../fontes/construtos/variavel.ts"],"names":[],"mappings":";;;AAIA;IAMI,kBAAY,WAAmB,EAAE,OAAyB;QACtD,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,0BAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,0BAA0B,CAAC,IAAI,CAAC,CAAC;IACtD,CAAC;IACL,eAAC;AAAD,CAAC,AAhBD,IAgBC;AAhBY,4BAAQ"}
1
+ {"version":3,"file":"variavel.js","sourceRoot":"","sources":["../../../fontes/construtos/variavel.ts"],"names":[],"mappings":";;;AAOA;IAMI,kBAAY,WAAmB,EAAE,OAAyB;QACtD,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,0BAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,0BAA0B,CAAC,IAAI,CAAC,CAAC;IACtD,CAAC;IACL,eAAC;AAAD,CAAC,AAhBD,IAgBC;AAhBY,4BAAQ"}
@@ -1,8 +1,8 @@
1
- import { Construto } from "./construto";
1
+ import { Construto } from './construto';
2
2
  export declare class Vetor implements Construto {
3
3
  linha: number;
4
4
  hashArquivo?: number;
5
- valores: any;
6
- constructor(hashArquivo: number, linha: number, valores: any);
5
+ valores: any[];
6
+ constructor(hashArquivo: number, linha: number, valores: any[]);
7
7
  aceitar(visitante: any): any;
8
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"vetor.js","sourceRoot":"","sources":["../../../fontes/construtos/vetor.ts"],"names":[],"mappings":";;;AAGA;IAMI,eAAY,WAAmB,EAAE,KAAa,EAAE,OAAY;QACxD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,uBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACL,YAAC;AAAD,CAAC,AAhBD,IAgBC;AAhBY,sBAAK"}
1
+ {"version":3,"file":"vetor.js","sourceRoot":"","sources":["../../../fontes/construtos/vetor.ts"],"names":[],"mappings":";;;AAEA;IAMI,eAAY,WAAmB,EAAE,KAAa,EAAE,OAAc;QAC1D,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAE/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IAC3B,CAAC;IAED,uBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACL,YAAC;AAAD,CAAC,AAhBD,IAgBC;AAhBY,sBAAK"}
@@ -1,7 +1,7 @@
1
- import { InterpretadorInterface } from "../interfaces";
2
- import { Declaracao } from "./declaracao";
1
+ import { InterpretadorInterface } from '../interfaces';
2
+ import { Declaracao } from './declaracao';
3
3
  export declare class Bloco extends Declaracao {
4
- declaracoes: any;
5
- constructor(hashArquivo: number, linha: number, declaracoes: any);
4
+ declaracoes: any[];
5
+ constructor(hashArquivo: number, linha: number, declaracoes: any[]);
6
6
  aceitar(visitante: InterpretadorInterface): any;
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"bloco.js","sourceRoot":"","sources":["../../../fontes/declaracoes/bloco.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA2B,yBAAU;IAGjC,eAAY,WAAmB,EAAE,KAAa,EAAE,WAAgB;QAAhE,YACI,kBAAM,KAAK,EAAE,WAAW,CAAC,SAE5B;QADG,KAAI,CAAC,WAAW,GAAG,WAAW,CAAC;;IACnC,CAAC;IAED,uBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACL,YAAC;AAAD,CAAC,AAXD,CAA2B,uBAAU,GAWpC;AAXY,sBAAK"}
1
+ {"version":3,"file":"bloco.js","sourceRoot":"","sources":["../../../fontes/declaracoes/bloco.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAE1C;IAA2B,yBAAU;IAGjC,eAAY,WAAmB,EAAE,KAAa,EAAE,WAAkB;QAAlE,YACI,kBAAM,KAAK,EAAE,WAAW,CAAC,SAE5B;QADG,KAAI,CAAC,WAAW,GAAG,WAAW,CAAC;;IACnC,CAAC;IAED,uBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACL,YAAC;AAAD,CAAC,AAXD,CAA2B,uBAAU,GAWpC;AAXY,sBAAK"}
@@ -1,5 +1,5 @@
1
- import { SimboloInterface } from "../interfaces";
2
- import { Declaracao } from "./declaracao";
1
+ import { SimboloInterface } from '../interfaces';
2
+ import { Declaracao } from './declaracao';
3
3
  export declare class Classe extends Declaracao {
4
4
  simbolo: SimboloInterface;
5
5
  superClasse: any;
@@ -1 +1 @@
1
- {"version":3,"file":"classe.js","sourceRoot":"","sources":["../../../fontes/declaracoes/classe.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA4B,0BAAU;IAKlC,gBAAY,OAAyB,EAAE,WAAgB,EAAE,OAAY;QAArE,YACI,kBAAM,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,SAIpD;QAHG,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,KAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;;IAC3B,CAAC;IAED,wBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IACL,aAAC;AAAD,CAAC,AAfD,CAA4B,uBAAU,GAerC;AAfY,wBAAM"}
1
+ {"version":3,"file":"classe.js","sourceRoot":"","sources":["../../../fontes/declaracoes/classe.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAE1C;IAA4B,0BAAU;IAKlC,gBAAY,OAAyB,EAAE,WAAgB,EAAE,OAAY;QAArE,YACI,kBAAM,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,SAIpD;QAHG,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,KAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;;IAC3B,CAAC;IAED,wBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IACL,aAAC;AAAD,CAAC,AAfD,CAA4B,uBAAU,GAerC;AAfY,wBAAM"}
@@ -1,5 +1,5 @@
1
- import { SimboloInterface } from "../interfaces";
2
- import { Declaracao } from "./declaracao";
1
+ import { SimboloInterface } from '../interfaces';
2
+ import { Declaracao } from './declaracao';
3
3
  export declare class Continua extends Declaracao {
4
4
  constructor(simbolo: SimboloInterface);
5
5
  aceitar(visitante: any): any;
@@ -1 +1 @@
1
- {"version":3,"file":"continua.js","sourceRoot":"","sources":["../../../fontes/declaracoes/continua.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA8B,4BAAU;IACpC,kBAAY,OAAyB;eACjC,kBAAM,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;IACrD,CAAC;IAED,0BAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACL,eAAC;AAAD,CAAC,AARD,CAA8B,uBAAU,GAQvC;AARY,4BAAQ"}
1
+ {"version":3,"file":"continua.js","sourceRoot":"","sources":["../../../fontes/declaracoes/continua.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAE1C;IAA8B,4BAAU;IACpC,kBAAY,OAAyB;eACjC,kBAAM,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;IACrD,CAAC;IAED,0BAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACL,eAAC;AAAD,CAAC,AARD,CAA8B,uBAAU,GAQvC;AARY,4BAAQ"}
@@ -6,9 +6,9 @@ var Declaracao = /** @class */ (function () {
6
6
  this.linha = linha;
7
7
  this.hashArquivo = hashArquivo;
8
8
  // TODO: Por ora, todos os testes são feitos num script só.
9
- // Quando iniciarem os testes em múltiplos arquivos e módulos,
9
+ // Quando iniciarem os testes em múltiplos arquivos e módulos,
10
10
  // pensar numa forma melhor de preencher isso.
11
- this.assinaturaMetodo = "<principal>";
11
+ this.assinaturaMetodo = '<principal>';
12
12
  }
13
13
  Declaracao.prototype.aceitar = function (visitante) {
14
14
  throw new Error('Este método não deveria ser chamado.');
@@ -1 +1 @@
1
- {"version":3,"file":"declaracao.js","sourceRoot":"","sources":["../../../fontes/declaracoes/declaracao.ts"],"names":[],"mappings":";;;AAAA;IAKI,oBAAY,KAAa,EAAE,WAAmB;QAC1C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,2DAA2D;QAC3D,+DAA+D;QAC/D,8CAA8C;QAC9C,IAAI,CAAC,gBAAgB,GAAG,aAAa,CAAC;IAC1C,CAAC;IAED,4BAAO,GAAP,UAAQ,SAAc;QAClB,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;IAC5D,CAAC;IACL,iBAAC;AAAD,CAAC,AAjBD,IAiBC;AAjBY,gCAAU"}
1
+ {"version":3,"file":"declaracao.js","sourceRoot":"","sources":["../../../fontes/declaracoes/declaracao.ts"],"names":[],"mappings":";;;AAAA;IAKI,oBAAY,KAAa,EAAE,WAAmB;QAC1C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,2DAA2D;QAC3D,8DAA8D;QAC9D,8CAA8C;QAC9C,IAAI,CAAC,gBAAgB,GAAG,aAAa,CAAC;IAC1C,CAAC;IAED,4BAAO,GAAP,UAAQ,SAAc;QAClB,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;IAC5D,CAAC;IACL,iBAAC;AAAD,CAAC,AAjBD,IAiBC;AAjBY,gCAAU"}
@@ -1,5 +1,5 @@
1
- import { Construto } from "../construtos";
2
- import { Declaracao } from "./declaracao";
1
+ import { Construto } from '../construtos';
2
+ import { Declaracao } from './declaracao';
3
3
  export declare class Enquanto extends Declaracao {
4
4
  condicao: Construto;
5
5
  corpo: any;
@@ -1 +1 @@
1
- {"version":3,"file":"enquanto.js","sourceRoot":"","sources":["../../../fontes/declaracoes/enquanto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA8B,4BAAU;IAIpC,kBAAY,QAAmB,EAAE,KAAU;QAA3C,YACI,kBAAM,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,WAAW,CAAC,SAG9C;QAFG,KAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,KAAI,CAAC,KAAK,GAAG,KAAK,CAAC;;IACvB,CAAC;IAED,0BAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACL,eAAC;AAAD,CAAC,AAbD,CAA8B,uBAAU,GAavC;AAbY,4BAAQ"}
1
+ {"version":3,"file":"enquanto.js","sourceRoot":"","sources":["../../../fontes/declaracoes/enquanto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAE1C;IAA8B,4BAAU;IAIpC,kBAAY,QAAmB,EAAE,KAAU;QAA3C,YACI,kBAAM,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,WAAW,CAAC,SAG9C;QAFG,KAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,KAAI,CAAC,KAAK,GAAG,KAAK,CAAC;;IACvB,CAAC;IAED,0BAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACL,eAAC;AAAD,CAAC,AAbD,CAA8B,uBAAU,GAavC;AAbY,4BAAQ"}
@@ -1,9 +1,12 @@
1
- import { Construto } from "../construtos";
2
- import { Declaracao } from "./declaracao";
1
+ import { Construto } from '../construtos';
2
+ import { Declaracao } from './declaracao';
3
+ /**
4
+ * Declaração de escolha de caminho a executar de acordo com literal ou identificador.
5
+ */
3
6
  export declare class Escolha extends Declaracao {
4
- condicao: Construto;
7
+ identificadorOuLiteral: Construto;
5
8
  caminhos: any;
6
9
  caminhoPadrao: any;
7
- constructor(condicao: Construto, caminhos: any, caminhoPadrao: any);
10
+ constructor(identificadorOuLiteral: Construto, caminhos: any, caminhoPadrao: any);
8
11
  aceitar(visitante: any): any;
9
12
  }
@@ -17,11 +17,14 @@ var __extends = (this && this.__extends) || (function () {
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.Escolha = void 0;
19
19
  var declaracao_1 = require("./declaracao");
20
+ /**
21
+ * Declaração de escolha de caminho a executar de acordo com literal ou identificador.
22
+ */
20
23
  var Escolha = /** @class */ (function (_super) {
21
24
  __extends(Escolha, _super);
22
- function Escolha(condicao, caminhos, caminhoPadrao) {
23
- var _this = _super.call(this, condicao.linha, condicao.hashArquivo) || this;
24
- _this.condicao = condicao;
25
+ function Escolha(identificadorOuLiteral, caminhos, caminhoPadrao) {
26
+ var _this = _super.call(this, identificadorOuLiteral.linha, identificadorOuLiteral.hashArquivo) || this;
27
+ _this.identificadorOuLiteral = identificadorOuLiteral;
25
28
  _this.caminhos = caminhos;
26
29
  _this.caminhoPadrao = caminhoPadrao;
27
30
  return _this;
@@ -1 +1 @@
1
- {"version":3,"file":"escolha.js","sourceRoot":"","sources":["../../../fontes/declaracoes/escolha.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA6B,2BAAU;IAKnC,iBAAY,QAAmB,EAAE,QAAa,EAAE,aAAkB;QAAlE,YACI,kBAAM,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,WAAW,CAAC,SAI9C;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,SAAc;QAClB,OAAO,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IACL,cAAC;AAAD,CAAC,AAfD,CAA6B,uBAAU,GAetC;AAfY,0BAAO"}
1
+ {"version":3,"file":"escolha.js","sourceRoot":"","sources":["../../../fontes/declaracoes/escolha.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAE1C;;GAEG;AACH;IAA6B,2BAAU;IAKnC,iBACI,sBAAiC,EACjC,QAAa,EACb,aAAkB;QAHtB,YAKI,kBAAM,sBAAsB,CAAC,KAAK,EAAE,sBAAsB,CAAC,WAAW,CAAC,SAI1E;QAHG,KAAI,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;QACrD,KAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,KAAI,CAAC,aAAa,GAAG,aAAa,CAAC;;IACvC,CAAC;IAED,yBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IACL,cAAC;AAAD,CAAC,AAnBD,CAA6B,uBAAU,GAmBtC;AAnBY,0BAAO"}
@@ -1,6 +1,6 @@
1
- import { Construto } from "../construtos";
2
- import { InterpretadorInterface } from "../interfaces";
3
- import { Declaracao } from "./declaracao";
1
+ import { Construto } from '../construtos';
2
+ import { InterpretadorInterface } from '../interfaces';
3
+ import { Declaracao } from './declaracao';
4
4
  export declare class Escreva extends Declaracao {
5
5
  argumentos: Construto[];
6
6
  constructor(linha: number, hashArquivo: number, argumentos: Construto[]);
@@ -1 +1 @@
1
- {"version":3,"file":"escreva.js","sourceRoot":"","sources":["../../../fontes/declaracoes/escreva.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAEA,2CAA0C;AAG1C;IAA6B,2BAAU;IAGnC,iBAAY,KAAa,EAAE,WAAmB,EAAE,UAAuB;QAAvE,YACI,kBAAM,KAAK,EAAE,WAAW,CAAC,SAE5B;QADG,KAAI,CAAC,UAAU,GAAG,UAAU,CAAC;;IACjC,CAAC;IAED,yBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IACL,cAAC;AAAD,CAAC,AAXD,CAA6B,uBAAU,GAWtC;AAXY,0BAAO"}
1
+ {"version":3,"file":"escreva.js","sourceRoot":"","sources":["../../../fontes/declaracoes/escreva.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAEA,2CAA0C;AAE1C;IAA6B,2BAAU;IAGnC,iBAAY,KAAa,EAAE,WAAmB,EAAE,UAAuB;QAAvE,YACI,kBAAM,KAAK,EAAE,WAAW,CAAC,SAE5B;QADG,KAAI,CAAC,UAAU,GAAG,UAAU,CAAC;;IACjC,CAAC;IAED,yBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;IACL,cAAC;AAAD,CAAC,AAXD,CAA6B,uBAAU,GAWtC;AAXY,0BAAO"}
@@ -1,6 +1,6 @@
1
- import { Construto } from "../construtos";
2
- import { InterpretadorInterface } from "../interfaces";
3
- import { Declaracao } from "./declaracao";
1
+ import { Construto } from '../construtos';
2
+ import { InterpretadorInterface } from '../interfaces';
3
+ import { Declaracao } from './declaracao';
4
4
  export declare class Expressao extends Declaracao {
5
5
  expressao: Construto;
6
6
  constructor(expressao: Construto);
@@ -1 +1 @@
1
- {"version":3,"file":"expressao.js","sourceRoot":"","sources":["../../../fontes/declaracoes/expressao.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAEA,2CAA0C;AAG1C;IAA+B,6BAAU;IAGrC,mBAAY,SAAoB;QAAhC,YACI,kBAAM,SAAS,CAAC,KAAK,EAAE,SAAS,CAAC,WAAW,CAAC,SAEhD;QADG,KAAI,CAAC,SAAS,GAAG,SAAS,CAAC;;IAC/B,CAAC;IAED,2BAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,4BAA4B,CAAC,IAAI,CAAC,CAAC;IACxD,CAAC;IACL,gBAAC;AAAD,CAAC,AAXD,CAA+B,uBAAU,GAWxC;AAXY,8BAAS"}
1
+ {"version":3,"file":"expressao.js","sourceRoot":"","sources":["../../../fontes/declaracoes/expressao.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAEA,2CAA0C;AAE1C;IAA+B,6BAAU;IAGrC,mBAAY,SAAoB;QAAhC,YACI,kBAAM,SAAS,CAAC,KAAK,EAAE,SAAS,CAAC,WAAW,CAAC,SAEhD;QADG,KAAI,CAAC,SAAS,GAAG,SAAS,CAAC;;IAC/B,CAAC;IAED,2BAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,4BAA4B,CAAC,IAAI,CAAC,CAAC;IACxD,CAAC;IACL,gBAAC;AAAD,CAAC,AAXD,CAA+B,uBAAU,GAWxC;AAXY,8BAAS"}
@@ -1,4 +1,4 @@
1
- import { Declaracao } from "./declaracao";
1
+ import { Declaracao } from './declaracao';
2
2
  export declare class Fazer extends Declaracao {
3
3
  caminhoFazer: any;
4
4
  condicaoEnquanto: any;
@@ -1 +1 @@
1
- {"version":3,"file":"fazer.js","sourceRoot":"","sources":["../../../fontes/declaracoes/fazer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAA0C;AAG1C;IAA2B,yBAAU;IAIjC,eAAY,WAAmB,EAAE,KAAa,EAAE,YAAiB,EAAE,gBAAqB;QAAxF,YACI,kBAAM,KAAK,EAAE,WAAW,CAAC,SAG5B;QAFG,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,KAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;;IAC7C,CAAC;IAED,uBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACL,YAAC;AAAD,CAAC,AAbD,CAA2B,uBAAU,GAapC;AAbY,sBAAK"}
1
+ {"version":3,"file":"fazer.js","sourceRoot":"","sources":["../../../fontes/declaracoes/fazer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAA0C;AAE1C;IAA2B,yBAAU;IAIjC,eACI,WAAmB,EACnB,KAAa,EACb,YAAiB,EACjB,gBAAqB;QAJzB,YAMI,kBAAM,KAAK,EAAE,WAAW,CAAC,SAG5B;QAFG,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,KAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;;IAC7C,CAAC;IAED,uBAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACL,YAAC;AAAD,CAAC,AAlBD,CAA2B,uBAAU,GAkBpC;AAlBY,sBAAK"}
@@ -1,5 +1,5 @@
1
- import { InterpretadorInterface, SimboloInterface } from "../interfaces";
2
- import { Declaracao } from "./declaracao";
1
+ import { InterpretadorInterface, SimboloInterface } from '../interfaces';
2
+ import { Declaracao } from './declaracao';
3
3
  export declare class Funcao extends Declaracao {
4
4
  simbolo: SimboloInterface;
5
5
  funcao: any;
@@ -1 +1 @@
1
- {"version":3,"file":"funcao.js","sourceRoot":"","sources":["../../../fontes/declaracoes/funcao.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA4B,0BAAU;IAIlC,gBAAY,OAAyB,EAAE,MAAW;QAAlD,YACI,kBAAM,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,SAGpD;QAFG,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,KAAI,CAAC,MAAM,GAAG,MAAM,CAAC;;IACzB,CAAC;IAED,wBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IACL,aAAC;AAAD,CAAC,AAbD,CAA4B,uBAAU,GAarC;AAbY,wBAAM"}
1
+ {"version":3,"file":"funcao.js","sourceRoot":"","sources":["../../../fontes/declaracoes/funcao.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAE1C;IAA4B,0BAAU;IAIlC,gBAAY,OAAyB,EAAE,MAAW;QAAlD,YACI,kBAAM,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,SAGpD;QAFG,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,KAAI,CAAC,MAAM,GAAG,MAAM,CAAC;;IACzB,CAAC;IAED,wBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IACL,aAAC;AAAD,CAAC,AAbD,CAA4B,uBAAU,GAarC;AAbY,wBAAM"}
@@ -1,5 +1,5 @@
1
- import { Literal } from "../construtos";
2
- import { Declaracao } from "./declaracao";
1
+ import { Literal } from '../construtos';
2
+ import { Declaracao } from './declaracao';
3
3
  export declare class Importar extends Declaracao {
4
4
  caminho: Literal;
5
5
  simboloFechamento: any;
@@ -1 +1 @@
1
- {"version":3,"file":"importar.js","sourceRoot":"","sources":["../../../fontes/declaracoes/importar.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA8B,4BAAU;IAIpC,kBAAY,OAAgB,EAAE,iBAAsB;QAApD,YACI,kBAAM,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,WAAW,CAAC,SAG5C;QAFG,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,KAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;;IAC/C,CAAC;IAED,0BAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACL,eAAC;AAAD,CAAC,AAbD,CAA8B,uBAAU,GAavC;AAbY,4BAAQ"}
1
+ {"version":3,"file":"importar.js","sourceRoot":"","sources":["../../../fontes/declaracoes/importar.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAE1C;IAA8B,4BAAU;IAIpC,kBAAY,OAAgB,EAAE,iBAAsB;QAApD,YACI,kBAAM,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,WAAW,CAAC,SAG5C;QAFG,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,KAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;;IAC/C,CAAC;IAED,0BAAO,GAAP,UAAQ,SAAc;QAClB,OAAO,SAAS,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACL,eAAC;AAAD,CAAC,AAbD,CAA8B,uBAAU,GAavC;AAbY,4BAAQ"}
@@ -8,6 +8,7 @@ export * from './expressao';
8
8
  export * from './fazer';
9
9
  export * from './funcao';
10
10
  export * from './importar';
11
+ export * from './leia';
11
12
  export * from './para';
12
13
  export * from './sustar';
13
14
  export * from './retorna';
@@ -24,6 +24,7 @@ __exportStar(require("./expressao"), exports);
24
24
  __exportStar(require("./fazer"), exports);
25
25
  __exportStar(require("./funcao"), exports);
26
26
  __exportStar(require("./importar"), exports);
27
+ __exportStar(require("./leia"), exports);
27
28
  __exportStar(require("./para"), exports);
28
29
  __exportStar(require("./sustar"), exports);
29
30
  __exportStar(require("./retorna"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../fontes/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,2CAAyB;AACzB,4CAA0B;AAC1B,uCAAqB;AACrB,+CAA6B;AAC7B,0CAAwB;AACxB,wCAAsB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../fontes/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,yCAAuB;AACvB,2CAAyB;AACzB,4CAA0B;AAC1B,uCAAqB;AACrB,+CAA6B;AAC7B,0CAAwB;AACxB,wCAAsB"}
@@ -0,0 +1,12 @@
1
+ import { Construto } from '../construtos';
2
+ import { InterpretadorInterface } from '../interfaces';
3
+ import { Declaracao } from './declaracao';
4
+ /**
5
+ * Declaração que pede a leitura de uma informação da entrada
6
+ * configurada no início da aplicação.
7
+ */
8
+ export declare class Leia extends Declaracao {
9
+ argumentos: Construto[];
10
+ constructor(linha: number, hashArquivo: number, argumentos: Construto[]);
11
+ aceitar(visitante: InterpretadorInterface): any;
12
+ }
@@ -0,0 +1,37 @@
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.Leia = void 0;
19
+ var declaracao_1 = require("./declaracao");
20
+ /**
21
+ * Declaração que pede a leitura de uma informação da entrada
22
+ * configurada no início da aplicação.
23
+ */
24
+ var Leia = /** @class */ (function (_super) {
25
+ __extends(Leia, _super);
26
+ function Leia(linha, hashArquivo, argumentos) {
27
+ var _this = _super.call(this, linha, hashArquivo) || this;
28
+ _this.argumentos = argumentos;
29
+ return _this;
30
+ }
31
+ Leia.prototype.aceitar = function (visitante) {
32
+ return visitante.visitarExpressaoLeia(this);
33
+ };
34
+ return Leia;
35
+ }(declaracao_1.Declaracao));
36
+ exports.Leia = Leia;
37
+ //# sourceMappingURL=leia.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"leia.js","sourceRoot":"","sources":["../../../fontes/declaracoes/leia.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAEA,2CAA0C;AAE1C;;;GAGG;AACH;IAA0B,wBAAU;IAGhC,cAAY,KAAa,EAAE,WAAmB,EAAE,UAAuB;QAAvE,YACI,kBAAM,KAAK,EAAE,WAAW,CAAC,SAE5B;QADG,KAAI,CAAC,UAAU,GAAG,UAAU,CAAC;;IACjC,CAAC;IAED,sBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;IACL,WAAC;AAAD,CAAC,AAXD,CAA0B,uBAAU,GAWnC;AAXY,oBAAI"}
@@ -1,4 +1,4 @@
1
- import { Declaracao } from "./declaracao";
1
+ import { Declaracao } from './declaracao';
2
2
  export declare class Para extends Declaracao {
3
3
  inicializador: any;
4
4
  condicao: any;
@@ -1 +1 @@
1
- {"version":3,"file":"para.js","sourceRoot":"","sources":["../../../fontes/declaracoes/para.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAA0C;AAG1C;IAA0B,wBAAU;IAMhC,cAAY,WAAmB,EAAE,KAAa,EAAE,aAAkB,EAAE,QAAa,EAAE,WAAgB,EAAE,KAAU;QAA/G,YACI,kBAAM,KAAK,EAAE,WAAW,CAAC,SAK5B;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,SAAc;QAClB,OAAO,SAAS,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;IACL,WAAC;AAAD,CAAC,AAjBD,CAA0B,uBAAU,GAiBnC;AAjBY,oBAAI"}
1
+ {"version":3,"file":"para.js","sourceRoot":"","sources":["../../../fontes/declaracoes/para.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,2CAA0C;AAE1C;IAA0B,wBAAU;IAMhC,cACI,WAAmB,EACnB,KAAa,EACb,aAAkB,EAClB,QAAa,EACb,WAAgB,EAChB,KAAU;QANd,YAQI,kBAAM,KAAK,EAAE,WAAW,CAAC,SAK5B;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,SAAc;QAClB,OAAO,SAAS,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;IACL,WAAC;AAAD,CAAC,AAxBD,CAA0B,uBAAU,GAwBnC;AAxBY,oBAAI"}
@@ -1,5 +1,5 @@
1
- import { InterpretadorInterface, SimboloInterface } from "../interfaces";
2
- import { Declaracao } from "./declaracao";
1
+ import { InterpretadorInterface, SimboloInterface } from '../interfaces';
2
+ import { Declaracao } from './declaracao';
3
3
  export declare class Retorna extends Declaracao {
4
4
  simboloChave: SimboloInterface;
5
5
  valor: any;
@@ -1 +1 @@
1
- {"version":3,"file":"retorna.js","sourceRoot":"","sources":["../../../fontes/declaracoes/retorna.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA6B,2BAAU;IAInC,iBAAY,YAA8B,EAAE,KAAU;QAAtD,YACI,kBAAM,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,SAG9D;QAFG,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,KAAI,CAAC,KAAK,GAAG,KAAK,CAAC;;IACvB,CAAC;IAED,yBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACL,cAAC;AAAD,CAAC,AAbD,CAA6B,uBAAU,GAatC;AAbY,0BAAO"}
1
+ {"version":3,"file":"retorna.js","sourceRoot":"","sources":["../../../fontes/declaracoes/retorna.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAE1C;IAA6B,2BAAU;IAInC,iBAAY,YAA8B,EAAE,KAAU;QAAtD,YACI,kBAAM,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,SAG9D;QAFG,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,KAAI,CAAC,KAAK,GAAG,KAAK,CAAC;;IACvB,CAAC;IAED,yBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACL,cAAC;AAAD,CAAC,AAbD,CAA6B,uBAAU,GAatC;AAbY,0BAAO"}
@@ -1,5 +1,5 @@
1
- import { InterpretadorInterface } from "../interfaces";
2
- import { Declaracao } from "./declaracao";
1
+ import { InterpretadorInterface } from '../interfaces';
2
+ import { Declaracao } from './declaracao';
3
3
  export declare class Se extends Declaracao {
4
4
  condicao: any;
5
5
  caminhoEntao: any;
@@ -1 +1 @@
1
- {"version":3,"file":"se.js","sourceRoot":"","sources":["../../../fontes/declaracoes/se.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAAwB,sBAAU;IAM9B,YAAY,QAAa,EAAE,YAAiB,EAAE,eAAoB,EAAE,YAAiB;QAArF,YACI,kBAAM,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,WAAW,CAAC,SAK9C;QAJG,KAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,KAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;;IACrC,CAAC;IAED,oBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAC9C,CAAC;IACL,SAAC;AAAD,CAAC,AAjBD,CAAwB,uBAAU,GAiBjC;AAjBY,gBAAE"}
1
+ {"version":3,"file":"se.js","sourceRoot":"","sources":["../../../fontes/declaracoes/se.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAE1C;IAAwB,sBAAU;IAM9B,YACI,QAAa,EACb,YAAiB,EACjB,eAAoB,EACpB,YAAiB;QAJrB,YAMI,kBAAM,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,WAAW,CAAC,SAK9C;QAJG,KAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,KAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;;IACrC,CAAC;IAED,oBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAC9C,CAAC;IACL,SAAC;AAAD,CAAC,AAtBD,CAAwB,uBAAU,GAsBjC;AAtBY,gBAAE"}
@@ -1,5 +1,5 @@
1
- import { InterpretadorInterface, SimboloInterface } from "../interfaces";
2
- import { Declaracao } from "./declaracao";
1
+ import { InterpretadorInterface, SimboloInterface } from '../interfaces';
2
+ import { Declaracao } from './declaracao';
3
3
  export declare class Sustar extends Declaracao {
4
4
  constructor(simbolo: SimboloInterface);
5
5
  aceitar(visitante: InterpretadorInterface): any;
@@ -1 +1 @@
1
- {"version":3,"file":"sustar.js","sourceRoot":"","sources":["../../../fontes/declaracoes/sustar.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA4B,0BAAU;IAClC,gBAAY,OAAyB;eACjC,kBAAM,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;IACrD,CAAC;IAED,wBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IACL,aAAC;AAAD,CAAC,AARD,CAA4B,uBAAU,GAQrC;AARY,wBAAM"}
1
+ {"version":3,"file":"sustar.js","sourceRoot":"","sources":["../../../fontes/declaracoes/sustar.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAE1C;IAA4B,0BAAU;IAClC,gBAAY,OAAyB;eACjC,kBAAM,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;IACrD,CAAC;IAED,wBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;IAClD,CAAC;IACL,aAAC;AAAD,CAAC,AARD,CAA4B,uBAAU,GAQrC;AARY,wBAAM"}
@@ -1,5 +1,5 @@
1
- import { InterpretadorInterface } from "../interfaces";
2
- import { Declaracao } from "./declaracao";
1
+ import { InterpretadorInterface } from '../interfaces';
2
+ import { Declaracao } from './declaracao';
3
3
  export declare class Tente extends Declaracao {
4
4
  caminhoTente: any;
5
5
  caminhoPegue: any;
@@ -1 +1 @@
1
- {"version":3,"file":"tente.js","sourceRoot":"","sources":["../../../fontes/declaracoes/tente.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAA2B,yBAAU;IAMjC,eAAY,WAAmB,EAAE,KAAa,EAAE,YAAiB,EAAE,YAAiB,EAAE,YAAiB,EAAE,iBAAsB;QAA/H,YACI,kBAAM,KAAK,EAAE,WAAW,CAAC,SAK5B;QAJG,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,KAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;;IAC/C,CAAC;IAED,uBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACL,YAAC;AAAD,CAAC,AAjBD,CAA2B,uBAAU,GAiBpC;AAjBY,sBAAK"}
1
+ {"version":3,"file":"tente.js","sourceRoot":"","sources":["../../../fontes/declaracoes/tente.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAE1C;IAA2B,yBAAU;IAMjC,eACI,WAAmB,EACnB,KAAa,EACb,YAAiB,EACjB,YAAiB,EACjB,YAAiB,EACjB,iBAAsB;QAN1B,YAQI,kBAAM,KAAK,EAAE,WAAW,CAAC,SAK5B;QAJG,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,KAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,KAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;;IAC/C,CAAC;IAED,uBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACL,YAAC;AAAD,CAAC,AAxBD,CAA2B,uBAAU,GAwBpC;AAxBY,sBAAK"}
@@ -1,8 +1,9 @@
1
- import { InterpretadorInterface, SimboloInterface } from "../interfaces";
2
- import { Declaracao } from "./declaracao";
1
+ import { Construto } from '../construtos';
2
+ import { InterpretadorInterface, SimboloInterface } from '../interfaces';
3
+ import { Declaracao } from './declaracao';
3
4
  export declare class Var extends Declaracao {
4
5
  simbolo: SimboloInterface;
5
- inicializador: any;
6
- constructor(simbolo: SimboloInterface, inicializador: any);
6
+ inicializador: Construto;
7
+ constructor(simbolo: SimboloInterface, inicializador: Construto);
7
8
  aceitar(visitante: InterpretadorInterface): any;
8
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"var.js","sourceRoot":"","sources":["../../../fontes/declaracoes/var.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AACA,2CAA0C;AAG1C;IAAyB,uBAAU;IAI/B,aAAY,OAAyB,EAAE,aAAkB;QAAzD,YACI,kBAAM,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,SAGpD;QAFG,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,KAAI,CAAC,aAAa,GAAG,aAAa,CAAC;;IACvC,CAAC;IAED,qBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;IACL,UAAC;AAAD,CAAC,AAbD,CAAyB,uBAAU,GAalC;AAbY,kBAAG"}
1
+ {"version":3,"file":"var.js","sourceRoot":"","sources":["../../../fontes/declaracoes/var.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAEA,2CAA0C;AAE1C;IAAyB,uBAAU;IAI/B,aAAY,OAAyB,EAAE,aAAwB;QAA/D,YACI,kBAAM,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,SAGpD;QAFG,KAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,KAAI,CAAC,aAAa,GAAG,aAAa,CAAC;;IACvC,CAAC;IAED,qBAAO,GAAP,UAAQ,SAAiC;QACrC,OAAO,SAAS,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;IACL,UAAC;AAAD,CAAC,AAbD,CAAyB,uBAAU,GAalC;AAbY,kBAAG"}