All Packages Class Hierarchy This Package Previous Next Index
Class Expressions.Selection
java.lang.Object
|
+----Expressions.Selection
- public class Selection
- extends Object
- implements Expression
class Selection is used to represent expression like emp.salary
-
Selection(String, String)
-
-
Selection(String, String, TypeDesc)
-
-
collect(Vector, Vector)
-
-
createExec(Vector[])
-
-
equals(Object)
-
-
exclusive(Vector)
-
-
getType()
-
-
printTypes()
-
-
toString()
-
-
typeCheck(SymbolTable)
-
Selection
public Selection(String alias,
String attribute)
Selection
public Selection(String alias,
String attribute,
TypeDesc type)
equals
public boolean equals(Object obj)
- Overrides:
- equals in class Object
toString
public String toString()
- Overrides:
- toString in class Object
printTypes
public String printTypes()
getType
public TypeDesc getType()
typeCheck
public Expression typeCheck(SymbolTable st) throws RuntimeException
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