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

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

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.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
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
6 // significant change. Please see the README file for more information.
7
8 library engine.element_handle; 5 library engine.element_handle;
9 6
10 import 'ast.dart'; 7 import 'ast.dart';
11 import 'element.dart'; 8 import 'element.dart';
12 import 'engine.dart'; 9 import 'engine.dart';
13 import 'java_core.dart'; 10 import 'java_core.dart';
14 import 'java_engine.dart'; 11 import 'java_engine.dart';
15 import 'resolver.dart'; 12 import 'resolver.dart';
16 import 'source.dart'; 13 import 'source.dart';
17 import 'utilities_dart.dart'; 14 import 'utilities_dart.dart';
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 return element; 330 return element;
334 } 331 }
335 332
336 @override 333 @override
337 AnalysisContext get context => _context; 334 AnalysisContext get context => _context;
338 335
339 @override 336 @override
340 String get displayName => actualElement.displayName; 337 String get displayName => actualElement.displayName;
341 338
342 @override 339 @override
340 SourceRange get docRange => actualElement.docRange;
341
342 @override
343 Element get enclosingElement => actualElement.enclosingElement; 343 Element get enclosingElement => actualElement.enclosingElement;
344 344
345 @override 345 @override
346 int get hashCode => _location.hashCode; 346 int get hashCode => _location.hashCode;
347 347
348 @override 348 @override
349 bool get isDeprecated => actualElement.isDeprecated; 349 bool get isDeprecated => actualElement.isDeprecated;
350 350
351 @override 351 @override
352 bool get isOverride => actualElement.isOverride; 352 bool get isOverride => actualElement.isOverride;
(...skipping 14 matching lines...) Expand all
367 @override 367 @override
368 ElementLocation get location => _location; 368 ElementLocation get location => _location;
369 369
370 @override 370 @override
371 List<ElementAnnotation> get metadata => actualElement.metadata; 371 List<ElementAnnotation> get metadata => actualElement.metadata;
372 372
373 @override 373 @override
374 String get name => actualElement.name; 374 String get name => actualElement.name;
375 375
376 @override 376 @override
377 int get nameLength => actualElement.nameLength;
378
379 @override
377 int get nameOffset => actualElement.nameOffset; 380 int get nameOffset => actualElement.nameOffset;
378 381
379 @deprecated 382 @deprecated
380 @override 383 @override
381 AstNode get node => computeNode(); 384 AstNode get node => computeNode();
382 385
383 @override 386 @override
384 Source get source => actualElement.source; 387 Source get source => actualElement.source;
385 388
386 @override 389 @override
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 ExecutableElementHandle(ExecutableElement element) : super(element); 511 ExecutableElementHandle(ExecutableElement element) : super(element);
509 512
510 @override 513 @override
511 ExecutableElement get actualElement => 514 ExecutableElement get actualElement =>
512 super.actualElement as ExecutableElement; 515 super.actualElement as ExecutableElement;
513 516
514 @override 517 @override
515 List<FunctionElement> get functions => actualElement.functions; 518 List<FunctionElement> get functions => actualElement.functions;
516 519
517 @override 520 @override
521 bool get hasImplicitReturnType => actualElement.hasImplicitReturnType;
522
523 @override
518 bool get isAbstract => actualElement.isAbstract; 524 bool get isAbstract => actualElement.isAbstract;
519 525
520 @override 526 @override
521 bool get isAsynchronous => actualElement.isAsynchronous; 527 bool get isAsynchronous => actualElement.isAsynchronous;
522 528
523 @override 529 @override
524 bool get isExternal => actualElement.isExternal; 530 bool get isExternal => actualElement.isExternal;
525 531
526 @override 532 @override
527 bool get isGenerator => actualElement.isGenerator; 533 bool get isGenerator => actualElement.isGenerator;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 @override 609 @override
604 FieldElement get actualElement => super.actualElement as FieldElement; 610 FieldElement get actualElement => super.actualElement as FieldElement;
605 611
606 @override 612 @override
607 ClassElement get enclosingElement => actualElement.enclosingElement; 613 ClassElement get enclosingElement => actualElement.enclosingElement;
608 614
609 @override 615 @override
610 bool get isEnumConstant => actualElement.isEnumConstant; 616 bool get isEnumConstant => actualElement.isEnumConstant;
611 617
612 @override 618 @override
613 bool get isStatic => actualElement.isStatic;
614
615 @override
616 ElementKind get kind => ElementKind.FIELD; 619 ElementKind get kind => ElementKind.FIELD;
617 620
618 @override 621 @override
619 VariableDeclaration computeNode() => actualElement.computeNode(); 622 VariableDeclaration computeNode() => actualElement.computeNode();
620 } 623 }
621 624
622 /** 625 /**
623 * Instances of the class `FunctionElementHandle` implement a handle to a 626 * Instances of the class `FunctionElementHandle` implement a handle to a
624 * `FunctionElement`. 627 * `FunctionElement`.
625 */ 628 */
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 891
889 @override 892 @override
890 MethodDeclaration computeNode() => actualElement.computeNode(); 893 MethodDeclaration computeNode() => actualElement.computeNode();
891 } 894 }
892 895
893 /** 896 /**
894 * Instances of the class `ParameterElementHandle` implement a handle to a 897 * Instances of the class `ParameterElementHandle` implement a handle to a
895 * `ParameterElement`. 898 * `ParameterElement`.
896 */ 899 */
897 class ParameterElementHandle extends VariableElementHandle 900 class ParameterElementHandle extends VariableElementHandle
901 with ParameterElementMixin
898 implements ParameterElement { 902 implements ParameterElement {
899 /** 903 /**
900 * Initialize a newly created element handle to represent the given element. 904 * Initialize a newly created element handle to represent the given element.
901 * 905 *
902 * @param element the element being represented 906 * @param element the element being represented
903 */ 907 */
904 ParameterElementHandle(ParameterElement element) : super(element); 908 ParameterElementHandle(ParameterElement element) : super(element);
905 909
906 @override 910 @override
907 ParameterElement get actualElement => super.actualElement as ParameterElement; 911 ParameterElement get actualElement => super.actualElement as ParameterElement;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 : super(element); 1017 : super(element);
1014 1018
1015 @override 1019 @override
1016 PropertyInducingElement get actualElement => 1020 PropertyInducingElement get actualElement =>
1017 super.actualElement as PropertyInducingElement; 1021 super.actualElement as PropertyInducingElement;
1018 1022
1019 @override 1023 @override
1020 PropertyAccessorElement get getter => actualElement.getter; 1024 PropertyAccessorElement get getter => actualElement.getter;
1021 1025
1022 @override 1026 @override
1023 bool get isStatic => actualElement.isStatic;
1024
1025 @override
1026 DartType get propagatedType => actualElement.propagatedType; 1027 DartType get propagatedType => actualElement.propagatedType;
1027 1028
1028 @override 1029 @override
1029 PropertyAccessorElement get setter => actualElement.setter; 1030 PropertyAccessorElement get setter => actualElement.setter;
1030 } 1031 }
1031 1032
1032 /** 1033 /**
1033 * Instances of the class `TopLevelVariableElementHandle` implement a handle to a 1034 * Instances of the class `TopLevelVariableElementHandle` implement a handle to a
1034 * `TopLevelVariableElement`. 1035 * `TopLevelVariableElement`.
1035 */ 1036 */
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
1084 * Initialize a newly created element handle to represent the given element. 1085 * Initialize a newly created element handle to represent the given element.
1085 * 1086 *
1086 * @param element the element being represented 1087 * @param element the element being represented
1087 */ 1088 */
1088 VariableElementHandle(VariableElement element) : super(element); 1089 VariableElementHandle(VariableElement element) : super(element);
1089 1090
1090 @override 1091 @override
1091 VariableElement get actualElement => super.actualElement as VariableElement; 1092 VariableElement get actualElement => super.actualElement as VariableElement;
1092 1093
1093 @override 1094 @override
1095 bool get hasImplicitType => actualElement.hasImplicitType;
1096
1097 @override
1094 FunctionElement get initializer => actualElement.initializer; 1098 FunctionElement get initializer => actualElement.initializer;
1095 1099
1096 @override 1100 @override
1097 bool get isConst => actualElement.isConst; 1101 bool get isConst => actualElement.isConst;
1098 1102
1099 @override 1103 @override
1100 bool get isFinal => actualElement.isFinal; 1104 bool get isFinal => actualElement.isFinal;
1101 1105
1102 @override 1106 @override
1103 bool get isPotentiallyMutatedInClosure => 1107 bool get isPotentiallyMutatedInClosure =>
1104 actualElement.isPotentiallyMutatedInClosure; 1108 actualElement.isPotentiallyMutatedInClosure;
1105 1109
1106 @override 1110 @override
1107 bool get isPotentiallyMutatedInScope => 1111 bool get isPotentiallyMutatedInScope =>
1108 actualElement.isPotentiallyMutatedInScope; 1112 actualElement.isPotentiallyMutatedInScope;
1109 1113
1110 @override 1114 @override
1115 bool get isStatic => actualElement.isStatic;
1116
1117 @override
1111 DartType get type => actualElement.type; 1118 DartType get type => actualElement.type;
1112 } 1119 }
1120
1113 /** 1121 /**
1114 * TODO(scheglov) invalid implementation 1122 * TODO(scheglov) invalid implementation
1115 */ 1123 */
1116 class WeakReference<T> { 1124 class WeakReference<T> {
1117 final T value; 1125 final T value;
1118 WeakReference(this.value); 1126 WeakReference(this.value);
1119 T get() => value; 1127 T get() => value;
1120 } 1128 }
OLDNEW
« no previous file with comments | « packages/analyzer/lib/src/generated/element.dart ('k') | packages/analyzer/lib/src/generated/element_resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698