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

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

Issue 2141023002: Make initializing formal access available by default (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Additional clean-up, now ready to land Created 4 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
« no previous file with comments | « pkg/compiler/lib/src/compile_time_constants.dart ('k') | pkg/compiler/lib/src/options.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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.cmdline; 5 library dart2js.cmdline;
6 6
7 import 'dart:async' show EventSink, Future; 7 import 'dart:async' show EventSink, Future;
8 import 'dart:convert' show UTF8, LineSplitter; 8 import 'dart:convert' show UTF8, LineSplitter;
9 import 'dart:io' show exit, File, FileMode, Platform, stdin, stderr; 9 import 'dart:io' show exit, File, FileMode, Platform, stdin, stderr;
10 10
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 setOutputType), 328 setOutputType),
329 new OptionHandler(Flags.useKernel, passThrough), 329 new OptionHandler(Flags.useKernel, passThrough),
330 new OptionHandler(Flags.noFrequencyBasedMinification, passThrough), 330 new OptionHandler(Flags.noFrequencyBasedMinification, passThrough),
331 new OptionHandler(Flags.verbose, setVerbose), 331 new OptionHandler(Flags.verbose, setVerbose),
332 new OptionHandler(Flags.version, (_) => wantVersion = true), 332 new OptionHandler(Flags.version, (_) => wantVersion = true),
333 new OptionHandler('--library-root=.+', setLibraryRoot), 333 new OptionHandler('--library-root=.+', setLibraryRoot),
334 new OptionHandler('--out=.+|-o.*', setOutput, multipleArguments: true), 334 new OptionHandler('--out=.+|-o.*', setOutput, multipleArguments: true),
335 new OptionHandler(Flags.allowMockCompilation, passThrough), 335 new OptionHandler(Flags.allowMockCompilation, passThrough),
336 new OptionHandler(Flags.fastStartup, passThrough), 336 new OptionHandler(Flags.fastStartup, passThrough),
337 new OptionHandler(Flags.genericMethodSyntax, ignoreOption), 337 new OptionHandler(Flags.genericMethodSyntax, ignoreOption),
338 new OptionHandler(Flags.initializingFormalAccess, passThrough), 338 new OptionHandler(Flags.initializingFormalAccess, ignoreOption),
339 new OptionHandler('${Flags.minify}|-m', implyCompilation), 339 new OptionHandler('${Flags.minify}|-m', implyCompilation),
340 new OptionHandler(Flags.preserveUris, passThrough), 340 new OptionHandler(Flags.preserveUris, passThrough),
341 new OptionHandler('--force-strip=.*', setStrip), 341 new OptionHandler('--force-strip=.*', setStrip),
342 new OptionHandler(Flags.disableDiagnosticColors, (_) { 342 new OptionHandler(Flags.disableDiagnosticColors, (_) {
343 enableColors = false; 343 enableColors = false;
344 }), 344 }),
345 new OptionHandler(Flags.enableDiagnosticColors, (_) { 345 new OptionHandler(Flags.enableDiagnosticColors, (_) {
346 enableColors = true; 346 enableColors = true;
347 }), 347 }),
348 new OptionHandler('--enable[_-]checked[_-]mode|--checked', 348 new OptionHandler('--enable[_-]checked[_-]mode|--checked',
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 @override 1033 @override
1034 void close() { 1034 void close() {
1035 // Do nothing. 1035 // Do nothing.
1036 } 1036 }
1037 1037
1038 @override 1038 @override
1039 void addError(errorEvent, [StackTrace stackTrace]) { 1039 void addError(errorEvent, [StackTrace stackTrace]) {
1040 // Ignore 1040 // Ignore
1041 } 1041 }
1042 } 1042 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/compile_time_constants.dart ('k') | pkg/compiler/lib/src/options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698