Package org.apache.poi.ss.formula.token
Class TokenToPtgVisitor
- java.lang.Object
-
- org.apache.poi.ss.formula.token.TokenToPtgVisitor
-
- All Implemented Interfaces:
TokenNodeVisitor<List<Ptg>>
public class TokenToPtgVisitor extends Object implements TokenNodeVisitor<List<Ptg>>
-
-
Constructor Summary
Constructors Constructor Description TokenToPtgVisitor(FormulaParsingWorkbook book, int sheetIndex, int rowIndex, int colIndex)
-
Method Summary
-
-
-
Constructor Detail
-
TokenToPtgVisitor
public TokenToPtgVisitor(FormulaParsingWorkbook book, int sheetIndex, int rowIndex, int colIndex)
-
-
Method Detail
-
visitAdd
public List<Ptg> visitAdd(AddNode node)
- Specified by:
visitAdd
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitAnd
public List<Ptg> visitAnd(AndNode node)
- Specified by:
visitAnd
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitAreaRef
public List<Ptg> visitAreaRef(AreaRefNode node)
- Specified by:
visitAreaRef
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitArrayColumns
public List<Ptg> visitArrayColumns(ArrayColumnsNode node)
- Specified by:
visitArrayColumns
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitBoolean
public List<Ptg> visitBoolean(BoolNode node)
- Specified by:
visitBoolean
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitColon
public List<Ptg> visitColon(ColonNode node)
- Specified by:
visitColon
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitComma
public List<Ptg> visitComma(CommaNode node)
- Specified by:
visitComma
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitDiv
public List<Ptg> visitDiv(DivNode node)
- Specified by:
visitDiv
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitEmpty
public List<Ptg> visitEmpty(EmptyNode node)
- Specified by:
visitEmpty
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitEqual
public List<Ptg> visitEqual(EqualNode node)
- Specified by:
visitEqual
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitError
public List<Ptg> visitError(ErrorNode node)
- Specified by:
visitError
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitErrorRef
public List<Ptg> visitErrorRef(ErrorRefNode node)
- Specified by:
visitErrorRef
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitExp
public List<Ptg> visitExp(ExpNode node)
- Specified by:
visitExp
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitFunction
public List<Ptg> visitFunction(FunctionNode node)
- Specified by:
visitFunction
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitGreat
public List<Ptg> visitGreat(GreatNode node)
- Specified by:
visitGreat
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitGreaterThanEqual
public List<Ptg> visitGreaterThanEqual(GreaterThanEqualNode node)
- Specified by:
visitGreaterThanEqual
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitLess
public List<Ptg> visitLess(LessNode node)
- Specified by:
visitLess
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitLessThanEqual
public List<Ptg> visitLessThanEqual(LessThanEqualNode node)
- Specified by:
visitLessThanEqual
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitMinus
public List<Ptg> visitMinus(MinusNode node)
- Specified by:
visitMinus
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitMulti
public List<Ptg> visitMulti(MultiNode node)
- Specified by:
visitMulti
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitName
public List<Ptg> visitName(NameNode node)
- Specified by:
visitName
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitNameRef
public List<Ptg> visitNameRef(NameRefNode node)
- Specified by:
visitNameRef
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitNotEqual
public List<Ptg> visitNotEqual(NotEqualNode node)
- Specified by:
visitNotEqual
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitNumber
public <T extends Number> List<Ptg> visitNumber(NumberNode<T> node)
- Specified by:
visitNumber
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitPercent
public List<Ptg> visitPercent(PercentNode node)
- Specified by:
visitPercent
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitPlus
public List<Ptg> visitPlus(PlusNode node)
- Specified by:
visitPlus
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitRef
public List<Ptg> visitRef(RefNode node)
- Specified by:
visitRef
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitSpace
public List<Ptg> visitSpace(SpaceNode node)
- Specified by:
visitSpace
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitString
public List<Ptg> visitString(StringNode node)
- Specified by:
visitString
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitSubtract
public List<Ptg> visitSubtract(SubtractNode node)
- Specified by:
visitSubtract
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitTableRef
public List<Ptg> visitTableRef(TableRefNode node)
- Specified by:
visitTableRef
in interfaceTokenNodeVisitor<List<Ptg>>
-
visitUnion
public List<Ptg> visitUnion(UnionNode node)
- Specified by:
visitUnion
in interfaceTokenNodeVisitor<List<Ptg>>
-
-