Examples of Variable


Examples of dk.brics.xact.analysis.flowgraph.Variable

      });
   
    // insert edges from definitions to single global use
    for (Statement s : new LinkedHashSet<Statement>(graph.getNodes()))
      if (s instanceof Assignment) {
        Variable v = ((Assignment)s).getDest();
        if (v.isGlobal()) {
          Debug.println(6, true, "Redirecting join flow edge for " + v + " (assigned in " + s + ")");
          // remove the variable from the outflow of the statement
          for (Edge<Statement,VariableFilter> edge : graph.getOutEdges(s))
            edge.getData().removeVariable(v);
          // insert new edge to the single global use (which only exists if it is used somewhere)
View Full Code Here

Examples of eas.users.lukas.tnt.Variable

        if (firstFreeVarSpace > TNTMethods.FIRST_FREE_VAR_SPACE) {
            TNTMethods.FIRST_FREE_VAR_SPACE = firstFreeVarSpace;
        }
       
        for (Variable v : allUsedVarsX) {
            if (y.renameVariable(new Variable(v.getVarNum()), new Variable(TNTMethods.FIRST_FREE_VAR_SPACE))) {
                TNTMethods.FIRST_FREE_VAR_SPACE++;
            }
        }
    }
View Full Code Here

Examples of edu.cmu.cs.crystal.tac.model.Variable

   * (parameter, local, or type variable).
   * @param binding Parameter, local, or type variable.
   * @return the variable representing the given binding.
   */
  private Variable getVariable(IBinding binding) {
    Variable result = variables.get(binding);
    if(result == null) {
      if(binding instanceof IVariableBinding) {
        IVariableBinding vb = (IVariableBinding) binding;
        if(vb.isEnumConstant() || vb.isField())
          throw new IllegalArgumentException("Not a local: " + binding);
View Full Code Here

Examples of edu.cmu.cs.stage3.alice.core.Variable

    keyChar.valueClass.set( Character.class );
    details.add( keyChar );
  }
  private void updateDetails( java.awt.event.KeyEvent keyEvent ) {
    for( int i=0; i<details.size(); i++ ) {
      Variable detail = (Variable)details.get( i );
      if( detail.name.getStringValue().equals( "keyChar" ) ) {
        detail.value.set( new Character( keyEvent.getKeyChar() ) );
      }
    }
  }
View Full Code Here

Examples of edu.cmu.relativelayout.equation.Variable

  public String toString() {
    String ret = "";
    Iterator<Variable> iter = this.getVariables().iterator();

    while (iter.hasNext()) {
      Variable element = iter.next();
      ret += "(" + this.getCoefficient(element) + " x " + element.getName() + ")";
      if (iter.hasNext()) {
        ret += " + ";
      }
    }
View Full Code Here

Examples of eu.admire.dispel.parser.expression.Variable

    {
        switch (context)
        {
        case VARIABLE_ID:
            VariableIDStrategy id = (VariableIDStrategy)strategy;
            mChildren.add(new Variable(id.getName(), id.getIndices(), id.getProperty()));
            break;
        case NEW_INSTANCE:
            NewInstanceStrategy inst = (NewInstanceStrategy)strategy;
            inst.getType();
            inst.getArrayExpressions();
View Full Code Here

Examples of eu.admire.dispel.parser.types.Variable

        ConcurrentHashMap<String, Variable> variables =
            new ConcurrentHashMap<String, Variable>(parameterVariables);
        // Add only use processing element types to the variables
        for (String typeName : executionState.getUsedProcessingElements().getTypeNames())
        {
            Variable var = executionState.getVariables().get(typeName);
            if (var != null)
            {
                variables.put(typeName, var);
            }
        }
View Full Code Here

Examples of expr.Variable

  showStatus("");
  canvas.repaint();
    }

    private Curve parseFofX(String text, Color color) throws SyntaxException {
  Variable x = Variable.make("x");
  Parser parser = new Parser();
  parser.allow(x);
  return new FunctionOfX(canvas, color, x, parser.parseString(text));
    }
View Full Code Here

Examples of flash.tools.debugger.Variable

            validFrame = false;
        }
        else
    {
      Variable[] var = ctx.getArguments(m_session);
      Variable dis = ctx.getThis(m_session);
      boolean displayArgs = (func != null) || (var != null);

      sb.append('#');
      FieldFormat.formatLong(sb, i, 3);
      sb.append(' ');

      if (showThis && dis != null)
      {
                m_exprCache.appendVariable(sb, dis);
        sb.append("."); //$NON-NLS-1$
      }

      if (func != null)
        sb.append(func);

      if (displayArgs)
      {
        sb.append('(');
        for (int j=0; j<var.length; j++)
        {
          Variable v = var[j];
          sb.append(v.getName());
          sb.append('=');
                    m_exprCache.appendVariableValue(sb, v.getValue());
          if ((j+1)<var.length)
            sb.append(", "); //$NON-NLS-1$
        }
        sb.append(")"); //$NON-NLS-1$
        sb.append(getLocalizationManager().getLocalizedTextString("atFilename")); //$NON-NLS-1$
View Full Code Here

Examples of flex2.compiler.abc.Variable

        findEvents(context, name, multiName, pos, watcher, null);
    }

    private static Variable getVariable(Context cx, AbcClass watchedClass, ReferenceValue ref, MultiName multiName)
    {
        Variable var = null;
        Slot s;
        if( ref != null )
        {
            // if ref.slot is non-null then the reference has already been resolved.
            if( ref.slot != null && ref.getKind() == Tokens.GET_TOKEN)
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.