@designliquido/delegua 0.15.2 → 0.15.4

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 (347) 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.d.ts +92 -92
  7. package/fontes/avaliador-sintatico/avaliador-sintatico.js +857 -857
  8. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-birl.d.ts +27 -27
  9. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-birl.js +319 -294
  10. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-birl.js.map +1 -1
  11. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.d.ts +69 -69
  12. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js +640 -640
  13. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-eguap.d.ts +84 -84
  14. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-eguap.js +714 -714
  15. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-guarani.d.ts +20 -20
  16. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-guarani.js +149 -149
  17. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-portugol-studio.d.ts +49 -49
  18. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-portugol-studio.js +419 -419
  19. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-visualg.d.ts +73 -73
  20. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-visualg.js +537 -534
  21. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-visualg.js.map +1 -1
  22. package/fontes/avaliador-sintatico/dialetos/index.d.ts +5 -5
  23. package/fontes/avaliador-sintatico/dialetos/index.js +21 -21
  24. package/fontes/avaliador-sintatico/erro-avaliador-sintatico.d.ts +5 -5
  25. package/fontes/avaliador-sintatico/erro-avaliador-sintatico.js +11 -11
  26. package/fontes/avaliador-sintatico/index.d.ts +2 -2
  27. package/fontes/avaliador-sintatico/index.js +18 -18
  28. package/fontes/avaliador-sintatico/retornos/index.d.ts +3 -3
  29. package/fontes/avaliador-sintatico/retornos/index.js +19 -19
  30. package/fontes/avaliador-sintatico/retornos/retorno-declaracao.d.ts +3 -3
  31. package/fontes/avaliador-sintatico/retornos/retorno-declaracao.js +2 -2
  32. package/fontes/avaliador-sintatico/retornos/retorno-primario.d.ts +3 -3
  33. package/fontes/avaliador-sintatico/retornos/retorno-primario.js +2 -2
  34. package/fontes/avaliador-sintatico/retornos/retorno-resolver-declaracao.d.ts +2 -2
  35. package/fontes/avaliador-sintatico/retornos/retorno-resolver-declaracao.js +2 -2
  36. package/fontes/bibliotecas/biblioteca-global.d.ts +3 -3
  37. package/fontes/bibliotecas/biblioteca-global.js +315 -315
  38. package/fontes/bibliotecas/dialetos/egua-classico/biblioteca-global.d.ts +1 -1
  39. package/fontes/bibliotecas/dialetos/egua-classico/biblioteca-global.js +230 -230
  40. package/fontes/bibliotecas/dialetos/egua-classico/index.d.ts +2 -2
  41. package/fontes/bibliotecas/dialetos/egua-classico/index.js +32 -32
  42. package/fontes/bibliotecas/dialetos/egua-classico/matematica.d.ts +1 -1
  43. package/fontes/bibliotecas/dialetos/egua-classico/matematica.js +478 -478
  44. package/fontes/bibliotecas/dialetos/egua-classico/tempo.d.ts +1 -1
  45. package/fontes/bibliotecas/dialetos/egua-classico/tempo.js +39 -39
  46. package/fontes/bibliotecas/dialetos/egua-classico/textos.d.ts +8 -8
  47. package/fontes/bibliotecas/dialetos/egua-classico/textos.js +201 -201
  48. package/fontes/bibliotecas/dialetos/visualg/caracteres.d.ts +3 -0
  49. package/fontes/bibliotecas/dialetos/visualg/caracteres.js +35 -0
  50. package/fontes/bibliotecas/dialetos/visualg/caracteres.js.map +1 -0
  51. package/fontes/bibliotecas/dialetos/visualg/index.d.ts +2 -0
  52. package/fontes/bibliotecas/dialetos/visualg/index.js +18 -0
  53. package/fontes/bibliotecas/dialetos/visualg/index.js.map +1 -1
  54. package/fontes/bibliotecas/dialetos/visualg/numerica.d.ts +3 -0
  55. package/fontes/bibliotecas/dialetos/visualg/numerica.js +65 -0
  56. package/fontes/bibliotecas/dialetos/visualg/numerica.js.map +1 -0
  57. package/fontes/bibliotecas/primitivas-texto.d.ts +11 -11
  58. package/fontes/bibliotecas/primitivas-texto.js +12 -12
  59. package/fontes/bibliotecas/primitivas-vetor.d.ts +15 -15
  60. package/fontes/bibliotecas/primitivas-vetor.js +33 -33
  61. package/fontes/construtos/acesso-indice-variavel.d.ts +15 -15
  62. package/fontes/construtos/acesso-indice-variavel.js +20 -20
  63. package/fontes/construtos/acesso-metodo.d.ts +14 -14
  64. package/fontes/construtos/acesso-metodo.js +19 -19
  65. package/fontes/construtos/agrupamento.d.ts +14 -14
  66. package/fontes/construtos/agrupamento.js +19 -19
  67. package/fontes/construtos/atribuicao-sobrescrita.d.ts +11 -11
  68. package/fontes/construtos/atribuicao-sobrescrita.js +16 -16
  69. package/fontes/construtos/atribuir.d.ts +10 -10
  70. package/fontes/construtos/atribuir.js +15 -15
  71. package/fontes/construtos/binario.d.ts +22 -22
  72. package/fontes/construtos/binario.js +27 -27
  73. package/fontes/construtos/chamada.d.ts +13 -13
  74. package/fontes/construtos/chamada.js +36 -36
  75. package/fontes/construtos/construto.d.ts +7 -7
  76. package/fontes/construtos/construto.js +2 -2
  77. package/fontes/construtos/definir-valor.d.ts +11 -11
  78. package/fontes/construtos/definir-valor.js +16 -16
  79. package/fontes/construtos/dicionario.d.ts +10 -10
  80. package/fontes/construtos/dicionario.js +15 -15
  81. package/fontes/construtos/formatacao-escrita.d.ts +16 -16
  82. package/fontes/construtos/formatacao-escrita.js +21 -21
  83. package/fontes/construtos/funcao.d.ts +10 -10
  84. package/fontes/construtos/funcao.js +15 -15
  85. package/fontes/construtos/index.d.ts +19 -19
  86. package/fontes/construtos/index.js +35 -35
  87. package/fontes/construtos/isto.d.ts +9 -9
  88. package/fontes/construtos/isto.js +14 -14
  89. package/fontes/construtos/literal.d.ts +10 -10
  90. package/fontes/construtos/literal.js +14 -14
  91. package/fontes/construtos/logico.d.ts +11 -11
  92. package/fontes/construtos/logico.js +16 -16
  93. package/fontes/construtos/super.d.ts +10 -10
  94. package/fontes/construtos/super.js +15 -15
  95. package/fontes/construtos/unario.d.ts +11 -11
  96. package/fontes/construtos/unario.js +16 -16
  97. package/fontes/construtos/variavel.d.ts +9 -9
  98. package/fontes/construtos/variavel.js +14 -14
  99. package/fontes/construtos/vetor.d.ts +9 -9
  100. package/fontes/construtos/vetor.js +14 -14
  101. package/fontes/declaracoes/bloco.d.ts +7 -7
  102. package/fontes/declaracoes/bloco.js +14 -14
  103. package/fontes/declaracoes/classe.d.ts +9 -9
  104. package/fontes/declaracoes/classe.js +16 -16
  105. package/fontes/declaracoes/continua.d.ts +6 -6
  106. package/fontes/declaracoes/continua.js +13 -13
  107. package/fontes/declaracoes/declaracao.d.ts +8 -8
  108. package/fontes/declaracoes/declaracao.js +17 -17
  109. package/fontes/declaracoes/enquanto.d.ts +9 -9
  110. package/fontes/declaracoes/enquanto.js +15 -15
  111. package/fontes/declaracoes/escolha.d.ts +14 -14
  112. package/fontes/declaracoes/escolha.js +19 -19
  113. package/fontes/declaracoes/escreva-mesma-linha.d.ts +8 -8
  114. package/fontes/declaracoes/escreva-mesma-linha.js +14 -14
  115. package/fontes/declaracoes/escreva.d.ts +8 -8
  116. package/fontes/declaracoes/escreva.js +14 -14
  117. package/fontes/declaracoes/expressao.d.ts +8 -8
  118. package/fontes/declaracoes/expressao.js +14 -14
  119. package/fontes/declaracoes/fazer.d.ts +8 -8
  120. package/fontes/declaracoes/fazer.js +15 -15
  121. package/fontes/declaracoes/funcao.d.ts +9 -9
  122. package/fontes/declaracoes/funcao.js +15 -15
  123. package/fontes/declaracoes/importar.d.ts +9 -9
  124. package/fontes/declaracoes/importar.js +15 -15
  125. package/fontes/declaracoes/index.d.ts +19 -19
  126. package/fontes/declaracoes/index.js +35 -35
  127. package/fontes/declaracoes/leia.d.ts +12 -12
  128. package/fontes/declaracoes/leia.js +18 -18
  129. package/fontes/declaracoes/para.d.ts +10 -10
  130. package/fontes/declaracoes/para.js +17 -17
  131. package/fontes/declaracoes/retorna.d.ts +8 -8
  132. package/fontes/declaracoes/retorna.js +15 -15
  133. package/fontes/declaracoes/se.d.ts +11 -11
  134. package/fontes/declaracoes/se.js +17 -17
  135. package/fontes/declaracoes/sustar.d.ts +6 -6
  136. package/fontes/declaracoes/sustar.js +13 -13
  137. package/fontes/declaracoes/tente.d.ts +14 -14
  138. package/fontes/declaracoes/tente.js +20 -20
  139. package/fontes/declaracoes/var.d.ts +9 -9
  140. package/fontes/declaracoes/var.js +15 -15
  141. package/fontes/depuracao/cyrb53.d.ts +9 -9
  142. package/fontes/depuracao/cyrb53.js +22 -22
  143. package/fontes/depuracao/index.d.ts +2 -2
  144. package/fontes/depuracao/index.js +23 -23
  145. package/fontes/depuracao/ponto-parada.d.ts +4 -4
  146. package/fontes/depuracao/ponto-parada.js +2 -2
  147. package/fontes/espaco-variaveis.d.ts +19 -19
  148. package/fontes/espaco-variaveis.js +19 -19
  149. package/fontes/estruturas/chamavel.d.ts +5 -5
  150. package/fontes/estruturas/chamavel.js +12 -12
  151. package/fontes/estruturas/classe-padrao.d.ts +17 -17
  152. package/fontes/estruturas/classe-padrao.js +28 -28
  153. package/fontes/estruturas/delegua-classe.d.ts +16 -16
  154. package/fontes/estruturas/delegua-classe.js +38 -38
  155. package/fontes/estruturas/delegua-funcao.d.ts +18 -18
  156. package/fontes/estruturas/delegua-funcao.js +60 -60
  157. package/fontes/estruturas/funcao-padrao.d.ts +12 -12
  158. package/fontes/estruturas/funcao-padrao.js +22 -22
  159. package/fontes/estruturas/index.d.ts +9 -9
  160. package/fontes/estruturas/index.js +25 -25
  161. package/fontes/estruturas/metodo-primitiva.d.ts +17 -17
  162. package/fontes/estruturas/metodo-primitiva.js +26 -26
  163. package/fontes/estruturas/modulo.d.ts +9 -9
  164. package/fontes/estruturas/modulo.js +13 -13
  165. package/fontes/estruturas/objeto-delegua-classe.d.ts +10 -10
  166. package/fontes/estruturas/objeto-delegua-classe.js +26 -26
  167. package/fontes/estruturas/objeto-padrao.d.ts +9 -9
  168. package/fontes/estruturas/objeto-padrao.js +21 -21
  169. package/fontes/excecoes/erro-em-tempo-de-execucao.d.ts +7 -7
  170. package/fontes/excecoes/erro-em-tempo-de-execucao.js +13 -13
  171. package/fontes/excecoes/index.d.ts +1 -1
  172. package/fontes/excecoes/index.js +17 -17
  173. package/fontes/formatadores/delegua.d.ts +18 -18
  174. package/fontes/formatadores/delegua.js +82 -82
  175. package/fontes/formatadores/index.d.ts +1 -1
  176. package/fontes/formatadores/index.js +17 -17
  177. package/fontes/interfaces/avaliador-sintatico-interface.d.ts +57 -57
  178. package/fontes/interfaces/avaliador-sintatico-interface.js +2 -2
  179. package/fontes/interfaces/construtos/index.d.ts +4 -4
  180. package/fontes/interfaces/construtos/index.js +2 -2
  181. package/fontes/interfaces/escopo-execucao.d.ts +11 -11
  182. package/fontes/interfaces/escopo-execucao.js +2 -2
  183. package/fontes/interfaces/index.d.ts +11 -11
  184. package/fontes/interfaces/index.js +27 -27
  185. package/fontes/interfaces/interpretador-com-depuracao-interface.d.ts +17 -17
  186. package/fontes/interfaces/interpretador-com-depuracao-interface.js +2 -2
  187. package/fontes/interfaces/interpretador-interface.d.ts +55 -55
  188. package/fontes/interfaces/interpretador-interface.js +2 -2
  189. package/fontes/interfaces/lexador-interface.d.ts +23 -23
  190. package/fontes/interfaces/lexador-interface.js +2 -2
  191. package/fontes/interfaces/parametro-interface.d.ts +6 -6
  192. package/fontes/interfaces/parametro-interface.js +2 -2
  193. package/fontes/interfaces/pilha-escopos-execucao-interface.d.ts +25 -25
  194. package/fontes/interfaces/pilha-escopos-execucao-interface.js +2 -2
  195. package/fontes/interfaces/pilha-interface.d.ts +7 -7
  196. package/fontes/interfaces/pilha-interface.js +2 -2
  197. package/fontes/interfaces/resolvedor-interface.d.ts +41 -41
  198. package/fontes/interfaces/resolvedor-interface.js +2 -2
  199. package/fontes/interfaces/retornos/index.d.ts +4 -4
  200. package/fontes/interfaces/retornos/index.js +20 -20
  201. package/fontes/interfaces/retornos/retorno-avaliador-sintatico.d.ts +6 -6
  202. package/fontes/interfaces/retornos/retorno-avaliador-sintatico.js +2 -2
  203. package/fontes/interfaces/retornos/retorno-execucao-interface.d.ts +5 -5
  204. package/fontes/interfaces/retornos/retorno-execucao-interface.js +2 -2
  205. package/fontes/interfaces/retornos/retorno-interpretador.d.ts +5 -5
  206. package/fontes/interfaces/retornos/retorno-interpretador.js +2 -2
  207. package/fontes/interfaces/retornos/retorno-lexador.d.ts +10 -10
  208. package/fontes/interfaces/retornos/retorno-lexador.js +2 -2
  209. package/fontes/interfaces/simbolo-interface.d.ts +7 -7
  210. package/fontes/interfaces/simbolo-interface.js +2 -2
  211. package/fontes/interfaces/tradutor-interface.d.ts +4 -4
  212. package/fontes/interfaces/tradutor-interface.js +2 -2
  213. package/fontes/interfaces/variavel-interface.d.ts +4 -4
  214. package/fontes/interfaces/variavel-interface.js +2 -2
  215. package/fontes/interpretador/dialetos/egua-classico/index.d.ts +1 -1
  216. package/fontes/interpretador/dialetos/egua-classico/index.js +17 -17
  217. package/fontes/interpretador/dialetos/egua-classico/interpretador-egua-classico.d.ts +99 -99
  218. package/fontes/interpretador/dialetos/egua-classico/interpretador-egua-classico.js +743 -743
  219. package/fontes/interpretador/dialetos/egua-classico/resolvedor/erro-resolvedor.d.ts +5 -5
  220. package/fontes/interpretador/dialetos/egua-classico/resolvedor/erro-resolvedor.js +11 -11
  221. package/fontes/interpretador/dialetos/egua-classico/resolvedor/index.d.ts +3 -3
  222. package/fontes/interpretador/dialetos/egua-classico/resolvedor/index.js +19 -19
  223. package/fontes/interpretador/dialetos/egua-classico/resolvedor/pilha-escopos.d.ts +9 -9
  224. package/fontes/interpretador/dialetos/egua-classico/resolvedor/pilha-escopos.js +25 -25
  225. package/fontes/interpretador/dialetos/egua-classico/resolvedor/resolvedor.d.ts +87 -87
  226. package/fontes/interpretador/dialetos/egua-classico/resolvedor/resolvedor.js +387 -387
  227. package/fontes/interpretador/dialetos/egua-classico/resolvedor/retorno-resolvedor.d.ts +6 -6
  228. package/fontes/interpretador/dialetos/egua-classico/resolvedor/retorno-resolvedor.js +2 -2
  229. package/fontes/interpretador/dialetos/index.d.ts +4 -4
  230. package/fontes/interpretador/dialetos/index.js +20 -20
  231. package/fontes/interpretador/dialetos/portugol-studio/interpretador-portugol-studio.d.ts +12 -12
  232. package/fontes/interpretador/dialetos/portugol-studio/interpretador-portugol-studio.js +26 -26
  233. package/fontes/interpretador/dialetos/visualg/interpretador-visualg-com-depuracao.d.ts +43 -40
  234. package/fontes/interpretador/dialetos/visualg/interpretador-visualg-com-depuracao.js +102 -96
  235. package/fontes/interpretador/dialetos/visualg/interpretador-visualg-com-depuracao.js.map +1 -1
  236. package/fontes/interpretador/dialetos/visualg/interpretador-visualg.d.ts +53 -46
  237. package/fontes/interpretador/dialetos/visualg/interpretador-visualg.js +194 -102
  238. package/fontes/interpretador/dialetos/visualg/interpretador-visualg.js.map +1 -1
  239. package/fontes/interpretador/erro-interpretador.d.ts +8 -8
  240. package/fontes/interpretador/erro-interpretador.js +2 -2
  241. package/fontes/interpretador/index.d.ts +4 -4
  242. package/fontes/interpretador/index.js +20 -20
  243. package/fontes/interpretador/inferenciador.d.ts +1 -1
  244. package/fontes/interpretador/inferenciador.js +31 -31
  245. package/fontes/interpretador/interpretador-base.d.ts +186 -186
  246. package/fontes/interpretador/interpretador-base.js +1001 -1001
  247. package/fontes/interpretador/interpretador-com-depuracao.d.ts +199 -199
  248. package/fontes/interpretador/interpretador-com-depuracao.js +516 -516
  249. package/fontes/interpretador/pilha-escopos-execucao.d.ts +38 -38
  250. package/fontes/interpretador/pilha-escopos-execucao.js +158 -158
  251. package/fontes/lexador/dialetos/index.d.ts +6 -6
  252. package/fontes/lexador/dialetos/index.js +22 -22
  253. package/fontes/lexador/dialetos/lexador-birl.d.ts +12 -12
  254. package/fontes/lexador/dialetos/lexador-birl.js +211 -211
  255. package/fontes/lexador/dialetos/lexador-egua-classico.d.ts +36 -36
  256. package/fontes/lexador/dialetos/lexador-egua-classico.js +286 -286
  257. package/fontes/lexador/dialetos/lexador-eguap.d.ts +51 -51
  258. package/fontes/lexador/dialetos/lexador-eguap.js +398 -398
  259. package/fontes/lexador/dialetos/lexador-guarani.d.ts +9 -9
  260. package/fontes/lexador/dialetos/lexador-guarani.js +113 -113
  261. package/fontes/lexador/dialetos/lexador-portugol-ipt.d.ts +33 -33
  262. package/fontes/lexador/dialetos/lexador-portugol-ipt.js +195 -195
  263. package/fontes/lexador/dialetos/lexador-portugol-studio.d.ts +21 -21
  264. package/fontes/lexador/dialetos/lexador-portugol-studio.js +280 -280
  265. package/fontes/lexador/dialetos/lexador-visualg.d.ts +18 -18
  266. package/fontes/lexador/dialetos/lexador-visualg.js +218 -218
  267. package/fontes/lexador/dialetos/palavras-reservadas/birl.d.ts +46 -46
  268. package/fontes/lexador/dialetos/palavras-reservadas/birl.js +63 -63
  269. package/fontes/lexador/dialetos/palavras-reservadas/egua-classico.d.ts +36 -36
  270. package/fontes/lexador/dialetos/palavras-reservadas/egua-classico.js +41 -41
  271. package/fontes/lexador/dialetos/palavras-reservadas/guarani.d.ts +4 -4
  272. package/fontes/lexador/dialetos/palavras-reservadas/guarani.js +9 -9
  273. package/fontes/lexador/dialetos/palavras-reservadas/index.d.ts +3 -3
  274. package/fontes/lexador/dialetos/palavras-reservadas/index.js +19 -19
  275. package/fontes/lexador/dialetos/palavras-reservadas/portugol-ipt.d.ts +6 -6
  276. package/fontes/lexador/dialetos/palavras-reservadas/portugol-ipt.js +11 -11
  277. package/fontes/lexador/dialetos/palavras-reservadas/portugol-studio.d.ts +23 -23
  278. package/fontes/lexador/dialetos/palavras-reservadas/portugol-studio.js +28 -28
  279. package/fontes/lexador/dialetos/palavras-reservadas/rantiaquin.d.ts +2 -2
  280. package/fontes/lexador/dialetos/palavras-reservadas/rantiaquin.js +3 -3
  281. package/fontes/lexador/dialetos/palavras-reservadas/visualg.d.ts +60 -60
  282. package/fontes/lexador/dialetos/palavras-reservadas/visualg.js +65 -65
  283. package/fontes/lexador/dialetos/pragma.d.ts +8 -8
  284. package/fontes/lexador/dialetos/pragma.js +2 -2
  285. package/fontes/lexador/erro-lexador.d.ts +5 -5
  286. package/fontes/lexador/erro-lexador.js +2 -2
  287. package/fontes/lexador/index.d.ts +2 -2
  288. package/fontes/lexador/index.js +18 -18
  289. package/fontes/lexador/lexador-base-linha-unica.d.ts +28 -28
  290. package/fontes/lexador/lexador-base-linha-unica.js +82 -82
  291. package/fontes/lexador/lexador-base.d.ts +41 -41
  292. package/fontes/lexador/lexador-base.js +112 -112
  293. package/fontes/lexador/lexador.d.ts +43 -43
  294. package/fontes/lexador/lexador.js +412 -412
  295. package/fontes/lexador/palavras-reservadas.d.ts +36 -36
  296. package/fontes/lexador/palavras-reservadas.js +41 -41
  297. package/fontes/lexador/simbolo.d.ts +10 -10
  298. package/fontes/lexador/simbolo.js +16 -16
  299. package/fontes/quebras/index.d.ts +10 -10
  300. package/fontes/quebras/index.js +19 -19
  301. package/fontes/tipos-de-simbolos/birl.d.ts +71 -71
  302. package/fontes/tipos-de-simbolos/birl.js +78 -78
  303. package/fontes/tipos-de-simbolos/comum.d.ts +22 -22
  304. package/fontes/tipos-de-simbolos/comum.js +23 -23
  305. package/fontes/tipos-de-simbolos/delegua.d.ts +80 -80
  306. package/fontes/tipos-de-simbolos/delegua.js +81 -81
  307. package/fontes/tipos-de-simbolos/egua-classico.d.ts +77 -77
  308. package/fontes/tipos-de-simbolos/egua-classico.js +78 -78
  309. package/fontes/tipos-de-simbolos/eguap.d.ts +73 -73
  310. package/fontes/tipos-de-simbolos/eguap.js +74 -74
  311. package/fontes/tipos-de-simbolos/guarani.d.ts +14 -14
  312. package/fontes/tipos-de-simbolos/guarani.js +15 -15
  313. package/fontes/tipos-de-simbolos/portugol-ipt.d.ts +28 -28
  314. package/fontes/tipos-de-simbolos/portugol-ipt.js +29 -29
  315. package/fontes/tipos-de-simbolos/portugol-studio.d.ts +53 -53
  316. package/fontes/tipos-de-simbolos/portugol-studio.js +54 -54
  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-python.d.ts +1 -1
  338. package/fontes/tradutores/tradutor-python.js +34 -34
  339. package/fontes/tradutores/tradutor-reverso-javascript.d.ts +47 -47
  340. package/fontes/tradutores/tradutor-reverso-javascript.js +339 -342
  341. package/fontes/tradutores/tradutor-reverso-javascript.js.map +1 -1
  342. package/fontes/tradutores/tradutor-visualg.d.ts +38 -0
  343. package/fontes/tradutores/tradutor-visualg.js +485 -0
  344. package/fontes/tradutores/tradutor-visualg.js.map +1 -0
  345. package/index.d.ts +5 -5
  346. package/index.js +23 -23
  347. package/package.json +88 -88
