|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
Field Summary | |
private ParseItem[] |
operands
The items which this operator manipulates. |
Fields inherited from class jxl.biff.formula.ParseItem |
parent |
Constructor Summary | |
Operator()
Constructor |
Method Summary | |
protected void |
add(ParseItem n)
Adds operands to this item |
protected ParseItem[] |
getOperands()
Gets the operands ie. |
abstract void |
getOperands(java.util.Stack s)
Gets the operands for this operator from the stack |
(package private) abstract int |
getPrecedence()
Gets the precedence for this operator. |
Methods inherited from class jxl.biff.formula.ParseItem |
getBytes, getString, setParent |
Methods inherited from class java.lang.Object |
|
Field Detail |
private ParseItem[] operands
Constructor Detail |
public Operator()
Method Detail |
protected void add(ParseItem n)
public abstract void getOperands(java.util.Stack s)
protected ParseItem[] getOperands()
abstract int getPrecedence()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |