| Package | Description | 
|---|---|
| com.whitestein.lsps.engine | 
 The package contains common classes for LSPS expression interpretation. 
 | 
| com.whitestein.lsps.engine.lang | |
| com.whitestein.lsps.engine.lang.compiled | |
| com.whitestein.lsps.engine.sharedrecord | |
| com.whitestein.lsps.engine.state.xml | |
| com.whitestein.lsps.human.context | 
 Classes that represents human-oriented model objects in java code. 
 | 
| com.whitestein.lsps.human.generation | |
| com.whitestein.lsps.human.model | |
| com.whitestein.lsps.lang | 
 This is the main package for the LSPS expression language. 
 | 
| com.whitestein.lsps.lang.ast | |
| com.whitestein.lsps.lang.exception | |
| com.whitestein.lsps.lang.operation | |
| com.whitestein.lsps.lang.parser | 
 This package contains ANTLR-based LSPS language parser ( 
Parser). | 
| com.whitestein.lsps.lang.signature | |
| com.whitestein.lsps.modulemanager.entity | 
 Persistent entities for module manager 
 | 
| com.whitestein.lsps.orgstructure.generation | 
| Modifier and Type | Method and Description | 
|---|---|
Decimal | 
SharedRecordTypeFactory.count(ExecutionContext context,
     ClosureHolder closureWithQuery,
     String iterator,
     Expression whereExpression)
Dynamically creates query and executes it. 
 | 
Decimal | 
SharedRecordTypeFactory.count(ExecutionContext context,
     com.whitestein.lsps.model.sharedrecord.SharedRecordType recordType,
     String iterator,
     Expression whereExpression)
Dynamically creates query and executes it. 
 | 
ListHolder | 
SharedRecordTypeFactory.queryAuditList(ExecutionContext context,
              com.whitestein.lsps.model.sharedrecord.SharedRecordType recordType,
              String iterator,
              Expression whereExpression,
              List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
              Integer index,
              Integer count,
              Long revision,
              List<AuditCriteria> auditCriteria)
Dynamically creates query and executes it. 
 | 
ListHolder | 
SharedRecordTypeFactory.queryList(ExecutionContext context,
         ClosureHolder closureWithQuery,
         String iterator,
         Expression whereExpression,
         List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
         Integer index,
         Integer count)
Dynamically creates query and executes it. 
 | 
ListHolder | 
SharedRecordTypeFactory.queryList(ExecutionContext context,
         com.whitestein.lsps.model.sharedrecord.SharedRecordType recordType,
         String iterator,
         Expression whereExpression,
         List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
         Integer index,
         Integer count)
Dynamically creates query and executes it. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ExpressionHolder<E extends Expression>  | 
| Modifier and Type | Method and Description | 
|---|---|
ClosureHolder | 
RecordNamespace.createClosureFromExpression(ClosureType closureType,
                           Expression expression,
                           ClosureOrigin origin)  | 
ClosureHolder | 
NoBaseContextNamespace.createClosureFromExpression(ClosureType closureType,
                           Expression expression,
                           ClosureOrigin origin)  | 
ClosureHolder | 
ContextNamespace.createClosureFromExpression(ClosureType closureType,
                           Expression expression,
                           ClosureOrigin origin)  | 
| Modifier and Type | Method and Description | 
|---|---|
static SrcExpression | 
ExpressionCompiler.compile(CommonCompiler commonCompiler,
       javassist.ClassPool classPool,
       javassist.CtClass cls,
       javassist.CtClass moduleCls,
       Expression exp,
       ExpressionOrigin expressionOrigin,
       Map<String,Type> params,
       Set<String> requiredParameters,
       Type returnType,
       CommonCompiler.JavaTypesResolver javaTypeResolver,
       boolean isInRecord,
       boolean isInForm,
       boolean isInExpression,
       boolean isStatic)
Compiles expression to java code. 
 | 
static SrcExpression | 
ExpressionCompiler.compileClosure(CommonCompiler namespaceCompiler,
              javassist.ClassPool classPool,
              javassist.CtClass cls,
              javassist.CtClass moduleCls,
              Expression exp,
              ExpressionOrigin expressionOrigin,
              Map<String,Type> params,
              Set<String> requiredParameters,
              Type returnType,
              CommonCompiler.JavaTypesResolver javaTypeResolver,
              boolean isInRecord,
              boolean isInForm,
              boolean isStatic)
Compiles closure to java code. 
 | 
static javassist.CtMethod | 
NamespaceCompiler.compileExpression(javassist.ClassPool classPool,
                 javassist.CtClass cls,
                 QID path,
                 Expression exp,
                 String discriminator)  | 
static SrcExpression | 
ExpressionCompiler.compileExpression(CommonCompiler commonCompiler,
                 javassist.ClassPool classPool,
                 javassist.CtClass cls,
                 javassist.CtClass moduleCls,
                 Expression exp,
                 ExpressionOrigin expressionOrigin,
                 List<LocalParameter> params,
                 SrcExpression ctxExp,
                 Type returnType,
                 CommonCompiler.JavaTypesResolver javaTypeResolver,
                 boolean isInRecord,
                 boolean isInForm,
                 boolean isStatic,
                 boolean canReturn)
Compiles expression. 
 | 
