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

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

Issue 1067363003: Tweaks for Element encoding and decoding. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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
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 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine.element_handle; 8 library engine.element_handle;
9 9
10 import 'ast.dart'; 10 import 'ast.dart';
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 @override 796 @override
797 Namespace get publicNamespace => actualElement.publicNamespace; 797 Namespace get publicNamespace => actualElement.publicNamespace;
798 798
799 @override 799 @override
800 List<CompilationUnitElement> get units => actualElement.units; 800 List<CompilationUnitElement> get units => actualElement.units;
801 801
802 @override 802 @override
803 List<LibraryElement> get visibleLibraries => actualElement.visibleLibraries; 803 List<LibraryElement> get visibleLibraries => actualElement.visibleLibraries;
804 804
805 @override 805 @override
806 Element getElementAt(int offset) => actualElement.getElementAt(offset);
807
808 @override
806 List<ImportElement> getImportsWithPrefix(PrefixElement prefixElement) => 809 List<ImportElement> getImportsWithPrefix(PrefixElement prefixElement) =>
807 actualElement.getImportsWithPrefix(prefixElement); 810 actualElement.getImportsWithPrefix(prefixElement);
808 811
809 @override 812 @override
810 ClassElement getType(String className) => actualElement.getType(className); 813 ClassElement getType(String className) => actualElement.getType(className);
811 814
812 @override 815 @override
813 bool isUpToDate(int timeStamp) => actualElement.isUpToDate(timeStamp); 816 bool isUpToDate(int timeStamp) => actualElement.isUpToDate(timeStamp);
814 } 817 }
815 818
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
1086 DartType get type => actualElement.type; 1089 DartType get type => actualElement.type;
1087 } 1090 }
1088 /** 1091 /**
1089 * TODO(scheglov) invalid implementation 1092 * TODO(scheglov) invalid implementation
1090 */ 1093 */
1091 class WeakReference<T> { 1094 class WeakReference<T> {
1092 final T value; 1095 final T value;
1093 WeakReference(this.value); 1096 WeakReference(this.value);
1094 T get() => value; 1097 T get() => value;
1095 } 1098 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698