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

Side by Side Diff: dart/sdk/lib/_internal/compiler/implementation/scanner/scannerlib.dart

Issue 561233005: Add ElementX.declarationSite. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r40311. Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 scanner; 5 library scanner;
6 6
7 import 'dart:collection' show IterableBase, HashSet; 7 import 'dart:collection' show IterableBase, HashSet;
8 8
9 import '../dart_types.dart' show DynamicType; 9 import '../dart_types.dart' show DynamicType;
10 import '../elements/elements.dart'; 10 import '../elements/elements.dart';
11 import '../elements/modelx.dart' 11
12 show ElementX, 12 import '../elements/modelx.dart' show
13 ConstructorElementX, 13 ClassElementX,
14 FunctionElementX, 14 ConstructorElementX,
15 TypedefElementX, 15 DeclarationSite,
16 VariableElementX, 16 ElementX,
17 FieldElementX, 17 FieldElementX,
18 VariableList, 18 FunctionElementX,
19 ClassElementX, 19 MetadataAnnotationX,
20 MetadataAnnotationX, 20 MixinApplicationElementX,
21 MixinApplicationElementX; 21 TypedefElementX,
22 VariableElementX,
23 VariableList;
24
22 import '../elements/visitor.dart' 25 import '../elements/visitor.dart'
23 show ElementVisitor; 26 show ElementVisitor;
24 import '../dart2jslib.dart'; 27 import '../dart2jslib.dart';
25 import '../native_handler.dart' as native; 28 import '../native_handler.dart' as native;
26 import '../string_validator.dart'; 29 import '../string_validator.dart';
27 import '../tree/tree.dart'; 30 import '../tree/tree.dart';
28 import '../util/characters.dart'; 31 import '../util/characters.dart';
29 import '../util/util.dart'; 32 import '../util/util.dart';
30 import '../source_file.dart' show SourceFile, Utf8BytesSourceFile; 33 import '../source_file.dart' show SourceFile, Utf8BytesSourceFile;
31 import 'dart:convert' show UTF8, UNICODE_BOM_CHARACTER_RUNE; 34 import 'dart:convert' show UTF8, UNICODE_BOM_CHARACTER_RUNE;
32 import 'dart:typed_data' show Uint8List; 35 import 'dart:typed_data' show Uint8List;
33 36
34 part 'class_element_parser.dart'; 37 part 'class_element_parser.dart';
35 part 'keyword.dart'; 38 part 'keyword.dart';
36 part 'listener.dart'; 39 part 'listener.dart';
37 part 'parser.dart'; 40 part 'parser.dart';
38 part 'parser_task.dart'; 41 part 'parser_task.dart';
39 part 'partial_parser.dart'; 42 part 'partial_parser.dart';
40 part 'scanner.dart'; 43 part 'scanner.dart';
41 part 'scanner_task.dart'; 44 part 'scanner_task.dart';
42 part 'array_based_scanner.dart'; 45 part 'array_based_scanner.dart';
43 part 'utf8_bytes_scanner.dart'; 46 part 'utf8_bytes_scanner.dart';
44 part 'string_scanner.dart'; 47 part 'string_scanner.dart';
45 part 'token.dart'; 48 part 'token.dart';
OLDNEW
« no previous file with comments | « dart/sdk/lib/_internal/compiler/implementation/scanner/listener.dart ('k') | dart/site/try/poi/diff.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698