class DeferredResolvableOperationExpression extends Expression
| Modifier and Type | Field and Description |
|---|---|
private org.eclipse.emf.ecore.EObject |
cause |
private Expression |
init |
private TypeDescriptor<?> |
varType |
| Constructor and Description |
|---|
DeferredResolvableOperationExpression(org.eclipse.emf.ecore.EObject cause,
TypeDescriptor<?> varType,
Expression init)
Creates a resolvable operation expression.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
accept(IExpressionVisitor visitor)
Visits the expression.
|
(package private) org.eclipse.emf.ecore.EObject |
getCause()
Returns the ECore cause.
|
(package private) Expression |
getInit()
Returns the initialization expression.
|
(package private) TypeDescriptor<?> |
getVarType()
Returns the variable type.
|
TypeDescriptor<?> |
inferType()
Infers the type of this expression including the type of the contained sub-expressions.
|
replaceEmptyLineprivate transient org.eclipse.emf.ecore.EObject cause
private transient TypeDescriptor<?> varType
private transient Expression init
DeferredResolvableOperationExpression(org.eclipse.emf.ecore.EObject cause,
TypeDescriptor<?> varType,
Expression init)
cause - the Ecore instance causing this expressionvarType - the actual variable typeinit - the initialization expressionpublic TypeDescriptor<?> inferType() throws VilException
ExpressioninferType in class ExpressionVilException - in case that inferring the type failspublic java.lang.Object accept(IExpressionVisitor visitor) throws VilException
Expressionaccept in class Expressionvisitor - the visitorVilException - in case that visiting fails (e.g., execution)org.eclipse.emf.ecore.EObject getCause()
TypeDescriptor<?> getVarType()
Expression getInit()
Copyright © 2009 - 2018 SSE. All Rights Reserved.