mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:17:45 +00:00
LibJS: Convert get_identifier_reference() to ThrowCompletionOr
And while we're here add spec comments.
This commit is contained in:
parent
676554d3f8
commit
d72022ba04
2 changed files with 14 additions and 5 deletions
|
@ -193,7 +193,7 @@ public:
|
|||
FlyString unwind_until_label() const { return m_unwind_until_label; }
|
||||
|
||||
ThrowCompletionOr<Reference> resolve_binding(FlyString const&, Environment* = nullptr);
|
||||
Reference get_identifier_reference(Environment*, FlyString, bool strict, size_t hops = 0);
|
||||
ThrowCompletionOr<Reference> get_identifier_reference(Environment*, FlyString, bool strict, size_t hops = 0);
|
||||
|
||||
template<typename T, typename... Args>
|
||||
void throw_exception(GlobalObject& global_object, Args&&... args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue