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

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                Haxe允許捕獲值,使用 try/catch 語法: > Haxe allows catching values using its try/catch syntax: ~~~ try try-expr catch(varName1:Type1) catch-expr-1 catch(varName2:Type2) catch-expr-2 ~~~ 如果在運行時try表達式引發一個 throw(第5.22節),它可以被任何后續的 catch塊捕捉到。這些塊由下面部分組成: > If during runtime the evaluation of try-expression causes a throw(5.22),it can be caught by any subsequent catch block. These blocks consist of * 一個變量名用來保存被拋出的值 * 一個顯式的類型注釋,決定捕捉哪種類型的值 * 這種情況下要執行的表達式 > * a variable name which holds the thrown value, > * an explicit type annotation which determines which types of values to catch, and > * the expression to execute in that case. Haxe 允許拋出和捕捉任何類型的值,它不限于繼承自一個特定的異常或者錯誤類的類型。catch塊從上至下檢查,第一個和拋出的值類型兼容的被采用。 > Haxe allows throwing and catching any kind of value, it is not limited to types inheriting from a speci?c exception or error class. Catch blocks are checked from top to bottom with the ?rst one whose type is compatible with the thrown value being picked. 這個過程有許多和編譯時的合一(第3.5節)行為的相似之處。然而,因為檢查必須在運行時進行,所以有幾個限制: > This process has many similarities to the compile-time uni?cation (3.5) behavior. However, since the check has to be done at runtime there are several restrictions: * 類型必須在運行時存在:類實例(第2.3節),enum實例(第2.4節),抽象核心類型(第2.8.7節)和 動態類型(第2.7節)。 * 類型參數必須只能為 Dynamic(第2.7節)。 > * The type must exist at runtime: Class instances (2.3), enum instances (2.4), abstract core types (2.8.7) and Dynamic (2.7). > * Type parameters can only be Dynamic (2.7).
                  <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>

                              哎呀哎呀视频在线观看