@@ -1,612 +1,612 @@
1
- import { ParseTreeVisitor } from 'antlr4ts/tree/ParseTreeVisitor';
2
- import { Single_inputContext } from './python3-parser';
3
- import { File_inputContext } from './python3-parser';
4
- import { Eval_inputContext } from './python3-parser';
5
- import { DecoratorContext } from './python3-parser';
6
- import { DecoratorsContext } from './python3-parser';
7
- import { DecoratedContext } from './python3-parser';
8
- import { Async_funcdefContext } from './python3-parser';
9
- import { FuncdefContext } from './python3-parser';
10
- import { ParametersContext } from './python3-parser';
11
- import { TypedargslistContext } from './python3-parser';
12
- import { TfpdefContext } from './python3-parser';
13
- import { VarargslistContext } from './python3-parser';
14
- import { VfpdefContext } from './python3-parser';
15
- import { StmtContext } from './python3-parser';
16
- import { Simple_stmtContext } from './python3-parser';
17
- import { Small_stmtContext } from './python3-parser';
18
- import { Expr_stmtContext } from './python3-parser';
19
- import { AnnassignContext } from './python3-parser';
20
- import { Testlist_star_exprContext } from './python3-parser';
21
- import { AugassignContext } from './python3-parser';
22
- import { Del_stmtContext } from './python3-parser';
23
- import { Pass_stmtContext } from './python3-parser';
24
- import { Flow_stmtContext } from './python3-parser';
25
- import { Break_stmtContext } from './python3-parser';
26
- import { Continue_stmtContext } from './python3-parser';
27
- import { Return_stmtContext } from './python3-parser';
28
- import { Yield_stmtContext } from './python3-parser';
29
- import { Raise_stmtContext } from './python3-parser';
30
- import { Import_stmtContext } from './python3-parser';
31
- import { Import_nameContext } from './python3-parser';
32
- import { Import_fromContext } from './python3-parser';
33
- import { Import_as_nameContext } from './python3-parser';
34
- import { Dotted_as_nameContext } from './python3-parser';
35
- import { Import_as_namesContext } from './python3-parser';
36
- import { Dotted_as_namesContext } from './python3-parser';
37
- import { Dotted_nameContext } from './python3-parser';
38
- import { Global_stmtContext } from './python3-parser';
39
- import { Nonlocal_stmtContext } from './python3-parser';
40
- import { Assert_stmtContext } from './python3-parser';
41
- import { Compound_stmtContext } from './python3-parser';
42
- import { Async_stmtContext } from './python3-parser';
43
- import { If_stmtContext } from './python3-parser';
44
- import { While_stmtContext } from './python3-parser';
45
- import { For_stmtContext } from './python3-parser';
46
- import { Try_stmtContext } from './python3-parser';
47
- import { With_stmtContext } from './python3-parser';
48
- import { With_itemContext } from './python3-parser';
49
- import { Except_clauseContext } from './python3-parser';
50
- import { SuiteContext } from './python3-parser';
51
- import { TestContext } from './python3-parser';
52
- import { Test_nocondContext } from './python3-parser';
53
- import { LambdefContext } from './python3-parser';
54
- import { Lambdef_nocondContext } from './python3-parser';
55
- import { Or_testContext } from './python3-parser';
56
- import { And_testContext } from './python3-parser';
57
- import { Not_testContext } from './python3-parser';
58
- import { ComparisonContext } from './python3-parser';
59
- import { Comp_opContext } from './python3-parser';
60
- import { Star_exprContext } from './python3-parser';
61
- import { ExprContext } from './python3-parser';
62
- import { Xor_exprContext } from './python3-parser';
63
- import { And_exprContext } from './python3-parser';
64
- import { Shift_exprContext } from './python3-parser';
65
- import { Arith_exprContext } from './python3-parser';
66
- import { TermContext } from './python3-parser';
67
- import { FactorContext } from './python3-parser';
68
- import { PowerContext } from './python3-parser';
69
- import { Atom_exprContext } from './python3-parser';
70
- import { AtomContext } from './python3-parser';
71
- import { Testlist_compContext } from './python3-parser';
72
- import { TrailerContext } from './python3-parser';
73
- import { SubscriptlistContext } from './python3-parser';
74
- import { SubscriptContext } from './python3-parser';
75
- import { SliceopContext } from './python3-parser';
76
- import { ExprlistContext } from './python3-parser';
77
- import { TestlistContext } from './python3-parser';
78
- import { DictorsetmakerContext } from './python3-parser';
79
- import { ClassdefContext } from './python3-parser';
80
- import { ArglistContext } from './python3-parser';
81
- import { ArgumentContext } from './python3-parser';
82
- import { Comp_iterContext } from './python3-parser';
83
- import { Comp_forContext } from './python3-parser';
84
- import { Comp_ifContext } from './python3-parser';
85
- import { Encoding_declContext } from './python3-parser';
86
- import { Yield_exprContext } from './python3-parser';
87
- import { Yield_argContext } from './python3-parser';
88
- /**
89
- * This interface defines a complete generic visitor for a parse tree produced
90
- * by `python3-parser`.
91
- *
92
- * @param <Result> The return type of the visit operation. Use `void` for
93
- * operations with no return type.
94
- */
95
- export interface Python3Visitor<Result> extends ParseTreeVisitor<Result> {
96
- /**
97
- * Visit a parse tree produced by `python3-parser.single_input`.
98
- * @param ctx the parse tree
99
- * @return the visitor result
100
- */
101
- visitSingle_input?: (ctx: Single_inputContext) => Result;
102
- /**
103
- * Visit a parse tree produced by `python3-parser.file_input`.
104
- * @param ctx the parse tree
105
- * @return the visitor result
106
- */
107
- visitFile_input?: (ctx: File_inputContext) => Result;
108
- /**
109
- * Visit a parse tree produced by `python3-parser.eval_input`.
110
- * @param ctx the parse tree
111
- * @return the visitor result
112
- */
113
- visitEval_input?: (ctx: Eval_inputContext) => Result;
114
- /**
115
- * Visit a parse tree produced by `python3-parser.decorator`.
116
- * @param ctx the parse tree
117
- * @return the visitor result
118
- */
119
- visitDecorator?: (ctx: DecoratorContext) => Result;
120
- /**
121
- * Visit a parse tree produced by `python3-parser.decorators`.
122
- * @param ctx the parse tree
123
- * @return the visitor result
124
- */
125
- visitDecorators?: (ctx: DecoratorsContext) => Result;
126
- /**
127
- * Visit a parse tree produced by `python3-parser.decorated`.
128
- * @param ctx the parse tree
129
- * @return the visitor result
130
- */
131
- visitDecorated?: (ctx: DecoratedContext) => Result;
132
- /**
133
- * Visit a parse tree produced by `python3-parser.async_funcdef`.
134
- * @param ctx the parse tree
135
- * @return the visitor result
136
- */
137
- visitAsync_funcdef?: (ctx: Async_funcdefContext) => Result;
138
- /**
139
- * Visit a parse tree produced by `python3-parser.funcdef`.
140
- * @param ctx the parse tree
141
- * @return the visitor result
142
- */
143
- visitFuncdef?: (ctx: FuncdefContext) => Result;
144
- /**
145
- * Visit a parse tree produced by `python3-parser.parameters`.
146
- * @param ctx the parse tree
147
- * @return the visitor result
148
- */
149
- visitParameters?: (ctx: ParametersContext) => Result;
150
- /**
151
- * Visit a parse tree produced by `python3-parser.typedargslist`.
152
- * @param ctx the parse tree
153
- * @return the visitor result
154
- */
155
- visitTypedargslist?: (ctx: TypedargslistContext) => Result;
156
- /**
157
- * Visit a parse tree produced by `python3-parser.tfpdef`.
158
- * @param ctx the parse tree
159
- * @return the visitor result
160
- */
161
- visitTfpdef?: (ctx: TfpdefContext) => Result;
162
- /**
163
- * Visit a parse tree produced by `python3-parser.varargslist`.
164
- * @param ctx the parse tree
165
- * @return the visitor result
166
- */
167
- visitVarargslist?: (ctx: VarargslistContext) => Result;
168
- /**
169
- * Visit a parse tree produced by `python3-parser.vfpdef`.
170
- * @param ctx the parse tree
171
- * @return the visitor result
172
- */
173
- visitVfpdef?: (ctx: VfpdefContext) => Result;
174
- /**
175
- * Visit a parse tree produced by `python3-parser.stmt`.
176
- * @param ctx the parse tree
177
- * @return the visitor result
178
- */
179
- visitStmt?: (ctx: StmtContext) => Result;
180
- /**
181
- * Visit a parse tree produced by `python3-parser.simple_stmt`.
182
- * @param ctx the parse tree
183
- * @return the visitor result
184
- */
185
- visitSimple_stmt?: (ctx: Simple_stmtContext) => Result;
186
- /**
187
- * Visit a parse tree produced by `python3-parser.small_stmt`.
188
- * @param ctx the parse tree
189
- * @return the visitor result
190
- */
191
- visitSmall_stmt?: (ctx: Small_stmtContext) => Result;
192
- /**
193
- * Visit a parse tree produced by `python3-parser.expr_stmt`.
194
- * @param ctx the parse tree
195
- * @return the visitor result
196
- */
197
- visitExpr_stmt?: (ctx: Expr_stmtContext) => Result;
198
- /**
199
- * Visit a parse tree produced by `python3-parser.annassign`.
200
- * @param ctx the parse tree
201
- * @return the visitor result
202
- */
203
- visitAnnassign?: (ctx: AnnassignContext) => Result;
204
- /**
205
- * Visit a parse tree produced by `python3-parser.testlist_star_expr`.
206
- * @param ctx the parse tree
207
- * @return the visitor result
208
- */
209
- visitTestlist_star_expr?: (ctx: Testlist_star_exprContext) => Result;
210
- /**
211
- * Visit a parse tree produced by `python3-parser.augassign`.
212
- * @param ctx the parse tree
213
- * @return the visitor result
214
- */
215
- visitAugassign?: (ctx: AugassignContext) => Result;
216
- /**
217
- * Visit a parse tree produced by `python3-parser.del_stmt`.
218
- * @param ctx the parse tree
219
- * @return the visitor result
220
- */
221
- visitDel_stmt?: (ctx: Del_stmtContext) => Result;
222
- /**
223
- * Visit a parse tree produced by `python3-parser.pass_stmt`.
224
- * @param ctx the parse tree
225
- * @return the visitor result
226
- */
227
- visitPass_stmt?: (ctx: Pass_stmtContext) => Result;
228
- /**
229
- * Visit a parse tree produced by `python3-parser.flow_stmt`.
230
- * @param ctx the parse tree
231
- * @return the visitor result
232
- */
233
- visitFlow_stmt?: (ctx: Flow_stmtContext) => Result;
234
- /**
235
- * Visit a parse tree produced by `python3-parser.break_stmt`.
236
- * @param ctx the parse tree
237
- * @return the visitor result
238
- */
239
- visitBreak_stmt?: (ctx: Break_stmtContext) => Result;
240
- /**
241
- * Visit a parse tree produced by `python3-parser.continue_stmt`.
242
- * @param ctx the parse tree
243
- * @return the visitor result
244
- */
245
- visitContinue_stmt?: (ctx: Continue_stmtContext) => Result;
246
- /**
247
- * Visit a parse tree produced by `python3-parser.return_stmt`.
248
- * @param ctx the parse tree
249
- * @return the visitor result
250
- */
251
- visitReturn_stmt?: (ctx: Return_stmtContext) => Result;
252
- /**
253
- * Visit a parse tree produced by `python3-parser.yield_stmt`.
254
- * @param ctx the parse tree
255
- * @return the visitor result
256
- */
257
- visitYield_stmt?: (ctx: Yield_stmtContext) => Result;
258
- /**
259
- * Visit a parse tree produced by `python3-parser.raise_stmt`.
260
- * @param ctx the parse tree
261
- * @return the visitor result
262
- */
263
- visitRaise_stmt?: (ctx: Raise_stmtContext) => Result;
264
- /**
265
- * Visit a parse tree produced by `python3-parser.import_stmt`.
266
- * @param ctx the parse tree
267
- * @return the visitor result
268
- */
269
- visitImport_stmt?: (ctx: Import_stmtContext) => Result;
270
- /**
271
- * Visit a parse tree produced by `python3-parser.import_name`.
272
- * @param ctx the parse tree
273
- * @return the visitor result
274
- */
275
- visitImport_name?: (ctx: Import_nameContext) => Result;
276
- /**
277
- * Visit a parse tree produced by `python3-parser.import_from`.
278
- * @param ctx the parse tree
279
- * @return the visitor result
280
- */
281
- visitImport_from?: (ctx: Import_fromContext) => Result;
282
- /**
283
- * Visit a parse tree produced by `python3-parser.import_as_name`.
284
- * @param ctx the parse tree
285
- * @return the visitor result
286
- */
287
- visitImport_as_name?: (ctx: Import_as_nameContext) => Result;
288
- /**
289
- * Visit a parse tree produced by `python3-parser.dotted_as_name`.
290
- * @param ctx the parse tree
291
- * @return the visitor result
292
- */
293
- visitDotted_as_name?: (ctx: Dotted_as_nameContext) => Result;
294
- /**
295
- * Visit a parse tree produced by `python3-parser.import_as_names`.
296
- * @param ctx the parse tree
297
- * @return the visitor result
298
- */
299
- visitImport_as_names?: (ctx: Import_as_namesContext) => Result;
300
- /**
301
- * Visit a parse tree produced by `python3-parser.dotted_as_names`.
302
- * @param ctx the parse tree
303
- * @return the visitor result
304
- */
305
- visitDotted_as_names?: (ctx: Dotted_as_namesContext) => Result;
306
- /**
307
- * Visit a parse tree produced by `python3-parser.dotted_name`.
308
- * @param ctx the parse tree
309
- * @return the visitor result
310
- */
311
- visitDotted_name?: (ctx: Dotted_nameContext) => Result;
312
- /**
313
- * Visit a parse tree produced by `python3-parser.global_stmt`.
314
- * @param ctx the parse tree
315
- * @return the visitor result
316
- */
317
- visitGlobal_stmt?: (ctx: Global_stmtContext) => Result;
318
- /**
319
- * Visit a parse tree produced by `python3-parser.nonlocal_stmt`.
320
- * @param ctx the parse tree
321
- * @return the visitor result
322
- */
323
- visitNonlocal_stmt?: (ctx: Nonlocal_stmtContext) => Result;
324
- /**
325
- * Visit a parse tree produced by `python3-parser.assert_stmt`.
326
- * @param ctx the parse tree
327
- * @return the visitor result
328
- */
329
- visitAssert_stmt?: (ctx: Assert_stmtContext) => Result;
330
- /**
331
- * Visit a parse tree produced by `python3-parser.compound_stmt`.
332
- * @param ctx the parse tree
333
- * @return the visitor result
334
- */
335
- visitCompound_stmt?: (ctx: Compound_stmtContext) => Result;
336
- /**
337
- * Visit a parse tree produced by `python3-parser.async_stmt`.
338
- * @param ctx the parse tree
339
- * @return the visitor result
340
- */
341
- visitAsync_stmt?: (ctx: Async_stmtContext) => Result;
342
- /**
343
- * Visit a parse tree produced by `python3-parser.if_stmt`.
344
- * @param ctx the parse tree
345
- * @return the visitor result
346
- */
347
- visitIf_stmt?: (ctx: If_stmtContext) => Result;
348
- /**
349
- * Visit a parse tree produced by `python3-parser.while_stmt`.
350
- * @param ctx the parse tree
351
- * @return the visitor result
352
- */
353
- visitWhile_stmt?: (ctx: While_stmtContext) => Result;
354
- /**
355
- * Visit a parse tree produced by `python3-parser.for_stmt`.
356
- * @param ctx the parse tree
357
- * @return the visitor result
358
- */
359
- visitFor_stmt?: (ctx: For_stmtContext) => Result;
360
- /**
361
- * Visit a parse tree produced by `python3-parser.try_stmt`.
362
- * @param ctx the parse tree
363
- * @return the visitor result
364
- */
365
- visitTry_stmt?: (ctx: Try_stmtContext) => Result;
366
- /**
367
- * Visit a parse tree produced by `python3-parser.with_stmt`.
368
- * @param ctx the parse tree
369
- * @return the visitor result
370
- */
371
- visitWith_stmt?: (ctx: With_stmtContext) => Result;
372
- /**
373
- * Visit a parse tree produced by `python3-parser.with_item`.
374
- * @param ctx the parse tree
375
- * @return the visitor result
376
- */
377
- visitWith_item?: (ctx: With_itemContext) => Result;
378
- /**
379
- * Visit a parse tree produced by `python3-parser.except_clause`.
380
- * @param ctx the parse tree
381
- * @return the visitor result
382
- */
383
- visitExcept_clause?: (ctx: Except_clauseContext) => Result;
384
- /**
385
- * Visit a parse tree produced by `python3-parser.suite`.
386
- * @param ctx the parse tree
387
- * @return the visitor result
388
- */
389
- visitSuite?: (ctx: SuiteContext) => Result;
390
- /**
391
- * Visit a parse tree produced by `python3-parser.test`.
392
- * @param ctx the parse tree
393
- * @return the visitor result
394
- */
395
- visitTest?: (ctx: TestContext) => Result;
396
- /**
397
- * Visit a parse tree produced by `python3-parser.test_nocond`.
398
- * @param ctx the parse tree
399
- * @return the visitor result
400
- */
401
- visitTest_nocond?: (ctx: Test_nocondContext) => Result;
402
- /**
403
- * Visit a parse tree produced by `python3-parser.lambdef`.
404
- * @param ctx the parse tree
405
- * @return the visitor result
406
- */
407
- visitLambdef?: (ctx: LambdefContext) => Result;
408
- /**
409
- * Visit a parse tree produced by `python3-parser.lambdef_nocond`.
410
- * @param ctx the parse tree
411
- * @return the visitor result
412
- */
413
- visitLambdef_nocond?: (ctx: Lambdef_nocondContext) => Result;
414
- /**
415
- * Visit a parse tree produced by `python3-parser.or_test`.
416
- * @param ctx the parse tree
417
- * @return the visitor result
418
- */
419
- visitOr_test?: (ctx: Or_testContext) => Result;
420
- /**
421
- * Visit a parse tree produced by `python3-parser.and_test`.
422
- * @param ctx the parse tree
423
- * @return the visitor result
424
- */
425
- visitAnd_test?: (ctx: And_testContext) => Result;
426
- /**
427
- * Visit a parse tree produced by `python3-parser.not_test`.
428
- * @param ctx the parse tree
429
- * @return the visitor result
430
- */
431
- visitNot_test?: (ctx: Not_testContext) => Result;
432
- /**
433
- * Visit a parse tree produced by `python3-parser.comparison`.
434
- * @param ctx the parse tree
435
- * @return the visitor result
436
- */
437
- visitComparison?: (ctx: ComparisonContext) => Result;
438
- /**
439
- * Visit a parse tree produced by `python3-parser.comp_op`.
440
- * @param ctx the parse tree
441
- * @return the visitor result
442
- */
443
- visitComp_op?: (ctx: Comp_opContext) => Result;
444
- /**
445
- * Visit a parse tree produced by `python3-parser.star_expr`.
446
- * @param ctx the parse tree
447
- * @return the visitor result
448
- */
449
- visitStar_expr?: (ctx: Star_exprContext) => Result;
450
- /**
451
- * Visit a parse tree produced by `python3-parser.expr`.
452
- * @param ctx the parse tree
453
- * @return the visitor result
454
- */
455
- visitExpr?: (ctx: ExprContext) => Result;
456
- /**
457
- * Visit a parse tree produced by `python3-parser.xor_expr`.
458
- * @param ctx the parse tree
459
- * @return the visitor result
460
- */
461
- visitXor_expr?: (ctx: Xor_exprContext) => Result;
462
- /**
463
- * Visit a parse tree produced by `python3-parser.and_expr`.
464
- * @param ctx the parse tree
465
- * @return the visitor result
466
- */
467
- visitAnd_expr?: (ctx: And_exprContext) => Result;
468
- /**
469
- * Visit a parse tree produced by `python3-parser.shift_expr`.
470
- * @param ctx the parse tree
471
- * @return the visitor result
472
- */
473
- visitShift_expr?: (ctx: Shift_exprContext) => Result;
474
- /**
475
- * Visit a parse tree produced by `python3-parser.arith_expr`.
476
- * @param ctx the parse tree
477
- * @return the visitor result
478
- */
479
- visitArith_expr?: (ctx: Arith_exprContext) => Result;
480
- /**
481
- * Visit a parse tree produced by `python3-parser.term`.
482
- * @param ctx the parse tree
483
- * @return the visitor result
484
- */
485
- visitTerm?: (ctx: TermContext) => Result;
486
- /**
487
- * Visit a parse tree produced by `python3-parser.factor`.
488
- * @param ctx the parse tree
489
- * @return the visitor result
490
- */
491
- visitFactor?: (ctx: FactorContext) => Result;
492
- /**
493
- * Visit a parse tree produced by `python3-parser.power`.
494
- * @param ctx the parse tree
495
- * @return the visitor result
496
- */
497
- visitPower?: (ctx: PowerContext) => Result;
498
- /**
499
- * Visit a parse tree produced by `python3-parser.atom_expr`.
500
- * @param ctx the parse tree
501
- * @return the visitor result
502
- */
503
- visitAtom_expr?: (ctx: Atom_exprContext) => Result;
504
- /**
505
- * Visit a parse tree produced by `python3-parser.atom`.
506
- * @param ctx the parse tree
507
- * @return the visitor result
508
- */
509
- visitAtom?: (ctx: AtomContext) => Result;
510
- /**
511
- * Visit a parse tree produced by `python3-parser.testlist_comp`.
512
- * @param ctx the parse tree
513
- * @return the visitor result
514
- */
515
- visitTestlist_comp?: (ctx: Testlist_compContext) => Result;
516
- /**
517
- * Visit a parse tree produced by `python3-parser.trailer`.
518
- * @param ctx the parse tree
519
- * @return the visitor result
520
- */
521
- visitTrailer?: (ctx: TrailerContext) => Result;
522
- /**
523
- * Visit a parse tree produced by `python3-parser.subscriptlist`.
524
- * @param ctx the parse tree
525
- * @return the visitor result
526
- */
527
- visitSubscriptlist?: (ctx: SubscriptlistContext) => Result;
528
- /**
529
- * Visit a parse tree produced by `python3-parser.subscript`.
530
- * @param ctx the parse tree
531
- * @return the visitor result
532
- */
533
- visitSubscript?: (ctx: SubscriptContext) => Result;
534
- /**
535
- * Visit a parse tree produced by `python3-parser.sliceop`.
536
- * @param ctx the parse tree
537
- * @return the visitor result
538
- */
539
- visitSliceop?: (ctx: SliceopContext) => Result;
540
- /**
541
- * Visit a parse tree produced by `python3-parser.exprlist`.
542
- * @param ctx the parse tree
543
- * @return the visitor result
544
- */
545
- visitExprlist?: (ctx: ExprlistContext) => Result;
546
- /**
547
- * Visit a parse tree produced by `python3-parser.testlist`.
548
- * @param ctx the parse tree
549
- * @return the visitor result
550
- */
551
- visitTestlist?: (ctx: TestlistContext) => Result;
552
- /**
553
- * Visit a parse tree produced by `python3-parser.dictorsetmaker`.
554
- * @param ctx the parse tree
555
- * @return the visitor result
556
- */
557
- visitDictorsetmaker?: (ctx: DictorsetmakerContext) => Result;
558
- /**
559
- * Visit a parse tree produced by `python3-parser.classdef`.
560
- * @param ctx the parse tree
561
- * @return the visitor result
562
- */
563
- visitClassdef?: (ctx: ClassdefContext) => Result;
564
- /**
565
- * Visit a parse tree produced by `python3-parser.arglist`.
566
- * @param ctx the parse tree
567
- * @return the visitor result
568
- */
569
- visitArglist?: (ctx: ArglistContext) => Result;
570
- /**
571
- * Visit a parse tree produced by `python3-parser.argument`.
572
- * @param ctx the parse tree
573
- * @return the visitor result
574
- */
575
- visitArgument?: (ctx: ArgumentContext) => Result;
576
- /**
577
- * Visit a parse tree produced by `python3-parser.comp_iter`.
578
- * @param ctx the parse tree
579
- * @return the visitor result
580
- */
581
- visitComp_iter?: (ctx: Comp_iterContext) => Result;
582
- /**
583
- * Visit a parse tree produced by `python3-parser.comp_for`.
584
- * @param ctx the parse tree
585
- * @return the visitor result
586
- */
587
- visitComp_for?: (ctx: Comp_forContext) => Result;
588
- /**
589
- * Visit a parse tree produced by `python3-parser.comp_if`.
590
- * @param ctx the parse tree
591
- * @return the visitor result
592
- */
593
- visitComp_if?: (ctx: Comp_ifContext) => Result;
594
- /**
595
- * Visit a parse tree produced by `python3-parser.encoding_decl`.
596
- * @param ctx the parse tree
597
- * @return the visitor result
598
- */
599
- visitEncoding_decl?: (ctx: Encoding_declContext) => Result;
600
- /**
601
- * Visit a parse tree produced by `python3-parser.yield_expr`.
602
- * @param ctx the parse tree
603
- * @return the visitor result
604
- */
605
- visitYield_expr?: (ctx: Yield_exprContext) => Result;
606
- /**
607
- * Visit a parse tree produced by `python3-parser.yield_arg`.
608
- * @param ctx the parse tree
609
- * @return the visitor result
610
- */
611
- visitYield_arg?: (ctx: Yield_argContext) => Result;
612
- }
1
+ import { ParseTreeVisitor } from 'antlr4ts/tree/ParseTreeVisitor';
2
+ import { Single_inputContext } from './python3-parser';
3
+ import { File_inputContext } from './python3-parser';
4
+ import { Eval_inputContext } from './python3-parser';
5
+ import { DecoratorContext } from './python3-parser';
6
+ import { DecoratorsContext } from './python3-parser';
7
+ import { DecoratedContext } from './python3-parser';
8
+ import { Async_funcdefContext } from './python3-parser';
9
+ import { FuncdefContext } from './python3-parser';
10
+ import { ParametersContext } from './python3-parser';
11
+ import { TypedargslistContext } from './python3-parser';
12
+ import { TfpdefContext } from './python3-parser';
13
+ import { VarargslistContext } from './python3-parser';
14
+ import { VfpdefContext } from './python3-parser';
15
+ import { StmtContext } from './python3-parser';
16
+ import { Simple_stmtContext } from './python3-parser';
17
+ import { Small_stmtContext } from './python3-parser';
18
+ import { Expr_stmtContext } from './python3-parser';
19
+ import { AnnassignContext } from './python3-parser';
20
+ import { Testlist_star_exprContext } from './python3-parser';
21
+ import { AugassignContext } from './python3-parser';
22
+ import { Del_stmtContext } from './python3-parser';
23
+ import { Pass_stmtContext } from './python3-parser';
24
+ import { Flow_stmtContext } from './python3-parser';
25
+ import { Break_stmtContext } from './python3-parser';
26
+ import { Continue_stmtContext } from './python3-parser';
27
+ import { Return_stmtContext } from './python3-parser';
28
+ import { Yield_stmtContext } from './python3-parser';
29
+ import { Raise_stmtContext } from './python3-parser';
30
+ import { Import_stmtContext } from './python3-parser';
31
+ import { Import_nameContext } from './python3-parser';
32
+ import { Import_fromContext } from './python3-parser';
33
+ import { Import_as_nameContext } from './python3-parser';
34
+ import { Dotted_as_nameContext } from './python3-parser';
35
+ import { Import_as_namesContext } from './python3-parser';
36
+ import { Dotted_as_namesContext } from './python3-parser';
37
+ import { Dotted_nameContext } from './python3-parser';
38
+ import { Global_stmtContext } from './python3-parser';
39
+ import { Nonlocal_stmtContext } from './python3-parser';
40
+ import { Assert_stmtContext } from './python3-parser';
41
+ import { Compound_stmtContext } from './python3-parser';
42
+ import { Async_stmtContext } from './python3-parser';
43
+ import { If_stmtContext } from './python3-parser';
44
+ import { While_stmtContext } from './python3-parser';
45
+ import { For_stmtContext } from './python3-parser';
46
+ import { Try_stmtContext } from './python3-parser';
47
+ import { With_stmtContext } from './python3-parser';
48
+ import { With_itemContext } from './python3-parser';
49
+ import { Except_clauseContext } from './python3-parser';
50
+ import { SuiteContext } from './python3-parser';
51
+ import { TestContext } from './python3-parser';
52
+ import { Test_nocondContext } from './python3-parser';
53
+ import { LambdefContext } from './python3-parser';
54
+ import { Lambdef_nocondContext } from './python3-parser';
55
+ import { Or_testContext } from './python3-parser';
56
+ import { And_testContext } from './python3-parser';
57
+ import { Not_testContext } from './python3-parser';
58
+ import { ComparisonContext } from './python3-parser';
59
+ import { Comp_opContext } from './python3-parser';
60
+ import { Star_exprContext } from './python3-parser';
61
+ import { ExprContext } from './python3-parser';
62
+ import { Xor_exprContext } from './python3-parser';
63
+ import { And_exprContext } from './python3-parser';
64
+ import { Shift_exprContext } from './python3-parser';
65
+ import { Arith_exprContext } from './python3-parser';
66
+ import { TermContext } from './python3-parser';
67
+ import { FactorContext } from './python3-parser';
68
+ import { PowerContext } from './python3-parser';
69
+ import { Atom_exprContext } from './python3-parser';
70
+ import { AtomContext } from './python3-parser';
71
+ import { Testlist_compContext } from './python3-parser';
72
+ import { TrailerContext } from './python3-parser';
73
+ import { SubscriptlistContext } from './python3-parser';
74
+ import { SubscriptContext } from './python3-parser';
75
+ import { SliceopContext } from './python3-parser';
76
+ import { ExprlistContext } from './python3-parser';
77
+ import { TestlistContext } from './python3-parser';
78
+ import { DictorsetmakerContext } from './python3-parser';
79
+ import { ClassdefContext } from './python3-parser';
80
+ import { ArglistContext } from './python3-parser';
81
+ import { ArgumentContext } from './python3-parser';
82
+ import { Comp_iterContext } from './python3-parser';
83
+ import { Comp_forContext } from './python3-parser';
84
+ import { Comp_ifContext } from './python3-parser';
85
+ import { Encoding_declContext } from './python3-parser';
86
+ import { Yield_exprContext } from './python3-parser';
87
+ import { Yield_argContext } from './python3-parser';
88
+ /**
89
+ * This interface defines a complete generic visitor for a parse tree produced
90
+ * by `python3-parser`.
91
+ *
92
+ * @param <Result> The return type of the visit operation. Use `void` for
93
+ * operations with no return type.
94
+ */
95
+ export interface Python3Visitor<Result> extends ParseTreeVisitor<Result> {
96
+ /**
97
+ * Visit a parse tree produced by `python3-parser.single_input`.
98
+ * @param ctx the parse tree
99
+ * @return the visitor result
100
+ */
101
+ visitSingle_input?: (ctx: Single_inputContext) => Result;
102
+ /**
103
+ * Visit a parse tree produced by `python3-parser.file_input`.
104
+ * @param ctx the parse tree
105
+ * @return the visitor result
106
+ */
107
+ visitFile_input?: (ctx: File_inputContext) => Result;
108
+ /**
109
+ * Visit a parse tree produced by `python3-parser.eval_input`.
110
+ * @param ctx the parse tree
111
+ * @return the visitor result
112
+ */
113
+ visitEval_input?: (ctx: Eval_inputContext) => Result;
114
+ /**
115
+ * Visit a parse tree produced by `python3-parser.decorator`.
116
+ * @param ctx the parse tree
117
+ * @return the visitor result
118
+ */
119
+ visitDecorator?: (ctx: DecoratorContext) => Result;
120
+ /**
121
+ * Visit a parse tree produced by `python3-parser.decorators`.
122
+ * @param ctx the parse tree
123
+ * @return the visitor result
124
+ */
125
+ visitDecorators?: (ctx: DecoratorsContext) => Result;
126
+ /**
127
+ * Visit a parse tree produced by `python3-parser.decorated`.
128
+ * @param ctx the parse tree
129
+ * @return the visitor result
130
+ */
131
+ visitDecorated?: (ctx: DecoratedContext) => Result;
132
+ /**
133
+ * Visit a parse tree produced by `python3-parser.async_funcdef`.
134
+ * @param ctx the parse tree
135
+ * @return the visitor result
136
+ */
137
+ visitAsync_funcdef?: (ctx: Async_funcdefContext) => Result;
138
+ /**
139
+ * Visit a parse tree produced by `python3-parser.funcdef`.
140
+ * @param ctx the parse tree
141
+ * @return the visitor result
142
+ */
143
+ visitFuncdef?: (ctx: FuncdefContext) => Result;
144
+ /**
145
+ * Visit a parse tree produced by `python3-parser.parameters`.
146
+ * @param ctx the parse tree
147
+ * @return the visitor result
148
+ */
149
+ visitParameters?: (ctx: ParametersContext) => Result;
150
+ /**
151
+ * Visit a parse tree produced by `python3-parser.typedargslist`.
152
+ * @param ctx the parse tree
153
+ * @return the visitor result
154
+ */
155
+ visitTypedargslist?: (ctx: TypedargslistContext) => Result;
156
+ /**
157
+ * Visit a parse tree produced by `python3-parser.tfpdef`.
158
+ * @param ctx the parse tree
159
+ * @return the visitor result
160
+ */
161
+ visitTfpdef?: (ctx: TfpdefContext) => Result;
162
+ /**
163
+ * Visit a parse tree produced by `python3-parser.varargslist`.
164
+ * @param ctx the parse tree
165
+ * @return the visitor result
166
+ */
167
+ visitVarargslist?: (ctx: VarargslistContext) => Result;
168
+ /**
169
+ * Visit a parse tree produced by `python3-parser.vfpdef`.
170
+ * @param ctx the parse tree
171
+ * @return the visitor result
172
+ */
173
+ visitVfpdef?: (ctx: VfpdefContext) => Result;
174
+ /**
175
+ * Visit a parse tree produced by `python3-parser.stmt`.
176
+ * @param ctx the parse tree
177
+ * @return the visitor result
178
+ */
179
+ visitStmt?: (ctx: StmtContext) => Result;
180
+ /**
181
+ * Visit a parse tree produced by `python3-parser.simple_stmt`.
182
+ * @param ctx the parse tree
183
+ * @return the visitor result
184
+ */
185
+ visitSimple_stmt?: (ctx: Simple_stmtContext) => Result;
186
+ /**
187
+ * Visit a parse tree produced by `python3-parser.small_stmt`.
188
+ * @param ctx the parse tree
189
+ * @return the visitor result
190
+ */
191
+ visitSmall_stmt?: (ctx: Small_stmtContext) => Result;
192
+ /**
193
+ * Visit a parse tree produced by `python3-parser.expr_stmt`.
194
+ * @param ctx the parse tree
195
+ * @return the visitor result
196
+ */
197
+ visitExpr_stmt?: (ctx: Expr_stmtContext) => Result;
198
+ /**
199
+ * Visit a parse tree produced by `python3-parser.annassign`.
200
+ * @param ctx the parse tree
201
+ * @return the visitor result
202
+ */
203
+ visitAnnassign?: (ctx: AnnassignContext) => Result;
204
+ /**
205
+ * Visit a parse tree produced by `python3-parser.testlist_star_expr`.
206
+ * @param ctx the parse tree
207
+ * @return the visitor result
208
+ */
209
+ visitTestlist_star_expr?: (ctx: Testlist_star_exprContext) => Result;
210
+ /**
211
+ * Visit a parse tree produced by `python3-parser.augassign`.
212
+ * @param ctx the parse tree
213
+ * @return the visitor result
214
+ */
215
+ visitAugassign?: (ctx: AugassignContext) => Result;
216
+ /**
217
+ * Visit a parse tree produced by `python3-parser.del_stmt`.
218
+ * @param ctx the parse tree
219
+ * @return the visitor result
220
+ */
221
+ visitDel_stmt?: (ctx: Del_stmtContext) => Result;
222
+ /**
223
+ * Visit a parse tree produced by `python3-parser.pass_stmt`.
224
+ * @param ctx the parse tree
225
+ * @return the visitor result
226
+ */
227
+ visitPass_stmt?: (ctx: Pass_stmtContext) => Result;
228
+ /**
229
+ * Visit a parse tree produced by `python3-parser.flow_stmt`.
230
+ * @param ctx the parse tree
231
+ * @return the visitor result
232
+ */
233
+ visitFlow_stmt?: (ctx: Flow_stmtContext) => Result;
234
+ /**
235
+ * Visit a parse tree produced by `python3-parser.break_stmt`.
236
+ * @param ctx the parse tree
237
+ * @return the visitor result
238
+ */
239
+ visitBreak_stmt?: (ctx: Break_stmtContext) => Result;
240
+ /**
241
+ * Visit a parse tree produced by `python3-parser.continue_stmt`.
242
+ * @param ctx the parse tree
243
+ * @return the visitor result
244
+ */
245
+ visitContinue_stmt?: (ctx: Continue_stmtContext) => Result;
246
+ /**
247
+ * Visit a parse tree produced by `python3-parser.return_stmt`.
248
+ * @param ctx the parse tree
249
+ * @return the visitor result
250
+ */
251
+ visitReturn_stmt?: (ctx: Return_stmtContext) => Result;
252
+ /**
253
+ * Visit a parse tree produced by `python3-parser.yield_stmt`.
254
+ * @param ctx the parse tree
255
+ * @return the visitor result
256
+ */
257
+ visitYield_stmt?: (ctx: Yield_stmtContext) => Result;
258
+ /**
259
+ * Visit a parse tree produced by `python3-parser.raise_stmt`.
260
+ * @param ctx the parse tree
261
+ * @return the visitor result
262
+ */
263
+ visitRaise_stmt?: (ctx: Raise_stmtContext) => Result;
264
+ /**
265
+ * Visit a parse tree produced by `python3-parser.import_stmt`.
266
+ * @param ctx the parse tree
267
+ * @return the visitor result
268
+ */
269
+ visitImport_stmt?: (ctx: Import_stmtContext) => Result;
270
+ /**
271
+ * Visit a parse tree produced by `python3-parser.import_name`.
272
+ * @param ctx the parse tree
273
+ * @return the visitor result
274
+ */
275
+ visitImport_name?: (ctx: Import_nameContext) => Result;
276
+ /**
277
+ * Visit a parse tree produced by `python3-parser.import_from`.
278
+ * @param ctx the parse tree
279
+ * @return the visitor result
280
+ */
281
+ visitImport_from?: (ctx: Import_fromContext) => Result;
282
+ /**
283
+ * Visit a parse tree produced by `python3-parser.import_as_name`.
284
+ * @param ctx the parse tree
285
+ * @return the visitor result
286
+ */
287
+ visitImport_as_name?: (ctx: Import_as_nameContext) => Result;
288
+ /**
289
+ * Visit a parse tree produced by `python3-parser.dotted_as_name`.
290
+ * @param ctx the parse tree
291
+ * @return the visitor result
292
+ */
293
+ visitDotted_as_name?: (ctx: Dotted_as_nameContext) => Result;
294
+ /**
295
+ * Visit a parse tree produced by `python3-parser.import_as_names`.
296
+ * @param ctx the parse tree
297
+ * @return the visitor result
298
+ */
299
+ visitImport_as_names?: (ctx: Import_as_namesContext) => Result;
300
+ /**
301
+ * Visit a parse tree produced by `python3-parser.dotted_as_names`.
302
+ * @param ctx the parse tree
303
+ * @return the visitor result
304
+ */
305
+ visitDotted_as_names?: (ctx: Dotted_as_namesContext) => Result;
306
+ /**
307
+ * Visit a parse tree produced by `python3-parser.dotted_name`.
308
+ * @param ctx the parse tree
309
+ * @return the visitor result
310
+ */
311
+ visitDotted_name?: (ctx: Dotted_nameContext) => Result;
312
+ /**
313
+ * Visit a parse tree produced by `python3-parser.global_stmt`.
314
+ * @param ctx the parse tree
315
+ * @return the visitor result
316
+ */
317
+ visitGlobal_stmt?: (ctx: Global_stmtContext) => Result;
318
+ /**
319
+ * Visit a parse tree produced by `python3-parser.nonlocal_stmt`.
320
+ * @param ctx the parse tree
321
+ * @return the visitor result
322
+ */
323
+ visitNonlocal_stmt?: (ctx: Nonlocal_stmtContext) => Result;
324
+ /**
325
+ * Visit a parse tree produced by `python3-parser.assert_stmt`.
326
+ * @param ctx the parse tree
327
+ * @return the visitor result
328
+ */
329
+ visitAssert_stmt?: (ctx: Assert_stmtContext) => Result;
330
+ /**
331
+ * Visit a parse tree produced by `python3-parser.compound_stmt`.
332
+ * @param ctx the parse tree
333
+ * @return the visitor result
334
+ */
335
+ visitCompound_stmt?: (ctx: Compound_stmtContext) => Result;
336
+ /**
337
+ * Visit a parse tree produced by `python3-parser.async_stmt`.
338
+ * @param ctx the parse tree
339
+ * @return the visitor result
340
+ */
341
+ visitAsync_stmt?: (ctx: Async_stmtContext) => Result;
342
+ /**
343
+ * Visit a parse tree produced by `python3-parser.if_stmt`.
344
+ * @param ctx the parse tree
345
+ * @return the visitor result
346
+ */
347
+ visitIf_stmt?: (ctx: If_stmtContext) => Result;
348
+ /**
349
+ * Visit a parse tree produced by `python3-parser.while_stmt`.
350
+ * @param ctx the parse tree
351
+ * @return the visitor result
352
+ */
353
+ visitWhile_stmt?: (ctx: While_stmtContext) => Result;
354
+ /**
355
+ * Visit a parse tree produced by `python3-parser.for_stmt`.
356
+ * @param ctx the parse tree
357
+ * @return the visitor result
358
+ */
359
+ visitFor_stmt?: (ctx: For_stmtContext) => Result;
360
+ /**
361
+ * Visit a parse tree produced by `python3-parser.try_stmt`.
362
+ * @param ctx the parse tree
363
+ * @return the visitor result
364
+ */
365
+ visitTry_stmt?: (ctx: Try_stmtContext) => Result;
366
+ /**
367
+ * Visit a parse tree produced by `python3-parser.with_stmt`.
368
+ * @param ctx the parse tree
369
+ * @return the visitor result
370
+ */
371
+ visitWith_stmt?: (ctx: With_stmtContext) => Result;
372
+ /**
373
+ * Visit a parse tree produced by `python3-parser.with_item`.
374
+ * @param ctx the parse tree
375
+ * @return the visitor result
376
+ */
377
+ visitWith_item?: (ctx: With_itemContext) => Result;
378
+ /**
379
+ * Visit a parse tree produced by `python3-parser.except_clause`.
380
+ * @param ctx the parse tree
381
+ * @return the visitor result
382
+ */
383
+ visitExcept_clause?: (ctx: Except_clauseContext) => Result;
384
+ /**
385
+ * Visit a parse tree produced by `python3-parser.suite`.
386
+ * @param ctx the parse tree
387
+ * @return the visitor result
388
+ */
389
+ visitSuite?: (ctx: SuiteContext) => Result;
390
+ /**
391
+ * Visit a parse tree produced by `python3-parser.test`.
392
+ * @param ctx the parse tree
393
+ * @return the visitor result
394
+ */
395
+ visitTest?: (ctx: TestContext) => Result;
396
+ /**
397
+ * Visit a parse tree produced by `python3-parser.test_nocond`.
398
+ * @param ctx the parse tree
399
+ * @return the visitor result
400
+ */
401
+ visitTest_nocond?: (ctx: Test_nocondContext) => Result;
402
+ /**
403
+ * Visit a parse tree produced by `python3-parser.lambdef`.
404
+ * @param ctx the parse tree
405
+ * @return the visitor result
406
+ */
407
+ visitLambdef?: (ctx: LambdefContext) => Result;
408
+ /**
409
+ * Visit a parse tree produced by `python3-parser.lambdef_nocond`.
410
+ * @param ctx the parse tree
411
+ * @return the visitor result
412
+ */
413
+ visitLambdef_nocond?: (ctx: Lambdef_nocondContext) => Result;
414
+ /**
415
+ * Visit a parse tree produced by `python3-parser.or_test`.
416
+ * @param ctx the parse tree
417
+ * @return the visitor result
418
+ */
419
+ visitOr_test?: (ctx: Or_testContext) => Result;
420
+ /**
421
+ * Visit a parse tree produced by `python3-parser.and_test`.
422
+ * @param ctx the parse tree
423
+ * @return the visitor result
424
+ */
425
+ visitAnd_test?: (ctx: And_testContext) => Result;
426
+ /**
427
+ * Visit a parse tree produced by `python3-parser.not_test`.
428
+ * @param ctx the parse tree
429
+ * @return the visitor result
430
+ */
431
+ visitNot_test?: (ctx: Not_testContext) => Result;
432
+ /**
433
+ * Visit a parse tree produced by `python3-parser.comparison`.
434
+ * @param ctx the parse tree
435
+ * @return the visitor result
436
+ */
437
+ visitComparison?: (ctx: ComparisonContext) => Result;
438
+ /**
439
+ * Visit a parse tree produced by `python3-parser.comp_op`.
440
+ * @param ctx the parse tree
441
+ * @return the visitor result
442
+ */
443
+ visitComp_op?: (ctx: Comp_opContext) => Result;
444
+ /**
445
+ * Visit a parse tree produced by `python3-parser.star_expr`.
446
+ * @param ctx the parse tree
447
+ * @return the visitor result
448
+ */
449
+ visitStar_expr?: (ctx: Star_exprContext) => Result;
450
+ /**
451
+ * Visit a parse tree produced by `python3-parser.expr`.
452
+ * @param ctx the parse tree
453
+ * @return the visitor result
454
+ */
455
+ visitExpr?: (ctx: ExprContext) => Result;
456
+ /**
457
+ * Visit a parse tree produced by `python3-parser.xor_expr`.
458
+ * @param ctx the parse tree
459
+ * @return the visitor result
460
+ */
461
+ visitXor_expr?: (ctx: Xor_exprContext) => Result;
462
+ /**
463
+ * Visit a parse tree produced by `python3-parser.and_expr`.
464
+ * @param ctx the parse tree
465
+ * @return the visitor result
466
+ */
467
+ visitAnd_expr?: (ctx: And_exprContext) => Result;
468
+ /**
469
+ * Visit a parse tree produced by `python3-parser.shift_expr`.
470
+ * @param ctx the parse tree
471
+ * @return the visitor result
472
+ */
473
+ visitShift_expr?: (ctx: Shift_exprContext) => Result;
474
+ /**
475
+ * Visit a parse tree produced by `python3-parser.arith_expr`.
476
+ * @param ctx the parse tree
477
+ * @return the visitor result
478
+ */
479
+ visitArith_expr?: (ctx: Arith_exprContext) => Result;
480
+ /**
481
+ * Visit a parse tree produced by `python3-parser.term`.
482
+ * @param ctx the parse tree
483
+ * @return the visitor result
484
+ */
485
+ visitTerm?: (ctx: TermContext) => Result;
486
+ /**
487
+ * Visit a parse tree produced by `python3-parser.factor`.
488
+ * @param ctx the parse tree
489
+ * @return the visitor result
490
+ */
491
+ visitFactor?: (ctx: FactorContext) => Result;
492
+ /**
493
+ * Visit a parse tree produced by `python3-parser.power`.
494
+ * @param ctx the parse tree
495
+ * @return the visitor result
496
+ */
497
+ visitPower?: (ctx: PowerContext) => Result;
498
+ /**
499
+ * Visit a parse tree produced by `python3-parser.atom_expr`.
500
+ * @param ctx the parse tree
501
+ * @return the visitor result
502
+ */
503
+ visitAtom_expr?: (ctx: Atom_exprContext) => Result;
504
+ /**
505
+ * Visit a parse tree produced by `python3-parser.atom`.
506
+ * @param ctx the parse tree
507
+ * @return the visitor result
508
+ */
509
+ visitAtom?: (ctx: AtomContext) => Result;
510
+ /**
511
+ * Visit a parse tree produced by `python3-parser.testlist_comp`.
512
+ * @param ctx the parse tree
513
+ * @return the visitor result
514
+ */
515
+ visitTestlist_comp?: (ctx: Testlist_compContext) => Result;
516
+ /**
517
+ * Visit a parse tree produced by `python3-parser.trailer`.
518
+ * @param ctx the parse tree
519
+ * @return the visitor result
520
+ */
521
+ visitTrailer?: (ctx: TrailerContext) => Result;
522
+ /**
523
+ * Visit a parse tree produced by `python3-parser.subscriptlist`.
524
+ * @param ctx the parse tree
525
+ * @return the visitor result
526
+ */
527
+ visitSubscriptlist?: (ctx: SubscriptlistContext) => Result;
528
+ /**
529
+ * Visit a parse tree produced by `python3-parser.subscript`.
530
+ * @param ctx the parse tree
531
+ * @return the visitor result
532
+ */
533
+ visitSubscript?: (ctx: SubscriptContext) => Result;
534
+ /**
535
+ * Visit a parse tree produced by `python3-parser.sliceop`.
536
+ * @param ctx the parse tree
537
+ * @return the visitor result
538
+ */
539
+ visitSliceop?: (ctx: SliceopContext) => Result;
540
+ /**
541
+ * Visit a parse tree produced by `python3-parser.exprlist`.
542
+ * @param ctx the parse tree
543
+ * @return the visitor result
544
+ */
545
+ visitExprlist?: (ctx: ExprlistContext) => Result;
546
+ /**
547
+ * Visit a parse tree produced by `python3-parser.testlist`.
548
+ * @param ctx the parse tree
549
+ * @return the visitor result
550
+ */
551
+ visitTestlist?: (ctx: TestlistContext) => Result;
552
+ /**
553
+ * Visit a parse tree produced by `python3-parser.dictorsetmaker`.
554
+ * @param ctx the parse tree
555
+ * @return the visitor result
556
+ */
557
+ visitDictorsetmaker?: (ctx: DictorsetmakerContext) => Result;
558
+ /**
559
+ * Visit a parse tree produced by `python3-parser.classdef`.
560
+ * @param ctx the parse tree
561
+ * @return the visitor result
562
+ */
563
+ visitClassdef?: (ctx: ClassdefContext) => Result;
564
+ /**
565
+ * Visit a parse tree produced by `python3-parser.arglist`.
566
+ * @param ctx the parse tree
567
+ * @return the visitor result
568
+ */
569
+ visitArglist?: (ctx: ArglistContext) => Result;
570
+ /**
571
+ * Visit a parse tree produced by `python3-parser.argument`.
572
+ * @param ctx the parse tree
573
+ * @return the visitor result
574
+ */
575
+ visitArgument?: (ctx: ArgumentContext) => Result;
576
+ /**
577
+ * Visit a parse tree produced by `python3-parser.comp_iter`.
578
+ * @param ctx the parse tree
579
+ * @return the visitor result
580
+ */
581
+ visitComp_iter?: (ctx: Comp_iterContext) => Result;
582
+ /**
583
+ * Visit a parse tree produced by `python3-parser.comp_for`.
584
+ * @param ctx the parse tree
585
+ * @return the visitor result
586
+ */
587
+ visitComp_for?: (ctx: Comp_forContext) => Result;
588
+ /**
589
+ * Visit a parse tree produced by `python3-parser.comp_if`.
590
+ * @param ctx the parse tree
591
+ * @return the visitor result
592
+ */
593
+ visitComp_if?: (ctx: Comp_ifContext) => Result;
594
+ /**
595
+ * Visit a parse tree produced by `python3-parser.encoding_decl`.
596
+ * @param ctx the parse tree
597
+ * @return the visitor result
598
+ */
599
+ visitEncoding_decl?: (ctx: Encoding_declContext) => Result;
600
+ /**
601
+ * Visit a parse tree produced by `python3-parser.yield_expr`.
602
+ * @param ctx the parse tree
603
+ * @return the visitor result
604
+ */
605
+ visitYield_expr?: (ctx: Yield_exprContext) => Result;
606
+ /**
607
+ * Visit a parse tree produced by `python3-parser.yield_arg`.
608
+ * @param ctx the parse tree
609
+ * @return the visitor result
610
+ */
611
+ visitYield_arg?: (ctx: Yield_argContext) => Result;
612
+ }