Package com.caucho.quercus.env

Examples of com.caucho.quercus.env.QuercusClass.callMethod()


    env.pushCall(this, qThis, values);

    try {
      env.checkTimeout();

      return cl.callMethod(env, qThis, _name, _name.hashCode(), values);
    } finally {
      env.popCall();
    }
  }
 
View Full Code Here


    env.pushCall(this, cls, values);

    try {
      env.checkTimeout();

      return cls.callMethod(env, qThis, methodName, hash, values);
    } finally {
      env.popCall();
    }
  }
 
View Full Code Here

      env.error(getLocation(), L.l("no matching class {0}", _className));
    }
   
    int hash = _methodName.hashCodeCaseInsensitive();

    return cl.callMethod(env, env.getThis(),
                         _methodName, hash,
                         evalArgs(env, _args));
  }

  public String toString()
View Full Code Here

    StringValue methodName = _nameExpr.evalStringValue(env);
   
    Value []args = evalArgs(env, _args);
    int hash = methodName.hashCodeCaseInsensitive();

    return cl.callMethod(env, qThis, methodName, hash, args);
  }
 
  public String toString()
  {
    return _nameExpr + "()";
View Full Code Here

    env.pushCall(this, cls, values);

    try {
      env.checkTimeout();

      return cls.callMethod(env, qThis, _methodName, _hash, values);
    } finally {
      env.popCall();
    }
  }
 
View Full Code Here

    // QuercusClass oldClass = env.setCallingClass(cl);

    try {
      env.checkTimeout();
     
      return cl.callMethod(env, qThis, _methodName, _hash, values);
    } finally {
      env.popCall();
      env.setThis(oldThis);
      // env.setCallingClass(oldClass);
    }
View Full Code Here

    StringValue methodName = _methodName.evalStringValue(env);
    int hash = methodName.hashCodeCaseInsensitive();
    Value []args = evalArgs(env, _args);
   
    return cl.callMethod(env, env.getThis(),
                         methodName, hash,
                         args);
  }

  public String toString()
View Full Code Here

    }

    Value thisValue = env.getThis();
    StringValue methodName = _nameExpr.evalStringValue(env);

    return cl.callMethod(env, thisValue, methodName, _args);
  }
 
  /**
   * Evaluates the expression.
   *
 
View Full Code Here

    }

    Value thisValue = env.getThis();
    StringValue methodName = _nameExpr.evalStringValue(env);

    return cl.callMethod(env, thisValue, methodName, _args);
  }
 
  /**
   * Evaluates the expression.
   *
 
View Full Code Here

      env.error(getLocation(), L.l("no matching class {0}", _className));
    }
   
    int hash = _methodName.hashCodeCaseInsensitive();

    return cl.callMethod(env, env.getThis(),
                         _methodName, hash,
                         evalArgs(env, _args));
  }

  public String toString()
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.