mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-16 15:30:09 +00:00
LibJS: Rename VM::get_reference() => resolve_binding()
This function maps to the ResolveBinding operation from the spec, so let's rename it to match.
This commit is contained in:
parent
2b4cab284c
commit
07acdc7be2
Notes:
sideshowbarker
2024-07-18 11:32:51 +09:00
Author: https://github.com/awesomekling
Commit: 07acdc7be2
3 changed files with 6 additions and 3 deletions
|
@ -202,7 +202,7 @@ public:
|
|||
void assign(const FlyString& target, Value, GlobalObject&, bool first_assignment = false, EnvironmentRecord* specific_scope = nullptr);
|
||||
void assign(const NonnullRefPtr<BindingPattern>& target, Value, GlobalObject&, bool first_assignment = false, EnvironmentRecord* specific_scope = nullptr);
|
||||
|
||||
Reference get_reference(const FlyString& name);
|
||||
Reference resolve_binding(FlyString const&);
|
||||
|
||||
template<typename T, typename... Args>
|
||||
void throw_exception(GlobalObject& global_object, Args&&... args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue