ts-morph-structures

Home > ts-morph-structures > SourceFileImpl

SourceFileImpl class

Signature:

export default class SourceFileImpl implements SourceFileStructureClassIfc 

Implements: SourceFileStructureClassIfc

Properties

Property Modifiers Type Description
kind readonly StructureKind.SourceFile  
leadingTrivia readonly stringOrWriterFunction[]  
statements readonly (StatementStructureImpls | stringOrWriterFunction)[]  
trailingTrivia readonly stringOrWriterFunction[]  

Methods

Method Modifiers Description
clone(source) static  
toJSON()