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

Unified Diff: pkg/path/lib/src/parsed_path.dart

Issue 304843002: Deprecate publicly-visible properties on Style in path. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 7 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 | « pkg/path/lib/src/internal_style.dart ('k') | pkg/path/lib/src/style.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/path/lib/src/parsed_path.dart
diff --git a/pkg/path/lib/src/parsed_path.dart b/pkg/path/lib/src/parsed_path.dart
index 5356b44c1df809acbebf45a7bddb273d79870458..3f3c3b9cb645bec066b10b884cdff8e2cdf1b461 100644
--- a/pkg/path/lib/src/parsed_path.dart
+++ b/pkg/path/lib/src/parsed_path.dart
@@ -4,12 +4,12 @@
library path.parsed_path;
+import 'internal_style.dart';
import 'style.dart';
-// TODO(rnystrom): Make this public?
class ParsedPath {
- /// The [Style] that was used to parse this path.
- Style style;
+ /// The [InternalStyle] that was used to parse this path.
+ InternalStyle style;
/// The absolute root portion of the path, or `null` if the path is relative.
/// On POSIX systems, this will be `null` or "/". On Windows, it can be
@@ -40,7 +40,7 @@ class ParsedPath {
/// `true` if this is an absolute path.
bool get isAbsolute => root != null;
- factory ParsedPath.parse(String path, Style style) {
+ factory ParsedPath.parse(String path, InternalStyle style) {
var before = path;
// Remove the root prefix, if any.
« no previous file with comments | « pkg/path/lib/src/internal_style.dart ('k') | pkg/path/lib/src/style.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698