public class NoTypeResult extends Object implements ITypeComputationResult
| Constructor and Description |
|---|
NoTypeResult(org.eclipse.emf.ecore.EObject context,
ITypeReferenceOwner owner) |
| Modifier and Type | Method and Description |
|---|---|
LightweightTypeReference |
getActualExpressionType()
Returns the type of the expression (if known).
|
int |
getCheckedConformanceFlags()
Conformance information about the actual expression type and
the expectation.
|
EnumSet<ConformanceHint> |
getCheckedConformanceHints()
Conformance information about the actual expression type and
the expectation.
|
int |
getConformanceFlags()
Conformance information about the actual expression type and
the expectation.
|
EnumSet<ConformanceHint> |
getConformanceHints()
Conformance information about the actual expression type and
the expectation.
|
LightweightTypeReference |
getExpectedExpressionType()
Returns the type of the expectation (if any).
|
LightweightTypeReference |
getExpectedReturnType()
Returns the type of the return expectation (if any).
|
XExpression |
getExpression()
The expression that is associated with this result.
|
LightweightTypeReference |
getReturnType()
Returns the return type of the expression (if known).
|
String |
toString() |
public NoTypeResult(org.eclipse.emf.ecore.EObject context,
ITypeReferenceOwner owner)
public LightweightTypeReference getReturnType()
ITypeComputationResultnull. The return type is different
from the actual type since
its value escapes the current context.getReturnType in interface ITypeComputationResultpublic XExpression getExpression()
ITypeComputationResultgetExpression in interface ITypeComputationResultpublic LightweightTypeReference getActualExpressionType()
ITypeComputationResultnull.getActualExpressionType in interface ITypeComputationResultpublic LightweightTypeReference getExpectedExpressionType()
ITypeComputationResultITypeExpectation instead which carries more information.getExpectedExpressionType in interface ITypeComputationResultpublic LightweightTypeReference getExpectedReturnType()
ITypeComputationResultITypeExpectation instead which carries more information.getExpectedReturnType in interface ITypeComputationResultpublic EnumSet<ConformanceHint> getConformanceHints()
ITypeComputationResultgetConformanceHints in interface ITypeComputationResultpublic int getConformanceFlags()
ITypeComputationResultgetConformanceFlags in interface ITypeComputationResultpublic EnumSet<ConformanceHint> getCheckedConformanceHints()
ITypeComputationResultgetCheckedConformanceHints in interface ITypeComputationResultpublic int getCheckedConformanceFlags()
ITypeComputationResultgetCheckedConformanceFlags in interface ITypeComputationResultCopyright © 2015. All Rights Reserved.