Get the position of last parsing error in input, 0 otherwise.
| 535 | |
| 536 | //! Get the position of last parsing error in input, 0 otherwise. |
| 537 | size_t GetErrorOffset() const { return parseResult_.Offset(); } |
| 538 | |
| 539 | protected: |
| 540 | void SetParseError(ParseErrorCode code, size_t offset) { parseResult_.Set(code, offset); } |