ts-morph-structures

Home > ts-morph-structures > ConstructorHeadStatementsGetter

ConstructorHeadStatementsGetter interface

Statements at the start of a constructor’s statement purpose block.

Signature:

export interface ConstructorHeadStatementsGetter 

Remarks

To run these methods, this.supportsStatementsFlags & ClassSupportsStatementsFlags.ConstructorHeadStatements must be non-zero.

Methods

Method Description
filterCtorHeadStatements(key)  
getCtorHeadStatements(key)