#include <llvmexpr/analysis/framework/AnalysisError.hpp>
Definition at line 30 of file AnalysisError.hpp.
◆ AnalysisError() [1/3]
| analysis::AnalysisError::AnalysisError |
( |
const std::string & | message | ) |
|
|
inlineexplicit |
◆ AnalysisError() [2/3]
| analysis::AnalysisError::AnalysisError |
( |
const std::string & | message, |
|
|
int | token_idx ) |
|
inline |
Definition at line 35 of file AnalysisError.hpp.
36 : std::runtime_error(message), token_idx(token_idx) {}
◆ AnalysisError() [3/3]
| analysis::AnalysisError::AnalysisError |
( |
const std::string & | message, |
|
|
int | token_idx, |
|
|
std::string_view | token_text ) |
|
inline |
Definition at line 38 of file AnalysisError.hpp.
40 : std::runtime_error(message), token_idx(token_idx),
41 token_text(token_text) {}
◆ getTokenIndex()
| std::optional< int > analysis::AnalysisError::getTokenIndex |
( |
| ) |
const |
|
inlinenodiscard |
◆ getTokenText()
| std::optional< std::string > analysis::AnalysisError::getTokenText |
( |
| ) |
const |
|
inlinenodiscard |
The documentation for this class was generated from the following file: