parseAll static method
- String string
Parses all sequences from the given string
.
If the string
is empty, returns an iterable with an empty Literal.
Implementation
static List<Sequence> parseAll(String string) {
if (string.isEmpty) {
return const [Literal._('')];
}
return List.of(_parseAll(string));
}