public final class DocCommentMarkdown extends DocComment
| Constructor and Description |
|---|
DocCommentMarkdown(AstLocation location,
java.lang.String markdown,
boolean isSticky,
boolean isOneLiner,
boolean isIndented)
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.lang.String |
getMarkdown()
Gets markdown documentation.
|
DocCommentClassic |
toClassic()
Converts this markdown documentation comment to the classic documentation comment.
|
void |
visitChildren(ZserioAstVisitor visitor)
Visit children of the current AST node using given visitor.
|
isOneLiner, isStickygetLocationpublic DocCommentMarkdown(AstLocation location, java.lang.String markdown, boolean isSticky, boolean isOneLiner, boolean isIndented)
location - AST node location.markdown - Markdown documentation.isSticky - True if the Markdown documentation comment is not followed by blank line.isOneLiner - True if the documentation comment is on one line in the source.isIndented - True if all lines are indented at least as the begin-comment delimiter.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()
toClassic in class DocCommentpublic java.lang.String getMarkdown()
Last updated 2024-07-18 11:31:32