ts-morph-structures

Home > ts-morph-structures > SetAccessorDeclarationImpl

SetAccessorDeclarationImpl class

Signature:

export default class SetAccessorDeclarationImpl implements SetAccessorDeclarationStructureClassIfc 

Implements: SetAccessorDeclarationStructureClassIfc

Constructors

Constructor Modifiers Description
(constructor)(isStatic, name, setterParameter)   Constructs a new instance of the SetAccessorDeclarationImpl class

Properties

Property Modifiers Type Description
decorators readonly DecoratorImpl[]  
docs readonly (JSDocImpl | string)[]  
isAbstract   boolean  
isStatic   boolean  
kind readonly StructureKind.SetAccessor  
leadingTrivia readonly stringOrWriterFunction[]  
name   string  
parameters readonly ParameterDeclarationImpl[]  
returnType?   stringOrWriterFunction | undefined (Optional)
returnTypeStructure   TypeStructures | undefined  
scope?   import(“ts-morph”).Scope<> | undefined (Optional)
statements readonly (StatementStructureImpls | stringOrWriterFunction)[]  
trailingTrivia readonly stringOrWriterFunction[]  
typeParameters readonly (TypeParameterDeclarationImpl | string)[]  

Methods

Method Modifiers Description
clone(source) static  
toJSON()