public class GuardCondition extends ASTCssNode
| Constructor and Description |
|---|
GuardCondition(HiddenTokenAwareTree underlyingStructure) |
GuardCondition(HiddenTokenAwareTree underlyingStructure,
boolean isNegated,
Expression condition) |
| Modifier and Type | Method and Description |
|---|---|
GuardCondition |
clone() |
List<? extends ASTCssNode> |
getChilds()
WARNING: it is up to the programmer to keep parent and childs getters
and setters consistent.
|
Expression |
getCondition() |
ASTCssNodeType |
getType() |
boolean |
isNegated() |
void |
setCondition(Expression condition) |
void |
setNegated(boolean isNegated) |
addOpeningComments, addTrailingComments, configureParentToAllChilds, getCharPositionInSourceLine, getOpeningComments, getOrphanComments, getParent, getSource, getSourceLine, getTrailingComments, getUnderlyingStructure, isFaulty, setOpeningComments, setOrphanComments, setParent, setTrailingComments, setUnderlyingStructurepublic GuardCondition(HiddenTokenAwareTree underlyingStructure)
public GuardCondition(HiddenTokenAwareTree underlyingStructure, boolean isNegated, Expression condition)
public boolean isNegated()
public void setNegated(boolean isNegated)
public Expression getCondition()
public void setCondition(Expression condition)
public List<? extends ASTCssNode> getChilds()
ASTCssNodegetChilds in class ASTCssNodepublic ASTCssNodeType getType()
getType in class ASTCssNodepublic GuardCondition clone()
clone in class ASTCssNodeCopyright © 2012-2013. All Rights Reserved.