- Name
-
parser:Stop -- stop the parser
- Synopsis
-
ok = parser:Stop()
- Function
-
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.
- Inputs
-
none
- Results
-
- ok
- boolean value indicating success or failure
Show TOC