public record Doc(DocMember[] Members)
A document parsed from the source code or an assembly.
public static readonly Doc Empty
An empty document.
public DocMember[] Members { get; }
The sequence of members this doc contains.
public static Doc Merge(Doc a, Doc b)
Merges two documents together returning the new merged document.
a
: The first document to merge.b
: The second document to merge.
public DocTypeDeclaration? Declaration(DocType? type)
A type declaration that matches the specified type.