Interface CodeLocation

A location in code.

interface CodeLocation {
    col: null | number;
    file: null | string;
    row: number;
    source: null | string;
}

Properties

Properties

col: null | number

The column number. May not be present on all browsers (e.g. Firefox < 30).

file: null | string

The url to the file.

row: number

The row (line) number.

source: null | string

The source location - may provide the function name or in some browsers the source file if source maps are enabled.