parser:Stop -- stop the parser
ok = parser:Stop()
Abort the parser and prevent it from parsing any further through the data it was last passed. Use
this to halt parsing the document when an error is discovered inside a callback, for example. The
parser object cannot accept more data after this call. The method returns a boolean value indicating
success or failure.
- boolean value indicating success or failure