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

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

Issue 2235373003: Fix summary handling of unresolved imports, exports, and parts. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Simplify `allowMissingFiles` Created 4 years, 4 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 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 @override 555 @override
556 ElementKind get kind => ElementKind.EXPORT; 556 ElementKind get kind => ElementKind.EXPORT;
557 557
558 @override 558 @override
559 String get uri => actualElement.uri; 559 String get uri => actualElement.uri;
560 560
561 @override 561 @override
562 int get uriEnd => actualElement.uriEnd; 562 int get uriEnd => actualElement.uriEnd;
563 563
564 @override 564 @override
565 bool get uriExists => actualElement.uriExists;
566
567 @override
568 int get uriOffset => actualElement.uriOffset; 565 int get uriOffset => actualElement.uriOffset;
569 } 566 }
570 567
571 /** 568 /**
572 * A handle to a [FieldElement]. 569 * A handle to a [FieldElement].
573 */ 570 */
574 class FieldElementHandle extends PropertyInducingElementHandle 571 class FieldElementHandle extends PropertyInducingElementHandle
575 implements FieldElement { 572 implements FieldElement {
576 /** 573 /**
577 * Initialize a newly created element handle to represent the element at the 574 * Initialize a newly created element handle to represent the element at the
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 @override 700 @override
704 int get prefixOffset => actualElement.prefixOffset; 701 int get prefixOffset => actualElement.prefixOffset;
705 702
706 @override 703 @override
707 String get uri => actualElement.uri; 704 String get uri => actualElement.uri;
708 705
709 @override 706 @override
710 int get uriEnd => actualElement.uriEnd; 707 int get uriEnd => actualElement.uriEnd;
711 708
712 @override 709 @override
713 bool get uriExists => actualElement.uriExists;
714
715 @override
716 int get uriOffset => actualElement.uriOffset; 710 int get uriOffset => actualElement.uriOffset;
717 } 711 }
718 712
719 /** 713 /**
720 * A handle to a [LabelElement]. 714 * A handle to a [LabelElement].
721 */ 715 */
722 class LabelElementHandle extends ElementHandle implements LabelElement { 716 class LabelElementHandle extends ElementHandle implements LabelElement {
723 /** 717 /**
724 * Initialize a newly created element handle to represent the element at the 718 * Initialize a newly created element handle to represent the element at the
725 * given [_location]. The [_resynthesizer] will be used to resynthesize the 719 * given [_location]. The [_resynthesizer] will be used to resynthesize the
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
1125 1119
1126 @override 1120 @override
1127 bool get isStatic => actualElement.isStatic; 1121 bool get isStatic => actualElement.isStatic;
1128 1122
1129 @override 1123 @override
1130 DartType get type => actualElement.type; 1124 DartType get type => actualElement.type;
1131 1125
1132 @override 1126 @override
1133 DartObject computeConstantValue() => actualElement.computeConstantValue(); 1127 DartObject computeConstantValue() => actualElement.computeConstantValue();
1134 } 1128 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/element.dart ('k') | pkg/analyzer/lib/src/dart/resolver/scope.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698