ts-morph-structures

Home > ts-morph-structures > ClassSupportsStatementsFlags

ClassSupportsStatementsFlags enum

Bitwise flags to enable statement getter traps.

Signature:

export declare enum ClassSupportsStatementsFlags 

Enumeration Members

Member Value Description
AccessorMirror 2 Values for a class getter or class setter to mirror.
BodyStatements 8 Statements in a purpose block for a given property and class member.
ConstructorBodyStatements 64 Statements in a purpose block for a given property on the constructor.
ConstructorHeadStatements 32 Statements starting a statement purpose block for the constructor.
ConstructorTailStatements 128 Statements closing a statement purpose block for the constructor.
HeadStatements 4 Statements starting a statement purpose block.
PropertyInitializer 1 The initial value of a property.
TailStatements 16 Statements closing a statement purpose block.