parseNamedDeclaration
parseNamedDeclaration(
declaration,ctx,pathLabel,required):AttributeNode
Defined in: metadata-parser.ts:131
Parse an interface or type alias declaration into one attribute-node tree.
Parameters
Section titled “Parameters”declaration
Section titled “declaration”InterfaceDeclaration | TypeAliasDeclaration
TypeScript declaration node to parse.
Shared analysis context used for type resolution and recursion detection.
pathLabel
Section titled “pathLabel”string
Human-readable path label for diagnostics.
required
Section titled “required”boolean
Whether the resulting node should be marked as required.
Returns
Section titled “Returns”The parsed attribute-node representation for the declaration.