com.togethersoft.sca.dataflow.flowgraph
Interface IVar

All Superinterfaces:
IVal
All Known Subinterfaces:
ITempVariable, IUserVariable

public interface IVar
extends IVal

Variable in the internal program representation


Field Summary
static int EXTERNAL
          The variable is external (not tracked by dataflow analysis engine)
static int LOCAL
          The variable is user-visible local variable
static int MEMBER
          Member variable of the class
static int PARAMETER
          The variable is method parameter
static int SUPER
          The variable is pseudo variable super
static int TEMPORARY
          The variable is temporary --- result of some tuple
static int THIS
          The variable is pseudo variable this
 
Fields inherited from interface com.togethersoft.sca.dataflow.flowgraph.IVal
CONSTANT, VARIABLE
 
Method Summary
 java.lang.String getName()
          Returns name of variable, or null for temporary
 int getVariableKind()
          Get tag of variable
 boolean isTemp()
          returns true if and only if variable is temporary
 
Methods inherited from interface com.togethersoft.sca.dataflow.flowgraph.IVal
getValueKind, getValueType, isConstant, isVariable
 

Field Detail

EXTERNAL

public static final int EXTERNAL
The variable is external (not tracked by dataflow analysis engine)

LOCAL

public static final int LOCAL
The variable is user-visible local variable

MEMBER

public static final int MEMBER
Member variable of the class

PARAMETER

public static final int PARAMETER
The variable is method parameter

SUPER

public static final int SUPER
The variable is pseudo variable super

TEMPORARY

public static final int TEMPORARY
The variable is temporary --- result of some tuple

THIS

public static final int THIS
The variable is pseudo variable this
Method Detail

getName

public java.lang.String getName()
Returns name of variable, or null for temporary

getVariableKind

public int getVariableKind()
Get tag of variable

isTemp

public boolean isTemp()
returns true if and only if variable is temporary