Package org.eclipse.epsilon.erl.dom
Class NamedStatementBlockRule
java.lang.Object
org.eclipse.epsilon.common.module.AbstractModuleElement
org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
org.eclipse.epsilon.erl.dom.NamedRule
org.eclipse.epsilon.erl.dom.NamedStatementBlockRule
- All Implemented Interfaces:
ModuleElement
,IExecutableModuleElement
-
Field Summary
Fields inherited from class org.eclipse.epsilon.erl.dom.NamedRule
nameExpression
Fields inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
annotationBlock
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(IEolContext context) getBody()
protected AST
getBodyAst
(AST cst) protected AST
getNameAst
(AST cst) void
setBody
(StatementBlock body) Methods inherited from class org.eclipse.epsilon.erl.dom.NamedRule
equals, getName, getNameExpression, hashCode, toString
Methods inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
accept, getAnnotation, getAnnotationBlock, getAnnotations, getAnnotationsValues, getBooleanAnnotationValue, getBooleanAnnotationValue, getBooleanAnnotationValue, getBooleanAnnotationValue, hasAnnotation, setAnnotationBlock
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
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
-
Field Details
-
body
-
-
Constructor Details
-
NamedStatementBlockRule
public NamedStatementBlockRule()
-
-
Method Details
-
build
- Specified by:
build
in interfaceModuleElement
- Overrides:
build
in classNamedRule
-
getBodyAst
-
getNameAst
- Overrides:
getNameAst
in classNamedRule
-
getBody
-
setBody
-
execute
- Specified by:
execute
in interfaceIExecutableModuleElement
- Throws:
EolRuntimeException
-