Key Parser State.
More...
#include <ValueParserState.hpp>
|
std::string | value |
| a accumulator for value-characters while parsing it More...
|
|
std::stack< std::pair< std::size_t, std::size_t > > | braces |
| a stack for counting delimiting braces More...
|
|
Key Parser State.
Value State of the Parser, parsing the value of the last Bib-Elements properties key
- Examples
- /github/workspace/test/ParserStateFixtureTest.cpp.
Definition at line 16 of file ValueParserState.hpp.
◆ ValueParserState()
Constructor.
- Parameters
-
context | of the parser |
result | accumulator of parsing-results |
Definition at line 17 of file ValueParserState.cpp.
◆ handleCharacter()
auto ValueParserState::handleCharacter |
( |
char |
c | ) |
-> ParserState * |
|
overridevirtual |
Handles the next character in value-state
- Parameters
-
c | the next character to parse |
- Returns
- a new parser-state
- Exceptions
-
Reimplemented from AbstractParserState.
Definition at line 26 of file ValueParserState.cpp.
◆ replaceSpecialCharacter()
auto ValueParserState::replaceSpecialCharacter |
( |
std::string & |
s | ) |
-> void |
|
static |
◆ braces
std::stack<std::pair<std::size_t, std::size_t> > ValueParserState::braces |
|
private |
◆ value
std::string ValueParserState::value |
|
private |
The documentation for this class was generated from the following files: