mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 22:47:45 +00:00
Everywhere: Rename to_{string => deprecated_string}() where applicable
This will make it easier to support both string types at the same time while we convert code, and tracking down remaining uses. One big exception is Value::to_string() in LibJS, where the name is dictated by the ToString AO.
This commit is contained in:
parent
6e19ab2bbc
commit
57dc179b1f
597 changed files with 1973 additions and 1972 deletions
|
@ -52,7 +52,7 @@ public:
|
|||
return (m_type == Type::Length && !m_length.is_auto()) || is_percentage();
|
||||
}
|
||||
|
||||
DeprecatedString to_string() const;
|
||||
DeprecatedString to_deprecated_string() const;
|
||||
bool operator==(GridSize const& other) const
|
||||
{
|
||||
return m_type == other.type()
|
||||
|
@ -78,7 +78,7 @@ public:
|
|||
GridSize min_grid_size() const& { return m_min_grid_size; }
|
||||
GridSize max_grid_size() const& { return m_max_grid_size; }
|
||||
|
||||
DeprecatedString to_string() const;
|
||||
DeprecatedString to_deprecated_string() const;
|
||||
bool operator==(GridMinMax const& other) const
|
||||
{
|
||||
return m_min_grid_size == other.min_grid_size()
|
||||
|
@ -100,7 +100,7 @@ public:
|
|||
Vector<CSS::ExplicitGridTrack> track_list() const { return m_track_list; }
|
||||
Vector<Vector<DeprecatedString>> line_names() const { return m_line_names; }
|
||||
|
||||
DeprecatedString to_string() const;
|
||||
DeprecatedString to_deprecated_string() const;
|
||||
bool operator==(GridTrackSizeList const& other) const
|
||||
{
|
||||
return m_line_names == other.line_names() && m_track_list == other.track_list();
|
||||
|
@ -133,7 +133,7 @@ public:
|
|||
GridTrackSizeList grid_track_size_list() const& { return m_grid_track_size_list; }
|
||||
Type type() const& { return m_type; }
|
||||
|
||||
DeprecatedString to_string() const;
|
||||
DeprecatedString to_deprecated_string() const;
|
||||
bool operator==(GridRepeat const& other) const
|
||||
{
|
||||
if (m_type != other.type())
|
||||
|
@ -183,7 +183,7 @@ public:
|
|||
|
||||
Type type() const { return m_type; }
|
||||
|
||||
DeprecatedString to_string() const;
|
||||
DeprecatedString to_deprecated_string() const;
|
||||
bool operator==(ExplicitGridTrack const& other) const
|
||||
{
|
||||
if (is_repeat() && other.is_repeat())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue