v8  3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Utils Class Reference

#include <api.h>

Static Public Member Functions

static bool ReportApiFailure (const char *location, const char *message)
 
static Local< FunctionTemplateToFunctionTemplate (NeanderObject obj)
 
static Local< ObjectTemplateToObjectTemplate (NeanderObject obj)
 
static Local< ContextToLocal (v8::internal::Handle< v8::internal::Context > obj)
 
static Local< ValueToLocal (v8::internal::Handle< v8::internal::Object > obj)
 
static Local< FunctionToLocal (v8::internal::Handle< v8::internal::JSFunction > obj)
 
static Local< StringToLocal (v8::internal::Handle< v8::internal::String > obj)
 
static Local< RegExpToLocal (v8::internal::Handle< v8::internal::JSRegExp > obj)
 
static Local< ObjectToLocal (v8::internal::Handle< v8::internal::JSObject > obj)
 
static Local< ArrayToLocal (v8::internal::Handle< v8::internal::JSArray > obj)
 
static Local< ExternalToLocal (v8::internal::Handle< v8::internal::Foreign > obj)
 
static Local< MessageMessageToLocal (v8::internal::Handle< v8::internal::Object > obj)
 
static Local< StackTraceStackTraceToLocal (v8::internal::Handle< v8::internal::JSArray > obj)
 
static Local< StackFrameStackFrameToLocal (v8::internal::Handle< v8::internal::JSObject > obj)
 
static Local< NumberNumberToLocal (v8::internal::Handle< v8::internal::Object > obj)
 
static Local< IntegerIntegerToLocal (v8::internal::Handle< v8::internal::Object > obj)
 
static Local< Uint32Uint32ToLocal (v8::internal::Handle< v8::internal::Object > obj)
 
static Local< FunctionTemplateToLocal (v8::internal::Handle< v8::internal::FunctionTemplateInfo > obj)
 
static Local< ObjectTemplateToLocal (v8::internal::Handle< v8::internal::ObjectTemplateInfo > obj)
 
static Local< SignatureToLocal (v8::internal::Handle< v8::internal::SignatureInfo > obj)
 
static Local< AccessorSignatureAccessorSignatureToLocal (v8::internal::Handle< v8::internal::FunctionTemplateInfo > obj)
 
static Local< TypeSwitchToLocal (v8::internal::Handle< v8::internal::TypeSwitchInfo > obj)
 
static v8::internal::Handle
< v8::internal::TemplateInfo
OpenHandle (const Template *that)
 
static v8::internal::Handle
< v8::internal::FunctionTemplateInfo
OpenHandle (const FunctionTemplate *that)
 
static v8::internal::Handle
< v8::internal::ObjectTemplateInfo
OpenHandle (const ObjectTemplate *that)
 
static v8::internal::Handle
< v8::internal::Object
OpenHandle (const Data *data)
 
static v8::internal::Handle
< v8::internal::JSRegExp
OpenHandle (const RegExp *data)
 
static v8::internal::Handle
< v8::internal::JSObject
OpenHandle (const v8::Object *data)
 
static v8::internal::Handle
< v8::internal::JSArray
OpenHandle (const v8::Array *data)
 
static v8::internal::Handle
< v8::internal::String
OpenHandle (const String *data)
 
static v8::internal::Handle
< v8::internal::Object
OpenHandle (const Script *data)
 
static v8::internal::Handle
< v8::internal::JSFunction
OpenHandle (const Function *data)
 
static v8::internal::Handle
< v8::internal::JSObject
OpenHandle (const Message *message)
 
static v8::internal::Handle
< v8::internal::JSArray
OpenHandle (const StackTrace *stack_trace)
 
static v8::internal::Handle
< v8::internal::JSObject
OpenHandle (const StackFrame *stack_frame)
 
static v8::internal::Handle
< v8::internal::Context
OpenHandle (const v8::Context *context)
 
static v8::internal::Handle
< v8::internal::SignatureInfo
OpenHandle (const v8::Signature *sig)
 
static v8::internal::Handle
< v8::internal::FunctionTemplateInfo
OpenHandle (const v8::AccessorSignature *sig)
 
static v8::internal::Handle
< v8::internal::TypeSwitchInfo
OpenHandle (const v8::TypeSwitch *that)
 
static v8::internal::Handle
< v8::internal::Foreign
OpenHandle (const v8::External *that)
 

Detailed Description

Definition at line 162 of file api.h.

Member Function Documentation

static Local<AccessorSignature> AccessorSignatureToLocal ( v8::internal::Handle< v8::internal::FunctionTemplateInfo obj)
inlinestatic

Referenced by AccessorSignature::New().

