|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Generic value. Generic values belong to one of the two categories:
VARIABLE --- variable, either explicitly declared in program,
either temporary value, generated by compiler.
CONSTANT --- constant, either explicitly appeared in program
either prodiced by compiler or constant folder
| Field Summary | |
static int |
CONSTANT
The value denotes a constant value |
static int |
VARIABLE
The value denotes a variable |
| Method Summary | |
int |
getValueKind()
Get kind of value object |
int |
getValueType()
Get low-level type of value |
boolean |
isConstant()
Is the value constant ? |
boolean |
isVariable()
Is the value variable ? |
| Field Detail |
public static final int CONSTANT
public static final int VARIABLE
| Method Detail |
public int getValueKind()
VARIABLE<\code> either CONSTANT<\code>public int getValueType()
IType<\code> values- See Also:
com.togethersoft.sca.dataflow.values.ITypepublic boolean isConstant()
true if and only if the Value is
constantpublic boolean isVariable()
true if and only if the Value is
variable
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||