public abstract class FeatureCallExpression extends Expression
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
arrow |
protected NameExpression |
nameExpression
The feature name expression.
|
protected Expression |
targetExpression |
resolvedType| Constructor and Description |
|---|
FeatureCallExpression() |
| Modifier and Type | Method and Description |
|---|---|
void |
build(AST cst,
IModule module) |
protected AbstractOperation |
getAbstractOperation(Object target,
String name,
IModel owningModel,
IEolContext context) |
String |
getName()
Convenience method for
getNameExpression().getName(). |
NameExpression |
getNameExpression() |
protected AbstractOperation |
getOperationFromContext(Object target,
String name,
IModel owningModel,
IEolContext context) |
Expression |
getTargetExpression() |
boolean |
isArrow() |
void |
setNameExpression(NameExpression nameExpression) |
void |
setTargetExpression(Expression targetExpression) |
getResolvedType, hasResolvedTypeequals, getChildren, getComments, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitexecutegetChildren, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUricompileprotected boolean arrow
protected Expression targetExpression
protected NameExpression nameExpression
public boolean isArrow()
public void build(AST cst, IModule module)
build in interface ModuleElementbuild in class AbstractModuleElementprotected AbstractOperation getAbstractOperation(Object target, String name, IModel owningModel, IEolContext context) throws EolIllegalOperationException
EolIllegalOperationExceptionprotected AbstractOperation getOperationFromContext(Object target, String name, IModel owningModel, IEolContext context) throws EolIllegalOperationException
target - name - The requested operation nameowningModel - context - The context from which the EolOperationFactory is derived.EolIllegalOperationExceptionpublic Expression getTargetExpression()
public void setTargetExpression(Expression targetExpression)
public void setNameExpression(NameExpression nameExpression)
nameExpression - public NameExpression getNameExpression()
public String getName()
getNameExpression().getName().null if absent.Copyright © 2020. All rights reserved.