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
FieldsFields inherited from class org.eclipse.epsilon.erl.dom.NamedRule
nameExpressionFields inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
annotationBlock -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(IEolContext context) getBody()protected ASTgetBodyAst(AST cst) protected ASTgetNameAst(AST cst) voidsetBody(StatementBlock body) Methods inherited from class org.eclipse.epsilon.erl.dom.NamedRule
equals, getName, getNameExpression, hashCode, toStringMethods inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
accept, getAnnotation, getAnnotationBlock, getAnnotations, getAnnotationsValues, getBooleanAnnotationValue, getBooleanAnnotationValue, getBooleanAnnotationValue, getBooleanAnnotationValue, hasAnnotation, setAnnotationBlockMethods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUriMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
buildin interfaceModuleElement- Overrides:
buildin classNamedRule
-
getBodyAst
-
getNameAst
- Overrides:
getNameAstin classNamedRule
-
getBody
-
setBody
-
execute
- Specified by:
executein interfaceIExecutableModuleElement- Throws:
EolRuntimeException
-