es-membrane

Home > ts-morph-structures > MethodDeclarationImpl

MethodDeclarationImpl class

Signature:

export default class MethodDeclarationImpl implements MethodDeclarationStructureClassIfc 

Implements: MethodDeclarationStructureClassIfc

Constructors

Constructor Modifiers Description
[(constructor)(isStatic, name)](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl._constructor_.html) Constructs a new instance of the `MethodDeclarationImpl` class

Properties

Property Modifiers Type Description
[decorators](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.decorators.html) `readonly` [DecoratorImpl](/es-membrane/ts-morph-structures/api/ts-morph-structures.decoratorimpl.html)\[\]
[docs](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.docs.html) `readonly` ([JSDocImpl](/es-membrane/ts-morph-structures/api/ts-morph-structures.jsdocimpl.html) \| string)\[\]
[hasOverrideKeyword](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.hasoverridekeyword.html) boolean
[hasQuestionToken](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.hasquestiontoken.html) boolean
[isAbstract](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.isabstract.html) boolean
[isAsync](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.isasync.html) boolean
[isGenerator](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.isgenerator.html) boolean
[isStatic](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.isstatic.html) boolean
[kind](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.kind.html) `readonly` StructureKind.Method
[leadingTrivia](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.leadingtrivia.html) `readonly` [stringOrWriterFunction](/es-membrane/ts-morph-structures/api/ts-morph-structures.stringorwriterfunction.html)\[\]
[name](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.name.html) string
[overloads](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.overloads.html) `readonly` [MethodDeclarationOverloadImpl](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationoverloadimpl.html)\[\]
[parameters](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.parameters.html) `readonly` [ParameterDeclarationImpl](/es-membrane/ts-morph-structures/api/ts-morph-structures.parameterdeclarationimpl.html)\[\]
[returnType?](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.returntype.html) [stringOrWriterFunction](/es-membrane/ts-morph-structures/api/ts-morph-structures.stringorwriterfunction.html) \| undefined _(Optional)_
[returnTypeStructure](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.returntypestructure.html) [TypeStructures](/es-membrane/ts-morph-structures/api/ts-morph-structures.typestructures.html) \| undefined
[scope?](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.scope.html) import("ts-morph").Scope<> \| undefined _(Optional)_
[statements](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.statements.html) `readonly` ([StatementStructureImpls](/es-membrane/ts-morph-structures/api/ts-morph-structures.statementstructureimpls.html) \| [stringOrWriterFunction](/es-membrane/ts-morph-structures/api/ts-morph-structures.stringorwriterfunction.html))\[\]
[trailingTrivia](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.trailingtrivia.html) `readonly` [stringOrWriterFunction](/es-membrane/ts-morph-structures/api/ts-morph-structures.stringorwriterfunction.html)\[\]
[typeParameters](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.typeparameters.html) `readonly` ([TypeParameterDeclarationImpl](/es-membrane/ts-morph-structures/api/ts-morph-structures.typeparameterdeclarationimpl.html) \| string)\[\]

Methods

Method Modifiers Description
[clone(source)](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.clone.html) `static`
[fromSignature(isStatic, signature)](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.fromsignature.html) `static`
[toJSON()](/es-membrane/ts-morph-structures/api/ts-morph-structures.methoddeclarationimpl.tojson.html)