public class BinaryModInst extends BinaryInst
destination, leftSource, rightSource
Constructor and Description |
---|
BinaryModInst(java.lang.String destination,
java.lang.String leftSource,
java.lang.String rightSource)
BinaryModInst constructor
|
Modifier and Type | Method and Description |
---|---|
<ReturnType,ArgumentType> |
accept(TACInstVisitor<ReturnType,ArgumentType> visitor,
ArgumentType o)
Abstract visitor method.
|
void |
setLeftSource(java.lang.String leftSource)
Set the left soure operand
|
void |
setRightSource(java.lang.String rightSource)
Set the right soure operand
|
equals, getDestination, getLeftSource, getRightSource, getString, setDestination
addComment, checkBoolConst, checkConst, checkIntConst, checkLabel, checkStrConst, checkVar, getBinaryOpcode, getComments, getOp, getOpcode, getUnaryOpcode, isBinary, isCall, isIf, isLoad, isParam, isPhi, isReturn, isStore, isUnary, isValidID, removeComments, toString
public BinaryModInst(java.lang.String destination, java.lang.String leftSource, java.lang.String rightSource)
destination
- destination variableleftSource
- left source variablerightSource
- right source variablepublic void setLeftSource(java.lang.String leftSource)
setLeftSource
in class BinaryInst
leftSource
- new left source operandpublic void setRightSource(java.lang.String rightSource)
setRightSource
in class BinaryInst
rightSource
- new right source operandpublic <ReturnType,ArgumentType> ReturnType accept(TACInstVisitor<ReturnType,ArgumentType> visitor, ArgumentType o)
TACInst