Mana
mana::Lexer Class Referencefinal

Public Member Functions

 Lexer ()=delete
 
 Lexer (const Lexer &other)=delete
 
 Lexer (Lexer &&other) noexcept=delete
 
Lexer operator= (const Lexer &other)=delete
 
Lexer operator= (Lexer &&other) noexcept=delete
 
 Lexer (const std::shared_ptr< ParsingDriver > &parsingDriver)
 
 ~Lexer ()
 
bool Open (const std::string_view &filename, const bool check)
 
bool IsOpened (const std::string_view &path)
 
bool Close ()
 
const std::string & GetCurrentFilename ()
 
void SetCurrentFilename (const std::string &filename)
 

Static Public Member Functions

static int_t Binary (const char *text)
 

Public Attributes

std::shared_ptr< ParsingDrivermParsingDriver
 
std::stack< std::unique_ptr< Context > > mContext
 
std::set< std::string_view > mPathSet
 
std::string mCurrentPath
 

Constructor & Destructor Documentation

◆ Lexer() [1/4]

mana::Lexer::Lexer ( )
delete

◆ Lexer() [2/4]

mana::Lexer::Lexer ( const Lexer other)
delete

◆ Lexer() [3/4]

mana::Lexer::Lexer ( Lexer &&  other)
deletenoexcept

◆ Lexer() [4/4]

mana::Lexer::Lexer ( const std::shared_ptr< ParsingDriver > &  parsingDriver)
explicit

◆ ~Lexer()

mana::Lexer::~Lexer ( )

Member Function Documentation

◆ Binary()

mana::int_t mana::Lexer::Binary ( const char *  text)
static

◆ Close()

bool mana::Lexer::Close ( )

◆ GetCurrentFilename()

const std::string & mana::Lexer::GetCurrentFilename ( )

◆ IsOpened()

bool mana::Lexer::IsOpened ( const std::string_view &  path)

◆ Open()

bool mana::Lexer::Open ( const std::string_view &  filename,
const bool  check 
)

◆ operator=() [1/2]

Lexer mana::Lexer::operator= ( const Lexer other)
delete

◆ operator=() [2/2]

Lexer mana::Lexer::operator= ( Lexer &&  other)
deletenoexcept

◆ SetCurrentFilename()

void mana::Lexer::SetCurrentFilename ( const std::string &  filename)

Member Data Documentation

◆ mContext

std::stack<std::unique_ptr<Context> > mana::Lexer::mContext

◆ mCurrentPath

std::string mana::Lexer::mCurrentPath

◆ mParsingDriver

std::shared_ptr<ParsingDriver> mana::Lexer::mParsingDriver

◆ mPathSet

std::set<std::string_view> mana::Lexer::mPathSet

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