|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LoadArrayInstruction
x = y[z].
ArrayAccess
Method Summary | |
---|---|
ASTNode |
getNode()
Returns the node this instruction is for. |
Variable |
getSourceArray()
Returns the array from which a cell is loaded. |
Methods inherited from interface edu.cmu.cs.crystal.tac.model.AssignmentInstruction |
---|
getTarget |
Methods inherited from interface edu.cmu.cs.crystal.tac.model.TACInstruction |
---|
transfer, transfer |
Methods inherited from interface edu.cmu.cs.crystal.tac.model.TACArrayAccess |
---|
getAccessedArrayOperand, getArrayIndex |
Method Detail |
---|
ASTNode getNode()
ArrayAccess
. Usually,
one instruction exists per AST node, but can be more
when AST nodes are desugared, such as for post-increment.
getNode
in interface TACInstruction
TACInstruction.getNode()
Variable getSourceArray()
TACArrayAccess.getAccessedArrayOperand()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |