|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsheets.core.formula.util.ExpressionBuilder
public class ExpressionBuilder
A base-class for classes that rebuild expressions. In this form, it simply copies expressions.
| Constructor Summary | |
|---|---|
ExpressionBuilder()
Creates a new expression builder. |
|
| Method Summary | |
|---|---|
Expression |
getExpression(Expression expression)
Returns a copy of the given expression. |
Expression |
visitBinaryOperation(BinaryOperation operation)
Visits the given binary expression. |
Expression |
visitFunctionCall(FunctionCall call)
Visits the given function call. |
Expression |
visitLiteral(Literal literal)
Visits the given literal. |
Expression |
visitReference(Reference reference)
Visits the given cell reference. |
Expression |
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 ExpressionBuilder()
| Method Detail |
|---|
public Expression getExpression(Expression expression)
expression - the expression to rebuild
public Expression visitLiteral(Literal literal)
ExpressionVisitor
visitLiteral in interface ExpressionVisitorliteral - the literal to visit
public Expression visitUnaryOperation(UnaryOperation operation)
ExpressionVisitor
visitUnaryOperation in interface ExpressionVisitoroperation - the operation to visit
public Expression visitBinaryOperation(BinaryOperation operation)
ExpressionVisitor
visitBinaryOperation in interface ExpressionVisitoroperation - the operation to visit
public Expression visitReference(Reference reference)
ExpressionVisitor
visitReference in interface ExpressionVisitorreference - the reference to visit
public Expression 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 | |||||||||