void _Visit(JsTryStatement node) { Keyword("try"); Visit(node.TryBlock); if (node.CatchClause != null) { Visit(node.CatchClause); } if (node.FinallyBlock != null) { Keyword("finally"); Visit(node.FinallyBlock); } }
protected virtual void _visit( JsTryStatement node ) { throw new NotImplementedException( "JsTryStatement" ); }
protected override void _visit( JsTryStatement node ) { if (node != null) { visit( node.TryBlock ); visit( node.CatchClause ); visit( node.FinallyBlock ); } }