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

Side by Side Diff: pkg/analyzer/lib/src/dart/element/handle.dart

Issue 2093033003: Fix ResynthesizerResultProvider's handling of parts. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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
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 analyzer.src.generated.element_handle; 5 library analyzer.src.generated.element_handle;
6 6
7 import 'package:analyzer/dart/ast/ast.dart'; 7 import 'package:analyzer/dart/ast/ast.dart';
8 import 'package:analyzer/dart/constant/value.dart'; 8 import 'package:analyzer/dart/constant/value.dart';
9 import 'package:analyzer/dart/element/element.dart'; 9 import 'package:analyzer/dart/element/element.dart';
10 import 'package:analyzer/dart/element/type.dart'; 10 import 'package:analyzer/dart/element/type.dart';
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 bool get isRequired => actualElement.isRequired; 375 bool get isRequired => actualElement.isRequired;
376 376
377 @override 377 @override
378 bool get isSynthetic => actualElement.isSynthetic; 378 bool get isSynthetic => actualElement.isSynthetic;
379 379
380 @override 380 @override
381 LibraryElement get library => 381 LibraryElement get library =>
382 getAncestor((element) => element is LibraryElement); 382 getAncestor((element) => element is LibraryElement);
383 383
384 @override 384 @override
385 Source get librarySource => actualElement.librarySource;
386
387 @override
385 ElementLocation get location => _location; 388 ElementLocation get location => _location;
386 389
387 @override 390 @override
388 List<ElementAnnotation> get metadata => actualElement.metadata; 391 List<ElementAnnotation> get metadata => actualElement.metadata;
389 392
390 @override 393 @override
391 String get name => actualElement.name; 394 String get name => actualElement.name;
392 395
393 @override 396 @override
394 int get nameLength => actualElement.nameLength; 397 int get nameLength => actualElement.nameLength;
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
1113 1116
1114 @override 1117 @override
1115 bool get isStatic => actualElement.isStatic; 1118 bool get isStatic => actualElement.isStatic;
1116 1119
1117 @override 1120 @override
1118 DartType get type => actualElement.type; 1121 DartType get type => actualElement.type;
1119 1122
1120 @override 1123 @override
1121 DartObject computeConstantValue() => actualElement.computeConstantValue(); 1124 DartObject computeConstantValue() => actualElement.computeConstantValue();
1122 } 1125 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/element.dart ('k') | pkg/analyzer/lib/src/dart/element/member.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698