mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:58:11 +00:00
![]() FunctionExpression is mostly like FunctionDeclaration, except the name is optional. Share the parsing logic in parse_function_node<NodeType>. This allows us to do nice things like: document.addEventListener("DOMContentLoaded", function() { alert("Hello friends!"); }); |
||
---|---|---|
.. | ||
Heap | ||
Runtime | ||
AST.cpp | ||
AST.h | ||
Forward.h | ||
Interpreter.cpp | ||
Interpreter.h | ||
Lexer.cpp | ||
Lexer.h | ||
Makefile | ||
Parser.cpp | ||
Parser.h | ||
Token.cpp | ||
Token.h |