1 29 30 package com.caucho.quercus.program; 31 32 import com.caucho.quercus.env.Env; 33 import com.caucho.quercus.env.Value; 34 import com.caucho.quercus.expr.Expr; 35 import com.caucho.util.L10N; 36 37 import java.util.logging.Logger ; 38 39 42 abstract public class CompiledFunction_0 extends CompiledFunction { 43 private static final Logger log 44 = Logger.getLogger(CompiledFunction_0.class.getName()); 45 private static final L10N L = new L10N(CompiledFunction_0.class); 46 47 private String _name; 48 49 public CompiledFunction_0(String name) 50 { 51 _name = name; 52 } 53 54 60 public Expr []bindArguments(Env env, Expr fun, Expr []args) 61 { 62 if (args.length > 0) 63 log.fine(L.l(env.getLocation().getMessagePrefix() + "too many arguments" + env.getFunctionLocation())); 64 65 return args; 66 } 67 68 public Value call(Env env, Value []argValues) 69 { 70 return call(env); 71 } 72 73 public String toString() 74 { 75 return "CompiledFunction_0[" + _name + "]"; 76 } 77 } 78 79 | Popular Tags |