btool
A parser/converter/transpiler for .bib files
AbstractParserState.cpp
Go to the documentation of this file.
1
#include "
AbstractParserState.hpp
"
2
#include <
ParserException.hpp
>
3
9
AbstractParserState::AbstractParserState
(
ParserContext
&context, std::vector<BibElement> &result) noexcept
10
: context{context}, result{result} {}
11
17
[[noreturn]]
auto
AbstractParserState::fail
(
const
std::string &message) ->
void
{
18
throw
ParserException
{
this
, context, message};
19
}
20
26
auto
AbstractParserState::handleCharacter
(
char
c) ->
ParserState
* {
27
return
this
;
28
}
ParserState
Definition:
ParserState.hpp:7
ParserContext
Definition:
ParserContext.hpp:10
ParserException.hpp
AbstractParserState::handleCharacter
auto handleCharacter(char c) -> ParserState *override
Definition:
AbstractParserState.cpp:26
ParserException
Definition:
ParserException.hpp:12
AbstractParserState.hpp
AbstractParserState::AbstractParserState
AbstractParserState(ParserContext &context, std::vector< BibElement > &result) noexcept
Definition:
AbstractParserState.cpp:9
AbstractParserState::fail
auto fail(const std::string &message) -> void
Definition:
AbstractParserState.cpp:17
src
AbstractParserState.cpp
Generated by
1.8.19