Uses of Class
edu.neu.ccs.parser.Operation

Packages that use Operation
edu.neu.ccs.parser Provides classes for translating Strings into values of various data types using languages with simple lexical and syntactic structures. 
 

Uses of Operation in edu.neu.ccs.parser
 

Subclasses of Operation in edu.neu.ccs.parser
 class BooleanOperation
          Class used to store a boolean operation.
 class NumericOperation
          Class used to store a numeric operation.
 

Fields in edu.neu.ccs.parser declared as Operation
static Operation Operation.IDENTITY
          The IDENTITY operation, equivalent to the function f(x,y)=y.
static Operation Operation.OPERATION_PREFIX
          The singleton operation object which designates that a symbol is a prefix for a known operation.
private  Operation ObjectOperationPair.operation
          The operation component of the pair.
static Operation BaseParser.IDENTITY
          The IDENTITY operation, equivalent to the function f(x,y)=y.
static Operation BaseParser.OPERATION_PREFIX
          The singleton operation object which designates that a symbol is a prefix for a known operation.
 

Methods in edu.neu.ccs.parser that return Operation
 Operation ObjectOperationPair.operation()
          Returns the operation component of this pair.
 Operation BaseParser.addOperationAtPrecedenceOf(Operation compare, Operation op)
          Adds the given operation op to the table of recognized operations, at the same level of precedence as the existing operation compare installed in this parser.
 Operation BaseParser.addOperationBeforePrecedenceOf(Operation compare, Operation op)
          Adds the given operation op to the table of recognized operations, at a level of precedence immediately before the precendence of the existing operation compare installed in this parser.
 Operation BaseParser.addOperationAfterPrecedenceOf(Operation compare, Operation op)
          Adds the given operation op to the table of recognized operations, at a level of precedence immediately after the precendence of the existing operation compare installed in this parser.
 Operation BaseParser.getOperation(String symbol)
          Returns the operation with the given symbol or null if no such operation is defined.
 Operation[] BaseParser.operations()
          Returns an array of the operations.
protected  Operation[] BaseParser.nextUnaryOperations()
          Returns the array of unary operations that occur after the current position in the data string and throws a ParseException if an operation is encountered that is binary but not unary.
protected  Operation BaseParser.isOperationOrPrefix(String symbol)
          Performs a lookup in the operation and prefix tables to determine if the given String symbol represents an existing operation or is a prefix of the symbol for an existing operation.
protected  Operation BaseParser.nextOperation()
          If the next token in the data represents an operation then return the corresponding Operation otherwise return null.
 

Methods in edu.neu.ccs.parser with parameters of type Operation
 Operation BaseParser.addOperationAtPrecedenceOf(Operation compare, Operation op)
          Adds the given operation op to the table of recognized operations, at the same level of precedence as the existing operation compare installed in this parser.
 Operation BaseParser.addOperationBeforePrecedenceOf(Operation compare, Operation op)
          Adds the given operation op to the table of recognized operations, at a level of precedence immediately before the precendence of the existing operation compare installed in this parser.
 Operation BaseParser.addOperationAfterPrecedenceOf(Operation compare, Operation op)
          Adds the given operation op to the table of recognized operations, at a level of precedence immediately after the precendence of the existing operation compare installed in this parser.
protected  void BaseParser.addOperation(Operation op, int pos)
          Adds the given operation to the operation table at the given index in the precedence list.
protected  int BaseParser.precedenceOf(Operation op)
          Returns the index in the precedence list corresponding to the precedence of the given operation, or -1 if the given operation is null or is not in the precedence list.
 

Constructors in edu.neu.ccs.parser with parameters of type Operation
ObjectOperationPair(Object v, Operation o)
          Constructs a pair with the given value and operation.