Skip to main content

Module markup

Module markup 

Source
Expand description

XAML and XML markup declaration and reference extraction.

Structs§

MarkupDef
One markup-declared type: the x:Class value, already split the way a C# def is. This is the defs entry markup_facts produces.
MarkupFacts
Represents MarkupFacts.
MarkupRef
One markup-contributed ref in the shape the C# extractor emits, so resolve_graph needs no markup branch: qualified is Some only when the source text was dotted (the ladder’s exact-qualified step keys off exactly that), name is the tail segment, and the ref SITE’s namespace is always empty – markup has no enclosing namespace of its own.

Functions§

is_markup
Returns whether a repository-relative path has a supported markup extension.
markup_facts
The graph facts a markup file contributes.
markup_names
The name facts a markup or resource file contributes. owner is empty on every entry – nothing in a markup file declares a member of a graph def.