Constructors
constructor
- new ProgramSourceMap(__namedParameters): ProgramSourceMap
Parameters
__namedParameters: {
mappings: string;
names: string[];
sources: string[];
version: number;
}
mappings: string
names: string[]
sources: string[]
version: number
Properties
Readonly
mappings
mappings: string
Readonly
names
names: string[]
Private
sourceAndLineToPc
Readonly
sources
sources: string[]
Readonly
version
version: number
Methods
getPcs
- getPcs(): number[]
Returns number[]
getPcsOnSourceLine
- getPcsOnSourceLine(sourceIndex, line): PcLineLocation[]
Parameters
sourceIndex: number
line: number
Contains a mapping from TEAL program PC to source file location.