🚧
Still under progress. Soon will be finished.
Description
Represents the reflected node of a type in the heritage chain of a class or interface declaration
Methods
-
getContext
codeThe context includes useful APIs that are shared across all the reflected symbols. Some APIs include the parsed configuration options, the system interface, the type checker
getContext(): ProjectContextReturns
ProjectContext:The analyser context
-
getTSNode
codeThe TypeScript AST node that is associated with the reflected one
getTSNode(): ExpressionWithTypeArgumentsReturns
ExpressionWithTypeArguments:The internal TypeScript node
-
getName
codegetName(): stringReturns
string: -
getTypeArguments
codegetTypeArguments(): ReflectedTypeNode<TypeNode>[]Returns
ReflectedTypeNode<TypeNode>[]: -
getPath
codegetPath(): stringReturns
string: -
getLine
codegetLine(): number | nullReturns
number | null: -
serialize
codeSerializes the reflected node
serialize(): ExpressionWithTypeArgumentsReturns
ExpressionWithTypeArguments:The reflected node as a serializable object