|
rapidyaml
0.11.1
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 | |
source location tracking | |
| ParserOptions & | locations (bool enabled) noexcept |
| enable/disable source location tracking More... | |
| bool | locations () const noexcept |
| query source location tracking status More... | |
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... | |
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 source location tracking
Definition at line 369 of file common.hpp.
|
inlinenoexcept |
query source location tracking status
Definition at line 378 of file common.hpp.
|
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 391 of file common.hpp.
|
inlinenoexcept |
query status of detection of FLOW_ML container style.
Definition at line 400 of file common.hpp.
|
inlinenoexcept |
enable/disable scalar filtering while parsing
Definition at line 410 of file common.hpp.
|
inlinenoexcept |
query scalar filtering status
Definition at line 419 of file common.hpp.