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

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

Issue 2342733002: Break up another large file (Closed)
Patch Set: fixed floating comment Created 4 years, 3 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.dart.element.element; 5 library analyzer.src.dart.element.element;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 import 'dart:math' show min; 8 import 'dart:math' show min;
9 9
10 import 'package:analyzer/dart/ast/ast.dart'; 10 import 'package:analyzer/dart/ast/ast.dart';
11 import 'package:analyzer/dart/ast/token.dart'; 11 import 'package:analyzer/dart/ast/token.dart';
12 import 'package:analyzer/dart/constant/value.dart'; 12 import 'package:analyzer/dart/constant/value.dart';
13 import 'package:analyzer/dart/element/element.dart'; 13 import 'package:analyzer/dart/element/element.dart';
14 import 'package:analyzer/dart/element/type.dart'; 14 import 'package:analyzer/dart/element/type.dart';
15 import 'package:analyzer/dart/element/visitor.dart'; 15 import 'package:analyzer/dart/element/visitor.dart';
16 import 'package:analyzer/src/dart/ast/utilities.dart'; 16 import 'package:analyzer/src/dart/ast/utilities.dart';
17 import 'package:analyzer/src/dart/constant/value.dart'; 17 import 'package:analyzer/src/dart/constant/value.dart';
18 import 'package:analyzer/src/dart/element/handle.dart'; 18 import 'package:analyzer/src/dart/element/handle.dart';
19 import 'package:analyzer/src/dart/element/type.dart'; 19 import 'package:analyzer/src/dart/element/type.dart';
20 import 'package:analyzer/src/error/codes.dart' show CompileTimeErrorCode;
20 import 'package:analyzer/src/generated/constant.dart' show EvaluationResultImpl; 21 import 'package:analyzer/src/generated/constant.dart' show EvaluationResultImpl;
21 import 'package:analyzer/src/generated/engine.dart' 22 import 'package:analyzer/src/generated/engine.dart'
22 show AnalysisContext, AnalysisEngine; 23 show AnalysisContext, AnalysisEngine;
23 import 'package:analyzer/src/generated/error.dart' show CompileTimeErrorCode;
24 import 'package:analyzer/src/generated/java_core.dart'; 24 import 'package:analyzer/src/generated/java_core.dart';
25 import 'package:analyzer/src/generated/java_engine.dart'; 25 import 'package:analyzer/src/generated/java_engine.dart';
26 import 'package:analyzer/src/generated/resolver.dart'; 26 import 'package:analyzer/src/generated/resolver.dart';
27 import 'package:analyzer/src/generated/sdk.dart' show DartSdk; 27 import 'package:analyzer/src/generated/sdk.dart' show DartSdk;
28 import 'package:analyzer/src/generated/source.dart'; 28 import 'package:analyzer/src/generated/source.dart';
29 import 'package:analyzer/src/generated/testing/ast_factory.dart'; 29 import 'package:analyzer/src/generated/testing/ast_factory.dart';
30 import 'package:analyzer/src/generated/utilities_collection.dart'; 30 import 'package:analyzer/src/generated/utilities_collection.dart';
31 import 'package:analyzer/src/generated/utilities_dart.dart'; 31 import 'package:analyzer/src/generated/utilities_dart.dart';
32 import 'package:analyzer/src/generated/utilities_general.dart'; 32 import 'package:analyzer/src/generated/utilities_general.dart';
33 import 'package:analyzer/src/summary/idl.dart'; 33 import 'package:analyzer/src/summary/idl.dart';
(...skipping 8317 matching lines...) Expand 10 before | Expand all | Expand 10 after
8351 8351
8352 @override 8352 @override
8353 void visitElement(Element element) { 8353 void visitElement(Element element) {
8354 int offset = element.nameOffset; 8354 int offset = element.nameOffset;
8355 if (offset != -1) { 8355 if (offset != -1) {
8356 map[offset] = element; 8356 map[offset] = element;
8357 } 8357 }
8358 super.visitElement(element); 8358 super.visitElement(element);
8359 } 8359 }
8360 } 8360 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/builder.dart ('k') | pkg/analyzer/lib/src/dart/resolver/inheritance_manager.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698