Adds a variable expression to the pipeline. Adds the expression that will
evaluate the results the variable holds.

@param mTransaction
Transaction to operate with.
@param mVarName
name of the variable
964891
public void addVariableExpr(final INodeReadTrx mTransaction, final String mVarName) {

        assert getPipeStack().size() >= 1;

        final AbsAxis bindingSeq = getPipeStack().pop().getExpr();

        final AbsAxis axis = new VariableAxis(mTransaction, bindingSeq);
        mVarRefMap.put(mVarName, axis);

        if (getPipeStack().empty() || getExpression().getSize() != 0) {
            addExpressionSingle();
        }
        getExpression().add(axis);
    }
478396
function addVariable() {
            variableService.addOrUpdate(vm.variable, function () {
                vm.variables[vm.variable.key] = vm.variable.value;
                vm.variable = {
                    key: undefined,
                    value: undefined
                };
            });
        }
885503
public void accept(final MethodVisitor mv) {
        mv.visitLocalVariable(name, desc, signature, start.getLabel(),
                end.getLabel(), index);
    }
1003887
public void setInlineVariables(Reach reach) {
    switch (reach) {
      case ALL:
        this.inlineVariables = true;
        this.inlineLocalVariables = true;
        break;
      case LOCAL_ONLY:
        this.inlineVariables = false;
        this.inlineLocalVariables = true;
        break;
      case NONE:
        this.inlineVariables = false;
        this.inlineLocalVariables = false;
        break;
      default:
        throw new IllegalStateException("unexpected");
    }
  }
710279
public void addTranslation(double[] v) {
    assert (v.length == dim);

    // reset inverse transformation - needs recomputation.
    inv = null;

    double[][] homTrans = unitMatrix(dim + 1);
    for(int i = 0; i < dim; i++) {
      homTrans[i][dim] = v[i];
    }
    trans = times(homTrans, trans);
  }
998389
@Override
    public void setTargetTransportChain(String newTargetTransportChain) throws JMSException {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "setTargetTransportChain", newTargetTransportChain);
        jcaManagedConnectionFactory.setTargetTransportChain(newTargetTransportChain);
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "setTargetTransportChain");
    }
958825
public void addCompExpression(final INodeReadTrx mTransaction, final String mComp) {

        assert getPipeStack().size() >= 2;

        final INodeReadTrx rtx = mTransaction;

        final AbsAxis paramOperandTwo = getPipeStack().pop().getExpr();
        final AbsAxis paramOperandOne = getPipeStack().pop().getExpr();

        final CompKind kind = CompKind.fromString(mComp);
        final AbsAxis axis = AbsComparator.getComparator(rtx, paramOperandOne, paramOperandTwo, kind, mComp);

        // // TODO: use typeswitch of JAVA 7
        // if (mComp.equals("eq")) {
        //
        // axis = new ValueComp(rtx, paramOperandOne, paramOperandTwo, kind);
        // } else if (mComp.equals("ne")) {
        //
        // axis = new ValueComp(rtx, paramOperandOne, paramOperandTwo, kind);
        // } else if (mComp.equals("lt")) {
        //
        // axis = new ValueComp(rtx, paramOperandOne, paramOperandTwo, kind);
        // } else if (mComp.equals("le")) {
        //
        // axis = new ValueComp(rtx, paramOperandOne, paramOperandTwo, kind);
        // } else if (mComp.equals("gt")) {
        //
        // axis = new ValueComp(rtx, paramOperandOne, paramOperandTwo, kind);
        // } else if (mComp.equals("ge")) {
        //
        // axis = new ValueComp(rtx, paramOperandOne, paramOperandTwo, kind);
        //
        // } else if (mComp.equals("=")) {
        //
        // axis = new GeneralComp(rtx, paramOperandOne, paramOperandTwo, kind);
        // } else if (mComp.equals("!=")) {
        //
        // axis = new GeneralComp(rtx, paramOperandOne, paramOperandTwo, kind);
        // } else if (mComp.equals("<")) {
        //
        // axis = new GeneralComp(rtx, paramOperandOne, paramOperandTwo, kind);
        // } else if (mComp.equals("<=")) {
        //
        // axis = new GeneralComp(rtx, paramOperandOne, paramOperandTwo, kind);
        // } else if (mComp.equals(">")) {
        //
        // axis = new GeneralComp(rtx, paramOperandOne, paramOperandTwo, kind);
        // } else if (mComp.equals(">=")) {
        //
        // axis = new GeneralComp(rtx, paramOperandOne, paramOperandTwo, kind);
        //
        // } else if (mComp.equals("is")) {
        //
        // axis = new NodeComp(rtx, paramOperandOne, paramOperandTwo, kind);
        // } else if (mComp.equals("<<")) {
        //
        // axis = new NodeComp(rtx, paramOperandOne, paramOperandTwo, kind);
        // } else if (mComp.equals(">>")) {
        //
        // axis = new NodeComp(rtx, paramOperandOne, paramOperandTwo, kind);
        // } else {
        // throw new IllegalStateException(mComp +
        // " is not a valid comparison.");
        //
        // }

        if (getPipeStack().empty() || getExpression().getSize() != 0) {
            addExpressionSingle();
        }
        getExpression().add(axis);

    }
