🚧
Still under progress. Soon will be finished.
Description
Represents the reflected node of a signature declaration
Methods
-
getContext
codegetContext(): ProjectContext
Returns
ProjectContext
: -
getTSNode
codegetTSNode(): Signature
Returns
Signature
: -
getLine
codegetLine(): number
Returns
number
: -
getPath
codegetPath(): string
Returns
string
: -
getJSDoc
codegetJSDoc(): CommentNode
Returns
CommentNode
: -
getReturnType
codegetReturnType(): ReflectedNode<Type, Node>
Returns
ReflectedNode<Type, Node>
: -
getTypeParameters
codegetTypeParameters(): TypeParameterNode[]
Returns
TypeParameterNode[]
: -
getParameters
codegetParameters(): ParameterNode[]
Returns
ParameterNode[]
: -
getParameterByName
codegetParameterByName(name: string): ParameterNode | null
Parameters
name string
Returns
ParameterNode | null
: -
serialize
codeSerializes the reflected node
serialize(): FunctionSignature
Returns
FunctionSignature
:The reflected node as a serializable object