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

Side by Side Diff: pkg/compiler/lib/src/typechecker.dart

Issue 2860753005: Make elements/names.dart its own library (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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 dart2js.typechecker; 5 library dart2js.typechecker;
6 6
7 import 'common/names.dart' show Identifiers; 7 import 'common/names.dart' show Identifiers;
8 import 'common/resolution.dart' show Resolution; 8 import 'common/resolution.dart' show Resolution;
9 import 'common/tasks.dart' show CompilerTask; 9 import 'common/tasks.dart' show CompilerTask;
10 import 'common.dart'; 10 import 'common.dart';
(...skipping 13 matching lines...) Expand all
24 Elements, 24 Elements,
25 EnumClassElement, 25 EnumClassElement,
26 EnumConstantElement, 26 EnumConstantElement,
27 ExecutableElement, 27 ExecutableElement,
28 FieldElement, 28 FieldElement,
29 FunctionElement, 29 FunctionElement,
30 GetterElement, 30 GetterElement,
31 InitializingFormalElement, 31 InitializingFormalElement,
32 LibraryElement, 32 LibraryElement,
33 MemberSignature, 33 MemberSignature,
34 Name,
35 ParameterElement, 34 ParameterElement,
36 PrivateName,
37 PublicName,
38 ResolvedAst, 35 ResolvedAst,
39 SetterElement, 36 SetterElement,
40 TypeDeclarationElement, 37 TypeDeclarationElement,
41 TypedElement, 38 TypedElement,
42 VariableElement; 39 VariableElement;
40 import 'elements/names.dart';
43 import 'enqueue.dart' show DeferredAction; 41 import 'enqueue.dart' show DeferredAction;
44 import 'resolution/class_members.dart' show MembersCreator, ErroneousMember; 42 import 'resolution/class_members.dart' show MembersCreator, ErroneousMember;
45 import 'resolution/tree_elements.dart' show TreeElements; 43 import 'resolution/tree_elements.dart' show TreeElements;
46 import 'tree/tree.dart'; 44 import 'tree/tree.dart';
47 import 'util/util.dart' show Link, LinkBuilder; 45 import 'util/util.dart' show Link, LinkBuilder;
48 46
49 class TypeCheckerTask extends CompilerTask { 47 class TypeCheckerTask extends CompilerTask {
50 final Compiler compiler; 48 final Compiler compiler;
51 TypeCheckerTask(Compiler compiler) 49 TypeCheckerTask(Compiler compiler)
52 : compiler = compiler, 50 : compiler = compiler,
(...skipping 2003 matching lines...) Expand 10 before | Expand all | Expand 10 after
2056 2054
2057 visitTypedef(Typedef node) { 2055 visitTypedef(Typedef node) {
2058 // Do not typecheck [Typedef] nodes. 2056 // Do not typecheck [Typedef] nodes.
2059 } 2057 }
2060 2058
2061 visitNode(Node node) { 2059 visitNode(Node node) {
2062 reporter.internalError(node, 2060 reporter.internalError(node,
2063 'Unexpected node ${node.getObjectDescription()} in the type checker.'); 2061 'Unexpected node ${node.getObjectDescription()} in the type checker.');
2064 } 2062 }
2065 } 2063 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/ssa/invoke_dynamic_specializers.dart ('k') | pkg/compiler/lib/src/universe/selector.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698