Exemplo n.º 1
0
        public static JsCatchClause Catch(JsVariableDeclarator declaration)
        {
            var catchClause = new JsCatchClause(declaration);

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

            return(catchClause);
        }