v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Static Public Member Functions | |
static Function * | Cast (Value *obj) |
Static Public Member Functions inherited from Object | |
static V8EXPORT Local< Object > | New () |
static Object * | Cast (Value *obj) |
Static Public Attributes | |
static V8EXPORT const int | kLineOffsetNotFound = -1 |
Definition at line 3652 of file api.cc.
References Execution::Call(), ENTER_V8, EXCEPTION_BAILOUT_CHECK_DO_CALLBACK, EXCEPTION_PREAMBLE, LOG_API, NULL, ON_BAILOUT, STATIC_ASSERT, and Utils::ToLocal().
Referenced by RunCppCycle(), and TEST().
Name inferred from variable or property assignment of this function. Used to facilitate debugging and profiling of JavaScript code written in an OO style, where many functions are anonymous but are assigned to object properties.
Definition at line 3691 of file api.cc.
References Utils::ToLocal().
Referenced by THREADED_TEST().
Definition at line 3685 of file api.cc.
References Utils::ToLocal().
int GetScriptColumnNumber | ( | ) | const |
Returns zero based column number of function body and kLineOffsetNotFound if no information available.
Definition at line 3724 of file api.cc.
References Script::cast(), v8::internal::GetScriptColumnNumber(), and Function::kLineOffsetNotFound.
Referenced by THREADED_TEST().
Definition at line 3733 of file api.cc.
References Script::cast(), Utils::ToLocal(), and v8::Undefined().
Referenced by THREADED_TEST().
int GetScriptLineNumber | ( | ) | const |
Returns zero based line number of function body and kLineOffsetNotFound if no information available.
Definition at line 3714 of file api.cc.
References Script::cast(), v8::internal::GetScriptLineNumber(), and Function::kLineOffsetNotFound.
Referenced by TEST(), and THREADED_TEST().
ScriptOrigin GetScriptOrigin | ( | ) | const |
Definition at line 3697 of file api.cc.
References Script::cast(), Integer::New(), and Utils::ToLocal().
Referenced by THREADED_TEST().
Local< v8::Object > NewInstance | ( | ) | const |
Local< v8::Object > NewInstance | ( | int | argc, |
Handle< Value > | argv[] | ||
) | const |
Definition at line 3633 of file api.cc.
References HandleScope::Close(), ENTER_V8, EXCEPTION_BAILOUT_CHECK_DO_CALLBACK, EXCEPTION_PREAMBLE, LOG_API, Execution::New(), ON_BAILOUT, STATIC_ASSERT, and Utils::ToLocal().
Definition at line 3676 of file api.cc.
References ENTER_V8, and v8::internal::USE().
|
static |
Definition at line 1801 of file v8.h.
Referenced by Function::GetScriptColumnNumber(), and Function::GetScriptLineNumber().