|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CastInstruction
x = (T) y.
CastExpression
Method Summary | |
---|---|
Type |
getCastToTypeNode()
Returns the type the operand is being casted to. |
ASTNode |
getNode()
Returns the node this instruction is for. |
Methods inherited from interface edu.cmu.cs.crystal.tac.model.OneOperandInstruction |
---|
getOperand |
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 |
Method Detail |
---|
ASTNode getNode()
CastExpression
. 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()
Type getCastToTypeNode()
operand
is being casted to.
operand
is being casted to.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |