public static JsCatchClause Catch(JsVariableDeclarator declaration) { var catchClause = new JsCatchClause(declaration); return(catchClause); }
public static JsTryStatement Catch(this JsTryStatement tryStatement, JsCatchClause catchClause) { tryStatement.Catch = catchClause; return(tryStatement); }
public static JsCatchClause Catch() { var catchClause = new JsCatchClause(); return(catchClause); }