mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +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:
parent
326bac19d9
commit
81519975c5
9 changed files with 116 additions and 4 deletions
|
@ -12,6 +12,8 @@ namespace JSSpecCompiler {
|
|||
|
||||
// AST/AST.h
|
||||
class NodeSubtreePointer;
|
||||
class VariableDeclaration;
|
||||
using VariableDeclarationRef = NonnullRefPtr<VariableDeclaration>;
|
||||
|
||||
class Node;
|
||||
using NullableTree = RefPtr<Node>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue