🚧
Still under progress. Soon will be finished.
Description
Represents the reflected node of an interface declaration
Methods
-
getName
codegetName(): string
Returns
string
: -
getNodeType
codegetNodeType(): RootNodeType
Returns
RootNodeType
: -
getKind
codegetKind(): DeclarationKind.Interface
Returns
DeclarationKind.Interface
: -
getContext
codegetContext(): ProjectContext
Returns
ProjectContext
: -
getTSNode
codegetTSNode(): InterfaceDeclaration
Returns
InterfaceDeclaration
: -
getLine
codegetLine(): number
Returns
number
: -
getIndexSignature
codegetIndexSignature(): IndexSignatureNode | null
Returns
IndexSignatureNode | null
: -
getProperties
codegetProperties(): PropertyNode[]
Returns
PropertyNode[]
: -
getPropertyWithName
codegetPropertyWithName(name: string): PropertyNode | null
Parameters
name string
Returns
PropertyNode | null
: -
getMethods
codegetMethods(): FunctionNode[]
Returns
FunctionNode[]
: -
getMethodWithName
codegetMethodWithName(name: string): FunctionNode | null
Parameters
name string
Returns
FunctionNode | null
: -
getTypeParameters
codegetTypeParameters(): TypeParameterNode[]
Returns
TypeParameterNode[]
: -
getNamespace
codegetNamespace(): string
Returns
string
: -
getJSDoc
codegetJSDoc(): CommentNode
Returns
CommentNode
: -
getHeritage
codegetHeritage(): ExpressionWithTypeArgumentsNode[]
Returns
ExpressionWithTypeArgumentsNode[]
: -
serialize
codeSerializes the reflected node
serialize(): InterfaceDeclaration
Returns
InterfaceDeclaration
:The reflected node as a serializable object