1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:48:10 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators/JSSpecCompiler/AST
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.cpp JSSpecCompiler: Add infrastructure to run compiler passes on AST 2023-09-02 19:57:06 +02:00
AST.h JSSpecCompiler: Restrict usage of NodeSubtreePointer 2023-09-09 11:20:43 -06:00
ASTPrinting.cpp JSSpecCompiler: Introduce Function and ExecutionContext classes 2023-09-02 19:57:06 +02:00