Пример #1
0
 public object VisitCallExpr(Expr.Call expr)
 {
     throw new NotImplementedException();
 }
Пример #2
0
        public string VisitCallExpr(Expr.Call expr)
        {
            string arguments = string.Join(", ", expr.Arguments.Select(e => PrintExpr(e)));

            return($"{PrintExpr(expr.Callee)}({arguments})");
        }