|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InstanceofInstruction
x = y instanceof T.
InstanceofExpression
Method Summary | |
---|---|
ASTNode |
getNode()
Returns the node this instruction is for. |
Type |
getTestedTypeNode()
Returns the type tested with instanceof |
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()
InstanceofExpression
. 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 getTestedTypeNode()
instanceof
instanceof
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |