All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Expressions.Operator

java.lang.Object
   |
   +----Expressions.Operator

public class Operator
extends Object
implements Expression
class Operator is used to represent all the binary operators. It takes the text of the operator, like "+" and two inputs.


Constructor Index

 o Operator(String, Expression, Expression)

Method Index

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

Constructors

 o Operator
 public Operator(String op,
                 Expression l,
                 Expression r)

Methods

 o equals
 public boolean equals(Object obj)
Overrides:
equals in class Object
 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