Class ProgramSourceMap

Contains a mapping from TEAL program PC to source file location.

Constructors

  • Parameters

    • __namedParameters: {
          mappings: string;
          names: string[];
          sources: string[];
          version: number;
      }
      • mappings: string
      • names: string[]
      • sources: string[]
      • version: number

    Returns ProgramSourceMap

Properties

mappings: string

A string with the encoded mapping data.

names: string[]

A list of symbol names used by the "mappings" entry.

pcToLocation: Map<number, SourceLocation>
sourceAndLineToPc: Map<string, PcLineLocation[]>
sources: string[]

A list of original sources used by the "mappings" entry.

version: number

Methods

Generated using TypeDoc