Leon4gr45's picture
Include updated package-lock.json
a23aa7d verified
Raw
History Blame Contribute Delete
390 Bytes
/**
* Store position information for a node
*/
export default class Position {
start: { line: number; column: number };
end: { line: number; column: number };
source?: string;
constructor(
start: { line: number; column: number },
end: { line: number; column: number },
source: string,
) {
this.start = start;
this.end = end;
this.source = source;
}
}