Public 型 | Static Public メソッド | Static Private メソッド

クラス v8::internal::Factory

#include <factory.h>

v8::internal::AllStaticを継承しています。

すべてのメンバ一覧

Public 型

enum  ApiInstanceType { JavaScriptObject, InnerGlobalObject, OuterGlobalObject }

Static Public メソッド

static Handle< FixedArrayNewFixedArray (int size, PretenureFlag pretenure=NOT_TENURED)
static Handle< FixedArrayNewFixedArrayWithHoles (int size)
static Handle< DictionaryNewDictionary (int at_least_space_for)
static Handle< DescriptorArrayNewDescriptorArray (int number_of_descriptors)
static Handle< StringLookupSymbol (Vector< const char > str)
static Handle< StringLookupAsciiSymbol (const char *str)
static Handle< StringNewStringFromAscii (Vector< const char > str, PretenureFlag pretenure=NOT_TENURED)
static Handle< StringNewStringFromUtf8 (Vector< const char > str, PretenureFlag pretenure=NOT_TENURED)
static Handle< StringNewStringFromTwoByte (Vector< const uc16 > str)
static Handle< StringNewRawTwoByteString (int length, PretenureFlag pretenure=NOT_TENURED)
static Handle< StringNewConsString (Handle< String > first, Handle< String > second)
static Handle< StringNewStringSlice (Handle< String > str, int begin, int end)
static Handle< StringNewExternalStringFromAscii (ExternalAsciiString::Resource *resource)
static Handle< StringNewExternalStringFromTwoByte (ExternalTwoByteString::Resource *resource)
static Handle< ContextNewGlobalContext ()
static Handle< ContextNewFunctionContext (int length, Handle< JSFunction > closure)
static Handle< ContextNewWithContext (Handle< Context > previous, Handle< JSObject > extension)
static Handle< StringSymbolFromString (Handle< String > value)
static Handle< StructNewStruct (InstanceType type)
static Handle< AccessorInfoNewAccessorInfo ()
static Handle< ScriptNewScript (Handle< String > source)
static Handle< ProxyNewProxy (Address addr, PretenureFlag pretenure=NOT_TENURED)
static Handle< ProxyNewProxy (const AccessorDescriptor *proxy)
static Handle< ByteArrayNewByteArray (int length)
static Handle< MapNewMap (InstanceType type, int instance_size)
static Handle< JSObjectNewFunctionPrototype (Handle< JSFunction > function)
static Handle< MapCopyMap (Handle< Map > map)
static Handle< MapCopyMapDropTransitions (Handle< Map > map)
static Handle< FixedArrayCopyFixedArray (Handle< FixedArray > array)
static Handle< ObjectNewNumber (double value, PretenureFlag pretenure=NOT_TENURED)
static Handle< ObjectNewNumberFromInt (int value)
static Handle< JSObjectNewNeanderObject ()
static Handle< JSObjectNewArgumentsObject (Handle< Object > callee, int length)
static Handle< JSObjectNewJSObject (Handle< JSFunction > constructor, PretenureFlag pretenure=NOT_TENURED)
static Handle< JSObjectNewJSObjectFromMap (Handle< Map > map)
static Handle< JSObjectNewObjectLiteral (int expected_number_of_properties)
static Handle< JSArrayNewArrayLiteral (int length)
static Handle< JSArrayNewJSArray (int init_length, PretenureFlag pretenure=NOT_TENURED)
static Handle< JSArrayNewJSArrayWithElements (Handle< FixedArray > elements, PretenureFlag pretenure=NOT_TENURED)
static Handle< JSFunctionNewFunction (Handle< String > name, Handle< Object > prototype)
static Handle< JSFunctionNewFunction (Handle< Object > super, bool is_global)
static Handle< JSFunctionNewFunctionFromBoilerplate (Handle< JSFunction > boilerplate, Handle< Context > context)
static Handle< CodeNewCode (const CodeDesc &desc, ScopeInfo<> *sinfo, Code::Flags flags)
static Handle< CodeCopyCode (Handle< Code > code)
static Handle< ObjectToObject (Handle< Object > object, Handle< Context > global_context)
static Handle< ObjectNewError (const char *maker, const char *type, Handle< JSArray > args)
static Handle< ObjectNewError (const char *maker, const char *type, Vector< Handle< Object > > args)
static Handle< ObjectNewError (const char *type, Vector< Handle< Object > > args)
static Handle< ObjectNewError (Handle< String > message)
static Handle< ObjectNewError (const char *constructor, Handle< String > message)
static Handle< ObjectNewTypeError (const char *type, Vector< Handle< Object > > args)
static Handle< ObjectNewTypeError (Handle< String > message)
static Handle< ObjectNewRangeError (const char *type, Vector< Handle< Object > > args)
static Handle< ObjectNewRangeError (Handle< String > message)
static Handle< ObjectNewSyntaxError (const char *type, Handle< JSArray > args)
static Handle< ObjectNewSyntaxError (Handle< String > message)
static Handle< ObjectNewReferenceError (const char *type, Vector< Handle< Object > > args)
static Handle< ObjectNewReferenceError (Handle< String > message)
static Handle< ObjectNewEvalError (const char *type, Vector< Handle< Object > > args)
static Handle< JSFunctionNewFunction (Handle< String > name, InstanceType type, int instance_size, Handle< Code > code, bool force_initial_map)
static Handle< JSFunctionNewFunctionBoilerplate (Handle< String > name, int number_of_literals, bool contains_array_literal, Handle< Code > code)
static Handle< JSFunctionNewFunctionBoilerplate (Handle< String > name)
static Handle< JSFunctionNewFunction (Handle< Map > function_map, Handle< SharedFunctionInfo > shared, Handle< Object > prototype)
static Handle< JSFunctionNewFunctionWithPrototype (Handle< String > name, InstanceType type, int instance_size, Handle< JSObject > prototype, Handle< Code > code, bool force_initial_map)
static Handle< DescriptorArrayCopyAppendProxyDescriptor (Handle< DescriptorArray > array, Handle< String > key, Handle< Object > value, PropertyAttributes attributes)
static Handle< JSFunctionCreateApiFunction (Handle< FunctionTemplateInfo > data, ApiInstanceType type=JavaScriptObject)
static Handle< JSFunctionInstallMembers (Handle< JSFunction > function)
static void ConfigureInstance (Handle< FunctionTemplateInfo > desc, Handle< JSObject > instance, bool *pending_exception)
static Handle< SharedFunctionInfoNewSharedFunctionInfo (Handle< String > name)
static Handle< DictionaryDictionaryAtNumberPut (Handle< Dictionary >, uint32_t key, Handle< Object > value)
static Handle< DebugInfoNewDebugInfo (Handle< SharedFunctionInfo > shared)
static Handle< MapObjectLiteralMapFromCache (Handle< Context > context, Handle< FixedArray > keys)
static void SetRegExpData (Handle< JSRegExp > regexp, JSRegExp::Type type, Handle< String > source, JSRegExp::Flags flags, Handle< Object > data)

Static Private メソッド

static Handle< JSFunctionNewFunctionHelper (Handle< String > name, Handle< Object > prototype)
static Handle< DescriptorArrayCopyAppendCallbackDescriptors (Handle< DescriptorArray > array, Handle< Object > descriptors)
static Handle< JSFunctionBaseNewFunctionFromBoilerplate (Handle< JSFunction > boilerplate, Handle< Map > function_map)
static Handle< MapCacheNewMapCache (int at_least_space_for)
static Handle< MapCacheAddToMapCache (Handle< Context > context, Handle< FixedArray > keys, Handle< Map > map)

説明

factory.h38 行で定義されています。


列挙型

列挙型の値:
JavaScriptObject 
InnerGlobalObject 
OuterGlobalObject 

factory.h273 行で定義されています。


関数

Handle< MapCache > v8::internal::Factory::AddToMapCache ( Handle< Context context,
Handle< FixedArray keys,
Handle< Map map 
) [static, private]

factory.cc781 行で定義されています。

参照先 CALL_HEAP_FUNCTION, と v8::internal::UpdateMapCacheWith().

参照元 ObjectLiteralMapFromCache().

Handle< JSFunction > v8::internal::Factory::BaseNewFunctionFromBoilerplate ( Handle< JSFunction boilerplate,
Handle< Map function_map 
) [static, private]

factory.cc200 行で定義されています。

参照先 v8::internal::Heap::AllocateFunction(), ASSERT, と CALL_HEAP_FUNCTION.

参照元 NewFunctionFromBoilerplate().

void v8::internal::Factory::ConfigureInstance ( Handle< FunctionTemplateInfo desc,
Handle< JSObject instance,
bool *  pending_exception 
) [static]

factory.cc822 行で定義されています。

参照先 v8::internal::instance_template.

参照元 v8::internal::BUILTIN().

Handle< DescriptorArray > v8::internal::Factory::CopyAppendCallbackDescriptors ( Handle< DescriptorArray array,
Handle< Object descriptors 
) [static, private]
Handle< DescriptorArray > v8::internal::Factory::CopyAppendProxyDescriptor ( Handle< DescriptorArray array,
Handle< String key,
Handle< Object value,
PropertyAttributes  attributes 
) [static]

