ts-morph-structures

Home > ts-morph-structures > ClassStatementsGetter

ClassStatementsGetter interface

Traps for getting statements, based on a MemberedStatementsKey.

Signature:

export interface ClassStatementsGetter
  extends Partial<PropertyInitializerGetter>,
    Partial<AccessorMirrorGetter>,
    Partial<ClassHeadStatementsGetter>,
    Partial<ClassBodyStatementsGetter>,
    Partial<ClassTailStatementsGetter>,
    Partial<ConstructorHeadStatementsGetter>,
    Partial<ConstructorBodyStatementsGetter>,
    Partial<ConstructorTailStatementsGetter> 

Extends: Partial<PropertyInitializerGetter>, Partial<AccessorMirrorGetter>, Partial<ClassHeadStatementsGetter>, Partial<ClassBodyStatementsGetter>, Partial<ClassTailStatementsGetter>, Partial<ConstructorHeadStatementsGetter>, Partial<ConstructorBodyStatementsGetter>, Partial<ConstructorTailStatementsGetter>

Properties

Property Modifiers Type Description
keyword   readonly string A human-readable string for debugging.
supportsStatementsFlags   readonly number Bitwise flags to determine which statement getter traps are active.