Classes
Utils.Source
Source
A class encapsulating information for source code origin.
Summary ​
Constructors ​
constructor ​
new Source(uri: string, line: number, column: number): Source
defined in @nativescript/core/utils/debug.d.ts:13:1
Creates a new Source instance by given uri, line and column.
Parameter | Default | Description |
uri |
| string |
line |
| number |
column |
| number |
Returns Source
Properties ​
column ​
defined in @nativescript/core/utils/debug.d.ts:28:1
Gets the position in the source document.
line ​
defined in @nativescript/core/utils/debug.d.ts:23:1
Gets the line in the source document.
uri ​
defined in @nativescript/core/utils/debug.d.ts:18:1
Gets the URI of the source document;
Methods ​
get ​
Static
get(object: any): Source
defined in @nativescript/core/utils/debug.d.ts:33:1
Get the source of an object.
Parameter | Default | Description |
object |
| any |
Returns Source
set ​
Static
set(object: any, src: Source): any
defined in @nativescript/core/utils/debug.d.ts:38:1
Set the source of an object.
Parameter | Default | Description |
object |
| any |
src |
|
Returns any
- Next
- AccessibilityEvents