#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=0) |
int | GetColumnNumber (int code_pos=0) |
Public Member Functions inherited from v8::Data | |
bool | IsValue () const |
bool | IsModule () const |
bool | IsFixedArray () const |
bool | IsPrivate () const |
bool | IsObjectTemplate () const |
bool | IsFunctionTemplate () const |
bool | IsContext () const |
Static Public Attributes | |
static const int | kNoScriptId = 0 |
A compiled JavaScript script, not yet tied to a Context.
Binds the script to the currently entered context.
int v8::UnboundScript::GetColumnNumber | ( | int | code_pos = 0 | ) |
Returns zero based column number of the code_pos location in the script. -1 will be returned if no information available.
int v8::UnboundScript::GetId | ( | ) | const |
int v8::UnboundScript::GetLineNumber | ( | int | code_pos = 0 | ) |
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.
|
static |