protected SrcMethod | 
CommonCompiler.createPrivateMethod(javassist.ClassPool classPool,
                   javassist.CtClass cls,
                   javassist.CtClass moduleCls,
                   boolean isInRecord,
                   boolean isInForm,
                   Type returnType,
                   String methodName,
                   Expression exp,
                   ExpressionOrigin expressionOrigin,
                   List<LocalParameter> params,
                   CommonCompiler.JavaTypesResolver javaTypeResolver,
                   SrcExpression namespaceExp)  | 
static MissingReturnExpression | 
ExpressionCompiler.getMissingReturnExpression(Expression exp)  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
ToJavaCompiler.compileAdditionalExpModel(com.whitestein.lsps.model.ProcessModel processModel,
                         List<Expression> expressions,
                         boolean generateSource,
                         String sourceDir)  | 
| Modifier and Type | Method and Description | 
|---|---|
Decimal | 
QueryExecutor.count(ClosureHolder closureWithQuery,
     String recordIterator,
     Expression additionalWhereExp)
Dynamically creates query and executes it. 
 | 
Decimal | 
SharedRecordTypeFactoryImpl.count(ExecutionContext context,
     ClosureHolder closureWithQuery,
     String iterator,
     Expression whereExpression)  | 
Decimal | 
SharedRecordTypeFactoryImpl.count(ExecutionContext context,
     com.whitestein.lsps.model.sharedrecord.SharedRecordType recordType,
     String iterator,
     Expression whereExpression)  | 
Decimal | 
QueryExecutor.count(com.whitestein.lsps.model.sharedrecord.SharedRecordType type,
     String recordIterator,
     Expression whereExp)
Dynamically creates query and executes it. 
 | 
List<Object> | 
QueryExecutor.getAuditResultList(com.whitestein.lsps.model.sharedrecord.SharedRecordType type,
                  String recordIterator,
                  Expression whereExp,
                  List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
                  Integer index,
                  Integer count,
                  Long revision,
                  List<AuditCriteria> auditCriteria)
Dynamically creates query and executes it. 
 | 
List<Object> | 
QueryExecutor.getResultList(ClosureHolder closureWithQuery,
             String recordIterator,
             Expression additionalWhereExp,
             List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
             Integer index,
             Integer count)
Dynamically creates query and executes it. 
 | 
List<Object> | 
QueryExecutor.getResultList(com.whitestein.lsps.model.sharedrecord.SharedRecordType type,
             String recordIterator,
             Expression whereExp,
             List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
             Integer index,
             Integer count)
Dynamically creates query and executes it. 
 | 
ListHolder | 
SharedRecordTypeFactoryImpl.queryAuditList(ExecutionContext context,
              com.whitestein.lsps.model.sharedrecord.SharedRecordType recordType,
              String recordIterator,
              Expression whereExpression,
              List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
              Integer index,
              Integer count,
              Long revision,
              List<AuditCriteria> auditCriteria)  | 
ListHolder | 
SharedRecordTypeFactoryImpl.queryList(ExecutionContext context,
         ClosureHolder closureWithQuery,
         String recordIterator,
         Expression whereExpression,
         List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
         Integer index,
         Integer count)  | 
ListHolder | 
SharedRecordTypeFactoryImpl.queryList(ExecutionContext context,
         com.whitestein.lsps.model.sharedrecord.SharedRecordType recordType,
         String recordIterator,
         Expression whereExpression,
         List<com.whitestein.lsps.model.sharedrecord.QueryOrderingItem> orderings,
         Integer index,
         Integer count)  | 
| Modifier and Type | Field and Description | 
|---|---|
protected Expression | 
ExpressionValue.compiledExpression
Compiled expression. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected Expression | 
ReferenceExpressionValue.compile(ModelProvider modelProvider)  | 
protected Expression | 
OperationExpressionValue.compile(ModelProvider modelProvider)  | 
protected abstract Expression | 
ExpressionValue.compile(ModelProvider modelProvider)  | 
protected Expression | 
ExpressionExpressionValue.compile(ModelProvider modelProvider)  | 
protected Expression | 
ClosureExpressionValue.compile(ModelProvider modelProvider)  | 
protected Expression | 
AssignmentReferenceExpressionValue.compile(ModelProvider modelProvider)  | 
Expression | 
ExpressionValue.getCachedCompiledExpression()
Returns the cached compiled expression. 
 | 
Expression | 
ExpressionValue.getCompiledExpression(ModelProvider modelProvider)
Returns the compiled expression. 
 | 
| Constructor and Description | 
|---|
ExpressionExpressionValue(long id,
                         ModelInstance modelInstance,
                         String type,
                         Context context,
                         String expression,
                         Expression compiledExpression,
                         ClosureOrigin origin)
Creates a new base level instance. 
 | 
ExpressionExpressionValue(long id,
                         ModelInstance modelInstance,
                         String type,
                         com.whitestein.lsps.engine.state.xml.ContextValue context,
                         String expression,
                         Expression compiledExpression,
                         long baseLevelValueId,
                         ClosureOrigin origin)
Creates a new instance. 
 | 
ExpressionValue(long id,
               ModelInstance modelInstance,
               String type,
               Context context,
               String expression,
               Expression compiledExpression,
               ClosureOrigin origin)
