1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:27:45 +00:00

LibGUI: Use east const style in {INI,GML}Lexer.{cpp,h}

This commit is contained in:
Max Wipfli 2021-06-04 00:01:16 +02:00 committed by Ali Mohammad Pur
parent 106ad6ba09
commit e10278402f
4 changed files with 6 additions and 6 deletions

View file

@ -10,7 +10,7 @@
namespace GUI { namespace GUI {
GMLLexer::GMLLexer(const StringView& input) GMLLexer::GMLLexer(StringView const& input)
: m_input(input) : m_input(input)
{ {
} }

View file

@ -33,7 +33,7 @@ struct GMLToken {
#undef __TOKEN #undef __TOKEN
}; };
const char* to_string() const char const* to_string() const
{ {
switch (m_type) { switch (m_type) {
#define __TOKEN(x) \ #define __TOKEN(x) \
@ -53,7 +53,7 @@ struct GMLToken {
class GMLLexer { class GMLLexer {
public: public:
GMLLexer(const StringView&); GMLLexer(StringView const&);
Vector<GMLToken> lex(); Vector<GMLToken> lex();

View file

@ -10,7 +10,7 @@
namespace GUI { namespace GUI {
IniLexer::IniLexer(const StringView& input) IniLexer::IniLexer(StringView const& input)
: m_input(input) : m_input(input)
{ {
} }

View file

@ -33,7 +33,7 @@ struct IniToken {
#undef __TOKEN #undef __TOKEN
}; };
const char* to_string() const char const* to_string() const
{ {
switch (m_type) { switch (m_type) {
#define __TOKEN(x) \ #define __TOKEN(x) \
@ -52,7 +52,7 @@ struct IniToken {
class IniLexer { class IniLexer {
public: public:
IniLexer(const StringView&); IniLexer(StringView const&);
Vector<IniToken> lex(); Vector<IniToken> lex();