1108078
private void addMeterValuesToTransaction(final Transaction transaction, final List<MeterValue> meterValues) {
        for (MeterValue meterValue : meterValues) {
            addMeterValueToTransaction(transaction, meterValue);
        }
    }
1253783
public void addIntExcExpression(final INodeReadTrx mTransaction, final boolean mIsIntersect) {

        assert getPipeStack().size() >= 2;

        final INodeReadTrx rtx = mTransaction;

        final AbsAxis mOperand2 = getPipeStack().pop().getExpr();
        final AbsAxis mOperand1 = getPipeStack().pop().getExpr();

        final AbsAxis axis =
            mIsIntersect ? new IntersectAxis(rtx, mOperand1, mOperand2) : new ExceptAxis(rtx, mOperand1,
                mOperand2);

        if (getPipeStack().empty() || getExpression().getSize() != 0) {
            addExpressionSingle();
        }
        getExpression().add(axis);
    }
202721
public void addParameter(String name, String sub, Object data) {
        pack(name);
        pack(sub);
        pack(BrokerUtil.toString(data));
    }
554667
@Override
  public MtasDataCollector<?, ?> add(double[] values, int number)
      throws IOException {
    MtasDataCollector<?, ?> dataCollector = add(false);
    setValue(newCurrentPosition, ArrayUtils.toObject(values), number,
        newCurrentExisting);
    return dataCollector;
  }
996163
public void addOperatorExpression(final INodeReadTrx mTransaction, final String mOperator) {

        assert getPipeStack().size() >= 1;

        final INodeReadTrx rtx = mTransaction;

        final AbsAxis mOperand2 = getPipeStack().pop().getExpr();

        // the unary operation only has one operator
        final AbsAxis mOperand1 = getPipeStack().pop().getExpr();
        if (getPipeStack().empty() || getExpression().getSize() != 0) {
            addExpressionSingle();
        }

        final AbsAxis axis;

        // TODO: use typeswitch of JAVA 7
        if (mOperator.equals("+")) {
            axis = new AddOpAxis(rtx, mOperand1, mOperand2);
        } else if (mOperator.equals("-")) {

            axis = new SubOpAxis(rtx, mOperand1, mOperand2);
        } else if (mOperator.equals("*")) {
            axis = new MulOpAxis(rtx, mOperand1, mOperand2);
        } else if (mOperator.equals("div")) {
            axis = new DivOpAxis(rtx, mOperand1, mOperand2);
        } else if (mOperator.equals("idiv")) {
            axis = new IDivOpAxis(rtx, mOperand1, mOperand2);
        } else if (mOperator.equals("mod")) {
            axis = new ModOpAxis(rtx, mOperand1, mOperand2);
        } else {
            // TODO: unary operator
            throw new IllegalStateException(mOperator + " is not a valid operator.");

        }

        getExpression().add(axis);
    }
359865
private static void addTernaryValues(IntegerVector destination,
                                         TernaryVector source) {
        for (int p : source.positiveDimensions())
            destination.add(p, 1);
        for (int n : source.negativeDimensions())
            destination.add(n, -1);
    }
685873
private void callFindAssociation(Java.METHOD method, String result, Variable variable, Member member) {

		String setName = variable.getName() + "$" + member.getName();
		method.addS("Number " + result + " = findAssociation("
				+ variable.getName() + ", "
				+ variable.getFrom() + ", "
				+ variable.getTo() + ", "
				+ variable.getStep() + ", "
				+ setName + ")");
	}
1362430
public final VariableNumMap addMapping(int num, String name, Variable var) {
    return union(VariableNumMap.singleton(num, name, var));
  }
705919
public void setOperator(String v) {
    if (VariableAssignment_Type.featOkTst && ((VariableAssignment_Type)jcasType).casFeat_operator == null)
      jcasType.jcas.throwFeatMissing("operator", "ch.epfl.bbp.uima.types.VariableAssignment");
    jcasType.ll_cas.ll_setStringValue(addr, ((VariableAssignment_Type)jcasType).casFeatCode_operator, v);}
1255959
@Override
    public void addVariable(String varName, Object value) {
        synchronized (mGlobalVariables) {
            mGlobalVariables.put(varName, value);
        }
        refreshGlobalBindings();
    }