Ptg
token. Each ParseNode may have child ParseNodes in the case when the wrapped
Ptg is non-atomic.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final ParseNode[] | |
| private final boolean | |
| private final Ptg | |
| private final int | |
| public static final ParseNode[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | collectIfPtgs(ParseNode.
The IF() function gets marked up with two or three tAttr tokens. |
| private void | |
| public ParseNode[] | |
| public int | |
| public Ptg | |
| private int | |
| private static boolean | |
| public static Ptg[] |
| _children | back to summary |
|---|---|
| private final ParseNode[] _children | |
| _isIf | back to summary |
|---|---|
| private final boolean _isIf | |
| _token | back to summary |
|---|---|
| private final Ptg _token | |
| _tokenCount | back to summary |
|---|---|
| private final int _tokenCount | |
| EMPTY_ARRAY | back to summary |
|---|---|
| public static final ParseNode[] EMPTY_ARRAY | |
| ParseNode | back to summary |
|---|---|
| public ParseNode(Ptg token, ParseNode[] children) | |
| ParseNode | back to summary |
|---|---|
| public ParseNode(Ptg token) | |
| ParseNode | back to summary |
|---|---|
| public ParseNode(Ptg token, ParseNode child0) | |
| ParseNode | back to summary |
|---|---|
| public ParseNode(Ptg token, ParseNode child0, ParseNode child1) | |
| collectIfPtgs | back to summary |
|---|---|
| private void collectIfPtgs(ParseNode. The IF() function gets marked up with two or three tAttr tokens. Similar logic will be required for CHOOSE() when it is supported See excelfileformat.pdf sec 3.10.5 "tAttr (19H) | |
| collectPtgs | back to summary |
|---|---|
| private void collectPtgs(ParseNode. | |
| getChildren | back to summary |
|---|---|
| public ParseNode[] getChildren() | |
| getEncodedSize | back to summary |
|---|---|
| public int getEncodedSize() | |
| getToken | back to summary |
|---|---|
| public Ptg getToken() | |
| getTokenCount | back to summary |
|---|---|
| private int getTokenCount() | |
| isIf | back to summary |
|---|---|
| private static boolean isIf(Ptg token) | |
| toTokenArray | back to summary |
|---|---|
| public static Ptg[] toTokenArray(ParseNode rootNode) Collects the array of | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public int | |
| public Ptg[] | |
| public void | |
| public int |
| _offset | back to summary |
|---|---|
| private int _offset | |
| _ptgs | back to summary |
|---|---|
| private final Ptg[] _ptgs | |
| TokenCollector | back to summary |
|---|---|
| public TokenCollector(int tokenCount) | |
| add | back to summary |
|---|---|
| public void add(Ptg token) | |
| createPlaceholder | back to summary |
|---|---|
| public int createPlaceholder() | |
| getResult | back to summary |
|---|---|
| public Ptg[] getResult() | |
| setPlaceholder | back to summary |
|---|---|
| public void setPlaceholder(int index, Ptg token) | |
| sumTokenSizes | back to summary |
|---|---|
| public int sumTokenSizes(int fromIx, int toIx) | |