top | up | prev | next

ParsingException Class

Definition at line 14 of ParsingException.hpp

Constructors

ParsingException(const std::string& message_, const std::string& fileName_, const Span& span_)

Member Functions

const std::string& FileName() const
const Span& GetSpan() const
const std::string& Message() const
void* Module() const
const std::string& Project() const
void SetModule(void* mod_)
void SetProject(const std::string& project_)

Member Variables

std::string fileName
std::string message
void* mod
std::string project
Span span

Constructor Details

ParsingException Constructor

soulng::lexer::ParsingException::ParsingException(const std::string& message_, const std::string& fileName_, const Span & span_)

Definition at line 10 of ParsingException.cpp :
10 :
11 std::runtime_error(message_)message(message_)fileName(fileName_)span(span_)mod(nullptr)
12 {
13 }


Declaration at line 17 of ParsingException.hpp


Member Function Details

FileName Member Function

const std::string& soulng::lexer::ParsingException::FileName() const

Definition at line 20 of ParsingException.hpp :
20 { return fileName; }


GetSpan Member Function

const Span & soulng::lexer::ParsingException::GetSpan() const

Definition at line 21 of ParsingException.hpp :
21 { return span; }


Message Member Function

const std::string& soulng::lexer::ParsingException::Message() const

Definition at line 19 of ParsingException.hpp :
19 { return message; }


Module Member Function

void * soulng::lexer::ParsingException::Module() const

Definition at line 23 of ParsingException.hpp :
23 { return mod; }


Project Member Function

const std::string& soulng::lexer::ParsingException::Project() const

Definition at line 18 of ParsingException.hpp :
18 { return project; }


SetModule Member Function

void soulng::lexer::ParsingException::SetModule(void * mod_)

Definition at line 24 of ParsingException.hpp :
24 { mod = mod_; }


SetProject Member Function

void soulng::lexer::ParsingException::SetProject(const std::string& project_)

Definition at line 15 of ParsingException.cpp :
16 {
17     project = project_;
18 }


Declaration at line 22 of ParsingException.hpp


top | up | prev | next