Creates new instance of  
ExpressionValue. | 
ExpressionValue(long id,
               ModelInstance modelInstance,
               String type,
               com.whitestein.lsps.engine.state.xml.ContextValue context,
               String expression,
               Expression compiledExpression,
               long baseLevelValueId,
               ClosureOrigin origin)
Creates new instance of  
ExpressionValue. | 
| Constructor and Description | 
|---|
ToJoinTodoListQuery(NamespaceModel namespaceModel,
                   String usedInJndi,
                   String iterator,
                   RecordType type,
                   Expression parameterExpression,
                   ExpressionOrigin origin)
Creates new instance. 
 | 
ToJoinTodoListQueryCommon(NamespaceModel namespaceModel,
                         String usedInJndi,
                         String iterator,
                         RecordType type,
                         Expression parameterExpression,
                         ExpressionOrigin origin)  | 
ToJoinTodoListQueryDifferentDB(NamespaceModel namespaceModel,
                              String usedInJndi,
                              String iterator,
                              RecordType type,
                              Expression parameterExpression,
                              ExpressionOrigin origin)
Creates new instance. 
 | 
ToJoinTodoListQuerySameDB(NamespaceModel namespaceModel,
                         String usedInJndi,
                         String iterator,
                         RecordType type,
                         Expression parameterExpression,
                         ExpressionOrigin origin)
Creates new instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
RecordHolder | 
DocumentSignatureGeneration.DocOperation.execute(Interpreter interpreter,
       List<Expression> args,
       boolean variadicArgAsList,
       InterpreterStackTrace stackTrace)  | 
| Modifier and Type | Method and Description | 
|---|---|
Expression | 
GenericDocumentDefinition.getAccess()
Returns access expression. 
 | 
Expression | 
GenericDocumentDefinition.getNavigation()
Returns navigation expression. 
 | 
Expression | 
DocumentDefinition.getTitle()
Returns title. 
 | 
Expression | 
GenericDocumentDefinition.getUiDefinition()
Returns ui definition expression. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<Expression> | 
GenericDocumentDefinition.getExpressions()  | 
| Modifier and Type | Method and Description | 
|---|---|
ExpressionOrigin | 
GenericDocumentDefinition.getExpressionOrigin(Expression expression)  | 
| Constructor and Description | 
|---|
DocumentDefinition(String modelId,
                  String name,
                  Expression title,
                  com.whitestein.lsps.model.SimpleContextModelElement documentContext,
                  Map<String,String> metadata)
Creates new instance. 
 | 
GenericDocumentDefinition(String modelId,
                         String name,
                         com.whitestein.lsps.model.SimpleContextModelElement documentContext,
                         Expression title,
                         Expression uiDefinition,
                         Expression access,
                         Expression navigation,
                         String implementationType,
                         Map<String,String> metadata)
Creates new instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Expression | 
InterpreterStackTraceElement.getExpression()  | 
Expression | 
ChildrenExpressionCollector.getRoot()  | 
Expression | 
InterpreterStackTrace.setCurrentExpression(Expression expression)  | 
Expression | 
DefaultInterpreterStackTrace.setCurrentExpression(Expression expression)  | 
| Modifier and Type | Method and Description | 
|---|---|
List<Expression> | 
ChildrenExpressionCollector.collect(Expression exp)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
ChildrenExpressionCollector.add(Expression exp)  | 
List<Expression> | 
ChildrenExpressionCollector.collect(Expression exp)  | 
ClosureHolder | 
MockHolderFactory.createClosureFromExpression(ClosureType closureType,
                           Expression expression,
                           ClosureOrigin origin)  | 
ClosureHolder | 
HolderFactory.createClosureFromExpression(ClosureType closureType,
                           Expression expression,
                           ClosureOrigin origin)
Creates new closure from a given expression. 
 | 
ClosureHolder | 
AbstractMockNamespace.createClosureFromExpression(ClosureType closureType,
                           Expression expression,
                           ClosureOrigin origin)  | 
Object | 
Interpreter.interpret(Expression expression)
Interprets a given expression. 
 | 
Object | 
Interpreter.interpret(Expression expression,
         InterpreterStackTrace stackTrace)
Interprets a given expression. 
 | 
void | 
ExpressionDebugger.popFromStack(Expression expression,
            Interpreter activeInterpreter,
            InterpreterStackTrace interpreterStackTrace)
Pops expression from the stack. 
 | 
void | 
ExpressionDebugger.pushToStack(Expression expression,
           Interpreter activeInterpreter,
           InterpreterStackTrace interpreterStackTrace)
Push expression to the stack. 
 | 
Expression | 
InterpreterStackTrace.setCurrentExpression(Expression expression)  | 
Expression | 
DefaultInterpreterStackTrace.setCurrentExpression(Expression expression)  | 
void | 
InterpreterStackTraceElement.setExpression(Expression expression)  | 
void | 
ExpressionDebugger.stopOnBreakpointOrStep(Expression expression,
                      Interpreter interpreter,
                      InterpreterStackTrace stackTrace)
Suspends the execution of a process if a breakpoint matching the
 expression is hit or if the current step conforms to the
  
DebuggerAction request. | 
protected boolean | 
DirectChildrenExpressionCollector.visitEnter(Expression expression)  | 
protected boolean | 
AllChildrenExpressionCollector.visitEnter(Expression expression)  | 
| Modifier and Type | Method and Description | 
|---|---|
Namespace | 
FunctionArgumentInterpreter.createFunctionNamespace(Interpreter interpreter,
                       List<Expression> arguments,
                       boolean variadicAsList,
                       InterpreterStackTrace stackTrace)
