csharp
public sealed class TypeDeclarationInfoA uniform view over the five type declaration syntaxes. shader, struct, class, protocol and enum have the same shape but no common base node, so the declaration pass reads them through this instead of switching everywhere.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (10)
public MemberDeclarationSyntax Syntaxpublic SyntaxList<AttributeListSyntax> AttributeListspublic SyntaxList<SyntaxToken> Modifierspublic SyntaxToken Identifierpublic TypeParameterListSyntax? TypeParameterListpublic BaseListSyntax? BaseListpublic SyntaxList<TypeParameterConstraintClauseSyntax> ConstraintClausespublic IReadOnlyList<MemberDeclarationSyntax> Memberspublic TypeKind Kindpublic string Name
Methods (1)
public static TypeDeclarationInfo? From(MemberDeclarationSyntax syntax)Returns the uniform view of a type declaration, or null for any other member.
Used by (2)
- CompilationVixen.Raven
- SourceNamedTypeSymbolVixen.Raven