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
stringFile name of the original source code.
originalSourcePosition
SourcePositionPosition in the original source code.
Returns
- MappingEntry
MappingEntry if succeed; otherwise null.