<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>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                **基本使用** Haxe編譯器通常從命令行調用,使用一些參數來回答兩個問題: > **Basic Usage** The Haxe Compiler is typically invoked from command line with several arguments which have to answer two questions: * 什么應該被編譯? * 輸出應該是什么? > * What should be compiled? > * What should the output be? 要回答第一個問題,通常通過 -cp path 參數提供一個類路徑就足夠了,主要的類通過 -main dot_path 參數被編譯。Haxe編譯器然后解析main類的文件,開始編譯。 > To answer the ?rst question, it is usually suf?cient to provide a class path via the -cp path argument, along with the main class to be compiled via the -main dot_path argument. The Haxe Compiler then resolves the main class ?le and begins compilation. 第二個問題通常歸結要提供一個特定的描述目標語言的參數。每個Haxe目標語言都有一個專用的命令行開關,例如 -js file_name 用于JavaScript,-php directory用于PHP。根據目標語言的性質,參數值可能是一個文件名(對于-js,-swf和neko),也可能是一個目錄路徑。 > The second question usually comes down to providing an argument specifying the desired target. Each Haxe target has a dedicated command line switch, such as -js file_name for JavaScript and -php directory for PHP. Depending on the nature of the target, the argument value is either a ?le name (for -js, -swf and neko) or a directory path. **一般的參數** *輸入*: > Common arguments *Input*: * -cp path :添加一個類路徑,可能是可以被發現的一個 .hx 源文件或者一個包(子目錄)。 * \-lib library\_name :添加一個 Haxelib(第11章)庫。默認,本地Haxelib倉庫中最新的版本被使用。要使用特定版本,可以使用 \-lib library\_name:version 。 * -main dot_path :設置主類。 > **-cp path** Addsaclasspathwhere .hx source ?les or packages (sub-directories) can be found. > **-lib library_name** Adds a Haxelib (Chapter 11) library. By default the most recent version in the local Haxelib repository is used. To use speci?c version, -lib library_name:version can be used. > **-main dot_path** Sets the main class. *輸出*: > *output*: -js filename:生成JavaScript(第12.1節)源代碼到指定文件。 -as3 directory:生成ActionScript 3源代碼到指定目錄。 -swf file_name:生成指定文件為Flash(第12.2節) .swf 文件。 -neko file_name : 生成Neko(第12.3節)二進制到指定文件。 -php directory:生成PHP(第12.4節)源代碼到指定目錄。 -cpp directory:生成 C++(第12.5節)源代碼到指定目錄,并使用原生C++編譯器編譯。 -cs directory:生成C#(第12.7節)源代碼到指定目錄。 -java directory:生成Java(第12.6節)源代碼到指定目錄,并使用Java編譯器編譯。 -python file_name:生成Python(第12.8節)源代碼到指定文件。 > **-js file_name** Generates JavaScript (12.1) source code in speci?ed ?le. > **-as3 directory** Generates ActionScript 3 source code in speci?ed directory. > **-swf file_name** Generates the speci?ed ?le as Flash (12.2) .swf. > **-neko file_name** Generates Neko (12.3) binary as speci?ed ?le. > **-php directory** Generates PHP (12.4) source code in speci?ed directory. > **-cpp directory** Generates C++(12.5) source code in speci?ed directory and compiles it using native C++ compiler. > **-cs directory** Generates C# (12.7) source code in speci?ed directory. > **-java directory** Generates Java (12.6) source code in speci?ed directory and compiles it using the Java Compiler. > **-python file_name** Generates Python (12.8) source code in the speci?ed ?le.
                  <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>

                              哎呀哎呀视频在线观看