@designliquido/delegua 0.14.7 → 0.15.0

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 (344) hide show
  1. package/README.md +85 -85
  2. package/bin/delegua +2 -2
  3. package/bin/package.json +88 -88
  4. package/fontes/avaliador-sintatico/avaliador-sintatico-base.d.ts +67 -67
  5. package/fontes/avaliador-sintatico/avaliador-sintatico-base.js +215 -215
  6. package/fontes/avaliador-sintatico/avaliador-sintatico-base.js.map +1 -1
  7. package/fontes/avaliador-sintatico/avaliador-sintatico.d.ts +92 -92
  8. package/fontes/avaliador-sintatico/avaliador-sintatico.js +857 -727
  9. package/fontes/avaliador-sintatico/avaliador-sintatico.js.map +1 -1
  10. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-birl.d.ts +22 -22
  11. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-birl.js +145 -145
  12. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.d.ts +69 -69
  13. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js +640 -640
  14. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js.map +1 -1
  15. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-eguap.d.ts +84 -84
  16. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-eguap.js +714 -714
  17. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-eguap.js.map +1 -1
  18. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-guarani.d.ts +20 -20
  19. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-guarani.js +149 -149
  20. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-portugol-studio.d.ts +49 -33
  21. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-portugol-studio.js +419 -218
  22. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-portugol-studio.js.map +1 -1
  23. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-visualg.d.ts +73 -73
  24. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-visualg.js +534 -534
  25. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-visualg.js.map +1 -1
  26. package/fontes/avaliador-sintatico/dialetos/index.d.ts +5 -5
  27. package/fontes/avaliador-sintatico/dialetos/index.js +21 -21
  28. package/fontes/avaliador-sintatico/erro-avaliador-sintatico.d.ts +5 -5
  29. package/fontes/avaliador-sintatico/erro-avaliador-sintatico.js +11 -11
  30. package/fontes/avaliador-sintatico/index.d.ts +2 -2
  31. package/fontes/avaliador-sintatico/index.js +18 -18
  32. package/fontes/avaliador-sintatico/retornos/index.d.ts +3 -3
  33. package/fontes/avaliador-sintatico/retornos/index.js +19 -19
  34. package/fontes/avaliador-sintatico/retornos/retorno-declaracao.d.ts +3 -3
  35. package/fontes/avaliador-sintatico/retornos/retorno-declaracao.js +2 -2
  36. package/fontes/avaliador-sintatico/retornos/retorno-primario.d.ts +3 -3
  37. package/fontes/avaliador-sintatico/retornos/retorno-primario.js +2 -2
  38. package/fontes/avaliador-sintatico/retornos/retorno-resolver-declaracao.d.ts +2 -2
  39. package/fontes/avaliador-sintatico/retornos/retorno-resolver-declaracao.js +2 -2
  40. package/fontes/bibliotecas/biblioteca-global.d.ts +3 -3
  41. package/fontes/bibliotecas/biblioteca-global.js +315 -315
  42. package/fontes/bibliotecas/dialetos/egua-classico/biblioteca-global.d.ts +1 -1
  43. package/fontes/bibliotecas/dialetos/egua-classico/biblioteca-global.js +230 -230
  44. package/fontes/bibliotecas/dialetos/egua-classico/index.d.ts +2 -2
  45. package/fontes/bibliotecas/dialetos/egua-classico/index.js +32 -32
  46. package/fontes/bibliotecas/dialetos/egua-classico/matematica.d.ts +1 -1
  47. package/fontes/bibliotecas/dialetos/egua-classico/matematica.js +478 -478
  48. package/fontes/bibliotecas/dialetos/egua-classico/tempo.d.ts +1 -1
  49. package/fontes/bibliotecas/dialetos/egua-classico/tempo.js +39 -39
  50. package/fontes/bibliotecas/dialetos/egua-classico/textos.d.ts +8 -8
  51. package/fontes/bibliotecas/dialetos/egua-classico/textos.js +201 -201
  52. package/fontes/bibliotecas/primitivas-texto.d.ts +11 -11
  53. package/fontes/bibliotecas/primitivas-texto.js +12 -12
  54. package/fontes/bibliotecas/primitivas-vetor.d.ts +15 -15
  55. package/fontes/bibliotecas/primitivas-vetor.js +33 -33
  56. package/fontes/construtos/acesso-indice-variavel.d.ts +15 -15
  57. package/fontes/construtos/acesso-indice-variavel.js +20 -20
  58. package/fontes/construtos/acesso-metodo.d.ts +14 -14
  59. package/fontes/construtos/acesso-metodo.js +19 -19
  60. package/fontes/construtos/agrupamento.d.ts +14 -14
  61. package/fontes/construtos/agrupamento.js +19 -19
  62. package/fontes/construtos/atribuicao-sobrescrita.d.ts +11 -11
  63. package/fontes/construtos/atribuicao-sobrescrita.js +16 -16
  64. package/fontes/construtos/atribuir.d.ts +10 -10
  65. package/fontes/construtos/atribuir.js +15 -15
  66. package/fontes/construtos/binario.d.ts +22 -22
  67. package/fontes/construtos/binario.js +27 -27
  68. package/fontes/construtos/chamada.d.ts +13 -13
  69. package/fontes/construtos/chamada.js +36 -36
  70. package/fontes/construtos/construto.d.ts +7 -7
  71. package/fontes/construtos/construto.js +2 -2
  72. package/fontes/construtos/definir-valor.d.ts +11 -11
  73. package/fontes/construtos/definir-valor.js +16 -16
  74. package/fontes/construtos/dicionario.d.ts +10 -10
  75. package/fontes/construtos/dicionario.js +15 -15
  76. package/fontes/construtos/formatacao-escrita.d.ts +16 -16
  77. package/fontes/construtos/formatacao-escrita.js +21 -21
  78. package/fontes/construtos/funcao.d.ts +10 -10
  79. package/fontes/construtos/funcao.js +15 -15
  80. package/fontes/construtos/index.d.ts +19 -19
  81. package/fontes/construtos/index.js +35 -35
  82. package/fontes/construtos/isto.d.ts +9 -9
  83. package/fontes/construtos/isto.js +14 -14
  84. package/fontes/construtos/literal.d.ts +10 -10
  85. package/fontes/construtos/literal.js +14 -14
  86. package/fontes/construtos/logico.d.ts +11 -11
  87. package/fontes/construtos/logico.js +16 -16
  88. package/fontes/construtos/super.d.ts +10 -10
  89. package/fontes/construtos/super.js +15 -15
  90. package/fontes/construtos/unario.d.ts +11 -10
  91. package/fontes/construtos/unario.js +16 -15
  92. package/fontes/construtos/unario.js.map +1 -1
  93. package/fontes/construtos/variavel.d.ts +9 -9
  94. package/fontes/construtos/variavel.js +14 -14
  95. package/fontes/construtos/vetor.d.ts +9 -9
  96. package/fontes/construtos/vetor.js +14 -14
  97. package/fontes/declaracoes/bloco.d.ts +7 -7
  98. package/fontes/declaracoes/bloco.js +14 -14
  99. package/fontes/declaracoes/classe.d.ts +9 -9
  100. package/fontes/declaracoes/classe.js +16 -16
  101. package/fontes/declaracoes/continua.d.ts +6 -6
  102. package/fontes/declaracoes/continua.js +13 -13
  103. package/fontes/declaracoes/declaracao.d.ts +8 -8
  104. package/fontes/declaracoes/declaracao.js +17 -17
  105. package/fontes/declaracoes/enquanto.d.ts +9 -9
  106. package/fontes/declaracoes/enquanto.js +15 -15
  107. package/fontes/declaracoes/escolha.d.ts +14 -14
  108. package/fontes/declaracoes/escolha.js +19 -19
  109. package/fontes/declaracoes/escreva-mesma-linha.d.ts +8 -8
  110. package/fontes/declaracoes/escreva-mesma-linha.js +14 -14
  111. package/fontes/declaracoes/escreva.d.ts +8 -8
  112. package/fontes/declaracoes/escreva.js +14 -14
  113. package/fontes/declaracoes/expressao.d.ts +8 -8
  114. package/fontes/declaracoes/expressao.js +14 -14
  115. package/fontes/declaracoes/fazer.d.ts +8 -8
  116. package/fontes/declaracoes/fazer.js +15 -15
  117. package/fontes/declaracoes/funcao.d.ts +9 -9
  118. package/fontes/declaracoes/funcao.js +15 -15
  119. package/fontes/declaracoes/importar.d.ts +9 -9
  120. package/fontes/declaracoes/importar.js +15 -15
  121. package/fontes/declaracoes/index.d.ts +19 -19
  122. package/fontes/declaracoes/index.js +35 -35
  123. package/fontes/declaracoes/leia.d.ts +12 -12
  124. package/fontes/declaracoes/leia.js +18 -18
  125. package/fontes/declaracoes/para.d.ts +10 -10
  126. package/fontes/declaracoes/para.js +17 -17
  127. package/fontes/declaracoes/retorna.d.ts +8 -8
  128. package/fontes/declaracoes/retorna.js +15 -15
  129. package/fontes/declaracoes/se.d.ts +11 -11
  130. package/fontes/declaracoes/se.js +17 -17
  131. package/fontes/declaracoes/sustar.d.ts +6 -6
  132. package/fontes/declaracoes/sustar.js +13 -13
  133. package/fontes/declaracoes/tente.d.ts +14 -14
  134. package/fontes/declaracoes/tente.js +20 -20
  135. package/fontes/declaracoes/var.d.ts +9 -9
  136. package/fontes/declaracoes/var.js +15 -15
  137. package/fontes/depuracao/cyrb53.d.ts +9 -9
  138. package/fontes/depuracao/cyrb53.js +22 -22
  139. package/fontes/depuracao/index.d.ts +2 -2
  140. package/fontes/depuracao/index.js +23 -23
  141. package/fontes/depuracao/ponto-parada.d.ts +4 -4
  142. package/fontes/depuracao/ponto-parada.js +2 -2
  143. package/fontes/espaco-variaveis.d.ts +19 -19
  144. package/fontes/espaco-variaveis.js +19 -19
  145. package/fontes/estruturas/chamavel.d.ts +5 -5
  146. package/fontes/estruturas/chamavel.js +12 -12
  147. package/fontes/estruturas/classe-padrao.d.ts +17 -17
  148. package/fontes/estruturas/classe-padrao.js +28 -28
  149. package/fontes/estruturas/delegua-classe.d.ts +16 -16
  150. package/fontes/estruturas/delegua-classe.js +38 -38
  151. package/fontes/estruturas/delegua-funcao.d.ts +18 -18
  152. package/fontes/estruturas/delegua-funcao.js +60 -60
  153. package/fontes/estruturas/funcao-padrao.d.ts +12 -12
  154. package/fontes/estruturas/funcao-padrao.js +22 -22
  155. package/fontes/estruturas/index.d.ts +9 -9
  156. package/fontes/estruturas/index.js +25 -25
  157. package/fontes/estruturas/metodo-primitiva.d.ts +17 -17
  158. package/fontes/estruturas/metodo-primitiva.js +26 -26
  159. package/fontes/estruturas/modulo.d.ts +9 -9
  160. package/fontes/estruturas/modulo.js +13 -13
  161. package/fontes/estruturas/objeto-delegua-classe.d.ts +10 -10
  162. package/fontes/estruturas/objeto-delegua-classe.js +26 -26
  163. package/fontes/estruturas/objeto-padrao.d.ts +9 -9
  164. package/fontes/estruturas/objeto-padrao.js +21 -21
  165. package/fontes/excecoes/erro-em-tempo-de-execucao.d.ts +7 -7
  166. package/fontes/excecoes/erro-em-tempo-de-execucao.js +13 -13
  167. package/fontes/excecoes/index.d.ts +1 -1
  168. package/fontes/excecoes/index.js +17 -17
  169. package/fontes/formatadores/delegua.d.ts +18 -18
  170. package/fontes/formatadores/delegua.js +82 -82
  171. package/fontes/formatadores/index.d.ts +1 -1
  172. package/fontes/formatadores/index.js +17 -17
  173. package/fontes/interfaces/avaliador-sintatico-interface.d.ts +57 -57
  174. package/fontes/interfaces/avaliador-sintatico-interface.js +2 -2
  175. package/fontes/interfaces/construtos/index.d.ts +4 -4
  176. package/fontes/interfaces/construtos/index.js +2 -2
  177. package/fontes/interfaces/escopo-execucao.d.ts +11 -11
  178. package/fontes/interfaces/escopo-execucao.js +2 -2
  179. package/fontes/interfaces/index.d.ts +11 -11
  180. package/fontes/interfaces/index.js +27 -27
  181. package/fontes/interfaces/interpretador-com-depuracao-interface.d.ts +17 -17
  182. package/fontes/interfaces/interpretador-com-depuracao-interface.js +2 -2
  183. package/fontes/interfaces/interpretador-interface.d.ts +55 -55
  184. package/fontes/interfaces/interpretador-interface.js +2 -2
  185. package/fontes/interfaces/lexador-interface.d.ts +23 -23
  186. package/fontes/interfaces/lexador-interface.js +2 -2
  187. package/fontes/interfaces/parametro-interface.d.ts +6 -6
  188. package/fontes/interfaces/parametro-interface.js +2 -2
  189. package/fontes/interfaces/pilha-escopos-execucao-interface.d.ts +25 -25
  190. package/fontes/interfaces/pilha-escopos-execucao-interface.js +2 -2
  191. package/fontes/interfaces/pilha-interface.d.ts +7 -7
  192. package/fontes/interfaces/pilha-interface.js +2 -2
  193. package/fontes/interfaces/resolvedor-interface.d.ts +41 -41
  194. package/fontes/interfaces/resolvedor-interface.js +2 -2
  195. package/fontes/interfaces/retornos/index.d.ts +4 -4
  196. package/fontes/interfaces/retornos/index.js +20 -20
  197. package/fontes/interfaces/retornos/retorno-avaliador-sintatico.d.ts +6 -6
  198. package/fontes/interfaces/retornos/retorno-avaliador-sintatico.js +2 -2
  199. package/fontes/interfaces/retornos/retorno-execucao-interface.d.ts +5 -5
  200. package/fontes/interfaces/retornos/retorno-execucao-interface.js +2 -2
  201. package/fontes/interfaces/retornos/retorno-interpretador.d.ts +5 -5
  202. package/fontes/interfaces/retornos/retorno-interpretador.js +2 -2
  203. package/fontes/interfaces/retornos/retorno-lexador.d.ts +10 -10
  204. package/fontes/interfaces/retornos/retorno-lexador.js +2 -2
  205. package/fontes/interfaces/simbolo-interface.d.ts +7 -7
  206. package/fontes/interfaces/simbolo-interface.js +2 -2
  207. package/fontes/interfaces/tradutor-interface.d.ts +4 -4
  208. package/fontes/interfaces/tradutor-interface.js +2 -2
  209. package/fontes/interfaces/variavel-interface.d.ts +4 -4
  210. package/fontes/interfaces/variavel-interface.js +2 -2
  211. package/fontes/interpretador/dialetos/egua-classico/index.d.ts +1 -1
  212. package/fontes/interpretador/dialetos/egua-classico/index.js +17 -17
  213. package/fontes/interpretador/dialetos/egua-classico/interpretador-egua-classico.d.ts +99 -99
  214. package/fontes/interpretador/dialetos/egua-classico/interpretador-egua-classico.js +743 -743
  215. package/fontes/interpretador/dialetos/egua-classico/interpretador-egua-classico.js.map +1 -1
  216. package/fontes/interpretador/dialetos/egua-classico/resolvedor/erro-resolvedor.d.ts +5 -5
  217. package/fontes/interpretador/dialetos/egua-classico/resolvedor/erro-resolvedor.js +11 -11
  218. package/fontes/interpretador/dialetos/egua-classico/resolvedor/index.d.ts +3 -3
  219. package/fontes/interpretador/dialetos/egua-classico/resolvedor/index.js +19 -19
  220. package/fontes/interpretador/dialetos/egua-classico/resolvedor/pilha-escopos.d.ts +9 -9
  221. package/fontes/interpretador/dialetos/egua-classico/resolvedor/pilha-escopos.js +25 -25
  222. package/fontes/interpretador/dialetos/egua-classico/resolvedor/resolvedor.d.ts +87 -87
  223. package/fontes/interpretador/dialetos/egua-classico/resolvedor/resolvedor.js +387 -387
  224. package/fontes/interpretador/dialetos/egua-classico/resolvedor/retorno-resolvedor.d.ts +6 -6
  225. package/fontes/interpretador/dialetos/egua-classico/resolvedor/retorno-resolvedor.js +2 -2
  226. package/fontes/interpretador/dialetos/index.d.ts +4 -4
  227. package/fontes/interpretador/dialetos/index.js +20 -20
  228. package/fontes/interpretador/dialetos/portugol-studio/interpretador-portugol-studio.d.ts +12 -12
  229. package/fontes/interpretador/dialetos/portugol-studio/interpretador-portugol-studio.js +26 -26
  230. package/fontes/interpretador/dialetos/visualg/interpretador-visualg-com-depuracao.d.ts +40 -40
  231. package/fontes/interpretador/dialetos/visualg/interpretador-visualg-com-depuracao.js +96 -96
  232. package/fontes/interpretador/dialetos/visualg/interpretador-visualg.d.ts +46 -46
  233. package/fontes/interpretador/dialetos/visualg/interpretador-visualg.js +102 -102
  234. package/fontes/interpretador/erro-interpretador.d.ts +8 -8
  235. package/fontes/interpretador/erro-interpretador.js +2 -2
  236. package/fontes/interpretador/index.d.ts +4 -4
  237. package/fontes/interpretador/index.js +20 -20
  238. package/fontes/interpretador/inferenciador.d.ts +1 -1
  239. package/fontes/interpretador/inferenciador.js +31 -31
  240. package/fontes/interpretador/interpretador-base.d.ts +187 -187
  241. package/fontes/interpretador/interpretador-base.js +998 -972
  242. package/fontes/interpretador/interpretador-base.js.map +1 -1
  243. package/fontes/interpretador/interpretador-com-depuracao.d.ts +199 -199
  244. package/fontes/interpretador/interpretador-com-depuracao.js +516 -516
  245. package/fontes/interpretador/pilha-escopos-execucao.d.ts +38 -38
  246. package/fontes/interpretador/pilha-escopos-execucao.js +158 -158
  247. package/fontes/lexador/dialetos/index.d.ts +6 -6
  248. package/fontes/lexador/dialetos/index.js +22 -22
  249. package/fontes/lexador/dialetos/lexador-birl.d.ts +12 -12
  250. package/fontes/lexador/dialetos/lexador-birl.js +165 -165
  251. package/fontes/lexador/dialetos/lexador-egua-classico.d.ts +36 -36
  252. package/fontes/lexador/dialetos/lexador-egua-classico.js +286 -286
  253. package/fontes/lexador/dialetos/lexador-eguap.d.ts +51 -51
  254. package/fontes/lexador/dialetos/lexador-eguap.js +398 -398
  255. package/fontes/lexador/dialetos/lexador-guarani.d.ts +9 -9
  256. package/fontes/lexador/dialetos/lexador-guarani.js +113 -113
  257. package/fontes/lexador/dialetos/lexador-portugol-ipt.d.ts +33 -33
  258. package/fontes/lexador/dialetos/lexador-portugol-ipt.js +195 -195
  259. package/fontes/lexador/dialetos/lexador-portugol-studio.d.ts +21 -15
  260. package/fontes/lexador/dialetos/lexador-portugol-studio.js +280 -244
  261. package/fontes/lexador/dialetos/lexador-portugol-studio.js.map +1 -1
  262. package/fontes/lexador/dialetos/lexador-visualg.d.ts +18 -18
  263. package/fontes/lexador/dialetos/lexador-visualg.js +218 -218
  264. package/fontes/lexador/dialetos/palavras-reservadas/birl.d.ts +41 -41
  265. package/fontes/lexador/dialetos/palavras-reservadas/birl.js +58 -58
  266. package/fontes/lexador/dialetos/palavras-reservadas/egua-classico.d.ts +36 -36
  267. package/fontes/lexador/dialetos/palavras-reservadas/egua-classico.js +41 -41
  268. package/fontes/lexador/dialetos/palavras-reservadas/guarani.d.ts +4 -4
  269. package/fontes/lexador/dialetos/palavras-reservadas/guarani.js +9 -9
  270. package/fontes/lexador/dialetos/palavras-reservadas/index.d.ts +3 -3
  271. package/fontes/lexador/dialetos/palavras-reservadas/index.js +19 -19
  272. package/fontes/lexador/dialetos/palavras-reservadas/portugol-ipt.d.ts +6 -6
  273. package/fontes/lexador/dialetos/palavras-reservadas/portugol-ipt.js +11 -11
  274. package/fontes/lexador/dialetos/palavras-reservadas/portugol-studio.d.ts +23 -11
  275. package/fontes/lexador/dialetos/palavras-reservadas/portugol-studio.js +28 -16
  276. package/fontes/lexador/dialetos/palavras-reservadas/portugol-studio.js.map +1 -1
  277. package/fontes/lexador/dialetos/palavras-reservadas/rantiaquin.d.ts +2 -2
  278. package/fontes/lexador/dialetos/palavras-reservadas/rantiaquin.js +3 -3
  279. package/fontes/lexador/dialetos/palavras-reservadas/visualg.d.ts +60 -60
  280. package/fontes/lexador/dialetos/palavras-reservadas/visualg.js +65 -65
  281. package/fontes/lexador/dialetos/pragma.d.ts +8 -8
  282. package/fontes/lexador/dialetos/pragma.js +2 -2
  283. package/fontes/lexador/erro-lexador.d.ts +5 -5
  284. package/fontes/lexador/erro-lexador.js +2 -2
  285. package/fontes/lexador/index.d.ts +2 -2
  286. package/fontes/lexador/index.js +18 -18
  287. package/fontes/lexador/lexador-base-linha-unica.d.ts +28 -28
  288. package/fontes/lexador/lexador-base-linha-unica.js +82 -82
  289. package/fontes/lexador/lexador-base.d.ts +41 -41
  290. package/fontes/lexador/lexador-base.js +112 -112
  291. package/fontes/lexador/lexador.d.ts +43 -43
  292. package/fontes/lexador/lexador.js +412 -408
  293. package/fontes/lexador/lexador.js.map +1 -1
  294. package/fontes/lexador/palavras-reservadas.d.ts +36 -36
  295. package/fontes/lexador/palavras-reservadas.js +41 -41
  296. package/fontes/lexador/simbolo.d.ts +10 -10
  297. package/fontes/lexador/simbolo.js +16 -16
  298. package/fontes/quebras/index.d.ts +10 -10
  299. package/fontes/quebras/index.js +19 -19
  300. package/fontes/tipos-de-simbolos/birl.d.ts +57 -57
  301. package/fontes/tipos-de-simbolos/birl.js +61 -61
  302. package/fontes/tipos-de-simbolos/comum.d.ts +22 -22
  303. package/fontes/tipos-de-simbolos/comum.js +23 -23
  304. package/fontes/tipos-de-simbolos/delegua.d.ts +80 -80
  305. package/fontes/tipos-de-simbolos/delegua.js +81 -81
  306. package/fontes/tipos-de-simbolos/egua-classico.d.ts +77 -77
  307. package/fontes/tipos-de-simbolos/egua-classico.js +78 -78
  308. package/fontes/tipos-de-simbolos/eguap.d.ts +73 -73
  309. package/fontes/tipos-de-simbolos/eguap.js +74 -74
  310. package/fontes/tipos-de-simbolos/guarani.d.ts +14 -14
  311. package/fontes/tipos-de-simbolos/guarani.js +15 -15
  312. package/fontes/tipos-de-simbolos/portugol-ipt.d.ts +28 -28
  313. package/fontes/tipos-de-simbolos/portugol-ipt.js +29 -29
  314. package/fontes/tipos-de-simbolos/portugol-studio.d.ts +53 -37
  315. package/fontes/tipos-de-simbolos/portugol-studio.js +54 -38
  316. package/fontes/tipos-de-simbolos/portugol-studio.js.map +1 -1
  317. package/fontes/tipos-de-simbolos/rantiaquin.d.ts +2 -2
  318. package/fontes/tipos-de-simbolos/rantiaquin.js +3 -3
  319. package/fontes/tipos-de-simbolos/visualg.d.ts +68 -68
  320. package/fontes/tipos-de-simbolos/visualg.js +69 -69
  321. package/fontes/tradutores/dicionarios/dicionario-delegua-javascript.d.ts +2 -2
  322. package/fontes/tradutores/dicionarios/dicionario-delegua-javascript.js +10 -10
  323. package/fontes/tradutores/dicionarios/index.d.ts +1 -1
  324. package/fontes/tradutores/dicionarios/index.js +17 -17
  325. package/fontes/tradutores/index.d.ts +2 -2
  326. package/fontes/tradutores/index.js +18 -18
  327. package/fontes/tradutores/python/python3-lexer.d.ts +152 -152
  328. package/fontes/tradutores/python/python3-lexer.js +1226 -1226
  329. package/fontes/tradutores/python/python3-listener.d.ts +953 -953
  330. package/fontes/tradutores/python/python3-listener.js +2 -2
  331. package/fontes/tradutores/python/python3-parser.d.ts +1330 -1330
  332. package/fontes/tradutores/python/python3-parser.js +11156 -11156
  333. package/fontes/tradutores/python/python3-visitor.d.ts +612 -612
  334. package/fontes/tradutores/python/python3-visitor.js +2 -2
  335. package/fontes/tradutores/tradutor-javascript.d.ts +83 -83
  336. package/fontes/tradutores/tradutor-javascript.js +470 -470
  337. package/fontes/tradutores/tradutor-javascript.js.map +1 -1
  338. package/fontes/tradutores/tradutor-python.d.ts +1 -1
  339. package/fontes/tradutores/tradutor-python.js +34 -34
  340. package/fontes/tradutores/tradutor-reverso-javascript.d.ts +47 -47
  341. package/fontes/tradutores/tradutor-reverso-javascript.js +342 -342
  342. package/index.d.ts +5 -5
  343. package/index.js +23 -23
  344. package/package.json +88 -88