factory.cc478 行で定義されています。

参照先 CALL_HEAP_FUNCTION, と v8::internal::DoCopyInsert().

Handle< Code > v8::internal::Factory::CopyCode ( Handle< Code code  )  [static]

factory.cc462 行で定義されています。

参照先 CALL_HEAP_FUNCTION, と v8::internal::Heap::CopyCode().

参照元 NewDebugInfo().

Handle< FixedArray > v8::internal::Factory::CopyFixedArray ( Handle< FixedArray array  )  [static]

factory.cc195 行で定義されています。

参照先 CALL_HEAP_FUNCTION.

参照元 v8::Object::GetPropertyNames().

Handle< Map > v8::internal::Factory::CopyMap ( Handle< Map map  )  [static]

factory.cc185 行で定義されています。

参照先 CALL_HEAP_FUNCTION.

参照元 NewObjectLiteral(), と ObjectLiteralMapFromCache().

Handle< Map > v8::internal::Factory::CopyMapDropTransitions ( Handle< Map map  )  [static]

factory.cc190 行で定義されています。

参照先 CALL_HEAP_FUNCTION.

参照元 v8::internal::SetObjectPrototype(), と v8::Object::TurnOnAccessCheck().

Handle< JSFunction > v8::internal::Factory::CreateApiFunction ( Handle< FunctionTemplateInfo data,
ApiInstanceType  type = JavaScriptObject 
) [static]
Handle< Dictionary > v8::internal::Factory::DictionaryAtNumberPut ( Handle< Dictionary dictionary,
uint32_t  key,
Handle< Object value 
) [static]

factory.cc603 行で定義されています。

参照先 CALL_HEAP_FUNCTION.

参照元 v8::internal::ArrayConcatVisitor::visit().

static Handle<JSFunction> v8::internal::Factory::InstallMembers ( Handle< JSFunction function  )  [static]
static Handle<String> v8::internal::Factory::LookupAsciiSymbol ( const char *  str  )  [inline, static]
Handle< String > v8::internal::Factory::LookupSymbol ( Vector< const char >  str  )  [static]
Handle< AccessorInfo > v8::internal::Factory::NewAccessorInfo (  )  [static]
Handle< JSObject > v8::internal::Factory::NewArgumentsObject ( Handle< Object callee,
int  length 
) [static]
Handle< JSArray > v8::internal::Factory::NewArrayLiteral ( int  length  )  [static]

factory.cc576 行で定義されています。

参照先 NewFixedArray(), NewJSArrayWithElements(), と v8::internal::TENURED.

Handle< ByteArray > v8::internal::Factory::NewByteArray ( int  length  )  [static]

factory.cc169 行で定義されています。

参照先 v8::internal::Heap::AllocateByteArray(), ASSERT, と CALL_HEAP_FUNCTION.

Handle< Code > v8::internal::Factory::NewCode ( const CodeDesc desc,
ScopeInfo<> *  sinfo,
Code::Flags  flags 
) [static]

factory.cc456 行で定義されています。

参照先 CALL_HEAP_FUNCTION, と v8::internal::Heap::CreateCode().

参照元 v8::internal::CodeGenerator::MakeCode().

Handle< String > v8::internal::Factory::NewConsString ( Handle< String first,
Handle< String second 
) [static]

factory.cc92 行で定義されています。

参照先 v8::internal::Heap::AllocateConsString(), と CALL_HEAP_FUNCTION.

Handle< DebugInfo > v8::internal::Factory::NewDebugInfo ( Handle< SharedFunctionInfo shared  )  [static]
Handle< DescriptorArray > v8::internal::Factory::NewDescriptorArray ( int  number_of_descriptors  )  [static]

factory.cc57 行で定義されています。

参照先 v8::internal::DescriptorArray::Allocate(), ASSERT, と CALL_HEAP_FUNCTION.

参照元 CopyAppendCallbackDescriptors().

Handle< Dictionary > v8::internal::Factory::NewDictionary ( int  at_least_space_for  )  [static]

factory.cc51 行で定義されています。

参照先 v8::internal::Dictionary::Allocate(), ASSERT, と CALL_HEAP_FUNCTION.

参照元 v8::internal::Runtime_ArrayConcat().

