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
,ICompilableModuleElement
,IExecutableModuleElement
public class PropertyCallExpression extends FeatureCallExpression
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.eol.dom.FeatureCallExpression
arrow, nameExpression, safe, targetExpression
-
Fields inherited from class org.eclipse.epsilon.eol.dom.Expression
resolvedType
-
-
Constructor Summary
Constructors Constructor Description PropertyCallExpression()
PropertyCallExpression(Expression targetExpression, NameExpression propertyNameExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
build(AST cst, IModule module)
void
compile(IEolCompilationContext context)
java.lang.Object
execute(java.lang.Object source, NameExpression propertyNameExpression, IEolContext context)
java.lang.Object
execute(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.eol.dom.Expression
getResolvedType, hasResolvedType
-
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, 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, 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:
build
in interfaceModuleElement
- Overrides:
build
in classFeatureCallExpression
-
execute
public java.lang.Object execute(IEolContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
execute
public java.lang.Object execute(java.lang.Object source, NameExpression propertyNameExpression, IEolContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
compile
public void compile(IEolCompilationContext context)
-
-