@@ -1,15 +1,15 @@
1
- import { InterpretadorInterface, SimboloInterface } from '../interfaces';
2
- import { Construto } from './construto';
3
- /**
4
- * Definido como `Subscript` em Égua Clássico, esse construto serve para acessar índices de
5
- * vetores e dicionários.
6
- */
7
- export declare class AcessoIndiceVariavel implements Construto {
8
- linha: number;
9
- hashArquivo?: number;
10
- entidadeChamada: Construto;
11
- simboloFechamento: SimboloInterface;
12
- indice: any;
13
- constructor(hashArquivo: number, entidadeChamada: Construto, indice: any, simboloFechamento: SimboloInterface);
14
- aceitar(visitante: InterpretadorInterface): Promise<any>;
15
- }
1
+ import { InterpretadorInterface, SimboloInterface } from '../interfaces';
2
+ import { Construto } from './construto';
3
+ /**
4
+ * Definido como `Subscript` em Égua Clássico, esse construto serve para acessar índices de
5
+ * vetores e dicionários.
6
+ */
7
+ export declare class AcessoIndiceVariavel implements Construto {
8
+ linha: number;
9
+ hashArquivo?: number;
10
+ entidadeChamada: Construto;
11
+ simboloFechamento: SimboloInterface;
12
+ indice: any;
13
+ constructor(hashArquivo: number, entidadeChamada: Construto, indice: any, simboloFechamento: SimboloInterface);
14
+ aceitar(visitante: InterpretadorInterface): Promise<any>;
15
+ }
@@ -1,21 +1,21 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AcessoIndiceVariavel = void 0;
4
- /**
5
- * Definido como `Subscript` em Égua Clássico, esse construto serve para acessar índices de
6
- * vetores e dicionários.
7
- */
8
- class AcessoIndiceVariavel {
9
- constructor(hashArquivo, entidadeChamada, indice, simboloFechamento) {
10
- this.linha = entidadeChamada.linha;
11
- this.hashArquivo = hashArquivo;
12
- this.entidadeChamada = entidadeChamada;
13
- this.indice = indice;
14
- this.simboloFechamento = simboloFechamento;
15
- }
16
- async aceitar(visitante) {
17
- return await visitante.visitarExpressaoAcessoIndiceVariavel(this);
18
- }
19
- }
20
- exports.AcessoIndiceVariavel = AcessoIndiceVariavel;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AcessoIndiceVariavel = void 0;
4
+ /**
5
+ * Definido como `Subscript` em Égua Clássico, esse construto serve para acessar índices de
6
+ * vetores e dicionários.
7
+ */
8
+ class AcessoIndiceVariavel {
9
+ constructor(hashArquivo, entidadeChamada, indice, simboloFechamento) {
10
+ this.linha = entidadeChamada.linha;
11
+ this.hashArquivo = hashArquivo;
12
+ this.entidadeChamada = entidadeChamada;
13
+ this.indice = indice;
14
+ this.simboloFechamento = simboloFechamento;
15
+ }
16
+ async aceitar(visitante) {
17
+ return await visitante.visitarExpressaoAcessoIndiceVariavel(this);
18
+ }
19
+ }
20
+ exports.AcessoIndiceVariavel = AcessoIndiceVariavel;
21
21
  //# sourceMappingURL=acesso-indice-variavel.js.map
