Function: createLocation()¶
createLocation(
file,line,column,offset?):SourceLocation
Defined in: core/src/utils/diagnostic.ts:166
Create a SourceLocation object.
Parameters¶
file¶
string
File path
line¶
number
Line number (1-indexed)
column¶
number
Column number (1-indexed)
offset?¶
number
Optional byte offset
Returns¶
SourceLocation object