|
rapidyaml
0.7.2
parse and emit YAML, and do it fast
|
The stack state needed specifically by EventHandlerTree. More...
#include <event_handler_tree.hpp>
Public Member Functions | |
| void | start_parse (const char *file, id_type node_id_) |
| void | reset_after_push () |
| void | reset_before_pop (ParserState const &to_pop) |
| bool | at_line_beginning () const noexcept |
| bool | indentation_eq () const noexcept |
| bool | indentation_ge () const noexcept |
| bool | indentation_gt () const noexcept |
| bool | indentation_lt () const noexcept |
Public Attributes | |
| NodeData * | tr_data |
| LineContents | line_contents |
| Location | pos |
| ParserFlag_t | flags |
| size_t | indref |
| the reference indentation in the current block scope More... | |
| id_type | level |
| id_type | node_id |
| don't hold a pointer to the node as it will be relocated during tree resizes More... | |
| size_t | scalar_col |
| bool | more_indented |
| bool | has_children |
The stack state needed specifically by EventHandlerTree.
Definition at line 22 of file event_handler_tree.hpp.
|
inlineinherited |
Definition at line 143 of file parser_state.hpp.
References c4::yml::Location::col, c4::yml::ParserState::has_children, c4::yml::ParserState::indref, c4::yml::ParserState::level, c4::yml::Location::line, c4::yml::ParserState::more_indented, c4::yml::Location::name, c4::yml::ParserState::node_id, c4::yml::Location::offset, c4::yml::ParserState::pos, c4::yml::ParserState::scalar_col, and c4::to_csubstr().
|
inlineinherited |
Definition at line 157 of file parser_state.hpp.
References c4::yml::ParserState::has_children, c4::yml::ParserState::indref, c4::yml::ParserState::level, c4::yml::ParserState::more_indented, c4::yml::ParserState::node_id, c4::yml::NONE, and c4::yml::npos.
|
inlineinherited |
Definition at line 166 of file parser_state.hpp.
References c4::yml::ParserState::line_contents, and c4::yml::ParserState::pos.
|
inlinenoexceptinherited |
Definition at line 174 of file parser_state.hpp.
References c4::yml::LineContents::full, c4::yml::ParserState::line_contents, and c4::yml::LineContents::rem.
|
inlinenoexceptinherited |
Definition at line 178 of file parser_state.hpp.
References c4::yml::LineContents::indentation, c4::yml::ParserState::indref, c4::yml::ParserState::line_contents, and c4::yml::npos.
|
inlinenoexceptinherited |
Definition at line 183 of file parser_state.hpp.
References c4::yml::LineContents::indentation, c4::yml::ParserState::indref, c4::yml::ParserState::line_contents, and c4::yml::npos.
|
inlinenoexceptinherited |
Definition at line 188 of file parser_state.hpp.
References c4::yml::LineContents::indentation, c4::yml::ParserState::indref, c4::yml::ParserState::line_contents, and c4::yml::npos.
|
inlinenoexceptinherited |
Definition at line 193 of file parser_state.hpp.
References c4::yml::LineContents::indentation, c4::yml::ParserState::indref, c4::yml::ParserState::line_contents, and c4::yml::npos.
| NodeData* c4::yml::EventHandlerTreeState::tr_data |
Definition at line 24 of file event_handler_tree.hpp.
|
inherited |
Definition at line 131 of file parser_state.hpp.
Referenced by c4::yml::ParserState::at_line_beginning(), c4::yml::ParserState::indentation_eq(), c4::yml::ParserState::indentation_ge(), c4::yml::ParserState::indentation_gt(), c4::yml::ParserState::indentation_lt(), and c4::yml::ParserState::reset_before_pop().
|
inherited |
Definition at line 132 of file parser_state.hpp.
Referenced by c4::yml::ParserState::reset_before_pop(), and c4::yml::ParserState::start_parse().
|
inherited |
Definition at line 133 of file parser_state.hpp.
|
inherited |
the reference indentation in the current block scope
Definition at line 134 of file parser_state.hpp.
Referenced by c4::yml::ParserState::indentation_eq(), c4::yml::ParserState::indentation_ge(), c4::yml::ParserState::indentation_gt(), c4::yml::ParserState::indentation_lt(), c4::yml::ParserState::reset_after_push(), and c4::yml::ParserState::start_parse().
|
inherited |
Definition at line 135 of file parser_state.hpp.
Referenced by c4::yml::ParserState::reset_after_push(), and c4::yml::ParserState::start_parse().
|
inherited |
don't hold a pointer to the node as it will be relocated during tree resizes
Definition at line 136 of file parser_state.hpp.
Referenced by c4::yml::ParserState::reset_after_push(), and c4::yml::ParserState::start_parse().
|
inherited |
Definition at line 137 of file parser_state.hpp.
Referenced by c4::yml::ParserState::start_parse().
|
inherited |
Definition at line 138 of file parser_state.hpp.
Referenced by c4::yml::ParserState::reset_after_push(), and c4::yml::ParserState::start_parse().
|
inherited |
Definition at line 139 of file parser_state.hpp.
Referenced by c4::yml::ParserState::reset_after_push(), and c4::yml::ParserState::start_parse().