Package csheets.core.formula.util

Provides utilities for performing operations on formulas.

See:
          Description

Interface Summary
ExpressionVisitor An interface for using the Visitor pattern for traversing expressions.
 

Class Summary
AbstractExpressionVisitor A default implementation of an expression visitor, that simply visits all the nodes in the tree.
CircularReferenceFinder An expression visitor that looks for circular references in a formula, i.e.
ExpressionBuilder A base-class for classes that rebuild expressions.
ExpressionTreePrinter A class for printing expressions on multiple lines with indentation.
Interpreter A base-class for customized formula interpreters.
ReferenceFetcher An expression visitor that collects the references from an expression.
ReferenceTransposer An expression visitor that transposes the references in an expression.
 

Exception Summary
CircularReferenceException An exception that is thrown if a formula contains a reference (directly or indirectly) to the cell in which it is contained.
ExpressionVisitorException A base-class for exceptions thrown when traversing an expression tree.
 

Package csheets.core.formula.util Description

Provides utilities for performing operations on formulas. Classes that perform operations on expression trees must implement the ExpressionVisitor interfacce, either directly or by extending one of the base-classes:

ExpressionVisitors may throw ExpressionVisitorException s, or sub-classes thereof.