static Local<Integer> IntegerToLocal ( v8::internal::Handle< v8::internal::Object obj)
inlinestatic
static Local<Message> MessageToLocal ( v8::internal::Handle< v8::internal::Object obj)
inlinestatic
static Local<Number> NumberToLocal ( v8::internal::Handle< v8::internal::Object obj)
inlinestatic

Referenced by Number::New().

static v8::internal::Handle<v8::internal::TemplateInfo> OpenHandle ( const Template that)
inlinestatic

Referenced by V8::AddImplicitReferences(), V8::AddMessageListener(), StackTrace::AsArray(), Value::BooleanValue(), BooleanObject::BooleanValue(), Function::Call(), Object::CallAsConstructor(), Object::CallAsFunction(), String::CanMakeExternal(), Object::Clone(), Array::CloneElementAt(), Script::Compile(), String::Concat(), Object::CreationContext(), Object::Delete(), Object::DeleteHiddenValue(), Context::Enter(), Value::Equals(), Exception::Error(), Handle< T >::EscapeFrom(), ExternalizeStringExtension::Externalize(), Object::FindInstanceInPrototypeChain(), CpuProfiler::FindProfile(), Object::ForceDelete(), Object::ForceSet(), Message::Get(), Object::Get(), StackFrame::GetColumn(), Object::GetConstructorName(), Context::GetData(), JSObject::GetElementWithInterceptor(), Message::GetEndColumn(), Message::GetEndPosition(), String::GetExternalAsciiStringResource(), RegExp::GetFlags(), StackTrace::GetFrame(), StackTrace::GetFrameCount(), FunctionTemplate::GetFunction(), StackFrame::GetFunctionName(), Object::GetHiddenValue(), Object::GetIdentityHash(), Object::GetIndexedPropertiesExternalArrayData(), Object::GetIndexedPropertiesExternalArrayDataLength(), Object::GetIndexedPropertiesExternalArrayDataType(), Object::GetIndexedPropertiesPixelData(), Object::GetIndexedPropertiesPixelDataLength(), Function::GetInferredName(), v8::internal::GetKeysInFixedArrayFor(), Message::GetLineNumber(), StackFrame::GetLineNumber(), Function::GetName(), Object::GetOwnPropertyNames(), CpuProfiler::GetProfile(), Object::GetPropertyAttributes(), Object::GetPropertyNames(), JSObject::GetPropertyWithCallback(), JSObject::GetPropertyWithInterceptor(), Object::GetPrototype(), Object::GetRealNamedProperty(), Object::GetRealNamedPropertyInPrototypeChain(), Function::GetScriptColumnNumber(), Message::GetScriptData(), Function::GetScriptId(), Function::GetScriptLineNumber(), StackFrame::GetScriptName(), StackFrame::GetScriptNameOrSourceURL(), Function::GetScriptOrigin(), Message::GetScriptResourceName(), Context::GetSecurityToken(), HeapProfiler::GetSnapshotObjectId(), RegExp::GetSource(), Message::GetSourceLine(), Message::GetStackTrace(), Message::GetStartColumn(), Message::GetStartPosition(), GetUtf8Length(), Object::Has(), Object::HasIndexedLookupInterceptor(), Object::HasIndexedPropertiesInExternalArrayData(), Object::HasIndexedPropertiesInPixelData(), FunctionTemplate::HasInstance(), Object::HasNamedLookupInterceptor(), Context::HasOutOfMemoryException(), Object::HasOwnProperty(), Object::HasRealIndexedProperty(), Object::HasRealNamedCallbackProperty(), Object::HasRealNamedProperty(), FunctionTemplate::Inherit(), FunctionTemplate::InstanceTemplate(), Value::Int32Value(), Value::IntegerValue(), Object::InternalFieldCount(), ObjectTemplate::InternalFieldCount(), Value::IsArray(), ExternalizeStringExtension::IsAscii(), Value::IsBoolean(), Value::IsBooleanObject(), Object::IsCallable(), StackFrame::IsConstructor(), Value::IsDate(), Object::IsDirty(), StackFrame::IsEval(), Value::IsExternal(), String::IsExternal(), String::IsExternalAscii(), Value::IsFalse(), Value::IsFunction(), Value::IsInt32(), Value::IsNativeError(), Value::IsNumber(), Value::IsNumberObject(), Value::IsObject(), Value::IsRegExp(), Value::IsStringObject(), Value::IsTrue(), Value::IsUint32(), String::Length(), Array::Length(), main(), String::MakeExternal(), ObjectTemplate::MarkAsUndetectable(), TypeSwitch::match(), String::MayContainNonAscii(), Script::New(), StringObject::New(), RegExp::New(), FunctionTemplate::New(), Signature::New(), AccessorSignature::New(), TypeSwitch::New(), Context::New(), Function::NewInstance(), ObjectTemplate::NewInstance(), Value::NumberValue(), Date::NumberValue(), NumberObject::NumberValue(), Object::ObjectProtoToString(), ScriptData::PreCompile(), FunctionTemplate::PrototypeTemplate(), Exception::RangeError(), FunctionTemplate::ReadOnlyPrototype(), Context::ReattachGlobal(), Exception::ReferenceError(), Script::Run(), v8::internal::RUNTIME_FUNCTION(), Object::Set(), Template::Set(), ObjectTemplate::SetAccessCheckCallbacks(), Object::SetAccessor(), ObjectTemplate::SetAccessor(), ObjectTemplate::SetCallAsFunctionHandler(), FunctionTemplate::SetCallHandler(), FunctionTemplate::SetClassName(), Script::SetData(), Context::SetData(), FunctionTemplate::SetHiddenPrototype(), Object::SetHiddenValue(), Object::SetIndexedPropertiesToExternalArrayData(), Object::SetIndexedPropertiesToPixelData(), ObjectTemplate::SetIndexedPropertyHandler(), Object::SetInternalField(), ObjectTemplate::SetInternalFieldCount(), Function::SetName(), ObjectTemplate::SetNamedPropertyHandler(), Object::SetPointerInInternalField(), Object::SetPrototype(), Context::SetSecurityToken(), CpuProfiler::StartProfiling(), CpuProfiler::StopProfiling(), Value::StrictEquals(), StringObject::StringValue(), Exception::SyntaxError(), HeapProfiler::TakeSnapshot(), TEST(), THREADED_TEST(), v8::ThrowException(), Value::ToArrayIndex(), Value::ToBoolean(), Value::ToDetailString(), Value::ToInt32(), Value::ToInteger(), Value::ToNumber(), Value::ToObject(), Value::ToString(), Value::ToUint32(), Execution::TryCall(), Object::TurnOnAccessCheck(), Exception::TypeError(), Value::Uint32Value(), Context::UseDefaultSecurityToken(), String::Utf8Length(), String::Utf8Value::Utf8Value(), Boolean::Value(), Number::Value(), Integer::Value(), Int32::Value(), Uint32::Value(), External::Value(), String::Write(), String::WriteAscii(), and String::WriteUtf8().