Creates a function namespace that is a child of the interpreter namespace
 for the given function arguments. 
 | 
Object[] | 
FunctionArgumentInterpreter.interpret(Interpreter interpreter,
         List<Expression> arguments,
         boolean variadicAsArray,
         boolean variadicArgAsList,
         InterpreterStackTrace stackTrace)
Interprets the given arguments with proper variadic argument handling. 
 | 
| Constructor and Description | 
|---|
ExpressionAsClosureHolder(Namespace namespace,
                         ClosureType type,
                         Expression expr,
                         ClosureOrigin origin)
Creates new instance of  
ClosureExpressionHolder. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AssignableExpression
Expression that can be assigned to,
 i.e. 
 | 
class  | 
AssignmentExpression  | 
class  | 
BlockExpression
A block expression. 
 | 
class  | 
BreakExpression
"break" expression. 
 | 
class  | 
CastExpression
A cast expression. 
 | 
class  | 
ChainedExpression  | 
class  | 
ClosureExpression  | 
class  | 
ClosureInvocationExpression
Expression representing closure call. 
 | 
class  | 
CompoundAssignmentExpression  | 
class  | 
ConditionalExpression  | 
class  | 
ConstantExpression
Expression representing a constant. 
 | 
class  | 
ContainerExpression  | 
class  | 
ContextReferencingExpression  | 
class  | 
ContinueExpression
"continue" expression. 
 | 
class  | 
CustomConstantExpression  | 
class  | 
DebugExpression
Expression with debug information. 
 | 
class  | 
DefExpression  | 
class  | 
DereferenceExpression  | 
class  | 
EnumerationExpression  | 
class  | 
ForeachExpression
Foreach construct expression. 
 | 
class  | 
ForExpression  | 
class  | 
FunctionCallExpression
Expression representing a function call. 
 | 
class  | 
FunctionCallWithNamedArgs
An expression represeting a function call with named arguments
 For example:  
myfunction(amount -> 100). | 
class  | 
FunctionExpression
Expression containing an operation. 
 | 
class  | 
IfnullExpression  | 
class  | 
IncDecExpression
Increment or decrement expression. 
 | 
class  | 
InstanceofExpression  | 
class  | 
ListExpression
Expression representing a list. 
 | 
class  | 
MapExpression
Expression representing a map. 
 | 
class  | 
MethodCallExpression
Expression representing a method call. 
 | 
class  | 
MethodExpression
Expression representing record property access. 
 | 
class  | 
MissingReturnExpression  | 
class  | 
PropertyExpression
Expression representing record property access. 
 | 
class  | 
PropertyLiteralExpression  | 
class  | 
RecordConstructorExpression  | 
class  | 
RecordExpression
Expression representing a record. 
 | 
class  | 
ReferenceExpression  | 
class  | 
SetExpression
Expression representing a set. 
 | 
class  | 
SignatureExpression
A common super class for  
FunctionExpression and MethodExpression. | 
class  | 
SuperConstructorExpression  | 
class  | 
SwitchExpression
A switch expression. 
 | 
class  | 
SyntheticExpression  | 
class  | 
ThisConstructorExpression  | 
class  | 
ThisExpression
This expression. 
 | 
class  | 
TryCatchExpression  | 
class  | 
TypeExpression  | 
class  | 
UnknownExpression
This expression is used internally by the parser to denote expression
 which is not valid or it could not be parsed completely, e.g. 
 | 
class  | 
VariableExpression
Expression representing fully qualified variable. 
 | 
class  | 
WhileExpression
While construct expression. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected <T extends Expression> | 
CopyExpressionVisitor.copy(T e)
Copies a given expression by accepting this visitor. 
 | 
protected <T extends Expression> | 
CopyExpressionVisitor.copyOptional(T e)  | 
| Modifier and Type | Method and Description | 
|---|---|
static Expression | 
CustomConstantExpression.create(ASTInfo astInfo,
      ConstantInfo info)
Creates a custom constant expression. 
 | 
Expression | 
IfnullExpression.getAltExpression()
Returns the alternative expression. 
 | 
Expression | 
SwitchExpression.getArgumentExpression()
Returns the switch argument expression. 
 | 
Expression | 
WhileExpression.getBody()
Returns the body expression. 
 | 
Expression | 
ForeachExpression.getBody()
Returns the body expression. 
 | 
Expression | 
ForExpression.getBody()  | 
Expression | 
ClosureInvocationExpression.getClosureExpression()
Returns the closureExpression. 
 | 
Expression | 
ForeachExpression.getCollection()
Returns the collection expression. 
 | 
Expression | 
WhileExpression.getCondition()
Returns the condition expression. 
 | 
Expression | 
ForExpression.getCondition()  | 
Expression | 
SwitchExpression.getDefaultExpression()
Returns the default expression. 
 | 
Expression | 
ConditionalExpression.getElseExpression()
Returns the "else" expression. 
 | 
Expression | 
TryCatchExpression.getExpression()
Returns the expression. 
 | 
Expression | 
TryCatchExpression.Catch.getExpression()
Returns the main expression. 
 | 
