mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
LibJS: Keep track of current AST node inside the call stack
This commit is contained in:
parent
0039ecb189
commit
6172cb3599
Notes:
sideshowbarker
2024-07-18 21:49:43 +09:00
Author: https://github.com/boricj
Commit: 6172cb3599
Pull-request: https://github.com/SerenityOS/serenity/pull/5547
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/linusg
5 changed files with 10 additions and 1 deletions
|
@ -56,6 +56,7 @@ struct ScopeFrame {
|
|||
};
|
||||
|
||||
struct CallFrame {
|
||||
const ASTNode* current_node;
|
||||
FlyString function_name;
|
||||
Value this_value;
|
||||
Vector<Value> arguments;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue