🚧
Still under progress. Soon will be finished.
Description
Represents the reflected node of a variable declaration
Methods
-
getContext
codegetContext(): ProjectContext
Returns
ProjectContext
: -
getName
codegetName(): string
Returns
string
: -
getTSNode
codegetTSNode(): VariableDeclaration
Returns
VariableDeclaration
: -
getNodeType
codegetNodeType(): RootNodeType
Returns
RootNodeType
: -
getKind
codegetKind(): DeclarationKind.Variable
Returns
DeclarationKind.Variable
: -
getDecorators
codegetDecorators(): DecoratorNode[]
Returns
DecoratorNode[]
: -
getLine
codegetLine(): number
Returns
number
: -
getType
codegetType(): ReflectedNode<Type, Node>
Returns
ReflectedNode<Type, Node>
: -
getValue
codegetValue(): unknown
Returns
unknown
: -
getNamespace
codegetNamespace(): string
Returns
string
: -
getJSDoc
codegetJSDoc(): CommentNode
Returns
CommentNode
: -
serialize
codeSerializes the reflected node
serialize(): VariableDeclaration
Returns
VariableDeclaration
:The reflected node as a serializable object