mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-31 15:32:51 +00:00
JSSpecCompiler: Push ParseError out of Algorithm
This commit is contained in:
parent
d339ad01bb
commit
c7369f2f93
Notes:
sideshowbarker
2024-07-17 09:47:09 +09:00
Author: https://github.com/DanShaders
Commit: c7369f2f93
Pull-request: https://github.com/SerenityOS/serenity/pull/22899
Reviewed-by: https://github.com/ADKaster ✅
2 changed files with 39 additions and 33 deletions
|
@ -63,7 +63,7 @@ public:
|
|||
|
||||
class Algorithm {
|
||||
public:
|
||||
static ParseErrorOr<Algorithm> create(XML::Node const* node);
|
||||
static Optional<Algorithm> create(SpecificationParsingContext& ctx, XML::Node const* element);
|
||||
|
||||
AlgorithmStepList m_steps;
|
||||
Tree m_tree = error_tree;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue