mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00
JSSpecCompiler: Ignore notes in algorithm steps
This commit is contained in:
parent
ba61b61d67
commit
f7c952f842
6 changed files with 30 additions and 8 deletions
|
@ -62,7 +62,7 @@ class AlgorithmStep {
|
|||
public:
|
||||
static Optional<AlgorithmStep> create(SpecificationParsingContext& ctx, XML::Node const* node);
|
||||
|
||||
Tree tree() const { return m_expression; }
|
||||
NullableTree tree() const { return m_expression; }
|
||||
|
||||
private:
|
||||
AlgorithmStep(SpecificationParsingContext& ctx)
|
||||
|
@ -75,7 +75,7 @@ private:
|
|||
SpecificationParsingContext& m_ctx;
|
||||
Vector<Token> m_tokens;
|
||||
XML::Node const* m_node;
|
||||
Tree m_expression = error_tree;
|
||||
NullableTree m_expression = error_tree;
|
||||
NullableTree m_substeps;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue