private Expr Expression() { Expr expr = Assignment(); while (Match(COMMA)) { Expr right = Assignment(); expr = new Expr.Comma(expr, right); } return(expr); }
public object VisitCommaExpr(Expr.Comma expr) { Evaluate(expr.left); return(Evaluate(expr.right)); }
public object VisitCommaExpr(Expr.Comma expr) { Resolve(expr.left); Resolve(expr.right); return(null); }
public string VisitCommaExpr(Expr.Comma expr) { return(Parenthesize("comma", expr.left, expr.right)); }