Webserv
Loading...
Searching...
No Matches
Token.hpp File Reference
#include <string>
#include <ostream>

Go to the source code of this file.

Classes

struct  config::Token
 Represents a single lexical token with a type and a literal value. More...

Namespaces

namespace  config

Typedefs

typedef enum config::TokenType config::TokenType
typedef struct config::Token config::Token

Enumerations

enum  config::TokenType {
  config::IDENTIFIER , config::STRING , config::NUMBER , config::ENDPOINT ,
  config::LEFT_BRACE , config::RIGHT_BRACE , config::SEMICOLON , config::UNKNOWN ,
  config::END_OF_FILE
}
 Represents the type of a lexical token. More...

Functions

std::ostream & config::operator<< (std::ostream &o, Token const &t)
std::ostream & config::operator<< (std::ostream &o, TokenType const t)