| Index: packages/petitparser/lib/src/reflection/iterable.dart
|
| diff --git a/petitparser/lib/src/reflection/iterable.dart b/packages/petitparser/lib/src/reflection/iterable.dart
|
| similarity index 71%
|
| rename from petitparser/lib/src/reflection/iterable.dart
|
| rename to packages/petitparser/lib/src/reflection/iterable.dart
|
| index b6579ffffcf1f645a1d95b4b077afacf20eb1534..8273d35258a751f32e5864e983ed69b4b04034d0 100644
|
| --- a/petitparser/lib/src/reflection/iterable.dart
|
| +++ b/packages/petitparser/lib/src/reflection/iterable.dart
|
| @@ -1,17 +1,15 @@
|
| -part of reflection;
|
| -
|
| -/**
|
| - * Returns a lazy iterable over all parsers reachable from a [root].
|
| - *
|
| - * For example, the following code prints the two parsers of the
|
| - * defined grammar:
|
| - *
|
| - * var parser = range('0', '9').star();
|
| - * allParser(parser).forEach((each) {
|
| - * print(each);
|
| - * });
|
| - *
|
| - */
|
| +part of petitparser.reflection;
|
| +
|
| +/// Returns a lazy iterable over all parsers reachable from a [root].
|
| +///
|
| +/// For example, the following code prints the two parsers of the
|
| +/// defined grammar:
|
| +///
|
| +/// var parser = range('0', '9').star();
|
| +/// allParser(parser).forEach((each) {
|
| +/// print(each);
|
| +/// });
|
| +///
|
| Iterable<Parser> allParser(Parser root) => new _ParserIterable(root);
|
|
|
| class _ParserIterable extends IterableBase<Parser> {
|
|
|