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

Unified Diff: packages/petitparser/lib/src/reflection/optimize.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: packages/petitparser/lib/src/reflection/optimize.dart
diff --git a/petitparser/lib/src/reflection/optimize.dart b/packages/petitparser/lib/src/reflection/optimize.dart
similarity index 76%
rename from petitparser/lib/src/reflection/optimize.dart
rename to packages/petitparser/lib/src/reflection/optimize.dart
index 1ae77e7e542da7a446799f1813b9181da1b64bfa..c9dd84795aeef4a451406b99f81341c6193c3178 100644
--- a/petitparser/lib/src/reflection/optimize.dart
+++ b/packages/petitparser/lib/src/reflection/optimize.dart
@@ -1,8 +1,6 @@
-part of reflection;
+part of petitparser.reflection;
-/**
- * Returns a copy of [parser] with all settable parsers removed.
- */
+/// Returns a copy of [parser] with all settable parsers removed.
Parser removeSettables(Parser parser) {
return transformParser(parser, (each) {
while (each is SettableParser) {
@@ -12,9 +10,7 @@ Parser removeSettables(Parser parser) {
});
}
-/**
- * Returns a copy of [parser] with all duplicates parsers collapsed.
- */
+/// Returns a copy of [parser] with all duplicates parsers collapsed.
Parser removeDuplicates(Parser parser) {
var uniques = new Set();
return transformParser(parser, (source) {
« no previous file with comments | « packages/petitparser/lib/src/reflection/iterable.dart ('k') | packages/petitparser/lib/src/reflection/transform.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698