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

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

Issue 1871103002: Support for @JS() validation (#26225). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: test fixes Created 4 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
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 @override 55 @override
56 List<InterfaceType> get interfaces => actualElement.interfaces; 56 List<InterfaceType> get interfaces => actualElement.interfaces;
57 57
58 @override 58 @override
59 bool get isAbstract => actualElement.isAbstract; 59 bool get isAbstract => actualElement.isAbstract;
60 60
61 @override 61 @override
62 bool get isEnum => actualElement.isEnum; 62 bool get isEnum => actualElement.isEnum;
63 63
64 @override 64 @override
65 bool get isJS => actualElement.isJS;
66
67 @override
65 bool get isMixinApplication => actualElement.isMixinApplication; 68 bool get isMixinApplication => actualElement.isMixinApplication;
66 69
67 @override 70 @override
68 bool get isOrInheritsProxy => actualElement.isOrInheritsProxy; 71 bool get isOrInheritsProxy => actualElement.isOrInheritsProxy;
69 72
70 @override 73 @override
71 bool get isProxy => actualElement.isProxy; 74 bool get isProxy => actualElement.isProxy;
72 75
73 @override 76 @override
74 bool get isRequired => actualElement.isRequired; 77 bool get isRequired => actualElement.isRequired;
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 @override 349 @override
347 Element get enclosingElement => actualElement.enclosingElement; 350 Element get enclosingElement => actualElement.enclosingElement;
348 351
349 @override 352 @override
350 int get hashCode => _location.hashCode; 353 int get hashCode => _location.hashCode;
351 354
352 @override 355 @override
353 bool get isDeprecated => actualElement.isDeprecated; 356 bool get isDeprecated => actualElement.isDeprecated;
354 357
355 @override 358 @override
359 bool get isJS => actualElement.isJS;
360
361 @override
356 bool get isOverride => actualElement.isOverride; 362 bool get isOverride => actualElement.isOverride;
357 363
358 @override 364 @override
359 bool get isPrivate => actualElement.isPrivate; 365 bool get isPrivate => actualElement.isPrivate;
360 366
361 @override 367 @override
362 bool get isProtected => actualElement.isProtected; 368 bool get isProtected => actualElement.isProtected;
363 369
364 @override 370 @override
365 bool get isPublic => actualElement.isPublic; 371 bool get isPublic => actualElement.isPublic;
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
1099 @override 1105 @override
1100 bool get isPotentiallyMutatedInScope => 1106 bool get isPotentiallyMutatedInScope =>
1101 actualElement.isPotentiallyMutatedInScope; 1107 actualElement.isPotentiallyMutatedInScope;
1102 1108
1103 @override 1109 @override
1104 bool get isStatic => actualElement.isStatic; 1110 bool get isStatic => actualElement.isStatic;
1105 1111
1106 @override 1112 @override
1107 DartType get type => actualElement.type; 1113 DartType get type => actualElement.type;
1108 } 1114 }
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