| Package | Description |
|---|---|
| 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.internal |
| Modifier and Type | Method and Description |
|---|---|
ITypeComputationResult |
ITypeComputationState.computeTypes(XExpression expression)
Triggers type computation for a child expression of the currently considered expression.
|
protected ITypeComputationResult |
CollectionLiteralsTypeComputer.computeTypes(XExpression element,
LightweightTypeReference expectation,
ITypeComputationState state) |
protected ITypeComputationResult |
XbaseTypeComputer.computeWhileLoopBody(XAbstractWhileExpression object,
ITypeComputationState state,
boolean autocast) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
ClosureWithExpectationHelper.isImplicitReturn(ITypeComputationResult expressionResult) |
void |
XbaseTypeComputer.BranchExpressionProcessor.process(ITypeComputationResult result) |
protected FunctionTypeReference |
ClosureWithoutExpectationHelper.processExpressionType(FunctionTypeReference incompleteClosureType,
ITypeComputationResult expressionResult) |
protected int |
ClosureWithExpectationHelper.processExpressionType(ITypeComputationResult expressionResult)
Returns an indicator how compatible the expression type result is to the expected type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NoTypeResult |
class |
ResolutionBasedComputationResult |
| Modifier and Type | Method and Description |
|---|---|
ITypeComputationResult |
AbstractRootTypeComputationState.computeTypes() |
ITypeComputationResult |
ForwardingTypeComputationState.computeTypes(XExpression expression) |
ITypeComputationResult |
CompoundTypeComputationState.computeTypes(XExpression expression) |
ITypeComputationResult |
AbstractTypeComputationState.computeTypes(XExpression expression) |
protected ITypeComputationResult |
OperationBodyComputationState.createNoTypeResult() |
protected ITypeComputationResult |
FieldTypeComputationState.createNoTypeResult() |
protected ITypeComputationResult |
ExpressionBasedRootTypeComputationState.createNoTypeResult() |
protected ITypeComputationResult |
ConstructorBodyComputationState.createNoTypeResult() |
protected ITypeComputationResult |
AnnotationValueTypeComputationState.createNoTypeResult() |
protected abstract ITypeComputationResult |
AbstractRootTypeComputationState.createNoTypeResult() |
Copyright © 2015. All Rights Reserved.