Class Comment

    • Field Detail

      • _startsLine

        private boolean _startsLine
      • _content

        private java.lang.String _content
    • Constructor Detail

      • Comment

        public Comment​(java.lang.String content)
      • Comment

        public Comment​(java.lang.String content,
                       CommentType commentType)
    • Method Detail

      • acceptVisitor

        public <T,​R> R acceptVisitor​(IAstVisitor<? super T,​? extends R> visitor,
                                           T data)
        Specified by:
        acceptVisitor in class AstNode
      • getCommentType

        public final CommentType getCommentType()
      • setCommentType

        public final void setCommentType​(CommentType commentType)
      • getStartsLine

        public final boolean getStartsLine()
      • setStartsLine

        public final void setStartsLine​(boolean startsLine)
      • getContent

        public final java.lang.String getContent()
      • setContent

        public final void setContent​(java.lang.String content)