aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/clang14/include/clang/Basic/CommentNodes.td
blob: af2aacc6855b5ce4afb4b61e6d81957c9b8017b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
include "clang/Basic/ASTNode.td"

class CommentNode<CommentNode base, bit abstract = 0> : ASTNode {
  CommentNode Base = base;
  bit Abstract = abstract;
}

def Comment : CommentNode<?, 1>;
def InlineContentComment : CommentNode<Comment, 1>;
  def TextComment : CommentNode<InlineContentComment>;
  def InlineCommandComment : CommentNode<InlineContentComment>;
  def HTMLTagComment : CommentNode<InlineContentComment, 1>;
    def HTMLStartTagComment : CommentNode<HTMLTagComment>;
    def HTMLEndTagComment : CommentNode<HTMLTagComment>;

def BlockContentComment : CommentNode<Comment, 1>;
  def ParagraphComment : CommentNode<BlockContentComment>;
  def BlockCommandComment : CommentNode<BlockContentComment>;
    def ParamCommandComment : CommentNode<BlockCommandComment>;
    def TParamCommandComment : CommentNode<BlockCommandComment>;
    def VerbatimBlockComment : CommentNode<BlockCommandComment>;
    def VerbatimLineComment : CommentNode<BlockCommandComment>;

def VerbatimBlockLineComment : CommentNode<Comment>;

def FullComment : CommentNode<Comment>;