public final class DocCommentClassic extends DocComment
| Constructor and Description |
|---|
DocCommentClassic(AstLocation location,
java.util.List<DocParagraph> paragraphs,
boolean isSticky,
boolean isOneLiner)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ZserioAstVisitor visitor)
Accept zserio visitor.
|
DocComment |
findParamDoc(java.lang.String paramName)
Finds the documentation comment of the given parameter in this documentation comment.
|
java.util.List<DocParagraph> |
getParagraphs()
Gets doc comment paragraphs.
|
DocCommentClassic |
toClassic()
Converts the documentation comment to the classic documentation comment.
|
void |
visitChildren(ZserioAstVisitor visitor)
Visit children of the current AST node using given visitor.
|
isOneLiner, isStickygetLocationpublic DocCommentClassic(AstLocation location, java.util.List<DocParagraph> paragraphs, boolean isSticky, boolean isOneLiner)
location - AST node location.paragraphs - Doc comment paragraphs.isSticky - True if the classic documentation comment is not followed by blank line.isOneLiner - True if the documentation comment is on one line in the source.public void accept(ZserioAstVisitor visitor)
AstNodevisitor - Visitor to accept.public void visitChildren(ZserioAstVisitor visitor)
AstNodevisitChildren in interface AstNodevisitChildren in class AstNodeBasevisitor - Visitor to use.public DocComment findParamDoc(java.lang.String paramName)
DocCommentfindParamDoc in class DocCommentparamName - Name of the parameter to find.public DocCommentClassic toClassic()
DocCommenttoClassic in class DocCommentpublic java.util.List<DocParagraph> getParagraphs()
Last updated 2024-10-29 12:52:38