Skip to content

Commit c9d1ead

Browse files
Primeiro parâmetro passa a ser reservado para o interpretador Delégua.
1 parent 329b7c0 commit c9d1ead

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

fontes/lincones-sqlite.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@ export class LinconesSQLite {
1717
this.clienteSQLite = new ClienteSQLite();
1818
}
1919

20-
async executar(comando: string): Promise<RetornoComando> {
20+
/**
21+
*
22+
* @param _ Normalmente a instância do interpretador Delégua.
23+
* @param comando
24+
* @returns
25+
*/
26+
async executar(_: any, comando: string): Promise<RetornoComando> {
2127
const resultadoLexador = this.lexador.mapear([comando]);
2228
const resultadoAvaliacaoSintatica = this.avaliadorSintatico.analisar(resultadoLexador);
2329
const resultadoTraducao = this.tradutor.traduzir(resultadoAvaliacaoSintatica.comandos);

0 commit comments

Comments
 (0)