Class CommentLine


  • public class CommentLine
    extends Object
    A comment line. It may be a block comment, blank line, or inline comment.
    • Constructor Detail

      • CommentLine

        public CommentLine​(CommentEvent event)
        Create
        Parameters:
        event - - the source
      • CommentLine

        public CommentLine​(Mark startMark,
                           Mark endMark,
                           String value,
                           CommentType commentType)
        Create
        Parameters:
        startMark - - start
        endMark - - end
        value - - text
        commentType - - kind
    • Method Detail

      • getEndMark

        public Mark getEndMark()
        getter
        Returns:
        end
      • getStartMark

        public Mark getStartMark()
        getter
        Returns:
        start
      • getCommentType

        public CommentType getCommentType()
        Getter
        Returns:
        kind
      • getValue

        public String getValue()
        Value of this comment.
        Returns:
        comment's value.