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

Side by Side Diff: pkg/analyzer/lib/src/generated/element_handle.dart

Issue 1376473007: Add the 'docRange' property and use it to compute documentation comment. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « pkg/analyzer/lib/src/generated/element.dart ('k') | pkg/analyzer/lib/src/generated/engine.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 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 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library engine.element_handle; 5 library engine.element_handle;
6 6
7 import 'ast.dart'; 7 import 'ast.dart';
8 import 'element.dart'; 8 import 'element.dart';
9 import 'engine.dart'; 9 import 'engine.dart';
10 import 'java_core.dart'; 10 import 'java_core.dart';
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 return element; 330 return element;
331 } 331 }
332 332
333 @override 333 @override
334 AnalysisContext get context => _context; 334 AnalysisContext get context => _context;
335 335
336 @override 336 @override
337 String get displayName => actualElement.displayName; 337 String get displayName => actualElement.displayName;
338 338
339 @override 339 @override
340 SourceRange get docRange => actualElement.docRange;
341
342 @override
340 Element get enclosingElement => actualElement.enclosingElement; 343 Element get enclosingElement => actualElement.enclosingElement;
341 344
342 @override 345 @override
343 int get hashCode => _location.hashCode; 346 int get hashCode => _location.hashCode;
344 347
345 @override 348 @override
346 bool get isDeprecated => actualElement.isDeprecated; 349 bool get isDeprecated => actualElement.isDeprecated;
347 350
348 @override 351 @override
349 bool get isOverride => actualElement.isOverride; 352 bool get isOverride => actualElement.isOverride;
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 } 1119 }
1117 1120
1118 /** 1121 /**
1119 * TODO(scheglov) invalid implementation 1122 * TODO(scheglov) invalid implementation
1120 */ 1123 */
1121 class WeakReference<T> { 1124 class WeakReference<T> {
1122 final T value; 1125 final T value;
1123 WeakReference(this.value); 1126 WeakReference(this.value);
1124 T get() => value; 1127 T get() => value;
1125 } 1128 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/element.dart ('k') | pkg/analyzer/lib/src/generated/engine.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698