1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:18:12 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators/JSSpecCompiler
Dan Klishch 72794e7843 JSSpecCompiler: Add function call canonicalization pass
It simplifies ladders of BinaryOperators nodes in the function call
arguments into nice and neat FunctionCall node. Ladders initially appear
since I do not want to complicate expression parser, so it interprets
`f(a, b, c, d)` as `f "function_call_operator" (a, (b, (c, d))))`.
2023-09-09 11:20:43 -06:00
..
AST JSSpecCompiler: Restrict usage of NodeSubtreePointer 2023-09-09 11:20:43 -06:00
Compiler JSSpecCompiler: Add function call canonicalization pass 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 function call canonicalization pass 2023-09-09 11:20:43 -06: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: Add function call canonicalization pass 2023-09-09 11:20:43 -06:00