1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:18:11 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators/JSSpecCompiler
Dan Klishch 1c4cd34320 JSSpecCompiler: Restrict usage of NodeSubtreePointer
This class stores a non-owning raw pointer to a member of `Node`, so
extra care is needed to ensure that referenced `Node`s will be alive
by the time `NodeSubtreePointer` is used. Since we only need to use this
class while traversing AST in `RecursiveASTVisitor`, access to class
methods can be restricted using `Badge<RecursiveASTVisitor>`.
2023-09-09 11:20:43 -06:00
..
AST JSSpecCompiler: Restrict usage of NodeSubtreePointer 2023-09-09 11:20:43 -06:00
Compiler JSSpecCompiler: Restrict usage of NodeSubtreePointer 2023-09-09 11:20:43 -06:00
Parser JSSpecCompiler: Introduce Function and ExecutionContext classes 2023-09-02 19:57:06 +02:00
CMakeLists.txt JSSpecCompiler: Add infrastructure to run compiler passes on AST 2023-09-02 19:57:06 +02:00
Forward.h JSSpecCompiler: Restrict usage of NodeSubtreePointer 2023-09-09 11:20:43 -06:00
Function.cpp JSSpecCompiler: Introduce Function and ExecutionContext classes 2023-09-02 19:57:06 +02:00
Function.h JSSpecCompiler: Introduce Function and ExecutionContext classes 2023-09-02 19:57:06 +02:00
main.cpp JSSpecCompiler: Introduce Function and ExecutionContext classes 2023-09-02 19:57:06 +02:00