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

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

            return(catchClause);
        }