@designliquido/delegua 0.15.2 → 0.15.3
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.
- package/README.md +85 -85
- package/bin/delegua +2 -2
- package/bin/package.json +88 -88
- package/fontes/avaliador-sintatico/avaliador-sintatico-base.d.ts +67 -67
- package/fontes/avaliador-sintatico/avaliador-sintatico-base.js +215 -215
- package/fontes/avaliador-sintatico/avaliador-sintatico.d.ts +92 -92
- package/fontes/avaliador-sintatico/avaliador-sintatico.js +857 -857
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-birl.d.ts +27 -27
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-birl.js +319 -294
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-birl.js.map +1 -1
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.d.ts +69 -69
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-egua-classico.js +640 -640
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-eguap.d.ts +84 -84
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-eguap.js +714 -714
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-guarani.d.ts +20 -20
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-guarani.js +149 -149
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-portugol-studio.d.ts +49 -49
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-portugol-studio.js +419 -419
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-visualg.d.ts +73 -73
- package/fontes/avaliador-sintatico/dialetos/avaliador-sintatico-visualg.js +534 -534
- package/fontes/avaliador-sintatico/dialetos/index.d.ts +5 -5
- package/fontes/avaliador-sintatico/dialetos/index.js +21 -21
- package/fontes/avaliador-sintatico/erro-avaliador-sintatico.d.ts +5 -5
- package/fontes/avaliador-sintatico/erro-avaliador-sintatico.js +11 -11
- package/fontes/avaliador-sintatico/index.d.ts +2 -2
- package/fontes/avaliador-sintatico/index.js +18 -18
- package/fontes/avaliador-sintatico/retornos/index.d.ts +3 -3
- package/fontes/avaliador-sintatico/retornos/index.js +19 -19
- package/fontes/avaliador-sintatico/retornos/retorno-declaracao.d.ts +3 -3
- package/fontes/avaliador-sintatico/retornos/retorno-declaracao.js +2 -2
- package/fontes/avaliador-sintatico/retornos/retorno-primario.d.ts +3 -3
- package/fontes/avaliador-sintatico/retornos/retorno-primario.js +2 -2
- package/fontes/avaliador-sintatico/retornos/retorno-resolver-declaracao.d.ts +2 -2
- package/fontes/avaliador-sintatico/retornos/retorno-resolver-declaracao.js +2 -2
- package/fontes/bibliotecas/biblioteca-global.d.ts +3 -3
- package/fontes/bibliotecas/biblioteca-global.js +315 -315
- package/fontes/bibliotecas/dialetos/egua-classico/biblioteca-global.d.ts +1 -1
- package/fontes/bibliotecas/dialetos/egua-classico/biblioteca-global.js +230 -230
- package/fontes/bibliotecas/dialetos/egua-classico/index.d.ts +2 -2
- package/fontes/bibliotecas/dialetos/egua-classico/index.js +32 -32
- package/fontes/bibliotecas/dialetos/egua-classico/matematica.d.ts +1 -1
- package/fontes/bibliotecas/dialetos/egua-classico/matematica.js +478 -478
- package/fontes/bibliotecas/dialetos/egua-classico/tempo.d.ts +1 -1
- package/fontes/bibliotecas/dialetos/egua-classico/tempo.js +39 -39
- package/fontes/bibliotecas/dialetos/egua-classico/textos.d.ts +8 -8
- package/fontes/bibliotecas/dialetos/egua-classico/textos.js +201 -201
- package/fontes/bibliotecas/dialetos/visualg/caracteres.d.ts +3 -0
- package/fontes/bibliotecas/dialetos/visualg/caracteres.js +35 -0
- package/fontes/bibliotecas/dialetos/visualg/caracteres.js.map +1 -0
- package/fontes/bibliotecas/dialetos/visualg/index.d.ts +2 -0
- package/fontes/bibliotecas/dialetos/visualg/index.js +18 -0
- package/fontes/bibliotecas/dialetos/visualg/index.js.map +1 -1
- package/fontes/bibliotecas/dialetos/visualg/numerica.d.ts +3 -0
- package/fontes/bibliotecas/dialetos/visualg/numerica.js +65 -0
- package/fontes/bibliotecas/dialetos/visualg/numerica.js.map +1 -0
- package/fontes/bibliotecas/primitivas-texto.d.ts +11 -11
- package/fontes/bibliotecas/primitivas-texto.js +12 -12
- package/fontes/bibliotecas/primitivas-vetor.d.ts +15 -15
- package/fontes/bibliotecas/primitivas-vetor.js +33 -33
- package/fontes/construtos/acesso-indice-variavel.d.ts +15 -15
- package/fontes/construtos/acesso-indice-variavel.js +20 -20
- package/fontes/construtos/acesso-metodo.d.ts +14 -14
- package/fontes/construtos/acesso-metodo.js +19 -19
- package/fontes/construtos/agrupamento.d.ts +14 -14
- package/fontes/construtos/agrupamento.js +19 -19
- package/fontes/construtos/atribuicao-sobrescrita.d.ts +11 -11
- package/fontes/construtos/atribuicao-sobrescrita.js +16 -16
- package/fontes/construtos/atribuir.d.ts +10 -10
- package/fontes/construtos/atribuir.js +15 -15
- package/fontes/construtos/binario.d.ts +22 -22
- package/fontes/construtos/binario.js +27 -27
- package/fontes/construtos/chamada.d.ts +13 -13
- package/fontes/construtos/chamada.js +36 -36
- package/fontes/construtos/construto.d.ts +7 -7
- package/fontes/construtos/construto.js +2 -2
- package/fontes/construtos/definir-valor.d.ts +11 -11
- package/fontes/construtos/definir-valor.js +16 -16
- package/fontes/construtos/dicionario.d.ts +10 -10
- package/fontes/construtos/dicionario.js +15 -15
- package/fontes/construtos/formatacao-escrita.d.ts +16 -16
- package/fontes/construtos/formatacao-escrita.js +21 -21
- package/fontes/construtos/funcao.d.ts +10 -10
- package/fontes/construtos/funcao.js +15 -15
- package/fontes/construtos/index.d.ts +19 -19
- package/fontes/construtos/index.js +35 -35
- package/fontes/construtos/isto.d.ts +9 -9
- package/fontes/construtos/isto.js +14 -14
- package/fontes/construtos/literal.d.ts +10 -10
- package/fontes/construtos/literal.js +14 -14
- package/fontes/construtos/logico.d.ts +11 -11
- package/fontes/construtos/logico.js +16 -16
- package/fontes/construtos/super.d.ts +10 -10
- package/fontes/construtos/super.js +15 -15
- package/fontes/construtos/unario.d.ts +11 -11
- package/fontes/construtos/unario.js +16 -16
- package/fontes/construtos/variavel.d.ts +9 -9
- package/fontes/construtos/variavel.js +14 -14
- package/fontes/construtos/vetor.d.ts +9 -9
- package/fontes/construtos/vetor.js +14 -14
- package/fontes/declaracoes/bloco.d.ts +7 -7
- package/fontes/declaracoes/bloco.js +14 -14
- package/fontes/declaracoes/classe.d.ts +9 -9
- package/fontes/declaracoes/classe.js +16 -16
- package/fontes/declaracoes/continua.d.ts +6 -6
- package/fontes/declaracoes/continua.js +13 -13
- package/fontes/declaracoes/declaracao.d.ts +8 -8
- package/fontes/declaracoes/declaracao.js +17 -17
- package/fontes/declaracoes/enquanto.d.ts +9 -9
- package/fontes/declaracoes/enquanto.js +15 -15
- package/fontes/declaracoes/escolha.d.ts +14 -14
- package/fontes/declaracoes/escolha.js +19 -19
- package/fontes/declaracoes/escreva-mesma-linha.d.ts +8 -8
- package/fontes/declaracoes/escreva-mesma-linha.js +14 -14
- package/fontes/declaracoes/escreva.d.ts +8 -8
- package/fontes/declaracoes/escreva.js +14 -14
- package/fontes/declaracoes/expressao.d.ts +8 -8
- package/fontes/declaracoes/expressao.js +14 -14
- package/fontes/declaracoes/fazer.d.ts +8 -8
- package/fontes/declaracoes/fazer.js +15 -15
- package/fontes/declaracoes/funcao.d.ts +9 -9
- package/fontes/declaracoes/funcao.js +15 -15
- package/fontes/declaracoes/importar.d.ts +9 -9
- package/fontes/declaracoes/importar.js +15 -15
- package/fontes/declaracoes/index.d.ts +19 -19
- package/fontes/declaracoes/index.js +35 -35
- package/fontes/declaracoes/leia.d.ts +12 -12
- package/fontes/declaracoes/leia.js +18 -18
- package/fontes/declaracoes/para.d.ts +10 -10
- package/fontes/declaracoes/para.js +17 -17
- package/fontes/declaracoes/retorna.d.ts +8 -8
- package/fontes/declaracoes/retorna.js +15 -15
- package/fontes/declaracoes/se.d.ts +11 -11
- package/fontes/declaracoes/se.js +17 -17
- package/fontes/declaracoes/sustar.d.ts +6 -6
- package/fontes/declaracoes/sustar.js +13 -13
- package/fontes/declaracoes/tente.d.ts +14 -14
- package/fontes/declaracoes/tente.js +20 -20
- package/fontes/declaracoes/var.d.ts +9 -9
- package/fontes/declaracoes/var.js +15 -15
- package/fontes/depuracao/cyrb53.d.ts +9 -9
- package/fontes/depuracao/cyrb53.js +22 -22
- package/fontes/depuracao/index.d.ts +2 -2
- package/fontes/depuracao/index.js +23 -23
- package/fontes/depuracao/ponto-parada.d.ts +4 -4
- package/fontes/depuracao/ponto-parada.js +2 -2
- package/fontes/espaco-variaveis.d.ts +19 -19
- package/fontes/espaco-variaveis.js +19 -19
- package/fontes/estruturas/chamavel.d.ts +5 -5
- package/fontes/estruturas/chamavel.js +12 -12
- package/fontes/estruturas/classe-padrao.d.ts +17 -17
- package/fontes/estruturas/classe-padrao.js +28 -28
- package/fontes/estruturas/delegua-classe.d.ts +16 -16
- package/fontes/estruturas/delegua-classe.js +38 -38
- package/fontes/estruturas/delegua-funcao.d.ts +18 -18
- package/fontes/estruturas/delegua-funcao.js +60 -60
- package/fontes/estruturas/funcao-padrao.d.ts +12 -12
- package/fontes/estruturas/funcao-padrao.js +22 -22
- package/fontes/estruturas/index.d.ts +9 -9
- package/fontes/estruturas/index.js +25 -25
- package/fontes/estruturas/metodo-primitiva.d.ts +17 -17
- package/fontes/estruturas/metodo-primitiva.js +26 -26
- package/fontes/estruturas/modulo.d.ts +9 -9
- package/fontes/estruturas/modulo.js +13 -13
- package/fontes/estruturas/objeto-delegua-classe.d.ts +10 -10
- package/fontes/estruturas/objeto-delegua-classe.js +26 -26
- package/fontes/estruturas/objeto-padrao.d.ts +9 -9
- package/fontes/estruturas/objeto-padrao.js +21 -21
- package/fontes/excecoes/erro-em-tempo-de-execucao.d.ts +7 -7
- package/fontes/excecoes/erro-em-tempo-de-execucao.js +13 -13
- package/fontes/excecoes/index.d.ts +1 -1
- package/fontes/excecoes/index.js +17 -17
- package/fontes/formatadores/delegua.d.ts +18 -18
- package/fontes/formatadores/delegua.js +82 -82
- package/fontes/formatadores/index.d.ts +1 -1
- package/fontes/formatadores/index.js +17 -17
- package/fontes/interfaces/avaliador-sintatico-interface.d.ts +57 -57
- package/fontes/interfaces/avaliador-sintatico-interface.js +2 -2
- package/fontes/interfaces/construtos/index.d.ts +4 -4
- package/fontes/interfaces/construtos/index.js +2 -2
- package/fontes/interfaces/escopo-execucao.d.ts +11 -11
- package/fontes/interfaces/escopo-execucao.js +2 -2
- package/fontes/interfaces/index.d.ts +11 -11
- package/fontes/interfaces/index.js +27 -27
- package/fontes/interfaces/interpretador-com-depuracao-interface.d.ts +17 -17
- package/fontes/interfaces/interpretador-com-depuracao-interface.js +2 -2
- package/fontes/interfaces/interpretador-interface.d.ts +55 -55
- package/fontes/interfaces/interpretador-interface.js +2 -2
- package/fontes/interfaces/lexador-interface.d.ts +23 -23
- package/fontes/interfaces/lexador-interface.js +2 -2
- package/fontes/interfaces/parametro-interface.d.ts +6 -6
- package/fontes/interfaces/parametro-interface.js +2 -2
- package/fontes/interfaces/pilha-escopos-execucao-interface.d.ts +25 -25
- package/fontes/interfaces/pilha-escopos-execucao-interface.js +2 -2
- package/fontes/interfaces/pilha-interface.d.ts +7 -7
- package/fontes/interfaces/pilha-interface.js +2 -2
- package/fontes/interfaces/resolvedor-interface.d.ts +41 -41
- package/fontes/interfaces/resolvedor-interface.js +2 -2
- package/fontes/interfaces/retornos/index.d.ts +4 -4
- package/fontes/interfaces/retornos/index.js +20 -20
- package/fontes/interfaces/retornos/retorno-avaliador-sintatico.d.ts +6 -6
- package/fontes/interfaces/retornos/retorno-avaliador-sintatico.js +2 -2
- package/fontes/interfaces/retornos/retorno-execucao-interface.d.ts +5 -5
- package/fontes/interfaces/retornos/retorno-execucao-interface.js +2 -2
- package/fontes/interfaces/retornos/retorno-interpretador.d.ts +5 -5
- package/fontes/interfaces/retornos/retorno-interpretador.js +2 -2
- package/fontes/interfaces/retornos/retorno-lexador.d.ts +10 -10
- package/fontes/interfaces/retornos/retorno-lexador.js +2 -2
- package/fontes/interfaces/simbolo-interface.d.ts +7 -7
- package/fontes/interfaces/simbolo-interface.js +2 -2
- package/fontes/interfaces/tradutor-interface.d.ts +4 -4
- package/fontes/interfaces/tradutor-interface.js +2 -2
- package/fontes/interfaces/variavel-interface.d.ts +4 -4
- package/fontes/interfaces/variavel-interface.js +2 -2
- package/fontes/interpretador/dialetos/egua-classico/index.d.ts +1 -1
- package/fontes/interpretador/dialetos/egua-classico/index.js +17 -17
- package/fontes/interpretador/dialetos/egua-classico/interpretador-egua-classico.d.ts +99 -99
- package/fontes/interpretador/dialetos/egua-classico/interpretador-egua-classico.js +743 -743
- package/fontes/interpretador/dialetos/egua-classico/resolvedor/erro-resolvedor.d.ts +5 -5
- package/fontes/interpretador/dialetos/egua-classico/resolvedor/erro-resolvedor.js +11 -11
- package/fontes/interpretador/dialetos/egua-classico/resolvedor/index.d.ts +3 -3
- package/fontes/interpretador/dialetos/egua-classico/resolvedor/index.js +19 -19
- package/fontes/interpretador/dialetos/egua-classico/resolvedor/pilha-escopos.d.ts +9 -9
- package/fontes/interpretador/dialetos/egua-classico/resolvedor/pilha-escopos.js +25 -25
- package/fontes/interpretador/dialetos/egua-classico/resolvedor/resolvedor.d.ts +87 -87
- package/fontes/interpretador/dialetos/egua-classico/resolvedor/resolvedor.js +387 -387
- package/fontes/interpretador/dialetos/egua-classico/resolvedor/retorno-resolvedor.d.ts +6 -6
- package/fontes/interpretador/dialetos/egua-classico/resolvedor/retorno-resolvedor.js +2 -2
- package/fontes/interpretador/dialetos/index.d.ts +4 -4
- package/fontes/interpretador/dialetos/index.js +20 -20
- package/fontes/interpretador/dialetos/portugol-studio/interpretador-portugol-studio.d.ts +12 -12
- package/fontes/interpretador/dialetos/portugol-studio/interpretador-portugol-studio.js +26 -26
- package/fontes/interpretador/dialetos/visualg/interpretador-visualg-com-depuracao.d.ts +40 -40
- package/fontes/interpretador/dialetos/visualg/interpretador-visualg-com-depuracao.js +96 -96
- package/fontes/interpretador/dialetos/visualg/interpretador-visualg.d.ts +53 -46
- package/fontes/interpretador/dialetos/visualg/interpretador-visualg.js +194 -102
- package/fontes/interpretador/dialetos/visualg/interpretador-visualg.js.map +1 -1
- package/fontes/interpretador/erro-interpretador.d.ts +8 -8
- package/fontes/interpretador/erro-interpretador.js +2 -2
- package/fontes/interpretador/index.d.ts +4 -4
- package/fontes/interpretador/index.js +20 -20
- package/fontes/interpretador/inferenciador.d.ts +1 -1
- package/fontes/interpretador/inferenciador.js +31 -31
- package/fontes/interpretador/interpretador-base.d.ts +186 -186
- package/fontes/interpretador/interpretador-base.js +1001 -1001
- package/fontes/interpretador/interpretador-com-depuracao.d.ts +199 -199
- package/fontes/interpretador/interpretador-com-depuracao.js +516 -516
- package/fontes/interpretador/pilha-escopos-execucao.d.ts +38 -38
- package/fontes/interpretador/pilha-escopos-execucao.js +158 -158
- package/fontes/lexador/dialetos/index.d.ts +6 -6
- package/fontes/lexador/dialetos/index.js +22 -22
- package/fontes/lexador/dialetos/lexador-birl.d.ts +12 -12
- package/fontes/lexador/dialetos/lexador-birl.js +211 -211
- package/fontes/lexador/dialetos/lexador-egua-classico.d.ts +36 -36
- package/fontes/lexador/dialetos/lexador-egua-classico.js +286 -286
- package/fontes/lexador/dialetos/lexador-eguap.d.ts +51 -51
- package/fontes/lexador/dialetos/lexador-eguap.js +398 -398
- package/fontes/lexador/dialetos/lexador-guarani.d.ts +9 -9
- package/fontes/lexador/dialetos/lexador-guarani.js +113 -113
- package/fontes/lexador/dialetos/lexador-portugol-ipt.d.ts +33 -33
- package/fontes/lexador/dialetos/lexador-portugol-ipt.js +195 -195
- package/fontes/lexador/dialetos/lexador-portugol-studio.d.ts +21 -21
- package/fontes/lexador/dialetos/lexador-portugol-studio.js +280 -280
- package/fontes/lexador/dialetos/lexador-visualg.d.ts +18 -18
- package/fontes/lexador/dialetos/lexador-visualg.js +218 -218
- package/fontes/lexador/dialetos/palavras-reservadas/birl.d.ts +46 -46
- package/fontes/lexador/dialetos/palavras-reservadas/birl.js +63 -63
- package/fontes/lexador/dialetos/palavras-reservadas/egua-classico.d.ts +36 -36
- package/fontes/lexador/dialetos/palavras-reservadas/egua-classico.js +41 -41
- package/fontes/lexador/dialetos/palavras-reservadas/guarani.d.ts +4 -4
- package/fontes/lexador/dialetos/palavras-reservadas/guarani.js +9 -9
- package/fontes/lexador/dialetos/palavras-reservadas/index.d.ts +3 -3
- package/fontes/lexador/dialetos/palavras-reservadas/index.js +19 -19
- package/fontes/lexador/dialetos/palavras-reservadas/portugol-ipt.d.ts +6 -6
- package/fontes/lexador/dialetos/palavras-reservadas/portugol-ipt.js +11 -11
- package/fontes/lexador/dialetos/palavras-reservadas/portugol-studio.d.ts +23 -23
- package/fontes/lexador/dialetos/palavras-reservadas/portugol-studio.js +28 -28
- package/fontes/lexador/dialetos/palavras-reservadas/rantiaquin.d.ts +2 -2
- package/fontes/lexador/dialetos/palavras-reservadas/rantiaquin.js +3 -3
- package/fontes/lexador/dialetos/palavras-reservadas/visualg.d.ts +60 -60
- package/fontes/lexador/dialetos/palavras-reservadas/visualg.js +65 -65
- package/fontes/lexador/dialetos/pragma.d.ts +8 -8
- package/fontes/lexador/dialetos/pragma.js +2 -2
- package/fontes/lexador/erro-lexador.d.ts +5 -5
- package/fontes/lexador/erro-lexador.js +2 -2
- package/fontes/lexador/index.d.ts +2 -2
- package/fontes/lexador/index.js +18 -18
- package/fontes/lexador/lexador-base-linha-unica.d.ts +28 -28
- package/fontes/lexador/lexador-base-linha-unica.js +82 -82
- package/fontes/lexador/lexador-base.d.ts +41 -41
- package/fontes/lexador/lexador-base.js +112 -112
- package/fontes/lexador/lexador.d.ts +43 -43
- package/fontes/lexador/lexador.js +412 -412
- package/fontes/lexador/palavras-reservadas.d.ts +36 -36
- package/fontes/lexador/palavras-reservadas.js +41 -41
- package/fontes/lexador/simbolo.d.ts +10 -10
- package/fontes/lexador/simbolo.js +16 -16
- package/fontes/quebras/index.d.ts +10 -10
- package/fontes/quebras/index.js +19 -19
- package/fontes/tipos-de-simbolos/birl.d.ts +71 -71
- package/fontes/tipos-de-simbolos/birl.js +78 -78
- package/fontes/tipos-de-simbolos/comum.d.ts +22 -22
- package/fontes/tipos-de-simbolos/comum.js +23 -23
- package/fontes/tipos-de-simbolos/delegua.d.ts +80 -80
- package/fontes/tipos-de-simbolos/delegua.js +81 -81
- package/fontes/tipos-de-simbolos/egua-classico.d.ts +77 -77
- package/fontes/tipos-de-simbolos/egua-classico.js +78 -78
- package/fontes/tipos-de-simbolos/eguap.d.ts +73 -73
- package/fontes/tipos-de-simbolos/eguap.js +74 -74
- package/fontes/tipos-de-simbolos/guarani.d.ts +14 -14
- package/fontes/tipos-de-simbolos/guarani.js +15 -15
- package/fontes/tipos-de-simbolos/portugol-ipt.d.ts +28 -28
- package/fontes/tipos-de-simbolos/portugol-ipt.js +29 -29
- package/fontes/tipos-de-simbolos/portugol-studio.d.ts +53 -53
- package/fontes/tipos-de-simbolos/portugol-studio.js +54 -54
- package/fontes/tipos-de-simbolos/rantiaquin.d.ts +2 -2
- package/fontes/tipos-de-simbolos/rantiaquin.js +3 -3
- package/fontes/tipos-de-simbolos/visualg.d.ts +68 -68
- package/fontes/tipos-de-simbolos/visualg.js +69 -69
- package/fontes/tradutores/dicionarios/dicionario-delegua-javascript.d.ts +2 -2
- package/fontes/tradutores/dicionarios/dicionario-delegua-javascript.js +10 -10
- package/fontes/tradutores/dicionarios/index.d.ts +1 -1
- package/fontes/tradutores/dicionarios/index.js +17 -17
- package/fontes/tradutores/index.d.ts +2 -2
- package/fontes/tradutores/index.js +18 -18
- package/fontes/tradutores/python/python3-lexer.d.ts +152 -152
- package/fontes/tradutores/python/python3-lexer.js +1226 -1226
- package/fontes/tradutores/python/python3-listener.d.ts +953 -953
- package/fontes/tradutores/python/python3-listener.js +2 -2
- package/fontes/tradutores/python/python3-parser.d.ts +1330 -1330
- package/fontes/tradutores/python/python3-parser.js +11156 -11156
- package/fontes/tradutores/python/python3-visitor.d.ts +612 -612
- package/fontes/tradutores/python/python3-visitor.js +2 -2
- package/fontes/tradutores/tradutor-javascript.d.ts +83 -83
- package/fontes/tradutores/tradutor-javascript.js +470 -470
- package/fontes/tradutores/tradutor-python.d.ts +1 -1
- package/fontes/tradutores/tradutor-python.js +34 -34
- package/fontes/tradutores/tradutor-reverso-javascript.d.ts +47 -47
- package/fontes/tradutores/tradutor-reverso-javascript.js +342 -342
- package/index.d.ts +5 -5
- package/index.js +23 -23
- package/package.json +88 -88
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { EspacoVariaveis } from '../espaco-variaveis';
|
|
2
|
-
import { Atribuir, Literal, Super } from '../construtos';
|
|
3
|
-
import { Bloco, Classe, Continua, Declaracao, Enquanto, Escolha, Escreva, Expressao, Fazer, FuncaoDeclaracao, Importar, Leia, Para, Retorna, Se, Sustar, Tente, Var } from '../declaracoes';
|
|
4
|
-
import { ContinuarQuebra, RetornoQuebra, SustarQuebra } from '../quebras';
|
|
5
|
-
import { PilhaEscoposExecucaoInterface } from './pilha-escopos-execucao-interface';
|
|
6
|
-
import { RetornoInterpretador } from './retornos/retorno-interpretador';
|
|
7
|
-
import { EscrevaMesmaLinha } from '../declaracoes/escreva-mesma-linha';
|
|
8
|
-
import { FormatacaoEscrita } from '../construtos/formatacao-escrita';
|
|
9
|
-
export interface InterpretadorInterface {
|
|
10
|
-
diretorioBase: any;
|
|
11
|
-
funcaoDeRetorno: Function;
|
|
12
|
-
pilhaEscoposExecucao: PilhaEscoposExecucaoInterface;
|
|
13
|
-
interfaceEntradaSaida: any;
|
|
14
|
-
visitarExpressaoLiteral(expressao: Literal): any;
|
|
15
|
-
avaliar(expressao: any): any;
|
|
16
|
-
visitarExpressaoAgrupamento(expressao: any): any;
|
|
17
|
-
visitarExpressaoUnaria(expressao: any): any;
|
|
18
|
-
visitarExpressaoBinaria(expressao: any): any;
|
|
19
|
-
visitarExpressaoDeChamada(expressao: any): any;
|
|
20
|
-
visitarDeclaracaoDeAtribuicao(expressao: Atribuir): any;
|
|
21
|
-
visitarExpressaoDeVariavel(expressao: any): any;
|
|
22
|
-
visitarDeclaracaoDeExpressao(declaracao: Expressao): any;
|
|
23
|
-
visitarExpressaoLeia(expressao: Leia): any;
|
|
24
|
-
visitarExpressaoLogica(expressao: any): any;
|
|
25
|
-
visitarDeclaracaoSe(declaracao: Se): any;
|
|
26
|
-
visitarDeclaracaoPara(declaracao: Para): any;
|
|
27
|
-
visitarDeclaracaoFazer(declaracao: Fazer): any;
|
|
28
|
-
visitarExpressaoFormatacaoEscrita(declaracao: FormatacaoEscrita): any;
|
|
29
|
-
visitarDeclaracaoEscolha(declaracao: Escolha): any;
|
|
30
|
-
visitarDeclaracaoTente(declaracao: Tente): any;
|
|
31
|
-
visitarDeclaracaoEnquanto(declaracao: Enquanto): any;
|
|
32
|
-
visitarDeclaracaoImportar(declaracao: Importar): any;
|
|
33
|
-
visitarDeclaracaoEscreva(declaracao: Escreva): any;
|
|
34
|
-
visitarExpressaoEscrevaMesmaLinha(declaracao: EscrevaMesmaLinha): any;
|
|
35
|
-
executarBloco(declaracoes: Declaracao[], ambiente?: EspacoVariaveis): Promise<any>;
|
|
36
|
-
visitarExpressaoBloco(declaracao: Bloco): Promise<any>;
|
|
37
|
-
visitarDeclaracaoVar(declaracao: Var): Promise<any>;
|
|
38
|
-
visitarExpressaoContinua(declaracao?: Continua): ContinuarQuebra;
|
|
39
|
-
visitarExpressaoSustar(declaracao?: Sustar): SustarQuebra;
|
|
40
|
-
visitarExpressaoRetornar(declaracao: Retorna): Promise<RetornoQuebra>;
|
|
41
|
-
visitarExpressaoDeleguaFuncao(expressao: any): any;
|
|
42
|
-
visitarExpressaoAtribuicaoSobrescrita(expressao: any): Promise<any>;
|
|
43
|
-
visitarExpressaoAcessoIndiceVariavel(expressao: any): any;
|
|
44
|
-
visitarExpressaoDefinirValor(expressao: any): any;
|
|
45
|
-
visitarDeclaracaoDefinicaoFuncao(declaracao: FuncaoDeclaracao): any;
|
|
46
|
-
visitarDeclaracaoClasse(declaracao: Classe): any;
|
|
47
|
-
visitarExpressaoAcessoMetodo(expressao: any): any;
|
|
48
|
-
visitarExpressaoIsto(expressao: any): any;
|
|
49
|
-
visitarExpressaoDicionario(expressao: any): any;
|
|
50
|
-
visitarExpressaoVetor(expressao: any): any;
|
|
51
|
-
visitarExpressaoSuper(expressao: Super): any;
|
|
52
|
-
paraTexto(objeto: any): any;
|
|
53
|
-
executar(declaracao: Declaracao, mostrarResultado: boolean): any;
|
|
54
|
-
interpretar(declaracoes: Declaracao[], manterAmbiente?: boolean): Promise<RetornoInterpretador>;
|
|
55
|
-
}
|
|
1
|
+
import { EspacoVariaveis } from '../espaco-variaveis';
|
|
2
|
+
import { Atribuir, Literal, Super } from '../construtos';
|
|
3
|
+
import { Bloco, Classe, Continua, Declaracao, Enquanto, Escolha, Escreva, Expressao, Fazer, FuncaoDeclaracao, Importar, Leia, Para, Retorna, Se, Sustar, Tente, Var } from '../declaracoes';
|
|
4
|
+
import { ContinuarQuebra, RetornoQuebra, SustarQuebra } from '../quebras';
|
|
5
|
+
import { PilhaEscoposExecucaoInterface } from './pilha-escopos-execucao-interface';
|
|
6
|
+
import { RetornoInterpretador } from './retornos/retorno-interpretador';
|
|
7
|
+
import { EscrevaMesmaLinha } from '../declaracoes/escreva-mesma-linha';
|
|
8
|
+
import { FormatacaoEscrita } from '../construtos/formatacao-escrita';
|
|
9
|
+
export interface InterpretadorInterface {
|
|
10
|
+
diretorioBase: any;
|
|
11
|
+
funcaoDeRetorno: Function;
|
|
12
|
+
pilhaEscoposExecucao: PilhaEscoposExecucaoInterface;
|
|
13
|
+
interfaceEntradaSaida: any;
|
|
14
|
+
visitarExpressaoLiteral(expressao: Literal): any;
|
|
15
|
+
avaliar(expressao: any): any;
|
|
16
|
+
visitarExpressaoAgrupamento(expressao: any): any;
|
|
17
|
+
visitarExpressaoUnaria(expressao: any): any;
|
|
18
|
+
visitarExpressaoBinaria(expressao: any): any;
|
|
19
|
+
visitarExpressaoDeChamada(expressao: any): any;
|
|
20
|
+
visitarDeclaracaoDeAtribuicao(expressao: Atribuir): any;
|
|
21
|
+
visitarExpressaoDeVariavel(expressao: any): any;
|
|
22
|
+
visitarDeclaracaoDeExpressao(declaracao: Expressao): any;
|
|
23
|
+
visitarExpressaoLeia(expressao: Leia): any;
|
|
24
|
+
visitarExpressaoLogica(expressao: any): any;
|
|
25
|
+
visitarDeclaracaoSe(declaracao: Se): any;
|
|
26
|
+
visitarDeclaracaoPara(declaracao: Para): any;
|
|
27
|
+
visitarDeclaracaoFazer(declaracao: Fazer): any;
|
|
28
|
+
visitarExpressaoFormatacaoEscrita(declaracao: FormatacaoEscrita): any;
|
|
29
|
+
visitarDeclaracaoEscolha(declaracao: Escolha): any;
|
|
30
|
+
visitarDeclaracaoTente(declaracao: Tente): any;
|
|
31
|
+
visitarDeclaracaoEnquanto(declaracao: Enquanto): any;
|
|
32
|
+
visitarDeclaracaoImportar(declaracao: Importar): any;
|
|
33
|
+
visitarDeclaracaoEscreva(declaracao: Escreva): any;
|
|
34
|
+
visitarExpressaoEscrevaMesmaLinha(declaracao: EscrevaMesmaLinha): any;
|
|
35
|
+
executarBloco(declaracoes: Declaracao[], ambiente?: EspacoVariaveis): Promise<any>;
|
|
36
|
+
visitarExpressaoBloco(declaracao: Bloco): Promise<any>;
|
|
37
|
+
visitarDeclaracaoVar(declaracao: Var): Promise<any>;
|
|
38
|
+
visitarExpressaoContinua(declaracao?: Continua): ContinuarQuebra;
|
|
39
|
+
visitarExpressaoSustar(declaracao?: Sustar): SustarQuebra;
|
|
40
|
+
visitarExpressaoRetornar(declaracao: Retorna): Promise<RetornoQuebra>;
|
|
41
|
+
visitarExpressaoDeleguaFuncao(expressao: any): any;
|
|
42
|
+
visitarExpressaoAtribuicaoSobrescrita(expressao: any): Promise<any>;
|
|
43
|
+
visitarExpressaoAcessoIndiceVariavel(expressao: any): any;
|
|
44
|
+
visitarExpressaoDefinirValor(expressao: any): any;
|
|
45
|
+
visitarDeclaracaoDefinicaoFuncao(declaracao: FuncaoDeclaracao): any;
|
|
46
|
+
visitarDeclaracaoClasse(declaracao: Classe): any;
|
|
47
|
+
visitarExpressaoAcessoMetodo(expressao: any): any;
|
|
48
|
+
visitarExpressaoIsto(expressao: any): any;
|
|
49
|
+
visitarExpressaoDicionario(expressao: any): any;
|
|
50
|
+
visitarExpressaoVetor(expressao: any): any;
|
|
51
|
+
visitarExpressaoSuper(expressao: Super): any;
|
|
52
|
+
paraTexto(objeto: any): any;
|
|
53
|
+
executar(declaracao: Declaracao, mostrarResultado: boolean): any;
|
|
54
|
+
interpretar(declaracoes: Declaracao[], manterAmbiente?: boolean): Promise<RetornoInterpretador>;
|
|
55
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=interpretador-interface.js.map
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { RetornoLexador } from './retornos/retorno-lexador';
|
|
2
|
-
import { SimboloInterface } from './simbolo-interface';
|
|
3
|
-
export interface LexadorInterface {
|
|
4
|
-
simbolos: SimboloInterface[];
|
|
5
|
-
codigo: string | string[];
|
|
6
|
-
inicioSimbolo: number;
|
|
7
|
-
atual: number;
|
|
8
|
-
linha: number;
|
|
9
|
-
eDigito(caractere: string): boolean;
|
|
10
|
-
eAlfabeto(caractere: string): boolean;
|
|
11
|
-
eAlfabetoOuDigito(caractere: string): boolean;
|
|
12
|
-
eFinalDoCodigo(): boolean;
|
|
13
|
-
avancar(): string | void;
|
|
14
|
-
adicionarSimbolo(tipo: any, literal: any): void;
|
|
15
|
-
simboloAtual(): string;
|
|
16
|
-
proximoSimbolo(): string;
|
|
17
|
-
simboloAnterior(): string;
|
|
18
|
-
analisarTexto(delimitador: string): void;
|
|
19
|
-
analisarNumero(): void;
|
|
20
|
-
identificarPalavraChave(): void;
|
|
21
|
-
analisarToken(): void;
|
|
22
|
-
mapear(codigo: string[], hashArquivo: number): RetornoLexador;
|
|
23
|
-
}
|
|
1
|
+
import { RetornoLexador } from './retornos/retorno-lexador';
|
|
2
|
+
import { SimboloInterface } from './simbolo-interface';
|
|
3
|
+
export interface LexadorInterface {
|
|
4
|
+
simbolos: SimboloInterface[];
|
|
5
|
+
codigo: string | string[];
|
|
6
|
+
inicioSimbolo: number;
|
|
7
|
+
atual: number;
|
|
8
|
+
linha: number;
|
|
9
|
+
eDigito(caractere: string): boolean;
|
|
10
|
+
eAlfabeto(caractere: string): boolean;
|
|
11
|
+
eAlfabetoOuDigito(caractere: string): boolean;
|
|
12
|
+
eFinalDoCodigo(): boolean;
|
|
13
|
+
avancar(): string | void;
|
|
14
|
+
adicionarSimbolo(tipo: any, literal: any): void;
|
|
15
|
+
simboloAtual(): string;
|
|
16
|
+
proximoSimbolo(): string;
|
|
17
|
+
simboloAnterior(): string;
|
|
18
|
+
analisarTexto(delimitador: string): void;
|
|
19
|
+
analisarNumero(): void;
|
|
20
|
+
identificarPalavraChave(): void;
|
|
21
|
+
analisarToken(): void;
|
|
22
|
+
mapear(codigo: string[], hashArquivo: number): RetornoLexador;
|
|
23
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=lexador-interface.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SimboloInterface } from './simbolo-interface';
|
|
2
|
-
export interface ParametroInterface {
|
|
3
|
-
abrangencia: 'padrao' | 'multiplo';
|
|
4
|
-
nome: SimboloInterface;
|
|
5
|
-
valorPadrao?: any;
|
|
6
|
-
}
|
|
1
|
+
import { SimboloInterface } from './simbolo-interface';
|
|
2
|
+
export interface ParametroInterface {
|
|
3
|
+
abrangencia: 'padrao' | 'multiplo';
|
|
4
|
+
nome: SimboloInterface;
|
|
5
|
+
valorPadrao?: any;
|
|
6
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=parametro-interface.js.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { DeleguaFuncao } from '../estruturas';
|
|
2
|
-
import { EscopoExecucao } from './escopo-execucao';
|
|
3
|
-
import { PilhaInterface } from './pilha-interface';
|
|
4
|
-
import { SimboloInterface } from './simbolo-interface';
|
|
5
|
-
import { VariavelInterface } from './variavel-interface';
|
|
6
|
-
export interface PilhaEscoposExecucaoInterface extends PilhaInterface<EscopoExecucao> {
|
|
7
|
-
atribuirVariavel(simbolo: SimboloInterface, valor: any): void;
|
|
8
|
-
atribuirVariavelEm(distancia: number, simbolo: SimboloInterface, valor: any): void;
|
|
9
|
-
definirVariavel(nomeVariavel: string, valor: any): void;
|
|
10
|
-
elementos(): number;
|
|
11
|
-
naPosicao(posicao: number): EscopoExecucao;
|
|
12
|
-
obterEscopoPorTipo(idChamada: string): EscopoExecucao | undefined;
|
|
13
|
-
obterTodasVariaveis(todasVariaveis: any[]): {
|
|
14
|
-
valor: any;
|
|
15
|
-
nome: string;
|
|
16
|
-
tipo: string;
|
|
17
|
-
}[];
|
|
18
|
-
obterValorVariavel(simbolo: SimboloInterface): VariavelInterface;
|
|
19
|
-
obterVariavelEm(distancia: number, nome: string): VariavelInterface;
|
|
20
|
-
obterVariavelPorNome(nome: string): VariavelInterface;
|
|
21
|
-
obterTodasDeclaracaoClasse(): any;
|
|
22
|
-
obterTodasDeleguaFuncao(): {
|
|
23
|
-
[nome: string]: DeleguaFuncao;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
1
|
+
import { DeleguaFuncao } from '../estruturas';
|
|
2
|
+
import { EscopoExecucao } from './escopo-execucao';
|
|
3
|
+
import { PilhaInterface } from './pilha-interface';
|
|
4
|
+
import { SimboloInterface } from './simbolo-interface';
|
|
5
|
+
import { VariavelInterface } from './variavel-interface';
|
|
6
|
+
export interface PilhaEscoposExecucaoInterface extends PilhaInterface<EscopoExecucao> {
|
|
7
|
+
atribuirVariavel(simbolo: SimboloInterface, valor: any): void;
|
|
8
|
+
atribuirVariavelEm(distancia: number, simbolo: SimboloInterface, valor: any): void;
|
|
9
|
+
definirVariavel(nomeVariavel: string, valor: any): void;
|
|
10
|
+
elementos(): number;
|
|
11
|
+
naPosicao(posicao: number): EscopoExecucao;
|
|
12
|
+
obterEscopoPorTipo(idChamada: string): EscopoExecucao | undefined;
|
|
13
|
+
obterTodasVariaveis(todasVariaveis: any[]): {
|
|
14
|
+
valor: any;
|
|
15
|
+
nome: string;
|
|
16
|
+
tipo: string;
|
|
17
|
+
}[];
|
|
18
|
+
obterValorVariavel(simbolo: SimboloInterface): VariavelInterface;
|
|
19
|
+
obterVariavelEm(distancia: number, nome: string): VariavelInterface;
|
|
20
|
+
obterVariavelPorNome(nome: string): VariavelInterface;
|
|
21
|
+
obterTodasDeclaracaoClasse(): any;
|
|
22
|
+
obterTodasDeleguaFuncao(): {
|
|
23
|
+
[nome: string]: DeleguaFuncao;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=pilha-escopos-execucao-interface.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface PilhaInterface<T> {
|
|
2
|
-
pilha: Array<T>;
|
|
3
|
-
empilhar(item: T): void;
|
|
4
|
-
eVazio(): boolean;
|
|
5
|
-
topoDaPilha(): T;
|
|
6
|
-
removerUltimo(): T;
|
|
7
|
-
}
|
|
1
|
+
export interface PilhaInterface<T> {
|
|
2
|
+
pilha: Array<T>;
|
|
3
|
+
empilhar(item: T): void;
|
|
4
|
+
eVazio(): boolean;
|
|
5
|
+
topoDaPilha(): T;
|
|
6
|
+
removerUltimo(): T;
|
|
7
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=pilha-interface.js.map
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { Construto } from '../construtos';
|
|
2
|
-
import { ErroResolvedor } from '../interpretador/dialetos/egua-classico/resolvedor/erro-resolvedor';
|
|
3
|
-
import { PilhaEscopos } from '../interpretador/dialetos/egua-classico/resolvedor/pilha-escopos';
|
|
4
|
-
import { RetornoResolvedor } from '../interpretador/dialetos/egua-classico/resolvedor/retorno-resolvedor';
|
|
5
|
-
import { SimboloInterface } from './simbolo-interface';
|
|
6
|
-
export interface ResolvedorInterface {
|
|
7
|
-
erros: ErroResolvedor[];
|
|
8
|
-
escopos: PilhaEscopos;
|
|
9
|
-
locais: Map<Construto, number>;
|
|
10
|
-
funcaoAtual: any;
|
|
11
|
-
classeAtual: any;
|
|
12
|
-
cicloAtual: any;
|
|
13
|
-
definir(simbolo: SimboloInterface): void;
|
|
14
|
-
declarar(simbolo: SimboloInterface): void;
|
|
15
|
-
inicioDoEscopo(): void;
|
|
16
|
-
finalDoEscopo(): void;
|
|
17
|
-
resolver(declaracoes: any): RetornoResolvedor;
|
|
18
|
-
resolverLocal(expressao: any, nome: any): void;
|
|
19
|
-
visitarExpressaoBloco(declaracao: any): any;
|
|
20
|
-
visitarExpressaoDeVariavel(expressao: any): any;
|
|
21
|
-
resolverFuncao(funcao: any, funcType: any): void;
|
|
22
|
-
visitarExpressaoDeleguaFuncao(declaracao: any): any;
|
|
23
|
-
visitarExpressaoSuper(expressao: any): any;
|
|
24
|
-
visitarExpressaoAcessoMetodo(expressao: any): any;
|
|
25
|
-
visitarDeclaracaoDeExpressao(declaracao: any): any;
|
|
26
|
-
visitarExpressaoRetornar(declaracao: any): any;
|
|
27
|
-
visitarExpressaoBinaria(expressao: any): any;
|
|
28
|
-
visitarExpressaoDeChamada(expressao: any): any;
|
|
29
|
-
visitarExpressaoAgrupamento(expressao: any): any;
|
|
30
|
-
visitarExpressaoDicionario(expressao: any): any;
|
|
31
|
-
visitarExpressaoVetor(expressao: any): any;
|
|
32
|
-
visitarExpressaoAcessoIndiceVariavel(expressao: any): any;
|
|
33
|
-
visitarExpressaoContinua(declaracao?: any): any;
|
|
34
|
-
visitarExpressaoSustar(declaracao?: any): any;
|
|
35
|
-
visitarExpressaoAtribuicaoSobrescrita(expressao?: any): any;
|
|
36
|
-
visitarExpressaoLiteral(expressao?: any): any;
|
|
37
|
-
visitarExpressaoLogica(expressao?: any): any;
|
|
38
|
-
visitarExpressaoUnaria(expressao?: any): any;
|
|
39
|
-
visitarExpressaoDefinirValor(expressao?: any): any;
|
|
40
|
-
visitarExpressaoIsto(expressao?: any): any;
|
|
41
|
-
}
|
|
1
|
+
import { Construto } from '../construtos';
|
|
2
|
+
import { ErroResolvedor } from '../interpretador/dialetos/egua-classico/resolvedor/erro-resolvedor';
|
|
3
|
+
import { PilhaEscopos } from '../interpretador/dialetos/egua-classico/resolvedor/pilha-escopos';
|
|
4
|
+
import { RetornoResolvedor } from '../interpretador/dialetos/egua-classico/resolvedor/retorno-resolvedor';
|
|
5
|
+
import { SimboloInterface } from './simbolo-interface';
|
|
6
|
+
export interface ResolvedorInterface {
|
|
7
|
+
erros: ErroResolvedor[];
|
|
8
|
+
escopos: PilhaEscopos;
|
|
9
|
+
locais: Map<Construto, number>;
|
|
10
|
+
funcaoAtual: any;
|
|
11
|
+
classeAtual: any;
|
|
12
|
+
cicloAtual: any;
|
|
13
|
+
definir(simbolo: SimboloInterface): void;
|
|
14
|
+
declarar(simbolo: SimboloInterface): void;
|
|
15
|
+
inicioDoEscopo(): void;
|
|
16
|
+
finalDoEscopo(): void;
|
|
17
|
+
resolver(declaracoes: any): RetornoResolvedor;
|
|
18
|
+
resolverLocal(expressao: any, nome: any): void;
|
|
19
|
+
visitarExpressaoBloco(declaracao: any): any;
|
|
20
|
+
visitarExpressaoDeVariavel(expressao: any): any;
|
|
21
|
+
resolverFuncao(funcao: any, funcType: any): void;
|
|
22
|
+
visitarExpressaoDeleguaFuncao(declaracao: any): any;
|
|
23
|
+
visitarExpressaoSuper(expressao: any): any;
|
|
24
|
+
visitarExpressaoAcessoMetodo(expressao: any): any;
|
|
25
|
+
visitarDeclaracaoDeExpressao(declaracao: any): any;
|
|
26
|
+
visitarExpressaoRetornar(declaracao: any): any;
|
|
27
|
+
visitarExpressaoBinaria(expressao: any): any;
|
|
28
|
+
visitarExpressaoDeChamada(expressao: any): any;
|
|
29
|
+
visitarExpressaoAgrupamento(expressao: any): any;
|
|
30
|
+
visitarExpressaoDicionario(expressao: any): any;
|
|
31
|
+
visitarExpressaoVetor(expressao: any): any;
|
|
32
|
+
visitarExpressaoAcessoIndiceVariavel(expressao: any): any;
|
|
33
|
+
visitarExpressaoContinua(declaracao?: any): any;
|
|
34
|
+
visitarExpressaoSustar(declaracao?: any): any;
|
|
35
|
+
visitarExpressaoAtribuicaoSobrescrita(expressao?: any): any;
|
|
36
|
+
visitarExpressaoLiteral(expressao?: any): any;
|
|
37
|
+
visitarExpressaoLogica(expressao?: any): any;
|
|
38
|
+
visitarExpressaoUnaria(expressao?: any): any;
|
|
39
|
+
visitarExpressaoDefinirValor(expressao?: any): any;
|
|
40
|
+
visitarExpressaoIsto(expressao?: any): any;
|
|
41
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=resolvedor-interface.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './retorno-avaliador-sintatico';
|
|
2
|
-
export * from './retorno-execucao-interface';
|
|
3
|
-
export * from './retorno-interpretador';
|
|
4
|
-
export * from './retorno-lexador';
|
|
1
|
+
export * from './retorno-avaliador-sintatico';
|
|
2
|
+
export * from './retorno-execucao-interface';
|
|
3
|
+
export * from './retorno-interpretador';
|
|
4
|
+
export * from './retorno-lexador';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./retorno-avaliador-sintatico"), exports);
|
|
18
|
-
__exportStar(require("./retorno-execucao-interface"), exports);
|
|
19
|
-
__exportStar(require("./retorno-interpretador"), exports);
|
|
20
|
-
__exportStar(require("./retorno-lexador"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./retorno-avaliador-sintatico"), exports);
|
|
18
|
+
__exportStar(require("./retorno-execucao-interface"), exports);
|
|
19
|
+
__exportStar(require("./retorno-interpretador"), exports);
|
|
20
|
+
__exportStar(require("./retorno-lexador"), exports);
|
|
21
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Declaracao } from '../../declaracoes';
|
|
2
|
-
import { ErroAvaliadorSintatico } from '../../avaliador-sintatico/erro-avaliador-sintatico';
|
|
3
|
-
export interface RetornoAvaliadorSintatico {
|
|
4
|
-
declaracoes: Declaracao[];
|
|
5
|
-
erros: ErroAvaliadorSintatico[];
|
|
6
|
-
}
|
|
1
|
+
import { Declaracao } from '../../declaracoes';
|
|
2
|
+
import { ErroAvaliadorSintatico } from '../../avaliador-sintatico/erro-avaliador-sintatico';
|
|
3
|
+
export interface RetornoAvaliadorSintatico {
|
|
4
|
+
declaracoes: Declaracao[];
|
|
5
|
+
erros: ErroAvaliadorSintatico[];
|
|
6
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=retorno-avaliador-sintatico.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ErroInterpretador } from '../../interpretador';
|
|
2
|
-
export interface RetornoExecucaoInterface {
|
|
3
|
-
erros: Array<ErroInterpretador>;
|
|
4
|
-
resultado: Array<string>;
|
|
5
|
-
}
|
|
1
|
+
import { ErroInterpretador } from '../../interpretador';
|
|
2
|
+
export interface RetornoExecucaoInterface {
|
|
3
|
+
erros: Array<ErroInterpretador>;
|
|
4
|
+
resultado: Array<string>;
|
|
5
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=retorno-execucao-interface.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ErroInterpretador } from '../../interpretador/erro-interpretador';
|
|
2
|
-
export interface RetornoInterpretador {
|
|
3
|
-
erros: ErroInterpretador[];
|
|
4
|
-
resultado: string[];
|
|
5
|
-
}
|
|
1
|
+
import { ErroInterpretador } from '../../interpretador/erro-interpretador';
|
|
2
|
+
export interface RetornoInterpretador {
|
|
3
|
+
erros: ErroInterpretador[];
|
|
4
|
+
resultado: string[];
|
|
5
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=retorno-interpretador.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { SimboloInterface } from '..';
|
|
2
|
-
import { Pragma } from '../../lexador/dialetos/pragma';
|
|
3
|
-
import { ErroLexador } from '../../lexador/erro-lexador';
|
|
4
|
-
export interface RetornoLexador {
|
|
5
|
-
simbolos: SimboloInterface[];
|
|
6
|
-
erros: ErroLexador[];
|
|
7
|
-
pragmas?: {
|
|
8
|
-
[linha: number]: Pragma;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
1
|
+
import { SimboloInterface } from '..';
|
|
2
|
+
import { Pragma } from '../../lexador/dialetos/pragma';
|
|
3
|
+
import { ErroLexador } from '../../lexador/erro-lexador';
|
|
4
|
+
export interface RetornoLexador {
|
|
5
|
+
simbolos: SimboloInterface[];
|
|
6
|
+
erros: ErroLexador[];
|
|
7
|
+
pragmas?: {
|
|
8
|
+
[linha: number]: Pragma;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=retorno-lexador.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface SimboloInterface {
|
|
2
|
-
lexema: string;
|
|
3
|
-
tipo: string;
|
|
4
|
-
literal: string;
|
|
5
|
-
linha: number;
|
|
6
|
-
hashArquivo: number;
|
|
7
|
-
}
|
|
1
|
+
export interface SimboloInterface {
|
|
2
|
+
lexema: string;
|
|
3
|
+
tipo: string;
|
|
4
|
+
literal: string;
|
|
5
|
+
linha: number;
|
|
6
|
+
hashArquivo: number;
|
|
7
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=simbolo-interface.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Declaracao } from '../declaracoes';
|
|
2
|
-
export interface TradutorInterface {
|
|
3
|
-
traduzir(declaracoes: Declaracao[]): any;
|
|
4
|
-
}
|
|
1
|
+
import { Declaracao } from '../declaracoes';
|
|
2
|
+
export interface TradutorInterface {
|
|
3
|
+
traduzir(declaracoes: Declaracao[]): any;
|
|
4
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=tradutor-interface.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface VariavelInterface {
|
|
2
|
-
valor: any;
|
|
3
|
-
tipo: 'texto' | 'número' | 'longo' | 'vetor' | 'dicionário' | 'nulo' | 'lógico' | 'função' | 'símbolo' | 'objeto' | 'módulo';
|
|
4
|
-
}
|
|
1
|
+
export interface VariavelInterface {
|
|
2
|
+
valor: any;
|
|
3
|
+
tipo: 'texto' | 'número' | 'longo' | 'vetor' | 'dicionário' | 'nulo' | 'lógico' | 'função' | 'símbolo' | 'objeto' | 'módulo';
|
|
4
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=variavel-interface.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './interpretador-egua-classico';
|
|
1
|
+
export * from './interpretador-egua-classico';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./interpretador-egua-classico"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./interpretador-egua-classico"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|