parse_exports_context.ts

Declarations
#

view source

ParseExportsContext
#

parse_exports_context.ts view source

A class to track export context and determine export kinds.

log

type Logger | undefined

readonly

debug

constructor

type new (program: Program, log?: Logger | undefined): ParseExportsContext

program
type Program
log?
type Logger | undefined
optional

analyze_source_file

Analyze a source file to prepare for export processing.

type (source_file: SourceFile): void

source_file
type SourceFile
returns void

process_exports

Process a list of exported symbols and identify their kinds.

type (source_file: SourceFile, exports: Symbol[], declarations?: ExportDeclaration[]): ExportDeclaration[]

source_file
type SourceFile
exports
type Symbol[]
declarations
type ExportDeclaration[]
default []
returns ExportDeclaration[]

Imported by
#