Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SourcePosition

import type { SourcePosition } from "https://googleapis.deno.dev/v1/firebaserules:v1.ts";

Position in the Source content including its line, column number, and an index of the File in the Source message. Used for debug purposes.

interface SourcePosition {
column?: number;
currentOffset?: number;
endOffset?: number;
fileName?: string;
line?: number;
}

§Properties

§
column?: number
[src]

First column on the source line associated with the source fragment.

§
currentOffset?: number
[src]

Start position relative to the beginning of the file.

§
endOffset?: number
[src]

End position relative to the beginning of the file.

§
fileName?: string
[src]

Name of the File.

§
line?: number
[src]

Line number of the source fragment. 1-based.