77 lines · plain
1{{!2 Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3 See https://llvm.org/LICENSE.txt for license information.4 SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5 6 This file defines templates for generating comments7}}8{{#BriefComments}}9<div>10{{#.}}11 <p>{{TextComment}}</p>12{{/.}}13</div>14{{/BriefComments}}15{{#ParagraphComments}}16<div>17{{#.}}18 <p>{{TextComment}}</p>19{{/.}}20</div>21{{/ParagraphComments}}22{{#ParagraphComment}}23{{#Children}}24{{TextComment}}25{{/Children}}26{{/ParagraphComment}}27{{#HasParamComments}}28<h3>Parameters</h3>29{{#ParamComments}}30<div>31 <b>{{ParamName}}</b> {{#Explicit}}{{Direction}}{{/Explicit}} {{#Children}}{{TextComment}}{{/Children}}32</div> 33{{/ParamComments}}34{{/HasParamComments}}35{{#HasReturnComments}}36<h3>Returns</h3>37{{#ReturnComments}}38{{#.}}39<p>{{TextComment}}</p>40{{/.}}41{{/ReturnComments}}42{{/HasReturnComments}}43{{#HasCodeComments}}44<h3>Code</h3> 45{{#CodeComments}}46<div>47 <pre class="code-block">48 <code>49 {{#.}}50 {{.}}51 {{/.}}52 </code>53 </pre>54</div>55{{/CodeComments}}56{{/HasCodeComments}}57{{#HasThrowsComments}}58<h3>Throws</h3>59{{#ThrowsComments}}60<div>61 <b>{{Exception}}</b> {{#Children}}{{TextComment}}{{/Children}}62</div>63{{/ThrowsComments}}64{{/HasThrowsComments}}65{{#BlockCommandComment}}66 <div class="block-command-comment__command">67 <div class="block-command-command">68 {{Command}}69 </div>70 <div>71 {{#Children}}72 {{>Comments}}73 {{/Children}}74 </div>75 </div>76{{/BlockCommandComment}}77