#include <parser_state.hpp>
Definition at line 112 of file parser_state.hpp.
◆ ParserState()
| c4::yml::ParserState::ParserState |
( |
| ) |
|
|
default |
◆ start_parse()
| void c4::yml::ParserState::start_parse |
( |
const char * |
file, |
|
|
id_type |
node_id_ |
|
) |
| |
|
inline |
Definition at line 126 of file parser_state.hpp.
csubstr to_csubstr(substr s) noexcept
neutral version for use in generic code
size_t offset
number of bytes from the beginning of the source buffer
csubstr name
name of the file
size_t indref
the reference indentation in the current block scope
id_type node_id
don't hold a pointer to the node as it will be relocated during tree resizes
References c4::yml::Location::col, has_children, indref, level, c4::yml::Location::line, more_indented, c4::yml::Location::name, node_id, c4::yml::Location::offset, pos, scalar_col, and c4::to_csubstr().
◆ reset_after_push()
| void c4::yml::ParserState::reset_after_push |
( |
| ) |
|
|
inline |
◆ reset_before_pop()
| void c4::yml::ParserState::reset_before_pop |
( |
ParserState const & |
to_pop | ) |
|
|
inline |
◆ at_line_beginning()
| bool c4::yml::ParserState::at_line_beginning |
( |
| ) |
const |
|
inlinenoexcept |
◆ at_first_token()
| bool c4::yml::ParserState::at_first_token |
( |
| ) |
const |
|
inlinenoexcept |
◆ indentation_eq()
| bool c4::yml::ParserState::indentation_eq |
( |
| ) |
const |
|
inlinenoexcept |
◆ indentation_eq_extra()
| bool c4::yml::ParserState::indentation_eq_extra |
( |
| ) |
const |
|
inlinenoexcept |
◆ indentation_ge()
| bool c4::yml::ParserState::indentation_ge |
( |
| ) |
const |
|
inlinenoexcept |
◆ indentation_ge_extra()
| bool c4::yml::ParserState::indentation_ge_extra |
( |
| ) |
const |
|
inlinenoexcept |
◆ indentation_gt()
| bool c4::yml::ParserState::indentation_gt |
( |
| ) |
const |
|
inlinenoexcept |
◆ indentation_gt_extra()
| bool c4::yml::ParserState::indentation_gt_extra |
( |
| ) |
const |
|
inlinenoexcept |
◆ indentation_lt()
| bool c4::yml::ParserState::indentation_lt |
( |
| ) |
const |
|
inlinenoexcept |
◆ indentation_lt_extra()
| bool c4::yml::ParserState::indentation_lt_extra |
( |
| ) |
const |
|
inlinenoexcept |
◆ line_contents
◆ pos
◆ flags
◆ indref
| size_t c4::yml::ParserState::indref |
the reference indentation in the current block scope
Definition at line 117 of file parser_state.hpp.
◆ level
| id_type c4::yml::ParserState::level |
◆ node_id
| id_type c4::yml::ParserState::node_id |
don't hold a pointer to the node as it will be relocated during tree resizes
Definition at line 119 of file parser_state.hpp.
◆ scalar_col
| size_t c4::yml::ParserState::scalar_col |
◆ more_indented
| bool c4::yml::ParserState::more_indented |
◆ has_children
| bool c4::yml::ParserState::has_children |
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/rapidyaml/checkouts/v0.12.0/src/c4/yml/parser_state.hpp