mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +00:00
LibGUI: Use east const style in {INI,GML}Lexer.{cpp,h}
This commit is contained in:
parent
106ad6ba09
commit
e10278402f
Notes:
sideshowbarker
2024-07-18 16:53:24 +09:00
Author: https://github.com/MaxWipfli Commit: https://github.com/SerenityOS/serenity/commit/e10278402f3 Pull-request: https://github.com/SerenityOS/serenity/pull/7768 Issue: https://github.com/SerenityOS/serenity/issues/7349 Reviewed-by: https://github.com/alimpfard
4 changed files with 6 additions and 6 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
namespace GUI {
|
||||
|
||||
GMLLexer::GMLLexer(const StringView& input)
|
||||
GMLLexer::GMLLexer(StringView const& input)
|
||||
: m_input(input)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ struct GMLToken {
|
|||
#undef __TOKEN
|
||||
};
|
||||
|
||||
const char* to_string() const
|
||||
char const* to_string() const
|
||||
{
|
||||
switch (m_type) {
|
||||
#define __TOKEN(x) \
|
||||
|
@ -53,7 +53,7 @@ struct GMLToken {
|
|||
|
||||
class GMLLexer {
|
||||
public:
|
||||
GMLLexer(const StringView&);
|
||||
GMLLexer(StringView const&);
|
||||
|
||||
Vector<GMLToken> lex();
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
namespace GUI {
|
||||
|
||||
IniLexer::IniLexer(const StringView& input)
|
||||
IniLexer::IniLexer(StringView const& input)
|
||||
: m_input(input)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ struct IniToken {
|
|||
#undef __TOKEN
|
||||
};
|
||||
|
||||
const char* to_string() const
|
||||
char const* to_string() const
|
||||
{
|
||||
switch (m_type) {
|
||||
#define __TOKEN(x) \
|
||||
|
@ -52,7 +52,7 @@ struct IniToken {
|
|||
|
||||
class IniLexer {
|
||||
public:
|
||||
IniLexer(const StringView&);
|
||||
IniLexer(StringView const&);
|
||||
|
||||
Vector<IniToken> lex();
|
||||
|
||||
|
|
Loading…
Reference in a new issue