Exemple #1
0
 public Void VisitLogicalExpr(Expr.Logical expr)
 {
     Resolve(expr.Left);
     Resolve(expr.Right);
     return(null);
 }
Exemple #2
0
 public string VisitLogicalExpr(Expr.Logical expr)
 {
     return(Parenthesize(expr.op.lexeme, expr.left, expr.right));
 }