Handle< Object > v8::internal::Factory::NewError ( const char *  maker,
const char *  type,
Handle< JSArray args 
) [static]
Handle< Object > v8::internal::Factory::NewError ( const char *  maker,
const char *  type,
Vector< Handle< Object > >  args 
) [static]
Handle< Object > v8::internal::Factory::NewError ( const char *  type,
Vector< Handle< Object > >  args 
) [static]

factory.cc316 行で定義されています。

参照先 NewError().

Handle< Object > v8::internal::Factory::NewError ( Handle< String message  )  [static]

factory.cc346 行で定義されています。

参照先 NewError().

Handle< Object > v8::internal::Factory::NewError ( const char *  constructor,
Handle< String message 
) [static]
Handle< Object > v8::internal::Factory::NewEvalError ( const char *  type,
Vector< Handle< Object > >  args 
) [static]

factory.cc310 行で定義されています。

参照先 NewError().

Handle< String > v8::internal::Factory::NewExternalStringFromAscii ( ExternalAsciiString::Resource resource  )  [static]
Handle< String > v8::internal::Factory::NewExternalStringFromTwoByte ( ExternalTwoByteString::Resource resource  )  [static]
Handle< FixedArray > v8::internal::Factory::NewFixedArray ( int  size,
PretenureFlag  pretenure = NOT_TENURED 
) [static]
Handle< FixedArray > v8::internal::Factory::NewFixedArrayWithHoles ( int  size  )  [static]
Handle< JSFunction > v8::internal::Factory::NewFunction ( Handle< String name,
Handle< Object prototype 
) [static]
static Handle<JSFunction> v8::internal::Factory::NewFunction ( Handle< Object super,
bool  is_global 
) [static]
Handle< JSFunction > v8::internal::Factory::NewFunction ( Handle< String name,
InstanceType  type,
int  instance_size,
Handle< Code code,
bool  force_initial_map 
) [static]
static Handle<JSFunction> v8::internal::Factory::NewFunction ( Handle< Map function_map,
Handle< SharedFunctionInfo shared,
Handle< Object prototype 
) [static]
Handle< JSFunction > v8::internal::Factory::NewFunctionBoilerplate ( Handle< String name  )  [static]
Handle< JSFunction > v8::internal::Factory::NewFunctionBoilerplate ( Handle< String name,
int  number_of_literals,
bool  contains_array_literal,
Handle< Code code 
) [static]
Handle< Context > v8::internal::Factory::NewFunctionContext ( int  length,
Handle< JSFunction closure 
) [static]
Handle< JSFunction > v8::internal::Factory::NewFunctionFromBoilerplate ( Handle< JSFunction boilerplate,
Handle< Context context 
) [static]
Handle< JSFunction > v8::internal::Factory::NewFunctionHelper ( Handle< String name,
Handle< Object prototype 
) [static, private]

factory.cc610 行で定義されています。

参照先 v8::internal::Heap::AllocateFunction(), CALL_HEAP_FUNCTION, と NewSharedFunctionInfo().

参照元 NewFunction().

Handle< JSObject > v8::internal::Factory::NewFunctionPrototype ( Handle< JSFunction function  )  [static]

factory.cc180 行で定義されています。

参照先 v8::internal::Heap::AllocateFunctionPrototype(), と CALL_HEAP_FUNCTION.

参照元 NewFunction().

Handle< JSFunction > v8::internal::Factory::NewFunctionWithPrototype ( Handle< String name,
InstanceType  type,
int  instance_size,
Handle< JSObject prototype,
Handle< Code code,
bool  force_initial_map 
) [static]
Handle< Context > v8::internal::Factory::NewGlobalContext (  )  [static]

factory.cc117 行で定義されています。

参照先 v8::internal::Heap::AllocateGlobalContext(), と CALL_HEAP_FUNCTION.

Handle< JSArray > v8::internal::Factory::NewJSArray ( int  init_length,
PretenureFlag  pretenure = NOT_TENURED 
) [static]
Handle< JSArray > v8::internal::Factory::NewJSArrayWithElements ( Handle< FixedArray elements,
PretenureFlag  pretenure = NOT_TENURED 
) [static]
Handle< JSObject > v8::internal::Factory::NewJSObject ( Handle< JSFunction constructor,
PretenureFlag  pretenure = NOT_TENURED 
) [static]
Handle< JSObject > v8::internal::Factory::NewJSObjectFromMap ( Handle< Map map  )  [static]
Handle< Map > v8::internal::Factory::NewMap ( InstanceType  type,
int  instance_size 
) [static]

factory.cc175 行で定義されています。

参照先 v8::internal::Heap::AllocateMap(), と CALL_HEAP_FUNCTION.

参照元 NewFunction(), と NewFunctionWithPrototype().

