Skip to main content

Module transform

Module transform 

Source
Expand description

Port of the Transform/ directory.

Modules§

transformers
Port of the Transform/Transformers/ directory.

Structs§

AstTransformationContext
ContextXamlAstVisitor
A visitor bound to a transformation context: it maintains the parent stack and converts transformer failures into diagnostics, replacing the failed node with a “skip” node when the diagnostics handler does not treat the error as fatal.
GuidIdentifierGenerator
Generates 32 hexadecimal digits that are unique within the process and random across processes (the upstream implementation formats a new GUID).
NamespaceInfoHelper
NamespaceResolveResult
TransformerConfiguration
WhitespaceNormalization
XamlContextBase
State shared by the transformation and emit contexts: a typed item bag and the stack of parent nodes of the node being processed.
XamlDiagnosticsHandler
XamlLanguageTypeMappings
XamlTransformHelpers
XamlXmlnsMappings

Enums§

XamlDiagnosticCodeSource
The object passed to CodeMappings upstream: an exception, a well known code or a diagnostic id taken from an attribute.

Traits§

IContextXamlAstVisitorCore
The overridable part of the upstream abstract ContextXamlAstVisitor.
IXamlAstTransformer
IXamlCustomAttributeResolver
IXamlIdentifierGenerator

Type Aliases§

XamlDiagnosticCallback
XamlDiagnosticCodeMappings
XamlDiagnosticExceptionFormatter
XamlValueConverter
TransformerConfiguration.XamlValueConverter: returns Ok(Some(node)) when the host converted node to type_ (the C# out result), Ok(None) otherwise.