|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Expression | |
|---|---|
| csheets.core.formula | Provides classes for representing formulas. |
| csheets.core.formula.compiler | Provides classes for compiling formulas from strings. |
| csheets.core.formula.lang | Provides the operators, functions and references supported by the formula language. |
| csheets.core.formula.util | Provides utilities for performing operations on formulas. |
| csheets.ext.assertion | Provides support for user-specified and system-generated assertions. |
| csheets.ext.test | Provides support for test cases and test case parameters. |
| Uses of Expression in csheets.core.formula |
|---|
| Subinterfaces of Expression in csheets.core.formula | |
|---|---|
interface |
Reference
A reference to one or more cells in a spreadsheet. |
| Classes in csheets.core.formula that implement Expression | |
|---|---|
class |
BinaryOperation
A binary operation in a formula. |
class |
Formula
A formula in a cell. |
class |
FunctionCall
A call to a function in a formula. |
class |
Literal
A literal value in a formula. |
class |
Operation<O extends Operator>
An operation in a formula. |
class |
UnaryOperation
A unary operation in a formula. |
| Methods in csheets.core.formula that return Expression | |
|---|---|
Expression[] |
FunctionCall.getArguments()
Returns the arguments passed to the function. |
Expression |
Formula.getExpression()
Returns the expression in the formula. |
Expression |
BinaryOperation.getLeftOperand()
Returns the left(first) operand. |
Expression |
UnaryOperation.getOperand()
Returns the operand. |
Expression |
BinaryOperation.getRightOperand()
Returns the right(second) operand. |
| Methods in csheets.core.formula with parameters of type Expression | |
|---|---|
Value |
UnaryOperator.applyTo(Expression operand)
Applies the operator to the given operand and returns the result. |
Value |
Function.applyTo(Expression[] args)
Invokes the function using the given arguments and returns the result. |
Value |
BinaryOperator.applyTo(Expression leftOperand,
Expression rightOperand)
Applies the operator to the given operands and returns the result. |
| Constructors in csheets.core.formula with parameters of type Expression | |
|---|---|
BinaryOperation(Expression leftOperand,
BinaryOperator operator,
Expression rightOperand)
Creates a new binary operation. |
|
Formula(Cell cell,
Expression expression)
Creates a new formula. |
|
FunctionCall(Function function,
Expression... args)
Creates a new function call. |
|
UnaryOperation(UnaryOperator operator,
Expression operand)
Creates a new unary operation. |
|
| Uses of Expression in csheets.core.formula.compiler |
|---|
| Methods in csheets.core.formula.compiler that return Expression | |
|---|---|
Expression |
ExpressionCompiler.compile(Cell cell,
String source)
Compiles an expression from the given string. |
Expression |
ExcelExpressionCompiler.compile(Cell cell,
String source)
|
protected Expression |
ExcelExpressionCompiler.convert(Cell cell,
antlr.collections.AST node)
Converts the given ANTLR AST to an expression. |
Expression |
IllegalFunctionCallException.getArgument()
Returns the argument that failed to match. |
| Constructors in csheets.core.formula.compiler with parameters of type Expression | |
|---|---|
IllegalFunctionCallException(Function function,
FunctionParameter parameter,
Expression argument)
Creates a new function call exception. |
|
| Uses of Expression in csheets.core.formula.lang |
|---|
| Classes in csheets.core.formula.lang that implement Expression | |
|---|---|
class |
CellReference
A reference to a cell in a spreadsheet. |
class |
ReferenceOperation
A binary reference operation in a formula. |
| Methods in csheets.core.formula.lang with parameters of type Expression | |
|---|---|
Value |
Percent.applyTo(Expression operand)
Returns the operand's value divided by 100. |
Value |
Negator.applyTo(Expression operand)
Returns the negation of the operand's value. |
Value |
True.applyTo(Expression[] arguments)
|
Value |
Sum.applyTo(Expression[] arguments)
|
Value |
Or.applyTo(Expression[] arguments)
|
Value |
NumericFunction.applyTo(Expression[] arguments)
|
Value |
Not.applyTo(Expression[] arguments)
|
Value |
If.applyTo(Expression[] arguments)
|
Value |
False.applyTo(Expression[] arguments)
|
Value |
Factorial.applyTo(Expression[] arguments)
|
Value |
Do.applyTo(Expression[] arguments)
|
Value |
Count.applyTo(Expression[] arguments)
|
Value |
Average.applyTo(Expression[] arguments)
|
Value |
And.applyTo(Expression[] arguments)
|
Value |
Subtracter.applyTo(Expression leftOperand,
Expression rightOperand)
|
Value |
RelationalOperator.applyTo(Expression leftOperand,
Expression rightOperand)
|
Value |
RangeReference.applyTo(Expression leftOperand,
Expression rightOperand)
|
Value |
Multiplier.applyTo(Expression leftOperand,
Expression rightOperand)
|
Value |
Exponentiator.applyTo(Expression leftOperand,
Expression rightOperand)
|
Value |
Divider.applyTo(Expression leftOperand,
Expression rightOperand)
|
Value |
Concatenator.applyTo(Expression leftOperand,
Expression rightOperand)
|
Value |
Adder.applyTo(Expression leftOperand,
Expression rightOperand)
|
| Constructors in csheets.core.formula.lang with parameters of type Expression | |
|---|---|
DivisionByZeroException(Expression expression)
Creates a new division-by-zero exception. |
|
| Uses of Expression in csheets.core.formula.util |
|---|
| Methods in csheets.core.formula.util that return Expression | |
|---|---|
Expression |
ReferenceTransposer.getExpression(Expression expression)
Returns a transposed copy of the given expression. |
Expression |
ExpressionBuilder.getExpression(Expression expression)
Returns a copy of the given expression. |
Expression |
ExpressionBuilder.visitBinaryOperation(BinaryOperation operation)
|
Expression |
ExpressionBuilder.visitFunctionCall(FunctionCall call)
|
Expression |
ExpressionBuilder.visitLiteral(Literal literal)
|
Expression |
ReferenceTransposer.visitReference(Reference reference)
Transposes the reference. |
Expression |
ExpressionBuilder.visitReference(Reference reference)
|
Expression |
ExpressionBuilder.visitUnaryOperation(UnaryOperation operation)
|
| Methods in csheets.core.formula.util with parameters of type Expression | |
|---|---|
Expression |
ReferenceTransposer.getExpression(Expression expression)
Returns a transposed copy of the given expression. |
Expression |
ExpressionBuilder.getExpression(Expression expression)
Returns a copy of the given expression. |
SortedSet<Reference> |
ReferenceFetcher.getReferences(Expression expression)
Traverses the given expression and returns the references that were found. |
| Uses of Expression in csheets.ext.assertion |
|---|
| Methods in csheets.ext.assertion with parameters of type Expression | |
|---|---|
MultiInterval |
AssertionArithmeticVisitor.getResult(Expression expression)
Retrieve the result of the arithmetic calculations performed by this visitor. |
| Uses of Expression in csheets.ext.test |
|---|
| Classes in csheets.ext.test that implement Expression | |
|---|---|
class |
TestCase
Contains the information for a single test case, i.e. a single test case parameter for each of the precedents. |
class |
TestCaseParam
A class holding information about a Test Case Parameter. |
| Methods in csheets.ext.test that return Expression | |
|---|---|
Expression |
TestCaseBuilder.visitReference(Reference reference)
Replaces the reference with the appropriate test case parameter(s). |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||