Get the position of last parsing error in input, 0 otherwise.
| 447 | |
| 448 | //! Get the position of last parsing error in input, 0 otherwise. |
| 449 | size_t GetErrorOffset() const { return parseResult_.Offset(); } |
| 450 | |
| 451 | protected: |
| 452 | void SetParseError(ParseErrorCode code, size_t offset) { parseResult_.Set(code, offset); } |