mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 06:37:35 +00:00
AK+Everywhere: Rename FlyString to DeprecatedFlyString
DeprecatedFlyString relies heavily on DeprecatedString's StringImpl, so let's rename it to A) match the name of DeprecatedString, B) write a new FlyString class that is tied to String.
This commit is contained in:
parent
2eacc7aec1
commit
f3db548a3d
316 changed files with 1177 additions and 1177 deletions
|
@ -302,7 +302,7 @@ JS::Value LegacyPlatformObject::item_value(size_t) const
|
|||
return JS::js_undefined();
|
||||
}
|
||||
|
||||
JS::Value LegacyPlatformObject::named_item_value(FlyString const&) const
|
||||
JS::Value LegacyPlatformObject::named_item_value(DeprecatedFlyString const&) const
|
||||
{
|
||||
return JS::js_undefined();
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ public:
|
|||
JS::ThrowCompletionOr<Optional<JS::PropertyDescriptor>> legacy_platform_object_get_own_property_for_set_slot(JS::PropertyKey const&) const;
|
||||
|
||||
virtual JS::Value item_value(size_t index) const;
|
||||
virtual JS::Value named_item_value(FlyString const& name) const;
|
||||
virtual JS::Value named_item_value(DeprecatedFlyString const& name) const;
|
||||
virtual Vector<DeprecatedString> supported_property_names() const;
|
||||
virtual bool is_supported_property_index(u32) const;
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <AK/FlyString.h>
|
||||
#include <AK/DeprecatedFlyString.h>
|
||||
#include <AK/StringBuilder.h>
|
||||
#include <LibJS/Heap/MarkedVector.h>
|
||||
#include <LibJS/Runtime/Completion.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue