@designliquido/delegua 0.14.6 → 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 (346) 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 -32
  21. package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-portugol-studio.js +419 -192
  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 -11
  170. package/fontes/formatadores/delegua.js +82 -99
  171. package/fontes/formatadores/delegua.js.map +1 -1
  172. package/fontes/formatadores/index.d.ts +1 -1
  173. package/fontes/formatadores/index.js +17 -17
  174. package/fontes/interfaces/avaliador-sintatico-interface.d.ts +57 -57
  175. package/fontes/interfaces/avaliador-sintatico-interface.js +2 -2
  176. package/fontes/interfaces/construtos/index.d.ts +4 -4
  177. package/fontes/interfaces/construtos/index.js +2 -2
  178. package/fontes/interfaces/escopo-execucao.d.ts +11 -11
  179. package/fontes/interfaces/escopo-execucao.js +2 -2
  180. package/fontes/interfaces/index.d.ts +11 -11
  181. package/fontes/interfaces/index.js +27 -27
  182. package/fontes/interfaces/interpretador-com-depuracao-interface.d.ts +17 -17
  183. package/fontes/interfaces/interpretador-com-depuracao-interface.js +2 -2
  184. package/fontes/interfaces/interpretador-interface.d.ts +55 -55
  185. package/fontes/interfaces/interpretador-interface.js +2 -2
  186. package/fontes/interfaces/lexador-interface.d.ts +23 -23
  187. package/fontes/interfaces/lexador-interface.js +2 -2
  188. package/fontes/interfaces/parametro-interface.d.ts +6 -6
  189. package/fontes/interfaces/parametro-interface.js +2 -2
  190. package/fontes/interfaces/pilha-escopos-execucao-interface.d.ts +25 -25
  191. package/fontes/interfaces/pilha-escopos-execucao-interface.js +2 -2
  192. package/fontes/interfaces/pilha-interface.d.ts +7 -7
  193. package/fontes/interfaces/pilha-interface.js +2 -2
  194. package/fontes/interfaces/resolvedor-interface.d.ts +41 -41
  195. package/fontes/interfaces/resolvedor-interface.js +2 -2
  196. package/fontes/interfaces/retornos/index.d.ts +4 -4
  197. package/fontes/interfaces/retornos/index.js +20 -20
  198. package/fontes/interfaces/retornos/retorno-avaliador-sintatico.d.ts +6 -6
  199. package/fontes/interfaces/retornos/retorno-avaliador-sintatico.js +2 -2
  200. package/fontes/interfaces/retornos/retorno-execucao-interface.d.ts +5 -5
  201. package/fontes/interfaces/retornos/retorno-execucao-interface.js +2 -2
  202. package/fontes/interfaces/retornos/retorno-interpretador.d.ts +5 -5
  203. package/fontes/interfaces/retornos/retorno-interpretador.js +2 -2
  204. package/fontes/interfaces/retornos/retorno-lexador.d.ts +10 -10
  205. package/fontes/interfaces/retornos/retorno-lexador.js +2 -2
  206. package/fontes/interfaces/simbolo-interface.d.ts +7 -7
  207. package/fontes/interfaces/simbolo-interface.js +2 -2
  208. package/fontes/interfaces/tradutor-interface.d.ts +4 -4
  209. package/fontes/interfaces/tradutor-interface.js +2 -2
  210. package/fontes/interfaces/variavel-interface.d.ts +4 -4
  211. package/fontes/interfaces/variavel-interface.js +2 -2
  212. package/fontes/interpretador/dialetos/egua-classico/index.d.ts +1 -1
  213. package/fontes/interpretador/dialetos/egua-classico/index.js +17 -17
  214. package/fontes/interpretador/dialetos/egua-classico/interpretador-egua-classico.d.ts +99 -99
  215. package/fontes/interpretador/dialetos/egua-classico/interpretador-egua-classico.js +743 -743
  216. package/fontes/interpretador/dialetos/egua-classico/interpretador-egua-classico.js.map +1 -1
  217. package/fontes/interpretador/dialetos/egua-classico/resolvedor/erro-resolvedor.d.ts +5 -5
  218. package/fontes/interpretador/dialetos/egua-classico/resolvedor/erro-resolvedor.js +11 -11
  219. package/fontes/interpretador/dialetos/egua-classico/resolvedor/index.d.ts +3 -3
  220. package/fontes/interpretador/dialetos/egua-classico/resolvedor/index.js +19 -19
  221. package/fontes/interpretador/dialetos/egua-classico/resolvedor/pilha-escopos.d.ts +9 -9
  222. package/fontes/interpretador/dialetos/egua-classico/resolvedor/pilha-escopos.js +25 -25
  223. package/fontes/interpretador/dialetos/egua-classico/resolvedor/resolvedor.d.ts +87 -87
  224. package/fontes/interpretador/dialetos/egua-classico/resolvedor/resolvedor.js +387 -387
  225. package/fontes/interpretador/dialetos/egua-classico/resolvedor/retorno-resolvedor.d.ts +6 -6
  226. package/fontes/interpretador/dialetos/egua-classico/resolvedor/retorno-resolvedor.js +2 -2
  227. package/fontes/interpretador/dialetos/index.d.ts +4 -4
  228. package/fontes/interpretador/dialetos/index.js +20 -20
  229. package/fontes/interpretador/dialetos/portugol-studio/interpretador-portugol-studio.d.ts +12 -12
  230. package/fontes/interpretador/dialetos/portugol-studio/interpretador-portugol-studio.js +26 -26
  231. package/fontes/interpretador/dialetos/visualg/interpretador-visualg-com-depuracao.d.ts +40 -40
  232. package/fontes/interpretador/dialetos/visualg/interpretador-visualg-com-depuracao.js +96 -96
  233. package/fontes/interpretador/dialetos/visualg/interpretador-visualg.d.ts +46 -46
  234. package/fontes/interpretador/dialetos/visualg/interpretador-visualg.js +102 -102
  235. package/fontes/interpretador/erro-interpretador.d.ts +8 -8
  236. package/fontes/interpretador/erro-interpretador.js +2 -2
  237. package/fontes/interpretador/index.d.ts +4 -4
  238. package/fontes/interpretador/index.js +20 -20
  239. package/fontes/interpretador/inferenciador.d.ts +1 -1
  240. package/fontes/interpretador/inferenciador.js +31 -31
  241. package/fontes/interpretador/interpretador-base.d.ts +187 -187
  242. package/fontes/interpretador/interpretador-base.js +998 -972
  243. package/fontes/interpretador/interpretador-base.js.map +1 -1
  244. package/fontes/interpretador/interpretador-com-depuracao.d.ts +199 -199
  245. package/fontes/interpretador/interpretador-com-depuracao.js +516 -516
  246. package/fontes/interpretador/pilha-escopos-execucao.d.ts +38 -38
  247. package/fontes/interpretador/pilha-escopos-execucao.js +158 -158
  248. package/fontes/lexador/dialetos/index.d.ts +6 -6
  249. package/fontes/lexador/dialetos/index.js +22 -22
  250. package/fontes/lexador/dialetos/lexador-birl.d.ts +12 -12
  251. package/fontes/lexador/dialetos/lexador-birl.js +165 -165
  252. package/fontes/lexador/dialetos/lexador-egua-classico.d.ts +36 -36
  253. package/fontes/lexador/dialetos/lexador-egua-classico.js +286 -286
  254. package/fontes/lexador/dialetos/lexador-eguap.d.ts +51 -51
  255. package/fontes/lexador/dialetos/lexador-eguap.js +398 -398
  256. package/fontes/lexador/dialetos/lexador-guarani.d.ts +9 -9
  257. package/fontes/lexador/dialetos/lexador-guarani.js +113 -113
  258. package/fontes/lexador/dialetos/lexador-portugol-ipt.d.ts +33 -33
  259. package/fontes/lexador/dialetos/lexador-portugol-ipt.js +195 -195
  260. package/fontes/lexador/dialetos/lexador-portugol-studio.d.ts +21 -15
  261. package/fontes/lexador/dialetos/lexador-portugol-studio.js +280 -242
  262. package/fontes/lexador/dialetos/lexador-portugol-studio.js.map +1 -1
  263. package/fontes/lexador/dialetos/lexador-visualg.d.ts +18 -18
  264. package/fontes/lexador/dialetos/lexador-visualg.js +218 -218
  265. package/fontes/lexador/dialetos/palavras-reservadas/birl.d.ts +41 -41
  266. package/fontes/lexador/dialetos/palavras-reservadas/birl.js +58 -58
  267. package/fontes/lexador/dialetos/palavras-reservadas/egua-classico.d.ts +36 -36
  268. package/fontes/lexador/dialetos/palavras-reservadas/egua-classico.js +41 -41
  269. package/fontes/lexador/dialetos/palavras-reservadas/guarani.d.ts +4 -4
  270. package/fontes/lexador/dialetos/palavras-reservadas/guarani.js +9 -9
  271. package/fontes/lexador/dialetos/palavras-reservadas/index.d.ts +3 -3
  272. package/fontes/lexador/dialetos/palavras-reservadas/index.js +19 -19
  273. package/fontes/lexador/dialetos/palavras-reservadas/portugol-ipt.d.ts +6 -6
  274. package/fontes/lexador/dialetos/palavras-reservadas/portugol-ipt.js +11 -11
  275. package/fontes/lexador/dialetos/palavras-reservadas/portugol-studio.d.ts +23 -8
  276. package/fontes/lexador/dialetos/palavras-reservadas/portugol-studio.js +28 -13
  277. package/fontes/lexador/dialetos/palavras-reservadas/portugol-studio.js.map +1 -1
  278. package/fontes/lexador/dialetos/palavras-reservadas/rantiaquin.d.ts +2 -2
  279. package/fontes/lexador/dialetos/palavras-reservadas/rantiaquin.js +3 -3
  280. package/fontes/lexador/dialetos/palavras-reservadas/visualg.d.ts +60 -60
  281. package/fontes/lexador/dialetos/palavras-reservadas/visualg.js +65 -65
  282. package/fontes/lexador/dialetos/pragma.d.ts +8 -8
  283. package/fontes/lexador/dialetos/pragma.js +2 -2
  284. package/fontes/lexador/erro-lexador.d.ts +5 -5
  285. package/fontes/lexador/erro-lexador.js +2 -2
  286. package/fontes/lexador/index.d.ts +2 -2
  287. package/fontes/lexador/index.js +18 -18
  288. package/fontes/lexador/lexador-base-linha-unica.d.ts +28 -28
  289. package/fontes/lexador/lexador-base-linha-unica.js +82 -82
  290. package/fontes/lexador/lexador-base.d.ts +41 -41
  291. package/fontes/lexador/lexador-base.js +112 -112
  292. package/fontes/lexador/lexador-base.js.map +1 -1
  293. package/fontes/lexador/lexador.d.ts +43 -43
  294. package/fontes/lexador/lexador.js +412 -408
  295. package/fontes/lexador/lexador.js.map +1 -1
  296. package/fontes/lexador/palavras-reservadas.d.ts +36 -36
  297. package/fontes/lexador/palavras-reservadas.js +41 -41
  298. package/fontes/lexador/simbolo.d.ts +10 -10
  299. package/fontes/lexador/simbolo.js +16 -16
  300. package/fontes/quebras/index.d.ts +10 -10
  301. package/fontes/quebras/index.js +19 -19
  302. package/fontes/tipos-de-simbolos/birl.d.ts +57 -57
  303. package/fontes/tipos-de-simbolos/birl.js +61 -61
  304. package/fontes/tipos-de-simbolos/comum.d.ts +22 -22
  305. package/fontes/tipos-de-simbolos/comum.js +23 -23
  306. package/fontes/tipos-de-simbolos/delegua.d.ts +80 -80
  307. package/fontes/tipos-de-simbolos/delegua.js +81 -81
  308. package/fontes/tipos-de-simbolos/egua-classico.d.ts +77 -77
  309. package/fontes/tipos-de-simbolos/egua-classico.js +78 -78
  310. package/fontes/tipos-de-simbolos/eguap.d.ts +73 -73
  311. package/fontes/tipos-de-simbolos/eguap.js +74 -74
  312. package/fontes/tipos-de-simbolos/guarani.d.ts +14 -14
  313. package/fontes/tipos-de-simbolos/guarani.js +15 -15
  314. package/fontes/tipos-de-simbolos/portugol-ipt.d.ts +28 -28
  315. package/fontes/tipos-de-simbolos/portugol-ipt.js +29 -29
  316. package/fontes/tipos-de-simbolos/portugol-studio.d.ts +53 -35
  317. package/fontes/tipos-de-simbolos/portugol-studio.js +54 -36
  318. package/fontes/tipos-de-simbolos/portugol-studio.js.map +1 -1
  319. package/fontes/tipos-de-simbolos/rantiaquin.d.ts +2 -2
  320. package/fontes/tipos-de-simbolos/rantiaquin.js +3 -3
  321. package/fontes/tipos-de-simbolos/visualg.d.ts +68 -68
  322. package/fontes/tipos-de-simbolos/visualg.js +69 -69
  323. package/fontes/tradutores/dicionarios/dicionario-delegua-javascript.d.ts +2 -2
  324. package/fontes/tradutores/dicionarios/dicionario-delegua-javascript.js +10 -10
  325. package/fontes/tradutores/dicionarios/index.d.ts +1 -1
  326. package/fontes/tradutores/dicionarios/index.js +17 -17
  327. package/fontes/tradutores/index.d.ts +2 -2
  328. package/fontes/tradutores/index.js +18 -18
  329. package/fontes/tradutores/python/python3-lexer.d.ts +152 -152
  330. package/fontes/tradutores/python/python3-lexer.js +1226 -1226
  331. package/fontes/tradutores/python/python3-listener.d.ts +953 -953
  332. package/fontes/tradutores/python/python3-listener.js +2 -2
  333. package/fontes/tradutores/python/python3-parser.d.ts +1330 -1330
  334. package/fontes/tradutores/python/python3-parser.js +11156 -11156
  335. package/fontes/tradutores/python/python3-visitor.d.ts +612 -612
  336. package/fontes/tradutores/python/python3-visitor.js +2 -2
  337. package/fontes/tradutores/tradutor-javascript.d.ts +83 -83
  338. package/fontes/tradutores/tradutor-javascript.js +470 -470
  339. package/fontes/tradutores/tradutor-javascript.js.map +1 -1
  340. package/fontes/tradutores/tradutor-python.d.ts +1 -1
  341. package/fontes/tradutores/tradutor-python.js +34 -34
  342. package/fontes/tradutores/tradutor-reverso-javascript.d.ts +47 -47
  343. package/fontes/tradutores/tradutor-reverso-javascript.js +342 -342
  344. package/index.d.ts +5 -5
  345. package/index.js +23 -23
  346. package/package.json +88 -88
