mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:28:10 +00:00
JSSpecCompiler: Push ParseError out of Algorithm
This commit is contained in:
parent
d339ad01bb
commit
c7369f2f93
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