Package | Description |
---|---|
com.whitestein.lsps.lang |
This is the main package for the LSPS expression language.
|
com.whitestein.lsps.lang.antlr | |
com.whitestein.lsps.lang.ast | |
com.whitestein.lsps.lang.parser |
This package contains ANTLR-based LSPS language parser (
Parser ). |
com.whitestein.lsps.lang.signature | |
com.whitestein.lsps.lang.type |
Provides classes for type reflection.
|
Modifier and Type | Method and Description |
---|---|
static Visibility |
Visibility.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Visibility[] |
Visibility.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Visibility |
AntlrFunction.getVisibility() |
Modifier and Type | Method and Description |
---|---|
Visibility |
FunctionAst.getVisibility() |
Constructor and Description |
---|
FunctionAst(AntlrFunction function,
Visibility visibility,
SignatureAst signatureAst)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected Visibility |
Parser.getAccessiblePropertyVisibility(Expression primaryExpression,
RecordType declarationType) |
Modifier and Type | Method and Description |
---|---|
Visibility |
FunctionSignature.getVisibility()
Returns the signature visibility.
|
Modifier and Type | Method and Description |
---|---|
static List<FunctionSignature> |
FunctionSignatures.filterByVisibility(Collection<FunctionSignature> signatures,
Visibility visibility) |
FunctionSignature.Builder |
FunctionSignature.Builder.setVisibility(Visibility visibility)
Sets private modifier.
|
Modifier and Type | Method and Description |
---|---|
Visibility |
RecordProperty.getVisibility()
Returns the property visibility.
|
Visibility |
RecordField.getVisibility() |
Visibility |
RecordAssociation.getVisibility() |
Modifier and Type | Method and Description |
---|---|
List<FunctionSignature> |
RecordType.getConstructors(Visibility visibility)
Returns the unmodifiable list of record constructors
having at least the given visibility.
|
Collection<FunctionSignature> |
ClassType.getMethodsForName(String name,
Type[] paramTypes,
Visibility visibility)
Returns a collection of methods with the given name and parameter types.
|
Collection<FunctionSignature> |
ClassType.getMethodsForName(String name,
Visibility visibility)
Returns collection of methods with a given name.
|
Collection<FunctionSignature> |
RecordType.getStaticMethodsForName(String name,
Visibility visibility) |
Collection<FunctionSignature> |
ClassType.getStaticMethodsForName(String name,
Visibility visibility)
Returns collection of static methods with a given name.
|
Constructor and Description |
---|
RecordField(String name,
Type type,
Visibility visibility)
Constructs a record field with a given visibility, no metadata, no XML mapping, read/write
and not used for equals.
|
RecordField(String name,
Type type,
Visibility visibility,
Map<String,String> metadata,
RecordFieldXmlMapping xmlMapping,
boolean readonly,
boolean usedForEquals)
Constructs a record field.
|
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.