Package org.teavm.model.instructions
Class CastNumberInstruction
- java.lang.Object
-
- org.teavm.model.Instruction
-
- org.teavm.model.instructions.CastNumberInstruction
-
public class CastNumberInstruction extends Instruction
-
-
Constructor Summary
Constructors Constructor Description CastNumberInstruction(NumericOperandType sourceType, NumericOperandType targetType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacceptVisitor(InstructionVisitor visitor)VariablegetReceiver()NumericOperandTypegetSourceType()NumericOperandTypegetTargetType()VariablegetValue()voidsetReceiver(Variable receiver)voidsetValue(Variable value)-
Methods inherited from class org.teavm.model.Instruction
delete, getBasicBlock, getLocation, getNext, getPrevious, getProgram, insertNext, insertNextAll, insertPrevious, insertPreviousAll, replace, setLocation
-
-
-
-
Constructor Detail
-
CastNumberInstruction
public CastNumberInstruction(NumericOperandType sourceType, NumericOperandType targetType)
-
-
Method Detail
-
getValue
public Variable getValue()
-
setValue
public void setValue(Variable value)
-
getReceiver
public Variable getReceiver()
-
setReceiver
public void setReceiver(Variable receiver)
-
getSourceType
public NumericOperandType getSourceType()
-
getTargetType
public NumericOperandType getTargetType()
-
acceptVisitor
public void acceptVisitor(InstructionVisitor visitor)
- Specified by:
acceptVisitorin classInstruction
-
-