Skip navigation links
LSPS 3.6 SDK

Package com.whitestein.lsps.lang.type

Provides classes for type reflection.

See: Description

Package com.whitestein.lsps.lang.type Description

Provides classes for type reflection. The type classes are used in expression parsing, interpreting and runtime.

Here is a short description of existing data types:

SimpleType
These types contain the "real" values, like numbers, strings, etc (see SimpleType documentation for more details). There is also an "object" type, which is a supertype for all types.
ContainerType
These types collect multiple values of other types (including other collections). There are three container types: SetType, ListType, and MapType.
RecordType
These types must be declared in a module. They contain values of other types, as named properties.
ReferenceType
This type contains reference to location of other value type. If someone (e.g. task) receives the reference, they can modify the referred value.
NullType
The type of literal "null"..
FreeType
These are placeholders for any value type. They can be used only inside FunctionSignatures to create a generic function declaration.
ClosureType
An anonymous function used as parameter of another function.
Skip navigation links
LSPS 3.6 SDK

Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.