| Modifier and Type | Interface and Description |
|---|---|
interface |
XAbstractFeatureCall
A representation of the model object 'XAbstract Feature Call'
|
interface |
XAbstractWhileExpression
A representation of the model object 'XAbstract While Expression'
|
interface |
XAssignment
A representation of the model object 'XAssignment'
|
interface |
XBasicForLoopExpression
A representation of the model object 'XBasic For Loop Expression'
|
interface |
XBinaryOperation
A representation of the model object 'XBinary Operation'
|
interface |
XBlockExpression
A representation of the model object 'XBlock Expression'
|
interface |
XBooleanLiteral
A representation of the model object 'XBoolean Literal'
|
interface |
XCastedExpression
A representation of the model object 'XCasted Expression'
|
interface |
XClosure
A representation of the model object 'XClosure'
|
interface |
XCollectionLiteral
A representation of the model object 'XCollection Literal'
|
interface |
XConstructorCall
A representation of the model object 'XConstructor Call'
|
interface |
XDoWhileExpression
A representation of the model object 'XDo While Expression'
|
interface |
XFeatureCall
A representation of the model object 'XFeature Call'
|
interface |
XForLoopExpression
A representation of the model object 'XFor Loop Expression'
|
interface |
XIfExpression
A representation of the model object 'XIf Expression'
|
interface |
XInstanceOfExpression
A representation of the model object 'XInstance Of Expression'
|
interface |
XListLiteral
A representation of the model object 'XList Literal'
|
interface |
XMemberFeatureCall
A representation of the model object 'XMember Feature Call'
|
interface |
XNullLiteral
A representation of the model object 'XNull Literal'
|
interface |
XNumberLiteral
A representation of the model object 'XNumber Literal'
|
interface |
XPostfixOperation
A representation of the model object 'XPostfix Operation'
|
interface |
XReturnExpression
A representation of the model object 'XReturn Expression'
|
interface |
XSetLiteral
A representation of the model object 'XSet Literal'
|
interface |
XStringLiteral
A representation of the model object 'XString Literal'
|
interface |
XSwitchExpression
A representation of the model object 'XSwitch Expression'
|
interface |
XSynchronizedExpression
A representation of the model object 'XSynchronized Expression'
|
interface |
XThrowExpression
A representation of the model object 'XThrow Expression'
|
interface |
XTryCatchFinallyExpression
A representation of the model object 'XTry Catch Finally Expression'
|
interface |
XTypeLiteral
A representation of the model object 'XType Literal'
|
interface |
XUnaryOperation
A representation of the model object 'XUnary Operation'
|
interface |
XVariableDeclaration
A representation of the model object 'XVariable Declaration'
|
interface |
XWhileExpression
A representation of the model object 'XWhile Expression'
|
| Modifier and Type | Method and Description |
|---|---|
XExpression |
XAbstractFeatureCall.getActualReceiver()
Returns the actual receiver of the feature call.
|
XExpression |
XAssignment.getAssignable()
Returns the value of the 'Assignable' containment reference
|
XExpression |
XAbstractWhileExpression.getBody()
Returns the value of the 'Body' containment reference
|
XExpression |
XCasePart.getCase()
Returns the value of the 'Case' containment reference
|
XExpression |
XSwitchExpression.getDefault()
Returns the value of the 'Default' containment reference
|
XExpression |
XForLoopExpression.getEachExpression()
Returns the value of the 'Each Expression' containment reference
|
XExpression |
XBasicForLoopExpression.getEachExpression()
Returns the value of the 'Each Expression' containment reference
|
XExpression |
XIfExpression.getElse()
Returns the value of the 'Else' containment reference
|
XExpression |
XTryCatchFinallyExpression.getExpression()
Returns the value of the 'Expression' containment reference
|
XExpression |
XThrowExpression.getExpression()
Returns the value of the 'Expression' containment reference
|
XExpression |
XSynchronizedExpression.getExpression()
Returns the value of the 'Expression' containment reference
|
XExpression |
XReturnExpression.getExpression()
Returns the value of the 'Expression' containment reference
|
XExpression |
XInstanceOfExpression.getExpression()
Returns the value of the 'Expression' containment reference
|
XExpression |
XClosure.getExpression()
Returns the value of the 'Expression' containment reference
|
XExpression |
XCatchClause.getExpression()
Returns the value of the 'Expression' containment reference
|
XExpression |
XBasicForLoopExpression.getExpression()
Returns the value of the 'Expression' containment reference
|
XExpression |
XTryCatchFinallyExpression.getFinallyExpression()
Returns the value of the 'Finally Expression' containment reference
|
XExpression |
XForLoopExpression.getForExpression()
Returns the value of the 'For Expression' containment reference
|
XExpression |
XIfExpression.getIf()
Returns the value of the 'If' containment reference
|
XExpression |
XAbstractFeatureCall.getImplicitFirstArgument()
Returns the value of the 'Implicit First Argument' containment reference
|
XExpression |
XAbstractFeatureCall.getImplicitReceiver()
Returns the value of the 'Implicit Receiver' containment reference
|
XExpression |
XBinaryOperation.getLeftOperand()
Returns the value of the 'Left Operand' containment reference
|
XExpression |
XMemberFeatureCall.getMemberCallTarget()
Returns the value of the 'Member Call Target' containment reference
|
XExpression |
XUnaryOperation.getOperand()
Returns the value of the 'Operand' containment reference
|
XExpression |
XPostfixOperation.getOperand()
Returns the value of the 'Operand' containment reference
|
XExpression |
XSynchronizedExpression.getParam()
Returns the value of the 'Param' containment reference
|
XExpression |
XAbstractWhileExpression.getPredicate()
Returns the value of the 'Predicate' containment reference
|
XExpression |
XVariableDeclaration.getRight()
Returns the value of the 'Right' containment reference
|
XExpression |
XBinaryOperation.getRightOperand()
Returns the value of the 'Right Operand' containment reference
|
XExpression |
XSwitchExpression.getSwitch()
Returns the value of the 'Switch' containment reference
|
XExpression |
XCastedExpression.getTarget()
Returns the value of the 'Target' containment reference
|
XExpression |
XIfExpression.getThen()
Returns the value of the 'Then' containment reference
|
XExpression |
XCasePart.getThen()
Returns the value of the 'Then' containment reference
|
XExpression |
XAssignment.getValue()
Returns the value of the 'Value' containment reference
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.util.EList<XExpression> |
XAbstractFeatureCall.getActualArguments()
Returns the actual arguments of the feature call.
|
org.eclipse.emf.common.util.EList<XExpression> |
XConstructorCall.getArguments()
Returns the value of the 'Arguments' containment reference list.
|
org.eclipse.emf.common.util.EList<XExpression> |
XCollectionLiteral.getElements()
Returns the value of the 'Elements' containment reference list.
|
org.eclipse.emf.common.util.EList<XExpression> |
XAbstractFeatureCall.getExplicitArguments()
Deprecated.
Will be removed shortly
|
org.eclipse.emf.common.util.EList<XExpression> |
XBlockExpression.getExpressions()
Returns the value of the 'Expressions' containment reference list.
|
org.eclipse.emf.common.util.EList<XExpression> |
XFeatureCall.getFeatureCallArguments()
Returns the value of the 'Feature Call Arguments' containment reference list.
|
org.eclipse.emf.common.util.EList<XExpression> |
XBasicForLoopExpression.getInitExpressions()
Returns the value of the 'Init Expressions' containment reference list.
|
org.eclipse.emf.common.util.EList<XExpression> |
XMemberFeatureCall.getMemberCallArguments()
Returns the value of the 'Member Call Arguments' containment reference list.
|
org.eclipse.emf.common.util.EList<XExpression> |
XBasicForLoopExpression.getUpdateExpressions()
Returns the value of the 'Update Expressions' containment reference list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XAssignment.setAssignable(XExpression value)
Sets the value of the '
Assignable' containment reference |
void |
XAbstractWhileExpression.setBody(XExpression value)
Sets the value of the '
Body' containment reference |
void |
XCasePart.setCase(XExpression value)
Sets the value of the '
Case' containment reference |
void |
XSwitchExpression.setDefault(XExpression value)
Sets the value of the '
Default' containment reference |
void |
XForLoopExpression.setEachExpression(XExpression value)
Sets the value of the '
Each Expression' containment reference |
void |
XBasicForLoopExpression.setEachExpression(XExpression value)
Sets the value of the '
Each Expression' containment reference |
void |
XIfExpression.setElse(XExpression value)
Sets the value of the '
Else' containment reference |
void |
XTryCatchFinallyExpression.setExpression(XExpression value)
Sets the value of the '
Expression' containment reference |
void |
XThrowExpression.setExpression(XExpression value)
Sets the value of the '
Expression' containment reference |
void |
XSynchronizedExpression.setExpression(XExpression value)
Sets the value of the '
Expression' containment reference |
void |
XReturnExpression.setExpression(XExpression value)
Sets the value of the '
Expression' containment reference |
void |
XInstanceOfExpression.setExpression(XExpression value)
Sets the value of the '
Expression' containment reference |
void |
XClosure.setExpression(XExpression value)
Sets the value of the '
Expression' containment reference |
void |
XCatchClause.setExpression(XExpression value)
Sets the value of the '
Expression' containment reference |
void |
XBasicForLoopExpression.setExpression(XExpression value)
Sets the value of the '
Expression' containment reference |
void |
XTryCatchFinallyExpression.setFinallyExpression(XExpression value)
Sets the value of the '
Finally Expression' containment reference |
void |
XForLoopExpression.setForExpression(XExpression value)
Sets the value of the '
For Expression' containment reference |
void |
XIfExpression.setIf(XExpression value)
Sets the value of the '
If' containment reference |
void |
XAbstractFeatureCall.setImplicitFirstArgument(XExpression value)
Sets the value of the '
Implicit First Argument' containment reference |
void |
XAbstractFeatureCall.setImplicitReceiver(XExpression value)
Sets the value of the '
Implicit Receiver' containment reference |
void |
XBinaryOperation.setLeftOperand(XExpression value)
Sets the value of the '
Left Operand' containment reference |
void |
XMemberFeatureCall.setMemberCallTarget(XExpression value)
Sets the value of the '
Member Call Target' containment reference |
void |
XUnaryOperation.setOperand(XExpression value)
Sets the value of the '
Operand' containment reference |
void |
XPostfixOperation.setOperand(XExpression value)
Sets the value of the '
Operand' containment reference |
void |
XSynchronizedExpression.setParam(XExpression value)
Sets the value of the '
Param' containment reference |
void |
XAbstractWhileExpression.setPredicate(XExpression value)
Sets the value of the '
Predicate' containment reference |
void |
XVariableDeclaration.setRight(XExpression value)
Sets the value of the '
Right' containment reference |
void |
XBinaryOperation.setRightOperand(XExpression value)
Sets the value of the '
Right Operand' containment reference |
void |
XSwitchExpression.setSwitch(XExpression value)
Sets the value of the '
Switch' containment reference |
void |
XCastedExpression.setTarget(XExpression value)
Sets the value of the '
Target' containment reference |
void |
XIfExpression.setThen(XExpression value)
Sets the value of the '
Then' containment reference |
void |
XCasePart.setThen(XExpression value)
Sets the value of the '
Then' containment reference |
void |
XAssignment.setValue(XExpression value)
Sets the value of the '
Value' containment reference |
| Modifier and Type | Method and Description |
|---|---|
protected void |
XbaseWithAnnotationsTypeComputer.computeTypes(XAnnotation annotation,
JvmOperation operation,
XExpression value,
ITypeComputationState state) |
void |
XbaseWithAnnotationsTypeComputer.computeTypes(XExpression expression,
ITypeComputationState state) |
| Modifier and Type | Method and Description |
|---|---|
XExpression |
XAnnotationUtil.findValue(XAnnotation annotation,
JvmOperation jvmOperation) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
AnnotationValueValidator._isValidAnnotationValue(XExpression expression) |
protected boolean |
AnnotationValueValidator.isValidAnnotationValue(XExpression expression) |
void |
AnnotationValueValidator.validateAnnotationValue(XExpression value,
ValidationMessageAcceptor acceptor) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
XAnnotation
A representation of the model object 'XAnnotation'
|
| Modifier and Type | Method and Description |
|---|---|
XExpression |
XAnnotationElementValuePair.getValue()
Returns the value of the 'Value' containment reference
|
XExpression |
XAnnotation.getValue()
Returns the value of the 'Value' containment reference
|
| Modifier and Type | Method and Description |
|---|---|
void |
XAnnotationElementValuePair.setValue(XExpression value)
Sets the value of the '
Value' containment reference |
void |
XAnnotation.setValue(XExpression value)
Sets the value of the '
Value' containment reference |
| Modifier and Type | Class and Description |
|---|---|
class |
XAnnotationImpl
An implementation of the model object 'XAnnotation'
|
| Modifier and Type | Field and Description |
|---|---|
protected XExpression |
XAnnotationImpl.value
The cached value of the '
Value' containment reference |
protected XExpression |
XAnnotationElementValuePairImpl.value
The cached value of the '
Value' containment reference |
| Modifier and Type | Method and Description |
|---|---|
XExpression |
XAnnotationImpl.getValue() |
XExpression |
XAnnotationElementValuePairImpl.getValue() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.notify.NotificationChain |
XAnnotationImpl.basicSetValue(XExpression newValue,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XAnnotationElementValuePairImpl.basicSetValue(XExpression newValue,
org.eclipse.emf.common.notify.NotificationChain msgs) |
void |
XAnnotationImpl.setValue(XExpression newValue) |
void |
XAnnotationElementValuePairImpl.setValue(XExpression newValue) |
| Modifier and Type | Method and Description |
|---|---|
T |
XAnnotationsSwitch.caseXExpression(XExpression object)
Returns the result of interpreting the object as an instance of 'XExpression'
|
| Modifier and Type | Method and Description |
|---|---|
protected XExpression |
FeatureCallCompiler.getActualReceiver(XAbstractFeatureCall expr) |
protected XExpression |
TypeConvertingCompiler.normalizeBlockExpression(XExpression expr) |
| Modifier and Type | Method and Description |
|---|---|
protected List<XExpression> |
XbaseCompiler.getActualArguments(XAbstractFeatureCall featureCall) |
protected List<XExpression> |
FeatureCallCompiler.getActualArguments(XAbstractFeatureCall expr) |
protected List<XExpression> |
TypeConvertingCompiler.normalizeBlockExpression(Collection<XExpression> expr) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractXbaseCompiler._toJavaExpression(XExpression func,
ITreeAppendable b) |
protected void |
XbaseCompiler._toJavaIfStatement(XCasePart casePart,
List<XCasePart> fallThroughCases,
XSwitchExpression expr,
XExpression then,
ITreeAppendable b,
boolean isReferenced,
String switchResultName,
String matchedVariable,
String variableName) |
void |
AbstractXbaseCompiler._toJavaStatement(XExpression func,
ITreeAppendable b,
boolean isReferenced) |
protected void |
FeatureCallCompiler.appendArgument(XExpression argument,
ITreeAppendable b) |
protected void |
FeatureCallCompiler.appendArgument(XExpression argument,
ITreeAppendable b,
boolean doLineWrappingIfSourceWasWrapped) |
protected boolean |
XbaseCompiler.bracesAreAddedByOuterStructure(XExpression expression) |
protected boolean |
AbstractXbaseCompiler.canCompileToJavaExpression(XExpression expression,
ITreeAppendable appendable) |
ITreeAppendable |
JvmModelGenerator.compile(JvmExecutable executable,
XExpression expression,
JvmTypeReference returnType,
ITreeAppendable appendable,
GeneratorConfig config) |
ITreeAppendable |
AbstractXbaseCompiler.compile(XExpression obj,
ITreeAppendable parentAppendable,
JvmTypeReference expectedReturnType,
Set<JvmTypeReference> declaredExceptions) |
ITreeAppendable |
AbstractXbaseCompiler.compile(XExpression obj,
ITreeAppendable appendable,
LightweightTypeReference expectedReturnType) |
ITreeAppendable |
AbstractXbaseCompiler.compile(XExpression obj,
ITreeAppendable parentAppendable,
LightweightTypeReference expectedReturnType,
Set<JvmTypeReference> declaredExceptions) |
ITreeAppendable |
AbstractXbaseCompiler.compileAsJavaExpression(XExpression obj,
ITreeAppendable parentAppendable,
JvmTypeReference expectedType) |
ITreeAppendable |
AbstractXbaseCompiler.compileAsJavaExpression(XExpression obj,
ITreeAppendable parentAppendable,
LightweightTypeReference expectedType) |
protected void |
AbstractXbaseCompiler.declareFreshLocalVariable(XExpression expr,
ITreeAppendable b,
Later expression) |
protected void |
AbstractXbaseCompiler.declareSyntheticVariable(XExpression expr,
ITreeAppendable b) |
protected void |
TypeConvertingCompiler.doConversion(LightweightTypeReference left,
LightweightTypeReference right,
ITreeAppendable appendable,
XExpression context,
Later expression) |
protected void |
XbaseCompiler.doInternalToJavaStatement(XExpression obj,
ITreeAppendable appendable,
boolean isReferenced) |
protected void |
LiteralsCompiler.doInternalToJavaStatement(XExpression obj,
ITreeAppendable appendable,
boolean isReferenced) |
protected void |
FeatureCallCompiler.doInternalToJavaStatement(XExpression obj,
ITreeAppendable appendable,
boolean isReferenced) |
protected void |
AbstractXbaseCompiler.doInternalToJavaStatement(XExpression obj,
ITreeAppendable builder,
boolean isReferenced) |
protected void |
XbaseCompiler.executeThenPart(XSwitchExpression expr,
String switchResultName,
XExpression then,
ITreeAppendable b,
boolean isReferenced) |
protected void |
LiteralsCompiler.generateComment(XExpression expr,
ITreeAppendable b,
boolean isReferenced) |
protected String |
AbstractXbaseCompiler.getDefaultValueLiteral(XExpression expr) |
protected JvmTypeReference |
AbstractXbaseCompiler.getExpectedType(XExpression expr) |
protected XAbstractFeatureCall |
FeatureCallCompiler.getFeatureCall(XExpression argument) |
protected LightweightTypeReference |
AbstractXbaseCompiler.getLightweightExpectedType(XExpression expr) |
protected LightweightTypeReference |
AbstractXbaseCompiler.getLightweightReturnType(XExpression expr) |
protected LightweightTypeReference |
AbstractXbaseCompiler.getLightweightType(XExpression expr) |
protected String |
XbaseCompiler.getReferenceName(XExpression expr,
ITreeAppendable b) |
protected String |
AbstractXbaseCompiler.getReferenceName(XExpression expr,
ITreeAppendable b) |
protected JvmTypeReference |
AbstractXbaseCompiler.getType(XExpression expr) |
protected LightweightTypeReference |
AbstractXbaseCompiler.getTypeForVariableDeclaration(XExpression expr) |
protected boolean |
AbstractXbaseCompiler.hasJvmConstructorCall(XExpression obj) |
protected boolean |
XbaseCompiler.internalCanCompileToJavaExpression(XExpression expression,
ITreeAppendable appendable) |
protected boolean |
FeatureCallCompiler.internalCanCompileToJavaExpression(XExpression expression,
ITreeAppendable appendable) |
protected boolean |
AbstractXbaseCompiler.internalCanCompileToJavaExpression(XExpression expression,
ITreeAppendable appendable) |
protected void |
XbaseCompiler.internalToConvertedExpression(XExpression obj,
ITreeAppendable appendable) |
protected void |
TypeConvertingCompiler.internalToConvertedExpression(XExpression obj,
ITreeAppendable appendable) |
protected void |
LiteralsCompiler.internalToConvertedExpression(XExpression obj,
ITreeAppendable appendable) |
protected void |
FeatureCallCompiler.internalToConvertedExpression(XExpression obj,
ITreeAppendable appendable) |
protected void |
TypeConvertingCompiler.internalToConvertedExpression(XExpression obj,
ITreeAppendable appendable,
LightweightTypeReference toBeConvertedTo) |
protected abstract void |
AbstractXbaseCompiler.internalToConvertedExpression(XExpression obj,
ITreeAppendable appendable,
LightweightTypeReference toBeConvertedTo) |
protected void |
TypeConvertingCompiler.internalToJavaExpression(XExpression obj,
ITreeAppendable appendable) |
protected void |
AbstractXbaseCompiler.internalToJavaExpression(XExpression obj,
ITreeAppendable appendable) |
protected void |
AbstractXbaseCompiler.internalToJavaStatement(XExpression obj,
ITreeAppendable builder,
boolean isReferenced) |
protected boolean |
FeatureCallCompiler.isDeclaredInNewLine(XExpression obj) |
protected boolean |
AbstractXbaseCompiler.isEarlyExit(XExpression expr) |
protected boolean |
FeatureCallCompiler.isPreparationRequired(XExpression arg,
ITreeAppendable b) |
protected boolean |
AbstractXbaseCompiler.isPrimitiveVoid(XExpression xExpression) |
protected boolean |
XbaseCompiler.isSimpleFeatureCall(XExpression switch1) |
protected boolean |
XbaseCompiler.isType(XExpression element,
Class<?> clazz) |
protected boolean |
FeatureCallCompiler.isVariableDeclarationRequired(XAbstractFeatureCall featureCall,
XExpression expression,
ITreeAppendable b) |
protected boolean |
XbaseCompiler.isVariableDeclarationRequired(XExpression expr,
ITreeAppendable b) |
protected boolean |
LiteralsCompiler.isVariableDeclarationRequired(XExpression expr,
ITreeAppendable b) |
protected boolean |
FeatureCallCompiler.isVariableDeclarationRequired(XExpression expr,
ITreeAppendable b) |
protected boolean |
AbstractXbaseCompiler.isVariableDeclarationRequired(XExpression expr,
ITreeAppendable b)
whether an expression needs to be declared in a statement
If an expression has side effects this method must return true for it.
|
protected boolean |
AbstractXbaseCompiler.needsSneakyThrow(XExpression obj,
Collection<JvmTypeReference> declaredExceptions) |
protected XExpression |
TypeConvertingCompiler.normalizeBlockExpression(XExpression expr) |
protected boolean |
FeatureCallCompiler.nullSafeMemberFeatureCallExpressionNeedsPreparation(XExpression argument,
ITreeAppendable b) |
protected void |
FeatureCallCompiler.prepareExpression(XExpression arg,
ITreeAppendable b) |
protected LightweightTypeReference |
XbaseCompiler.resolveType(XExpression element,
Class<?> clazz) |
void |
AbstractXbaseCompiler.toJavaExpression(XExpression obj,
ITreeAppendable appendable) |
void |
AbstractXbaseCompiler.toJavaStatement(XExpression obj,
ITreeAppendable appendable,
boolean isReferenced) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
FeatureCallCompiler.appendArguments(List<? extends XExpression> arguments,
ITreeAppendable b) |
protected void |
FeatureCallCompiler.appendArguments(List<? extends XExpression> arguments,
ITreeAppendable b,
boolean shouldWrapLine) |
protected List<XExpression> |
TypeConvertingCompiler.normalizeBlockExpression(Collection<XExpression> expr) |
| Modifier and Type | Field and Description |
|---|---|
protected XExpression |
IEarlyExitComputer.ExitPoint.expression |
| Modifier and Type | Method and Description |
|---|---|
XExpression |
ConstantConditionsInterpreter.getAssociatedExpression(JvmField field) |
XExpression |
IEarlyExitComputer.ExitPoint.getExpression() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<IEarlyExitComputer.ExitPoint> |
DefaultEarlyExitComputer._exitPoints(XExpression expression) |
protected org.eclipse.xtext.xbase.controlflow.EvaluationResult |
ConstantConditionsInterpreter._internalEvaluate(XExpression expression,
EvaluationContext context) |
protected org.eclipse.xtext.xbase.controlflow.EvaluationResult |
ConstantConditionsInterpreter.doEvaluate(XExpression expression,
EvaluationContext context) |
void |
EvaluationContext.done(XExpression expression) |
IConstantEvaluationResult<Object> |
ConstantConditionsInterpreter.evaluate(XExpression expression,
EvaluationContext context) |
org.eclipse.xtext.xbase.controlflow.EvaluationResult |
ConstantConditionsInterpreter.evaluateAssociatedExpression(XExpression it,
EvaluationContext context) |
protected Collection<IEarlyExitComputer.ExitPoint> |
DefaultEarlyExitComputer.exitPoints(XExpression expression) |
BooleanResult |
ConstantConditionsInterpreter.getBooleanConstantOrNull(XExpression it) |
Collection<IEarlyExitComputer.ExitPoint> |
IEarlyExitComputer.getExitPoints(XExpression expression) |
Collection<IEarlyExitComputer.ExitPoint> |
DefaultEarlyExitComputer.getExitPoints(XExpression expression) |
org.eclipse.xtext.xbase.controlflow.EvaluationResult |
ConstantConditionsInterpreter.internalEvaluate(XExpression it,
EvaluationContext context) |
protected boolean |
DefaultEarlyExitComputer.isBooleanConstant(XExpression expression,
boolean value) |
boolean |
EarlyExitInterpreter.isConstant(XExpression it,
Object value) |
boolean |
IEarlyExitComputer.isEarlyExit(XExpression expression)
An expression is considered to be left early if all branches end with an explicit
termination, e.g. a return or throw expression.
|
boolean |
DefaultEarlyExitComputer.isEarlyExit(XExpression expression) |
boolean |
EvaluationContext.tryNext(XExpression expression) |
| Constructor and Description |
|---|
IEarlyExitComputer.ExitPoint(XExpression expression,
boolean exceptionalExit) |
| Modifier and Type | Method and Description |
|---|---|
protected Iterable<XExpression> |
XbaseFormatter2.explicitParams(List<XExpression> params)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
XbaseFormatter2._format(XExpression expr,
FormattableDocument format)
Deprecated.
|
protected boolean |
XbaseFormatter2.isMultiline(XExpression expression,
FormattableDocument doc)
Deprecated.
|
protected boolean |
XbaseFormatter2.isMultiParamInOwnLine(XExpression fc,
FormattableDocument doc)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected XClosure |
XbaseFormatter2.builder(List<XExpression> params)
Deprecated.
|
protected Iterable<XExpression> |
XbaseFormatter2.explicitParams(List<XExpression> params)
Deprecated.
|
protected void |
XbaseFormatter2.formatClosureMultiLine(XClosure expr,
INode open,
Collection<XExpression> children,
INode close,
FormattableDocument format)
Deprecated.
|
protected void |
XbaseFormatter2.formatClosureWrapIfNeeded(XClosure expr,
INode open,
Collection<XExpression> children,
INode close,
FormattableDocument format)
Deprecated.
|
protected void |
XbaseFormatter2.formatFeatureCallParamsMultiline(INode open,
List<XExpression> params,
FormattableDocument format)
Deprecated.
|
protected void |
XbaseFormatter2.formatFeatureCallParamsWrapIfNeeded(INode open,
List<XExpression> params,
FormattableDocument format)
Deprecated.
|
protected boolean |
XbaseFormatter2.isEachExpressionInOwnLine(Iterable<? extends XExpression> expressions)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected Iterable<XExpression> |
XbaseFormatter.explicitParams(List<XExpression> params) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
XbaseFormatter._format(XExpression expr,
IFormattableDocument format) |
protected void |
XbaseFormatter.formatBody(XExpression expr,
boolean forceMultiline,
IFormattableDocument doc) |
protected void |
XbaseFormatter.formatBodyInline(XExpression expr,
boolean forceMultiline,
IFormattableDocument doc) |
protected void |
XbaseFormatter.formatBodyParagraph(XExpression expr,
IFormattableDocument doc) |
| Modifier and Type | Method and Description |
|---|---|
protected XClosure |
XbaseFormatter.builder(List<XExpression> params) |
protected Iterable<XExpression> |
XbaseFormatter.explicitParams(List<XExpression> params) |
protected void |
XbaseFormatter.formatExpressionsMultiline(Collection<? extends XExpression> expressions,
ISemanticRegion open,
ISemanticRegion close,
IFormattableDocument format) |
protected void |
XbaseFormatter.formatExpressionsSingleline(Collection<? extends XExpression> expressions,
ISemanticRegion open,
ISemanticRegion close,
IFormattableDocument format) |
protected void |
XbaseFormatter.formatFeatureCallParams(List<XExpression> params,
ISemanticRegion open,
ISemanticRegion close,
IFormattableDocument format) |
| Modifier and Type | Class and Description |
|---|---|
class |
XAbstractFeatureCallImpl
An implementation of the model object 'XAbstract Feature Call'
|
class |
XAbstractFeatureCallImplCustom |
class |
XAbstractWhileExpressionImpl
An implementation of the model object 'XAbstract While Expression'
|
class |
XAssignmentImpl
An implementation of the model object 'XAssignment'
|
class |
XAssignmentImplCustom |
class |
XBasicForLoopExpressionImpl
An implementation of the model object 'XBasic For Loop Expression'
|
class |
XBinaryOperationImpl
An implementation of the model object 'XBinary Operation'
|
class |
XBinaryOperationImplCustom |
class |
XBlockExpressionImpl
An implementation of the model object 'XBlock Expression'
|
class |
XBlockExpressionImplCustom |
class |
XBooleanLiteralImpl
An implementation of the model object 'XBoolean Literal'
|
class |
XCastedExpressionImpl
An implementation of the model object 'XCasted Expression'
|
class |
XClosureImpl
An implementation of the model object 'XClosure'
|
class |
XClosureImplCustom |
class |
XCollectionLiteralImpl
An implementation of the model object 'XCollection Literal'
|
class |
XConstructorCallImpl
An implementation of the model object 'XConstructor Call'
|
class |
XConstructorCallImplCustom |
class |
XDoWhileExpressionImpl
An implementation of the model object 'XDo While Expression'
|
class |
XExpressionImpl
An implementation of the model object 'XExpression'
|
class |
XFeatureCallImpl
An implementation of the model object 'XFeature Call'
|
class |
XFeatureCallImplCustom |
class |
XForLoopExpressionImpl
An implementation of the model object 'XFor Loop Expression'
|
class |
XIfExpressionImpl
An implementation of the model object 'XIf Expression'
|
class |
XInstanceOfExpressionImpl
An implementation of the model object 'XInstance Of Expression'
|
class |
XListLiteralImpl
An implementation of the model object 'XList Literal'
|
class |
XMemberFeatureCallImpl
An implementation of the model object 'XMember Feature Call'
|
class |
XMemberFeatureCallImplCustom |
class |
XNullLiteralImpl
An implementation of the model object 'XNull Literal'
|
class |
XNullLiteralImplCustom |
class |
XNumberLiteralImpl
An implementation of the model object 'XNumber Literal'
|
class |
XPostfixOperationImpl
An implementation of the model object 'XPostfix Operation'
|
class |
XPostfixOperationImplCustom |
class |
XReturnExpressionImpl
An implementation of the model object 'XReturn Expression'
|
class |
XReturnExpressionImplCustom |
class |
XSetLiteralImpl
An implementation of the model object 'XSet Literal'
|
class |
XStringLiteralImpl
An implementation of the model object 'XString Literal'
|
class |
XSwitchExpressionImpl
An implementation of the model object 'XSwitch Expression'
|
class |
XSynchronizedExpressionImpl
An implementation of the model object 'XSynchronized Expression'
|
class |
XThrowExpressionImpl
An implementation of the model object 'XThrow Expression'
|
class |
XTryCatchFinallyExpressionImpl
An implementation of the model object 'XTry Catch Finally Expression'
|
class |
XTypeLiteralImpl
An implementation of the model object 'XType Literal'
|
class |
XTypeLiteralImplCustom |
class |
XUnaryOperationImpl
An implementation of the model object 'XUnary Operation'
|
class |
XUnaryOperationImplCustom |
class |
XVariableDeclarationImpl
An implementation of the model object 'XVariable Declaration'
|
class |
XVariableDeclarationImplCustom |
class |
XWhileExpressionImpl
An implementation of the model object 'XWhile Expression'
|
| Modifier and Type | Field and Description |
|---|---|
protected XExpression |
XAssignmentImpl.assignable
The cached value of the '
Assignable' containment reference |
protected XExpression |
XAbstractWhileExpressionImpl.body
The cached value of the '
Body' containment reference |
protected XExpression |
XCasePartImpl.case_
The cached value of the '
Case' containment reference |
protected XExpression |
XSwitchExpressionImpl.default_
The cached value of the '
Default' containment reference |
protected XExpression |
XForLoopExpressionImpl.eachExpression
The cached value of the '
Each Expression' containment reference |
protected XExpression |
XBasicForLoopExpressionImpl.eachExpression
The cached value of the '
Each Expression' containment reference |
protected XExpression |
XIfExpressionImpl.else_
The cached value of the '
Else' containment reference |
protected XExpression |
XTryCatchFinallyExpressionImpl.expression
The cached value of the '
Expression' containment reference |
protected XExpression |
XThrowExpressionImpl.expression
The cached value of the '
Expression' containment reference |
protected XExpression |
XSynchronizedExpressionImpl.expression
The cached value of the '
Expression' containment reference |
protected XExpression |
XReturnExpressionImpl.expression
The cached value of the '
Expression' containment reference |
protected XExpression |
XInstanceOfExpressionImpl.expression
The cached value of the '
Expression' containment reference |
protected XExpression |
XClosureImpl.expression
The cached value of the '
Expression' containment reference |
protected XExpression |
XCatchClauseImpl.expression
The cached value of the '
Expression' containment reference |
protected XExpression |
XBasicForLoopExpressionImpl.expression
The cached value of the '
Expression' containment reference |
protected XExpression |
XTryCatchFinallyExpressionImpl.finallyExpression
The cached value of the '
Finally Expression' containment reference |
protected XExpression |
XForLoopExpressionImpl.forExpression
The cached value of the '
For Expression' containment reference |
protected XExpression |
XIfExpressionImpl.if_
The cached value of the '
If' containment reference |
protected XExpression |
XAbstractFeatureCallImpl.implicitFirstArgument
The cached value of the '
Implicit First Argument' containment reference |
protected XExpression |
XAbstractFeatureCallImpl.implicitReceiver
The cached value of the '
Implicit Receiver' containment reference |
protected XExpression |
XBinaryOperationImpl.leftOperand
The cached value of the '
Left Operand' containment reference |
protected XExpression |
XMemberFeatureCallImpl.memberCallTarget
The cached value of the '
Member Call Target' containment reference |
protected XExpression |
XUnaryOperationImpl.operand
The cached value of the '
Operand' containment reference |
protected XExpression |
XPostfixOperationImpl.operand
The cached value of the '
Operand' containment reference |
protected XExpression |
XSynchronizedExpressionImpl.param
The cached value of the '
Param' containment reference |
protected XExpression |
XAbstractWhileExpressionImpl.predicate
The cached value of the '
Predicate' containment reference |
protected XExpression |
XVariableDeclarationImpl.right
The cached value of the '
Right' containment reference |
protected XExpression |
XBinaryOperationImpl.rightOperand
The cached value of the '
Right Operand' containment reference |
protected XExpression |
XSwitchExpressionImpl.switch_
The cached value of the '
Switch' containment reference |
protected XExpression |
XCastedExpressionImpl.target
The cached value of the '
Target' containment reference |
protected XExpression |
XIfExpressionImpl.then
The cached value of the '
Then' containment reference |
protected XExpression |
XCasePartImpl.then
The cached value of the '
Then' containment reference |
protected XExpression |
XAssignmentImpl.value
The cached value of the '
Value' containment reference |
| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.emf.common.util.EList<XExpression> |
XConstructorCallImpl.arguments
The cached value of the '
Arguments' containment reference list |
protected org.eclipse.emf.common.util.EList<XExpression> |
XCollectionLiteralImpl.elements
The cached value of the '
Elements' containment reference list |
protected org.eclipse.emf.common.util.EList<XExpression> |
XBlockExpressionImpl.expressions
The cached value of the '
Expressions' containment reference list |
protected org.eclipse.emf.common.util.EList<XExpression> |
XFeatureCallImpl.featureCallArguments
The cached value of the '
Feature Call Arguments' containment reference list |
protected org.eclipse.emf.common.util.EList<XExpression> |
XBasicForLoopExpressionImpl.initExpressions
The cached value of the '
Init Expressions' containment reference list |
protected org.eclipse.emf.common.util.EList<XExpression> |
XMemberFeatureCallImpl.memberCallArguments
The cached value of the '
Member Call Arguments' containment reference list |
protected org.eclipse.emf.common.util.EList<XExpression> |
XBasicForLoopExpressionImpl.updateExpressions
The cached value of the '
Update Expressions' containment reference list |
| Modifier and Type | Method and Description |
|---|---|
XExpression |
XUnaryOperationImplCustom.getActualReceiver() |
XExpression |
XPostfixOperationImplCustom.getActualReceiver() |
XExpression |
XMemberFeatureCallImplCustom.getActualReceiver() |
XExpression |
XFeatureCallImplCustom.getActualReceiver() |
XExpression |
XBinaryOperationImplCustom.getActualReceiver() |
XExpression |
XAssignmentImplCustom.getActualReceiver() |
XExpression |
XAbstractFeatureCallImpl.getActualReceiver() |
protected XExpression |
XAbstractFeatureCallImplCustom.getActualReceiver(XExpression syntacticReceiver) |
XExpression |
XAssignmentImpl.getAssignable() |
XExpression |
XAbstractWhileExpressionImpl.getBody() |
XExpression |
XCasePartImpl.getCase() |
XExpression |
XSwitchExpressionImpl.getDefault() |
XExpression |
XForLoopExpressionImpl.getEachExpression() |
XExpression |
XBasicForLoopExpressionImpl.getEachExpression() |
XExpression |
XIfExpressionImpl.getElse() |
XExpression |
XTryCatchFinallyExpressionImpl.getExpression() |
XExpression |
XThrowExpressionImpl.getExpression() |
XExpression |
XSynchronizedExpressionImpl.getExpression() |
XExpression |
XReturnExpressionImpl.getExpression() |
XExpression |
XInstanceOfExpressionImpl.getExpression() |
XExpression |
XClosureImpl.getExpression() |
XExpression |
XCatchClauseImpl.getExpression() |
XExpression |
XBasicForLoopExpressionImpl.getExpression() |
XExpression |
XTryCatchFinallyExpressionImpl.getFinallyExpression() |
XExpression |
XForLoopExpressionImpl.getForExpression() |
XExpression |
XIfExpressionImpl.getIf() |
XExpression |
XAbstractFeatureCallImplCustom.getImplicitFirstArgument() |
XExpression |
XAbstractFeatureCallImpl.getImplicitFirstArgument() |
XExpression |
XAbstractFeatureCallImplCustom.getImplicitReceiver() |
XExpression |
XAbstractFeatureCallImpl.getImplicitReceiver() |
XExpression |
XBinaryOperationImpl.getLeftOperand() |
XExpression |
XMemberFeatureCallImpl.getMemberCallTarget() |
XExpression |
XUnaryOperationImpl.getOperand() |
XExpression |
XPostfixOperationImpl.getOperand() |
XExpression |
XSynchronizedExpressionImpl.getParam() |
XExpression |
XAbstractWhileExpressionImpl.getPredicate() |
XExpression |
XVariableDeclarationImpl.getRight() |
XExpression |
XBinaryOperationImpl.getRightOperand() |
XExpression |
XSwitchExpressionImpl.getSwitch() |
XExpression |
XCastedExpressionImpl.getTarget() |
XExpression |
XIfExpressionImpl.getThen() |
XExpression |
XCasePartImpl.getThen() |
XExpression |
XAssignmentImpl.getValue() |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.emf.common.util.EList<XExpression> |
XAbstractFeatureCallImplCustom.createArgumentList(XExpression head,
List<XExpression> tail) |
org.eclipse.emf.common.util.EList<XExpression> |
XUnaryOperationImplCustom.getActualArguments() |
org.eclipse.emf.common.util.EList<XExpression> |
XPostfixOperationImplCustom.getActualArguments() |
org.eclipse.emf.common.util.EList<XExpression> |
XMemberFeatureCallImplCustom.getActualArguments() |
org.eclipse.emf.common.util.EList<XExpression> |
XFeatureCallImplCustom.getActualArguments() |
org.eclipse.emf.common.util.EList<XExpression> |
XBinaryOperationImplCustom.getActualArguments() |
org.eclipse.emf.common.util.EList<XExpression> |
XAssignmentImplCustom.getActualArguments() |
org.eclipse.emf.common.util.EList<XExpression> |
XAbstractFeatureCallImpl.getActualArguments() |
protected org.eclipse.emf.common.util.EList<XExpression> |
XAbstractFeatureCallImplCustom.getActualArguments(XExpression syntacticReceiver,
org.eclipse.emf.common.util.EList<XExpression> syntacticArguments) |
protected org.eclipse.emf.common.util.EList<XExpression> |
XAbstractFeatureCallImplCustom.getActualArguments(XExpression syntacticReceiver,
XExpression syntacticArgument) |
org.eclipse.emf.common.util.EList<XExpression> |
XConstructorCallImpl.getArguments() |
org.eclipse.emf.common.util.EList<XExpression> |
XCollectionLiteralImpl.getElements() |
org.eclipse.emf.common.util.EList<XExpression> |
XUnaryOperationImplCustom.getExplicitArguments() |
org.eclipse.emf.common.util.EList<XExpression> |
XPostfixOperationImplCustom.getExplicitArguments() |
org.eclipse.emf.common.util.EList<XExpression> |
XMemberFeatureCallImplCustom.getExplicitArguments() |
org.eclipse.emf.common.util.EList<XExpression> |
XFeatureCallImplCustom.getExplicitArguments() |
org.eclipse.emf.common.util.EList<XExpression> |
XBinaryOperationImplCustom.getExplicitArguments() |
org.eclipse.emf.common.util.EList<XExpression> |
XAssignmentImplCustom.getExplicitArguments()
Deprecated.
|
org.eclipse.emf.common.util.EList<XExpression> |
XAbstractFeatureCallImpl.getExplicitArguments() |
org.eclipse.emf.common.util.EList<XExpression> |
XBlockExpressionImpl.getExpressions() |
org.eclipse.emf.common.util.EList<XExpression> |
XFeatureCallImpl.getFeatureCallArguments() |
org.eclipse.emf.common.util.EList<XExpression> |
XBasicForLoopExpressionImpl.getInitExpressions() |
org.eclipse.emf.common.util.EList<XExpression> |
XMemberFeatureCallImpl.getMemberCallArguments() |
org.eclipse.emf.common.util.EList<XExpression> |
XBasicForLoopExpressionImpl.getUpdateExpressions() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.notify.NotificationChain |
XAssignmentImpl.basicSetAssignable(XExpression newAssignable,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XAbstractWhileExpressionImpl.basicSetBody(XExpression newBody,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XCasePartImpl.basicSetCase(XExpression newCase,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XSwitchExpressionImpl.basicSetDefault(XExpression newDefault,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XForLoopExpressionImpl.basicSetEachExpression(XExpression newEachExpression,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XBasicForLoopExpressionImpl.basicSetEachExpression(XExpression newEachExpression,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XIfExpressionImpl.basicSetElse(XExpression newElse,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XTryCatchFinallyExpressionImpl.basicSetExpression(XExpression newExpression,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XThrowExpressionImpl.basicSetExpression(XExpression newExpression,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XSynchronizedExpressionImpl.basicSetExpression(XExpression newExpression,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XReturnExpressionImpl.basicSetExpression(XExpression newExpression,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XInstanceOfExpressionImpl.basicSetExpression(XExpression newExpression,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XClosureImpl.basicSetExpression(XExpression newExpression,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XCatchClauseImpl.basicSetExpression(XExpression newExpression,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XBasicForLoopExpressionImpl.basicSetExpression(XExpression newExpression,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XTryCatchFinallyExpressionImpl.basicSetFinallyExpression(XExpression newFinallyExpression,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XForLoopExpressionImpl.basicSetForExpression(XExpression newForExpression,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XIfExpressionImpl.basicSetIf(XExpression newIf,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XAbstractFeatureCallImpl.basicSetImplicitFirstArgument(XExpression newImplicitFirstArgument,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XAbstractFeatureCallImpl.basicSetImplicitReceiver(XExpression newImplicitReceiver,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XBinaryOperationImpl.basicSetLeftOperand(XExpression newLeftOperand,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XMemberFeatureCallImpl.basicSetMemberCallTarget(XExpression newMemberCallTarget,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XUnaryOperationImpl.basicSetOperand(XExpression newOperand,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XPostfixOperationImpl.basicSetOperand(XExpression newOperand,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XSynchronizedExpressionImpl.basicSetParam(XExpression newParam,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XAbstractWhileExpressionImpl.basicSetPredicate(XExpression newPredicate,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XVariableDeclarationImpl.basicSetRight(XExpression newRight,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XBinaryOperationImpl.basicSetRightOperand(XExpression newRightOperand,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XSwitchExpressionImpl.basicSetSwitch(XExpression newSwitch,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XCastedExpressionImpl.basicSetTarget(XExpression newTarget,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XIfExpressionImpl.basicSetThen(XExpression newThen,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XCasePartImpl.basicSetThen(XExpression newThen,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
XAssignmentImpl.basicSetValue(XExpression newValue,
org.eclipse.emf.common.notify.NotificationChain msgs) |
protected org.eclipse.emf.common.util.EList<XExpression> |
XAbstractFeatureCallImplCustom.createArgumentList(XExpression head,
List<XExpression> tail) |
protected org.eclipse.emf.common.util.EList<XExpression> |
XAbstractFeatureCallImplCustom.getActualArguments(XExpression syntacticReceiver,
org.eclipse.emf.common.util.EList<XExpression> syntacticArguments) |
protected org.eclipse.emf.common.util.EList<XExpression> |
XAbstractFeatureCallImplCustom.getActualArguments(XExpression syntacticReceiver,
XExpression syntacticArgument) |
protected XExpression |
XAbstractFeatureCallImplCustom.getActualReceiver(XExpression syntacticReceiver) |
protected String |
XAbstractFeatureCallImplCustom.getExpressionAsString(XExpression x) |
protected boolean |
XAbstractFeatureCallImplCustom.isExtension(XExpression syntacticReceiver) |
void |
XAssignmentImpl.setAssignable(XExpression newAssignable) |
void |
XAbstractWhileExpressionImpl.setBody(XExpression newBody) |
void |
XCasePartImpl.setCase(XExpression newCase) |
void |
XSwitchExpressionImpl.setDefault(XExpression newDefault) |
void |
XForLoopExpressionImpl.setEachExpression(XExpression newEachExpression) |
void |
XBasicForLoopExpressionImpl.setEachExpression(XExpression newEachExpression) |
void |
XIfExpressionImpl.setElse(XExpression newElse) |
void |
XTryCatchFinallyExpressionImpl.setExpression(XExpression newExpression) |
void |
XThrowExpressionImpl.setExpression(XExpression newExpression) |
void |
XSynchronizedExpressionImpl.setExpression(XExpression newExpression) |
void |
XReturnExpressionImpl.setExpression(XExpression newExpression) |
void |
XInstanceOfExpressionImpl.setExpression(XExpression newExpression) |
void |
XClosureImpl.setExpression(XExpression newExpression) |
void |
XCatchClauseImpl.setExpression(XExpression newExpression) |
void |
XBasicForLoopExpressionImpl.setExpression(XExpression newExpression) |
void |
XTryCatchFinallyExpressionImpl.setFinallyExpression(XExpression newFinallyExpression) |
void |
XForLoopExpressionImpl.setForExpression(XExpression newForExpression) |
void |
XIfExpressionImpl.setIf(XExpression newIf) |
void |
XAbstractFeatureCallImpl.setImplicitFirstArgument(XExpression newImplicitFirstArgument) |
void |
XAbstractFeatureCallImpl.setImplicitReceiver(XExpression newImplicitReceiver) |
void |
XBinaryOperationImpl.setLeftOperand(XExpression newLeftOperand) |
void |
XMemberFeatureCallImpl.setMemberCallTarget(XExpression newMemberCallTarget) |
void |
XUnaryOperationImpl.setOperand(XExpression newOperand) |
void |
XPostfixOperationImpl.setOperand(XExpression newOperand) |
void |
XSynchronizedExpressionImpl.setParam(XExpression newParam) |
void |
XAbstractWhileExpressionImpl.setPredicate(XExpression newPredicate) |
void |
XVariableDeclarationImpl.setRight(XExpression newRight) |
void |
XBinaryOperationImpl.setRightOperand(XExpression newRightOperand) |
void |
XSwitchExpressionImpl.setSwitch(XExpression newSwitch) |
void |
XCastedExpressionImpl.setTarget(XExpression newTarget) |
void |
XIfExpressionImpl.setThen(XExpression newThen) |
void |
XCasePartImpl.setThen(XExpression newThen) |
void |
XAssignmentImpl.setValue(XExpression newValue) |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.emf.common.util.EList<XExpression> |
XAbstractFeatureCallImplCustom.createArgumentList(XExpression head,
List<XExpression> tail) |
protected org.eclipse.emf.common.util.EList<XExpression> |
XAbstractFeatureCallImplCustom.getActualArguments(XExpression syntacticReceiver,
org.eclipse.emf.common.util.EList<XExpression> syntacticArguments) |
protected String |
XAbstractFeatureCallImplCustom.getExpressionsAsString(List<XExpression> expressions,
boolean explicitOperationCall) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TypeUsageCollector.collectStaticImportsFrom(XExpression expression,
JvmIdentifiableElement feature) |
| Modifier and Type | Method and Description |
|---|---|
XExpression |
ConstantExpressionEvaluationException.getExpression() |
| Modifier and Type | Method and Description |
|---|---|
Set<XExpression> |
Context.getAlreadyEvaluating() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
AbstractConstantExpressionsInterpreter._internalEvaluate(XExpression expression,
Context ctx) |
Object |
SwitchConstantExpressionsInterpreter.evaluate(XExpression it) |
IEvaluationResult |
IExpressionInterpreter.evaluate(XExpression expression) |
protected Object |
AbstractConstantExpressionsInterpreter.evaluate(XExpression expression,
Context ctx) |
IEvaluationResult |
IExpressionInterpreter.evaluate(XExpression expression,
IEvaluationContext context,
CancelIndicator cancelIndicator) |
Object |
SwitchConstantExpressionsInterpreter.evaluateAssociatedExpression(XExpression it,
Context ctx) |
Object |
SwitchConstantExpressionsInterpreter.internalEvaluate(XExpression it,
Context ctx) |
Object |
AbstractConstantExpressionsInterpreter.internalEvaluate(XExpression it,
Context ctx) |
ConstantExpressionEvaluationException |
AbstractConstantExpressionsInterpreter.notConstantExpression(XExpression expression) |
protected String |
AbstractConstantExpressionsInterpreter.toText(XExpression expression) |
| Constructor and Description |
|---|
ConstantExpressionEvaluationException(String message,
XExpression expression) |
StackedConstantExpressionEvaluationException(XExpression expression,
JvmField field,
ConstantExpressionEvaluationException cause) |
UnresolvableFeatureException(String message,
XExpression expression) |
| Constructor and Description |
|---|
Context(JvmTypeReference expectedType,
ClassFinder classFinder,
Map<String,JvmIdentifiableElement> visibleFeatures,
Set<XExpression> alreadyEvaluating) |
| Modifier and Type | Method and Description |
|---|---|
protected XExpression |
XbaseInterpreter.getActualReceiver(XAbstractFeatureCall featureCall) |
| Modifier and Type | Method and Description |
|---|---|
protected List<XExpression> |
XbaseInterpreter.getActualArguments(XAbstractFeatureCall featureCall) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
XbaseInterpreter.doEvaluate(XExpression expression,
IEvaluationContext context,
CancelIndicator indicator)
don't call this directly.
|
IEvaluationResult |
XbaseInterpreter.evaluate(XExpression expression) |
IEvaluationResult |
XbaseInterpreter.evaluate(XExpression expression,
IEvaluationContext context,
CancelIndicator indicator) |
protected Object |
XbaseInterpreter.internalEvaluate(XExpression expression,
IEvaluationContext context,
CancelIndicator indicator) |
protected boolean |
XbaseInterpreter.isType(XExpression element,
Class<?> clazz) |
protected LightweightTypeReference |
XbaseInterpreter.resolveType(XExpression element,
Class<?> clazz) |
protected Object |
XbaseInterpreter.throwClassCastException(XExpression expression,
Object result,
Class<?> expectedType) |
protected Object |
XbaseInterpreter.throwNullPointerException(XExpression expression,
String message) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Object> |
XbaseInterpreter.evaluateArgumentExpressions(JvmExecutable executable,
List<XExpression> expressions,
IEvaluationContext context,
CancelIndicator indicator) |
| Modifier and Type | Method and Description |
|---|---|
XExpression |
JvmModelAssociator.getAssociatedExpression(JvmIdentifiableElement element) |
XExpression |
ILogicalContainerProvider.getAssociatedExpression(JvmIdentifiableElement element) |
XExpression |
JvmTypesBuilder.getExpression(JvmMember member)
Looks up and returns a logically contained expression.
|
XExpression |
JvmTypesBuilder.getInitializer(JvmMember member)
Deprecated.
use
JvmTypesBuilder.getExpression(JvmMember) instead |
| Modifier and Type | Method and Description |
|---|---|
void |
JvmModelAssociator.associateLogicalContainer(XExpression logicalChild,
JvmIdentifiableElement element) |
void |
IJvmModelAssociator.associateLogicalContainer(XExpression expression,
JvmIdentifiableElement logicalContainer)
Sets the given
JvmIdentifiableElement as the logical container of the given XExpression. |
JvmIdentifiableElement |
JvmModelAssociator.getLogicalContainer(XExpression context) |
JvmIdentifiableElement |
ILogicalContainerProvider.getLogicalContainer(XExpression expr) |
JvmTypeReference |
JvmTypesBuilder.inferredType(XExpression expression)
Produces an inferred type which will be resolved on demand.
|
void |
JvmTypesBuilder.setBody(JvmExecutable logicalContainer,
XExpression expr)
Sets the given
JvmExecutable as the logical container for the given XExpression. |
void |
JvmTypesBuilder.setInitializer(JvmField field,
XExpression expr)
Sets the given
JvmField as the logical container for the given XExpression. |
JvmAnnotationValue |
JvmTypesBuilder.toJvmAnnotationValue(XExpression value)
Removes the given expression from its current logical container and creates a
fresh detached
JvmAnnotationValue, that needs to be put into some JvmAnnotationReference |
| Modifier and Type | Method and Description |
|---|---|
XExpression |
StaticExtensionFeatureDescriptionWithImplicitFirstArgument.getImplicitFirstArgument() |
XExpression |
SimpleIdentifiableElementDescription.getImplicitFirstArgument() |
XExpression |
InstanceExtensionDescriptionWithImplicitFirstArgument.getImplicitFirstArgument() |
XExpression |
IIdentifiableElementDescription.getImplicitFirstArgument() |
XExpression |
BucketedEObjectDescription.getImplicitFirstArgument() |
XExpression |
StaticFeatureDescriptionWithImplicitReceiver.getImplicitReceiver() |
XExpression |
SimpleIdentifiableElementDescription.getImplicitReceiver() |
XExpression |
InstanceFeatureDescriptionWithImplicitReceiver.getImplicitReceiver() |
XExpression |
InstanceExtensionDescription.getImplicitReceiver() |
XExpression |
IIdentifiableElementDescription.getImplicitReceiver() |
XExpression |
BucketedEObjectDescription.getImplicitReceiver()
Returns the actual receiver of this (potential) feature call.
|
protected XExpression |
StaticFeatureScope.getReceiver() |
protected XExpression |
FeatureScopes.getSyntacticalReceiver(XAbstractFeatureCall call) |
XExpression |
StaticFeatureDescriptionWithSyntacticReceiver.getSyntacticReceiver() |
XExpression |
StaticExtensionFeatureDescriptionWithImplicitFirstArgument.getSyntacticReceiver() |
XExpression |
StaticExtensionFeatureDescription.getSyntacticReceiver() |
XExpression |
SimpleIdentifiableElementDescription.getSyntacticReceiver() |
XExpression |
QualifiedThisOrSuperDescription.getSyntacticReceiver() |
XExpression |
InstanceFeatureDescriptionWithImplicitReceiver.getSyntacticReceiver() |
XExpression |
InstanceFeatureDescription.getSyntacticReceiver() |
XExpression |
InstanceExtensionDescriptionWithImplicitFirstArgument.getSyntacticReceiver() |
XExpression |
InstanceExtensionDescription.getSyntacticReceiver() |
XExpression |
IIdentifiableElementDescription.getSyntacticReceiver() |
XExpression |
BucketedEObjectDescription.getSyntacticReceiver() |
| Modifier and Type | Method and Description |
|---|---|
Map<XExpression,LightweightTypeReference> |
ExpressionBucket.getExtensionProviders() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DynamicExtensionsScope.addDescriptions(JvmFeature feature,
XExpression receiver,
LightweightTypeReference receiverType,
Map<JvmTypeParameter,LightweightMergedBoundTypeArgument> receiverTypeParameterMapping,
ExpressionBucket bucket,
List<IEObjectDescription> result) |
protected IScope |
FeatureScopes.createDynamicExtensionsScope(org.eclipse.emf.ecore.EObject featureCall,
XExpression firstArgument,
LightweightTypeReference firstArgumentType,
boolean implicitArgument,
IScope parent,
IFeatureScopeSession session)
Create a scope that contains dynamic extension features, which are features that are contributed by an instance of a type.
|
protected IScope |
FeatureScopes.createDynamicExtensionsScope(XExpression firstArgument,
LightweightTypeReference firstArgumentType,
org.eclipse.emf.ecore.EObject featureCall,
IScope parent,
IFeatureScopeSession captureLayer,
IFeatureScopeSession session,
IResolvedTypes resolvedTypes) |
protected IScope |
FeatureScopes.createDynamicExtensionsScope(XExpression firstArgument,
LightweightTypeReference firstArgumentType,
org.eclipse.emf.ecore.EObject featureCall,
IScope parent,
IFeatureScopeSession session,
IResolvedTypes resolvedTypes) |
protected BucketedEObjectDescription |
DynamicExtensionsScope.createExtensionDescription(QualifiedName name,
JvmFeature feature,
XExpression receiver,
LightweightTypeReference receiverType,
Map<JvmTypeParameter,LightweightMergedBoundTypeArgument> receiverTypeParameterMapping,
ExpressionBucket bucket,
boolean validStaticState) |
IScope |
FeatureScopes.createFeatureCallScopeForReceiver(XExpression featureCall,
XExpression receiver,
IFeatureScopeSession session,
IResolvedTypes resolvedTypes)
This method serves as an entry point for the content assist scoping for features.
|
protected IScope |
FeatureScopes.createFeatureScopeForTypeRef(XExpression receiver,
LightweightTypeReference featureDeclarator,
boolean implicit,
org.eclipse.emf.ecore.EObject featureCall,
IFeatureScopeSession session,
JvmIdentifiableElement receiverFeature,
IScope parent,
boolean validStaticScope) |
protected BucketedEObjectDescription |
DynamicExtensionsScope.createReceiverDescription(QualifiedName name,
JvmFeature feature,
XExpression receiver,
LightweightTypeReference receiverType,
Map<JvmTypeParameter,LightweightMergedBoundTypeArgument> receiverTypeParameterMapping,
ExpressionBucket bucket,
boolean validStaticState) |
protected IScope |
FeatureScopes.createReceiverFeatureScope(org.eclipse.emf.ecore.EObject featureCall,
XExpression receiver,
LightweightTypeReference receiverType,
JvmIdentifiableElement receiverFeature,
boolean implicitReceiver,
boolean validStatic,
TypeBucket receiverBucket,
IScope parent,
IFeatureScopeSession session)
Creates a scope that returns the features of a given receiver type.
|
protected IScope |
FeatureScopes.createStaticExtensionsScope(org.eclipse.emf.ecore.EObject featureCall,
XExpression firstArgument,
LightweightTypeReference firstArgumentType,
boolean implicitArgument,
IScope parent,
IFeatureScopeSession session)
Create a scope that contains static extension features, which are features that are contributed statically via an import.
|
protected IScope |
FeatureScopes.createStaticExtensionsScope(XExpression receiver,
LightweightTypeReference receiverType,
org.eclipse.emf.ecore.EObject featureCall,
IScope parent,
IFeatureScopeSession session,
IResolvedTypes resolvedTypes) |
protected IScope |
FeatureScopes.createStaticFeatureOnTypeLiteralScope(org.eclipse.emf.ecore.EObject featureCall,
XExpression receiver,
LightweightTypeReference receiverType,
TypeBucket receiverBucket,
IScope parent,
IFeatureScopeSession session)
Creates a scope for the static features that are exposed by a type that was used, e.g.
|
protected IScope |
FeatureScopes.createStaticFeatureOnTypeLiteralScope(XAbstractFeatureCall featureCall,
JvmType type,
XExpression receiver,
LightweightTypeReference receiverType,
IScope parent,
IFeatureScopeSession session) |
protected IScope |
FeatureScopes.createStaticFeatureScope(XAbstractFeatureCall featureCall,
XExpression receiver,
LightweightTypeReference receiverType,
TypeBucket receiverBucket,
IScope parent,
IFeatureScopeSession session)
Create a scope that contains static features.
|
protected IScope |
FeatureScopes.createStaticScope(XAbstractFeatureCall featureCall,
XExpression receiver,
LightweightTypeReference receiverType,
IScope parent,
IFeatureScopeSession session,
IResolvedTypes resolvedTypes) |
protected IScope |
FeatureScopes.createTypeLiteralScope(XExpression featureCall,
XExpression receiver,
IFeatureScopeSession session,
IResolvedTypes resolvedTypes,
LightweightTypeReference receiverType,
JvmIdentifiableElement linkedReceiver) |
protected BucketedEObjectDescription |
DynamicExtensionsScope.doCreateExtensionDescription(QualifiedName name,
JvmFeature feature,
XExpression receiver,
LightweightTypeReference receiverType,
Map<JvmTypeParameter,LightweightMergedBoundTypeArgument> receiverTypeParameterMapping,
ExpressionBucket bucket,
boolean validStaticState) |
protected boolean |
FeatureScopes.isValidFeatureCallArgument(XExpression expression,
JvmIdentifiableElement linkedReceiver,
IFeatureScopeSession session)
Returns
true if the linked receiver may be passed as an argument. |
protected boolean |
DynamicExtensionsScope.isValidStaticState(XExpression receiver) |
| Modifier and Type | Method and Description |
|---|---|
IFeatureScopeSession |
IFeatureScopeSession.addToExtensionScope(Map<XExpression,LightweightTypeReference> extensionProviders)
Add receivers to the session that contribute extensions.
|
IFeatureScopeSession |
AbstractFeatureScopeSession.addToExtensionScope(Map<XExpression,LightweightTypeReference> extensionProviders) |
| Constructor and Description |
|---|
ExpressionBucket(int id,
Map<XExpression,LightweightTypeReference> extensionProviders,
IResolvedFeatures.Provider resolvedFeaturesProvider) |
FeatureScopeSessionWithDynamicExtensions(AbstractFeatureScopeSession parent,
Map<XExpression,LightweightTypeReference> extensionProviders,
IResolvedFeatures.Provider resolvedFeaturesProvider) |
| Modifier and Type | Method and Description |
|---|---|
XExpression |
InferredTypeIndicator.getExpression() |
| Modifier and Type | Method and Description |
|---|---|
LightweightTypeReference |
IResolvedTypes.getActualType(XExpression expression)
Returns the actually inferred type for the given expression or
null if none. |
LightweightTypeReference |
IResolvedTypes.NullResolvedTypes.getActualType(XExpression expression) |
List<LightweightTypeReference> |
IResolvedTypes.getActualTypeArguments(XExpression expression)
Returns the resolved type arguments.
|
List<LightweightTypeReference> |
IResolvedTypes.NullResolvedTypes.getActualTypeArguments(XExpression expression) |
LightweightTypeReference |
IResolvedTypes.getExpectedReturnType(XExpression expression)
Returns the expected return type for the given expression or
null if none. |
LightweightTypeReference |
IResolvedTypes.NullResolvedTypes.getExpectedReturnType(XExpression expression) |
LightweightTypeReference |
IResolvedTypes.getExpectedType(XExpression expression)
Returns the actually expected type for the given expression or
null if none. |
LightweightTypeReference |
IResolvedTypes.NullResolvedTypes.getExpectedType(XExpression expression) |
LightweightTypeReference |
IResolvedTypes.getReturnType(XExpression expression)
Returns the actually inferred return type for the given expression or
null if none. |
LightweightTypeReference |
IResolvedTypes.NullResolvedTypes.getReturnType(XExpression expression) |
List<LightweightTypeReference> |
IResolvedTypes.getThrownExceptions(XExpression obj) |
List<LightweightTypeReference> |
IResolvedTypes.NullResolvedTypes.getThrownExceptions(XExpression obj) |
boolean |
IResolvedTypes.isRefinedType(XExpression expression)
Returns
true if the expression's type is based on a type
refinement, e.g. an instanceof guard my specialize the type of the checked
reference. |
boolean |
IResolvedTypes.NullResolvedTypes.isRefinedType(XExpression expression) |
boolean |
IResolvedTypes.isVoidTypeAllowed(XExpression expression)
Returns
true if the given expression may have the type void. |
boolean |
IResolvedTypes.NullResolvedTypes.isVoidTypeAllowed(XExpression expression) |
| Constructor and Description |
|---|
InferredTypeIndicator(XExpression expression) |
| Modifier and Type | Field and Description |
|---|---|
protected List<XExpression> |
StandardFeatureCallArguments.arguments |
protected List<XExpression> |
ReorderedFeatureCallArguments.shiftedArguments |
| Modifier and Type | Method and Description |
|---|---|
XExpression |
StandardFeatureCallArguments.getArgument(int idx) |
XExpression |
IFeatureCallArguments.getArgument(int idx)
Returns the argument expression at index
idx. |
XExpression |
AssignmentFeatureCallArguments.getArgument(int idx) |
XExpression |
VarArgsFeatureCallArgumentSlot.getArgumentExpression() |
XExpression |
StandardFeatureCallArgumentSlot.getArgumentExpression() |
XExpression |
IFeatureCallArgumentSlot.getArgumentExpression() |
XExpression |
AssignmentFeatureCallArguments.getArgumentExpression() |
protected XExpression |
StandardFeatureCallArguments.internalGetArgument(int idx) |
XExpression |
ReorderedVarArgFeatureCallArguments.internalGetArgument(int idx) |
XExpression |
ReorderedFeatureCallArguments.internalGetArgument(int idx) |
| Modifier and Type | Method and Description |
|---|---|
List<XExpression> |
VarArgsFeatureCallArgumentSlot.getArgumentExpressions() |
List<XExpression> |
StandardFeatureCallArgumentSlot.getArgumentExpressions() |
List<XExpression> |
IFeatureCallArgumentSlot.getArgumentExpressions()
The list of expressions.
|
List<XExpression> |
AssignmentFeatureCallArguments.getArgumentExpressions() |
| Constructor and Description |
|---|
AssignmentFeatureCallArguments(XExpression expression,
LightweightTypeReference type) |
| Modifier and Type | Method and Description |
|---|---|
protected XExpression |
XbaseTypeComputer.getElse(XIfExpression ifExpression)
Only for testing purpose.
|
XExpression |
ITypeComputationResult.getExpression()
The expression that is associated with this result.
|
XExpression |
ILinkingCandidate.getExpression()
The current expression that shall be linked.
|
protected XExpression |
XbaseTypeComputer.getThen(XIfExpression ifExpression)
Only for testing purpose.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ITypeComputationState.acceptCandidate(XExpression expression,
IApplicableCandidate candidate)
Allows to register a candidate that gets the chance to validate or change the state
of the AST in a subsequent processing step.
|
protected void |
XbaseTypeComputer.addLocalToCurrentScope(XExpression expression,
ITypeComputationState state)
If the expression is a variable declaration, then add it to the current scope;
DSLs introducing new containers for variable declarations should override this method
and explicitly add nested variable declarations.
|
ITypeComputationResult |
ITypeComputationState.computeTypes(XExpression expression)
Triggers type computation for a child expression of the currently considered expression.
|
void |
XbaseTypeComputer.computeTypes(XExpression expression,
ITypeComputationState state) |
void |
ITypeComputer.computeTypes(XExpression expression,
ITypeComputationState state)
Compute the type for the given expression in the context of the given computation state.
|
protected ITypeComputationResult |
CollectionLiteralsTypeComputer.computeTypes(XExpression element,
LightweightTypeReference expectation,
ITypeComputationState state) |
UnboundTypeReference |
ITypeExpectation.createUnboundTypeReference(XExpression expression,
JvmTypeParameter typeParameter)
Create a new, managed
UnboundTypeReference for the given type parameter which was
first encountered for the given expression. |
UnboundTypeReference |
ITypeComputationState.createUnboundTypeReference(XExpression expression,
JvmTypeParameter typeParameter)
Create a new, managed
UnboundTypeReference for the given type parameter which was
first encountered for the given expression. |
protected JvmIdentifiableElement |
XbaseTypeComputer.getRefinableCandidate(XExpression object,
ITypeComputationState state) |
protected ITypeComputationState |
XbaseTypeComputer.reassignCheckedType(XExpression condition,
XExpression guardedExpression,
ITypeComputationState state)
If the condition is a
type check, the checked expression
will be automatically casted in the returned state. |
void |
ITypeComputationState.refineExpectedType(XExpression expression,
LightweightTypeReference expectation)
After the fact refinement of the expected type.
|
| Constructor and Description |
|---|
XbaseTypeComputer.BranchExpressionProcessor(ITypeComputationState state,
XExpression expression) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractLinkingCandidate<Expression extends XExpression> |
class |
AbstractPendingLinkingCandidate<Expression extends XExpression>
Abstract base for linking candidates that attempt to resolve features
which are not yet bound.
|
class |
AbstractResolvedReference<Expression extends XExpression> |
| Modifier and Type | Field and Description |
|---|---|
protected XExpression |
ExpressionTypeComputationState.expression |
protected XExpression |
AbstractNullLinkingCandidate.featureOrConstructorCall |
| Modifier and Type | Method and Description |
|---|---|
XExpression |
TypeData.getExpression() |
XExpression |
SuspiciouslyOverloadedCandidate.getExpression() |
XExpression |
ResolutionBasedComputationResult.getExpression() |
XExpression |
NoTypeResult.getExpression() |
XExpression |
AppliedFeatureLinkingCandidate.getExpression() |
XExpression |
AbstractUnresolvableReference.getExpression() |
XExpression |
AbstractNullLinkingCandidate.getExpression() |
XExpression |
AbstractImplicitFeature.getExpression() |
XExpression |
AbstractAmbiguousLinkingCandidate.getExpression() |
protected XExpression |
FeatureLinkingCandidate.getFirstArgument()
Returns the first argument if this is an extension.
|
XExpression |
ScopeProviderAccess.ErrorDescription.getImplicitFirstArgument() |
protected XExpression |
ResolvedFeature.getImplicitFirstArgument() |
protected XExpression |
FeatureLinkingCandidate.getImplicitFirstArgument() |
XExpression |
ScopeProviderAccess.ErrorDescription.getImplicitReceiver() |
protected XExpression |
ResolvedFeature.getImplicitReceiver() |
protected XExpression |
FeatureLinkingCandidate.getImplicitReceiver() |
protected XExpression |
LogicalContainerAwareReentrantTypeResolver.getInferredFrom(JvmTypeReference typeReference)
Returns the expression that will be used to infer the given type from.
|
protected XExpression |
AbstractRootTypeComputationState.getNonNullRootExpression() |
protected XExpression |
ResolvedFeature.getReceiver() |
protected XExpression |
FeatureLinkingCandidate.getReceiver() |
protected XExpression |
ExpressionBasedRootTypeComputationState.getRootExpression() |
protected XExpression |
AnnotationValueTypeComputationState.getRootExpression() |
protected abstract XExpression |
AbstractRootTypeComputationState.getRootExpression() |
protected XExpression |
AbstractLogicalContainerAwareRootComputationState.getRootExpression() |
protected XExpression |
UnresolvableFeatureCall.getSyntacticReceiver() |
XExpression |
ScopeProviderAccess.ErrorDescription.getSyntacticReceiver() |
protected XExpression |
ResolvedFeature.getSyntacticReceiver() |
protected XExpression |
FollowUpError.getSyntacticReceiver() |
protected XExpression |
FeatureLinkingCandidate.getSyntacticReceiver() |
XExpression |
FeatureLinkHelper.getSyntacticReceiver(XExpression expression) |
protected XExpression |
FeatureLinkingCandidate.getSyntacticReceiverIfPossibleArgument()
Returns the syntactic receiver if it is an expression.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<XExpression,List<TypeData>> |
ResolvedTypes.basicGetExpressionTypes() |
protected Map<XExpression,IApplicableCandidate> |
ResolvedTypes.basicGetLinkingMap() |
protected Set<XExpression> |
ResolvedTypes.basicGetPropagatedTypes() |
protected Set<XExpression> |
ResolvedTypes.basicGetRefinedTypes() |
protected List<XExpression> |
FeatureLinkingCandidate.createArgumentList(XExpression head,
List<XExpression> tail) |
protected List<XExpression> |
UnresolvableFeatureCall.getArguments() |
protected List<XExpression> |
UnresolvableConstructorCall.getArguments() |
protected List<XExpression> |
TypeLiteralLinkingCandidate.getArguments()
Returns the actual arguments of the expression.
|
protected List<XExpression> |
TypeInsteadOfConstructorLinkingCandidate.getArguments() |
protected List<XExpression> |
ResolvedTypeLiteral.getArguments() |
protected List<XExpression> |
ResolvedFeature.getArguments() |
protected List<XExpression> |
ResolvedConstructor.getArguments() |
protected List<XExpression> |
FollowUpError.getArguments() |
protected List<XExpression> |
FeatureLinkingCandidate.getArguments()
Returns the actual arguments of the expression.
|
protected List<XExpression> |
ConstructorLinkingCandidate.getArguments() |
protected abstract List<XExpression> |
AbstractUnresolvableReference.getArguments() |
protected abstract List<XExpression> |
AbstractLinkingCandidate.getArguments() |
protected List<XExpression> |
TypeLiteralLinkingCandidate.getSyntacticArguments() |
protected List<XExpression> |
ResolvedFeature.getSyntacticArguments()
For testing purpose
|
protected List<XExpression> |
FeatureLinkingCandidate.getSyntacticArguments() |
protected List<XExpression> |
AbstractPendingLinkingCandidate.getSyntacticArguments() |
List<XExpression> |
FeatureLinkHelper.getSyntacticArguments(XAbstractFeatureCall expression) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultReentrantTypeResolver._computeTypes(ResolvedTypes resolvedTypes,
IFeatureScopeSession session,
XExpression expression) |
protected void |
ResolvedTypes.acceptCandidate(XExpression expression,
IApplicableCandidate candidate) |
protected void |
ReassigningStackedResolvedTypes.acceptCandidate(XExpression expression,
IApplicableCandidate candidate) |
protected void |
ExpectedExceptionsStackedResolvedTypes.acceptCandidate(XExpression expression,
IApplicableCandidate candidate) |
void |
CompoundTypeComputationState.acceptCandidate(XExpression expression,
IApplicableCandidate candidate) |
void |
AbstractTypeComputationState.acceptCandidate(XExpression expression,
IApplicableCandidate candidate) |
protected LightweightTypeReference |
ResolvedTypes.acceptType(XExpression expression,
AbstractTypeExpectation expectation,
LightweightTypeReference type,
boolean returnType,
int flags) |
protected LightweightTypeReference |
TypeComputationStateWithNonVoidExpectation.acceptType(XExpression alreadyHandled,
ResolvedTypes types,
AbstractTypeExpectation expectation,
LightweightTypeReference type,
boolean returnType,
int flags) |
protected LightweightTypeReference |
TypeCheckpointComputationState.acceptType(XExpression alreadyHandled,
ResolvedTypes types,
AbstractTypeExpectation expectation,
LightweightTypeReference type,
boolean returnType,
int flags) |
protected LightweightTypeReference |
ReturnExpectationTypeComputationState.acceptType(XExpression alreadyHandled,
ResolvedTypes types,
AbstractTypeExpectation expectation,
LightweightTypeReference type,
boolean returnType,
int flags) |
protected LightweightTypeReference |
ExpressionTypeComputationStateWithExpectation.acceptType(XExpression alreadyHandled,
ResolvedTypes types,
AbstractTypeExpectation expectation,
LightweightTypeReference type,
boolean returnType,
int flags) |
protected LightweightTypeReference |
ExpressionTypeComputationState.acceptType(XExpression expression,
ResolvedTypes resolvedTypes,
AbstractTypeExpectation expectation,
LightweightTypeReference type,
boolean returnType,
int flags) |
protected LightweightTypeReference |
ExpectedExceptionTypeComputationState.acceptType(XExpression alreadyHandled,
ResolvedTypes types,
AbstractTypeExpectation expectation,
LightweightTypeReference type,
boolean returnType,
int flags) |
protected abstract LightweightTypeReference |
AbstractTypeComputationState.acceptType(XExpression alreadyHandled,
ResolvedTypes types,
AbstractTypeExpectation expectation,
LightweightTypeReference type,
boolean returnType,
int flags) |
protected LightweightTypeReference |
AbstractStackedTypeComputationState.acceptType(XExpression alreadyHandled,
ResolvedTypes types,
AbstractTypeExpectation expectation,
LightweightTypeReference type,
boolean returnType,
int flags) |
protected LightweightTypeReference |
AbstractRootTypeComputationState.acceptType(XExpression alreadyHandled,
ResolvedTypes types,
AbstractTypeExpectation expectation,
LightweightTypeReference type,
boolean returnType,
int flags) |
protected void |
ResolvedTypes.acceptType(XExpression expression,
TypeData typeData) |
protected void |
ReassigningStackedResolvedTypes.acceptType(XExpression expression,
TypeData typeData) |
protected void |
ExpectedExceptionsStackedResolvedTypes.acceptType(XExpression expression,
TypeData typeData) |
protected void |
RootResolvedTypes.addTypeDiagnostic(XExpression expression,
TypeData typeData,
IAcceptor<? super AbstractDiagnostic> acceptor) |
ITypeComputationResult |
ForwardingTypeComputationState.computeTypes(XExpression expression) |
ITypeComputationResult |
CompoundTypeComputationState.computeTypes(XExpression expression) |
ITypeComputationResult |
AbstractTypeComputationState.computeTypes(XExpression expression) |
protected List<XExpression> |
FeatureLinkingCandidate.createArgumentList(XExpression head,
List<XExpression> tail) |
IFeatureCallArguments |
ExpressionArgumentFactory.createExpressionArguments(XExpression expression,
AbstractLinkingCandidate<?> candidate) |
protected ExpressionTypeComputationState |
TypeComputationStateWithRootExpectation.createExpressionComputationState(XExpression expression,
StackedResolvedTypes typeResolution) |
protected ExpressionTypeComputationState |
FieldTypeComputationState.createExpressionComputationState(XExpression expression,
StackedResolvedTypes typeResolution) |
protected ExpressionTypeComputationState |
AbstractTypeComputationState.createExpressionComputationState(XExpression expression,
StackedResolvedTypes typeResolution) |
protected ExpressionTypeComputationState |
AbstractRootTypeComputationState.createExpressionComputationState(XExpression expression,
StackedResolvedTypes typeResolution) |
protected AbstractDiagnostic |
RootResolvedTypes.createTypeDiagnostic(XExpression expression,
LightweightTypeReference actualType,
LightweightTypeReference expectedType) |
protected AbstractReentrantTypeReferenceProvider |
LogicalContainerAwareReentrantTypeResolver.createTypeProvider(Map<JvmIdentifiableElement,ResolvedTypes> resolvedTypesByContext,
ResolvedTypes resolvedTypes,
IFeatureScopeSession featureScopeSession,
JvmMember member,
XExpression expression,
boolean returnType) |
protected UnboundTypeReference |
ResolvedTypes.createUnboundTypeReference(XExpression expression,
JvmTypeParameter type) |
protected UnboundTypeReference |
ReassigningStackedResolvedTypes.createUnboundTypeReference(XExpression expression,
JvmTypeParameter type) |
UnboundTypeReference |
ForwardingTypeComputationState.createUnboundTypeReference(XExpression expression,
JvmTypeParameter typeParameter) |
protected UnboundTypeReference |
ExpectedExceptionsStackedResolvedTypes.createUnboundTypeReference(XExpression expression,
JvmTypeParameter type) |
UnboundTypeReference |
CompoundTypeComputationState.createUnboundTypeReference(XExpression expression,
JvmTypeParameter typeParameter) |
UnboundTypeReference |
AbstractTypeExpectation.createUnboundTypeReference(XExpression expression,
JvmTypeParameter typeParameter) |
UnboundTypeReference |
AbstractTypeComputationState.createUnboundTypeReference(XExpression expression,
JvmTypeParameter typeParameter) |
protected ExpressionAwareStackedResolvedTypes |
ExpressionTypeComputationState.doComputeTypes(XExpression expression) |
protected ExpressionAwareStackedResolvedTypes |
ExpressionTypeComputationState.ExpressionAwareTypeCheckpointComputationState.doComputeTypes(XExpression expression) |
protected ExpressionAwareStackedResolvedTypes |
AbstractTypeComputationState.doComputeTypes(XExpression expression) |
protected LightweightTypeReference |
ResolvedTypes.doGetActualType(XExpression expression) |
protected List<LightweightTypeReference> |
StackedResolvedTypes.doGetActualTypeArguments(XExpression expression) |
protected List<LightweightTypeReference> |
ResolvedTypes.doGetActualTypeArguments(XExpression expression) |
protected IApplicableCandidate |
StackedResolvedTypes.doGetCandidate(XExpression featureOrConstructorCall) |
protected IApplicableCandidate |
ResolvedTypes.doGetCandidate(XExpression featureOrConstructorCall) |
protected LightweightTypeReference |
ResolvedTypes.doGetExpectedType(XExpression expression,
boolean returnType) |
protected JvmIdentifiableElement |
StackedResolvedTypes.doGetLinkedFeature(XExpression featureOrConstructorCall) |
protected JvmIdentifiableElement |
ResolvedTypes.doGetLinkedFeature(XExpression featureOrConstructorCall) |
protected LightweightTypeReference |
ResolvedTypes.doGetReturnType(XExpression expression) |
protected List<TypeData> |
StackedResolvedTypes.doGetTypeData(XExpression expression) |
protected List<TypeData> |
ResolvedTypes.doGetTypeData(XExpression expression) |
LightweightTypeReference |
ResolvedTypes.getActualType(XExpression expression) |
LightweightTypeReference |
ForwardingResolvedTypes.getActualType(XExpression expression) |
LightweightTypeReference |
CompoundReentrantTypeResolver.getActualType(XExpression expression) |
protected LightweightTypeReference |
AbstractLinkingCandidate.getActualType(XExpression expression) |
List<LightweightTypeReference> |
ResolvedTypes.getActualTypeArguments(XExpression expression) |
List<LightweightTypeReference> |
ForwardingResolvedTypes.getActualTypeArguments(XExpression expression) |
List<LightweightTypeReference> |
CompoundReentrantTypeResolver.getActualTypeArguments(XExpression expression) |
Iterable<IEObjectDescription> |
ScopeProviderAccess.getCandidateDescriptions(XExpression expression,
org.eclipse.emf.ecore.EReference reference,
org.eclipse.emf.ecore.EObject toBeLinked,
IFeatureScopeSession session,
IResolvedTypes types)
Returns a bunch of descriptions most of which are actually
describing identifiables. |
protected int |
StackedResolvedTypes.getConformanceFlags(XExpression expression,
boolean recompute) |
protected IResolvedTypes |
CompoundReentrantTypeResolver.getDelegate(XExpression expression) |
LightweightTypeReference |
ResolvedTypes.getExpectedReturnType(XExpression expression) |
LightweightTypeReference |
ForwardingResolvedTypes.getExpectedReturnType(XExpression expression) |
LightweightTypeReference |
CompoundReentrantTypeResolver.getExpectedReturnType(XExpression expression) |
LightweightTypeReference |
ResolvedTypes.getExpectedType(XExpression expression) |
LightweightTypeReference |
ForwardingResolvedTypes.getExpectedType(XExpression expression) |
LightweightTypeReference |
CompoundReentrantTypeResolver.getExpectedType(XExpression expression) |
protected LightweightTypeReference |
AbstractLinkingCandidate.getExpectedType(XExpression expression) |
protected LightweightTypeReference |
StackedResolvedTypes.getExpectedTypeForAssociatedExpression(JvmMember member,
XExpression expression) |
protected LightweightTypeReference |
RootResolvedTypes.getExpectedTypeForAssociatedExpression(JvmMember member,
XExpression expression) |
protected abstract LightweightTypeReference |
ResolvedTypes.getExpectedTypeForAssociatedExpression(JvmMember member,
XExpression expression) |
LightweightTypeReference |
ResolvedTypes.getReturnType(XExpression expression) |
LightweightTypeReference |
ForwardingResolvedTypes.getReturnType(XExpression expression) |
LightweightTypeReference |
CompoundReentrantTypeResolver.getReturnType(XExpression expression) |
XExpression |
FeatureLinkHelper.getSyntacticReceiver(XExpression expression) |
List<LightweightTypeReference> |
ResolvedTypes.getThrownExceptions(XExpression obj) |
List<LightweightTypeReference> |
ForwardingResolvedTypes.getThrownExceptions(XExpression obj) |
List<LightweightTypeReference> |
CompoundReentrantTypeResolver.getThrownExceptions(XExpression obj) |
protected TypeData |
ResolvedTypes.getTypeData(XExpression expression,
boolean returnType) |
protected TypeData |
ResolvedTypes.getTypeData(XExpression expression,
boolean returnType,
boolean nullIfEmpty) |
protected boolean |
AbstractPendingLinkingCandidate.isDefiniteEarlyExit(XExpression expression) |
protected boolean |
LogicalContainerAwareReentrantTypeResolver.isHandled(XExpression expression) |
protected boolean |
DefaultReentrantTypeResolver.isHandled(XExpression expression) |
protected abstract boolean |
AbstractRootedReentrantTypeResolver.isHandled(XExpression expression) |
protected boolean |
RootResolvedTypes.isIntentionalEarlyExit(XExpression expression)
Returns
true for expressions that seem to be early exit expressions, e.g. |
protected boolean |
StackedResolvedTypes.isPropagatedType(XExpression expression) |
protected boolean |
ResolvedTypes.isPropagatedType(XExpression expression) |
boolean |
StackedResolvedTypes.isRefinedType(XExpression expression) |
boolean |
ResolvedTypes.isRefinedType(XExpression expression) |
boolean |
ForwardingResolvedTypes.isRefinedType(XExpression expression) |
boolean |
CompoundReentrantTypeResolver.isRefinedType(XExpression expression) |
protected boolean |
FeatureLinkingCandidate.isTypeLiteral(XExpression expression) |
boolean |
ResolvedTypes.isVoidReturnTypeAllowed(XExpression expression) |
boolean |
ResolvedTypes.isVoidTypeAllowed(XExpression expression) |
boolean |
ForwardingResolvedTypes.isVoidTypeAllowed(XExpression expression) |
boolean |
CompoundReentrantTypeResolver.isVoidTypeAllowed(XExpression expression) |
protected void |
LogicalContainerAwareReentrantTypeResolver.markToBeInferred(ResolvedTypes resolvedTypes,
XExpression expression) |
protected void |
StackedResolvedTypes.markToBeInferred(XExpression expression) |
protected void |
RootResolvedTypes.markToBeInferred(XExpression expression) |
protected abstract void |
ResolvedTypes.markToBeInferred(XExpression expression) |
protected TypeData |
ResolvedTypes.mergeTypeData(XExpression expression,
List<TypeData> allValues,
boolean returnType,
boolean nullIfEmpty) |
protected ExpressionAwareStackedResolvedTypes |
ResolvedTypes.pushTypes(XExpression context) |
protected ExpressionAwareStackedResolvedTypes |
ExpressionTypeComputationState.pushTypes(XExpression expression) |
protected ExpressionAwareStackedResolvedTypes |
AbstractTypeComputationState.pushTypes(XExpression expression) |
protected void |
StackedResolvedTypes.refineExpectedType(XExpression receiver,
ITypeExpectation refinedExpectation) |
protected void |
ResolvedTypes.refineExpectedType(XExpression receiver,
ITypeExpectation refinedExpectation) |
void |
ForwardingTypeComputationState.refineExpectedType(XExpression expression,
LightweightTypeReference expectation) |
void |
CompoundTypeComputationState.refineExpectedType(XExpression expression,
LightweightTypeReference expectation) |
void |
AbstractTypeComputationState.refineExpectedType(XExpression expression,
LightweightTypeReference expectation) |
protected void |
ResolvedFeature.resolveArgumentType(XExpression argument,
LightweightTypeReference declaredType,
ITypeComputationState argumentState) |
protected void |
FeatureLinkingCandidate.resolveArgumentType(XExpression argument,
LightweightTypeReference declaredType,
ITypeComputationState argumentState) |
protected void |
AbstractLinkingCandidate.resolveArgumentType(XExpression argument,
LightweightTypeReference declaredType,
ITypeComputationState argumentState) |
protected void |
ResolvedFeature.resolveKnownArgumentType(XExpression argument,
LightweightTypeReference knownType,
LightweightTypeReference declaredType,
ITypeComputationState argumentState) |
protected void |
FeatureLinkingCandidate.resolveKnownArgumentType(XExpression argument,
LightweightTypeReference knownType,
LightweightTypeReference declaredType,
ITypeComputationState argumentState) |
protected void |
ResolvedTypes.setPropagatedType(XExpression expression) |
protected void |
ReassigningStackedResolvedTypes.setPropagatedType(XExpression expression) |
protected void |
ExpectedExceptionsStackedResolvedTypes.setPropagatedType(XExpression expression) |
protected void |
ResolvedTypes.setRefinedType(XExpression expression) |
protected void |
ReassigningStackedResolvedTypes.setRefinedType(XExpression expression) |
protected void |
ExpectedExceptionsStackedResolvedTypes.setRefinedType(XExpression expression) |
| Modifier and Type | Method and Description |
|---|---|
protected List<XExpression> |
FeatureLinkingCandidate.createArgumentList(XExpression head,
List<XExpression> tail) |
protected IFeatureCallArguments |
ExpressionArgumentFactory.createArgumentsForExecutable(boolean varArgs,
List<XExpression> arguments,
List<JvmFormalParameter> parameters,
boolean hasReceiver,
ITypeReferenceOwner owner) |
protected int |
AbstractPendingLinkingCandidate.getArityMismatch(JvmExecutable executable,
List<XExpression> arguments) |
protected void |
ExpressionArgumentFactory.reorder(boolean varArgs,
List<XExpression> copiedArgumentList,
List<JvmFormalParameter> copiedParameterList,
List<XExpression> shiftedArgumentList,
List<JvmFormalParameter> shiftedParameterList) |
protected void |
ExpressionArgumentFactory.reorder(boolean varArgs,
List<XExpression> copiedArgumentList,
List<JvmFormalParameter> copiedParameterList,
List<XExpression> shiftedArgumentList,
List<JvmFormalParameter> shiftedParameterList) |
protected boolean |
ExpressionArgumentFactory.requiresReordering(List<XExpression> arguments,
int parameterCount) |
| Modifier and Type | Method and Description |
|---|---|
XExpression |
UnboundTypeReference.getExpression() |
| Modifier and Type | Method and Description |
|---|---|
static UnboundTypeReference |
UnboundTypeReference.create(ITypeExpectation expectation,
XExpression expression,
JvmTypeParameter typeParameter)
Create a new, managed unbound type reference for the given type parameter which was
first encountered for the given expression.
|
| Constructor and Description |
|---|
UnboundTypeReference(ITypeReferenceOwner owner,
XExpression expression,
JvmTypeParameter typeParameter) |
UnboundTypeReference(ITypeReferenceOwner owner,
XExpression expression,
JvmTypeParameter typeParameter,
Object handle) |
| Modifier and Type | Class and Description |
|---|---|
class |
PendingLinkingCandidateResolver<Expression extends XExpression> |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
ThrownExceptionSwitch.caseXExpression(XExpression object) |
void |
IThrownExceptionDelegate.collectThrownExceptions(XExpression expression) |
void |
ExtendedEarlyExitComputer.AbstractThrownExceptionDelegate.collectThrownExceptions(XExpression expression) |
LightweightTypeReference |
IThrownExceptionDelegate.getActualType(XExpression expr) |
LightweightTypeReference |
ExtendedEarlyExitComputer.ThrownExceptionDelegate.getActualType(XExpression expr) |
LightweightTypeReference |
ExtendedEarlyExitComputer.FilteringThrownExceptionDelegate.getActualType(XExpression expr) |
protected IFeatureLinkingCandidate |
TypeLiteralLinkingCandidateResolver.getLinkingCandidate(XExpression target) |
List<LightweightTypeReference> |
ExtendedEarlyExitComputer.getThrownExceptions(XExpression obj,
IResolvedTypes types,
ITypeReferenceOwner owner) |
protected LightweightTypeReference |
ThrownExceptionSwitch.getType(XExpression expr) |
boolean |
ExtendedEarlyExitComputer.isDefiniteEarlyExit(XExpression expression) |
boolean |
ExtendedEarlyExitComputer.isIntentionalEarlyExit(XExpression expression)
Returns
true for expressions that seem to be early exit expressions, e.g. |
| Modifier and Type | Method and Description |
|---|---|
XExpression |
XSwitchExpressions.getThen(XCasePart casePart,
XSwitchExpression switchExpression) |
| Modifier and Type | Method and Description |
|---|---|
T |
XbaseSwitch.caseXExpression(XExpression object)
Returns the result of interpreting the object as an instance of 'XExpression'
|
boolean |
XExpressionHelper.hasSideEffects(XExpression expr) |
boolean |
XExpressionHelper.isOperatorFromExtension(XExpression expression,
QualifiedName operatorSymbol,
Class<?> definingExtensionClass) |
boolean |
FeatureCallAsTypeLiteralHelper.isPotentialTypeLiteral(XExpression featureCall,
IResolvedTypes resolvedTypes)
Returns
true if the given feature call can be a type literal (structurally). |
protected boolean |
FeatureCallAsTypeLiteralHelper.isPotentialTypeLiteralImpl(XExpression featureCall,
IResolvedTypes resolvedTypes,
boolean staticNotation) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
XbaseImplicitReturnFinder._findImplicitReturns(XExpression expression,
ImplicitReturnFinder.Acceptor acceptor) |
protected boolean |
ConstantExpressionValidator._isConstant(XExpression expression) |
protected boolean |
ConstantExpressionValidator._isConstantExpression(XExpression it) |
void |
ImplicitReturnFinder.Acceptor.accept(XExpression implicitReturn) |
protected void |
XbaseValidator.checkAssignment(XExpression expression,
boolean simpleAssignment) |
protected void |
XbaseValidator.checkAssignment(XExpression expression,
org.eclipse.emf.ecore.EStructuralFeature feature,
boolean simpleAssignment) |
void |
XbaseValidator.checkInnerExpressions(XExpression expr) |
void |
EarlyExitValidator.checkInvalidReturnExpression(XExpression expression) |
protected void |
XbaseValidator.checkIsValidConstructorArgument(XExpression argument,
JvmType containerType) |
void |
XbaseValidator.checkNoForwardReferences(XExpression fieldInitializer) |
void |
XbaseValidator.checkTypeReferenceIsNotVoid(XExpression expression) |
void |
XbaseImplicitReturnFinder.findImplicitReturns(XExpression expression,
ImplicitReturnFinder.Acceptor acceptor) |
void |
ImplicitReturnFinder.findImplicitReturns(XExpression expression,
ImplicitReturnFinder.Acceptor acceptor) |
protected LightweightTypeReference |
XbaseValidator.getActualType(XExpression expression) |
protected com.google.common.base.Optional<BooleanResult> |
EarlyExitValidator.getBooleanResult(XExpression expression) |
protected LightweightTypeReference |
XbaseValidator.getExpectedType(XExpression expression) |
boolean |
ConstantExpressionValidator.isConstant(XExpression expression) |
boolean |
ConstantExpressionValidator.isConstantExpression(XExpression it) |
protected boolean |
XbaseValidator.isValueExpectedRecursive(XExpression expr) |
protected void |
EarlyExitValidator.markConstantBooleanCondition(XExpression predicate,
BooleanResult booleanResult,
boolean ignoreBooleanLiteral) |
protected void |
XbaseValidator.mustBeJavaStatementExpression(XExpression expr) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
EarlyExitValidator.collectExits(org.eclipse.emf.ecore.EObject expr,
List<XExpression> found) |
protected String |
UIStrings.expressionTypes(Iterable<XExpression> expressions) |
Copyright © 2015. All Rights Reserved.