diff --git a/Lexer/inc/Token.h b/Lexer/inc/Token.h index f6bc2c9..56f26e4 100644 --- a/Lexer/inc/Token.h +++ b/Lexer/inc/Token.h @@ -84,16 +84,16 @@ namespace LXC::Lexer // Util function calculating wether a token is of a given class // template static constexpr bool IsTypeClass(TokenType type) - { - using T = std::underlying_type_t; - return static_cast(type) & static_cast(mask); - } + { + using T = std::underlying_type_t; + return static_cast(type) & static_cast(mask); + } - template static constexpr bool IsTypeClass(Token token) - { - using T = std::underlying_type_t; - return static_cast(token.type) & static_cast(mask); - } + template static constexpr bool IsTypeClass(Token token) + { + using T = std::underlying_type_t; + return static_cast(token.type) & static_cast(mask); + } // Constructor to set the data of the token for more complex token types // Token(const LexerContext& ctx, uint32_t start, unsigned short len, TokenType _type);