Package com.wewebu.expression.language

Interface Summary
OwExprFunction The expression language function interface.
OwExprPrimaryPrefix Primary language expressions are made from a prefix construction which can be a literal, a bracketed expression (egg.
OwExprProperty Properties are value bearing identifiers applied to scopes.
Properties can define sub properties through a self-defined scope, hence properties are scopes.
OwExprScope Scope defining interface.
 

Class Summary
OwExprAndOperator The boolean logic AND operator.
OwExprAnonymousSymbol Anonymous symbols represent evaluation time symbols used to check expression return type consistency and array element type consistency.
Examples :
(a-b).days Creates an anonymous symbol for expression a-barrayObject[1][2] Creates 2 anonymous symbols for expressions arrayObject[1] and arrayObject[1][2].
Further references to array first and second array dimensions will be type checked against this symbols.
OwExprArgumentsSuffix An function arguments suffix of a primary expression.
In the expression function(2,3,'sss') the (2,3,'sss') arguments will be parsed into an OwExprArgumentsSuffix.
OwExprArithmeticUnaryOperator An arithmetic unary operator.
OwExprArraySelectorSuffix An array selector suffix of a primary expression.
In the expression property[2] the [2] arguments will be parsed into an OwExprArraySelectorSuffix.
OwExprBinaryConversionTable Binary conversion tables are bidimensional-array like structures holding information on how a binary operator should perform type conversions.
Column and row type indexes can be matched against left and right operands type indexes and the resulted conversion type is the element found at the matched indexes in the table.
OwExprBinaryExpression Binary expression implementation (a left-operand-operator-right-operand expression).
OwExprBinaryExpressionType Expression type of all binary expressions.
Applies custom-binary regression rules.
OwExprBinaryOperator Binary operator class (egg.
OwExprBooleanLiteral A fixed boolean value (one of true of false):
true!=false
OwExprBooleanOperator A boolean operator base class.
OwExprBooleanValue The standard boolean value.
OwExprComparisonOperator A comparison operator base class.
OwExprConditionalExpression The short conditional expression parsing result :
1+b>a?'ok':'nok'
1+b>a is the test expression
'ok' is the true expression
'nok' is the false expression
OwExprConditionalExpressionType Expression type of all short-conditional expressions.
Regresses the two possible resulting branches.
OwExprConstantSymbol Constant symbols represent symbol table recordings of fixed values.
OwExprDateValue A date value built around the Calendar Java implementation.
OwExprDebugBracketsExpression OwExprDebugBracketsExpression.
OwExprDivideOperator OwExprDivideOperator.
OwExprEqualityOperator OwExprEqualityOperator.
OwExprErrorTable OwExprErrorTable.
OwExprExpression An expression language compiled expression.
OwExprExpressionType Compiled expression-type class.
Compiled expressions might result in multiple value types (see OwExprType) (the resulted type depends on the properties and function types which are discovered at evaluation time).
OwExprExternalScope External scopes are property and function domains Java API interfaces.
External scopes can be used on their own as collections of properties and functions.
OwExprFloatingPointLiteral A fixed floating point value :
1.3211.
OwExprFunctionSymbol Function symbols represent symbol table recordings of function pointing symbols in the expressions.
fun(1,2,3) Creates function symbol for the fun identifier
OwExprGreaterEqOperator Equal to or greater than operator implementation.
OwExprGreaterOperator Greater than operator implementation.
OwExprIntegerLiteral A fixed integer value :
32211.
OwExprLessEqOperator Equal to or less than operator implementation.
OwExprLessOperator Less than operator implementation.
OwExprLiteral An expression representing a fixed value (egg.
OwExprMinusOperator OwExprMinusOperator.
OwExprMultiplicativeOperator OwExprMultiplicativeOperator.
OwExprMultiplyOperator OwExprMultiplyOperator.
OwExprNullLiteral A fixed reserved word null expression :
a!=null
OwExprNullValue Null value class.
OwExprNumericValue The numeric value implementation.
Objects of this class represent floating point or integer numeric values.
OwExprObjectProperty OwExprObjectProperty.
OwExprOperator Operator base class.
OwExprOrOperator The boolean logic OR operator.
OwExprPlusOperator OwExprPlusOperator.
OwExprPrimaryPrefixExpression OwExprPrimaryPrefixExpression.
OwExprPropertySymbol Property symbols represent symbol table recordings of property pointing symbols in the expressions.
object.pro Creates two recursive property symbols for the object and pro identifiers
OwExprReflectiveFunction Reflective functions are properties that rely on POJOs methods to return values.
OwExprReflectiveProperty Reflective properties are properties that rely on POJOs getters to return values.
OwExprReflectiveScope Reflective scopes are external scopes that rely on POJOs to prelevate functions and properties.
Getters of the underlying POJO will be interpreted as properties and methods will be interpreted as functions.
OwExprRemainderOperator OwExprRemainderOperator.
OwExprScopedProperty OwExprScopedProperty.
OwExprScopeSelector OwExprScopeSelector.
OwExprScopeValue Scope values represent values obtained during evaluation that need to be queried for properties or functions.
Example:
employee.birthDate.year
The employee.birthDate sub-expression will be evaluated to a OwExprScopeValue
OwExprStaticArray An expression representing a static array (inlined array value like {1,2,3} ).
OwExprStringLiteral A fixed string value :
'I am a string'.
OwExprStringValue The string value implementation.
The implementation relays on the String Java implementation.
OwExprSymbol Expression symbols are identifiers and constants alike (no separate constant table is used).
Expression symbols should implement custom behavior according to their semantics:
functions , properties ,constants or runtime-anonymous symbol Symbols are organized in a tree structure with multiple roots (the top level symbols).
OwExprSymbolScope OwExprSymbolScope.
OwExprSymbolTable OwExprSymbolTable.
OwExprSystem The system scope is the default top level scope.
OwExprTime OwExprTime.
OwExprTimeValue A date value built around the OwExprTime implementation.
Time values represent time spans.
OwExprType Atomic value-types enumeration.
OwExprUnaryConversionTable Unary conversion tables are array like structures holding information on how an unary operator should perform type conversions.
Type indexes can be matched against the operand type index and the resulted conversion type is the array element found at the matched index.
OwExprUnaryExpression OwExprUnaryExpression.
OwExprUnaryExpressionType Expression type of all unary expressions.
Applies custom-unary regression rules.
OwExprUnaryMinusOperator Unary minus operator :
-2 , -4.554 , -property .
OwExprUnaryNegateOperator OwExprUnaryNegateOperator.
OwExprUnaryOperator Unary operator class (egg.
OwExprUnaryPlusOperator OwExprUnaryPlusOperator.
OwExprUnparsableExpression OwExprUnparsableExpression.
OwExprValue A value is an expression evaluation result.
All values are scopes.
OwExprXorOperator OwExprXorOperator.
 

Exception Summary
OwExprCastException OwExprCastException.
OwExprEvaluationException OwExprEvaluationException.
OwExprException OwExprException.
OwExprTypeMissmatchException OwExprTypeMissmatchException.
 



Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.