| 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.interpreter.impl | |
| org.eclipse.xtext.xbase.serializer | |
| 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.util | |
| org.eclipse.xtext.xbase.util | |
| org.eclipse.xtext.xbase.validation |
| Modifier and Type | Method and Description |
|---|---|
XClosure |
XbaseFactory.createXClosure()
Returns a new object of class 'XClosure'
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
XbaseCompiler._toJavaExpression(XClosure closure,
ITreeAppendable b) |
protected void |
XbaseCompiler._toJavaStatement(XClosure closure,
ITreeAppendable b,
boolean isReferenced) |
protected boolean |
XbaseCompiler.canCompileToJavaLambda(XClosure closure,
LightweightTypeReference typeRef,
JvmOperation operation) |
protected boolean |
XbaseCompiler.needSyntheticSelfVariable(XClosure closure,
LightweightTypeReference typeRef) |
protected ITreeAppendable |
XbaseCompiler.toAnonymousClass(XClosure closure,
ITreeAppendable b,
LightweightTypeReference type,
JvmOperation operation) |
protected ITreeAppendable |
XbaseCompiler.toLambda(XClosure closure,
ITreeAppendable b,
LightweightTypeReference type,
JvmOperation operation,
boolean writeExplicitTargetType) |
| Modifier and Type | Method and Description |
|---|---|
protected XClosure |
XbaseFormatter2.builder(List<XExpression> params)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
XbaseFormatter2._format(XClosure expr,
FormattableDocument format)
Deprecated.
|
protected void |
XbaseFormatter2.formatClosureMultiLine(XClosure expr,
INode open,
Collection<XExpression> children,
INode close,
FormattableDocument format)
Deprecated.
|
protected void |
XbaseFormatter2.formatClosureParameters(XClosure expr,
FormattableDocument format)
Deprecated.
|
protected void |
XbaseFormatter2.formatClosureWrapIfNeeded(XClosure expr,
INode open,
Collection<XExpression> children,
INode close,
FormattableDocument format)
Deprecated.
|
protected boolean |
XbaseFormatter2.isMultilineLambda(XClosure closure)
Deprecated.
checks whether the given lambda should be formatted as a block.
|
| Modifier and Type | Method and Description |
|---|---|
protected XClosure |
XbaseFormatter.builder(List<XExpression> params) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
XbaseFormatter._format(XClosure expr,
IFormattableDocument format) |
protected void |
XbaseFormatter.formatBuilderWithLeadingGap(XClosure closure,
IFormattableDocument format) |
protected ISemanticRegion |
XbaseFormatter.formatClosureParams(XClosure expr,
ISemanticRegion open,
IFormattableDocument format,
Procedures.Procedure1<? super IHiddenRegionFormatter> init) |
| Modifier and Type | Class and Description |
|---|---|
class |
XClosureImpl
An implementation of the model object 'XClosure'
|
class |
XClosureImplCustom |
| Modifier and Type | Method and Description |
|---|---|
XClosure |
XbaseFactoryImpl.createXClosure() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
XbaseInterpreter._doEvaluate(XClosure closure,
IEvaluationContext context,
CancelIndicator indicator) |
| Constructor and Description |
|---|
ClosureInvocationHandler(XClosure closure,
IEvaluationContext context,
IExpressionInterpreter interpreter,
CancelIndicator indicator) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractXbaseSemanticSequencer.sequence_XClosure(org.eclipse.emf.ecore.EObject context,
XClosure semanticObject)
Deprecated.
|
protected void |
AbstractXbaseSemanticSequencer.sequence_XClosure(ISerializationContext context,
XClosure semanticObject)
Contexts:
XExpression returns XClosure
XAssignment returns XClosure
XAssignment.XBinaryOperation_1_1_0_0_0 returns XClosure
XOrExpression returns XClosure
XOrExpression.XBinaryOperation_1_0_0_0 returns XClosure
XAndExpression returns XClosure
XAndExpression.XBinaryOperation_1_0_0_0 returns XClosure
XEqualityExpression returns XClosure
XEqualityExpression.XBinaryOperation_1_0_0_0 returns XClosure
XRelationalExpression returns XClosure
XRelationalExpression.XInstanceOfExpression_1_0_0_0_0 returns XClosure
XRelationalExpression.XBinaryOperation_1_1_0_0_0 returns XClosure
XOtherOperatorExpression returns XClosure
XOtherOperatorExpression.XBinaryOperation_1_0_0_0 returns XClosure
XAdditiveExpression returns XClosure
XAdditiveExpression.XBinaryOperation_1_0_0_0 returns XClosure
XMultiplicativeExpression returns XClosure
XMultiplicativeExpression.XBinaryOperation_1_0_0_0 returns XClosure
XUnaryOperation returns XClosure
XCastedExpression returns XClosure
XCastedExpression.XCastedExpression_1_0_0_0 returns XClosure
XPostfixOperation returns XClosure
XPostfixOperation.XPostfixOperation_1_0_0 returns XClosure
XMemberFeatureCall returns XClosure
XMemberFeatureCall.XAssignment_1_0_0_0_0 returns XClosure
XMemberFeatureCall.XMemberFeatureCall_1_1_0_0_0 returns XClosure
XPrimaryExpression returns XClosure
XLiteral returns XClosure
XClosure returns XClosure
XParenthesizedExpression returns XClosure
XExpressionOrVarDeclaration returns XClosure
Constraint:
(
((declaredFormalParameters+=JvmFormalParameter declaredFormalParameters+=JvmFormalParameter*)?
|
protected void |
AbstractXbaseSemanticSequencer.sequence_XShortClosure(org.eclipse.emf.ecore.EObject context,
XClosure semanticObject)
Deprecated.
|
protected void |
AbstractXbaseSemanticSequencer.sequence_XShortClosure(ISerializationContext context,
XClosure semanticObject)
Contexts:
XShortClosure returns XClosure
Constraint:
((declaredFormalParameters+=JvmFormalParameter declaredFormalParameters+=JvmFormalParameter*)?
|
| Modifier and Type | Method and Description |
|---|---|
protected XClosure |
ClosureTypeComputer.getClosure() |
protected XClosure |
AbstractClosureTypeHelper.getClosure() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
XbaseTypeComputer._computeTypes(XClosure object,
ITypeComputationState state) |
| Constructor and Description |
|---|
AbstractClosureTypeHelper(XClosure closure,
ITypeExpectation expectation,
ITypeComputationState state) |
ClosureTypeComputer(XClosure closure,
ITypeExpectation expectation,
ITypeComputationState state) |
ClosureWithExpectationHelper(XClosure closure,
JvmOperation operation,
ITypeExpectation expectation,
ITypeComputationState state) |
ClosureWithoutExpectationHelper(XClosure closure,
ITypeExpectation expectation,
ITypeComputationState state) |
UnknownClosureTypeHelper(XClosure closure,
ITypeExpectation expectation,
ITypeComputationState state) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
ThrownExceptionSwitch.caseXClosure(XClosure object) |
| Modifier and Type | Method and Description |
|---|---|
T |
XbaseSwitch.caseXClosure(XClosure object)
Returns the result of interpreting the object as an instance of 'XClosure'
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
XbaseImplicitReturnFinder._findImplicitReturns(XClosure expression,
ImplicitReturnFinder.Acceptor acceptor) |
void |
XbaseValidator.checkClosureParameterTypes(XClosure closure) |
void |
XbaseValidator.checkClosureParams(XClosure closure) |
protected boolean |
XbaseDiagnostician.doValidateLambdaContents(XClosure closure,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the implicit first parameter explicitly if it was not contained in
EObject.eContents(). |
Copyright © 2015. All Rights Reserved.