v8
3.28.71 (node 0.12.18)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Member Functions | |
Local< Value > | Run () |
Local< UnboundScript > | GetUnboundScript () |
V8_DEPRECATED ("Use GetUnboundScript()->GetId()", int GetId()) | |
Static Public Member Functions | |
static Local< Script > | Compile (Handle< String > source, ScriptOrigin *origin=NULL) |
static Local< Script > | Compile (Handle< String > source, Handle< String > file_name) |
A compiled JavaScript script, tied to a Context which was active when the script was compiled.
|
static |
A shorthand for ScriptCompiler::Compile().
Local<UnboundScript> GetUnboundScript | ( | ) |
Returns the corresponding context-unbound script.
Referenced by Script::V8_DEPRECATED().
Runs the script returning the resulting value. It will be run in the context in which it was created (ScriptCompiler::CompileBound or UnboundScript::BindToGlobalContext()).
|
inline |
Definition at line 1007 of file v8.h.
References UnboundScript::GetId(), Script::GetUnboundScript(), and Handle< T >::operator->().