v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <d8.h>
Static Public Attributes | |
static const char * | kPrompt = "d8> " |
static ShellOptions | options |
|
static |
Definition at line 770 of file d8.cc.
References Counter::AddSample().
|
static |
Definition at line 724 of file d8-posix.cc.
References Shell::ChangeDirectory(), Shell::MakeDirectory(), FunctionTemplate::New(), String::NewFromUtf8(), Shell::RemoveDirectory(), Shell::SetEnvironment(), Shell::SetUMask(), Shell::System(), and Shell::UnsetEnvironment().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 546 of file d8-posix.cc.
References FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::Length(), message, String::NewFromUtf8(), and NULL.
Referenced by Shell::AddOSMethods().
Definition at line 966 of file d8.cc.
References JSArguments::argc, ASSERT, CreateGlobalTemplate(), v8::internal::CStrVector(), EscapableHandleScope::Escape(), Handle< T >::IsEmpty(), Context::New(), Factory::NewFixedArray(), String::NewFromUtf8(), Factory::NewJSArrayWithElements(), Factory::NewStringFromUtf8(), NULL, and Utils::ToLocal().
Referenced by ShellThread::Run().
|
static |
|
static |
Definition at line 191 of file d8.cc.
References ASSERT, Handle< T >::Cast(), ScriptCompiler::CompileUnbound(), PerIsolateData::Get(), Object::Get(), Context::Global(), TryCatch::HasCaught(), Handle< T >::IsEmpty(), Value::IsUndefined(), String::Utf8Value::length(), Local< T >::New(), String::NewFromUtf8(), Shell::options, Shell::ReportException(), ShellOptions::script_executed, TryCatch::SetVerbose(), and ShellOptions::test_shell.
Referenced by SourceGroup::Execute(), and ShellThread::Run().
|
static |
Definition at line 997 of file d8.cc.
Referenced by SourceGroup::Execute(), and ShellThread::Run().
|
static |
|
static |
|
static |
Definition at line 613 of file d8.cc.
References Local< T >::Cast(), EscapableHandleScope::Escape(), Object::Get(), Context::Global(), Local< T >::New(), and String::NewFromUtf8().
|
static |
|
static |
|
static |
|
static |
Definition at line 524 of file d8.cc.
References ExecuteString(), FunctionCallbackInfo< T >::GetIsolate(), Handle< T >::IsEmpty(), FunctionCallbackInfo< T >::Length(), String::NewFromUtf8(), NULL, and v8::internal::ReadFile().
|
static |
Definition at line 751 of file d8.cc.
References NULL, and Counter::ptr().
|
static |
Definition at line 1678 of file d8.cc.
References ResourceConstraints::ConfigureDefaults(), Testing::DeoptimizeAll(), V8::Dispose(), Isolate::GetCurrent(), Testing::GetStressRuns(), V8::InitializeICU(), Testing::kStressTypeDeopt, Testing::kStressTypeOpt, Testing::PrepareStressRun(), RunMain(), v8::RunRemoteDebugger(), RunShell(), V8::SetArrayBufferAllocator(), v8::SetResourceConstraints(), Testing::SetStressRunType(), and OS::TotalPhysicalMemory().
Referenced by main().
|
static |
Definition at line 632 of file d8-posix.cc.
References FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::Length(), message, String::NewFromUtf8(), and NULL.
Referenced by Shell::AddOSMethods().
|
static |
Definition at line 708 of file d8.cc.
References memory(), NULL, V8::SetAddHistogramSampleFunction(), V8::SetCounterFunction(), and V8::SetCreateHistogramFunction().
|
static |
Definition at line 1019 of file d8.cc.
References LineEditor::Close(), Counter::count(), CounterAndKey::counter, LineEditor::Get(), Counter::is_histogram(), CounterAndKey::key, CounterMap::Iterator::More(), and Counter::sample_total().
|
static |
|
static |
Definition at line 316 of file d8.cc.
References FunctionCallbackInfo< T >::GetReturnValue().
|
static |
|
static |
|
static |
Definition at line 473 of file d8.cc.
References FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::GetReturnValue(), Handle< T >::IsEmpty(), NULL, and v8::internal::ReadFile().
|
static |
Definition at line 1123 of file d8.cc.
References Isolate::AdjustAmountOfExternalAllocatedMemory(), ASSERT, DataAndPersistent::data, FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::GetReturnValue(), DataAndPersistent::handle, ArrayBuffer::New(), and NULL.
Definition at line 1176 of file d8.cc.
References String::kNormalString, String::NewFromUtf8(), and NULL.
Referenced by ShellThread::Run().
Definition at line 488 of file d8.cc.
References String::Concat(), String::kNormalString, String::NewFromUtf8(), and NULL.
Referenced by DumbLineEditor::Prompt(), and Shell::ReadLine().
|
inlinestatic |
Definition at line 329 of file d8.h.
References FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::GetReturnValue(), and Shell::ReadFromStdin().
|
static |
Definition at line 359 of file d8.cc.
References CreateGlobalTemplate(), PerIsolateData::Get(), FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::GetReturnValue(), Context::New(), NULL, and PersistentBase< T >::Reset().
|
static |
Definition at line 324 of file d8.cc.
References PerIsolateData::Get(), Isolate::GetEnteredContext(), FunctionCallbackInfo< T >::GetIsolate(), and FunctionCallbackInfo< T >::GetReturnValue().
|
static |
Definition at line 377 of file d8.cc.
References PerIsolateData::Get(), FunctionCallbackInfo< T >::GetIsolate(), and PersistentBase< T >::Reset().
|
static |
Definition at line 402 of file d8.cc.
References ScriptCompiler::CompileUnbound(), PerIsolateData::Get(), FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::GetReturnValue(), Handle< T >::IsEmpty(), FunctionCallbackInfo< T >::Length(), and Local< T >::New().
|
static |
Definition at line 349 of file d8.cc.
References PerIsolateData::Get(), FunctionCallbackInfo< T >::GetIsolate(), and FunctionCallbackInfo< T >::GetReturnValue().
|
static |
Definition at line 334 of file d8.cc.
References PerIsolateData::Get(), FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::GetReturnValue(), and FunctionCallbackInfo< T >::Length().
|
static |
Definition at line 424 of file d8.cc.
References PerIsolateData::Get(), PropertyCallbackInfo< T >::GetIsolate(), and PropertyCallbackInfo< T >::GetReturnValue().
|
static |
Definition at line 432 of file d8.cc.
References PerIsolateData::Get(), and PropertyCallbackInfo< T >::GetIsolate().
|
static |
Definition at line 392 of file d8.cc.
References PerIsolateData::Get(), and FunctionCallbackInfo< T >::GetIsolate().
|
static |
Definition at line 660 of file d8-posix.cc.
References FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::Length(), message, String::NewFromUtf8(), and NULL.
Referenced by Shell::AddOSMethods().
|
static |
Definition at line 562 of file d8.cc.
References Context::Enter(), TryCatch::Exception(), Context::Exit(), Isolate::InContext(), Handle< T >::IsEmpty(), TryCatch::Message(), Local< T >::New(), TryCatch::StackTrace(), and ToCString().
Referenced by Shell::ExecuteString().
|
static |
Definition at line 1504 of file d8.cc.
References List< T, P >::Add(), V8::ContextDisposedNotification(), PerIsolateData::Get(), V8::IdleNotification(), Thread::Join(), NULL, and Thread::Start().
|
static |
Definition at line 678 of file d8-posix.cc.
References FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::Length(), message, String::NewFromUtf8(), and NULL.
Referenced by Shell::AddOSMethods().
|
static |
Definition at line 568 of file d8-posix.cc.
References FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::GetReturnValue(), FunctionCallbackInfo< T >::Length(), message, and String::NewFromUtf8().
Referenced by Shell::AddOSMethods().
|
static |
Definition at line 459 of file d8-posix.cc.
References Handle< T >::Cast(), FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::GetReturnValue(), ExecArgs::Init(), Value::IsUndefined(), ExecArgs::kMaxArgs, FunctionCallbackInfo< T >::Length(), Array::New(), String::NewFromUtf8(), and NULL.
Referenced by Shell::AddOSMethods().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 705 of file d8-posix.cc.
References FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::Length(), message, String::NewFromUtf8(), and NULL.
Referenced by Shell::AddOSMethods().
|
static |
Definition at line 556 of file d8.cc.
References FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::GetReturnValue(), V8::GetVersion(), and String::NewFromUtf8().
|
static |
Definition at line 448 of file d8.cc.
References FunctionCallbackInfo< T >::GetIsolate(), TryCatch::HasCaught(), String::Utf8Value::length(), FunctionCallbackInfo< T >::Length(), and TryCatch::ReThrow().
|
static |
Definition at line 386 of file d8.h.
Referenced by SourceGroup::Execute(), Shell::ExecuteString(), and SourceGroup::WaitForThread().