Skip to content

ValidateLocationV1

PromptScript API


Defined in: core/src/types/validate-report.ts:2

Where a diagnostic points. The file path is as the compiler reports it, usually absolute.

Properties

column?

optional column?: number

Defined in: core/src/types/validate-report.ts:16

Column number. Some parse errors have no position and report -1.

As Type

integer

Minimum

-1


file?

optional file?: string

Defined in: core/src/types/validate-report.ts:4

Path of the file


line?

optional line?: number

Defined in: core/src/types/validate-report.ts:10

Line number. Some parse errors have no position and report -1.

As Type

integer

Minimum

-1


offset?

optional offset?: number

Defined in: core/src/types/validate-report.ts:22

Offset from the start of the file, set on some warnings.

As Type

integer

Minimum

0