🚧
Still under progress. Soon will be finished.
Description
Represents the reflected node of a property declaration
Methods
-
getName
codegetName(): string
Returns
string
: -
getKind
codegetKind(): MemberKind.Property
Returns
MemberKind.Property
: -
getTSNode
codegetTSNode(): PropertyLikeNode
Returns
PropertyLikeNode
: -
getContext
codegetContext(): ProjectContext
Returns
ProjectContext
: -
getLine
codegetLine(): number
Returns
number
: -
getType
codegetType(): ReflectedNode<Type, Node>
Returns
ReflectedNode<Type, Node>
: -
getDefault
codegetDefault(): unknown
Returns
unknown
: -
getModifier
codegetModifier(): ModifierType | null
Returns
ModifierType | null
: -
getJSDoc
codegetJSDoc(): CommentNode
Returns
CommentNode
: -
getDecorators
codegetDecorators(): DecoratorNode[]
Returns
DecoratorNode[]
: -
isOptional
codeisOptional(): boolean
Returns
boolean
: -
isStatic
codeisStatic(): boolean
Returns
boolean
: -
isReadOnly
codeisReadOnly(): boolean
Returns
boolean
: -
isWriteOnly
codeisWriteOnly(): boolean
Returns
boolean
: -
isAbstract
codeisAbstract(): boolean
Returns
boolean
: -
isInherited
codeisInherited(): boolean
Returns
boolean
: -
overrides
codeoverrides(): boolean
Returns
boolean
: -
serialize
codeSerializes the reflected node
serialize(): Field
Returns
Field
:The reflected node as a serializable object