Examples of toValue()


Examples of com.caucho.quercus.env.Value.toValue()

    if (cls == null)
      return;
   
    for (StringValue name : cls.getStaticFieldNames()) {
      Value field = cls.getStaticFieldValue(env, name);
      array.put(name, field.toValue());
    }
   
    getStaticFields(env, array, cls.getParent());
  }
 
View Full Code Here

Examples of com.caucho.quercus.env.Value.toValue()

    // value can be a Value or Var
    Value value = _value.evalRef(env);
   
    _var.evalAssignRef(env, value);

    return value.toValue();
  }
 
  /**
   * Evaluates the expression.
   *
 
View Full Code Here

Examples of com.caucho.quercus.env.Value.toValue()

    // value can be a Value or Var
    Value value = _value.evalRef(env);
   
    _var.evalAssignRef(env, value);

    return value.toValue().copy();
  }
 
  /**
   * Evaluates the expression.
   *
 
View Full Code Here

Examples of com.caucho.quercus.env.Value.toValue()

          return NullValue.NULL;
      }
      else if (_isReturnsReference)
        return value;
      else
        return value.toValue().copy();
    } finally {
      env.restoreFunctionArgs(oldArgs);
      env.popEnv(oldMap);
      env.setThis(oldThis);
    }
View Full Code Here

Examples of com.caucho.quercus.env.Var.toValue()

        Var var = values[i].toVar();

        map.put(arg.getName(), new EnvVarImpl(var));

        values[i] = var.toValue();
      }
    }

    for (int i = args.length; i < _args.length; i++) {
      Arg arg = _args[i];
View Full Code Here

Examples of com.caucho.quercus.env.Var.toValue()

        Var var = values[i].toVar();

        map.put(arg.getName(), new EnvVarImpl(var));

        values[i] = var.toValue();
      }
    }

    for (int i = args.length; i < _args.length; i++) {
      Arg arg = _args[i];
View Full Code Here

Examples of com.caucho.quercus.env.Var.toValue()

    if (cls == null)
      return;
   
    for (String name : cls.getStaticFieldNames()) {
      Var field = cls.getStaticField(env, name);
      array.put(StringValue.create(name), field.toValue());
    }
   
    getStaticFields(env, array, cls.getParent());
  }
 
View Full Code Here

Examples of com.caucho.quercus.env.Var.toValue()

        throw new QuercusLanguageException(
            env.createException("ReflectionException",
                                L.l("Class '{0}' does not have a property named '{1}'", _name, name)));
    }

    return field.toValue();
  }
 
  public void setStaticPropertyValue(Env env, String name, Value value)
  {
    _cls.getStaticField(env, name).set(value);
View Full Code Here

Examples of com.google.enterprise.connector.otex.client.ClientValue.toValue()

    try {
      ClientValue results = getLastAuditEvent();
      if (results.size() > 0) {
        checkpoint.setDeleteCheckpoint(
            dateFormat.parse(results.toString(0, "AuditDate")),
            results.toValue(0, "EventID"));
      } else {
        LOGGER.fine("Unable to establish initial Deleted Items " +
            "Checkpoint: No query results.");
        checkpoint.setDeleteCheckpoint(new Date(), null);
      }
View Full Code Here

Examples of com.google.enterprise.connector.otex.client.ClientValue.toValue()

    ClientValue userName = userNameCache.get(new Integer(id));
    if (userName == null) {
      // User is not in the cache, get the name from the server.
      ClientValue userInfo = client.GetUserOrGroupByIDNoThrow(id);
      if (userInfo != null)
        userName = userInfo.toValue("Name");
      if (userName == null || !userName.isDefined()) {
        if (LOGGER.isLoggable(Level.WARNING)) {
          LOGGER.warning("No user or group name found for ID " + id);
        }
        return;
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.