Expression | 
ParameterAst.getExpression()  | 
Expression | 
InstanceofExpression.getExpression()
Returns the tested expression. 
 | 
Expression | 
IfnullExpression.getExpression()
Returns the main expression. 
 | 
Expression | 
FunctionBody.getExpression()  | 
Expression | 
DereferenceExpression.getExpression()
Returns the expression being dereferenced. 
 | 
Expression | 
DebugExpression.getExpression()
Returns the wrapped expression. 
 | 
Expression | 
ClosureExpression.getExpression()
Returns the body expression. 
 | 
Expression | 
CastExpression.getExpression()
Returns the casted expression. 
 | 
Expression | 
BlockExpression.getExpression()
Returns the child expression. 
 | 
Expression | 
ForExpression.getInit()  | 
Expression | 
ChainedExpression.getLastExpression()
Returns the last expression. 
 | 
Expression | 
CompoundAssignmentExpression.getLeftExpression()
Returns the left-hand side expression. 
 | 
Expression | 
AssignmentExpression.getLeftExpression()
Returns the left-hand side expression. 
 | 
Expression | 
TaskParametersAst.getParameterExpression(int index)  | 
Expression | 
ConstraintAst.getParameterExpression(int index)  | 
Expression | 
TaskParametersAst.getParameterExpression(String name)  | 
Expression | 
ConstraintAst.getParameterExpression(String name)  | 
Expression | 
PropertyExpression.getRecordExpression()
Returns the record expression. 
 | 
Expression | 
MethodExpression.getRecordExpression()
Returns the record expression. 
 | 
Expression | 
Expression.getResultExpression()
Returns the result expression. 
 | 
Expression | 
DebugExpression.getResultExpression()  | 
Expression | 
ChainedExpression.getResultExpression()  | 
Expression | 
CastExpression.getResultExpression()  | 
Expression | 
BlockExpression.getResultExpression()  | 
Expression | 
AssignmentExpression.getResultExpression()  | 
Expression | 
SwitchExpression.Case.getReturnExpression()
Returns the return expression. 
 | 
Expression | 
CompoundAssignmentExpression.getRightExpression()
Returns the right-hand side expression. 
 | 
Expression | 
AssignmentExpression.getRightExpression()
Returns the right-hand side expression. 
 | 
