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

Side by Side Diff: lib/compiler/implementation/typechecker.dart

Issue 11262032: Add 'part of' in dart2js code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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) 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 part of dart2js;
6
5 class TypeCheckerTask extends CompilerTask { 7 class TypeCheckerTask extends CompilerTask {
6 TypeCheckerTask(Compiler compiler) : super(compiler); 8 TypeCheckerTask(Compiler compiler) : super(compiler);
7 String get name => "Type checker"; 9 String get name => "Type checker";
8 10
9 static const bool LOG_FAILURES = false; 11 static const bool LOG_FAILURES = false;
10 12
11 void check(Node tree, TreeElements elements) { 13 void check(Node tree, TreeElements elements) {
12 measure(() { 14 measure(() {
13 Visitor visitor = 15 Visitor visitor =
14 new TypeCheckerVisitor(compiler, elements, compiler.types); 16 new TypeCheckerVisitor(compiler, elements, compiler.types);
(...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after
987 } 989 }
988 990
989 DartType visitStringNode(StringNode node) { 991 DartType visitStringNode(StringNode node) {
990 compiler.unimplemented('visitNode', node: node); 992 compiler.unimplemented('visitNode', node: node);
991 } 993 }
992 994
993 DartType visitLibraryDependency(LibraryDependency node) { 995 DartType visitLibraryDependency(LibraryDependency node) {
994 compiler.unimplemented('visitNode', node: node); 996 compiler.unimplemented('visitNode', node: node);
995 } 997 }
996 } 998 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/tree_validator.dart ('k') | lib/compiler/implementation/types/concrete_types_inferrer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698