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