Home » JCraft » jxl » biff » formula » [javadoc | source]
jxl.biff.formula
abstract class: Operator [javadoc | source]
java.lang.Object
   jxl.biff.formula.ParseItem
      jxl.biff.formula.Operator
An operator is a node in a parse tree. Its children can be other operators or operands Arithmetic operators and functions are all considered operators
Constructor:
 public Operator() 
Method from jxl.biff.formula.Operator Summary:
add,   getOperands,   getOperands,   getPrecedence,   setOperandAlternateCode
Methods from jxl.biff.formula.ParseItem:
adjustRelativeCellReferences,   columnInserted,   columnRemoved,   getBytes,   getParseContext,   getString,   handleImportedCellReferences,   isValid,   isVolatile,   rowInserted,   rowRemoved,   setAlternateCode,   setInvalid,   setParent,   setParseContext,   setVolatile,   useAlternateCode
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from jxl.biff.formula.Operator Detail:
 protected  void add(ParseItem n) 
    Adds operands to this item
 protected ParseItem[] getOperands() 
    Gets the operands ie. the children of the node
 abstract public  void getOperands(Stack s)
    Gets the operands for this operator from the stack
 abstract int getPrecedence()
    Gets the precedence for this operator. Operator precedents run from 1 to 5, one being the highest, 5 being the lowest
 protected  void setOperandAlternateCode() 
    Tells the operands to use the alternate code