mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:17:44 +00:00
LibJS: Add an initialize binding hint to all initialize_binding methods
This will allow us to specify things like SyncDispose and perhaps AsyncDispose in the future.
This commit is contained in:
parent
3353cf68f1
commit
a746739cb0
14 changed files with 68 additions and 57 deletions
|
@ -121,7 +121,7 @@ public:
|
|||
return m_base_type == BaseType::Environment;
|
||||
}
|
||||
|
||||
ThrowCompletionOr<void> initialize_referenced_binding(VM&, Value value) const;
|
||||
ThrowCompletionOr<void> initialize_referenced_binding(VM&, Value value, Environment::InitializeBindingHint hint = Environment::InitializeBindingHint::Normal) const;
|
||||
|
||||
ThrowCompletionOr<void> put_value(VM&, Value);
|
||||
ThrowCompletionOr<Value> get_value(VM&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue