pub struct ParseOptions {
pub resilient: bool,
pub enable_includes: bool,
pub resolve_includes: bool,
pub allow_parent_escapes: bool,
}Expand description
Options controlling parsing and healing behavior.
Fields§
§resilient: boolWhen true, medium-confidence repairs (0.70–0.94) are applied and reported as warnings. When false (strict, the default), they are declined and the underlying syntax diagnostic stands.
enable_includes: boolWhen true, include statements are loaded from the filesystem
(spec §2.7). False by default: string-based parsing stays hermetic
(the fuzz harness depends on this). parse_file enables it.
resolve_includes: boolWhen true (default), recorded includes are resolved and merged.
active-fmt disables it so formatting preserves include statements
alongside local keys instead of a composed tree.
allow_parent_escapes: boolWhen true, include paths may be absolute or escape the including
directory via ... False by default (E015 otherwise).
Implementations§
Source§impl ParseOptions
impl ParseOptions
Sourcepub const fn resilient_mode() -> Self
pub const fn resilient_mode() -> Self
Resilient-mode defaults (const-compatible for test constants).