@@ -1,953 +1,953 @@
1
- import { ParseTreeListener } from 'antlr4ts/tree/ParseTreeListener';
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 listener for a parse tree produced by
90
- * `python3-parser`.
91
- */
92
- export interface Python3Listener extends ParseTreeListener {
93
- /**
94
- * Enter a parse tree produced by `python3-parser.single_input`.
95
- * @param ctx the parse tree
96
- */
97
- enterSingle_input?: (ctx: Single_inputContext) => void;
98
- /**
99
- * Exit a parse tree produced by `python3-parser.single_input`.
100
- * @param ctx the parse tree
101
- */
102
- exitSingle_input?: (ctx: Single_inputContext) => void;
103
- /**
104
- * Enter a parse tree produced by `python3-parser.file_input`.
105
- * @param ctx the parse tree
106
- */
107
- enterFile_input?: (ctx: File_inputContext) => void;
108
- /**
109
- * Exit a parse tree produced by `python3-parser.file_input`.
110
- * @param ctx the parse tree
111
- */
112
- exitFile_input?: (ctx: File_inputContext) => void;
113
- /**
114
- * Enter a parse tree produced by `python3-parser.eval_input`.
115
- * @param ctx the parse tree
116
- */
117
- enterEval_input?: (ctx: Eval_inputContext) => void;
118
- /**
119
- * Exit a parse tree produced by `python3-parser.eval_input`.
120
- * @param ctx the parse tree
121
- */
122
- exitEval_input?: (ctx: Eval_inputContext) => void;
123
- /**
124
- * Enter a parse tree produced by `python3-parser.decorator`.
125
- * @param ctx the parse tree
126
- */
127
- enterDecorator?: (ctx: DecoratorContext) => void;
128
- /**
129
- * Exit a parse tree produced by `python3-parser.decorator`.
130
- * @param ctx the parse tree
131
- */
132
- exitDecorator?: (ctx: DecoratorContext) => void;
133
- /**
134
- * Enter a parse tree produced by `python3-parser.decorators`.
135
- * @param ctx the parse tree
136
- */
137
- enterDecorators?: (ctx: DecoratorsContext) => void;
138
- /**
139
- * Exit a parse tree produced by `python3-parser.decorators`.
140
- * @param ctx the parse tree
141
- */
142
- exitDecorators?: (ctx: DecoratorsContext) => void;
143
- /**
144
- * Enter a parse tree produced by `python3-parser.decorated`.
145
- * @param ctx the parse tree
146
- */
147
- enterDecorated?: (ctx: DecoratedContext) => void;
148
- /**
149
- * Exit a parse tree produced by `python3-parser.decorated`.
150
- * @param ctx the parse tree
151
- */
152
- exitDecorated?: (ctx: DecoratedContext) => void;
153
- /**
154
- * Enter a parse tree produced by `python3-parser.async_funcdef`.
155
- * @param ctx the parse tree
156
- */
157
- enterAsync_funcdef?: (ctx: Async_funcdefContext) => void;
158
- /**
159
- * Exit a parse tree produced by `python3-parser.async_funcdef`.
160
- * @param ctx the parse tree
161
- */
162
- exitAsync_funcdef?: (ctx: Async_funcdefContext) => void;
163
- /**
164
- * Enter a parse tree produced by `python3-parser.funcdef`.
165
- * @param ctx the parse tree
166
- */
167
- enterFuncdef?: (ctx: FuncdefContext) => void;
168
- /**
169
- * Exit a parse tree produced by `python3-parser.funcdef`.
170
- * @param ctx the parse tree
171
- */
172
- exitFuncdef?: (ctx: FuncdefContext) => void;
173
- /**
174
- * Enter a parse tree produced by `python3-parser.parameters`.
175
- * @param ctx the parse tree
176
- */
177
- enterParameters?: (ctx: ParametersContext) => void;
178
- /**
179
- * Exit a parse tree produced by `python3-parser.parameters`.
180
- * @param ctx the parse tree
181
- */
182
- exitParameters?: (ctx: ParametersContext) => void;
183
- /**
184
- * Enter a parse tree produced by `python3-parser.typedargslist`.
185
- * @param ctx the parse tree
186
- */
187
- enterTypedargslist?: (ctx: TypedargslistContext) => void;
188
- /**
189
- * Exit a parse tree produced by `python3-parser.typedargslist`.
190
- * @param ctx the parse tree
191
- */
192
- exitTypedargslist?: (ctx: TypedargslistContext) => void;
193
- /**
194
- * Enter a parse tree produced by `python3-parser.tfpdef`.
195
- * @param ctx the parse tree
196
- */
197
- enterTfpdef?: (ctx: TfpdefContext) => void;
198
- /**
199
- * Exit a parse tree produced by `python3-parser.tfpdef`.
200
- * @param ctx the parse tree
201
- */
202
- exitTfpdef?: (ctx: TfpdefContext) => void;
203
- /**
204
- * Enter a parse tree produced by `python3-parser.varargslist`.
205
- * @param ctx the parse tree
206
- */
207
- enterVarargslist?: (ctx: VarargslistContext) => void;
208
- /**
209
- * Exit a parse tree produced by `python3-parser.varargslist`.
210
- * @param ctx the parse tree
211
- */
212
- exitVarargslist?: (ctx: VarargslistContext) => void;
213
- /**
214
- * Enter a parse tree produced by `python3-parser.vfpdef`.
215
- * @param ctx the parse tree
216
- */
217
- enterVfpdef?: (ctx: VfpdefContext) => void;
218
- /**
219
- * Exit a parse tree produced by `python3-parser.vfpdef`.
220
- * @param ctx the parse tree
221
- */
222
- exitVfpdef?: (ctx: VfpdefContext) => void;
223
- /**
224
- * Enter a parse tree produced by `python3-parser.stmt`.
225
- * @param ctx the parse tree
226
- */
227
- enterStmt?: (ctx: StmtContext) => void;
228
- /**
229
- * Exit a parse tree produced by `python3-parser.stmt`.
230
- * @param ctx the parse tree
231
- */
232
- exitStmt?: (ctx: StmtContext) => void;
233
- /**
234
- * Enter a parse tree produced by `python3-parser.simple_stmt`.
235
- * @param ctx the parse tree
236
- */
237
- enterSimple_stmt?: (ctx: Simple_stmtContext) => void;
238
- /**
239
- * Exit a parse tree produced by `python3-parser.simple_stmt`.
240
- * @param ctx the parse tree
241
- */
242
- exitSimple_stmt?: (ctx: Simple_stmtContext) => void;
243
- /**
244
- * Enter a parse tree produced by `python3-parser.small_stmt`.
245
- * @param ctx the parse tree
246
- */
247
- enterSmall_stmt?: (ctx: Small_stmtContext) => void;
248
- /**
249
- * Exit a parse tree produced by `python3-parser.small_stmt`.
250
- * @param ctx the parse tree
251
- */
252
- exitSmall_stmt?: (ctx: Small_stmtContext) => void;
253
- /**
254
- * Enter a parse tree produced by `python3-parser.expr_stmt`.
255
- * @param ctx the parse tree
256
- */
257
- enterExpr_stmt?: (ctx: Expr_stmtContext) => void;
258
- /**
259
- * Exit a parse tree produced by `python3-parser.expr_stmt`.
260
- * @param ctx the parse tree
261
- */
262
- exitExpr_stmt?: (ctx: Expr_stmtContext) => void;
263
- /**
264
- * Enter a parse tree produced by `python3-parser.annassign`.
265
- * @param ctx the parse tree
266
- */
267
- enterAnnassign?: (ctx: AnnassignContext) => void;
268
- /**
269
- * Exit a parse tree produced by `python3-parser.annassign`.
270
- * @param ctx the parse tree
271
- */
272
- exitAnnassign?: (ctx: AnnassignContext) => void;
273
- /**
274
- * Enter a parse tree produced by `python3-parser.testlist_star_expr`.
275
- * @param ctx the parse tree
276
- */
277
- enterTestlist_star_expr?: (ctx: Testlist_star_exprContext) => void;
278
- /**
279
- * Exit a parse tree produced by `python3-parser.testlist_star_expr`.
280
- * @param ctx the parse tree
281
- */
282
- exitTestlist_star_expr?: (ctx: Testlist_star_exprContext) => void;
283
- /**
284
- * Enter a parse tree produced by `python3-parser.augassign`.
285
- * @param ctx the parse tree
286
- */
287
- enterAugassign?: (ctx: AugassignContext) => void;
288
- /**
289
- * Exit a parse tree produced by `python3-parser.augassign`.
290
- * @param ctx the parse tree
291
- */
292
- exitAugassign?: (ctx: AugassignContext) => void;
293
- /**
294
- * Enter a parse tree produced by `python3-parser.del_stmt`.
295
- * @param ctx the parse tree
296
- */
297
- enterDel_stmt?: (ctx: Del_stmtContext) => void;
298
- /**
299
- * Exit a parse tree produced by `python3-parser.del_stmt`.
300
- * @param ctx the parse tree
301
- */
302
- exitDel_stmt?: (ctx: Del_stmtContext) => void;
303
- /**
304
- * Enter a parse tree produced by `python3-parser.pass_stmt`.
305
- * @param ctx the parse tree
306
- */
307
- enterPass_stmt?: (ctx: Pass_stmtContext) => void;
308
- /**
309
- * Exit a parse tree produced by `python3-parser.pass_stmt`.
310
- * @param ctx the parse tree
311
- */
312
- exitPass_stmt?: (ctx: Pass_stmtContext) => void;
313
- /**
314
- * Enter a parse tree produced by `python3-parser.flow_stmt`.
315
- * @param ctx the parse tree
316
- */
317
- enterFlow_stmt?: (ctx: Flow_stmtContext) => void;
318
- /**
319
- * Exit a parse tree produced by `python3-parser.flow_stmt`.
320
- * @param ctx the parse tree
321
- */
322
- exitFlow_stmt?: (ctx: Flow_stmtContext) => void;
323
- /**
324
- * Enter a parse tree produced by `python3-parser.break_stmt`.
325
- * @param ctx the parse tree
326
- */
327
- enterBreak_stmt?: (ctx: Break_stmtContext) => void;
328
- /**
329
- * Exit a parse tree produced by `python3-parser.break_stmt`.
330
- * @param ctx the parse tree
331
- */
332
- exitBreak_stmt?: (ctx: Break_stmtContext) => void;
333
- /**
334
- * Enter a parse tree produced by `python3-parser.continue_stmt`.
335
- * @param ctx the parse tree
336
- */
337
- enterContinue_stmt?: (ctx: Continue_stmtContext) => void;
338
- /**
339
- * Exit a parse tree produced by `python3-parser.continue_stmt`.
340
- * @param ctx the parse tree
341
- */
342
- exitContinue_stmt?: (ctx: Continue_stmtContext) => void;
343
- /**
344
- * Enter a parse tree produced by `python3-parser.return_stmt`.
345
- * @param ctx the parse tree
346
- */
347
- enterReturn_stmt?: (ctx: Return_stmtContext) => void;
348
- /**
349
- * Exit a parse tree produced by `python3-parser.return_stmt`.
350
- * @param ctx the parse tree
351
- */
352
- exitReturn_stmt?: (ctx: Return_stmtContext) => void;
353
- /**
354
- * Enter a parse tree produced by `python3-parser.yield_stmt`.
355
- * @param ctx the parse tree
356
- */
357
- enterYield_stmt?: (ctx: Yield_stmtContext) => void;
358
- /**
359
- * Exit a parse tree produced by `python3-parser.yield_stmt`.
360
- * @param ctx the parse tree
361
- */
362
- exitYield_stmt?: (ctx: Yield_stmtContext) => void;
363
- /**
364
- * Enter a parse tree produced by `python3-parser.raise_stmt`.
365
- * @param ctx the parse tree
366
- */
367
- enterRaise_stmt?: (ctx: Raise_stmtContext) => void;
368
- /**
369
- * Exit a parse tree produced by `python3-parser.raise_stmt`.
370
- * @param ctx the parse tree
371
- */
372
- exitRaise_stmt?: (ctx: Raise_stmtContext) => void;
373
- /**
374
- * Enter a parse tree produced by `python3-parser.import_stmt`.
375
- * @param ctx the parse tree
376
- */
377
- enterImport_stmt?: (ctx: Import_stmtContext) => void;
378
- /**
379
- * Exit a parse tree produced by `python3-parser.import_stmt`.
380
- * @param ctx the parse tree
381
- */
382
- exitImport_stmt?: (ctx: Import_stmtContext) => void;
383
- /**
384
- * Enter a parse tree produced by `python3-parser.import_name`.
385
- * @param ctx the parse tree
386
- */
387
- enterImport_name?: (ctx: Import_nameContext) => void;
388
- /**
389
- * Exit a parse tree produced by `python3-parser.import_name`.
390
- * @param ctx the parse tree
391
- */
392
- exitImport_name?: (ctx: Import_nameContext) => void;
393
- /**
394
- * Enter a parse tree produced by `python3-parser.import_from`.
395
- * @param ctx the parse tree
396
- */
397
- enterImport_from?: (ctx: Import_fromContext) => void;
398
- /**
399
- * Exit a parse tree produced by `python3-parser.import_from`.
400
- * @param ctx the parse tree
401
- */
402
- exitImport_from?: (ctx: Import_fromContext) => void;
403
- /**
404
- * Enter a parse tree produced by `python3-parser.import_as_name`.
405
- * @param ctx the parse tree
406
- */
407
- enterImport_as_name?: (ctx: Import_as_nameContext) => void;
408
- /**
409
- * Exit a parse tree produced by `python3-parser.import_as_name`.
410
- * @param ctx the parse tree
411
- */
412
- exitImport_as_name?: (ctx: Import_as_nameContext) => void;
413
- /**
414
- * Enter a parse tree produced by `python3-parser.dotted_as_name`.
415
- * @param ctx the parse tree
416
- */
417
- enterDotted_as_name?: (ctx: Dotted_as_nameContext) => void;
418
- /**
419
- * Exit a parse tree produced by `python3-parser.dotted_as_name`.
420
- * @param ctx the parse tree
421
- */
422
- exitDotted_as_name?: (ctx: Dotted_as_nameContext) => void;
423
- /**
424
- * Enter a parse tree produced by `python3-parser.import_as_names`.
425
- * @param ctx the parse tree
426
- */
427
- enterImport_as_names?: (ctx: Import_as_namesContext) => void;
428
- /**
429
- * Exit a parse tree produced by `python3-parser.import_as_names`.
430
- * @param ctx the parse tree
431
- */
432
- exitImport_as_names?: (ctx: Import_as_namesContext) => void;
433
- /**
434
- * Enter a parse tree produced by `python3-parser.dotted_as_names`.
435
- * @param ctx the parse tree
436
- */
437
- enterDotted_as_names?: (ctx: Dotted_as_namesContext) => void;
438
- /**
439
- * Exit a parse tree produced by `python3-parser.dotted_as_names`.
440
- * @param ctx the parse tree
441
- */
442
- exitDotted_as_names?: (ctx: Dotted_as_namesContext) => void;
443
- /**
444
- * Enter a parse tree produced by `python3-parser.dotted_name`.
445
- * @param ctx the parse tree
446
- */
447
- enterDotted_name?: (ctx: Dotted_nameContext) => void;
448
- /**
449
- * Exit a parse tree produced by `python3-parser.dotted_name`.
450
- * @param ctx the parse tree
451
- */
452
- exitDotted_name?: (ctx: Dotted_nameContext) => void;
453
- /**
454
- * Enter a parse tree produced by `python3-parser.global_stmt`.
455
- * @param ctx the parse tree
456
- */
457
- enterGlobal_stmt?: (ctx: Global_stmtContext) => void;
458
- /**
459
- * Exit a parse tree produced by `python3-parser.global_stmt`.
460
- * @param ctx the parse tree
461
- */
462
- exitGlobal_stmt?: (ctx: Global_stmtContext) => void;
463
- /**
464
- * Enter a parse tree produced by `python3-parser.nonlocal_stmt`.
465
- * @param ctx the parse tree
466
- */
467
- enterNonlocal_stmt?: (ctx: Nonlocal_stmtContext) => void;
468
- /**
469
- * Exit a parse tree produced by `python3-parser.nonlocal_stmt`.
470
- * @param ctx the parse tree
471
- */
472
- exitNonlocal_stmt?: (ctx: Nonlocal_stmtContext) => void;
473
- /**
474
- * Enter a parse tree produced by `python3-parser.assert_stmt`.
475
- * @param ctx the parse tree
476
- */
477
- enterAssert_stmt?: (ctx: Assert_stmtContext) => void;
478
- /**
479
- * Exit a parse tree produced by `python3-parser.assert_stmt`.
480
- * @param ctx the parse tree
481
- */
482
- exitAssert_stmt?: (ctx: Assert_stmtContext) => void;
483
- /**
484
- * Enter a parse tree produced by `python3-parser.compound_stmt`.
485
- * @param ctx the parse tree
486
- */
487
- enterCompound_stmt?: (ctx: Compound_stmtContext) => void;
488
- /**
489
- * Exit a parse tree produced by `python3-parser.compound_stmt`.
490
- * @param ctx the parse tree
491
- */
492
- exitCompound_stmt?: (ctx: Compound_stmtContext) => void;
493
- /**
494
- * Enter a parse tree produced by `python3-parser.async_stmt`.
495
- * @param ctx the parse tree
496
- */
497
- enterAsync_stmt?: (ctx: Async_stmtContext) => void;
498
- /**
499
- * Exit a parse tree produced by `python3-parser.async_stmt`.
500
- * @param ctx the parse tree
501
- */
502
- exitAsync_stmt?: (ctx: Async_stmtContext) => void;
503
- /**
504
- * Enter a parse tree produced by `python3-parser.if_stmt`.
505
- * @param ctx the parse tree
506
- */
507
- enterIf_stmt?: (ctx: If_stmtContext) => void;
508
- /**
509
- * Exit a parse tree produced by `python3-parser.if_stmt`.
510
- * @param ctx the parse tree
511
- */
512
- exitIf_stmt?: (ctx: If_stmtContext) => void;
513
- /**
514
- * Enter a parse tree produced by `python3-parser.while_stmt`.
515
- * @param ctx the parse tree
516
- */
517
- enterWhile_stmt?: (ctx: While_stmtContext) => void;
518
- /**
519
- * Exit a parse tree produced by `python3-parser.while_stmt`.
520
- * @param ctx the parse tree
521
- */
522
- exitWhile_stmt?: (ctx: While_stmtContext) => void;
523
- /**
524
- * Enter a parse tree produced by `python3-parser.for_stmt`.
525
- * @param ctx the parse tree
526
- */
527
- enterFor_stmt?: (ctx: For_stmtContext) => void;
528
- /**
529
- * Exit a parse tree produced by `python3-parser.for_stmt`.
530
- * @param ctx the parse tree
531
- */
532
- exitFor_stmt?: (ctx: For_stmtContext) => void;
533
- /**
534
- * Enter a parse tree produced by `python3-parser.try_stmt`.
535
- * @param ctx the parse tree
536
- */
537
- enterTry_stmt?: (ctx: Try_stmtContext) => void;
538
- /**
539
- * Exit a parse tree produced by `python3-parser.try_stmt`.
540
- * @param ctx the parse tree
541
- */
542
- exitTry_stmt?: (ctx: Try_stmtContext) => void;
543
- /**
544
- * Enter a parse tree produced by `python3-parser.with_stmt`.
545
- * @param ctx the parse tree
546
- */
547
- enterWith_stmt?: (ctx: With_stmtContext) => void;
548
- /**
549
- * Exit a parse tree produced by `python3-parser.with_stmt`.
550
- * @param ctx the parse tree
551
- */
552
- exitWith_stmt?: (ctx: With_stmtContext) => void;
553
- /**
554
- * Enter a parse tree produced by `python3-parser.with_item`.
555
- * @param ctx the parse tree
556
- */
557
- enterWith_item?: (ctx: With_itemContext) => void;
558
- /**
559
- * Exit a parse tree produced by `python3-parser.with_item`.
560
- * @param ctx the parse tree
561
- */
562
- exitWith_item?: (ctx: With_itemContext) => void;
563
- /**
564
- * Enter a parse tree produced by `python3-parser.except_clause`.
565
- * @param ctx the parse tree
566
- */
567
- enterExcept_clause?: (ctx: Except_clauseContext) => void;
568
- /**
569
- * Exit a parse tree produced by `python3-parser.except_clause`.
570
- * @param ctx the parse tree
571
- */
572
- exitExcept_clause?: (ctx: Except_clauseContext) => void;
573
- /**
574
- * Enter a parse tree produced by `python3-parser.suite`.
575
- * @param ctx the parse tree
576
- */
577
- enterSuite?: (ctx: SuiteContext) => void;
578
- /**
579
- * Exit a parse tree produced by `python3-parser.suite`.
580
- * @param ctx the parse tree
581
- */
582
- exitSuite?: (ctx: SuiteContext) => void;
583
- /**
584
- * Enter a parse tree produced by `python3-parser.test`.
585
- * @param ctx the parse tree
586
- */
587
- enterTest?: (ctx: TestContext) => void;
588
- /**
589
- * Exit a parse tree produced by `python3-parser.test`.
590
- * @param ctx the parse tree
591
- */
592
- exitTest?: (ctx: TestContext) => void;
593
- /**
594
- * Enter a parse tree produced by `python3-parser.test_nocond`.
595
- * @param ctx the parse tree
596
- */
597
- enterTest_nocond?: (ctx: Test_nocondContext) => void;
598
- /**
599
- * Exit a parse tree produced by `python3-parser.test_nocond`.
600
- * @param ctx the parse tree
601
- */
602
- exitTest_nocond?: (ctx: Test_nocondContext) => void;
603
- /**
604
- * Enter a parse tree produced by `python3-parser.lambdef`.
605
- * @param ctx the parse tree
606
- */
607
- enterLambdef?: (ctx: LambdefContext) => void;
608
- /**
609
- * Exit a parse tree produced by `python3-parser.lambdef`.
610
- * @param ctx the parse tree
611
- */
612
- exitLambdef?: (ctx: LambdefContext) => void;
613
- /**
614
- * Enter a parse tree produced by `python3-parser.lambdef_nocond`.
615
- * @param ctx the parse tree
616
- */
617
- enterLambdef_nocond?: (ctx: Lambdef_nocondContext) => void;
618
- /**
619
- * Exit a parse tree produced by `python3-parser.lambdef_nocond`.
620
- * @param ctx the parse tree
621
- */
622
- exitLambdef_nocond?: (ctx: Lambdef_nocondContext) => void;
623
- /**
624
- * Enter a parse tree produced by `python3-parser.or_test`.
625
- * @param ctx the parse tree
626
- */
627
- enterOr_test?: (ctx: Or_testContext) => void;
628
- /**
629
- * Exit a parse tree produced by `python3-parser.or_test`.
630
- * @param ctx the parse tree
631
- */
632
- exitOr_test?: (ctx: Or_testContext) => void;
633
- /**
634
- * Enter a parse tree produced by `python3-parser.and_test`.
635
- * @param ctx the parse tree
636
- */
637
- enterAnd_test?: (ctx: And_testContext) => void;
638
- /**
639
- * Exit a parse tree produced by `python3-parser.and_test`.
640
- * @param ctx the parse tree
641
- */
642
- exitAnd_test?: (ctx: And_testContext) => void;
643
- /**
644
- * Enter a parse tree produced by `python3-parser.not_test`.
645
- * @param ctx the parse tree
646
- */
647
- enterNot_test?: (ctx: Not_testContext) => void;
648
- /**
649
- * Exit a parse tree produced by `python3-parser.not_test`.
650
- * @param ctx the parse tree
651
- */
652
- exitNot_test?: (ctx: Not_testContext) => void;
653
- /**
654
- * Enter a parse tree produced by `python3-parser.comparison`.
655
- * @param ctx the parse tree
656
- */
657
- enterComparison?: (ctx: ComparisonContext) => void;
658
- /**
659
- * Exit a parse tree produced by `python3-parser.comparison`.
660
- * @param ctx the parse tree
661
- */
662
- exitComparison?: (ctx: ComparisonContext) => void;
663
- /**
664
- * Enter a parse tree produced by `python3-parser.comp_op`.
665
- * @param ctx the parse tree
666
- */
667
- enterComp_op?: (ctx: Comp_opContext) => void;
668
- /**
669
- * Exit a parse tree produced by `python3-parser.comp_op`.
670
- * @param ctx the parse tree
671
- */
672
- exitComp_op?: (ctx: Comp_opContext) => void;
673
- /**
674
- * Enter a parse tree produced by `python3-parser.star_expr`.
675
- * @param ctx the parse tree
676
- */
677
- enterStar_expr?: (ctx: Star_exprContext) => void;
678
- /**
679
- * Exit a parse tree produced by `python3-parser.star_expr`.
680
- * @param ctx the parse tree
681
- */
682
- exitStar_expr?: (ctx: Star_exprContext) => void;
683
- /**
684
- * Enter a parse tree produced by `python3-parser.expr`.
685
- * @param ctx the parse tree
686
- */
687
- enterExpr?: (ctx: ExprContext) => void;
688
- /**
689
- * Exit a parse tree produced by `python3-parser.expr`.
690
- * @param ctx the parse tree
691
- */
692
- exitExpr?: (ctx: ExprContext) => void;
693
- /**
694
- * Enter a parse tree produced by `python3-parser.xor_expr`.
695
- * @param ctx the parse tree
696
- */
697
- enterXor_expr?: (ctx: Xor_exprContext) => void;
698
- /**
699
- * Exit a parse tree produced by `python3-parser.xor_expr`.
700
- * @param ctx the parse tree
701
- */
702
- exitXor_expr?: (ctx: Xor_exprContext) => void;
703
- /**
704
- * Enter a parse tree produced by `python3-parser.and_expr`.
705
- * @param ctx the parse tree
706
- */
707
- enterAnd_expr?: (ctx: And_exprContext) => void;
708
- /**
709
- * Exit a parse tree produced by `python3-parser.and_expr`.
710
- * @param ctx the parse tree
711
- */
712
- exitAnd_expr?: (ctx: And_exprContext) => void;
713
- /**
714
- * Enter a parse tree produced by `python3-parser.shift_expr`.
715
- * @param ctx the parse tree
716
- */
717
- enterShift_expr?: (ctx: Shift_exprContext) => void;
718
- /**
719
- * Exit a parse tree produced by `python3-parser.shift_expr`.
720
- * @param ctx the parse tree
721
- */
722
- exitShift_expr?: (ctx: Shift_exprContext) => void;
723
- /**
724
- * Enter a parse tree produced by `python3-parser.arith_expr`.
725
- * @param ctx the parse tree
726
- */
727
- enterArith_expr?: (ctx: Arith_exprContext) => void;
728
- /**
729
- * Exit a parse tree produced by `python3-parser.arith_expr`.
730
- * @param ctx the parse tree
731
- */
732
- exitArith_expr?: (ctx: Arith_exprContext) => void;
733
- /**
734
- * Enter a parse tree produced by `python3-parser.term`.
735
- * @param ctx the parse tree
736
- */
737
- enterTerm?: (ctx: TermContext) => void;
738
- /**
739
- * Exit a parse tree produced by `python3-parser.term`.
740
- * @param ctx the parse tree
741
- */
742
- exitTerm?: (ctx: TermContext) => void;
743
- /**
744
- * Enter a parse tree produced by `python3-parser.factor`.
745
- * @param ctx the parse tree
746
- */
747
- enterFactor?: (ctx: FactorContext) => void;
748
- /**
749
- * Exit a parse tree produced by `python3-parser.factor`.
750
- * @param ctx the parse tree
751
- */
752
- exitFactor?: (ctx: FactorContext) => void;
753
- /**
754
- * Enter a parse tree produced by `python3-parser.power`.
755
- * @param ctx the parse tree
756
- */
757
- enterPower?: (ctx: PowerContext) => void;
758
- /**
759
- * Exit a parse tree produced by `python3-parser.power`.
760
- * @param ctx the parse tree
761
- */
762
- exitPower?: (ctx: PowerContext) => void;
763
- /**
764
- * Enter a parse tree produced by `python3-parser.atom_expr`.
765
- * @param ctx the parse tree
766
- */
767
- enterAtom_expr?: (ctx: Atom_exprContext) => void;
768
- /**
769
- * Exit a parse tree produced by `python3-parser.atom_expr`.
770
- * @param ctx the parse tree
771
- */
772
- exitAtom_expr?: (ctx: Atom_exprContext) => void;
773
- /**
774
- * Enter a parse tree produced by `python3-parser.atom`.
775
- * @param ctx the parse tree
776
- */
777
- enterAtom?: (ctx: AtomContext) => void;
778
- /**
779
- * Exit a parse tree produced by `python3-parser.atom`.
780
- * @param ctx the parse tree
781
- */
782
- exitAtom?: (ctx: AtomContext) => void;
783
- /**
784
- * Enter a parse tree produced by `python3-parser.testlist_comp`.
785
- * @param ctx the parse tree
786
- */
787
- enterTestlist_comp?: (ctx: Testlist_compContext) => void;
788
- /**
789
- * Exit a parse tree produced by `python3-parser.testlist_comp`.
790
- * @param ctx the parse tree
791
- */
792
- exitTestlist_comp?: (ctx: Testlist_compContext) => void;
793
- /**
794
- * Enter a parse tree produced by `python3-parser.trailer`.
795
- * @param ctx the parse tree
796
- */
797
- enterTrailer?: (ctx: TrailerContext) => void;
798
- /**
799
- * Exit a parse tree produced by `python3-parser.trailer`.
800
- * @param ctx the parse tree
801
- */
802
- exitTrailer?: (ctx: TrailerContext) => void;
803
- /**
804
- * Enter a parse tree produced by `python3-parser.subscriptlist`.
805
- * @param ctx the parse tree
806
- */
807
- enterSubscriptlist?: (ctx: SubscriptlistContext) => void;
808
- /**
809
- * Exit a parse tree produced by `python3-parser.subscriptlist`.
810
- * @param ctx the parse tree
811
- */
812
- exitSubscriptlist?: (ctx: SubscriptlistContext) => void;
813
- /**
814
- * Enter a parse tree produced by `python3-parser.subscript`.
815
- * @param ctx the parse tree
816
- */
817
- enterSubscript?: (ctx: SubscriptContext) => void;
818
- /**
819
- * Exit a parse tree produced by `python3-parser.subscript`.
820
- * @param ctx the parse tree
821
- */
822
- exitSubscript?: (ctx: SubscriptContext) => void;
823
- /**
824
- * Enter a parse tree produced by `python3-parser.sliceop`.
825
- * @param ctx the parse tree
826
- */
827
- enterSliceop?: (ctx: SliceopContext) => void;
828
- /**
829
- * Exit a parse tree produced by `python3-parser.sliceop`.
830
- * @param ctx the parse tree
831
- */
832
- exitSliceop?: (ctx: SliceopContext) => void;
833
- /**
834
- * Enter a parse tree produced by `python3-parser.exprlist`.
835
- * @param ctx the parse tree
836
- */
837
- enterExprlist?: (ctx: ExprlistContext) => void;
838
- /**
839
- * Exit a parse tree produced by `python3-parser.exprlist`.
840
- * @param ctx the parse tree
841
- */
842
- exitExprlist?: (ctx: ExprlistContext) => void;
843
- /**
844
- * Enter a parse tree produced by `python3-parser.testlist`.
845
- * @param ctx the parse tree
846
- */
847
- enterTestlist?: (ctx: TestlistContext) => void;
848
- /**
849
- * Exit a parse tree produced by `python3-parser.testlist`.
850
- * @param ctx the parse tree
851
- */
852
- exitTestlist?: (ctx: TestlistContext) => void;
853
- /**
854
- * Enter a parse tree produced by `python3-parser.dictorsetmaker`.
855
- * @param ctx the parse tree
856
- */
857
- enterDictorsetmaker?: (ctx: DictorsetmakerContext) => void;
858
- /**
859
- * Exit a parse tree produced by `python3-parser.dictorsetmaker`.
860
- * @param ctx the parse tree
861
- */
862
- exitDictorsetmaker?: (ctx: DictorsetmakerContext) => void;
863
- /**
864
- * Enter a parse tree produced by `python3-parser.classdef`.
865
- * @param ctx the parse tree
866
- */
867
- enterClassdef?: (ctx: ClassdefContext) => void;
868
- /**
869
- * Exit a parse tree produced by `python3-parser.classdef`.
870
- * @param ctx the parse tree
871
- */
872
- exitClassdef?: (ctx: ClassdefContext) => void;
873
- /**
874
- * Enter a parse tree produced by `python3-parser.arglist`.
875
- * @param ctx the parse tree
876
- */
877
- enterArglist?: (ctx: ArglistContext) => void;
878
- /**
879
- * Exit a parse tree produced by `python3-parser.arglist`.
880
- * @param ctx the parse tree
881
- */
882
- exitArglist?: (ctx: ArglistContext) => void;
883
- /**
884
- * Enter a parse tree produced by `python3-parser.argument`.
885
- * @param ctx the parse tree
886
- */
887
- enterArgument?: (ctx: ArgumentContext) => void;
888
- /**
889
- * Exit a parse tree produced by `python3-parser.argument`.
890
- * @param ctx the parse tree
891
- */
892
- exitArgument?: (ctx: ArgumentContext) => void;
893
- /**
894
- * Enter a parse tree produced by `python3-parser.comp_iter`.
895
- * @param ctx the parse tree
896
- */
897
- enterComp_iter?: (ctx: Comp_iterContext) => void;
898
- /**
899
- * Exit a parse tree produced by `python3-parser.comp_iter`.
900
- * @param ctx the parse tree
901
- */
902
- exitComp_iter?: (ctx: Comp_iterContext) => void;
903
- /**
904
- * Enter a parse tree produced by `python3-parser.comp_for`.
905
- * @param ctx the parse tree
906
- */
907
- enterComp_for?: (ctx: Comp_forContext) => void;
908
- /**
909
- * Exit a parse tree produced by `python3-parser.comp_for`.
910
- * @param ctx the parse tree
911
- */
912
- exitComp_for?: (ctx: Comp_forContext) => void;
913
- /**
914
- * Enter a parse tree produced by `python3-parser.comp_if`.
915
- * @param ctx the parse tree
916
- */
917
- enterComp_if?: (ctx: Comp_ifContext) => void;
918
- /**
919
- * Exit a parse tree produced by `python3-parser.comp_if`.
920
- * @param ctx the parse tree
921
- */
922
- exitComp_if?: (ctx: Comp_ifContext) => void;
923
- /**
924
- * Enter a parse tree produced by `python3-parser.encoding_decl`.
925
- * @param ctx the parse tree
926
- */
927
- enterEncoding_decl?: (ctx: Encoding_declContext) => void;
928
- /**
929
- * Exit a parse tree produced by `python3-parser.encoding_decl`.
930
- * @param ctx the parse tree
931
- */
932
- exitEncoding_decl?: (ctx: Encoding_declContext) => void;
933
- /**
934
- * Enter a parse tree produced by `python3-parser.yield_expr`.
935
- * @param ctx the parse tree
936
- */
937
- enterYield_expr?: (ctx: Yield_exprContext) => void;
938
- /**
939
- * Exit a parse tree produced by `python3-parser.yield_expr`.
940
- * @param ctx the parse tree
941
- */
942
- exitYield_expr?: (ctx: Yield_exprContext) => void;
943
- /**
944
- * Enter a parse tree produced by `python3-parser.yield_arg`.
945
- * @param ctx the parse tree
946
- */
947
- enterYield_arg?: (ctx: Yield_argContext) => void;
948
- /**
949
- * Exit a parse tree produced by `python3-parser.yield_arg`.
950
- * @param ctx the parse tree
951
- */
952
- exitYield_arg?: (ctx: Yield_argContext) => void;
953
- }
1
+ import { ParseTreeListener } from 'antlr4ts/tree/ParseTreeListener';
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 listener for a parse tree produced by
90
+ * `python3-parser`.
91
+ */
92
+ export interface Python3Listener extends ParseTreeListener {
93
+ /**
94
+ * Enter a parse tree produced by `python3-parser.single_input`.
95
+ * @param ctx the parse tree
96
+ */
97
+ enterSingle_input?: (ctx: Single_inputContext) => void;
98
+ /**
99
+ * Exit a parse tree produced by `python3-parser.single_input`.
100
+ * @param ctx the parse tree
101
+ */
102
+ exitSingle_input?: (ctx: Single_inputContext) => void;
103
+ /**
104
+ * Enter a parse tree produced by `python3-parser.file_input`.
105
+ * @param ctx the parse tree
106
+ */
107
+ enterFile_input?: (ctx: File_inputContext) => void;
108
+ /**
109
+ * Exit a parse tree produced by `python3-parser.file_input`.
110
+ * @param ctx the parse tree
111
+ */
112
+ exitFile_input?: (ctx: File_inputContext) => void;
113
+ /**
114
+ * Enter a parse tree produced by `python3-parser.eval_input`.
115
+ * @param ctx the parse tree
116
+ */
117
+ enterEval_input?: (ctx: Eval_inputContext) => void;
118
+ /**
119
+ * Exit a parse tree produced by `python3-parser.eval_input`.
120
+ * @param ctx the parse tree
121
+ */
122
+ exitEval_input?: (ctx: Eval_inputContext) => void;
123
+ /**
124
+ * Enter a parse tree produced by `python3-parser.decorator`.
125
+ * @param ctx the parse tree
126
+ */
127
+ enterDecorator?: (ctx: DecoratorContext) => void;
128
+ /**
129
+ * Exit a parse tree produced by `python3-parser.decorator`.
130
+ * @param ctx the parse tree
131
+ */
132
+ exitDecorator?: (ctx: DecoratorContext) => void;
133
+ /**
134
+ * Enter a parse tree produced by `python3-parser.decorators`.
135
+ * @param ctx the parse tree
136
+ */
137
+ enterDecorators?: (ctx: DecoratorsContext) => void;
138
+ /**
139
+ * Exit a parse tree produced by `python3-parser.decorators`.
140
+ * @param ctx the parse tree
141
+ */
142
+ exitDecorators?: (ctx: DecoratorsContext) => void;
143
+ /**
144
+ * Enter a parse tree produced by `python3-parser.decorated`.
145
+ * @param ctx the parse tree
146
+ */
147
+ enterDecorated?: (ctx: DecoratedContext) => void;
148
+ /**
149
+ * Exit a parse tree produced by `python3-parser.decorated`.
150
+ * @param ctx the parse tree
151
+ */
152
+ exitDecorated?: (ctx: DecoratedContext) => void;
153
+ /**
154
+ * Enter a parse tree produced by `python3-parser.async_funcdef`.
155
+ * @param ctx the parse tree
156
+ */
157
+ enterAsync_funcdef?: (ctx: Async_funcdefContext) => void;
158
+ /**
159
+ * Exit a parse tree produced by `python3-parser.async_funcdef`.
160
+ * @param ctx the parse tree
161
+ */
162
+ exitAsync_funcdef?: (ctx: Async_funcdefContext) => void;
163
+ /**
164
+ * Enter a parse tree produced by `python3-parser.funcdef`.
165
+ * @param ctx the parse tree
166
+ */
167
+ enterFuncdef?: (ctx: FuncdefContext) => void;
168
+ /**
169
+ * Exit a parse tree produced by `python3-parser.funcdef`.
170
+ * @param ctx the parse tree
171
+ */
172
+ exitFuncdef?: (ctx: FuncdefContext) => void;
173
+ /**
174
+ * Enter a parse tree produced by `python3-parser.parameters`.
175
+ * @param ctx the parse tree
176
+ */
177
+ enterParameters?: (ctx: ParametersContext) => void;
178
+ /**
179
+ * Exit a parse tree produced by `python3-parser.parameters`.
180
+ * @param ctx the parse tree
181
+ */
182
+ exitParameters?: (ctx: ParametersContext) => void;
183
+ /**
184
+ * Enter a parse tree produced by `python3-parser.typedargslist`.
185
+ * @param ctx the parse tree
186
+ */
187
+ enterTypedargslist?: (ctx: TypedargslistContext) => void;
188
+ /**
189
+ * Exit a parse tree produced by `python3-parser.typedargslist`.
190
+ * @param ctx the parse tree
191
+ */
192
+ exitTypedargslist?: (ctx: TypedargslistContext) => void;
193
+ /**
194
+ * Enter a parse tree produced by `python3-parser.tfpdef`.
195
+ * @param ctx the parse tree
196
+ */
197
+ enterTfpdef?: (ctx: TfpdefContext) => void;
198
+ /**
199
+ * Exit a parse tree produced by `python3-parser.tfpdef`.
200
+ * @param ctx the parse tree
201
+ */
202
+ exitTfpdef?: (ctx: TfpdefContext) => void;
203
+ /**
204
+ * Enter a parse tree produced by `python3-parser.varargslist`.
205
+ * @param ctx the parse tree
206
+ */
207
+ enterVarargslist?: (ctx: VarargslistContext) => void;
208
+ /**
209
+ * Exit a parse tree produced by `python3-parser.varargslist`.
210
+ * @param ctx the parse tree
211
+ */
212
+ exitVarargslist?: (ctx: VarargslistContext) => void;
213
+ /**
214
+ * Enter a parse tree produced by `python3-parser.vfpdef`.
215
+ * @param ctx the parse tree
216
+ */
217
+ enterVfpdef?: (ctx: VfpdefContext) => void;
218
+ /**
219
+ * Exit a parse tree produced by `python3-parser.vfpdef`.
220
+ * @param ctx the parse tree
221
+ */
222
+ exitVfpdef?: (ctx: VfpdefContext) => void;
223
+ /**
224
+ * Enter a parse tree produced by `python3-parser.stmt`.
225
+ * @param ctx the parse tree
226
+ */
227
+ enterStmt?: (ctx: StmtContext) => void;
228
+ /**
229
+ * Exit a parse tree produced by `python3-parser.stmt`.
230
+ * @param ctx the parse tree
231
+ */
232
+ exitStmt?: (ctx: StmtContext) => void;
233
+ /**
234
+ * Enter a parse tree produced by `python3-parser.simple_stmt`.
235
+ * @param ctx the parse tree
236
+ */
237
+ enterSimple_stmt?: (ctx: Simple_stmtContext) => void;
238
+ /**
239
+ * Exit a parse tree produced by `python3-parser.simple_stmt`.
240
+ * @param ctx the parse tree
241
+ */
242
+ exitSimple_stmt?: (ctx: Simple_stmtContext) => void;
243
+ /**
244
+ * Enter a parse tree produced by `python3-parser.small_stmt`.
245
+ * @param ctx the parse tree
246
+ */
247
+ enterSmall_stmt?: (ctx: Small_stmtContext) => void;
248
+ /**
249
+ * Exit a parse tree produced by `python3-parser.small_stmt`.
250
+ * @param ctx the parse tree
251
+ */
252
+ exitSmall_stmt?: (ctx: Small_stmtContext) => void;
253
+ /**
254
+ * Enter a parse tree produced by `python3-parser.expr_stmt`.
255
+ * @param ctx the parse tree
256
+ */
257
+ enterExpr_stmt?: (ctx: Expr_stmtContext) => void;
258
+ /**
259
+ * Exit a parse tree produced by `python3-parser.expr_stmt`.
260
+ * @param ctx the parse tree
261
+ */
262
+ exitExpr_stmt?: (ctx: Expr_stmtContext) => void;
263
+ /**
264
+ * Enter a parse tree produced by `python3-parser.annassign`.
265
+ * @param ctx the parse tree
266
+ */
267
+ enterAnnassign?: (ctx: AnnassignContext) => void;
268
+ /**
269
+ * Exit a parse tree produced by `python3-parser.annassign`.
270
+ * @param ctx the parse tree
271
+ */
272
+ exitAnnassign?: (ctx: AnnassignContext) => void;
273
+ /**
274
+ * Enter a parse tree produced by `python3-parser.testlist_star_expr`.
275
+ * @param ctx the parse tree
276
+ */
277
+ enterTestlist_star_expr?: (ctx: Testlist_star_exprContext) => void;
278
+ /**
279
+ * Exit a parse tree produced by `python3-parser.testlist_star_expr`.
280
+ * @param ctx the parse tree
281
+ */
282
+ exitTestlist_star_expr?: (ctx: Testlist_star_exprContext) => void;
283
+ /**
284
+ * Enter a parse tree produced by `python3-parser.augassign`.
285
+ * @param ctx the parse tree
286
+ */
287
+ enterAugassign?: (ctx: AugassignContext) => void;
288
+ /**
289
+ * Exit a parse tree produced by `python3-parser.augassign`.
290
+ * @param ctx the parse tree
291
+ */
292
+ exitAugassign?: (ctx: AugassignContext) => void;
293
+ /**
294
+ * Enter a parse tree produced by `python3-parser.del_stmt`.
295
+ * @param ctx the parse tree
296
+ */
297
+ enterDel_stmt?: (ctx: Del_stmtContext) => void;
298
+ /**
299
+ * Exit a parse tree produced by `python3-parser.del_stmt`.
300
+ * @param ctx the parse tree
301
+ */
302
+ exitDel_stmt?: (ctx: Del_stmtContext) => void;
303
+ /**
304
+ * Enter a parse tree produced by `python3-parser.pass_stmt`.
305
+ * @param ctx the parse tree
306
+ */
307
+ enterPass_stmt?: (ctx: Pass_stmtContext) => void;
308
+ /**
309
+ * Exit a parse tree produced by `python3-parser.pass_stmt`.
310
+ * @param ctx the parse tree
311
+ */
312
+ exitPass_stmt?: (ctx: Pass_stmtContext) => void;
313
+ /**
314
+ * Enter a parse tree produced by `python3-parser.flow_stmt`.
315
+ * @param ctx the parse tree
316
+ */
317
+ enterFlow_stmt?: (ctx: Flow_stmtContext) => void;
318
+ /**
319
+ * Exit a parse tree produced by `python3-parser.flow_stmt`.
320
+ * @param ctx the parse tree
321
+ */
322
+ exitFlow_stmt?: (ctx: Flow_stmtContext) => void;
323
+ /**
324
+ * Enter a parse tree produced by `python3-parser.break_stmt`.
325
+ * @param ctx the parse tree
326
+ */
327
+ enterBreak_stmt?: (ctx: Break_stmtContext) => void;
328
+ /**
329
+ * Exit a parse tree produced by `python3-parser.break_stmt`.
330
+ * @param ctx the parse tree
331
+ */
332
+ exitBreak_stmt?: (ctx: Break_stmtContext) => void;
333
+ /**
334
+ * Enter a parse tree produced by `python3-parser.continue_stmt`.
335
+ * @param ctx the parse tree
336
+ */
337
+ enterContinue_stmt?: (ctx: Continue_stmtContext) => void;
338
+ /**
339
+ * Exit a parse tree produced by `python3-parser.continue_stmt`.
340
+ * @param ctx the parse tree
341
+ */
342
+ exitContinue_stmt?: (ctx: Continue_stmtContext) => void;
343
+ /**
344
+ * Enter a parse tree produced by `python3-parser.return_stmt`.
345
+ * @param ctx the parse tree
346
+ */
347
+ enterReturn_stmt?: (ctx: Return_stmtContext) => void;
348
+ /**
349
+ * Exit a parse tree produced by `python3-parser.return_stmt`.
350
+ * @param ctx the parse tree
351
+ */
352
+ exitReturn_stmt?: (ctx: Return_stmtContext) => void;
353
+ /**
354
+ * Enter a parse tree produced by `python3-parser.yield_stmt`.
355
+ * @param ctx the parse tree
356
+ */
357
+ enterYield_stmt?: (ctx: Yield_stmtContext) => void;
358
+ /**
359
+ * Exit a parse tree produced by `python3-parser.yield_stmt`.
360
+ * @param ctx the parse tree
361
+ */
362
+ exitYield_stmt?: (ctx: Yield_stmtContext) => void;
363
+ /**
364
+ * Enter a parse tree produced by `python3-parser.raise_stmt`.
365
+ * @param ctx the parse tree
366
+ */
367
+ enterRaise_stmt?: (ctx: Raise_stmtContext) => void;
368
+ /**
369
+ * Exit a parse tree produced by `python3-parser.raise_stmt`.
370
+ * @param ctx the parse tree
371
+ */
372
+ exitRaise_stmt?: (ctx: Raise_stmtContext) => void;
373
+ /**
374
+ * Enter a parse tree produced by `python3-parser.import_stmt`.
375
+ * @param ctx the parse tree
376
+ */
377
+ enterImport_stmt?: (ctx: Import_stmtContext) => void;
378
+ /**
379
+ * Exit a parse tree produced by `python3-parser.import_stmt`.
380
+ * @param ctx the parse tree
381
+ */
382
+ exitImport_stmt?: (ctx: Import_stmtContext) => void;
383
+ /**
384
+ * Enter a parse tree produced by `python3-parser.import_name`.
385
+ * @param ctx the parse tree
386
+ */
387
+ enterImport_name?: (ctx: Import_nameContext) => void;
388
+ /**
389
+ * Exit a parse tree produced by `python3-parser.import_name`.
390
+ * @param ctx the parse tree
391
+ */
392
+ exitImport_name?: (ctx: Import_nameContext) => void;
393
+ /**
394
+ * Enter a parse tree produced by `python3-parser.import_from`.
395
+ * @param ctx the parse tree
396
+ */
397
+ enterImport_from?: (ctx: Import_fromContext) => void;
398
+ /**
399
+ * Exit a parse tree produced by `python3-parser.import_from`.
400
+ * @param ctx the parse tree
401
+ */
402
+ exitImport_from?: (ctx: Import_fromContext) => void;
403
+ /**
404
+ * Enter a parse tree produced by `python3-parser.import_as_name`.
405
+ * @param ctx the parse tree
406
+ */
407
+ enterImport_as_name?: (ctx: Import_as_nameContext) => void;
408
+ /**
409
+ * Exit a parse tree produced by `python3-parser.import_as_name`.
410
+ * @param ctx the parse tree
411
+ */
412
+ exitImport_as_name?: (ctx: Import_as_nameContext) => void;
413
+ /**
414
+ * Enter a parse tree produced by `python3-parser.dotted_as_name`.
415
+ * @param ctx the parse tree
416
+ */
417
+ enterDotted_as_name?: (ctx: Dotted_as_nameContext) => void;
418
+ /**
419
+ * Exit a parse tree produced by `python3-parser.dotted_as_name`.
420
+ * @param ctx the parse tree
421
+ */
422
+ exitDotted_as_name?: (ctx: Dotted_as_nameContext) => void;
423
+ /**
424
+ * Enter a parse tree produced by `python3-parser.import_as_names`.
425
+ * @param ctx the parse tree
426
+ */
427
+ enterImport_as_names?: (ctx: Import_as_namesContext) => void;
428
+ /**
429
+ * Exit a parse tree produced by `python3-parser.import_as_names`.
430
+ * @param ctx the parse tree
431
+ */
432
+ exitImport_as_names?: (ctx: Import_as_namesContext) => void;
433
+ /**
434
+ * Enter a parse tree produced by `python3-parser.dotted_as_names`.
435
+ * @param ctx the parse tree
436
+ */
437
+ enterDotted_as_names?: (ctx: Dotted_as_namesContext) => void;
438
+ /**
439
+ * Exit a parse tree produced by `python3-parser.dotted_as_names`.
440
+ * @param ctx the parse tree
441
+ */
442
+ exitDotted_as_names?: (ctx: Dotted_as_namesContext) => void;
443
+ /**
444
+ * Enter a parse tree produced by `python3-parser.dotted_name`.
445
+ * @param ctx the parse tree
446
+ */
447
+ enterDotted_name?: (ctx: Dotted_nameContext) => void;
448
+ /**
449
+ * Exit a parse tree produced by `python3-parser.dotted_name`.
450
+ * @param ctx the parse tree
451
+ */
452
+ exitDotted_name?: (ctx: Dotted_nameContext) => void;
453
+ /**
454
+ * Enter a parse tree produced by `python3-parser.global_stmt`.
455
+ * @param ctx the parse tree
456
+ */
457
+ enterGlobal_stmt?: (ctx: Global_stmtContext) => void;
458
+ /**
459
+ * Exit a parse tree produced by `python3-parser.global_stmt`.
460
+ * @param ctx the parse tree
461
+ */
462
+ exitGlobal_stmt?: (ctx: Global_stmtContext) => void;
463
+ /**
464
+ * Enter a parse tree produced by `python3-parser.nonlocal_stmt`.
465
+ * @param ctx the parse tree
466
+ */
467
+ enterNonlocal_stmt?: (ctx: Nonlocal_stmtContext) => void;
468
+ /**
469
+ * Exit a parse tree produced by `python3-parser.nonlocal_stmt`.
470
+ * @param ctx the parse tree
471
+ */
472
+ exitNonlocal_stmt?: (ctx: Nonlocal_stmtContext) => void;
473
+ /**
474
+ * Enter a parse tree produced by `python3-parser.assert_stmt`.
475
+ * @param ctx the parse tree
476
+ */
477
+ enterAssert_stmt?: (ctx: Assert_stmtContext) => void;
478
+ /**
479
+ * Exit a parse tree produced by `python3-parser.assert_stmt`.
480
+ * @param ctx the parse tree
481
+ */
482
+ exitAssert_stmt?: (ctx: Assert_stmtContext) => void;
483
+ /**
484
+ * Enter a parse tree produced by `python3-parser.compound_stmt`.
485
+ * @param ctx the parse tree
486
+ */
487
+ enterCompound_stmt?: (ctx: Compound_stmtContext) => void;
488
+ /**
489
+ * Exit a parse tree produced by `python3-parser.compound_stmt`.
490
+ * @param ctx the parse tree
491
+ */
492
+ exitCompound_stmt?: (ctx: Compound_stmtContext) => void;
493
+ /**
494
+ * Enter a parse tree produced by `python3-parser.async_stmt`.
495
+ * @param ctx the parse tree
496
+ */
497
+ enterAsync_stmt?: (ctx: Async_stmtContext) => void;
498
+ /**
499
+ * Exit a parse tree produced by `python3-parser.async_stmt`.
500
+ * @param ctx the parse tree
501
+ */
502
+ exitAsync_stmt?: (ctx: Async_stmtContext) => void;
503
+ /**
504
+ * Enter a parse tree produced by `python3-parser.if_stmt`.
505
+ * @param ctx the parse tree
506
+ */
507
+ enterIf_stmt?: (ctx: If_stmtContext) => void;
508
+ /**
509
+ * Exit a parse tree produced by `python3-parser.if_stmt`.
510
+ * @param ctx the parse tree
511
+ */
512
+ exitIf_stmt?: (ctx: If_stmtContext) => void;
513
+ /**
514
+ * Enter a parse tree produced by `python3-parser.while_stmt`.
515
+ * @param ctx the parse tree
516
+ */
517
+ enterWhile_stmt?: (ctx: While_stmtContext) => void;
518
+ /**
519
+ * Exit a parse tree produced by `python3-parser.while_stmt`.
520
+ * @param ctx the parse tree
521
+ */
522
+ exitWhile_stmt?: (ctx: While_stmtContext) => void;
523
+ /**
524
+ * Enter a parse tree produced by `python3-parser.for_stmt`.
525
+ * @param ctx the parse tree
526
+ */
527
+ enterFor_stmt?: (ctx: For_stmtContext) => void;
528
+ /**
529
+ * Exit a parse tree produced by `python3-parser.for_stmt`.
530
+ * @param ctx the parse tree
531
+ */
532
+ exitFor_stmt?: (ctx: For_stmtContext) => void;
533
+ /**
534
+ * Enter a parse tree produced by `python3-parser.try_stmt`.
535
+ * @param ctx the parse tree
536
+ */
537
+ enterTry_stmt?: (ctx: Try_stmtContext) => void;
538
+ /**
539
+ * Exit a parse tree produced by `python3-parser.try_stmt`.
540
+ * @param ctx the parse tree
541
+ */
542
+ exitTry_stmt?: (ctx: Try_stmtContext) => void;
543
+ /**
544
+ * Enter a parse tree produced by `python3-parser.with_stmt`.
545
+ * @param ctx the parse tree
546
+ */
547
+ enterWith_stmt?: (ctx: With_stmtContext) => void;
548
+ /**
549
+ * Exit a parse tree produced by `python3-parser.with_stmt`.
550
+ * @param ctx the parse tree
551
+ */
552
+ exitWith_stmt?: (ctx: With_stmtContext) => void;
553
+ /**
554
+ * Enter a parse tree produced by `python3-parser.with_item`.
555
+ * @param ctx the parse tree
556
+ */
557
+ enterWith_item?: (ctx: With_itemContext) => void;
558
+ /**
559
+ * Exit a parse tree produced by `python3-parser.with_item`.
560
+ * @param ctx the parse tree
561
+ */
562
+ exitWith_item?: (ctx: With_itemContext) => void;
563
+ /**
564
+ * Enter a parse tree produced by `python3-parser.except_clause`.
565
+ * @param ctx the parse tree
566
+ */
567
+ enterExcept_clause?: (ctx: Except_clauseContext) => void;
568
+ /**
569
+ * Exit a parse tree produced by `python3-parser.except_clause`.
570
+ * @param ctx the parse tree
571
+ */
572
+ exitExcept_clause?: (ctx: Except_clauseContext) => void;
573
+ /**
574
+ * Enter a parse tree produced by `python3-parser.suite`.
575
+ * @param ctx the parse tree
576
+ */
577
+ enterSuite?: (ctx: SuiteContext) => void;
578
+ /**
579
+ * Exit a parse tree produced by `python3-parser.suite`.
580
+ * @param ctx the parse tree
581
+ */
582
+ exitSuite?: (ctx: SuiteContext) => void;
583
+ /**
584
+ * Enter a parse tree produced by `python3-parser.test`.
585
+ * @param ctx the parse tree
586
+ */
587
+ enterTest?: (ctx: TestContext) => void;
588
+ /**
589
+ * Exit a parse tree produced by `python3-parser.test`.
590
+ * @param ctx the parse tree
591
+ */
592
+ exitTest?: (ctx: TestContext) => void;
593
+ /**
594
+ * Enter a parse tree produced by `python3-parser.test_nocond`.
595
+ * @param ctx the parse tree
596
+ */
597
+ enterTest_nocond?: (ctx: Test_nocondContext) => void;
598
+ /**
599
+ * Exit a parse tree produced by `python3-parser.test_nocond`.
600
+ * @param ctx the parse tree
601
+ */
602
+ exitTest_nocond?: (ctx: Test_nocondContext) => void;
603
+ /**
604
+ * Enter a parse tree produced by `python3-parser.lambdef`.
605
+ * @param ctx the parse tree
606
+ */
607
+ enterLambdef?: (ctx: LambdefContext) => void;
608
+ /**
609
+ * Exit a parse tree produced by `python3-parser.lambdef`.
610
+ * @param ctx the parse tree
611
+ */
612
+ exitLambdef?: (ctx: LambdefContext) => void;
613
+ /**
614
+ * Enter a parse tree produced by `python3-parser.lambdef_nocond`.
615
+ * @param ctx the parse tree
616
+ */
617
+ enterLambdef_nocond?: (ctx: Lambdef_nocondContext) => void;
618
+ /**
619
+ * Exit a parse tree produced by `python3-parser.lambdef_nocond`.
620
+ * @param ctx the parse tree
621
+ */
622
+ exitLambdef_nocond?: (ctx: Lambdef_nocondContext) => void;
623
+ /**
624
+ * Enter a parse tree produced by `python3-parser.or_test`.
625
+ * @param ctx the parse tree
626
+ */
627
+ enterOr_test?: (ctx: Or_testContext) => void;
628
+ /**
629
+ * Exit a parse tree produced by `python3-parser.or_test`.
630
+ * @param ctx the parse tree
631
+ */
632
+ exitOr_test?: (ctx: Or_testContext) => void;
633
+ /**
634
+ * Enter a parse tree produced by `python3-parser.and_test`.
635
+ * @param ctx the parse tree
636
+ */
637
+ enterAnd_test?: (ctx: And_testContext) => void;
638
+ /**
639
+ * Exit a parse tree produced by `python3-parser.and_test`.
640
+ * @param ctx the parse tree
641
+ */
642
+ exitAnd_test?: (ctx: And_testContext) => void;
643
+ /**
644
+ * Enter a parse tree produced by `python3-parser.not_test`.
645
+ * @param ctx the parse tree
646
+ */
647
+ enterNot_test?: (ctx: Not_testContext) => void;
648
+ /**
649
+ * Exit a parse tree produced by `python3-parser.not_test`.
650
+ * @param ctx the parse tree
651
+ */
652
+ exitNot_test?: (ctx: Not_testContext) => void;
653
+ /**
654
+ * Enter a parse tree produced by `python3-parser.comparison`.
655
+ * @param ctx the parse tree
656
+ */
657
+ enterComparison?: (ctx: ComparisonContext) => void;
658
+ /**
659
+ * Exit a parse tree produced by `python3-parser.comparison`.
660
+ * @param ctx the parse tree
661
+ */
662
+ exitComparison?: (ctx: ComparisonContext) => void;
663
+ /**
664
+ * Enter a parse tree produced by `python3-parser.comp_op`.
665
+ * @param ctx the parse tree
666
+ */
667
+ enterComp_op?: (ctx: Comp_opContext) => void;
668
+ /**
669
+ * Exit a parse tree produced by `python3-parser.comp_op`.
670
+ * @param ctx the parse tree
671
+ */
672
+ exitComp_op?: (ctx: Comp_opContext) => void;
673
+ /**
674
+ * Enter a parse tree produced by `python3-parser.star_expr`.
675
+ * @param ctx the parse tree
676
+ */
677
+ enterStar_expr?: (ctx: Star_exprContext) => void;
678
+ /**
679
+ * Exit a parse tree produced by `python3-parser.star_expr`.
680
+ * @param ctx the parse tree
681
+ */
682
+ exitStar_expr?: (ctx: Star_exprContext) => void;
683
+ /**
684
+ * Enter a parse tree produced by `python3-parser.expr`.
685
+ * @param ctx the parse tree
686
+ */
687
+ enterExpr?: (ctx: ExprContext) => void;
688
+ /**
689
+ * Exit a parse tree produced by `python3-parser.expr`.
690
+ * @param ctx the parse tree
691
+ */
692
+ exitExpr?: (ctx: ExprContext) => void;
693
+ /**
694
+ * Enter a parse tree produced by `python3-parser.xor_expr`.
695
+ * @param ctx the parse tree
696
+ */
697
+ enterXor_expr?: (ctx: Xor_exprContext) => void;
698
+ /**
699
+ * Exit a parse tree produced by `python3-parser.xor_expr`.
700
+ * @param ctx the parse tree
701
+ */
702
+ exitXor_expr?: (ctx: Xor_exprContext) => void;
703
+ /**
704
+ * Enter a parse tree produced by `python3-parser.and_expr`.
705
+ * @param ctx the parse tree
706
+ */
707
+ enterAnd_expr?: (ctx: And_exprContext) => void;
708
+ /**
709
+ * Exit a parse tree produced by `python3-parser.and_expr`.
710
+ * @param ctx the parse tree
711
+ */
712
+ exitAnd_expr?: (ctx: And_exprContext) => void;
713
+ /**
714
+ * Enter a parse tree produced by `python3-parser.shift_expr`.
715
+ * @param ctx the parse tree
716
+ */
717
+ enterShift_expr?: (ctx: Shift_exprContext) => void;
718
+ /**
719
+ * Exit a parse tree produced by `python3-parser.shift_expr`.
720
+ * @param ctx the parse tree
721
+ */
722
+ exitShift_expr?: (ctx: Shift_exprContext) => void;
723
+ /**
724
+ * Enter a parse tree produced by `python3-parser.arith_expr`.
725
+ * @param ctx the parse tree
726
+ */
727
+ enterArith_expr?: (ctx: Arith_exprContext) => void;
728
+ /**
729
+ * Exit a parse tree produced by `python3-parser.arith_expr`.
730
+ * @param ctx the parse tree
731
+ */
732
+ exitArith_expr?: (ctx: Arith_exprContext) => void;
733
+ /**
734
+ * Enter a parse tree produced by `python3-parser.term`.
735
+ * @param ctx the parse tree
736
+ */
737
+ enterTerm?: (ctx: TermContext) => void;
738
+ /**
739
+ * Exit a parse tree produced by `python3-parser.term`.
740
+ * @param ctx the parse tree
741
+ */
742
+ exitTerm?: (ctx: TermContext) => void;
743
+ /**
744
+ * Enter a parse tree produced by `python3-parser.factor`.
745
+ * @param ctx the parse tree
746
+ */
747
+ enterFactor?: (ctx: FactorContext) => void;
748
+ /**
749
+ * Exit a parse tree produced by `python3-parser.factor`.
750
+ * @param ctx the parse tree
751
+ */
752
+ exitFactor?: (ctx: FactorContext) => void;
753
+ /**
754
+ * Enter a parse tree produced by `python3-parser.power`.
755
+ * @param ctx the parse tree
756
+ */
757
+ enterPower?: (ctx: PowerContext) => void;
758
+ /**
759
+ * Exit a parse tree produced by `python3-parser.power`.
760
+ * @param ctx the parse tree
761
+ */
762
+ exitPower?: (ctx: PowerContext) => void;
763
+ /**
764
+ * Enter a parse tree produced by `python3-parser.atom_expr`.
765
+ * @param ctx the parse tree
766
+ */
767
+ enterAtom_expr?: (ctx: Atom_exprContext) => void;
768
+ /**
769
+ * Exit a parse tree produced by `python3-parser.atom_expr`.
770
+ * @param ctx the parse tree
771
+ */
772
+ exitAtom_expr?: (ctx: Atom_exprContext) => void;
773
+ /**
774
+ * Enter a parse tree produced by `python3-parser.atom`.
775
+ * @param ctx the parse tree
776
+ */
777
+ enterAtom?: (ctx: AtomContext) => void;
778
+ /**
779
+ * Exit a parse tree produced by `python3-parser.atom`.
780
+ * @param ctx the parse tree
781
+ */
782
+ exitAtom?: (ctx: AtomContext) => void;
783
+ /**
784
+ * Enter a parse tree produced by `python3-parser.testlist_comp`.
785
+ * @param ctx the parse tree
786
+ */
787
+ enterTestlist_comp?: (ctx: Testlist_compContext) => void;
788
+ /**
789
+ * Exit a parse tree produced by `python3-parser.testlist_comp`.
790
+ * @param ctx the parse tree
791
+ */
792
+ exitTestlist_comp?: (ctx: Testlist_compContext) => void;
793
+ /**
794
+ * Enter a parse tree produced by `python3-parser.trailer`.
795
+ * @param ctx the parse tree
796
+ */
797
+ enterTrailer?: (ctx: TrailerContext) => void;
798
+ /**
799
+ * Exit a parse tree produced by `python3-parser.trailer`.
800
+ * @param ctx the parse tree
801
+ */
802
+ exitTrailer?: (ctx: TrailerContext) => void;
803
+ /**
804
+ * Enter a parse tree produced by `python3-parser.subscriptlist`.
805
+ * @param ctx the parse tree
806
+ */
807
+ enterSubscriptlist?: (ctx: SubscriptlistContext) => void;
808
+ /**
809
+ * Exit a parse tree produced by `python3-parser.subscriptlist`.
810
+ * @param ctx the parse tree
811
+ */
812
+ exitSubscriptlist?: (ctx: SubscriptlistContext) => void;
813
+ /**
814
+ * Enter a parse tree produced by `python3-parser.subscript`.
815
+ * @param ctx the parse tree
816
+ */
817
+ enterSubscript?: (ctx: SubscriptContext) => void;
818
+ /**
819
+ * Exit a parse tree produced by `python3-parser.subscript`.
820
+ * @param ctx the parse tree
821
+ */
822
+ exitSubscript?: (ctx: SubscriptContext) => void;
823
+ /**
824
+ * Enter a parse tree produced by `python3-parser.sliceop`.
825
+ * @param ctx the parse tree
826
+ */
827
+ enterSliceop?: (ctx: SliceopContext) => void;
828
+ /**
829
+ * Exit a parse tree produced by `python3-parser.sliceop`.
830
+ * @param ctx the parse tree
831
+ */
832
+ exitSliceop?: (ctx: SliceopContext) => void;
833
+ /**
834
+ * Enter a parse tree produced by `python3-parser.exprlist`.
835
+ * @param ctx the parse tree
836
+ */
837
+ enterExprlist?: (ctx: ExprlistContext) => void;
838
+ /**
839
+ * Exit a parse tree produced by `python3-parser.exprlist`.
840
+ * @param ctx the parse tree
841
+ */
842
+ exitExprlist?: (ctx: ExprlistContext) => void;
843
+ /**
844
+ * Enter a parse tree produced by `python3-parser.testlist`.
845
+ * @param ctx the parse tree
846
+ */
847
+ enterTestlist?: (ctx: TestlistContext) => void;
848
+ /**
849
+ * Exit a parse tree produced by `python3-parser.testlist`.
850
+ * @param ctx the parse tree
851
+ */
852
+ exitTestlist?: (ctx: TestlistContext) => void;
853
+ /**
854
+ * Enter a parse tree produced by `python3-parser.dictorsetmaker`.
855
+ * @param ctx the parse tree
856
+ */
857
+ enterDictorsetmaker?: (ctx: DictorsetmakerContext) => void;
858
+ /**
859
+ * Exit a parse tree produced by `python3-parser.dictorsetmaker`.
860
+ * @param ctx the parse tree
861
+ */
862
+ exitDictorsetmaker?: (ctx: DictorsetmakerContext) => void;
863
+ /**
864
+ * Enter a parse tree produced by `python3-parser.classdef`.
865
+ * @param ctx the parse tree
866
+ */
867
+ enterClassdef?: (ctx: ClassdefContext) => void;
868
+ /**
869
+ * Exit a parse tree produced by `python3-parser.classdef`.
870
+ * @param ctx the parse tree
871
+ */
872
+ exitClassdef?: (ctx: ClassdefContext) => void;
873
+ /**
874
+ * Enter a parse tree produced by `python3-parser.arglist`.
875
+ * @param ctx the parse tree
876
+ */
877
+ enterArglist?: (ctx: ArglistContext) => void;
878
+ /**
879
+ * Exit a parse tree produced by `python3-parser.arglist`.
880
+ * @param ctx the parse tree
881
+ */
882
+ exitArglist?: (ctx: ArglistContext) => void;
883
+ /**
884
+ * Enter a parse tree produced by `python3-parser.argument`.
885
+ * @param ctx the parse tree
886
+ */
887
+ enterArgument?: (ctx: ArgumentContext) => void;
888
+ /**
889
+ * Exit a parse tree produced by `python3-parser.argument`.
890
+ * @param ctx the parse tree
891
+ */
892
+ exitArgument?: (ctx: ArgumentContext) => void;
893
+ /**
894
+ * Enter a parse tree produced by `python3-parser.comp_iter`.
895
+ * @param ctx the parse tree
896
+ */
897
+ enterComp_iter?: (ctx: Comp_iterContext) => void;
898
+ /**
899
+ * Exit a parse tree produced by `python3-parser.comp_iter`.
900
+ * @param ctx the parse tree
901
+ */
902
+ exitComp_iter?: (ctx: Comp_iterContext) => void;
903
+ /**
904
+ * Enter a parse tree produced by `python3-parser.comp_for`.
905
+ * @param ctx the parse tree
906
+ */
907
+ enterComp_for?: (ctx: Comp_forContext) => void;
908
+ /**
909
+ * Exit a parse tree produced by `python3-parser.comp_for`.
910
+ * @param ctx the parse tree
911
+ */
912
+ exitComp_for?: (ctx: Comp_forContext) => void;
913
+ /**
914
+ * Enter a parse tree produced by `python3-parser.comp_if`.
915
+ * @param ctx the parse tree
916
+ */
917
+ enterComp_if?: (ctx: Comp_ifContext) => void;
918
+ /**
919
+ * Exit a parse tree produced by `python3-parser.comp_if`.
920
+ * @param ctx the parse tree
921
+ */
922
+ exitComp_if?: (ctx: Comp_ifContext) => void;
923
+ /**
924
+ * Enter a parse tree produced by `python3-parser.encoding_decl`.
925
+ * @param ctx the parse tree
926
+ */
927
+ enterEncoding_decl?: (ctx: Encoding_declContext) => void;
928
+ /**
929
+ * Exit a parse tree produced by `python3-parser.encoding_decl`.
930
+ * @param ctx the parse tree
931
+ */
932
+ exitEncoding_decl?: (ctx: Encoding_declContext) => void;
933
+ /**
934
+ * Enter a parse tree produced by `python3-parser.yield_expr`.
935
+ * @param ctx the parse tree
936
+ */
937
+ enterYield_expr?: (ctx: Yield_exprContext) => void;
938
+ /**
939
+ * Exit a parse tree produced by `python3-parser.yield_expr`.
940
+ * @param ctx the parse tree
941
+ */
942
+ exitYield_expr?: (ctx: Yield_exprContext) => void;
943
+ /**
944
+ * Enter a parse tree produced by `python3-parser.yield_arg`.
945
+ * @param ctx the parse tree
946
+ */
947
+ enterYield_arg?: (ctx: Yield_argContext) => void;
948
+ /**
949
+ * Exit a parse tree produced by `python3-parser.yield_arg`.
950
+ * @param ctx the parse tree
951
+ */
952
+ exitYield_arg?: (ctx: Yield_argContext) => void;
953
+ }