JSSpecCompiler: Allow storing NullableTrees in nodes

And use this in ElseIfBranch node.
This commit is contained in:
Dan Klishch 2023-08-18 16:23:29 -04:00 committed by Andrew Kaster
parent 4eede5282c
commit 092ed1cc8a
Notes: sideshowbarker 2024-07-16 20:08:14 +09:00
7 changed files with 56 additions and 18 deletions

View file

@ -33,7 +33,7 @@ public:
private:
struct IfConditionParseResult {
bool is_if_branch;
Optional<Tree> condition;
NullableTree condition;
};
void retreat();