@@ -1,14 +1,14 @@
1
- import { InterpretadorInterface, SimboloInterface } from '../interfaces';
2
- import { Construto } from './construto';
3
- /**
4
- * Chamado de `Get` em Égua Clássico, é o construto de acesso a métodos ou membros de
5
- * classe.
6
- */
7
- export declare class AcessoMetodo implements Construto {
8
- linha: number;
9
- hashArquivo?: number;
10
- objeto: Construto;
11
- simbolo: SimboloInterface;
12
- constructor(hashArquivo: number, objeto: Construto, simbolo: SimboloInterface);
13
- aceitar(visitante: InterpretadorInterface): Promise<any>;
14
- }
1
+ import { InterpretadorInterface, SimboloInterface } from '../interfaces';
2
+ import { Construto } from './construto';
3
+ /**
4
+ * Chamado de `Get` em Égua Clássico, é o construto de acesso a métodos ou membros de
5
+ * classe.
6
+ */
7
+ export declare class AcessoMetodo implements Construto {
8
+ linha: number;
9
+ hashArquivo?: number;
10
+ objeto: Construto;
11
+ simbolo: SimboloInterface;
12
+ constructor(hashArquivo: number, objeto: Construto, simbolo: SimboloInterface);
13
+ aceitar(visitante: InterpretadorInterface): Promise<any>;
14
+ }
@@ -1,20 +1,20 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AcessoMetodo = void 0;
4
- /**
5
- * Chamado de `Get` em Égua Clássico, é o construto de acesso a métodos ou membros de
6
- * classe.
7
- */
8
- class AcessoMetodo {
9
- constructor(hashArquivo, objeto, simbolo) {
10
- this.linha = objeto.linha;
11
- this.hashArquivo = hashArquivo;
12
- this.objeto = objeto;
13
- this.simbolo = simbolo;
14
- }
15
- async aceitar(visitante) {
16
- return await visitante.visitarExpressaoAcessoMetodo(this);
17
- }
18
- }
19
- exports.AcessoMetodo = AcessoMetodo;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AcessoMetodo = void 0;
4
+ /**
5
+ * Chamado de `Get` em Égua Clássico, é o construto de acesso a métodos ou membros de
6
+ * classe.
7
+ */
8
+ class AcessoMetodo {
9
+ constructor(hashArquivo, objeto, simbolo) {
10
+ this.linha = objeto.linha;
11
+ this.hashArquivo = hashArquivo;
12
+ this.objeto = objeto;
13
+ this.simbolo = simbolo;
14
+ }
15
+ async aceitar(visitante) {
16
+ return await visitante.visitarExpressaoAcessoMetodo(this);
17
+ }
18
+ }
19
+ exports.AcessoMetodo = AcessoMetodo;
20
20
  //# sourceMappingURL=acesso-metodo.js.map
@@ -1,14 +1,14 @@
1
- import { InterpretadorInterface } from '../interfaces';
2
- import { Construto } from './construto';
3
- /**
4
- * Um agrupamento é essencialmente uma expressão qualquer dentro de parênteses.
5
- * Usado para resolver precedência de operadores. Por exemplo:
6
- * `(2 + 2) * 5`, `(2 + 2)` é um agrupamento cuja expressão é `2 + 2`.
7
- */
8
- export declare class Agrupamento implements Construto {
9
- linha: number;
10
- hashArquivo?: number;
11
- expressao: Construto;
12
- constructor(hashArquivo: number, linha: number, expressao: Construto);
13
- aceitar(visitante: InterpretadorInterface): Promise<any>;
14
- }
1
+ import { InterpretadorInterface } from '../interfaces';
2
+ import { Construto } from './construto';
3
+ /**
4
+ * Um agrupamento é essencialmente uma expressão qualquer dentro de parênteses.
5
+ * Usado para resolver precedência de operadores. Por exemplo:
6
+ * `(2 + 2) * 5`, `(2 + 2)` é um agrupamento cuja expressão é `2 + 2`.
7
+ */
8
+ export declare class Agrupamento implements Construto {
9
+ linha: number;
10
+ hashArquivo?: number;
11
+ expressao: Construto;
12
+ constructor(hashArquivo: number, linha: number, expressao: Construto);
13
+ aceitar(visitante: InterpretadorInterface): Promise<any>;
14
+ }
@@ -1,20 +1,20 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Agrupamento = void 0;
4
- /**
5
- * Um agrupamento é essencialmente uma expressão qualquer dentro de parênteses.
6
- * Usado para resolver precedência de operadores. Por exemplo:
7
- * `(2 + 2) * 5`, `(2 + 2)` é um agrupamento cuja expressão é `2 + 2`.
8
- */
9
- class Agrupamento {
10
- constructor(hashArquivo, linha, expressao) {
11
- this.linha = linha;
12
- this.hashArquivo = hashArquivo;
13
- this.expressao = expressao;
14
- }
15
- async aceitar(visitante) {
16
- return await visitante.visitarExpressaoAgrupamento(this);
17
- }
18
- }
19
- exports.Agrupamento = Agrupamento;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Agrupamento = void 0;
4
+ /**
5
+ * Um agrupamento é essencialmente uma expressão qualquer dentro de parênteses.
6
+ * Usado para resolver precedência de operadores. Por exemplo:
7
+ * `(2 + 2) * 5`, `(2 + 2)` é um agrupamento cuja expressão é `2 + 2`.
8
+ */
9
+ class Agrupamento {
10
+ constructor(hashArquivo, linha, expressao) {
11
+ this.linha = linha;
12
+ this.hashArquivo = hashArquivo;
13
+ this.expressao = expressao;
14
+ }
15
+ async aceitar(visitante) {
16
+ return await visitante.visitarExpressaoAgrupamento(this);
17
+ }
18
+ }
19
+ exports.Agrupamento = Agrupamento;
20
20
  //# sourceMappingURL=agrupamento.js.map
