1
Fork 0
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:
Dan Klishch 2024-01-16 21:39:32 -05:00 committed by Andrew Kaster
parent d339ad01bb
commit c7369f2f93
2 changed files with 39 additions and 33 deletions

View file

@ -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;