| Package | Description |
|---|---|
| org.eclipse.xtext.xbase.scoping.batch | |
| org.eclipse.xtext.xbase.typesystem.computation |
This package contains the primary hooks for the actual type computation in Xbase
as well as their respective base implementations.
|
| org.eclipse.xtext.xbase.typesystem.conformance | |
| org.eclipse.xtext.xbase.typesystem.internal |
| Modifier and Type | Method and Description |
|---|---|
EnumSet<ConformanceHint> |
SimpleIdentifiableElementDescription.getImplicitReceiverConformanceHints() |
EnumSet<ConformanceHint> |
IIdentifiableElementDescription.getImplicitReceiverConformanceHints() |
EnumSet<ConformanceHint> |
BucketedEObjectDescription.getImplicitReceiverConformanceHints() |
EnumSet<ConformanceHint> |
SimpleIdentifiableElementDescription.getSyntacticReceiverConformanceHints() |
EnumSet<ConformanceHint> |
IIdentifiableElementDescription.getSyntacticReceiverConformanceHints() |
EnumSet<ConformanceHint> |
BucketedEObjectDescription.getSyntacticReceiverConformanceHints() |
| Modifier and Type | Method and Description |
|---|---|
protected EnumSet<ConformanceHint> |
SynonymTypesProvider.Acceptor.fromFlags(int flags)
Converts flag bits to type safe hints.
|
EnumSet<ConformanceHint> |
ITypeComputationResult.getCheckedConformanceHints()
Conformance information about the actual expression type and
the expectation.
|
EnumSet<ConformanceHint> |
ITypeComputationResult.getConformanceHints()
Conformance information about the actual expression type and
the expectation.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
SynonymTypesProvider.Acceptor.accept(LightweightTypeReference synonym,
ConformanceHint hint) |
void |
ITypeExpectation.acceptActualType(LightweightTypeReference type,
ConformanceHint... hints) |
void |
ITypeComputationState.acceptActualType(LightweightTypeReference type,
ConformanceHint... hints)
Annotates the currently considered expression(s) with the given type.
|
protected boolean |
SynonymTypesProvider.announceSynonym(LightweightTypeReference synonym,
ConformanceHint hint,
SynonymTypesProvider.Acceptor acceptor)
Announce a synonym type with the given conformance hint.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
SynonymTypesProvider.Acceptor.accept(LightweightTypeReference synonym,
EnumSet<ConformanceHint> hints) |
void |
ITypeExpectation.acceptActualType(LightweightTypeReference type,
EnumSet<ConformanceHint> hints) |
void |
ITypeComputationState.acceptActualType(LightweightTypeReference type,
EnumSet<ConformanceHint> hints)
Annotates the currently considered expression(s) with the given type.
|
protected boolean |
SynonymTypesProvider.announceSynonym(LightweightTypeReference synonym,
EnumSet<ConformanceHint> hints,
SynonymTypesProvider.Acceptor acceptor)
Announce a synonym type with the given conformance hints.
|
protected int |
SynonymTypesProvider.Acceptor.toFlags(EnumSet<ConformanceHint> hints)
Converts hints to flag bits.
|
| Modifier and Type | Method and Description |
|---|---|
static ConformanceHint |
ConformanceHint.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConformanceHint[] |
ConformanceHint.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumSet<ConformanceHint> |
ConformanceHint.fromFlags(int flags) |
| Modifier and Type | Method and Description |
|---|---|
static int |
ConformanceHint.toFlags(ConformanceHint... hints) |
| Modifier and Type | Method and Description |
|---|---|
static int |
ConformanceHint.toFlags(EnumSet<ConformanceHint> hints) |
| Modifier and Type | Method and Description |
|---|---|
EnumSet<ConformanceHint> |
ResolutionBasedComputationResult.getCheckedConformanceHints() |
EnumSet<ConformanceHint> |
NoTypeResult.getCheckedConformanceHints() |
EnumSet<ConformanceHint> |
ResolutionBasedComputationResult.getConformanceHints() |
EnumSet<ConformanceHint> |
NoTypeResult.getConformanceHints() |
EnumSet<ConformanceHint> |
ScopeProviderAccess.ErrorDescription.getImplicitReceiverConformanceHints() |
EnumSet<ConformanceHint> |
ScopeProviderAccess.ErrorDescription.getSyntacticReceiverConformanceHints() |
| Modifier and Type | Method and Description |
|---|---|
void |
CompoundTypeComputationState.acceptActualType(LightweightTypeReference type,
ConformanceHint... hints) |
void |
AbstractTypeExpectation.acceptActualType(LightweightTypeReference type,
ConformanceHint... hints) |
void |
AbstractTypeComputationState.acceptActualType(LightweightTypeReference type,
ConformanceHint... hints) |
| Modifier and Type | Method and Description |
|---|---|
void |
CompoundTypeComputationState.acceptActualType(LightweightTypeReference type,
EnumSet<ConformanceHint> hints) |
void |
AbstractTypeExpectation.acceptActualType(LightweightTypeReference type,
EnumSet<ConformanceHint> hints) |
void |
AbstractTypeComputationState.acceptActualType(LightweightTypeReference type,
EnumSet<ConformanceHint> hints) |
Copyright © 2015. All Rights Reserved.