mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:58:11 +00:00
JSSpecCompiler: Allow storing NullableTree
s in nodes
And use this in ElseIfBranch node.
This commit is contained in:
parent
4eede5282c
commit
092ed1cc8a
7 changed files with 56 additions and 18 deletions
|
@ -33,7 +33,7 @@ public:
|
|||
private:
|
||||
struct IfConditionParseResult {
|
||||
bool is_if_branch;
|
||||
Optional<Tree> condition;
|
||||
NullableTree condition;
|
||||
};
|
||||
|
||||
void retreat();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue