1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:27:34 +00:00

JSSpecCompiler: Add reference resolving pass

It replaces UnresolvedReference with Variable, FunctionPointer, or
SlotName nodes. Also, it gathers all variable names from their
declarations.
This commit is contained in:
Dan Klishch 2023-08-19 23:17:06 -04:00 committed by Andrew Kaster
parent 326bac19d9
commit 81519975c5
9 changed files with 116 additions and 4 deletions

View file

@ -4,6 +4,7 @@ set(SOURCES
Compiler/FunctionCallCanonicalizationPass.cpp
Compiler/GenericASTPass.cpp
Compiler/IfBranchMergingPass.cpp
Compiler/ReferenceResolvingPass.cpp
Parser/Lexer.cpp
Parser/ParseError.cpp
Parser/SpecParser.cpp