Skip to content

Commit

Permalink
Comenta console.logs usados para debug
Browse files Browse the repository at this point in the history
  • Loading branch information
VitBrandao committed Feb 17, 2025
1 parent c9f5a90 commit 2431681
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion execucao.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const principal = () => {
}

if (opcoes.console) {
console.log(resultadoTraducao);
// console.log(resultadoTraducao);
return;
}

Expand Down
3 changes: 1 addition & 2 deletions fontes/avaliador-sintatico/avaliador-sintatico.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,6 @@ export class AvaliadorSintatico implements AvaliadorSintaticoInterface {

protected seletorPorVariavel(): Seletor {
// console.log(this.simbolos[this.atual]);
console.log(this.simbolos[this.atual]);

while (this.simbolos[this.atual].tipo !== tiposDeSimbolos.PONTO_E_VIRGULA) {
// const valorModificador = this.avancarEDevolverAnterior();
Expand All @@ -1167,7 +1166,7 @@ export class AvaliadorSintatico implements AvaliadorSintaticoInterface {
tiposDeSimbolos.DOIS_PONTOS,
"Esperado ':' após nome do modificador."
);
console.log('até aqui chegamos');
// console.log('até aqui chegamos');

switch(this.simbolos[this.atual].tipo) {
case tiposDeSimbolos.METODO:
Expand Down
4 changes: 3 additions & 1 deletion fontes/foles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ export class FolEs {
*/
private converterParaCssInterno(simbolos: SimboloInterface[]): string {
const resultadoAvaliadorSintatico = this.avaliadorSintatico.analisar(simbolos);

// console.log(resultadoAvaliadorSintatico[0].seletores);

const traducao = this.serializador.serializar(resultadoAvaliadorSintatico);
return traducao;
}
Expand All @@ -64,6 +65,7 @@ export class FolEs {
converterParaCss(nomeArquivo: string): string {
const resultadoLexador: [string[], ResultadoLexadorInterface] =
this.importador.importar(nomeArquivo, true);
// console.log(resultadoLexador[1].simbolos);

return this.converterParaCssInterno(resultadoLexador[1].simbolos);
}
Expand Down

0 comments on commit 2431681

Please sign in to comment.