Creates a new Comment instance.
All associated block level tags.
All modifier tags present on the comment, e.g. @alpha
, @beta
.
The content of the comment which is not associated with a block tag.
Create a deep clone of this comment.
Return the first tag with the given name.
The found tag or undefined.
The name of the tag to look for.
Get all tags with the given tag name.
Test whether this comment contains a tag with the given name.
TRUE when this comment contains a tag with the given name, otherwise FALSE.
The name of the tag to look for.
Has this comment a visible component?
TRUE when this comment has a visible component.
Internal
Returns true if this comment is completely empty.
Removes all block tags with the given tag name from the comment.
Static
cloneStatic
combineDebugging utility for combining parts into a simple string. Not suitable for rendering, but can be useful in tests.
Generated using TypeDoc
A model that represents a comment.
Instances of this model are created by the CommentPlugin. You can retrieve comments through the comment property.