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

Side by Side Diff: pkg/analysis_server/lib/src/domains/analysis/implemented_dart.dart

Issue 2894883002: Remove more libraries directives from server (Closed)
Patch Set: Created 3 years, 7 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 domains.analysis.implemented_dart;
6
7 import 'package:analysis_server/src/protocol_server.dart' as protocol; 5 import 'package:analysis_server/src/protocol_server.dart' as protocol;
8 import 'package:analysis_server/src/services/search/search_engine.dart'; 6 import 'package:analysis_server/src/services/search/search_engine.dart';
9 import 'package:analyzer/dart/element/element.dart'; 7 import 'package:analyzer/dart/element/element.dart';
10 8
11 class ImplementedComputer { 9 class ImplementedComputer {
12 final SearchEngine searchEngine; 10 final SearchEngine searchEngine;
13 final CompilationUnitElement unitElement; 11 final CompilationUnitElement unitElement;
14 12
15 List<protocol.ImplementedClass> classes = <protocol.ImplementedClass>[]; 13 List<protocol.ImplementedClass> classes = <protocol.ImplementedClass>[];
16 List<protocol.ImplementedMember> members = <protocol.ImplementedMember>[]; 14 List<protocol.ImplementedMember> members = <protocol.ImplementedMember>[];
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 */ 81 */
84 static bool _isStatic(Element element) { 82 static bool _isStatic(Element element) {
85 if (element is ExecutableElement) { 83 if (element is ExecutableElement) {
86 return element.isStatic; 84 return element.isStatic;
87 } else if (element is PropertyInducingElement) { 85 } else if (element is PropertyInducingElement) {
88 return element.isStatic; 86 return element.isStatic;
89 } 87 }
90 return false; 88 return false;
91 } 89 }
92 } 90 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/domain_server.dart ('k') | pkg/analysis_server/lib/src/domains/analysis/navigation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698