Expression | 
ForExpression.getUpdate()  | 
Expression | 
CopyExpressionVisitor.visit(AssignmentExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(BlockExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(BreakExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(CastExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(ChainedExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(ClosureExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(ClosureInvocationExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(CompoundAssignmentExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(ConditionalExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(ConstantExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(ContinueExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(CustomConstantExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(DebugExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(DefExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(DereferenceExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(EnumerationExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(ForeachExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(ForExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(FunctionCallExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(FunctionCallWithNamedArgs e)  | 
Expression | 
CopyExpressionVisitor.visit(FunctionExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(IfnullExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(IncDecExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(InstanceofExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(ListExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(MapExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(MethodCallExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(MethodExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(PropertyExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(PropertyLiteralExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(RecordConstructorExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(RecordExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(ReferenceExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(SetExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(SuperConstructorExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(SwitchExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(SyntheticExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(ThisConstructorExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(ThisExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(TryCatchExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(TypeExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(UnknownExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(VariableExpression e)  | 
Expression | 
CopyExpressionVisitor.visit(WhileExpression e)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected List<Expression> | 
CopyExpressionVisitor.copy(Collection<Expression> expressions)
Copies a collection of expressions. 
 | 
protected Map<String,Expression> | 
CopyExpressionVisitor.copy(Map<String,Expression> expressions)
Copies a given map of expressions. 
 | 
protected List<Expression> | 
Expression.evaluateToExpressions(Expression[] expressions,
                     Interpreter interpreter,
                     InterpreterStackTrace stackTrace)  | 
Map<String,Expression> | 
FunctionCallWithNamedArgs.getArgMap()
Returns unmodifiable map of arguments. 
 | 
List<Expression> | 
MethodCallExpression.getArgs()
Returns unmodifiable list of arguments. 
 | 
List<Expression> | 
FunctionCallExpression.getArgs()
Returns unmodifiable list of arguments. 
 | 
List<Expression> | 
ClosureInvocationExpression.getArgs()
Returns unmodifiable list of arguments. 
 | 
List<Expression> | 
ThisConstructorExpression.getArguments()
Returns unmodifiable list of argument expressions. 
 | 
List<Expression> | 
SuperConstructorExpression.getArguments()
Returns unmodifiable list of argument expressions. 
 | 
List<Expression> | 
RecordConstructorExpression.getArguments()
Returns unmodifiable list of argument expressions. 
 | 
List<Expression> | 
SwitchExpression.Case.getCaseExpressions()
Returns the case expressions. 
 | 
List<Expression> | 
TryCatchExpression.Catch.getCatchExpressions()
Returns the catch expressions. 
 | 
List<Expression> | 
UnknownExpression.getExpressions()
Returns the list of child expressions. 
 | 
List<Expression> | 
ChainedExpression.getExpressions()
Returns the list of child expressions. 
 | 
Map<String,Expression> | 
RecordExpression.getFieldExpressions()
Returns the field expressions. 
 | 
List<Expression> | 
RecordExpression.getFieldValueExpressions()
Returns the immutable list of field value expressions. 
 | 
List<Expression> | 
ConditionalExpression.getIfExpressions()
Returns the list of "if" expressions. 
 | 
List<Expression> | 
MapExpression.getIndexExpressions()
Returns the index expressions. 
 | 
List<Expression> | 
SetExpression.getItemExpressions()  | 
List<Expression> | 
MapExpression.getItemExpressions()  | 
List<Expression> | 
ListExpression.getItemExpressions()  | 
abstract List<Expression> | 
ContainerExpression.getItemExpressions()
Returns the expressions for the items. 
 | 
List<Expression> | 
TryCatchExpression.getResultExpressions()  | 
List<Expression> | 
SwitchExpression.getResultExpressions()  | 
List<Expression> | 
IfnullExpression.getResultExpressions()  | 
List<Expression> | 
Expression.getResultExpressions()
Returns the result expression. 
 | 
List<Expression> | 
DebugExpression.getResultExpressions()  | 
List<Expression> | 
ConditionalExpression.getResultExpressions()  | 
List<Expression> | 
ChainedExpression.getResultExpressions()  | 
List<Expression> | 
CastExpression.getResultExpressions()  | 
List<Expression> | 
BlockExpression.getResultExpressions()  | 
List<Expression> | 
AssignmentExpression.getResultExpressions()  | 
List<Expression> | 
ConditionalExpression.getThenExpressions()
Returns the list of "then" expressions. 
 | 
protected List<Expression> | 
Expression.toExpressions(List<?> values)  | 
| Modifier and Type | Method and Description | 
|---|---|
static SwitchExpression | 
SwitchExpression.create(ASTInfo info,
      Expression expression,
      Collection<SwitchExpression.Case> cases,
      Expression defaultExpression)
Creates a new switch expression. 
 | 
protected List<Expression> | 
Expression.evaluateToExpressions(Expression[] expressions,
                     Interpreter interpreter,
                     InterpreterStackTrace stackTrace)  | 
protected Object | 
VariableExpression.interpretCompoundAssignment(Operation operation,
                           Expression arg,
                           Interpreter interpreter,
                           InterpreterStackTrace stackTrace)  | 
protected Object | 
PropertyExpression.interpretCompoundAssignment(Operation operation,
                           Expression arg,
                           Interpreter interpreter,
                           InterpreterStackTrace stackTrace)  | 
protected Object | 
DereferenceExpression.interpretCompoundAssignment(Operation operation,
                           Expression arg,
                           Interpreter interpreter,
                           InterpreterStackTrace stackTrace)  | 
protected abstract Object | 
AssignableExpression.interpretCompoundAssignment(Operation operation,
                           Expression arg,
                           Interpreter interpreter,
                           InterpreterStackTrace stackTrace)  | 
static boolean | 
ReferenceExpression.validExpression(Expression expression)
Returns true if given expression can be referenced. 
 | 
protected void | 
ChildrenExpressionVisitor.visitChild(Expression expression)
Called for each child of the given node. 
 | 
protected boolean | 
ChildrenExpressionVisitor.visitEnter(Expression expression)
Notifies the visitor that the visiting process is entering a node. 
 | 
protected T | 
DefaultExpressionVisitor.visitExpression(Expression expression)
Returns  
null. | 
protected void | 
ChildrenExpressionVisitor.visitLeave(Expression expression)
Notifies the visitor that the visiting process is leaving a node. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static boolean | 
Expressions.areParseTimeConstants(Iterable<? extends Expression> expressions)
Returns  
true if all given expressions are parse-time constants. | 
protected List<Expression> | 
CopyExpressionVisitor.copy(Collection<Expression> expressions)
Copies a collection of expressions. 
 | 
protected Map<String,Expression> | 
CopyExpressionVisitor.copy(Map<String,Expression> expressions)
Copies a given map of expressions. 
 | 
static ListExpression | 
ListExpression.create(ASTInfo info,
      ListType returnType,
      List<Expression> itemExpressions)
Creates new instance of  
ListExpression. | 
static MapExpression | 
MapExpression.create(ASTInfo info,
      MapType returnType,
      List<Expression> indexExpressions,
      List<Expression> itemExpressions)
Creates new instance of  
MapExpression. | 
static MapExpression | 
MapExpression.create(ASTInfo info,
      MapType returnType,
      List<Expression> indexExpressions,
      List<Expression> itemExpressions)
Creates new instance of  
MapExpression. | 
static SetExpression | 
SetExpression.create(ASTInfo info,
      SetType returnType,
      List<Expression> itemExpressions)
Creates new instance of  
SetExpression. | 
| Constructor and Description | 
|---|
AssignmentExpression(ASTInfo info,
                    Expression leftExpression,
                    Expression rightExpression)  | 
BlockExpression(ASTInfo info,
               Expression expression)
Constructs a block expression. 
 | 
Case(List<Expression> caseExpressions,
    Expression returnExpression)  | 
CastExpression(ASTInfo info,
              Expression expression,
              Type type)  | 
Catch(List<Expression> catchExpressions,
     Expression expression)
Creates new instance. 
 | 
ClosureExpression(ASTInfo info,
                 ClosureType closureType,
                 Expression expression,
                 List<String> argNames)  | 
ClosureInvocationExpression(ASTInfo info,
                           Type returnType,
                           Expression closureExpression,
                           List<Expression> arguments)
Creates new instance of  
ClosureInvocationExpression. | 
CompoundAssignmentExpression(ASTInfo info,
                            Type returnType,
                            Expression leftExpression,
                            Expression rightExpression,
                            FunctionSignature signature)  | 
ConditionalExpression(ASTInfo info,
                     Expression ifExpression,
                     Expression thenExpression,
                     Expression elseExpression,
                     Type returnType)
Constructs a new conditional expression. 
 | 
ConditionalExpression(ASTInfo info,
                     List<Expression> ifExpressions,
                     List<Expression> thenExpressions,
                     Expression elseExpression,
                     Type returnType)
Constructs a new conditional expression. 
 | 
DebugExpression(ASTInfo info,
               Expression expression,
               ExpressionOrigin origin)
Constructs a new debug expression. 
 | 
DereferenceExpression(ASTInfo info,
                     Type returnType,
                     Expression expression)  | 
ForeachExpression(ASTInfo info,
                 Type iteratorType,
                 String iterator,
                 Expression collection,
                 Expression body)  | 
ForExpression(ASTInfo info,
             Expression init,
             Expression condition,
             Expression update,
             Expression body)
Constructs a new "for" expression. 
 | 
FunctionBody(Expression expression,
            NamespaceModel namespaceModel)  | 
IfnullExpression(ASTInfo info,
                Expression expression,
                Expression altExpression,
                Type returnType)
Constructs a new ifnull expression. 
 | 
InstanceofExpression(ASTInfo info,
                    Expression expression,
                    Type type)  | 
MethodExpression(ASTInfo astInfo,
                Expression recordExpression,
                ClosureType signatureType,
                FunctionSignature signature,
                boolean dynamicDispatch,
                boolean isSuper)
Creates new instance of  
MethodExpression. | 
MissingReturnExpression(ASTInfo info,
                       Type returnType,
                       Expression parent)  | 
ParameterAst(ASTNode node,
            IdentifierAst parameter,
            int expressionStartIndex,
            int expressionEndIndex,
            Expression expression,
            org.antlr.runtime.tree.Tree expressionTree)
Constructor. 
 | 
PropertyExpression(ASTInfo info,
                  Expression recordExpression,
                  RecordType recordType,
                  String property,
                  boolean safe)
Creates new instance of  
PropertyExpression. | 
PropertyExpression(ASTInfo info,
                  Expression recordExpression,
                  RecordType recordType,
                  String property,
                  Type propertyType,
                  boolean safe)
Creates new instance of  
PropertyExpression. | 
TryCatchExpression(ASTInfo info,
                  Expression expression,
                  Collection<TryCatchExpression.Catch> catches)
Creates new instance. 
 | 
UnknownExpression(ASTInfo info,
                 Type guessType,
                 Expression... expressions)  | 
WhileExpression(ASTInfo info,
               Expression condition,
               Expression body)  | 
| Constructor and Description | 
|---|
Case(List<Expression> caseExpressions,
    Expression returnExpression)  | 
Catch(List<Expression> catchExpressions,
     Expression expression)
Creates new instance. 
 | 
ChainedExpression(ASTInfo info,
                 List<Expression> expressions,
                 Type returnType)  | 
ClosureInvocationExpression(ASTInfo info,
                           Type returnType,
                           Expression closureExpression,
                           List<Expression> arguments)
Creates new instance of  
ClosureInvocationExpression. | 
ConditionalExpression(ASTInfo info,
                     List<Expression> ifExpressions,
                     List<Expression> thenExpressions,
                     Expression elseExpression,
                     Type returnType)
Constructs a new conditional expression. 
 | 
ConditionalExpression(ASTInfo info,
                     List<Expression> ifExpressions,
                     List<Expression> thenExpressions,
                     Expression elseExpression,
                     Type returnType)
Constructs a new conditional expression. 
 | 
FunctionCallExpression(ASTInfo info,
                      Type returnType,
                      FunctionExpression functionExpression,
                      List<Expression> arguments)
Creates new instance of  
FunctionCallExpression. | 
FunctionCallWithNamedArgs(ASTInfo info,
                         Type returnType,
                         FunctionExpression function,
                         Map<String,Expression> argMap)
Creates new instance of  
FunctionCallWithNamedArgs. | 
MethodCallExpression(ASTInfo info,
                    Type returnType,
                    MethodExpression methodExpression,
                    List<Expression> arguments)
Creates new instance of  
MethodCallExpression. | 
RecordConstructorExpression(ASTInfo info,
                           RecordType type,
                           FunctionSignature signature,
                           List<Expression> arguments)
Constructs a new record constructor expression. 
 | 
RecordExpression(ASTInfo info,
                RecordType returnType,
                Map<String,Expression> fieldExpressions)
Creates new instance of  
RecordExpression. | 
SuperConstructorExpression(ASTInfo info,
                          FunctionSignature signature,
                          List<Expression> arguments)
Constructs a new super record constructor invocation expression. 
 | 
ThisConstructorExpression(ASTInfo info,
                         FunctionSignature signature,
                         List<Expression> arguments)
Constructs a new "this" record constructor invocation expression. 
 | 
UnknownExpression(ASTInfo info,
                 Type guessType,
                 Collection<Expression> expressions)  | 
| Modifier and Type | Method and Description | 
|---|---|
static ErrorException | 
Errors.createNullParameterError(Expression expression,
                        InterpreterStackTrace stackTrace)
Creates a null parameter error with a correct message
 and an expression context information. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Expression | 
ExpressionOperation.getExpression()
Returns the underlying expression. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Boolean | 
StringComparisonOperation.execute(Interpreter interpreter,
       List<Expression> args,
       boolean variadicArgAsList,
       InterpreterStackTrace stackTrace)  | 
Object | 
Operation.execute(Interpreter interpreter,
       List<Expression> args,
       boolean variadicArgAsList,
       InterpreterStackTrace stackTrace)
Executes the expression. 
 | 
Boolean | 
LocalDateOperation.execute(Interpreter interpreter,
       List<Expression> args,
       boolean variadicArgAsList,
       InterpreterStackTrace stackTrace)  | 
Object | 
JavaOperation.execute(Interpreter interpreter,
       List<Expression> args,
       boolean variadicArgAsList,
       InterpreterStackTrace stackTrace)  | 
Decimal | 
IntegerUnaryOperation.execute(Interpreter interpreter,
       List<Expression> args,
       boolean variadicArgAsList,
       InterpreterStackTrace stackTrace)  | 
Decimal | 
IntegerBinaryArithmeticOperation.execute(Interpreter interpreter,
       List<Expression> args,
       boolean variadicArgAsList,
       InterpreterStackTrace stackTrace)  | 
Object | 
ExpressionOperation.execute(Interpreter interpreter,
       List<Expression> args,
       boolean variadicArgAsList,
       InterpreterStackTrace stackTrace)  | 
Boolean | 
EnumerationOperation.execute(Interpreter interpreter,
       List<Expression> args,
       boolean variadicArgAsList,
       InterpreterStackTrace stackTrace)  | 
Decimal | 
DecimalUnaryOperation.execute(Interpreter interpreter,
       List<Expression> args,
       boolean variadicArgAsList,
       InterpreterStackTrace stackTrace)  | 
Boolean | 
DecimalBinaryComparisonOperation.execute(Interpreter interpreter,
       List<Expression> args,
       boolean variadicArgAsList,
       InterpreterStackTrace stackTrace)  | 
Decimal | 
DecimalBinaryArithmeticOperation.execute(Interpreter interpreter,
       List<Expression> args,
       boolean variadicArgAsList,
       InterpreterStackTrace stackTrace)  | 
Boolean | 
DateOperation.execute(Interpreter interpreter,
       List<Expression> args,
       boolean variadicArgAsList,
       InterpreterStackTrace stackTrace)  | 
| Constructor and Description | 
|---|
ExpressionOperation(FunctionSignature signature,
                   Expression expression,
                   ExpressionOrigin origin)
Creates new instance of  
ExpressionOperation. | 
| Modifier and Type | Method and Description | 
|---|---|
protected Expression | 
AbstractParser.createConstant(org.antlr.runtime.tree.Tree tree,
              Object constant)
Creates constant with the given value 
 | 
Expression | 
Parser.parse(AntlrExpressionTree expressionTree,
     Type expectedType)
Parses an expression from a pre-parsed antlr tree for the given expected type. 
 | 
Expression | 
Parser.parse(String source,
     Type expectedType)
Parses an expression from a string source for the given expected type. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected Visibility | 
Parser.getAccessiblePropertyVisibility(Expression primaryExpression,
                               RecordType declarationType)  | 
protected Errors | 
Parser.validateControlExpressions(Expression expression)  | 
protected void | 
ControlExpressionValidator.visitChild(Expression expression)  | 
protected Object | 
SimpleDataInstantiator.visitExpression(Expression expression)  | 
| Modifier and Type | Method and Description | 
|---|---|
static Type | 
ParserUtil.findCommonExpressionSupertype(Collection<? extends Expression> expressions)
Returns the most specific common supertype of given expressions. 
 | 
| Constructor and Description | 
|---|
ParsedExpression(Expression expression)  | 
ParsedExpression(Expression result,
                Errors errors)  | 
ParsedExpression(Expression expression,
                ValidationException error)  | 
| Modifier and Type | Method and Description | 
|---|---|
Expression | 
SignatureParameter.getDefaultValueExpression(NamespaceModel namespaceModel)
Returns the parsed default value expression. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<Expression> | 
ProcessRelationship.getExpressions()  | 
List<Expression> | 
ProcessElement.getExpressions()  | 
List<Expression> | 
Process.getExpressions()  | 
List<Expression> | 
Module.getExpressions()  | 
| Modifier and Type | Method and Description | 
|---|---|
ExpressionOrigin | 
ProcessRelationship.getExpressionOrigin(Expression expression)  | 
ExpressionOrigin | 
ProcessElement.getExpressionOrigin(Expression expression)  | 
ExpressionOrigin | 
Process.getExpressionOrigin(Expression expression)  | 
ExpressionOrigin | 
Module.getExpressionOrigin(Expression expression)  | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
RoleUnitFunctionOperation.execute(Interpreter interpreter,
       List<Expression> args,
       boolean variadicArgAsList,
       InterpreterStackTrace stackTrace)  | 
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.