|
V8 Project
|
A compiled JavaScript script, not yet tied to a Context. More...
#include <v8.h>
Collaboration diagram for v8::UnboundScript:Public Member Functions | |
| Local< Script > | BindToCurrentContext () |
| Binds the script to the currently entered context. More... | |
| int | GetId () |
| Handle< Value > | GetScriptName () |
| Handle< Value > | GetSourceURL () |
| Data read from magic sourceURL comments. More... | |
| Handle< Value > | GetSourceMappingURL () |
| Data read from magic sourceMappingURL comments. More... | |
| int | GetLineNumber (int code_pos) |
| Returns zero based line number of the code_pos location in the script. More... | |
Static Public Attributes | |
| static const int | kNoScriptId = 0 |
Binds the script to the currently entered context.
Definition at line 1583 of file api.cc.
References v8::internal::Handle< T >::cast(), and v8::Utils::OpenHandle().
Here is the call graph for this function:| int v8::UnboundScript::GetId | ( | ) |
Definition at line 1595 of file api.cc.
References v8::internal::Handle< T >::cast(), LOG_API, ON_BAILOUT, and v8::Utils::OpenHandle().
Here is the call graph for this function:Returns zero based line number of the code_pos location in the script.
-1 will be returned if no information available.
Definition at line 1611 of file api.cc.
References v8::internal::Handle< T >::cast(), v8::internal::Script::GetLineNumber(), LOG_API, ON_BAILOUT, and v8::Utils::OpenHandle().
Here is the call graph for this function:Definition at line 1626 of file api.cc.
References v8::internal::Handle< T >::cast(), LOG_API, name, ON_BAILOUT, v8::Utils::OpenHandle(), and v8::Utils::ToLocal().
Here is the call graph for this function:Data read from magic sourceMappingURL comments.
Definition at line 1658 of file api.cc.
References v8::internal::Handle< T >::cast(), LOG_API, ON_BAILOUT, v8::Utils::OpenHandle(), and v8::Utils::ToLocal().
Here is the call graph for this function:Data read from magic sourceURL comments.
Definition at line 1642 of file api.cc.
References v8::internal::Handle< T >::cast(), LOG_API, ON_BAILOUT, v8::Utils::OpenHandle(), and v8::Utils::ToLocal().
Here is the call graph for this function:
|
static |
Definition at line 977 of file v8.h.
Referenced by v8::internal::Heap::CreateInitialObjects(), and v8::Function::ScriptId().