mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 11:37:30 +09:00
1283712 - Part 3: Add Parser::errorWithNotes and Parser::errorWithNotesAt.
This commit is contained in:
parent
98ebeef711
commit
dc06903cd1
5 changed files with 82 additions and 35 deletions
|
|
@ -824,9 +824,12 @@ class ParserBase : public StrictModeGetter
|
|||
|
||||
/* Report the given error at the current offset. */
|
||||
void error(unsigned errorNumber, ...);
|
||||
void errorWithNotes(UniquePtr<JSErrorNotes> notes, unsigned errorNumber, ...);
|
||||
|
||||
/* Report the given error at the given offset. */
|
||||
void errorAt(uint32_t offset, unsigned errorNumber, ...);
|
||||
void errorWithNotesAt(UniquePtr<JSErrorNotes> notes, uint32_t offset,
|
||||
unsigned errorNumber, ...);
|
||||
|
||||
/*
|
||||
* Handle a strict mode error at the current offset. Report an error if in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue