pub enum Transform {
TabExpansion,
Reindent,
LevelOffsetWrapper,
SecureLinkRewrite,
UnresolvedDirective,
Rewritten,
}Expand description
Identifies which preprocessor transform is responsible for a non-verbatim line. Informational: it tells a consumer why a column is unavailable.
Variants§
TabExpansion
Tabs were expanded to spaces per the tabsize attribute.
Reindent
Leading indentation was normalized per the indent attribute.
LevelOffsetWrapper
A synthetic :leveloffset: attribute entry wrapping an include.
SecureLinkRewrite
A rewrite of an include:: directive into a link: macro: applied to
every target at SafeMode::Secure and above, and to a remote (URI)
target below secure when allow-uri-read is unset.
UnresolvedDirective
A synthetic “Unresolved directive” line replacing an include that could not be resolved.
Rewritten
The line was otherwise rewritten so its columns no longer align with the origin: an escaped directive with its leading backslash removed, or the spliced-in content of a single-line conditional.