aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/clang-doc/assets/comment-template.mustache
blob: 723ace7a0eed120f899b553e62702bb011945786 (plain)
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
28
29
30
31
32
33
34
{{!
    Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
    See https://llvm.org/LICENSE.txt for license information.
    SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
    
    This file defines templates for generating comments
}}
{{#FullComment}}
    {{#Children}}
    {{>Comments}}
    {{/Children}}
{{/FullComment}}
{{#ParagraphComment}}
    {{#Children}}
    {{>Comments}}
    {{/Children}}
{{/ParagraphComment}}
{{#BlockCommandComment}}
    <div class="block-command-comment__command">
        <div class="block-command-command">
            {{Command}}
        </div>
        <div>
            {{#Children}}
                {{>Comments}}
            {{/Children}}
        </div>
    </div>
{{/BlockCommandComment}}
{{#TextComment}}
    <div>
        <p>{{TextComment}}</p>
    </div>
{{/TextComment}}