top | up | prev | next

Lexeme Struct

Definition at line 13 of Lexeme.hpp

Constructors

Lexeme()
Lexeme(const char32_t* begin_, const char32_t* end_)

Member Functions

std::u32string ToString() const

Member Variables

const char32_t* begin
const char32_t* end

Constructor Details

Lexeme Constructor

soulng::lexer::Lexeme::Lexeme()

Definition at line 15 of Lexeme.hpp :
15 : begin(nullptr)end(nullptr) { }


Lexeme Constructor

soulng::lexer::Lexeme::Lexeme(const char32_t * begin_, const char32_t * end_)

Definition at line 16 of Lexeme.hpp :
16 : begin(begin_)end(end_) { }


Member Function Details

ToString Member Function

std::u32string soulng::lexer::Lexeme::ToString() const

Definition at line 17 of Lexeme.hpp :
17 { return std::u32string(beginend); }

Called by: soulng::lexer::Lexer::ErrorLines , soulng::lexer::Lexer::ErrorLines , soulng::lexer::Lexer::GetMatch


top | up | prev | next