Class SourceMapper

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(jsFile: TextWriter, sourceMapOut: TextWriter, document: Document, jsFilePath: string, emitOptions: EmitOptions, resolvePath: (path: string) => string): SourceMapper

Parameters

Returns

SourceMapper

Properties

public static MapFileExtension: string

private allSourceMappings: any

public currentMappings: Array<TypeScript.SourceMapping[]>

public currentNameIndex: Array<number>

private jsFile: any

private jsFileName: any

private mappingLevel: any

public names: Array<string>

private sourceMapDirectory: any

private sourceMapEntries: any

private sourceMapOut: any

private sourceMapPath: any

private sourceRoot: any

private tsFilePaths: any

Methods

public decreaseMappingLevel(ast: IASTSpan)

Parameters

public emitSourceMapping()

public getOutputFile(): OutputFile

Returns

OutputFile

public increaseMappingLevel(ast: IASTSpan)

Parameters

public setNewSourceFile(document: Document, emitOptions: EmitOptions)

Parameters

private setNewSourceFilePath(document: any, emitOptions: any): any

Parameters

  • document: any
  • emitOptions: any

Returns

any

private setSourceMapOptions(document: any, jsFilePath: any, emitOptions: any, resolvePath: any): any

Parameters

  • document: any
  • jsFilePath: any
  • emitOptions: any
  • resolvePath: any

Returns

any