![]() |
v8
10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
|
#include <v8-script.h>
Public Member Functions | |
| Local< Script > | BindToCurrentContext () |
| int | GetId () const |
| Local< Value > | GetScriptName () |
| Local< Value > | GetSourceURL () |
| Local< Value > | GetSourceMappingURL () |
| int | GetLineNumber (int code_pos) |
Static Public Attributes | |
| static const int | kNoScriptId = 0 |
A compiled JavaScript script, not yet tied to a Context.
Definition at line 58 of file v8-script.h.
| int GetId | ( | ) | const |
| int GetLineNumber | ( | int | code_pos | ) |
Returns zero based line number of the code_pos location in the script. -1 will be returned if no information available.
|
static |
Definition at line 83 of file v8-script.h.