Examples of evaluate()


Examples of macromedia.asc.parser.Node.evaluate()

        SkinPartEvaluator spEvaluator = new SkinPartEvaluator(typeTable.getSymbolTable());
        spEvaluator.setLocalizationManager(ThreadLocalToolkit.getLocalizationManager());
        Node node = (Node) unit.getSyntaxTree();
        CompilerContext context = unit.getContext();
        Context cx = (Context) context.getAscContext();
        node.evaluate(cx, spEvaluator);
    }

    public void parse1(CompilationUnit unit, TypeTable typeTable)
    {
    }

Examples of macromedia.asc.parser.ProgramNode.evaluate()

          //                programNode.evaluate(context, prettyPrinter);
        }
        else
        {
          SyntaxTreeDumper syntaxTreeDumper = new SyntaxTreeDumper(out, indent);
          programNode.evaluate(context, syntaxTreeDumper);
        }
       
        close(tag);
      }
      else

Examples of mage.player.ai.PermanentEvaluator.evaluate()

    }
    int value = player.getLife();
    value -= opponent.getLife();
    PermanentEvaluator evaluator = new PermanentEvaluator();
    for (Permanent permanent: game.getBattlefield().getAllActivePermanents(player.getId())) {
      value += evaluator.evaluate(permanent, game);
    }
    for (Permanent permanent: game.getBattlefield().getAllActivePermanents(player.getId())) {
      value -= evaluator.evaluate(permanent, game);
    }
    value += player.getHand().size();

Examples of mage.player.ai.simulators.CombatSimulator.evaluate()

      CombatSimulator combat = new CombatSimulator();
      for (Permanent permanent: trialAttackers) {
        combat.groups.add(new CombatGroupSimulator(opponentId, Arrays.asList(permanent.getId()), new ArrayList<UUID>(), game));
      }
      CombatSimulator test = simulateBlock(combat, blockers, game);
      if (test.evaluate() > bestResult) {
        best = test;
        bestResult = test.evaluate();
      }
    }

Examples of mil.nga.giat.geowave.analytics.mapreduce.kde.parser.CustomFunction.evaluate()

      parameters[i] = evaluate(function.getExpressions()[i]);
    }
    final CustomFunction customFunction = customFunctions.get(function.getIdentifier());
    if (customFunction != null) {
      // Calls external implementation
      result = customFunction.evaluate(parameters);
      // If an external implementation was used get the result back
      if (result != null) {
        return;
      }
    }

Examples of mil.nga.giat.geowave.analytics.mapreduce.kde.parser.Expression.evaluate()

        final Expression newExpression = (Expression) parameters.get(parameter.getName());
        final Expression wrappedExpression = new Expression(
            newExpression.getExpression(),
            this);

        result = wrappedExpression.evaluate();
      }
      else {
        result = value;
      }
    }

Examples of mmrnmhrm.ui.text.FullPatternRule.evaluate()

    
    FullPatternRule fpRule = new FullPatternRule(new Token(null), sequences, new SampleJavaWordDetector());
    
    while (scanner.peekNext() != ICharacterScanner.EOF) {
      int beginOffset = scanner.textOffset;
      IToken token = fpRule.evaluate(scanner);
      if(token.isUndefined()) {
        assertTrue(scanner.textOffset == beginOffset);
        assertTrue(ArrayUtil.contains(tokenIndexes, beginOffset) == false);
        scanner.read(); // advance
      } else {

Examples of mondrian.calc.Calc.evaluate()

            public Object evaluate(Evaluator evaluator) {
                if (value != null) {
                    return value;
                }
                if (cachedDefaultValue == null) {
                    cachedDefaultValue = defaultCalc.evaluate(evaluator);
                }
                return cachedDefaultValue;
            }
        };
    }

Examples of mondrian.rolap.StarColumnPredicate.evaluate()

        int changeCount = 0;
        final Iterator<StarColumnPredicate> iterator = newChildren.iterator();
        while (iterator.hasNext()) {
            ValueColumnPredicate child =
                (ValueColumnPredicate) iterator.next();
            if (columnPredicate.evaluate(child.getValue())) {
                ++changeCount;
                iterator.remove();
            }
        }
        if (changeCount > 0) {

Examples of net.fortytwo.ripple.model.RippleValue.evaluate()

                    qe.getErrorPrintStream().println("datatype does not map to a URI reference: " + type);
                }
            }
        };

        type.evaluate(typeSink, qe, mc);
    }

    public String toString() {
        return "\"" + value + "\"^^" + type;
    }
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.