Interface | Description |
---|---|
Expression |
Represents a compiled expression.
|
Class | Description |
---|---|
Compiler |
Expression compiler. |
Function |
Function evaluator that can be used in an
Expression . |
Exception | Description |
---|---|
ExpressionException |
Signals that an
Expression exception of some sort has occurred. |
compiling
and evaluating
desktop expressions
.
A desktop expression is a simplified version of a Java expression, and it
includes conditional, comparator, addition, multiplication and uniry
operators. A desktop expression can also invoke built-in and user-defined
functions
. Class Compiler
defines the BNF grammar of
expressions, and the list of built-in functions.
A user-defined function
is
implemented in Java, and it can access the entire desktop and Java
environment. These functions must be registered
before an
expression is compiled and evaluated.
Compiler
,
Expression
,
Function
Copyright © OBCOM INGENIERIA S.A. (Chile). All Rights Reserved.