<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                文檔是一個團隊開發中十分重要的部分;但是在一個開發者分享自己的代碼給其他開發者的時候也是一個基本的需求,甚至打算重構代碼,面對一個幾個月前編寫的沒有文檔的代碼也是十分痛苦的事情。幸好,Haxe 提供了一個很好的工具,使用代碼和代碼的注釋自動產生文檔。 編譯器在打開編譯開關 -xml 生成一個 XML 文件,它包含完整的編譯項目中的代碼描述。 XML 包含從類定義到變量類型之間的方方面面的信息。此外,一些注釋被保留,并方便的關聯到它們描述的代碼。要被包含進 XML 文件,注釋必須是塊類型的,使用兩個星號到斜線后,而不是一個;所有不符合這個規則的注釋都會被丟棄。作為一個例子,如下的 enum 已經被正確的提供文檔級的注釋。 ~~~ // fragment of file QueryTools.hx /** * A condition is a test to perform in the query. Many conditions can be * joined together using the “and” or “or” constructors. */ enum Condition { /** * Test if the passed field is Null. */ TestIsNull(field : String); /** * Test a numeric field against a value using a numeric operator. */ TestNumber(field : String, operator : NumericOp, value : Float); /** * Test a text field against a text value using a text operator. */ TestText(field : String, operator : TextOp, value : String); /** * Joins many conditions in a group. The group will evaluate to true if * all of its members evaluate to true. */ And(tests : Array < Condition > ); /** * Joins many conditions in a group. The group will evaluate to true if * at least one of its members evaluates to true. */ Or(tests : Array < Condition > ); } ~~~ 當通過下面的命令編譯,一個 doc.xml 文件同時生成: ~~~ haxe -neko neko.n -xml doc.xml QueryTools ~~~ 現在,有兩種選擇生成一個可讀的文檔:使用 haxedoc 工具來生成離線文檔,或者使用 haxedoc.n 字節碼來創建在線文檔。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看