Exemplo n.º 1
0
 public override void Visit(LogiExpression n)
 {
     n.childe1.accept(this);
     emit($" {n.operation} ");
     n.childe2?.accept(this);
 }
Exemplo n.º 2
0
 public override void Visit(LogiExpression n)
 {
     n.childe1.accept(this);
     n.childe2?.accept(this);
 }
Exemplo n.º 3
0
 public override void Visit(LogiExpression n)
 {
     n.childe1.accept(this);
     n.childe2?.accept(this);
     n.type = AST.BOOLEAN;
 }