Table of Contents

Class MappingEntry

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

Represents properties and methods to bound between a particular positions inside original and generated source code.

public class MappingEntry : ValueObject<MappingEntry>
Inheritance
MappingEntry

Constructors

MappingEntry(SourcePosition, SourcePosition, string, string)

Initializes a new instance of the MappingEntry class with specified parameters.

Properties

GeneratedSourcePosition

The location of the line of code in the transformed code

OriginalFileName

The name of the file that originally contained this code

OriginalName

The original name of the code referenced by this mapping entry

OriginalSourcePosition

The location of the code in the original source code

Methods

EqualsCore(MappingEntry)
GetHashCodeCore()
WithOriginalFileName(string)

Creates a new MappingEntry that contains the changed OriginalSourcePosition.