Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Public Member Functions | Data Fields | Friends
cli::Lexer::Token Struct Reference

#include <Lexer.h>

Public Member Functions

bool operator< (const Token &token) const
 

Data Fields

std::string m_value
 
std::string m_raw
 
TokenType m_type
 
size_t m_line = 0
 
size_t m_position = 0
 
size_t m_raw_line = 0
 
size_t m_raw_position = 0
 

Friends

std::ostream & operator<< (std::ostream &out, const Token &token)
 

Member Function Documentation

◆ operator<()

bool cli::Lexer::Token::operator< ( const Token token) const
inline
Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  out,
const Token token 
)
friend

Field Documentation

◆ m_line

size_t cli::Lexer::Token::m_line = 0

◆ m_position

size_t cli::Lexer::Token::m_position = 0

◆ m_raw

std::string cli::Lexer::Token::m_raw

◆ m_raw_line

size_t cli::Lexer::Token::m_raw_line = 0

◆ m_raw_position

size_t cli::Lexer::Token::m_raw_position = 0

◆ m_type

TokenType cli::Lexer::Token::m_type

◆ m_value

std::string cli::Lexer::Token::m_value

The documentation for this struct was generated from the following file: