mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:38:11 +00:00
JSSpecCompiler: Issue meaningful errors in TextParser
This commit is contained in:
parent
dee4978d67
commit
6b30c4d2f0
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