1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:07:46 +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:
Timothy Flynn 2023-01-08 19:23:00 -05:00 committed by Linus Groh
parent 2eacc7aec1
commit f3db548a3d
316 changed files with 1177 additions and 1177 deletions

View file

@ -2427,7 +2427,7 @@ bool ECMA262Parser::parse_unicode_property_escape(PropertyEscape& property, bool
[](Empty&) -> bool { VERIFY_NOT_REACHED(); });
}
FlyString ECMA262Parser::read_capture_group_specifier(bool take_starting_angle_bracket)
DeprecatedFlyString ECMA262Parser::read_capture_group_specifier(bool take_starting_angle_bracket)
{
static auto id_start_category = Unicode::property_from_string("ID_Start"sv);
static auto id_continue_category = Unicode::property_from_string("ID_Continue"sv);
@ -2530,7 +2530,7 @@ FlyString ECMA262Parser::read_capture_group_specifier(bool take_starting_angle_b
builder.append_code_point(code_point);
}
FlyString name = builder.build();
DeprecatedFlyString name = builder.build();
if (!hit_end || name.is_empty())
set_error(Error::InvalidNameForCaptureGroup);