|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsheets.core.formula.util.AbstractExpressionVisitor
public abstract class AbstractExpressionVisitor
A default implementation of an expression visitor, that simply visits all the nodes in the tree. All methods return the expression that was visited.
| Constructor Summary | |
|---|---|
AbstractExpressionVisitor()
Creates a new expression visitor. |
|
| Method Summary | |
|---|---|
Object |
visitBinaryOperation(BinaryOperation operation)
Visits the given binary expression. |
Object |
visitFunctionCall(FunctionCall call)
Visits the given function call. |
Object |
visitLiteral(Literal literal)
Visits the given literal. |
Object |
visitReference(Reference reference)
Visits the given cell reference. |
Object |
visitUnaryOperation(UnaryOperation operation)
Visits the given unary expression. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractExpressionVisitor()
| Method Detail |
|---|
public Object visitLiteral(Literal literal)
ExpressionVisitor
visitLiteral in interface ExpressionVisitorliteral - the literal to visit
public Object visitUnaryOperation(UnaryOperation operation)
ExpressionVisitor
visitUnaryOperation in interface ExpressionVisitoroperation - the operation to visit
public Object visitBinaryOperation(BinaryOperation operation)
ExpressionVisitor
visitBinaryOperation in interface ExpressionVisitoroperation - the operation to visit
public Object visitReference(Reference reference)
ExpressionVisitor
visitReference in interface ExpressionVisitorreference - the reference to visit
public Object visitFunctionCall(FunctionCall call)
ExpressionVisitor
visitFunctionCall in interface ExpressionVisitorcall - the function call to visit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||