🚧
Still under progress. Soon will be finished.
Description
Represents the reflected node of a parameter declaration
Methods
-
getName
codegetName(): string
Returns
string
: -
getTSNode
codegetTSNode(): ParameterDeclaration
Returns
ParameterDeclaration
: -
getContext
codegetContext(): ProjectContext
Returns
ProjectContext
: -
getLine
codegetLine(): number
Returns
number
: -
getType
codegetType(): ReflectedNode<Type, Node>
Returns
ReflectedNode<Type, Node>
: -
getDefault
codegetDefault(): unknown
Returns
unknown
: -
getDecorators
codegetDecorators(): DecoratorNode[]
Returns
DecoratorNode[]
: -
getNamedElements
codegetNamedElements(): BindingElementNode[]
Returns
BindingElementNode[]
: -
getJSDoc
codegetJSDoc(): CommentNode
Returns
CommentNode
: -
isNamed
codeisNamed(): boolean
Returns
boolean
: -
isRest
codeisRest(): boolean
Returns
boolean
: -
isOptional
codeisOptional(): boolean
Returns
boolean
: -
serialize
codeSerializes the reflected node
serialize(): Parameter
Returns
Parameter
:The reflected node as a serializable object