Package org.eclipse.epsilon.erl.dom
Class NamedRule
- java.lang.Object
-
- org.eclipse.epsilon.common.module.AbstractModuleElement
-
- org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
-
- org.eclipse.epsilon.erl.dom.NamedRule
-
- All Implemented Interfaces:
ModuleElement
- Direct Known Subclasses:
Constraint
,ExtensibleNamedRule
,NamedStatementBlockRule
,Pattern
,Wizard
public abstract class NamedRule extends AnnotatableModuleElement
-
-
Field Summary
Fields Modifier and Type Field Description protected NameExpression
nameExpression
-
Fields inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
annotationBlock
-
-
Constructor Summary
Constructors Constructor Description NamedRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
build(AST cst, IModule module)
boolean
equals(java.lang.Object other)
java.lang.String
getName()
protected AST
getNameAst(AST cst)
NameExpression
getNameExpression()
int
hashCode()
void
setNameExpression(NameExpression nameExpression)
java.lang.String
toString()
-
Methods inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
getAnnotation, getAnnotationBlock, getAnnotations, getAnnotationsValues, getBooleanAnnotationValue, getBooleanAnnotationValue, getBooleanAnnotationValue, getBooleanAnnotationValue, hasAnnotation, setAnnotationBlock
-
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
getChildren, getComments, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
-
-
-
Field Detail
-
nameExpression
protected NameExpression nameExpression
-
-
Method Detail
-
build
public void build(AST cst, IModule module)
- Specified by:
build
in interfaceModuleElement
- Overrides:
build
in classAnnotatableModuleElement
-
getName
public java.lang.String getName()
-
getNameExpression
public NameExpression getNameExpression()
-
setNameExpression
public void setNameExpression(NameExpression nameExpression)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractModuleElement
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractModuleElement
- Since:
- 1.6
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classAbstractModuleElement
- Since:
- 1.6
-
-