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


Constructor Index

 o Constant(DTE_Type)
 o Constant(TypeDesc, DTE_Type)

Method Index

 o collect(Vector, Vector)
 o createExec(Vector[])
 o exclusive(Vector)
 o getType()
 o printTypes()
 o toString()
 o typeCheck(SymbolTable)

Constructors

 o Constant
 public Constant(DTE_Type value)
 o Constant
 public Constant(TypeDesc type,
                 DTE_Type value)

Methods

 o toString
 public String toString()
Overrides:
toString in class Object
 o printTypes
 public String printTypes()
 o getType
 public TypeDesc getType()
 o typeCheck
 public Expression typeCheck(SymbolTable st)
 o createExec
 public ExecExpr createExec(Vector projLists[]) throws InternalError
 o exclusive
 public boolean exclusive(Vector aliases)
 o collect
 public void collect(Vector aliases,
                     Vector expressions)

All Packages  Class Hierarchy  This Package  Previous  Next  Index