| Package | Description |
|---|---|
| org.eclipse.xtext.xbase | |
| org.eclipse.xtext.xbase.compiler | |
| org.eclipse.xtext.xbase.formatting | |
| org.eclipse.xtext.xbase.formatting2 | |
| org.eclipse.xtext.xbase.impl | |
| 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.util | |
| org.eclipse.xtext.xbase.validation |
| Modifier and Type | Interface and Description |
|---|---|
interface |
XListLiteral
A representation of the model object 'XList Literal'
|
interface |
XSetLiteral
A representation of the model object 'XSet Literal'
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
XbaseCompiler.appendImmutableCollectionExpression(XCollectionLiteral literal,
ITreeAppendable b,
String collectionsMethod,
Class<?> guavaHelper,
String guavaHelperMethod) |
protected LightweightTypeReference |
XbaseCompiler.getCollectionElementType(XCollectionLiteral literal) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
XbaseFormatter2._format(XCollectionLiteral literal,
FormattableDocument document)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
XbaseFormatter._format(XCollectionLiteral literal,
IFormattableDocument document) |
| Modifier and Type | Class and Description |
|---|---|
class |
XCollectionLiteralImpl
An implementation of the model object 'XCollection Literal'
|
class |
XListLiteralImpl
An implementation of the model object 'XList Literal'
|
class |
XSetLiteralImpl
An implementation of the model object 'XSet Literal'
|
| Modifier and Type | Method and Description |
|---|---|
protected List<LightweightTypeReference> |
CollectionLiteralsTypeComputer.computeCollectionTypeCandidates(XCollectionLiteral literal,
JvmGenericType collectionType,
LightweightTypeReference elementTypeExpectation,
ITypeComputationState state)
Creates a list of collection type references from the element types of a collection literal.
|
protected void |
CollectionLiteralsTypeComputer.handleCollectionTypeNotAvailable(XCollectionLiteral literal,
ITypeComputationState state,
Class<?> clazz)
Process all children and assign an unknown type to the literal.
|
protected void |
CollectionLiteralsTypeComputer.refineElementTypeExpectation(XCollectionLiteral literal,
LightweightTypeReference expectation,
ITypeComputationState state) |
protected void |
CollectionLiteralsTypeComputer.setUnboundCollectionType(XCollectionLiteral literal,
JvmGenericType collectionType,
ITypeExpectation expectation,
LightweightTypeReference elementTypeExpectation,
ITypeComputationState state) |
| Modifier and Type | Method and Description |
|---|---|
T |
XbaseSwitch.caseXCollectionLiteral(XCollectionLiteral object)
Returns the result of interpreting the object as an instance of 'XCollection Literal'
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
XbaseImplicitReturnFinder._findImplicitReturns(XCollectionLiteral expression,
ImplicitReturnFinder.Acceptor acceptor) |
Copyright © 2015. All Rights Reserved.