|
rapidyaml
0.12.0
parse and emit YAML, and do it fast
|
Options to give to the parser to control its behavior. More...
#include <common.hpp>
Public Member Functions | |
| ParserOptions ()=default | |
detection of @ref FLOW_ML container style | |
| ParserOptions & | detect_flow_ml (bool enabled) noexcept |
| enable/disable detection of FLOW_ML container style. More... | |
| bool | detect_flow_ml () const noexcept |
| query status of detection of FLOW_ML container style. More... | |
resolution of tags | |
| ParserOptions & | resolve_tags (bool enabled) noexcept |
| enable/disable resolution of YAML tags during parsing. More... | |
| bool | resolve_tags () const noexcept |
| query status of tag resolution setting. More... | |
| ParserOptions & | resolve_tags_all (bool enabled) noexcept |
| When resolve_tags() is enabled, resolve not just prefixed tags of the form. More... | |
| bool | resolve_tags_all () const noexcept |
| query status of non-prefixed tag resolution setting. More... | |
source location tracking | |
| ParserOptions & | locations (bool enabled) noexcept |
| enable/disable source location tracking More... | |
| bool | locations () const noexcept |
| query source location tracking status More... | |
scalar filtering status (experimental; disable at your discretion) | |
| ParserOptions & | scalar_filtering (bool enabled) noexcept |
| enable/disable scalar filtering while parsing More... | |
| bool | scalar_filtering () const noexcept |
| query scalar filtering status More... | |
Options to give to the parser to control its behavior.
Definition at line 346 of file common.hpp.
|
default |
|
inlinenoexcept |
enable/disable detection of FLOW_ML container style.
When enabled, the parser will set FLOW_ML as the style of flow containers which have the terminating bracket on a line different from that of the opening bracket.
Definition at line 383 of file common.hpp.
|
inlinenoexcept |
query status of detection of FLOW_ML container style.
Definition at line 388 of file common.hpp.
|
inlinenoexcept |
enable/disable resolution of YAML tags during parsing.
When enabled, tags are resolved according to existing tag directives. Disabled by default. See also ParserOptions::resolve_tags_all().
Definition at line 401 of file common.hpp.
|
inlinenoexcept |
query status of tag resolution setting.
Definition at line 406 of file common.hpp.
|
inlinenoexcept |
When resolve_tags() is enabled, resolve not just prefixed tags of the form.
!handle!tag
, but also non-prefixed tags (
!!tag
and
!tag!
). Disabled by default.
Definition at line 411 of file common.hpp.
|
inlinenoexcept |
query status of non-prefixed tag resolution setting.
Definition at line 416 of file common.hpp.
|
inlinenoexcept |
enable/disable source location tracking
Definition at line 426 of file common.hpp.
|
inlinenoexcept |
query source location tracking status
Definition at line 431 of file common.hpp.
|
inlinenoexcept |
enable/disable scalar filtering while parsing
Definition at line 441 of file common.hpp.
|
inlinenoexcept |
query scalar filtering status
Definition at line 446 of file common.hpp.