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

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

Issue 792643003: Add DartTypes to abstract Types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased Created 6 years 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; 5 part of dart2js;
6 6
7 /** 7 /**
8 * If true, print a warning for each method that was resolved, but not 8 * If true, print a warning for each method that was resolved, but not
9 * compiled. 9 * compiled.
10 */ 10 */
(...skipping 2360 matching lines...) Expand 10 before | Expand all | Expand 10 after
2371 ClassElementX mapClass; 2371 ClassElementX mapClass;
2372 ClassElementX symbolClass; 2372 ClassElementX symbolClass;
2373 ClassElementX stackTraceClass; 2373 ClassElementX stackTraceClass;
2374 ClassElementX futureClass; 2374 ClassElementX futureClass;
2375 ClassElementX iterableClass; 2375 ClassElementX iterableClass;
2376 ClassElementX streamClass; 2376 ClassElementX streamClass;
2377 2377
2378 _CompilerCoreTypes(this.compiler); 2378 _CompilerCoreTypes(this.compiler);
2379 2379
2380 @override 2380 @override
2381 InterfaceType get objectType => objectClass.computeType(compiler);
2382
2383 @override
2381 InterfaceType get boolType => boolClass.computeType(compiler); 2384 InterfaceType get boolType => boolClass.computeType(compiler);
2382 2385
2383 @override 2386 @override
2384 InterfaceType get doubleType => doubleClass.computeType(compiler); 2387 InterfaceType get doubleType => doubleClass.computeType(compiler);
2385 2388
2386 @override 2389 @override
2387 InterfaceType get functionType => functionClass.computeType(compiler); 2390 InterfaceType get functionType => functionClass.computeType(compiler);
2388 2391
2389 @override 2392 @override
2390 InterfaceType get intType => intClass.computeType(compiler); 2393 InterfaceType get intType => intClass.computeType(compiler);
(...skipping 11 matching lines...) Expand all
2402 } 2405 }
2403 2406
2404 @override 2407 @override
2405 InterfaceType get nullType => nullClass.computeType(compiler); 2408 InterfaceType get nullType => nullClass.computeType(compiler);
2406 2409
2407 @override 2410 @override
2408 InterfaceType get numType => numClass.computeType(compiler); 2411 InterfaceType get numType => numClass.computeType(compiler);
2409 2412
2410 @override 2413 @override
2411 InterfaceType get stringType => stringClass.computeType(compiler); 2414 InterfaceType get stringType => stringClass.computeType(compiler);
2412 } 2415 }
2416
2417 typedef void InternalErrorFunction(Spannable location, String message);
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/compile_time_constants.dart ('k') | pkg/compiler/lib/src/constant_system.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698