Class used for encoding comments as metadata annotations.

Properties

isDocComment bool
read-only

Is true if this comment is a documentation comment.

text String
read-only

The comment text as written in the source text.

trimmedText String
read-only

The comment text without the start, end, and padding text.

Constructors

Comment(String text, String trimmedText, bool isDocComment)
const