Handle< MapCache > v8::internal::Factory::NewMapCache ( int  at_least_space_for  )  [static, private]

factory.cc767 行で定義されています。

参照先 v8::internal::HashTable< 0, 2 >::Allocate(), と CALL_HEAP_FUNCTION.

参照元 ObjectLiteralMapFromCache().

Handle< JSObject > v8::internal::Factory::NewNeanderObject (  )  [static]
Handle< Object > v8::internal::Factory::NewNumber ( double  value,
PretenureFlag  pretenure = NOT_TENURED 
) [static]
Handle< Object > v8::internal::Factory::NewNumberFromInt ( int  value  )  [static]
Handle< JSObject > v8::internal::Factory::NewObjectLiteral ( int  expected_number_of_properties  )  [static]
Handle< Proxy > v8::internal::Factory::NewProxy ( Address  addr,
PretenureFlag  pretenure = NOT_TENURED 
) [static]
Handle< Proxy > v8::internal::Factory::NewProxy ( const AccessorDescriptor proxy  )  [static]

factory.cc164 行で定義されています。

参照先 NewProxy(), と v8::internal::TENURED.

Handle< Object > v8::internal::Factory::NewRangeError ( Handle< String message  )  [static]

factory.cc271 行で定義されています。

参照先 NewError().

Handle< Object > v8::internal::Factory::NewRangeError ( const char *  type,
Vector< Handle< Object > >  args 
) [static]
Handle< String > v8::internal::Factory::NewRawTwoByteString ( int  length,
PretenureFlag  pretenure = NOT_TENURED 
) [static]
Handle< Object > v8::internal::Factory::NewReferenceError ( Handle< String message  )  [static]

factory.cc292 行で定義されています。

参照先 NewError().

Handle< Object > v8::internal::Factory::NewReferenceError ( const char *  type,
Vector< Handle< Object > >  args 
) [static]
Handle< Script > v8::internal::Factory::NewScript ( Handle< String source  )  [static]
Handle< SharedFunctionInfo > v8::internal::Factory::NewSharedFunctionInfo ( Handle< String name  )  [static]
Handle< String > v8::internal::Factory::NewStringFromAscii ( Vector< const char >  str,
PretenureFlag  pretenure = NOT_TENURED 
) [static]
Handle< String > v8::internal::Factory::NewStringFromTwoByte ( Vector< const uc16 str  )  [static]
Handle< String > v8::internal::Factory::NewStringFromUtf8 ( Vector< const char >  str,
PretenureFlag  pretenure = NOT_TENURED 
) [static]
Handle< String > v8::internal::Factory::NewStringSlice ( Handle< String str,
int  begin,
int  end 
) [static]

factory.cc100 行で定義されています。

参照先 CALL_HEAP_FUNCTION.

参照元 v8::internal::SubStringEquals().

Handle< Struct > v8::internal::Factory::NewStruct ( InstanceType  type  )  [static]
Handle< Object > v8::internal::Factory::NewSyntaxError ( const char *  type,
Handle< JSArray args 
) [static]
Handle< Object > v8::internal::Factory::NewSyntaxError ( Handle< String message  )  [static]

factory.cc281 行で定義されています。

参照先 NewError().

Handle< Object > v8::internal::Factory::NewTypeError ( const char *  type,
Vector< Handle< Object > >  args 
) [static]
Handle< Object > v8::internal::Factory::NewTypeError ( Handle< String message  )  [static]

factory.cc260 行で定義されています。

参照先 NewError().

Handle< Context > v8::internal::Factory::NewWithContext ( Handle< Context previous,
Handle< JSObject extension 
) [static]
Handle< Map > v8::internal::Factory::ObjectLiteralMapFromCache ( Handle< Context context,
Handle< FixedArray keys 
) [static]
void v8::internal::Factory::SetRegExpData ( Handle< JSRegExp regexp,
JSRegExp::Type  type,
Handle< String source,
JSRegExp::Flags  flags,
Handle< Object data 
) [static]
Handle< String > v8::internal::Factory::SymbolFromString ( Handle< String value  )  [static]

factory.cc488 行で定義されています。

参照先 CALL_HEAP_FUNCTION, と v8::internal::Heap::LookupSymbol().

参照元 CopyAppendCallbackDescriptors().

Handle< Object > v8::internal::Factory::ToObject ( Handle< Object object,
Handle< Context global_context 
) [static]

factory.cc628 行で定義されています。

参照先 CALL_HEAP_FUNCTION.

参照元 v8::internal::Runtime_GetFrameDetails().


このクラスの説明は次のファイルから生成されました:
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義