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

Side by Side Diff: lib/_internal/libraries.dart

Issue 11090016: Change core lib, dart2js, and more for new optional parameters syntax (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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
« no previous file with comments | « no previous file | lib/compiler/implementation/compile_time_constants.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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('libraries'); 5 #library('libraries');
6 6
7 /** 7 /**
8 * A bit flag used by [LibraryInfo] indicating that a library is used by dart2js 8 * A bit flag used by [LibraryInfo] indicating that a library is used by dart2js
9 */ 9 */
10 const int DART2JS_PLATFORM = 1; 10 const int DART2JS_PLATFORM = 1;
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 133
134 /** 134 /**
135 * True if the library contains implementation details for another library. 135 * True if the library contains implementation details for another library.
136 * The implication is that these libraries are less commonly used 136 * The implication is that these libraries are less commonly used
137 * and that tools like Dart Editor should not show these libraries 137 * and that tools like Dart Editor should not show these libraries
138 * in a list of all libraries unless the user specifically asks the tool to 138 * in a list of all libraries unless the user specifically asks the tool to
139 * do so. (E.g. "coreimpl" contains implementation for the "core" library). 139 * do so. (E.g. "coreimpl" contains implementation for the "core" library).
140 */ 140 */
141 final bool implementation; 141 final bool implementation;
142 142
143 const LibraryInfo(this.path, [ 143 const LibraryInfo(this.path, {
144 this.category = "Shared", 144 this.category: "Shared",
145 this.dart2jsPath, 145 this.dart2jsPath,
146 this.dart2jsPatchPath, 146 this.dart2jsPatchPath,
147 this.implementation = false, 147 this.implementation: false,
148 this.documented = true, 148 this.documented: true,
149 this.platforms = DART2JS_PLATFORM | VM_PLATFORM]); 149 this.platforms: DART2JS_PLATFORM | VM_PLATFORM});
150 150
151 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; 151 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0;
152 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; 152 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0;
153 } 153 }
OLDNEW
« no previous file with comments | « no previous file | lib/compiler/implementation/compile_time_constants.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698