![]() |
V8
latest master commit
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Member Functions | |
Local< Script > | BindToCurrentContext () |
int | GetId () |
Local< Value > | GetScriptName () |
Local< Value > | GetSourceURL () |
Local< Value > | GetSourceMappingURL () |
int | GetLineNumber (int code_pos) |
Static Public Attributes | |
static const int | kNoScriptId = 0 |
Binds the script to the currently entered context.
int v8::UnboundScript::GetId | ( | ) |
int v8::UnboundScript::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.
Data read from magic sourceMappingURL comments.