@@ -1,11 +1,11 @@
1
- import { InterpretadorInterface } from '../interfaces';
2
- import { Construto } from './construto';
3
- export declare class AtribuicaoSobrescrita implements Construto {
4
- linha: number;
5
- hashArquivo?: number;
6
- objeto: any;
7
- valor: any;
8
- indice: any;
9
- constructor(hashArquivo: number, linha: number, objeto: any, indice: any, valor: any);
10
- aceitar(visitante: InterpretadorInterface): Promise<any>;
11
- }
1
+ import { InterpretadorInterface } from '../interfaces';
2
+ import { Construto } from './construto';
3
+ export declare class AtribuicaoSobrescrita implements Construto {
4
+ linha: number;
5
+ hashArquivo?: number;
6
+ objeto: any;
7
+ valor: any;
8
+ indice: any;
9
+ constructor(hashArquivo: number, linha: number, objeto: any, indice: any, valor: any);
10
+ aceitar(visitante: InterpretadorInterface): Promise<any>;
11
+ }
@@ -1,17 +1,17 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AtribuicaoSobrescrita = void 0;
4
- class AtribuicaoSobrescrita {
5
- constructor(hashArquivo, linha, objeto, indice, valor) {
6
- this.linha = linha;
7
- this.hashArquivo = hashArquivo;
8
- this.objeto = objeto;
9
- this.indice = indice;
10
- this.valor = valor;
11
- }
12
- async aceitar(visitante) {
13
- return await visitante.visitarExpressaoAtribuicaoSobrescrita(this);
14
- }
15
- }
16
- exports.AtribuicaoSobrescrita = AtribuicaoSobrescrita;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AtribuicaoSobrescrita = void 0;
4
+ class AtribuicaoSobrescrita {
5
+ constructor(hashArquivo, linha, objeto, indice, valor) {
6
+ this.linha = linha;
7
+ this.hashArquivo = hashArquivo;
8
+ this.objeto = objeto;
9
+ this.indice = indice;
10
+ this.valor = valor;
11
+ }
12
+ async aceitar(visitante) {
13
+ return await visitante.visitarExpressaoAtribuicaoSobrescrita(this);
14
+ }
15
+ }
16
+ exports.AtribuicaoSobrescrita = AtribuicaoSobrescrita;
17
17
  //# sourceMappingURL=atribuicao-sobrescrita.js.map
