- Preparing search index...
- The search index is not available
@niftory/sdk
Constructors
constructor
- new Location(startToken, endToken, source): Location
-
Properties
Readonly
end
end: number
Readonly
endToken
Readonly
source
Readonly
start
start: number
Readonly
startToken
Accessors
[toStringTag]
- get [toStringTag](): string
-
Returns string
Methods
toJSON
- toJSON(): {
end: number;
start: number;
}
-
Returns {
end: number;
start: number;
}
-
end: number
-
start: number
Contains a range of UTF-8 character offsets and token references that identify the region of the source from which the AST derived.