mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
JSSpecCompiler: Issue meaningful errors in TextParser
This commit is contained in:
parent
dee4978d67
commit
6b30c4d2f0
Notes:
sideshowbarker
2024-07-17 00:49:59 +09:00
Author: https://github.com/DanShaders
Commit: 6b30c4d2f0
Pull-request: https://github.com/SerenityOS/serenity/pull/22899
Reviewed-by: https://github.com/ADKaster ✅
5 changed files with 272 additions and 147 deletions
|
@ -70,7 +70,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
ParseErrorOr<Tree> parse();
|
||||
bool parse();
|
||||
|
||||
SpecificationParsingContext& m_ctx;
|
||||
Vector<Token> m_tokens;
|
||||
|
@ -113,7 +113,7 @@ private:
|
|||
{
|
||||
}
|
||||
|
||||
ParseErrorOr<void> parse_header(XML::Node const* element);
|
||||
Optional<FailedTextParseDiagnostic> parse_header(XML::Node const* element);
|
||||
void parse(XML::Node const* element);
|
||||
|
||||
SpecificationParsingContext* m_ctx_pointer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue