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