Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: pkg/docgen/lib/src/models/mirror_based.dart

Issue 242363004: pkg/docgen: moved model classes into minilibs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: cl nits Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 library docgen.models.mirror_based;
6
7 import '../exports/source_mirrors.dart';
8
9 /// Docgen representation of an item to be documented, that wraps around a
10 /// dart2js mirror.
11 abstract class MirrorBased<TMirror extends DeclarationMirror> {
12 /// The original dart2js mirror around which this object wraps.
13 TMirror get mirror;
14
15 /// Return an informative [Object.toString] for debugging.
16 String toString() => "${super.toString()} - $mirror";
17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698