Пример #1
0
 void _Visit(JsCatchClause node)
 {
     Keyword("catch");
     Control("(");
     Literal(node.IdentifierName);
     Control(")");
     Visit(node.Block);
 }
 protected virtual void _visit( JsCatchClause node )
 {
     throw new NotImplementedException( "JsCatchClause" );
 }
 protected override void _visit( JsCatchClause node )
 {
     if (node != null)
     {
         // TODO: node.IdentifierName ?
         visit( node.Block );
     }
 }