AST_NODE_USED_FLAGS, flags, NULLCHILD_ITERATOR| Constructor and Description |
|---|
Comment(java.lang.String content) |
Comment(java.lang.String content,
CommentType commentType) |
| Modifier and Type | Method and Description |
|---|---|
<T,R> R |
acceptVisitor(IAstVisitor<? super T,? extends R> visitor,
T data) |
CommentType |
getCommentType() |
java.lang.String |
getContent() |
NodeType |
getNodeType() |
boolean |
getStartsLine() |
boolean |
matches(INode other,
Match match) |
void |
setCommentType(CommentType commentType) |
void |
setContent(java.lang.String content) |
void |
setStartsLine(boolean startsLine) |
addChild, clone, contains, contains, copyUserDataFrom, forPattern, freezeCore, getAncestors, getAncestors, getAncestorsAndSelf, getChildByRole, getChildren, getChildrenByRole, getDescendants, getDescendantsAndSelf, getEndLocation, getFirstChild, getLastChild, getNextNode, getNextSibling, getNextSibling, getParent, getParent, getPreviousNode, getPreviousSibling, getPreviousSibling, getRegion, getRole, getStartLocation, getText, getText, getUserData, hasChildren, insertChildAfter, insertChildBefore, insertChildrenAfter, insertChildrenBefore, isAncestorOf, isDescendantOf, isInside, isInside, isLoop, isNull, isReference, isUnconditionalBranch, match, matches, matchesCollection, matchString, putUserData, putUserDataIfAbsent, remove, replace, replaceWith, replaceWith, setChildByRole, setRole, toStringpublic Comment(java.lang.String content)
public Comment(java.lang.String content,
CommentType commentType)
public <T,R> R acceptVisitor(IAstVisitor<? super T,? extends R> visitor, T data)
acceptVisitor in class AstNodepublic NodeType getNodeType()
getNodeType in class AstNodepublic final CommentType getCommentType()
public final void setCommentType(CommentType commentType)
public final boolean getStartsLine()
public final void setStartsLine(boolean startsLine)
public final java.lang.String getContent()
public final void setContent(java.lang.String content)