@@ -1,10 +1,10 @@
1
- import { InterpretadorInterface, SimboloInterface } from '../interfaces';
2
- import { Construto } from './construto';
3
- export declare class Atribuir implements Construto {
4
- linha: number;
5
- hashArquivo?: number;
6
- simbolo: SimboloInterface;
7
- valor: any;
8
- constructor(hashArquivo: number, simbolo: SimboloInterface, valor: any);
9
- aceitar(visitante: InterpretadorInterface): Promise<any>;
10
- }
1
+ import { InterpretadorInterface, SimboloInterface } from '../interfaces';
2
+ import { Construto } from './construto';
3
+ export declare class Atribuir implements Construto {
4
+ linha: number;
5
+ hashArquivo?: number;
6
+ simbolo: SimboloInterface;
7
+ valor: any;
8
+ constructor(hashArquivo: number, simbolo: SimboloInterface, valor: any);
9
+ aceitar(visitante: InterpretadorInterface): Promise<any>;
10
+ }
@@ -1,16 +1,16 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Atribuir = void 0;
4
- class Atribuir {
5
- constructor(hashArquivo, simbolo, valor) {
6
- this.linha = Number(simbolo.linha);
7
- this.hashArquivo = hashArquivo;
8
- this.simbolo = simbolo;
9
- this.valor = valor;
10
- }
11
- async aceitar(visitante) {
12
- return await visitante.visitarDeclaracaoDeAtribuicao(this);
13
- }
14
- }
15
- exports.Atribuir = Atribuir;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Atribuir = void 0;
4
+ class Atribuir {
5
+ constructor(hashArquivo, simbolo, valor) {
6
+ this.linha = Number(simbolo.linha);
7
+ this.hashArquivo = hashArquivo;
8
+ this.simbolo = simbolo;
9
+ this.valor = valor;
10
+ }
11
+ async aceitar(visitante) {
12
+ return await visitante.visitarDeclaracaoDeAtribuicao(this);
13
+ }
14
+ }
15
+ exports.Atribuir = Atribuir;
16
16
  //# sourceMappingURL=atribuir.js.map
