mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
LibJS: Implement and use the MakeMethod AO
Two direct uses of the set_home_object() setter remain, we should fix those up and remove it eventually.
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 22:01:25 +09:00
@@ -37,6 +37,8 @@ public:
|
||||
virtual ThrowCompletionOr<Value> internal_call(Value this_argument, MarkedValueList arguments_list) override;
|
||||
virtual ThrowCompletionOr<Object*> internal_construct(MarkedValueList arguments_list, FunctionObject& new_target) override;
|
||||
|
||||
void make_method(Object& home_object);
|
||||
|
||||
Statement const& ecmascript_code() const { return m_ecmascript_code; }
|
||||
Vector<FunctionNode::Parameter> const& formal_parameters() const { return m_formal_parameters; };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user