Table of Contents

Method GetMappingEntryForOriginalSourcePosition

Namespace
Alternet.Scripter.TypeScript.SourceMaps
Assembly
Alternet.Scripter.TypeScript.v9.dll

GetMappingEntryForOriginalSourcePosition(string, SourcePosition)

Finds entry for specified position in the original source code.

public virtual MappingEntry GetMappingEntryForOriginalSourcePosition(string originalFileName, SourcePosition originalSourcePosition)

Parameters

originalFileName string

File name of the original source code.

originalSourcePosition SourcePosition

Position in the original source code.

Returns

MappingEntry

MappingEntry if succeed; otherwise null.