Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Function |
FunctionCall.getFunction()
Returns the function that is called.
|
Constructor and Description |
---|
FunctionCall(Function function,
Expression... args)
Creates a new function call.
|
Modifier and Type | Method and Description |
---|---|
Function |
IllegalFunctionCallException.getFunction()
Returns the function that was called.
|
Constructor and Description |
---|
IllegalFunctionCallException(Function function,
FunctionParameter parameter,
Expression argument)
Creates a new function call exception.
|
Modifier and Type | Class and Description |
---|---|
class |
And
A function that returns true if and only if all of its arguments are true.
|
class |
Average
A function that returns the numeric average of its arguments.
|
class |
Count
A function that counts those of its arguments that yield numeric values.
|
class |
Do
A function that emulates a looping statement, where each cell in a given
range that satisfy a given condition, or each corresponding cell in
another range, are passed to a function.
|
class |
Dowhile
A function that implements a loop statement where the first condition was the
stop argument and the next arguments are the execution statements
|
class |
Eval
Class for eval expressions
|
class |
Factorial
A function that returns the factorial of its argument.
|
class |
False
A function that returns the boolean value false.
|
class |
If
A function that emulates the if-then-else statement.
|
class |
Not
A function that returns the boolean opposite of its argument.
|
class |
NumericFunction
A numeric function that invokes a method object.
|
class |
Or
A function that returns true if any of its arguments are true.
|
class |
Sum
A function that returns the numeric sum of its arguments.
|
class |
True
A function that returns the boolean value true.
|
class |
Whiledo
A function that implements a loop statement where the first condition was the
stop argument and the next arguments are the execution statements
|
Modifier and Type | Method and Description |
---|---|
Function |
Language.getFunction(String identifier)
Returns the function with the given identifier.
|
Function[] |
Language.getFunctions()
Returns the functions that are supported by the syntax.
|