Package org.eclipse.epsilon.eol.dom
Class PropertyCallExpression
- java.lang.Object
-
- org.eclipse.epsilon.common.module.AbstractModuleElement
-
- org.eclipse.epsilon.eol.dom.AbstractExecutableModuleElement
-
- org.eclipse.epsilon.eol.dom.Expression
-
- org.eclipse.epsilon.eol.dom.FeatureCallExpression
-
- org.eclipse.epsilon.eol.dom.PropertyCallExpression
-
- All Implemented Interfaces:
ModuleElement,IExecutableModuleElement
public class PropertyCallExpression extends FeatureCallExpression
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.eol.dom.FeatureCallExpression
arrow, nameExpression, safe, targetExpression
-
-
Constructor Summary
Constructors Constructor Description PropertyCallExpression()PropertyCallExpression(Expression targetExpression, NameExpression propertyNameExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(IEolVisitor visitor)voidbuild(AST cst, IModule module)Objectexecute(Object source, NameExpression propertyNameExpression, IEolContext context)Objectexecute(IEolContext context)-
Methods inherited from class org.eclipse.epsilon.eol.dom.FeatureCallExpression
getAbstractOperation, getName, getNameExpression, getOperationFromContext, getTargetExpression, isArrow, isNullSafe, setNameExpression, setTargetExpression
-
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.epsilon.common.module.ModuleElement
getChildren, getComments, getData, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
-
-
-
Constructor Detail
-
PropertyCallExpression
public PropertyCallExpression()
-
PropertyCallExpression
public PropertyCallExpression(Expression targetExpression, NameExpression propertyNameExpression)
-
-
Method Detail
-
build
public void build(AST cst, IModule module)
- Specified by:
buildin interfaceModuleElement- Overrides:
buildin classFeatureCallExpression
-
execute
public Object execute(IEolContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
execute
public Object execute(Object source, NameExpression propertyNameExpression, IEolContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
accept
public void accept(IEolVisitor visitor)
- Specified by:
acceptin classFeatureCallExpression
-
-