static v8::internal::Handle<v8::internal::FunctionTemplateInfo> OpenHandle ( const FunctionTemplate that)
inlinestatic
static v8::internal::Handle<v8::internal::ObjectTemplateInfo> OpenHandle ( const ObjectTemplate that)
inlinestatic
static v8::internal::Handle<v8::internal::Object> OpenHandle ( const Data data)
inlinestatic
static v8::internal::Handle<v8::internal::JSRegExp> OpenHandle ( const RegExp data)
inlinestatic
static v8::internal::Handle<v8::internal::JSObject> OpenHandle ( const v8::Object data)
inlinestatic
static v8::internal::Handle<v8::internal::JSArray> OpenHandle ( const v8::Array data)
inlinestatic
static v8::internal::Handle<v8::internal::String> OpenHandle ( const String data)
inlinestatic
static v8::internal::Handle<v8::internal::Object> OpenHandle ( const Script data)
inlinestatic
static v8::internal::Handle<v8::internal::JSFunction> OpenHandle ( const Function data)
inlinestatic
static v8::internal::Handle<v8::internal::JSObject> OpenHandle ( const Message message)
inlinestatic
static v8::internal::Handle<v8::internal::JSArray> OpenHandle ( const StackTrace stack_trace)
inlinestatic
static v8::internal::Handle<v8::internal::JSObject> OpenHandle ( const StackFrame stack_frame)
inlinestatic
static v8::internal::Handle<v8::internal::Context> OpenHandle ( const v8::Context context)
inlinestatic
static v8::internal::Handle<v8::internal::SignatureInfo> OpenHandle ( const v8::Signature sig)
inlinestatic
static v8::internal::Handle<v8::internal::FunctionTemplateInfo> OpenHandle ( const v8::AccessorSignature sig)
inlinestatic
static v8::internal::Handle<v8::internal::TypeSwitchInfo> OpenHandle ( const v8::TypeSwitch that)
inlinestatic
static v8::internal::Handle<v8::internal::Foreign> OpenHandle ( const v8::External that)
inlinestatic
bool ReportApiFailure ( const char *  location,
const char *  message 
)
static

Definition at line 219 of file api.cc.

References V8::SetFatalError().

