Package | Description |
---|---|
com.whitestein.lsps.engine.dto.val | |
com.whitestein.lsps.engine.lang | |
com.whitestein.lsps.engine.lang.compiled | |
com.whitestein.lsps.engine.profiler | |
com.whitestein.lsps.engine.sharedrecord | |
com.whitestein.lsps.engine.tester |
Testing support for testing engine tasks.
|
com.whitestein.lsps.human.generation | |
com.whitestein.lsps.lang |
This is the main package for the LSPS expression language.
|
com.whitestein.lsps.lang.ast | |
com.whitestein.lsps.lang.compiled | |
com.whitestein.lsps.lang.exception | |
com.whitestein.lsps.lang.exec |
All types in the language have their Java implementation class.
|
com.whitestein.lsps.lang.operation | |
com.whitestein.lsps.lang.timer | |
com.whitestein.lsps.orgstructure.generation |
Modifier and Type | Method and Description |
---|---|
Object |
ClosureValue.execute(InterpreterConfiguration configuration,
InterpreterStackTrace stackTrace,
Object... arguments) |
Object |
ClosureValue.execute(InterpreterStackTrace stackTrace,
Object... arguments) |
RecordHolder |
ReferenceValue.getPropertyRecord(InterpreterStackTrace stackTrace) |
Object |
ReferenceValue.getValue(InterpreterStackTrace stackTrace) |
Object |
ReferenceValue.getValue(String evaluationLevel,
InterpreterStackTrace stackTrace) |
void |
ReferenceValue.setValue(Object value,
InterpreterStackTrace stackTrace) |
Modifier and Type | Method and Description |
---|---|
InterpreterStackTrace |
JavaOperationExecutionContext.getStackTrace() |
InterpreterStackTrace |
ExecutionContext.getStackTrace()
Returns the interpreter stack trace.
|
InterpreterStackTrace |
AbstractExecutionContext.getStackTrace() |
Modifier and Type | Method and Description |
---|---|
Object |
RecordProxySetNamespace.executeJavaOperation(String className,
String methodName,
Class<?>[] argClasses,
Object[] evaluatedArgs,
InterpreterStackTrace stackTrace) |
Object |
NoBaseContextNamespace.executeJavaOperation(String className,
String methodName,
Class<?>[] argClasses,
Object[] evaluatedArgs,
InterpreterStackTrace stackTrace) |
Object |
JavaOperationExecutorImpl.executeJavaOperation(String className,
String methodName,
Class<?>[] argClasses,
Object[] evaluatedArgs,
InterpreterStackTrace stackTrace) |
Object |
AbstractContextNamespace.executeJavaOperation(String className,
String methodName,
Class<?>[] argClasses,
Object[] evaluatedArgs,
InterpreterStackTrace stackTrace) |
Constructor and Description |
---|
AbstractExecutionContext(InterpreterStackTrace stackTrace) |
ExecutionContextImpl(Context context,
ModelProvider modelProvider,
InterpreterStackTrace stackTrace)
Creates new instance of
ExecutionContextImpl . |
ExecutionContextImpl(ModelProvider modelProvider,
ModelInstance modelInstance,
Namespace namespace,
InterpreterStackTrace stackTrace)
Creates new instance of
ExecutionContextImpl . |
JavaOperationExecutionContext(ExecutionContext executionContext,
InterpreterStackTrace stackTrace)
Creates a new execution context for a Java operation.
|
Modifier and Type | Method and Description |
---|---|
InterpreterStackTrace |
CompiledContext.getStackTrace() |
Modifier and Type | Method and Description |
---|---|
Object |
CompiledClosureHolder.execute(InterpreterConfiguration configuration,
InterpreterStackTrace stackTrace,
Object... arguments) |
Object |
CompiledClosureHolder.execute(InterpreterStackTrace stackTrace,
Object... arguments) |
Object |
CompiledExpression.execute(Namespace namespace,
InterpreterStackTrace stackTrace,
List<Object> arguments) |
Object |
CompiledClosureHolder.executeInNamespace(Namespace namespace,
InterpreterStackTrace stackTrace,
Object... arguments) |
Modifier and Type | Class and Description |
---|---|
class |
ProfilerInterpreterStackTrace |
Modifier and Type | Method and Description |
---|---|
InterpreterStackTrace |
ProfilerFactory.createStackTrace(InterpreterStackTraceElement root) |
Constructor and Description |
---|
NativeQueryExecutor(ModelProvider modelProvider,
ExecutionContext context,
InterpreterStackTrace stackTrace)
Creates new instance.
|
QueryExecutor(ExecutionContext context,
InterpreterStackTrace stackTrace)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
InterpreterStackTrace |
MockTaskContext.getStackTrace() |
Modifier and Type | Method and Description |
---|---|
Object |
MockJavaOperationExecutor.executeJavaOperation(String className,
String methodName,
Class<?>[] argClasses,
Object[] evaluatedArgs,
InterpreterStackTrace stackTrace) |
Modifier and Type | Method and Description |
---|---|
RecordHolder |
DocumentSignatureGeneration.DocOperation.execute(Interpreter interpreter,
List<Expression> args,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultInterpreterStackTrace |
Modifier and Type | Method and Description |
---|---|
static InterpreterStackTrace |
InterpreterStackTrace.create() |
static InterpreterStackTrace |
InterpreterStackTrace.create(Object... signature) |
static InterpreterStackTrace |
InterpreterStackTrace.create(Object signature) |
static InterpreterStackTrace |
InterpreterStackTrace.create(String property,
String elementName,
String elementClass,
String elementId) |
static InterpreterStackTrace |
DefaultInterpreterStackTrace.createInstance(InterpreterStackTraceElement root) |
InterpreterStackTrace |
TimerInterpreterStackTraceFactory.createStackTrace(InterpreterStackTraceElement root) |
InterpreterStackTrace |
InterpreterStackTraceFactory.createStackTrace(InterpreterStackTraceElement root)
Creates an interpreter stack trace.
|
InterpreterStackTrace |
DefaultInterpreterStackTraceFactory.createStackTrace(InterpreterStackTraceElement root) |
InterpreterStackTrace |
ExpressionDebugger.getActiveInterpreterStackTrace()
Gets the active interpreter stack trace.
|
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 |
OperationExpressionHolder.execute(InterpreterConfiguration configuration,
InterpreterStackTrace stackTrace,
Object... arguments) |
Object |
ExpressionAsClosureHolder.execute(InterpreterConfiguration configuration,
InterpreterStackTrace stackTrace,
Object... args) |
Object |
ClosureExpressionHolder.execute(InterpreterConfiguration configuration,
InterpreterStackTrace stackTrace,
Object... args) |
Object |
AbstractClosureHolder.execute(InterpreterStackTrace stackTrace,
Object... args) |
Object |
OperationExpressionHolder.executeInNamespace(Namespace namespace,
InterpreterStackTrace stackTrace,
Object... arguments) |
Object |
ExpressionAsClosureHolder.executeInNamespace(Namespace namespace,
InterpreterStackTrace stackTrace,
Object... arguments) |
Object |
ClosureExpressionHolder.executeInNamespace(Namespace namespace,
InterpreterStackTrace stackTrace,
Object... args) |
Object |
AbstractMockNamespace.executeJavaOperation(String className,
String methodName,
Class<?>[] argClasses,
Object[] evaluatedArgs,
InterpreterStackTrace stackTrace) |
RecordHolder |
ReferenceExpressionHolder.getPropertyRecord(InterpreterStackTrace stackTrace) |
Object |
ReferenceExpressionHolder.getValue(InterpreterStackTrace stackTrace) |
Object |
ReferenceExpressionHolder.getValue(String evaluationLevel,
InterpreterStackTrace stackTrace) |
Object |
Interpreter.interpret(Expression expression,
InterpreterStackTrace stackTrace)
Interprets a given expression.
|
Object[] |
FunctionArgumentInterpreter.interpret(Interpreter interpreter,
List<Expression> arguments,
boolean variadicAsArray,
boolean variadicArgAsList,
InterpreterStackTrace stackTrace)
Interprets the given arguments with proper variadic argument handling.
|
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.
|
void |
ReferenceExpressionHolder.setValue(Object value,
InterpreterStackTrace stackTrace) |
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. |
Modifier and Type | Method and Description |
---|---|
protected Object |
WhileExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
VariableExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
UnknownExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
TypeExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
TryCatchExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
ThisExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
ThisConstructorExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
SyntheticExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
SwitchExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
SuperConstructorExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
SetExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
ReferenceExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
RecordExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
RecordConstructorExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
PropertyLiteralExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
PropertyExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
MissingReturnExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
MethodExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
MethodCallExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
MapExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
ListExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
InstanceofExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
IncDecExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
IfnullExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
FunctionExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
FunctionCallWithNamedArgs.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
FunctionCallExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
ForeachExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
ForExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected abstract Object |
Expression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace)
Interpret expression.
|
protected Object |
EnumerationExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
DereferenceExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
DefExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
DebugExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
CustomConstantExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
ContinueExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
ConstantExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
ConditionalExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
CompoundAssignmentExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
ClosureInvocationExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
ClosureExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
ChainedExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
CastExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
BreakExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
BlockExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
AssignmentExpression.basicInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
Expression.doInterpret(Interpreter interpreter,
InterpreterStackTrace stackTrace)
Interpretation of expression with debugger support.
|
protected boolean |
Expression.evalCondition(Interpreter interpreter,
InterpreterStackTrace stackTrace)
Evaluates expression as boolean expression.
|
protected List<Expression> |
Expression.evaluateToExpressions(Expression[] expressions,
Interpreter interpreter,
InterpreterStackTrace stackTrace) |
Object |
MethodExpression.execute(Interpreter interpreter,
List<?> args,
InterpreterStackTrace stackTrace)
Executes the method call.
|
protected Object |
MethodCallExpression.executeCompiled(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
FunctionCallExpression.executeCompiled(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
protected Object |
Expression.executeCompiled(Interpreter interpreter,
InterpreterStackTrace stackTrace) |
Object |
Expression.interpret(Interpreter interpreter,
InterpreterStackTrace stackTrace)
Interpretation of the expression with handling of correct namespace.
|
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) |
Object |
Expression.interpretInCurrentNamespace(Interpreter interpreter,
InterpreterStackTrace stackTrace)
Interpretation of the expression in the current interpreter namespace.
|
void |
VariableExpression.setValue(Object value,
Namespace namespace,
InterpreterStackTrace stackTrace,
ExpressionOrigin origin) |
void |
PropertyExpression.setValue(Object value,
Namespace namespace,
InterpreterStackTrace stackTrace,
ExpressionOrigin origin) |
void |
DereferenceExpression.setValue(Object value,
Namespace namespace,
InterpreterStackTrace stackTrace,
ExpressionOrigin origin) |
abstract void |
AssignableExpression.setValue(Object value,
Namespace namespace,
InterpreterStackTrace stackTrace,
ExpressionOrigin origin)
Assign a value into the assignable (e.g.
|
Modifier and Type | Method and Description |
---|---|
Object |
Compiled.execute(Namespace namespace,
InterpreterStackTrace stackTrace,
List<Object> arguments) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
Errors.checkParameterNotNull(T param,
String paramName,
InterpreterStackTrace stackTrace)
Throws a null parameter error if the
param is null. |
static ErrorException |
Errors.createNullParameterError(Expression expression,
InterpreterStackTrace stackTrace)
Creates a null parameter error with a correct message
and an expression context information.
|
static String[] |
Errors.getStackTraceInfo(InterpreterStackTrace stackTrace)
Returns a stack trace info from a given stack trace.
|
Modifier and Type | Method and Description |
---|---|
Object |
MockClosureHolder.execute(InterpreterConfiguration configuration,
InterpreterStackTrace stackTrace,
Object... arguments) |
Object |
ClosureHolder.execute(InterpreterConfiguration configuration,
InterpreterStackTrace stackTrace,
Object... arguments)
Executes this closure with given arguments.
|
Object |
ClosureHolder.execute(InterpreterStackTrace stackTrace,
Object... arguments)
Executes this closure with given arguments.
|
Object |
ClosureHolderInternal.executeInNamespace(Namespace namespace,
InterpreterStackTrace stackTrace,
Object... arguments)
Execute this closure in the given namespace.
|
RecordHolder |
ReferenceHolder.getPropertyRecord(InterpreterStackTrace stackTrace)
Returns root record for the property if a property is referenced.
|
Object |
ReferenceHolder.getValue(InterpreterStackTrace stackTrace)
Gets the value of the referenced element.
|
Object |
ReferenceHolder.getValue(String evaluationLevel,
InterpreterStackTrace stackTrace)
Returns value of referenced value-holder (variable/record) in the specified evaluation level.
|
void |
ReferenceHolder.setValue(Object value,
InterpreterStackTrace stackTrace)
Sets the value of the referenced element.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Decimal |
IntegerBinaryArithmeticOperation.exec(Decimal left,
Decimal right,
InterpreterStackTrace stackTrace)
Executes the operation with the operands interpreted.
|
protected abstract Decimal |
DecimalBinaryArithmeticOperation.exec(Decimal left,
Decimal right,
InterpreterStackTrace stackTrace)
Executes the operation with the operands interpreted.
|
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) |
Object |
JavaOperationExecutor.executeJavaOperation(String className,
String methodName,
Class<?>[] argClasses,
Object[] evaluatedArgs,
InterpreterStackTrace stackTrace)
Executes the operation.
|
Modifier and Type | Class and Description |
---|---|
class |
RecordingInterpreterStackTrace<T extends RecordingElement> |
class |
TimerInterpreterStackTrace
Usage:
|
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.