neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::lexer_token< Token, CharT > Class Template Reference

#include <lexer.hpp>

Inheritance diagram for neolib::lexer_token< Token, CharT >:

Public Types

typedef Token token_type
 
typedef std::basic_string< CharTvalue_type
 

Public Member Functions

 lexer_token ()
 
 lexer_token (token_type aToken, const value_type &aValue)
 
token_type token () const
 
const value_typevalue () const
 

Detailed Description

template<typename Token, typename CharT = char>
class neolib::lexer_token< Token, CharT >

Definition at line 72 of file lexer.hpp.

Member Typedef Documentation

◆ token_type

template<typename Token , typename CharT = char>
typedef Token neolib::lexer_token< Token, CharT >::token_type

Definition at line 76 of file lexer.hpp.

◆ value_type

template<typename Token , typename CharT = char>
typedef std::basic_string<CharT> neolib::lexer_token< Token, CharT >::value_type

Definition at line 77 of file lexer.hpp.

Constructor & Destructor Documentation

◆ lexer_token() [1/2]

template<typename Token , typename CharT = char>
neolib::lexer_token< Token, CharT >::lexer_token ( )
inline

Definition at line 79 of file lexer.hpp.

◆ lexer_token() [2/2]

template<typename Token , typename CharT = char>
neolib::lexer_token< Token, CharT >::lexer_token ( token_type  aToken,
const value_type aValue 
)
inline

Definition at line 83 of file lexer.hpp.

Member Function Documentation

◆ token()

template<typename Token , typename CharT = char>
token_type neolib::lexer_token< Token, CharT >::token ( ) const
inline

Definition at line 88 of file lexer.hpp.

◆ value()

template<typename Token , typename CharT = char>
const value_type & neolib::lexer_token< Token, CharT >::value ( ) const
inline

Definition at line 92 of file lexer.hpp.


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