Package | Description |
---|---|
com.whitestein.lsps.engine.lang | |
com.whitestein.lsps.engine.lang.compiled | |
com.whitestein.lsps.engine.state.xml | |
com.whitestein.lsps.json.impl | |
com.whitestein.lsps.lang |
This is the main package for the LSPS expression language.
|
com.whitestein.lsps.lang.exec |
All types in the language have their Java implementation class.
|
com.whitestein.lsps.lang.signature | |
com.whitestein.lsps.lang.type |
Provides classes for type reflection.
|
Modifier and Type | Method and Description |
---|---|
Type |
RecordNamespace.getFreeType(FreeType type) |
Type |
AbstractContextNamespace.getFreeType(FreeType type) |
Modifier and Type | Method and Description |
---|---|
Namespace |
RecordNamespace.createChildNamespace(java.lang.String name,
java.util.List<? extends Field> fields,
java.util.List<?> initialValues,
java.util.Map<FreeType,Type> freeTypeMapping,
InterpreterConfiguration configuration) |
Namespace |
NoBaseContextNamespace.createChildNamespace(java.lang.String name,
java.util.List<? extends Field> fields,
java.util.List<?> initialValues,
java.util.Map<FreeType,Type> freeTypeMapping,
InterpreterConfiguration configuration) |
Namespace |
ContextNamespace.createChildNamespace(java.lang.String name,
java.util.List<? extends Field> fields,
java.util.List<?> values,
java.util.Map<FreeType,Type> freeTypeMapping,
InterpreterConfiguration configuration) |
protected Namespace |
AbstractContextNamespace.createChildNamespaceInternal(java.lang.String name,
java.util.List<? extends Field> fields,
java.util.List<?> values,
java.util.Map<FreeType,Type> freeTypeMapping,
InterpreterConfiguration configuration)
Creates child namespace in required evaluation level.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Class<?> |
CommonCompiler.getArrayClassForType(Type type,
java.util.Map<FreeType,Type> freeTypeBounds,
java.util.Map<ClassType,java.lang.String> recordClassNames) |
static java.lang.String |
CommonCompiler.getArrayClassNameForType(Type type,
java.util.Map<FreeType,Type> freeTypeBounds,
java.util.Map<ClassType,java.lang.String> recordClassNames) |
static Type |
CommonCompiler.getBoundType(Type type,
java.util.Map<FreeType,Type> freeTypeBounds,
java.util.Map<ClassType,java.lang.String> recordClassNames) |
static java.lang.Class<?> |
CommonCompiler.getClassForType(Type type,
java.util.Map<FreeType,Type> freeTypeBounds,
java.util.Map<ClassType,java.lang.String> recordClassNames) |
static java.lang.String |
CommonCompiler.getClassNameForType(Type type,
java.util.Map<FreeType,Type> freeTypeBounds,
java.util.Map<ClassType,java.lang.String> recordClassNames) |
static java.lang.String |
CommonCompiler.getSimpleClassNameForType(Type type,
java.util.Map<FreeType,Type> freeTypeBounds,
java.util.Map<ClassType,java.lang.String> recordClassNames) |
Constructor and Description |
---|
JavaTypesResolver(CommonCompiler.JavaTypesResolver resolver,
java.util.Map<FreeType,Type> freeTypeBounds) |
JavaTypesResolver(java.util.Map<com.whitestein.lsps.model.ProcessModel,java.lang.String> hashMappings,
java.util.Map<FreeType,Type> freeTypeBounds,
java.util.Map<ClassType,java.lang.String> recordClassNames,
java.util.Map<FunctionSignature,java.lang.String> formClassNames) |
Modifier and Type | Method and Description |
---|---|
Context |
Context.addNewChildContext(java.lang.String name,
java.util.Map<FreeType,Type> freeTypeMapping)
Adds new child context.
|
Modifier and Type | Method and Description |
---|---|
ValueConverter |
RecordValueConverterProvider.visit(FreeType freeType) |
Modifier and Type | Method and Description |
---|---|
Type |
MockNamespacePart.getFreeType(FreeType type) |
Type |
MockNamespace.getFreeType(FreeType type) |
Modifier and Type | Method and Description |
---|---|
Namespace |
AbstractMockNamespace.createChildNamespace(java.lang.String name,
java.util.List<? extends Field> fields,
java.util.List<?> initialValues,
java.util.Map<FreeType,Type> freeTypeMapping,
InterpreterConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
Type |
Namespace.getFreeType(FreeType type)
Returns the value of given free type or null if it does not exist in this context.
|
default Type |
Namespace.getFreeTypeMapping(FreeType freeType) |
Modifier and Type | Method and Description |
---|---|
Namespace |
Namespace.createChildNamespace(java.lang.String name,
java.util.List<? extends Field> fields,
java.util.List<?> initialValues,
java.util.Map<FreeType,Type> freeTypeMapping,
InterpreterConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<FreeType,Type> |
FunctionSignature.getFreeTypeBounds() |
java.util.List<FreeType> |
FunctionSignature.getFreeTypes()
Returns the free types of this function.
|
Modifier and Type | Method and Description |
---|---|
FunctionSignature.Builder |
FunctionSignature.Builder.freeType(FreeType... types)
Adds free types.
|
FunctionSignature.Builder |
FunctionSignature.Builder.freeTypeBound(FreeType freeType,
Type type)
Adds a free type upper bound.
|
Type |
FunctionSignature.getFreeTypeBound(FreeType freeType)
Returns the free type upper bound, or
null if there is no
bound defined. |
Modifier and Type | Method and Description |
---|---|
java.util.Map<FreeType,Type> |
TypeMapping.asMap()
Returns the mapping as a map where keys are free types
and values are the actual mapped types.
|
java.util.List<FreeType> |
Type.getFreeTypes()
Returns the list of free types as they appear in the type.
|
java.util.List<FreeType> |
AbstractType.getFreeTypes() |
java.util.Set<FreeType> |
TypeMapping.getMappedFreeTypes()
Returns the set of mapped free types.
|
Modifier and Type | Method and Description |
---|---|
Type |
TypeMapping.getFreeTypeMapping(FreeType freeType)
Returns actual type corresponding to given free type (or "null" if no
mapping is specified).
|
Type |
FreeTypeMapping.getFreeTypeMapping(FreeType freeType)
Returns the mapping of given free type.
|
boolean |
TypeMapping.subType(FreeType freeType,
Type other)
Marks that
FreeType should be subtype of other . |
boolean |
TypeMapping.superType(FreeType freeType,
Type other)
Marks that
FreeType should be supertype of other . |
T |
TypeVisitor.visit(FreeType freeType)
Visits the free type.
|
java.lang.Object |
TraversingTypeVisitor.visit(FreeType freeType) |
T |
SimpleTypeVisitor.visit(FreeType freeType) |
Type |
CopyTypeVisitor.visit(FreeType freeType) |
Modifier and Type | Method and Description |
---|---|
void |
TypeMapping.initBounds(java.util.Map<FreeType,Type> initialBounds)
Initializes type bounds.
|
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.