|
|||||||||
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 | +--jxl.biff.formula.Parenthesis
A cell reference in a formula
Fields inherited from class jxl.biff.formula.Operator |
operands |
Fields inherited from class jxl.biff.formula.ParseItem |
parent |
Constructor Summary | |
Parenthesis()
Constructor |
Method Summary | |
(package private) byte[] |
getBytes()
Gets the token representation of this item in RPN |
void |
getOperands(java.util.Stack s)
Gets the operands for this operator from the stack |
(package private) int |
getPrecedence()
Gets the precedence for this operator. |
void |
getString(java.lang.StringBuffer buf)
Gets the string representation of this item |
(package private) Token |
getToken()
Abstract method which gets the token for this operator |
int |
read(byte[] data,
int pos)
Reads the ptg data from the array starting at the specified position |
Methods inherited from class jxl.biff.formula.Operator |
add, getOperands |
Methods inherited from class jxl.biff.formula.ParseItem |
setParent |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public Parenthesis()
Method Detail |
public int read(byte[] data, int pos)
read
in interface ParsedThing
data
- the RPN arraypos
- the current position in the array, excluding the ptg identifierpublic void getOperands(java.util.Stack s)
getOperands
in class Operator
public void getString(java.lang.StringBuffer buf)
ParseItem
getString
in class ParseItem
jxl.biff.formula.ParseItem
ws
- the workbook settingsToken getToken()
byte[] getBytes()
getBytes
in class ParseItem
int getPrecedence()
getPrecedence
in class Operator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |