Example #1
0
 public string VisitGroupingExpr(Expr.Grouping expr)
 => Parenthesize("group", expr.Expression);
Example #2
0
 object Expr.IVisitor <object> .Visit(Expr.Grouping _grouping)
 {
     return(Evaluate(_grouping.expression));
 }
Example #3
0
 public object visitGroupingExpr(Expr.Grouping expr)
 {
     return(evaluate(expr.expression));
 }
Example #4
0
 public string VisitGroupingExpr(Expr.Grouping expr)
 {
     return(Parenthesize("group", expr.expression));
 }
Example #5
0
 string Expr.IVisitor <string> .Visit(Expr.Grouping _grouping)
 {
     return(Parenthesize("group", _grouping.expression));
 }
Example #6
0
 public object visitGroupingExpr(Expr.Grouping grouping)
 {
     resolve(grouping.expression);
     return(null);
 }
Example #7
0
 public object VisitGroupingExpr(Expr.Grouping expr)
 => Evaluate(expr.Expression);
Example #8
0
 public object VisitGroupingExpr(Expr.Grouping expr)
 {
     Resolve(expr.expression);
     return(null);
 }
Example #9
0
 public string visitGroupingExpr(Expr.Grouping expr)
 {
     return(parenthesize("group", new Expr[] { expr.expression }));
 }
Example #10
0
 public Void VisitGroupingExpr(Expr.Grouping expr)
 {
     Resolve(expr.Expression);
     return(null);
 }
Example #11
0
 public object visitGroupingExpr(Expr.Grouping grouping)
 {
     return(evaluate(grouping.expression));
 }
Example #12
0
        public object Visit(Expr.Grouping _grouping)
        {
            Resolve(_grouping.expression);

            return(null);
        }