🚧
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(): ProjectContext
Returns
ProjectContext
:The analyser context
-
getTSNode
codeThe TypeScript AST node that is associated with the reflected one
getTSNode(): ExpressionWithTypeArguments
Returns
ExpressionWithTypeArguments
:The internal TypeScript node
-
getName
codegetName(): string
Returns
string
: -
getTypeArguments
codegetTypeArguments(): ReflectedTypeNode<TypeNode>[]
Returns
ReflectedTypeNode<TypeNode>[]
: -
getPath
codegetPath(): string
Returns
string
: -
getLine
codegetLine(): number | null
Returns
number | null
: -
serialize
codeSerializes the reflected node
serialize(): ExpressionWithTypeArguments
Returns
ExpressionWithTypeArguments
:The reflected node as a serializable object