Package org.teavm.model.instructions
Class GetElementInstruction
- java.lang.Object
-
- org.teavm.model.Instruction
-
- org.teavm.model.instructions.GetElementInstruction
-
public class GetElementInstruction extends Instruction
-
-
Constructor Summary
Constructors Constructor Description GetElementInstruction(ArrayElementType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacceptVisitor(InstructionVisitor visitor)VariablegetArray()VariablegetIndex()VariablegetReceiver()ArrayElementTypegetType()voidsetArray(Variable array)voidsetIndex(Variable index)voidsetReceiver(Variable receiver)-
Methods inherited from class org.teavm.model.Instruction
delete, getBasicBlock, getLocation, getNext, getPrevious, getProgram, insertNext, insertNextAll, insertPrevious, insertPreviousAll, replace, setLocation
-
-
-
-
Constructor Detail
-
GetElementInstruction
public GetElementInstruction(ArrayElementType type)
-
-
Method Detail
-
getType
public ArrayElementType getType()
-
getArray
public Variable getArray()
-
setArray
public void setArray(Variable array)
-
getIndex
public Variable getIndex()
-
setIndex
public void setIndex(Variable index)
-
getReceiver
public Variable getReceiver()
-
setReceiver
public void setReceiver(Variable receiver)
-
acceptVisitor
public void acceptVisitor(InstructionVisitor visitor)
- Specified by:
acceptVisitorin classInstruction
-
-