This represents a comment that was encountered during parsing. It is the base class for all comment types.

Attributes
Read

The location of this comment in the source.

Class Methods

Create a new comment object with the given location.

Instance Methods

Implement the hash pattern matching interface for Comment.

Returns the content of the comment by slicing it from the source code.