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

Unified Diff: packages/petitparser/lib/src/petitparser/actions.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/petitparser/actions.dart
diff --git a/petitparser/lib/src/core/actions.dart b/packages/petitparser/lib/src/petitparser/actions.dart
similarity index 86%
rename from petitparser/lib/src/core/actions.dart
rename to packages/petitparser/lib/src/petitparser/actions.dart
index 010af5ff8d7c1cdfdee27565bf39717f092abd90..4cdaa757ce203fb967a6362d5efeb95bbe824f9d 100644
--- a/petitparser/lib/src/core/actions.dart
+++ b/packages/petitparser/lib/src/petitparser/actions.dart
@@ -1,9 +1,7 @@
part of petitparser;
-/**
- * A parser that performs a transformation with a given function on the
- * successful parse result of the delegate.
- */
+/// A parser that performs a transformation with a given function on the
+/// successful parse result of the delegate.
class ActionParser extends DelegateParser {
final Function _function;
@@ -30,10 +28,8 @@ class ActionParser extends DelegateParser {
}
}
-/**
- * A parser that silently consumes input of another parser around
- * its delegate.
- */
+/// A parser that silently consumes input of another parser around
+/// its delegate.
class TrimmingParser extends DelegateParser {
Parser _left;
Parser _right;
@@ -75,10 +71,8 @@ class TrimmingParser extends DelegateParser {
}
}
-/**
- * A parser that answers a substring or sub-list of the range its delegate
- * parses.
- */
+/// A parser that answers a substring or sub-list of the range its delegate
+/// parses.
class FlattenParser extends DelegateParser {
FlattenParser(parser) : super(parser);
@@ -99,9 +93,7 @@ class FlattenParser extends DelegateParser {
Parser copy() => new FlattenParser(_delegate);
}
-/**
- * A parser that answers a token of the result its delegate parses.
- */
+/// A parser that answers a token of the result its delegate parses.
class TokenParser extends DelegateParser {
TokenParser(parser) : super(parser);
« no previous file with comments | « packages/petitparser/lib/src/lisp/standard.dart ('k') | packages/petitparser/lib/src/petitparser/characters.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698