removeSettables<T> function
Returns a copy of parser
with all settable parsers removed.
Implementation
@Deprecated('Use `resolve(Parser)` instead.')
Parser<T> removeSettables<T>(Parser<T> parser) {
return transformParser(parser, <R>(each) {
while (each is SettableParser) {
each = each.children.first as Parser<R>;
}
return each;
});
}