@@ -1,22 +1,22 @@
1
- import { InterpretadorInterface, SimboloInterface } from '../interfaces';
2
- import { Construto } from './construto';
3
- /**
4
- * Binário é uma estrutura com um operador e dois operandos: esquerda e direita.
5
- * Implementa as seguintes operações:
6
- *
7
- * - `+` (Adição) e `+=` (Adição com Atribuição)
8
- * - `-` (Subtração) e `-=` (Subtração com Atribuição)
9
- * - `*` (Multiplicação) e `*=` (Multiplicação com Atribuição)
10
- * - `/` (Divisão) e `/=` (Divisão com Atribuição)
11
- * - `%` (Módulo) e `%=` (Módulo com Atribuição)
12
- * - `**` (Exponenciação)
13
- */
14
- export declare class Binario implements Construto {
15
- linha: number;
16
- hashArquivo?: number;
17
- esquerda: any;
18
- operador: SimboloInterface;
19
- direita: any;
20
- constructor(hashArquivo: number, esquerda: any, operador: SimboloInterface, direita: any);
21
- aceitar(visitante: InterpretadorInterface): Promise<any>;
22
- }
1
+ import { InterpretadorInterface, SimboloInterface } from '../interfaces';
2
+ import { Construto } from './construto';
3
+ /**
4
+ * Binário é uma estrutura com um operador e dois operandos: esquerda e direita.
5
+ * Implementa as seguintes operações:
6
+ *
7
+ * - `+` (Adição) e `+=` (Adição com Atribuição)
8
+ * - `-` (Subtração) e `-=` (Subtração com Atribuição)
9
+ * - `*` (Multiplicação) e `*=` (Multiplicação com Atribuição)
10
+ * - `/` (Divisão) e `/=` (Divisão com Atribuição)
11
+ * - `%` (Módulo) e `%=` (Módulo com Atribuição)
12
+ * - `**` (Exponenciação)
13
+ */
14
+ export declare class Binario implements Construto {
15
+ linha: number;
16
+ hashArquivo?: number;
17
+ esquerda: any;
18
+ operador: SimboloInterface;
19
+ direita: any;
20
+ constructor(hashArquivo: number, esquerda: any, operador: SimboloInterface, direita: any);
21
+ aceitar(visitante: InterpretadorInterface): Promise<any>;
22
+ }
@@ -1,28 +1,28 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Binario = void 0;
4
- /**
5
- * Binário é uma estrutura com um operador e dois operandos: esquerda e direita.
6
- * Implementa as seguintes operações:
7
- *
8
- * - `+` (Adição) e `+=` (Adição com Atribuição)
9
- * - `-` (Subtração) e `-=` (Subtração com Atribuição)
10
- * - `*` (Multiplicação) e `*=` (Multiplicação com Atribuição)
11
- * - `/` (Divisão) e `/=` (Divisão com Atribuição)
12
- * - `%` (Módulo) e `%=` (Módulo com Atribuição)
13
- * - `**` (Exponenciação)
14
- */
15
- class Binario {
16
- constructor(hashArquivo, esquerda, operador, direita) {
17
- this.linha = esquerda.linha;
18
- this.hashArquivo = hashArquivo;
19
- this.esquerda = esquerda;
20
- this.operador = operador;
21
- this.direita = direita;
22
- }
23
- async aceitar(visitante) {
24
- return await visitante.visitarExpressaoBinaria(this);
25
- }
26
- }
27
- exports.Binario = Binario;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Binario = void 0;
4
+ /**
5
+ * Binário é uma estrutura com um operador e dois operandos: esquerda e direita.
6
+ * Implementa as seguintes operações:
7
+ *
8
+ * - `+` (Adição) e `+=` (Adição com Atribuição)
9
+ * - `-` (Subtração) e `-=` (Subtração com Atribuição)
10
+ * - `*` (Multiplicação) e `*=` (Multiplicação com Atribuição)
11
+ * - `/` (Divisão) e `/=` (Divisão com Atribuição)
12
+ * - `%` (Módulo) e `%=` (Módulo com Atribuição)
13
+ * - `**` (Exponenciação)
14
+ */
15
+ class Binario {
16
+ constructor(hashArquivo, esquerda, operador, direita) {
17
+ this.linha = esquerda.linha;
18
+ this.hashArquivo = hashArquivo;
19
+ this.esquerda = esquerda;
20
+ this.operador = operador;
21
+ this.direita = direita;
22
+ }
23
+ async aceitar(visitante) {
24
+ return await visitante.visitarExpressaoBinaria(this);
25
+ }
26
+ }
27
+ exports.Binario = Binario;
28
28
  //# sourceMappingURL=binario.js.map