Referenced by TEST().

static Local<StackFrame> StackFrameToLocal ( v8::internal::Handle< v8::internal::JSObject obj)
inlinestatic

Referenced by StackTrace::GetFrame().

static Local<StackTrace> StackTraceToLocal ( v8::internal::Handle< v8::internal::JSArray obj)
inlinestatic
static Local<FunctionTemplate> ToFunctionTemplate ( NeanderObject  obj)
static
static Local<Context> ToLocal ( v8::internal::Handle< v8::internal::Context obj)
inlinestatic

Referenced by StackTrace::AsArray(), Function::Call(), Object::CallAsConstructor(), Object::CallAsFunction(), Object::Clone(), Array::CloneElementAt(), v8::internal::CodeGenerationFromStringsAllowed(), String::Concat(), Shell::CreateEvaluationContext(), Object::CreationContext(), String::Empty(), Exception::Error(), Handle< T >::EscapeFrom(), TryCatch::Exception(), HeapProfiler::ExecuteWrapperClassCallback(), Object::FindInstanceInPrototypeChain(), Message::Get(), Object::Get(), Context::GetCalling(), Object::GetConstructorName(), Context::GetCurrent(), Context::GetData(), Context::GetEntered(), FunctionTemplate::GetFunction(), StackFrame::GetFunctionName(), Object::GetHiddenValue(), Function::GetInferredName(), Function::GetName(), Object::GetOwnPropertyNames(), JSObject::GetPropertyAttributeWithInterceptor(), Object::GetPropertyNames(), JSObject::GetPropertyWithCallback(), JSObject::GetPropertyWithInterceptor(), Object::GetPrototype(), Message::GetScriptData(), Function::GetScriptId(), StackFrame::GetScriptName(), StackFrame::GetScriptNameOrSourceURL(), Function::GetScriptOrigin(), Message::GetScriptResourceName(), Context::GetSecurityToken(), RegExp::GetSource(), Message::GetSourceLine(), Context::Global(), Script::Id(), FunctionTemplate::InstanceTemplate(), Isolate::MayIndexedAccess(), Isolate::MayNamedAccess(), String::New(), Object::New(), Array::New(), Date::New(), NumberObject::New(), BooleanObject::New(), StringObject::New(), RegExp::New(), FunctionTemplate::New(), Signature::New(), TypeSwitch::New(), Context::New(), String::NewExternal(), Function::NewInstance(), ObjectTemplate::NewInstance(), String::NewSymbol(), String::NewUndetectable(), Object::ObjectProtoToString(), Exception::RangeError(), Exception::ReferenceError(), Isolate::ReportFailedAccessCheck(), MessageHandler::ReportMessage(), Script::Run(), v8::internal::RUNTIME_FUNCTION(), ObjectTemplate::SetAccessor(), ObjectTemplate::SetCallAsFunctionHandler(), ObjectTemplate::SetIndexedPropertyHandler(), ObjectTemplate::SetNamedPropertyHandler(), JSObject::SetPropertyWithCallback(), JSObject::SetPropertyWithInterceptor(), TryCatch::StackTrace(), StringObject::StringValue(), Exception::SyntaxError(), TEST(), THREADED_TEST(), Exception::TypeError(), Heap::VisitExternalResources(), and External::Wrap().

static Local<Value> ToLocal ( v8::internal::Handle< v8::internal::Object obj)
inlinestatic
static Local<Function> ToLocal ( v8::internal::Handle< v8::internal::JSFunction obj)
inlinestatic
static Local<String> ToLocal ( v8::internal::Handle< v8::internal::String obj)
inlinestatic
static Local<RegExp> ToLocal ( v8::internal::Handle< v8::internal::JSRegExp obj)
inlinestatic
static Local<Object> ToLocal ( v8::internal::Handle< v8::internal::JSObject obj)
inlinestatic
static Local<Array> ToLocal ( v8::internal::Handle< v8::internal::JSArray obj)
inlinestatic
static Local<External> ToLocal ( v8::internal::Handle< v8::internal::Foreign obj)
inlinestatic
static Local<Signature> ToLocal ( v8::internal::Handle< v8::internal::SignatureInfo obj)
inlinestatic
static Local<TypeSwitch> ToLocal ( v8::internal::Handle< v8::internal::TypeSwitchInfo obj)
inlinestatic
static Local<ObjectTemplate> ToObjectTemplate ( NeanderObject  obj)
static
static Local<Uint32> Uint32ToLocal ( v8::internal::Handle< v8::internal::Object obj)
inlinestatic

Referenced by Value::ToArrayIndex().


The documentation for this class was generated from the following files: