Examples of Env


Examples of com.caucho.xpath.Env

      if (chooseTag.isMatch())
        return SKIP_BODY;

      PageContextImpl pageContext = (PageContextImpl) this.pageContext;

      Env env = XPath.createEnv();
      env.setVarEnv(pageContext.getVarEnv());
     
      Node node = pageContext.getNodeEnv();
     
      boolean test = _select.evalBoolean(node, env);

      env.free();

      if (test) {
        chooseTag.setMatch();
     
        return EVAL_BODY_INCLUDE;
View Full Code Here

Examples of com.cloudbees.groovy.cps.Env

    public CpsFunction(List<String> parameters, Block body) {
        super(parameters, body);
    }

    public Next invoke(Env caller, SourceLocation loc, Object receiver, List<?> args, Continuation k) {
        Env e = new FunctionCallEnv(caller, k, loc, receiver);
        assignArguments(args,e);
        return new Next(body, e, k);
    }
View Full Code Here

Examples of com.dotcms.repackage.com.caucho.quercus.env.Env

     * @param args an array of arguments to be
     * passed to the extension, which may be either
     * Vectors of Nodes, or Strings.
     */
  public Object call(Object object, String method, Object[] args) throws BSFException {
    Env env = php.createEnv(null, null, null, null);
    env.start();
    populateEnv(env);
    Value v = null;
    PHPEvalWrapper phpw = null;
    if(object instanceof PHPEvalWrapper){
      phpw = (PHPEvalWrapper)object;
    }else{
      phpw = (PHPEvalWrapper)eval(object.toString(), -1, -1, "");
    }
    List<Function> funs = phpw.getFunctions();
    Value[] values = null;
    if(args != null){
      values = new Value[args.length];
      for (int i = 0; i < args.length; i++) {
        Object o = args[i];
        values[i] = env.wrapJava(o);
      }
    }
   
    try{
      if(funs != null && funs.size() > 0){
View Full Code Here

Examples of com.l2jfrozen.gameserver.skills.Env

    return false;
  }

  public final double calc()
  {
    Env env = new Env();
    env.player = _effector;
    env.target = _effected;
    env.skill = _skill;
    return _lambda.calc(env);
  }
View Full Code Here

Examples of com.perforce.api.Env

   * com.tek42.perforce but one that does exist in com.perforce.api.
   *
   * @return {@link com.perforce.api.Env} object
   */
  public Env getPerforceEnv() {
    Env env = new Env();
    env.setClient(getClient());
    env.setExecutable(getExecutable());
    env.setPassword(getPassword());
    env.setUser(getUser());
    env.setPort(getPort());
    env.setSystemDrive(getSystemDrive());
    env.setSystemRoot(getSystemRoot());

    return env;
  }
View Full Code Here

Examples of cucumber.runtime.Env

            final RuntimeOptionsFactory runtimeOptionsFactory = new RuntimeOptionsFactory(clazz, OPTIONS_ANNOTATIONS);
            runtimeOptions = runtimeOptionsFactory.create();
            cleanClasspathList(runtimeOptions.getGlue());
            cleanClasspathList(runtimeOptions.getFeaturePaths());
        } else if (cukespaceConfig.containsKey(CucumberConfiguration.OPTIONS)) { // arquillian setting
            runtimeOptions = new RuntimeOptions(new Env("cucumber-jvm"), asList((cukespaceConfig.getProperty(CucumberConfiguration.OPTIONS, "--strict") + " --strict").split(" ")));
        } else { // default
            runtimeOptions = new RuntimeOptions(new Env("cucumber-jvm"), asList("--strict", "-f", "pretty", areColorsNotAvailable(cukespaceConfig)));
        }

        final boolean reported = Boolean.parseBoolean(cukespaceConfig.getProperty(CucumberConfiguration.REPORTABLE, "false"));
        final StringBuilder reportBuilder = new StringBuilder();
        if (reported) {
View Full Code Here

Examples of edu.stanford.nlp.ling.tokensregex.Env

    return evaluatedNumber;
  }

  public static Env getNewEnv()
  {
    Env env = TokenSequencePattern.getNewEnv();

    // Do case insensitive matching
    env.setDefaultStringPatternFlags(Pattern.CASE_INSENSITIVE);

    initEnv(env);
    return env;
  }
View Full Code Here

Examples of edu.umass.pql.Env

   
  @Override
  public void
  init()
  {
            env = new Env (INT_TABLE | LONG_TABLE | DOUBLE_TABLE | OBJECT_TABLE,
                new Object[] {
                        new int[14],
                        new long[5],
                        new double[5],
                        new Object[9]
View Full Code Here

Examples of io.fabric8.kubernetes.api.model.Env

        }
        return answer;
    }

    protected static Env getOrCreateEnv(Map<String, Env> envMap, String name) {
        Env answer = envMap.get(name);
        if (answer == null) {
            answer = new Env();
            envMap.put(name, answer);
        }
        return answer;
    }
View Full Code Here

Examples of l2p.gameserver.skills.Env

    Calculator c = _calculators[id];
    if(c == null)
    {
      return init;
    }
    Env env = new Env();
    env.character = this;
    env.target = object;
    env.skill = skill;
    env.value = init;
    c.calc(env);
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.