public class Pattern extends NamedRule
Modifier and Type | Field and Description |
---|---|
protected ExecutableBlock<Void> |
do_ |
protected int |
level |
protected ExecutableBlock<Boolean> |
match |
protected ExecutableBlock<Void> |
noMatch |
protected ExecutableBlock<Void> |
onMatch |
protected List<Role> |
roles |
nameExpression
annotationBlock
Constructor and Description |
---|
Pattern() |
Modifier and Type | Method and Description |
---|---|
void |
build(AST cst,
IModule module) |
ExecutableBlock<Void> |
getDo() |
int |
getLevel() |
ExecutableBlock<Boolean> |
getMatch() |
ExecutableBlock<Void> |
getNoMatch() |
ExecutableBlock<Void> |
getOnMatch() |
List<Role> |
getRoles() |
void |
setDo(ExecutableBlock<Void> do_) |
void |
setLevel(int level) |
void |
setMatch(ExecutableBlock<Boolean> match) |
void |
setNoMatch(ExecutableBlock<Void> noMatch) |
void |
setOnMatch(ExecutableBlock<Void> onMatch) |
getModuleElements, getName, getNameAst, getNameExpression, setNameExpression, toString
getAnnotation, getAnnotationBlock, getAnnotations, getAnnotationsValues, getBooleanAnnotationValue, getBooleanAnnotationValue, hasAnnotation, setAnnotationBlock
getChildren, getComments, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
protected ExecutableBlock<Void> do_
protected ExecutableBlock<Boolean> match
protected ExecutableBlock<Void> noMatch
protected ExecutableBlock<Void> onMatch
protected int level
public void build(AST cst, IModule module)
build
in interface ModuleElement
build
in class NamedRule
public ExecutableBlock<Void> getOnMatch()
public void setOnMatch(ExecutableBlock<Void> onMatch)
public int getLevel()
public void setLevel(int level)
public ExecutableBlock<Void> getDo()
public void setDo(ExecutableBlock<Void> do_)
public ExecutableBlock<Boolean> getMatch()
public void setMatch(ExecutableBlock<Boolean> match)
public ExecutableBlock<Void> getNoMatch()
public void setNoMatch(ExecutableBlock<Void> noMatch)
Copyright © 2018. All rights reserved.