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, thisValue, args);
      else if (getCall() != null) {
        return getCall().callMethodRef(env,
                                       thisValue,
                                       env.createString(name, nameLen),
                                       new ArrayValueImpl(args));
View Full Code Here


   
    try {
      AbstractFunction fun = _methodMap.get(name.toString());

      if (fun != null)
        return fun.callMethodRef(env, thisValue, args);
      else if (getCall() != null) {
        return getCall().callMethodRef(env,
                                       thisValue,
                                       name,
                                       new ArrayValueImpl(args));
View Full Code Here

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

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

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

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

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

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

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

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

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

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

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

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

  public Value callMethodRef(Env env, StringValue methodName, int hash,
                             Value []args)
  {
    AbstractFunction fun = _methodMap.get(methodName, hash);

    return fun.callMethodRef(env, _quercusClass, this, args);
  }

  /**
   * Evaluates a method.
   */
 
View Full Code Here

  @Override
  public Value callMethodRef(Env env, StringValue methodName, int hash)
  {
    AbstractFunction fun = _methodMap.get(methodName, hash);

    return fun.callMethodRef(env, _quercusClass, this);
  }

  /**
   * Evaluates a method.
   */
 
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.