#include <GlobalParserState.hpp>
Public Member Functions | |
GlobalParserState (ParserContext &context, std::vector< BibElement > &result) noexcept | |
auto | handleCharacter (char c) -> ParserState *override |
Public Member Functions inherited from AbstractParserState | |
AbstractParserState (ParserContext &context, std::vector< BibElement > &result) noexcept | |
Public Member Functions inherited from ParserState | |
virtual | ~ParserState ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractParserState | |
auto | fail (const std::string &message) -> void |
Protected Attributes inherited from AbstractParserState | |
ParserContext & | context |
Context of the State. More... | |
std::vector< BibElement > & | result |
Container for accumulating Parsing-Results. More... | |
Global Parser State.
Global State of the Parser, looking for the next Element to parse (beginning with an '@')
Definition at line 14 of file GlobalParserState.hpp.
|
noexcept |
Constructor.
context | of the parser |
result | accumulator of parsing-results |
Definition at line 9 of file GlobalParserState.cpp.
|
overridevirtual |
Handles the next character in global-state
c | the next character to parse |
ParserException | on parsing-error (invalid input) |
Reimplemented from AbstractParserState.
Definition at line 18 of file GlobalParserState.cpp.
References AbstractParserState::context, and AbstractParserState::result.