#include <parser_state.hpp>
Definition at line 112 of file parser_state.hpp.
| c4::yml::ParserState::ParserState |
( |
| ) |
|
|
default |
| void c4::yml::ParserState::start_parse |
( |
const char * |
file, |
|
|
id_type |
node_id_ |
|
) |
| |
|
inline |
Definition at line 126 of file parser_state.hpp.
size_t offset
number of bytes from the beginning of the source buffer
size_t indref
the reference indentation in the current block scope
csubstr name
name of the file
id_type node_id
don't hold a pointer to the node as it will be relocated during tree resizes
csubstr to_csubstr(const char(&s)[N]) noexcept
| void c4::yml::ParserState::reset_after_push |
( |
| ) |
|
|
inline |
Definition at line 140 of file parser_state.hpp.
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
| void c4::yml::ParserState::reset_before_pop |
( |
ParserState const & |
to_pop | ) |
|
|
inline |
| bool c4::yml::ParserState::at_line_beginning |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 157 of file parser_state.hpp.
C * str
a restricted pointer to the first character of the substring
LineContents line_contents
substr full
full line, including newline characters \n and \r
substr rem
current line remainder, without newline characters
| bool c4::yml::ParserState::at_first_token |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 161 of file parser_state.hpp.
LineContents line_contents
size_t indentation
number of spaces on the beginning of the line.
| bool c4::yml::ParserState::indentation_eq |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 166 of file parser_state.hpp.
size_t indref
the reference indentation in the current block scope
LineContents line_contents
size_t indentation
number of spaces on the beginning of the line.
| bool c4::yml::ParserState::indentation_eq_extra |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 172 of file parser_state.hpp.
size_t indref
the reference indentation in the current block scope
LineContents line_contents
size_t indentation
number of spaces on the beginning of the line.
| bool c4::yml::ParserState::indentation_ge |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 178 of file parser_state.hpp.
size_t indref
the reference indentation in the current block scope
LineContents line_contents
size_t indentation
number of spaces on the beginning of the line.
| bool c4::yml::ParserState::indentation_ge_extra |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 184 of file parser_state.hpp.
size_t indref
the reference indentation in the current block scope
LineContents line_contents
size_t indentation
number of spaces on the beginning of the line.
| bool c4::yml::ParserState::indentation_gt |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 190 of file parser_state.hpp.
size_t indref
the reference indentation in the current block scope
LineContents line_contents
size_t indentation
number of spaces on the beginning of the line.
| bool c4::yml::ParserState::indentation_gt_extra |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 196 of file parser_state.hpp.
size_t indref
the reference indentation in the current block scope
LineContents line_contents
size_t indentation
number of spaces on the beginning of the line.
| bool c4::yml::ParserState::indentation_lt |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 202 of file parser_state.hpp.
size_t indref
the reference indentation in the current block scope
LineContents line_contents
size_t indentation
number of spaces on the beginning of the line.
| bool c4::yml::ParserState::indentation_lt_extra |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 207 of file parser_state.hpp.
size_t indref
the reference indentation in the current block scope
LineContents line_contents
size_t indentation
number of spaces on the beginning of the line.
| size_t c4::yml::ParserState::indref |
| id_type c4::yml::ParserState::level |
| 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.
| size_t c4::yml::ParserState::scalar_col |
| bool c4::yml::ParserState::more_indented |
| bool c4::yml::ParserState::has_children |
The documentation for this struct was generated from the following file:
- /tmp/B.egjz6vsx/BUILD/rapidyaml-0.16.0-build/rapidyaml-0.16.0/src/c4/yml/parser_state.hpp