Package com.caucho.quercus.function

Examples of com.caucho.quercus.function.AbstractFunction.callMethodRef()


   
    try {
      AbstractFunction fun = _methodMap.get(hash, name, nameLen);

      if (fun != null)
        return fun.callMethodRef(env, this, a1, a2);
      else if ((fun = _quercusClass.getCall()) != null) {
        return fun.callMethodRef(env,
                     this,
                     env.createString(name, nameLen),
                     new ArrayValueImpl()
View Full Code Here


      AbstractFunction fun = _methodMap.get(hash, name, nameLen);

      if (fun != null)
        return fun.callMethodRef(env, this, a1, a2);
      else if ((fun = _quercusClass.getCall()) != null) {
        return fun.callMethodRef(env,
                     this,
                     env.createString(name, nameLen),
                     new ArrayValueImpl()
                     .append(a1)
                     .append(a2));
View Full Code Here

   
    try {
      AbstractFunction fun = _methodMap.get(hash, name, nameLen);

      if (fun != null)
        return fun.callMethodRef(env, this, a1, a2, a3);
      else if ((fun = _quercusClass.getCall()) != null) {
        return fun.callMethodRef(env,
                     this,
                     env.createString(name, nameLen),
                     new ArrayValueImpl()
View Full Code Here

      AbstractFunction fun = _methodMap.get(hash, name, nameLen);

      if (fun != null)
        return fun.callMethodRef(env, this, a1, a2, a3);
      else if ((fun = _quercusClass.getCall()) != null) {
        return fun.callMethodRef(env,
                     this,
                     env.createString(name, nameLen),
                     new ArrayValueImpl()
                     .append(a1)
                     .append(a2)
View Full Code Here

   
    try {
      AbstractFunction fun = _methodMap.get(hash, name, nameLen);

      if (fun != null)
        return fun.callMethodRef(env, this, a1, a2, a3, a4);
      else if ((fun = _quercusClass.getCall()) != null) {
        return fun.callMethodRef(env,
                     this,
                     env.createString(name, nameLen),
                     new ArrayValueImpl()
View Full Code Here

      AbstractFunction fun = _methodMap.get(hash, name, nameLen);

      if (fun != null)
        return fun.callMethodRef(env, this, a1, a2, a3, a4);
      else if ((fun = _quercusClass.getCall()) != null) {
        return fun.callMethodRef(env,
                     this,
                     env.createString(name, nameLen),
                     new ArrayValueImpl()
                     .append(a1)
                     .append(a2)
View Full Code Here

   
    try {
      AbstractFunction fun = _methodMap.get(hash, name, nameLen);

      if (fun != null)
        return fun.callMethodRef(env, this, a1, a2, a3, a4, a5);
      else if ((fun = _quercusClass.getCall()) != null) {
        return fun.callMethodRef(env,
                     this,
                     env.createString(name, nameLen),
                     new ArrayValueImpl()
View Full Code Here

      AbstractFunction fun = _methodMap.get(hash, name, nameLen);

      if (fun != null)
        return fun.callMethodRef(env, this, a1, a2, a3, a4, a5);
      else if ((fun = _quercusClass.getCall()) != null) {
        return fun.callMethodRef(env,
                     this,
                     env.createString(name, nameLen),
                     new ArrayValueImpl()
                     .append(a1)
                     .append(a2)
View Full Code Here

    QuercusClass oldClass = env.setCallingClass(this);
   
    try {
      AbstractFunction fun = getFunction(hash, name, nameLen);
     
      return fun.callMethodRef(env, thisValue, args);
    } finally {
      env.setCallingClass(oldClass);
    }
  } 
View Full Code Here

   
    try {
      AbstractFunction fun = _methodMap.get(methodName.toString());
     
      if (fun != null)
        return fun.callMethodRef(env, thisValue, args);
      else if (getCall() != null) {
        Expr []newArgs = new Expr[args.length + 1];
        if (env.isUnicodeSemantics())
          newArgs[0] = new UnicodeLiteralExpr(methodName);
        else
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.