Package org.teavm.model
Class Instruction
java.lang.Object
org.teavm.model.Instruction
- Direct Known Subclasses:
ArrayLengthInstruction
,AssignInstruction
,BinaryBranchingInstruction
,BinaryInstruction
,BoundCheckInstruction
,BranchingInstruction
,CastInstruction
,CastIntegerInstruction
,CastNumberInstruction
,ClassConstantInstruction
,CloneArrayInstruction
,ConstructArrayInstruction
,ConstructInstruction
,ConstructMultiArrayInstruction
,DoubleConstantInstruction
,EmptyInstruction
,ExitInstruction
,FloatConstantInstruction
,GetElementInstruction
,GetFieldInstruction
,InitClassInstruction
,IntegerConstantInstruction
,InvokeDynamicInstruction
,InvokeInstruction
,IsInstanceInstruction
,JumpInstruction
,LongConstantInstruction
,MonitorEnterInstruction
,MonitorExitInstruction
,NegateInstruction
,NullCheckInstruction
,NullConstantInstruction
,PutElementInstruction
,PutFieldInstruction
,RaiseInstruction
,StringConstantInstruction
,SwitchInstruction
,UnwrapArrayInstruction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
acceptVisitor
(InstructionVisitor visitor) boolean
delete()
getNext()
void
insertNext
(Instruction other) void
insertNextAll
(Iterable<Instruction> other) void
insertPrevious
(Instruction other) void
insertPreviousAll
(Iterable<Instruction> other) boolean
replace
(Instruction other) void
setLocation
(TextLocation location)
-
Constructor Details
-
Instruction
public Instruction()
-
-
Method Details
-
getBasicBlock
-
getProgram
-
getLocation
-
setLocation
-
acceptVisitor
-
getNext
-
getPrevious
-
delete
public boolean delete() -
replace
-
insertNext
-
insertNextAll
-
insertPrevious
-
insertPreviousAll
-