set method
Sets the full text so far; restarts when it is not an extension.
Implementation
ParseResult set(String fullText, {bool complete = false}) {
if (fullText.length < _buf.length || !fullText.startsWith(_buf)) reset();
_buf += fullText.substring(_buf.length);
return getResult(complete: complete);
}