All Implemented Interfaces:
UserDataStore, IFreezable, INode, Cloneable

public class Comment extends AstNode
  • Field Details

    • _commentType

      private CommentType _commentType
    • _startsLine

      private boolean _startsLine
    • _content

      private String _content
  • Constructor Details

  • Method Details

    • acceptVisitor

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

      public NodeType getNodeType()
      Specified by:
      getNodeType 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 String getContent()
    • setContent

      public final void setContent(String content)
    • matches

      public boolean matches(INode other, Match match)
      Specified by:
      matches in interface INode
      Specified by:
      matches in class AstNode