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
public class NamedStatementBlockRule extends NamedRule implements IExecutableModuleElement
-
-
Field Summary
Fields Modifier and Type Field Description protected StatementBlockbody-
Fields inherited from class org.eclipse.epsilon.erl.dom.NamedRule
nameExpression
-
Fields inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
annotationBlock
-
-
Constructor Summary
Constructors Constructor Description NamedStatementBlockRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuild(AST cst, IModule module)Returnexecute(IEolContext context)StatementBlockgetBody()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, 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 Detail
-
body
protected StatementBlock body
-
-
Method Detail
-
build
public void build(AST cst, IModule module)
- Specified by:
buildin interfaceModuleElement- Overrides:
buildin classNamedRule
-
getNameAst
protected AST getNameAst(AST cst)
- Overrides:
getNameAstin classNamedRule
-
getBody
public StatementBlock getBody()
-
setBody
public void setBody(StatementBlock body)
-
execute
public Return execute(IEolContext context) throws EolRuntimeException
- Specified by:
executein interfaceIExecutableModuleElement- Throws:
EolRuntimeException
-
-