btool
A parser/converter/transpiler for .bib files
GlobalParserState.hpp
Go to the documentation of this file.
1 #ifndef BIBPARSER_GLOBALPARSERSTATE_HPP
2 #define BIBPARSER_GLOBALPARSERSTATE_HPP
3 
5 #include <StyleParserState.hpp>
6 #include <ParserContext.hpp>
7 #include <BibElement.hpp>
8 #include <vector>
9 
15  public:
16 
19  std::vector<BibElement> &result
20  ) noexcept;
21 
22  auto handleCharacter(char c) -> ParserState * override;
23 };
24 
25 #endif
ParserState
Definition: ParserState.hpp:7
ParserContext.hpp
GlobalParserState::handleCharacter
auto handleCharacter(char c) -> ParserState *override
Definition: GlobalParserState.cpp:18
AbstractParserState
Definition: AbstractParserState.hpp:13
ParserContext
Definition: ParserContext.hpp:10
GlobalParserState
Global Parser State.
Definition: GlobalParserState.hpp:14
AbstractParserState::context
ParserContext & context
Context of the State.
Definition: AbstractParserState.hpp:15
StyleParserState.hpp
GlobalParserState::GlobalParserState
GlobalParserState(ParserContext &context, std::vector< BibElement > &result) noexcept
Definition: GlobalParserState.cpp:9
AbstractParserState.hpp
AbstractParserState::result
std::vector< BibElement > & result
Container for accumulating Parsing-Results.
Definition: AbstractParserState.hpp:16
BibElement.hpp