Interface IASTComment

  • All Superinterfaces:
    IASTNode

    public interface IASTComment
    extends IASTNode
    This class represents a comment.
    Restriction:
    This interface is not intended to be implemented by clients.
    Restriction:
    This interface is not intended to be extended by clients.
    • Field Detail

      • EMPTY_COMMENT_ARRAY

        static final IASTComment[] EMPTY_COMMENT_ARRAY
        Since:
        5.4
    • Method Detail

      • setComment

        void setComment​(char[] comment)
        Sets the comment.
        Parameters:
        comment - the text of the comment
      • getComment

        char[] getComment()
        Returns a char array representation of the comment.
      • isBlockComment

        boolean isBlockComment()
        Returns true if this is a block comment.