|
http://www.eteks.com | ||||||||
PREV NEXT | FRAMES NO FRAMES |
Syntax
interface.
caseSensitive
function
to the recognized functions of this syntax.
parameter
to the list of parameters or operands
of this node.
cell
and all the cells of
the parameters of expression
in the formula of cell
.
userFunction
to the expression
and function syntaxes of this parser.
DefaultSyntax
.
syntax
.
checkCircularity ()
method
of JeksExpression
, if a circularity is detected in the cell's references
of a table.parameters
,
its definition definition
, its instance of ExpressionParameter
expressionParameter
and the tree expressionTree
matching the definition.
name
with its parameters
parameters
, its definition definition
and the
tree expressionTree
matching the expression of the function.
expressionDefinition
and
returns the instance of CompiledExpression
matching the definition.
expressionDefinition
and returns an instance of JeksExpression
.
functionDefinition
and
returns the instance of CompiledFunction
matching the definition.
getParameterValue ()
method of the instance of ExpressionParameter
of this expression.
parametersValue
at the index returned by getParameterIndex ()
.
getParameterValue ()
method
of the the ExpressionParameter
instance of this parameter and its key as
parameter.
getParameterValue ()
method of the instance of ExpressionParameter
of this expression.
getConstantValue ()
method
of interpreter
with the key of this constant as parameter.
getUnaryOperatorValue ()
method
of interpreter
with the key of this operator and the computed value
of its operand as parameters.
getParameterValue ()
method
of interpreter
with the parameter in parametersValue
at the index returned by getParameterIndex ()
as argument of
getParameterValue ()
.
getFunctionValue ()
method
of interpreter
with the instance of Function
of this node
and the computed value of its parameters as parameters of getFunctionValue ()
.
getCommonFunctionValue ()
method
of interpreter
with the key of this function and the computed value
of its parameter as parameters of getCommonFunctionValue ()
.
getParameterValue ()
method
of interpreter
with the returned value of getParameterValue ()
with the key of this parameter as argument of getParameterValue ()
.
getBinaryOperatorValue ()
method
of interpreter
with the key of this operator and the computed value
of its operands as parameters.
getLiteralValue ()
method
of interpreter
with the stored value of this literal as parameter.
expressionDefinition
.
expressionDefinition
.
parametersValue
.
parametersValue
.
getConditionPartKey ()
for the else part of a condition.
getConditionPartKey ()
for the if part of a condition.
getConditionPartKey ()
for the then part of a condition.
getConstantKey ()
for the constant number E (exp (1)).
getConstantKey ()
for the constant false.
getConstantKey ()
for the constant PI.
getConstantKey ()
for the constant true.
true
if the cell at coordinates (row,column)
is contained in this cells set.
JeksTable
filled with the functions and
the cell values read from the stream inStream
at Jeks format.
Double
objects. outStream
the content of table
at Jeks format.
true
if object
represents the same cell as this cell.
parameterKey
.
DefaultSyntax
.
syntax
.
new Double (0)
).
0
).
getCommonFunctionKey ()
for the absolute value function.
getCommonFunctionKey ()
for the arc cosine function.
getCommonFunctionKey ()
for the arc sine function.
getCommonFunctionKey ()
for the arc tangent function.
getCommonFunctionKey ()
for the ceil value function.
getCommonFunctionKey ()
for the cosine function.
getCommonFunctionKey ()
for the hyperbolic sine function.
getCommonFunctionKey ()
for the exponential function.
getCommonFunctionKey ()
for the floor value function.
getCommonFunctionKey ()
for the integer part function.
getCommonFunctionKey ()
for the nepierian logarithm function.
getCommonFunctionKey ()
for the decimal logarithm function.
getCommonFunctionKey ()
for the not function.
getCommonFunctionKey ()
for the opposite function.
getCommonFunctionKey ()
for the round value function.
getCommonFunctionKey ()
for the sine function.
getCommonFunctionKey ()
for the hyperbolic sine function.
getCommonFunctionKey ()
for the square function.
getCommonFunctionKey ()
for the square root function.
getCommonFunctionKey ()
for the tangent function.
getCommonFunctionKey ()
for the hyperbolic tangent function.
parameterIndex
.
DefaultSyntax
.
syntax
.
cell
as a parameter in their formula directly or indirectly.
FunctionParser
and ExpressionParser
.
binaryOperator
.
binaryOperator
(one of OPERATOR_ADD
,
OPERATOR_SUBSTRACT
, OPERATOR_MULTIPLY
, OPERATOR_DIVIDE
,... or
an other user defined key).
binaryOperatorKey
.
binaryOperatorKey
.
binaryOperatorKey
applied on
the two operands operand1
and operand2
.
binaryOperatorKey
applied on
the two operands operand1
and operand2
.
binaryOperatorKey
applied on
the two operands operand1
and operand2
.
binaryOperatorKey
applied on
the two operands operand1
and operand2
.
identifier
.
JeksCellEditor
if this table is
editable.
cellErrorKey
.
error
.
row
,column
).
column
.
commonFunction
.
commonFunction
(one of FUNCTION_LN
,
FUNCTION_LOG
, FUNCTION_EXP
, FUNCTION_SQR
,... or
an other user defined key).
commonFunctionKey
with
the parameter param
.
commonFunctionKey
with
the parameter param
.
commonFunctionKey
with
the parameter param
.
commonFunctionKey
with
the parameter param
.
conditionPart
.
conditionPart
(one of CONDITION_IF
,
CONDITION_THEN
, CONDITION_ELSE
).
null
.
paramThen
or paramElse
depending
on whether isTrue (paramIf)
returning true
or false
.
paramIf
, paramThen
or paramElse
.
paramThen
or paramElse
depending on
whether the condition paramIf
being true or false.
constant
.
constant
(one of CONSTANT_PI
,
CONSTANT_E
, CONSTANT_FALSE
, CONSTANT_TRUE
or
an other user defined key).
constantKey
.
constantKey
.
constantKey
.
constantKey
.
isValidIdentifier ()
method.
value
as an editable object.
value
as an editable object.
ExpressionParameter
of this expression used to get
the value of each parameter with its key.
ExpressionParameter
of this parser.
ExpressionParameter
able to returns the key
of a parameter and its value.
ExpressionNode
.
expression
.
Function
whose name is functionName
.
Function
whose name is functionName
.
function
with its parameters parametersValue
.
function
call with its
parameters parametersValue
.
function
with its parameters parametersValue
.
jeksFunctionKey
(one of the JEKS_FUNCTION_...
constants).
jeksFunction
.
expression
or null
if expression
doesn't start with a number.
expression
or null
if expression
doesn't start with a literal.
expression
or null
if expression
doesn't start with a literal.
expression
or null
if expression
doesn't start with a literal.
literal
.
literal
.
literal
interpreted as a MathML tag.
literal
.
messageKey
(one of the
MESSAGE_...
constants).
messageKey
.
data
.
data
.
index
that will be passed
as parameter to this function.
parameter
, if parameter
is a
valid parameter in expressions parsed with this instance.
null
.
parameter
.
parameter
.
parameter
.
parameter
.
parameterKey
.
parameter
if it's null
an instance of Number
,
String
, Character
, Boolean
, Date
or
Object [][]
.
parameterKey
.
cell
as a parameter in their formula directly.
row
.
unaryOperator
.
unaryOperator
(one of OPERATOR_POSITIVE
,
OPERATOR_OPPOSITE
, OPERATOR_LOGICAL_NOT
, OPERATOR_BITWISE_NOT
or
an other user defined key).
unaryOperatorKey
applied
on the operand operand
.
unaryOperatorKey
applied
on the operand operand
.
unaryOperatorKey
applied
on the operand operand
.
unaryOperatorKey
applied on
the operand operand
.
computeExpression ()
method.
getParameterValue ()
method of
JeksParameter
, for invalid references in an expression (#REF!).getValue ()
will be called.
ex
.
true
if identifiers, constants, operators and function of the syntax
are case sensitive.
true
if identifiers, constants, operators and function of the syntax
are case sensitive.
true
if identifier
represents a cell.
true
if character
is a digit.
true
if the string identifier
is a Java identifier.
true
if character
is a letter.
true
if this is a recursive call.
true
if expressions parsed with this syntax supports short cuts.
true
if expressions parsed with this syntax supports short cuts.
true
or false
according to the value of condition
.
true
or false
according to the value of condition
.
IllegalArgumentException
exception because this interpreter can't
evaluate values.
true
or false
according to the value of condition
.
true
if param
is an instance of Number
different of 0, or if param
is a true Boolean
object.
true
if identifier
is a correct name of function
or parameter.
true
if the string identifier
is a correctly written identifier
usable as the name of a function or a paramater.
true
if the string identifier
is a correctly written identifier
to be used as a user function name, a user function paramater name or an expression parameter.
true
if identifier
is a correct name of function
or parameter.
true
if identifier
is a valid identifier
for a function or is a cell identifier.
true
if the number of parameters count
required at runtime by this function is valid.
true
if count
is equal to the required number
of parameters.
row
,column
).
(firstRow,firstColumn)
to the one at coordinates
(lastRow,lastColumn)
.
firstCell
to the cell
lastCell
.
tableModel
,
using instances of JeksExpressionSyntax
and of JeksFunctionSyntax
for expression and function syntaxes, an instance of JeksInterpreter
as interpreter
and an instance of JeksParameter
as expression parameter.
JeksExpressionSyntax
with default locale.
JeksExpressionSyntax
initialized with the resource bundle
com.eteks.jeks.syntax
.
JeksFunctionSyntax
as syntax.
syntax
.
JeksFunctionSyntax
using default locale.
JeksFunctionSyntax
initialized with the resource bundle
com.eteks.jeks.syntax
.
JeksParameter
.
JeksExpressionParser
as parser for computed cells.
rowCount
rows and columnCount
columns
with an instance of JeksExpressionParser
as parser for computed cells.
model
and an instance of JeksExpressionParser
as parser for computed cells.
JeksCell
class.
Short.MAX_VALUE
rows and columns.
rowCount
rows and
columnCount
columns.
value
.
getBinaryOperatorKey ()
for the add operator.
getBinaryOperatorKey ()
for the bitwise and operator.
getUnaryOperatorKey ()
for the bitwise not operator.
getBinaryOperatorKey ()
for the bitwise or operator.
getBinaryOperatorKey ()
for the bitwise xor operator.
getBinaryOperatorKey ()
for the different operator.
getBinaryOperatorKey ()
for the divide operator.
getBinaryOperatorKey ()
for the equal operator.
getBinaryOperatorKey ()
for the greater operator.
getBinaryOperatorKey ()
for the greater or equal operator.
getBinaryOperatorKey ()
for the less operator.
getBinaryOperatorKey ()
for the less or equal operator.
getBinaryOperatorKey ()
for the logical and operator.
getUnaryOperatorKey ()
for the logical not operator.
getBinaryOperatorKey ()
for the logical or operator.
getBinaryOperatorKey ()
for the logical xor operator.
getBinaryOperatorKey ()
for the modulo operator.
getBinaryOperatorKey ()
for the multiply operator.
getUnaryOperatorKey ()
for the opposite operator.
getUnaryOperatorKey ()
for the positive operator.
getBinaryOperatorKey ()
for the power operator.
getBinaryOperatorKey ()
for the remainder operator.
getBinaryOperatorKey ()
for the shift left operator.
getBinaryOperatorKey ()
for the shift right operator.
getBinaryOperatorKey ()
for the shift right operator (Java operator >>>).
getBinaryOperatorKey ()
for the substract operator.
data
.
function
from the functions of this syntax.
cell
and all the cells of
the parameters of expression
in the formula of cell
.
cell
.
userFunction
from the expression
and function syntaxes of this parser.
ResourceBundle
.ResourceSyntax
initialized with the resourceBundle
.
binaryOperator
to the syntactic key
binaryOperatorKey
.
binaryOperatorKey
.
commonFunction
to the syntax key
commonFunctionKey
.
conditionPart
to the syntactic key
conditionPartKey
.
constant
to the syntactic key
constantKey
.
unaryOperator
to the syntactic key
unaryOperatorKey
.
expression
of rowShift
rows and columnShift
columns and returns the shifted definition.
expression
of rowShift
rows and columnShift
columns and returns the shifted expression.
true
thus enabling this interpreter to evaluate the value of recursive
calls.
false
.
true
if the isTrue ()
method is able to evaluate its parameter.
TableModelListener
implementation
cell
.
cell
.
new Double (1)
).
1
).
|
|
||||||||
PREV NEXT | FRAMES NO FRAMES |