Examples of Variable


Examples of org.jbpm.pvm.type.Variable

    Map<String, Object> values = null;
    if (! isEmpty()) {
      values = new HashMap<String, Object>();
      for (Map.Entry<String, Variable> entry: variables.entrySet()) {
        String name = (String) entry.getKey();
        Variable variable = entry.getValue();
        values.put(name, variable.getValue());
      }
    }
    return values;
  }
View Full Code Here

Examples of org.jbpm.ui.common.model.Variable

                    comboBoxes[i][0].setEnabled(false);
                    comboBoxes[i][1].setEnabled(false);
                    comboBoxes[i][2].setEnabled(false);
                    defaultTransitionCombo.setText(ifExpr.getTransition());
                } else {
                    Variable variable = ifExpr.getVariable1();
                    int index = variables.indexOf(variable);
                    if (index == -1) {
                        // required variable was deleted in process
                        // definition
                        continue;
                    }
                    comboBoxes[i][0].select(index);
                    refreshComboItems(comboBoxes[i][0]);

                    BSHTypeSupport typeSupport = BSHTypeSupport.getByFormat(variable.getFormat());

                    index = Operation.getAll(typeSupport).indexOf(ifExpr.getOperation());
                    if (index == -1) {
                        // required operation was deleted !!!
                        continue;
View Full Code Here

Examples of org.jreversepro.ast.expression.Variable

    }
  }

  private void operateLoadInstruction(Instruction ins,
      int variableIndexToSymbolTable) {
    Variable var = new Variable(varTable, JVM_TYPE_FLOAT,
        variableIndexToSymbolTable, ins.currentPc);
    evalMachine.push(var);
  }
View Full Code Here

Examples of org.jruby.compiler.ir.operands.Variable

        while (it.hasPrevious()) {
            Instr i = it.previous();
//            System.out.println("TF: Processing: " + i);

            // v is defined => It is no longer live before 'i'
            Variable v = i.getResult();
            if (v != null) {
                DataFlowVar dv = lvp.getDFVar(v);
                _tmp.clear(dv._id);
//                System.out.println("cleared live flag for: " + v);
            }
View Full Code Here

Examples of org.jruby.ir.operands.Variable

            if (i.canRaiseException() && (rescueNode != null)) {
                dirtyVars.clear();
            }

            if (i instanceof ResultInstr) {
                Variable v = ((ResultInstr) i).getResult();

                // %self is local to every scope and never crosses scope boundaries and need not be spilled/refilled
                if (v instanceof LocalVariable && !((LocalVariable) v).isSelf()) dirtyVars.add((LocalVariable) v);
            }
View Full Code Here

Examples of org.kie.api.runtime.rule.Variable

    }

    public boolean isAllowedCachedRight(LeftTuple tuple, ContextEntry context) {
        if (isUnification) {
            DroolsQuery query = ( DroolsQuery ) tuple.get( 0 ).getObject();
            Variable v = query.getVariables()[ ((UnificationContextEntry)context).getReader().getIndex() ];

            if (v != null) {
                return true;
            }
            context = ((UnificationContextEntry)context).getContextEntry();
View Full Code Here

Examples of org.kie.runtime.rule.Variable

    }

    public boolean isAllowedCachedRight(LeftTuple tuple, ContextEntry context) {
        if (isUnification) {
            DroolsQuery query = ( DroolsQuery ) tuple.get( 0 ).getObject();
            Variable v = query.getVariables()[ ((UnificationContextEntry)context).getReader().getIndex() ];

            if (v != null) {
                return true;
            }
            context = ((UnificationContextEntry)context).getContextEntry();
View Full Code Here

Examples of org.lealone.expression.Variable

    private Expression readTerm() {
        Expression r;
        switch (currentTokenType) {
        case AT:
            read();
            r = new Variable(session, readAliasIdentifier());
            if (readIf(":=")) {
                Expression value = readExpression();
                Function function = Function.getFunction(database, "SET");
                function.setParameter(0, r);
                function.setParameter(1, value);
View Full Code Here

Examples of org.luaj.vm2.ast.Variable

          Name name = (Name) body.parlist.names.get(i);
          String value = i>0? "$arg.arg("+(i+1)+")": "$arg.arg1()";
          singleLocalDeclareAssign( name, value );
        }
        if ( body.parlist.isvararg ) {
          Variable arg = body.scope.find("arg");
          javascope.setJavaName(arg,"arg");
          if ( m > 0 )
            outl( "$arg = $arg.subargs("+(m+1)+");" );
          String value = (javascope.usesvarargs? "NIL": "LuaValue.tableOf($arg,1)");
          singleLocalDeclareAssign( arg, value );
View Full Code Here

Examples of org.mizartools.dli.Variable

        } else {
            ItemId itemId = getItemId(abstractSignature, ((org.mizartools.system.xml.Func)term))
              termDli = new Func(itemId, term2List);
        }
          } else if (term instanceof org.mizartools.system.xml.Var) {
            termDli = new Variable(((org.mizartools.system.xml.Var)term).getNr());
          } else if (term instanceof org.mizartools.system.xml.LocusVar) {
            termDli = new LocusVar(((org.mizartools.system.xml.LocusVar)term).getNr());
          } else if (term instanceof org.mizartools.system.xml.Num) {
            termDli = new Num(((org.mizartools.system.xml.Num)term).getNr());
          } else {
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.