@@ -1,13 +1,13 @@
1
- import { InterpretadorInterface } from '../interfaces';
2
- import { Construto } from './construto';
3
- export declare class Chamada implements Construto {
4
- id: string;
5
- linha: number;
6
- hashArquivo?: number;
7
- entidadeChamada: Construto;
8
- argumentos: any[];
9
- parentese: any;
10
- constructor(hashArquivo: number, entidadeChamada: Construto, parentese: any, argumentos: any[]);
11
- private uuidv4;
12
- aceitar(visitante: InterpretadorInterface): Promise<any>;
13
- }
1
+ import { InterpretadorInterface } from '../interfaces';
2
+ import { Construto } from './construto';
3
+ export declare class Chamada implements Construto {
4
+ id: string;
5
+ linha: number;
6
+ hashArquivo?: number;
7
+ entidadeChamada: Construto;
8
+ argumentos: any[];
9
+ parentese: any;
10
+ constructor(hashArquivo: number, entidadeChamada: Construto, parentese: any, argumentos: any[]);
11
+ private uuidv4;
12
+ aceitar(visitante: InterpretadorInterface): Promise<any>;
13
+ }
@@ -1,37 +1,37 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Chamada = void 0;
4
- class Chamada {
5
- constructor(hashArquivo, entidadeChamada, parentese, argumentos) {
6
- this.id = this.uuidv4();
7
- this.linha = entidadeChamada.linha;
8
- this.hashArquivo = hashArquivo;
9
- this.entidadeChamada = entidadeChamada;
10
- this.parentese = parentese;
11
- this.argumentos = argumentos;
12
- }
13
- uuidv4() {
14
- // Public Domain/MIT
15
- let d = new Date().getTime(); // Timestamp
16
- let d2 = (typeof performance !== 'undefined' && performance.now && performance.now() * 1000) || 0; // Time in microseconds since page-load or 0 if unsupported
17
- return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
18
- let r = Math.random() * 16; // random number between 0 and 16
19
- if (d > 0) {
20
- // Use timestamp until depleted
21
- r = (d + r) % 16 | 0;
22
- d = Math.floor(d / 16);
23
- }
24
- else {
25
- // Use microseconds since page-load if supported
26
- r = (d2 + r) % 16 | 0;
27
- d2 = Math.floor(d2 / 16);
28
- }
29
- return (c === 'x' ? r : (r & 0x3) | 0x8).toString(16);
30
- });
31
- }
32
- async aceitar(visitante) {
33
- return await visitante.visitarExpressaoDeChamada(this);
34
- }
35
- }
36
- exports.Chamada = Chamada;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Chamada = void 0;
4
+ class Chamada {
5
+ constructor(hashArquivo, entidadeChamada, parentese, argumentos) {
6
+ this.id = this.uuidv4();
7
+ this.linha = entidadeChamada.linha;
8
+ this.hashArquivo = hashArquivo;
9
+ this.entidadeChamada = entidadeChamada;
10
+ this.parentese = parentese;
11
+ this.argumentos = argumentos;
12
+ }
13
+ uuidv4() {
14
+ // Public Domain/MIT
15
+ let d = new Date().getTime(); // Timestamp
16
+ let d2 = (typeof performance !== 'undefined' && performance.now && performance.now() * 1000) || 0; // Time in microseconds since page-load or 0 if unsupported
17
+ return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
18
+ let r = Math.random() * 16; // random number between 0 and 16
19
+ if (d > 0) {
20
+ // Use timestamp until depleted
21
+ r = (d + r) % 16 | 0;
22
+ d = Math.floor(d / 16);
23
+ }
24
+ else {
25
+ // Use microseconds since page-load if supported
26
+ r = (d2 + r) % 16 | 0;
27
+ d2 = Math.floor(d2 / 16);
28
+ }
29
+ return (c === 'x' ? r : (r & 0x3) | 0x8).toString(16);
30
+ });
31
+ }
32
+ async aceitar(visitante) {
33
+ return await visitante.visitarExpressaoDeChamada(this);
34
+ }
35
+ }
36
+ exports.Chamada = Chamada;
37
37
  //# sourceMappingURL=chamada.js.map
@@ -1,7 +1,7 @@
1
- import { InterpretadorInterface } from '../interfaces';
2
- export interface Construto {
3
- linha: number;
4
- hashArquivo?: number;
5
- valor?: any;
6
- aceitar(visitante: InterpretadorInterface): Promise<any>;
7
- }
1
+ import { InterpretadorInterface } from '../interfaces';
2
+ export interface Construto {
3
+ linha: number;
4
+ hashArquivo?: number;
5
+ valor?: any;
6
+ aceitar(visitante: InterpretadorInterface): Promise<any>;
7
+ }
@@ -1,3 +1,3 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  //# sourceMappingURL=construto.js.map
@@ -1,11 +1,11 @@
1
- import { InterpretadorInterface } from '../interfaces';
2
- import { Construto } from './construto';
3
- export declare class DefinirValor implements Construto {
4
- linha: number;
5
- hashArquivo?: number;
6
- objeto: any;
7
- nome: any;
8
- valor: any;
9
- constructor(hashArquivo: number, linha: number, objeto: any, nome: any, valor: any);
10
- aceitar(visitante: InterpretadorInterface): Promise<any>;
11
- }
1
+ import { InterpretadorInterface } from '../interfaces';
2
+ import { Construto } from './construto';
3
+ export declare class DefinirValor implements Construto {
4
+ linha: number;
5
+ hashArquivo?: number;
6
+ objeto: any;
7
+ nome: any;
8
+ valor: any;
9
+ constructor(hashArquivo: number, linha: number, objeto: any, nome: any, valor: any);
10
+ aceitar(visitante: InterpretadorInterface): Promise<any>;
11
+ }
@@ -1,17 +1,17 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DefinirValor = void 0;
4
- class DefinirValor {
5
- constructor(hashArquivo, linha, objeto, nome, valor) {
6
- this.linha = linha;
7
- this.hashArquivo = hashArquivo;
8
- this.objeto = objeto;
9
- this.nome = nome;
10
- this.valor = valor;
11
- }
12
- async aceitar(visitante) {
13
- return await visitante.visitarExpressaoDefinirValor(this);
14
- }
15
- }
16
- exports.DefinirValor = DefinirValor;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DefinirValor = void 0;
4
+ class DefinirValor {
5
+ constructor(hashArquivo, linha, objeto, nome, valor) {
6
+ this.linha = linha;
7
+ this.hashArquivo = hashArquivo;
8
+ this.objeto = objeto;
9
+ this.nome = nome;
10
+ this.valor = valor;
11
+ }
12
+ async aceitar(visitante) {
13
+ return await visitante.visitarExpressaoDefinirValor(this);
14
+ }
15
+ }
16
+ exports.DefinirValor = DefinirValor;
17
17
  //# sourceMappingURL=definir-valor.js.map
@@ -1,10 +1,10 @@
1
- import { InterpretadorInterface } from '../interfaces';
2
- import { Construto } from './construto';
3
- export declare class Dicionario implements Construto {
4
- linha: number;
5
- hashArquivo?: number;
6
- chaves: any;
7
- valores: any;
8
- constructor(hashArquivo: number, linha: number, chaves: any, valores: any);
9
- aceitar(visitante: InterpretadorInterface): Promise<any>;
10
- }
1
+ import { InterpretadorInterface } from '../interfaces';
2
+ import { Construto } from './construto';
3
+ export declare class Dicionario implements Construto {
4
+ linha: number;
5
+ hashArquivo?: number;
6
+ chaves: any;
7
+ valores: any;
8
+ constructor(hashArquivo: number, linha: number, chaves: any, valores: any);
9
+ aceitar(visitante: InterpretadorInterface): Promise<any>;
10
+ }