@Override public SExpIR caseAPlusNumericBinaryExp(APlusNumericBinaryExp node, IRInfo question) throws AnalysisException { return question.getExpAssistant().handleBinaryExp(node, new APlusNumericBinaryExpIR(), question); }
/** * Creates a deep clone of this {@link APlusNumericBinaryExpIR} node while putting all * old node-new node relations in the map {@code oldToNewMap}. * @param oldToNewMap the map filled with the old node-new node relation * @return a deep clone of this {@link APlusNumericBinaryExpIR} node */ public APlusNumericBinaryExpIR clone(Map<INode,INode> oldToNewMap) { APlusNumericBinaryExpIR node = new APlusNumericBinaryExpIR( _sourceNode, _tag, _metaData, cloneNode(_type, oldToNewMap), cloneNode(_left, oldToNewMap), cloneNode(_right, oldToNewMap) ); oldToNewMap.put(this, node); return node; }
/** * Returns a deep clone of this {@link APlusNumericBinaryExpIR} node. * @return a deep clone of this {@link APlusNumericBinaryExpIR} node */ public APlusNumericBinaryExpIR clone() { return new APlusNumericBinaryExpIR( _sourceNode, _tag, _metaData, cloneNode(_type), cloneNode(_left), cloneNode(_right) ); }
APlusNumericBinaryExpIR historyCounterSum = new APlusNumericBinaryExpIR(); historyCounterSum.setType(typeCg.clone()); historyCounterSum.setLeft(history); left.setOpsname(nextOpName); APlusNumericBinaryExpIR tmp = new APlusNumericBinaryExpIR(); tmp.setType(typeCg.clone()); tmp.setLeft(left);
+ concPrefixes.sentinelClassPostFix()); APlusNumericBinaryExpIR addedhistcounter = new APlusNumericBinaryExpIR(); APlusNumericBinaryExpIR addition1 = new APlusNumericBinaryExpIR(); addition1 = addedhistcounter; histcountleft.setSentinelType(innerclass.clone()); APlusNumericBinaryExpIR addition = new APlusNumericBinaryExpIR(); addition.setLeft(histcountleft);