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

Unified Diff: lib/config.dart

Issue 1174643003: expose strong checker API, for use by analyzer_cli (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bin/edit_files.dart ('k') | lib/devc.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/config.dart
diff --git a/lib/config.dart b/lib/config.dart
deleted file mode 100644
index b7b18ec9f904d1f1e82235fedaa968122d6441a6..0000000000000000000000000000000000000000
--- a/lib/config.dart
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-/// Configuration of DDC rule set.
-library dev_compiler.config;
-
-// Options shared by the compiler and runtime.
-class TypeOptions {
- // A list of non-nullable type names (e.g., 'int')
- static const List<String> NONNULLABLE_TYPES = const <String>[];
- final List<String> nonnullableTypes;
-
- TypeOptions({this.nonnullableTypes: NONNULLABLE_TYPES});
-}
-
-List<String> optionsToList(String option,
- {List<String> defaultValue: const <String>[]}) {
- if (option == null) {
- return defaultValue;
- } else if (option.isEmpty) {
- return <String>[];
- } else {
- return option.split(',');
- }
-}
« no previous file with comments | « bin/edit_files.dart ('k') | lib/devc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698