コード例 #1
0
 public static JsTryStatement Finally(this JsTryStatement tryStatement)
 {
     tryStatement.Finally = new JsBlockStatement();
     return(tryStatement);
 }
コード例 #2
0
 public static JsTryStatement Catch(this JsTryStatement tryStatement, JsCatchClause catchClause)
 {
     tryStatement.Catch = catchClause;
     return(tryStatement);
 }
コード例 #3
0
 public static JsTryStatement Catch(this JsTryStatement tryStatement, JsVariableDeclarator declaration)
 {
     tryStatement.Catch = Catch(declaration);
     return(tryStatement);
 }
コード例 #4
0
        public static JsTryStatement Try()
        {
            var result = new JsTryStatement();

            return(result);
        }