Package | Description |
---|---|
com.whitestein.lsps.lang.module | |
com.whitestein.lsps.lang.signature |
Modifier and Type | Method and Description |
---|---|
Collection<SignatureMapping> |
NamespaceModel.getExtensionMethods(Type type)
Returns a collection of extension methods for a given type.
|
Collection<SignatureMapping> |
AbstractNamespace.getExtensionMethods(Type type) |
Collection<SignatureMapping> |
NamespaceModel.getExtensionMethods(Type type,
String methodName)
Returns a collection of extension methods for a given type and name.
|
Collection<SignatureMapping> |
AbstractNamespace.getExtensionMethods(Type type,
String methodName) |
Collection<SignatureMapping> |
NamespaceModel.getSignatures(String namePattern,
List<? extends Type> args,
Type returnType,
Map<String,String> metadataPattern)
Returns a collection of function signatures for the given parameters.
|
Collection<SignatureMapping> |
AbstractNamespace.getSignatures(String namePattern,
List<? extends Type> args,
Type returnType,
Map<String,String> metadataPattern) |
Collection<SignatureMapping> |
NamespaceModel.getSignaturesForName(QID name)
Returns a collection of function signatures for the given name.
|
Collection<SignatureMapping> |
AbstractNamespace.getSignaturesForName(QID name) |
Collection<SignatureMapping> |
NamespaceModel.getSignaturesForName(QID name,
ClosureType type)
Returns a collection of function signatures for the given name, argument
count and expected signature closure type.
|
Collection<SignatureMapping> |
AbstractNamespace.getSignaturesForName(QID name,
ClosureType type) |
Collection<SignatureMapping> |
NamespaceModel.getSignaturesForNamedArgs(QID name,
Map<String,Type> args,
Type returnType)
Returns a collection of function signatures for the given name, arguments
names and types and a return type.
|
Collection<SignatureMapping> |
AbstractNamespace.getSignaturesForNamedArgs(QID name,
Map<String,Type> args,
Type returnType) |
Modifier and Type | Method and Description |
---|---|
SignatureMapping |
SignatureMatcher.match(FunctionSignature signature)
Returns signature mapping.
|
SignatureMapping |
ObjectSignatureMatcher.match(FunctionSignature signature) |
SignatureMapping |
NamedArgsSignatureMatcher.match(FunctionSignature signature) |
SignatureMapping |
ExtensionMethodSignatureMatcher.match(FunctionSignature signature) |
SignatureMapping |
ComplexSignatureMatcher.match(FunctionSignature signature) |
SignatureMapping |
ClosureTypeSignatureMatcher.match(FunctionSignature signature) |
SignatureMapping |
FunctionSignature.match(int argCount,
Type type)
Returns mapping of the free types in this function signature such that the resulting closure
type is the most general type which is subtype of
type or null if such mapping does
not exist. |
SignatureMapping |
FunctionSignature.match(Type returnType,
Map<String,Type> args)
Returns mapping of the free types in this function signature to provided actual
named parameter types; or
null if such mapping is not possible. |
SignatureMapping |
FunctionSignature.match(Type returnType,
Type... actualTypes)
Returns mapping of the free types in this function signature to provided actual parameter
types; or null if such mapping is not possible.
|
Modifier and Type | Method and Description |
---|---|
static Set<SignatureMapping> |
FunctionSignatures.filterSignatures(Collection<FunctionSignature> signatures,
SignatureMatcher matcher) |
static Collection<SignatureMapping> |
SignatureMappings.purgeMappings(Collection<SignatureMapping> mappings)
Returns a collection of signatures mappings with redundant signature mappings removed.
|
static Collection<SignatureMapping> |
SignatureMappings.purgeMappings(Collection<SignatureMapping> mappings,
Collection<String> args)
Returns a collection of signatures mappings with redundant signature mappings removed.
|
static Collection<SignatureMapping> |
SignatureMappings.purgeMappingsFirstParam(Collection<SignatureMapping> mappings)
Returns a collection of signatures mappings with redundant signature mappings removed,
with respect only to the type of the first parameter.
|
Modifier and Type | Method and Description |
---|---|
static Collection<SignatureMapping> |
SignatureMappings.purgeMappings(Collection<SignatureMapping> mappings)
Returns a collection of signatures mappings with redundant signature mappings removed.
|
static Collection<SignatureMapping> |
SignatureMappings.purgeMappings(Collection<SignatureMapping> mappings,
Collection<String> args)
Returns a collection of signatures mappings with redundant signature mappings removed.
|
static Collection<SignatureMapping> |
SignatureMappings.purgeMappingsFirstParam(Collection<SignatureMapping> mappings)
Returns a collection of signatures mappings with redundant signature mappings removed,
with respect only to the type of the first parameter.
|
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.