All Packages Class Hierarchy This Package Previous Next Index
Class Expressions.Constant
java.lang.Object
|
+----Expressions.Constant
- public class Constant
- extends Object
- implements Expression
Constant is used to represent constants, like 1.
It takes the type of a constant (like integer) and its value
-
Constant(DTE_Type)
-
-
Constant(TypeDesc, DTE_Type)
-
-
collect(Vector, Vector)
-
-
createExec(Vector[])
-
-
exclusive(Vector)
-
-
getType()
-
-
printTypes()
-
-
toString()
-
-
typeCheck(SymbolTable)
-
Constant
public Constant(DTE_Type value)
Constant
public Constant(TypeDesc type,
DTE_Type value)
toString
public String toString()
- Overrides:
- toString in class Object
printTypes
public String printTypes()
getType
public TypeDesc getType()
typeCheck
public Expression typeCheck(SymbolTable st)
createExec
public ExecExpr createExec(Vector projLists[]) throws InternalError
exclusive
public boolean exclusive(Vector aliases)
collect
public void collect(Vector aliases,
Vector expressions)
All Packages Class Hierarchy This Package Previous Next Index