示例#1
0
        public static JsCatchClause Catch(JsVariableDeclarator declaration)
        {
            var catchClause = new JsCatchClause(declaration);

            return(catchClause);
        }
示例#2
0
 public static JsTryStatement Catch(this JsTryStatement tryStatement, JsCatchClause catchClause)
 {
     tryStatement.Catch = catchClause;
     return(tryStatement);
 }
示例#3
0
        public static JsCatchClause Catch()
        {
            var catchClause = new JsCatchClause();

            return(catchClause);
        }