LocationContains a range of UTF-8 character offsets and token references that identify the region of the source from which the AST derived. class Location {constructor(startToken: Token,endToken: Token,source: Source,);readonly end: number;readonly endToken: Token;readonly source: Source;readonly start: number;readonly startToken: Token;get [Symbol.toStringTag](): string; toJSON(): {start: number; end: number; };}§Constructors§new Location(startToken: Token, endToken: Token, source: Source)[src]§Properties§end: number[src]The character offset at which this Node ends. §endToken: Token[src]The Token at which this Node ends. §source: Source[src]The Source document the AST represents. §start: number[src]The character offset at which this Node begins. §startToken: Token[src]The Token at which this Node begins. §[Symbol.toStringTag]: string readonly[src]§Methods§toJSON(): {start: number; end: number; }[src]