edu.cmu.cs.crystal.tac.model
Interface DotClassInstruction

All Superinterfaces:
AssignmentInstruction, LoadInstruction, TACInstruction

public interface DotClassInstruction
extends LoadInstruction

x = T.class.

Author:
Kevin Bierhoff
See Also:
TypeLiteral

Method Summary
 ASTNode getNode()
          Returns the node this instruction is for.
 Type getTypeNode()
          Returns the type of the class object being 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
 

Method Detail

getNode

ASTNode getNode()
Returns the node this instruction is for. Should be of type TypeLiteral. Usually, one instruction exists per AST node, but can be more when AST nodes are desugared, such as for post-increment.

Specified by:
getNode in interface TACInstruction
Returns:
the node this instruction is for.
See Also:
TACInstruction.getNode()

getTypeNode

Type getTypeNode()
Returns the type of the class object being loaded.

Returns:
the type of the class object being loaded.