public class ASTRule extends ASTGlobalNamedElement
_originalSource, _preprocessedSource| Constructor and Description |
|---|
ASTRule() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInvalidCondition(ASTConditionBase condition) |
List<ASTItem> |
children() |
<T extends ASTItem> |
collectItemsOfType(Class<T> cls) |
ASTActionBase |
getAction() |
List<ASTCondition> |
getAllConditions() |
List<ASTOperandProperty> |
getAllParentProperties() |
ASTConditionBase |
getCondition() |
List<ASTConditionBase> |
getInvalidConditions() |
List<ASTOperandProperty> |
getRelatedProperties() |
boolean |
isConstrainedRule() |
String |
print(int level) |
void |
setAction(ASTActionBase action) |
void |
setCondition(ASTConditionBase con) |
getName, setNamegetGlobalPlain, getGlobalPosition, getOriginalSource, getPreprocessedSource, getProperties, getType, getTypecommon, getUntrimmedSource, hasSource, setGlobalPosition, setSource, space, walk, walk, walkpublic ASTConditionBase getCondition()
public void setCondition(ASTConditionBase con)
public ASTActionBase getAction()
public void setAction(ASTActionBase action)
public List<ASTOperandProperty> getRelatedProperties()
public List<ASTOperandProperty> getAllParentProperties()
public void addInvalidCondition(ASTConditionBase condition)
public List<ASTConditionBase> getInvalidConditions()
public boolean isConstrainedRule()
public List<ASTCondition> getAllConditions()
getAllConditions in class ASTItempublic <T extends ASTItem> List<T> collectItemsOfType(Class<T> cls)
collectItemsOfType in class ASTItemCopyright © 2020. All rights reserved.