public class Comment extends ASTCssNode
| Constructor and Description |
|---|
Comment(HiddenTokenAwareTree underlyingStructure) |
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, getCharPositionInSourceLine, getOpeningComments, getOrphanComments, getParent, getSource, getSourceLine, getTrailingComments, getUnderlyingStructure, isFaulty, setOpeningComments, setOrphanComments, setParent, setTrailingComments, setUnderlyingStructurepublic Comment(HiddenTokenAwareTree underlyingStructure)
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 ASTCssNodepublic List<? extends ASTCssNode> getChilds()
ASTCssNodegetChilds in class ASTCssNodepublic Comment clone()
clone in class ASTCssNodeCopyright © 2012-2013. All Rights Reserved.