analyzeSourceType
analyzeSourceType(
options):object
Defined in: metadata-parser.ts:39
Analyze one named source type from a TypeScript module.
Parameters
Section titled “Parameters”options
Section titled “options”Metadata analysis options including the project root, source type name, and types file path.
projectRoot?
Section titled “projectRoot?”string
sourceTypeName
Section titled “sourceTypeName”string
typesFile
Section titled “typesFile”string
Returns
Section titled “Returns”object
The resolved project root plus the parsed root attribute node for the requested source type.
projectRoot
Section titled “projectRoot”projectRoot:
string
rootNode
Section titled “rootNode”rootNode:
AttributeNode