Class: SourceMap
Source location information.
Extends
BaseClient
Constructors
new SourceMap()
new SourceMap(
parent
?,_id
?,_column
?,_filename
?,_line
?,_module
?):SourceMap
Constructor is used for internal usage only, do not create object from it.
Parameters
• parent?
• parent.ctx?: Context
• parent.queryTree?: QueryTree
[]
• _id?: SourceMapID
• _column?: number
• _filename?: string
• _line?: number
• _module?: string
Returns
Overrides
BaseClient.constructor
Methods
column()
column():
Promise
<number
>
The column number within the line.
Returns
Promise
<number
>
filename()
filename():
Promise
<string
>
The filename from the module source.
Returns
Promise
<string
>
id()
id():
Promise
<SourceMapID
>
A unique identifier for this SourceMap.
Returns
Promise
<SourceMapID
>
line()
line():
Promise
<number
>
The line number within the filename.
Returns
Promise
<number
>
module_()
module_():
Promise
<string
>
The module dependency this was declared in.
Returns
Promise
<string
>