Webserv
|
Represents a single lexical token with a type and a literal value. More...
#include <Token.hpp>
Public Member Functions | |
bool | isTypeIn (TokenType const arr[], size_t size) const |
Checks if the token's type is present in a given array of types. |
Public Attributes | |
std::string | literal |
TokenType | type |
Represents a single lexical token with a type and a literal value.
bool config::Token::isTypeIn | ( | TokenType const | arr[], |
size_t | size ) const |
Checks if the token's type is present in a given array of types.
arr | An array of TokenType to check against. |
size | The size of the array. |
std::string config::Token::literal |
TokenType config::Token::type |