public class Comment extends ASTCssNode
| Constructor and Description |
|---|
Comment(HiddenTokenAwareTree underlyingStructure) |
Comment(HiddenTokenAwareTree underlyingStructure,
String comment) |
Comment(HiddenTokenAwareTree underlyingStructure,
String comment,
boolean hasNewLine) |
| Modifier and Type | Method and Description |
|---|---|
Comment |
clone() |
List<? extends ASTCssNode> |
getChilds()
WARNING: it is up to the programmer to keep parent and childs getters and
setters consistent.
|
String |
getComment() |
ASTCssNodeType |
getType() |
boolean |
hasNewLine() |
void |
setComment(String comment) |
void |
setHasNewLine(boolean hasNewLine) |
String |
toString() |
addOpeningComments, addTrailingComments, configureParentToAllChilds, getOpeningComments, getOrphanComments, getParent, getSource, getSourceColumn, getSourceLine, getTrailingComments, getUnderlyingStructure, hasParent, isFaulty, isSilent, setOpeningComments, setOrphanComments, setParent, setSilent, setTrailingComments, setUnderlyingStructurepublic Comment(HiddenTokenAwareTree underlyingStructure)
public Comment(HiddenTokenAwareTree underlyingStructure, String comment)
public Comment(HiddenTokenAwareTree underlyingStructure, String comment, boolean hasNewLine)
public String getComment()
public void setComment(String comment)
public boolean hasNewLine()
public void setHasNewLine(boolean hasNewLine)
public ASTCssNodeType getType()
getType in class ASTCssNode@NotAstProperty public List<? extends ASTCssNode> getChilds()
ASTCssNodegetChilds in class ASTCssNodepublic Comment clone()
clone in interface PubliclyCloneableclone in class ASTCssNodeCopyright © 2012-2014. All Rights Reserved.