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

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: 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
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..6c82f4c969279b11acdbc1aee81419c767af96ad 100644
--- a/pkg/path/lib/src/parsed_path.dart
+++ b/pkg/path/lib/src/parsed_path.dart
@@ -4,12 +4,13 @@
library path.parsed_path;
+import 'internal_style.dart';
import 'style.dart';
// TODO(rnystrom): Make this public?
Bob Nystrom 2014/05/29 15:45:39 Can remove this TODO.
nweiz 2014/05/29 20:17:00 Done.
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 +41,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.

Powered by Google App Engine
This is Rietveld 408576698