Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
Nan Namespace Reference

Namespaces

namespace  imp

Classes

class  AsyncProgressWorkerBase
class  AsyncWorker
class  Callback
struct  CopyablePersistentTraits
class  EscapableHandleScope
class  FunctionCallbackInfo
class  Global
class  HandleScope
class  Maybe
class  MaybeLocal
class  NonCopyablePersistentTraits
class  ObjectWrap
class  Persistent
class  PersistentBase
class  PropertyCallbackInfo
class  PropertyCallbackInfo< v8::Array >
class  PropertyCallbackInfo< v8::Boolean >
class  PropertyCallbackInfo< v8::Integer >
class  PropertyCallbackInfoBase
class  ReturnValue
struct  Tap
class  TryCatch
class  TypedArrayContents
class  Utf8String
class  WeakCallbackInfo
struct  WeakCallbackType

Typedefs

typedef v8::Handle< v8::Object > ADDON_REGISTER_FUNCTION_ARGS_TYPE
typedef
AsyncProgressWorkerBase< char > 
AsyncProgressWorker
typedef v8::Script BoundScript
typedef
v8::String::ExternalAsciiStringResource 
ExternalOneByteStringResource
typedef void(* FreeCallback )(char *data, void *hint)
typedef void(* FunctionCallback )(const FunctionCallbackInfo< v8::Value > &)
typedef void(* GetterCallback )(v8::Local< v8::String >, const PropertyCallbackInfo< v8::Value > &)
typedef void(* IndexDeleterCallback )(uint32_t, const PropertyCallbackInfo< v8::Boolean > &)
typedef void(* IndexEnumeratorCallback )(const PropertyCallbackInfo< v8::Array > &)
typedef void(* IndexGetterCallback )(uint32_t, const PropertyCallbackInfo< v8::Value > &)
typedef void(* IndexQueryCallback )(uint32_t, const PropertyCallbackInfo< v8::Integer > &)
typedef void(* IndexSetterCallback )(uint32_t, v8::Local< v8::Value >, const PropertyCallbackInfo< v8::Value > &)
typedef const
PropertyCallbackInfo
< v8::Value > & 
NAN_GETTER_ARGS_TYPE
typedef void NAN_GETTER_RETURN_TYPE
typedef const
PropertyCallbackInfo
< v8::Boolean > & 
NAN_INDEX_DELETER_ARGS_TYPE
typedef void NAN_INDEX_DELETER_RETURN_TYPE
typedef const
PropertyCallbackInfo
< v8::Array > & 
NAN_INDEX_ENUMERATOR_ARGS_TYPE
typedef void NAN_INDEX_ENUMERATOR_RETURN_TYPE
typedef const
PropertyCallbackInfo
< v8::Value > & 
NAN_INDEX_GETTER_ARGS_TYPE
typedef void NAN_INDEX_GETTER_RETURN_TYPE
typedef const
PropertyCallbackInfo
< v8::Integer > & 
NAN_INDEX_QUERY_ARGS_TYPE
typedef void NAN_INDEX_QUERY_RETURN_TYPE
typedef const
PropertyCallbackInfo
< v8::Value > & 
NAN_INDEX_SETTER_ARGS_TYPE
typedef void NAN_INDEX_SETTER_RETURN_TYPE
typedef const
FunctionCallbackInfo
< v8::Value > & 
NAN_METHOD_ARGS_TYPE
typedef void NAN_METHOD_RETURN_TYPE
typedef const
PropertyCallbackInfo
< v8::Boolean > & 
NAN_PROPERTY_DELETER_ARGS_TYPE
typedef void NAN_PROPERTY_DELETER_RETURN_TYPE
typedef const
PropertyCallbackInfo
< v8::Array > & 
NAN_PROPERTY_ENUMERATOR_ARGS_TYPE
typedef void NAN_PROPERTY_ENUMERATOR_RETURN_TYPE
typedef const
PropertyCallbackInfo
< v8::Value > & 
NAN_PROPERTY_GETTER_ARGS_TYPE
typedef void NAN_PROPERTY_GETTER_RETURN_TYPE
typedef const
PropertyCallbackInfo
< v8::Integer > & 
NAN_PROPERTY_QUERY_ARGS_TYPE
typedef void NAN_PROPERTY_QUERY_RETURN_TYPE
typedef const
PropertyCallbackInfo
< v8::Value > & 
NAN_PROPERTY_SETTER_ARGS_TYPE
typedef void NAN_PROPERTY_SETTER_RETURN_TYPE
typedef const
PropertyCallbackInfo< void > & 
NAN_SETTER_ARGS_TYPE
typedef void NAN_SETTER_RETURN_TYPE
typedef pthread_key_t nauv_key_t
typedef void(* PropertyDeleterCallback )(v8::Local< v8::String >, const PropertyCallbackInfo< v8::Boolean > &)
typedef void(* PropertyEnumeratorCallback )(const PropertyCallbackInfo< v8::Array > &)
typedef void(* PropertyGetterCallback )(v8::Local< v8::String >, const PropertyCallbackInfo< v8::Value > &)
typedef void(* PropertyQueryCallback )(v8::Local< v8::String >, const PropertyCallbackInfo< v8::Integer > &)
typedef void(* PropertySetterCallback )(v8::Local< v8::String >, v8::Local< v8::Value >, const PropertyCallbackInfo< v8::Value > &)
typedef void(* SetterCallback )(v8::Local< v8::String >, v8::Local< v8::Value >, const PropertyCallbackInfo< void > &)
typedef v8::Script UnboundScript

Enumerations

enum  Encoding {
  ASCII, UTF8, BASE64, UCS2,
  BINARY, HEX, BUFFER
}

Functions

void AddGCEpilogueCallback (v8::GCEpilogueCallback callback, v8::GCType gc_type_filter=v8::kGCTypeAll)
void AddGCPrologueCallback (v8::GCPrologueCallback callback, v8::GCType gc_type_filter=v8::kGCTypeAll)
int AdjustExternalMemory (int bc)
void AsyncExecute (uv_work_t *req)
void AsyncExecuteComplete (uv_work_t *req)
void AsyncQueueWorker (AsyncWorker *worker)
MaybeLocal< v8::Value > Call (v8::Local< v8::Function > fun, v8::Local< v8::Object > recv, int argc, v8::Local< v8::Value > argv[])
MaybeLocal< v8::Value > CallAsConstructor (v8::Handle< v8::Object > obj, int argc, v8::Local< v8::Value > argv[])
MaybeLocal< v8::Value > CallAsFunction (v8::Handle< v8::Object > obj, v8::Handle< v8::Object > recv, int argc, v8::Handle< v8::Value > argv[])
MaybeLocal< v8::Object > CloneElementAt (v8::Handle< v8::Array > array, uint32_t index)
MaybeLocal< BoundScriptCompileScript (v8::Local< v8::String > s, const v8::ScriptOrigin &origin)
MaybeLocal< BoundScriptCompileScript (v8::Local< v8::String > s)
void ContextDisposedNotification ()
MaybeLocal< v8::Object > CopyBuffer (const char *data, uint32_t size)
ssize_t DecodeBytes (v8::Local< v8::Value > val, enum Encoding encoding=BINARY)
ssize_t DecodeWrite (char *buf, size_t len, v8::Local< v8::Value > val, enum Encoding encoding=BINARY)
Maybe< bool > Delete (v8::Handle< v8::Object > obj, v8::Handle< v8::String > key)
Maybe< bool > Delete (v8::Handle< v8::Object > obj, uint32_t index)
v8::Local< v8::String > EmptyString ()
v8::Local< v8::Value > Encode (const void *buf, size_t len, enum Encoding encoding=BINARY)
Maybe< bool > Equals (v8::Handle< v8::Value > a, v8::Handle< v8::Value >(b))
v8::Local< v8::Value > ErrnoException (int errorno, const char *syscall=NULL, const char *message=NULL, const char *path=NULL)
void Export (ADDON_REGISTER_FUNCTION_ARGS_TYPE target, const char *name, FunctionCallback f)
v8::Local< v8::Boolean > False ()
void FatalException (const TryCatch &try_catch)
Maybe< bool > ForceSet (v8::Handle< v8::Object > obj, v8::Handle< v8::Value > key, v8::Handle< v8::Value > value, v8::PropertyAttribute attribs=v8::None)
void FreeData (char *data, void *hint)
MaybeLocal< v8::Value > Get (v8::Handle< v8::Object > obj, v8::Handle< v8::Value > key)
MaybeLocal< v8::Value > Get (v8::Handle< v8::Object > obj, uint32_t index)
v8::Local< v8::Context > GetCurrentContext ()
Maybe< int > GetEndColumn (v8::Handle< v8::Message > msg)
MaybeLocal< v8::Function > GetFunction (v8::Handle< v8::FunctionTemplate > t)
void GetHeapStatistics (v8::HeapStatistics *heap_statistics)
void * GetInternalFieldPointer (v8::Local< v8::Object > object, int index)
template<typename T >
T * GetIsolateData (v8::Isolate *isolate)
Maybe< int > GetLineNumber (v8::Handle< v8::Message > msg)
MaybeLocal< v8::Array > GetOwnPropertyNames (v8::Handle< v8::Object > obj)
Maybe< v8::PropertyAttribute > GetPropertyAttributes (v8::Handle< v8::Object > obj, v8::Handle< v8::Value > key)
MaybeLocal< v8::Array > GetPropertyNames (v8::Handle< v8::Object > obj)
MaybeLocal< v8::Value > GetRealNamedProperty (v8::Handle< v8::Object > obj, v8::Handle< v8::String > key)
MaybeLocal< v8::Value > GetRealNamedPropertyInPrototypeChain (v8::Handle< v8::Object > obj, v8::Handle< v8::String > key)
MaybeLocal< v8::String > GetSourceLine (v8::Handle< v8::Message > msg)
Maybe< int > GetStartColumn (v8::Handle< v8::Message > msg)
Maybe< bool > Has (v8::Handle< v8::Object > obj, v8::Handle< v8::String > key)
Maybe< bool > Has (v8::Handle< v8::Object > obj, uint32_t index)
Maybe< bool > HasOwnProperty (v8::Handle< v8::Object > obj, v8::Handle< v8::String > key)
Maybe< bool > HasRealIndexedProperty (v8::Handle< v8::Object > obj, uint32_t index)
Maybe< bool > HasRealNamedCallbackProperty (v8::Handle< v8::Object > obj, v8::Handle< v8::String > key)
Maybe< bool > HasRealNamedProperty (v8::Handle< v8::Object > obj, v8::Handle< v8::String > key)
bool IdleNotification (int idle_time_in_ms)
template<typename T >
Maybe< T > Just (const T &t)
void LowMemoryNotification ()
v8::Local< v8::Value > MakeCallback (v8::Local< v8::Object > target, v8::Local< v8::Function > func, int argc, v8::Local< v8::Value > *argv)
v8::Local< v8::Value > MakeCallback (v8::Local< v8::Object > target, v8::Local< v8::String > symbol, int argc, v8::Local< v8::Value > *argv)
v8::Local< v8::Value > MakeCallback (v8::Local< v8::Object > target, const char *method, int argc, v8::Local< v8::Value > *argv)
template<typename T , template< typename > class MaybeMaybe>
MaybeLocal< T > MakeMaybe (MaybeMaybe< T > v)
NAN_DEPRECATED v8::Local
< v8::Value > 
NanErrnoException (int errorno, const char *syscall=NULL, const char *message=NULL, const char *path=NULL)
int nauv_key_create (nauv_key_t *key)
void nauv_key_delete (nauv_key_t *key)
void * nauv_key_get (nauv_key_t *key)
void nauv_key_set (nauv_key_t *key, void *value)
template<typename T >
imp::Factory< T >::return_t New ()
template<typename T , typename A0 >
imp::Factory< T >::return_t New (A0 arg0)
template<typename T , typename A0 , typename A1 >
imp::Factory< T >::return_t New (A0 arg0, A1 arg1)
template<typename T , typename A0 , typename A1 , typename A2 >
imp::Factory< T >::return_t New (A0 arg0, A1 arg1, A2 arg2)
template<typename T , typename A0 , typename A1 , typename A2 , typename A3 >
imp::Factory< T >::return_t New (A0 arg0, A1 arg1, A2 arg2, A3 arg3)
template<typename T >
imp::Factory< T >::return_t New (FunctionCallback callback, v8::Local< v8::Value > data=v8::Local< v8::Value >())
template<typename T >
v8::Local< T > New (v8::Handle< T > h)
template<typename T , typename A2 >
imp::Factory< T >::return_t New (FunctionCallback callback, v8::Local< v8::Value > data=v8::Local< v8::Value >(), A2 a2=A2())
template<typename T >
v8::Local< T > New (v8::Persistent< T > const &p)
template<typename T , typename M >
v8::Local< T > New (Persistent< T, M > const &p)
template<typename T >
v8::Local< T > New (Global< T > const &p)
imp::Factory< v8::Boolean >
::return_t 
New (bool value)
imp::Factory< v8::Int32 >::return_t New (int32_t value)
imp::Factory< v8::Uint32 >
::return_t 
New (uint32_t value)
imp::Factory< v8::Number >
::return_t 
New (double value)
imp::Factory< v8::String >
::return_t 
New (std::string const &value)
imp::Factory< v8::String >
::return_t 
New (const char *value, int length)
imp::Factory< v8::String >
::return_t 
New (const uint16_t *value, int length)
imp::Factory< v8::String >
::return_t 
New (const char *value)
imp::Factory< v8::String >
::return_t 
New (const uint16_t *value)
imp::Factory< v8::String >
::return_t 
New (v8::String::ExternalStringResource *value)
imp::Factory< v8::String >
::return_t 
New (ExternalOneByteStringResource *value)
imp::Factory< v8::RegExp >
::return_t 
New (v8::Local< v8::String > pattern, v8::RegExp::Flags flags)
MaybeLocal< v8::Object > NewBuffer (char *data, size_t length, node::Buffer::free_callback callback, void *hint)
MaybeLocal< v8::Object > NewBuffer (uint32_t size)
MaybeLocal< v8::Object > NewBuffer (char *data, uint32_t size)
MaybeLocal< v8::Object > NewInstance (v8::Handle< v8::Function > h)
MaybeLocal< v8::Object > NewInstance (v8::Local< v8::Function > h, int argc, v8::Local< v8::Value > argv[])
MaybeLocal< v8::Object > NewInstance (v8::Handle< v8::ObjectTemplate > h)
MaybeLocal< v8::String > NewOneByteString (const uint8_t *value, int length=-1)
template<typename T >
Maybe< T > Nothing ()
v8::Local< v8::Primitive > Null ()
MaybeLocal< v8::String > ObjectProtoToString (v8::Handle< v8::Object > obj)
void RemoveGCEpilogueCallback (v8::GCEpilogueCallback callback)
void RemoveGCPrologueCallback (v8::GCPrologueCallback callback)
MaybeLocal< v8::Value > RunScript (v8::Local< v8::Script > script)
Maybe< bool > Set (v8::Handle< v8::Object > obj, v8::Handle< v8::Value > key, v8::Handle< v8::Value > value)
Maybe< bool > Set (v8::Handle< v8::Object > obj, uint32_t index, v8::Handle< v8::Value > value)
void SetAccessor (v8::Local< v8::ObjectTemplate > tpl, v8::Local< v8::String > name, GetterCallback getter, SetterCallback setter=0, v8::Local< v8::Value > data=v8::Local< v8::Value >(), v8::AccessControl settings=v8::DEFAULT, v8::PropertyAttribute attribute=v8::None, imp::Sig signature=imp::Sig())
bool SetAccessor (v8::Local< v8::Object > obj, v8::Local< v8::String > name, GetterCallback getter, SetterCallback setter=0, v8::Local< v8::Value > data=v8::Local< v8::Value >(), v8::AccessControl settings=v8::DEFAULT, v8::PropertyAttribute attribute=v8::None)
void SetAddHistogramSampleFunction (v8::AddHistogramSampleCallback cb)
void SetCallAsFunctionHandler (v8::Local< v8::ObjectTemplate > tpl, FunctionCallback callback, v8::Local< v8::Value > data=v8::Local< v8::Value >())
void SetCallHandler (v8::Local< v8::FunctionTemplate > tpl, FunctionCallback callback, v8::Local< v8::Value > data=v8::Local< v8::Value >())
void SetCounterFunction (v8::CounterLookupCallback cb)
void SetCreateHistogramFunction (v8::CreateHistogramCallback cb)
void SetIndexedPropertyHandler (v8::Local< v8::ObjectTemplate > tpl, IndexGetterCallback getter, IndexSetterCallback setter=0, IndexQueryCallback query=0, IndexDeleterCallback deleter=0, IndexEnumeratorCallback enumerator=0, v8::Local< v8::Value > data=v8::Local< v8::Value >())
void SetInstanceTemplate (v8::Local< v8::FunctionTemplate > templ, const char *name, v8::Local< v8::Data > value)
void SetInstanceTemplate (v8::Local< v8::FunctionTemplate > templ, v8::Local< v8::String > name, v8::Local< v8::Data > value, v8::PropertyAttribute attributes)
void SetInternalFieldPointer (v8::Local< v8::Object > object, int index, void *value)
template<typename T >
void SetIsolateData (v8::Isolate *isolate, T *data)
template<typename T , template< typename > class HandleType>
void SetMethod (HandleType< T > recv, const char *name, FunctionCallback callback)
void SetNamedPropertyHandler (v8::Local< v8::ObjectTemplate > tpl, PropertyGetterCallback getter, PropertySetterCallback setter=0, PropertyQueryCallback query=0, PropertyDeleterCallback deleter=0, PropertyEnumeratorCallback enumerator=0, v8::Local< v8::Value > data=v8::Local< v8::Value >())
Maybe< bool > SetPrototype (v8::Handle< v8::Object > obj, v8::Handle< v8::Value > prototype)
void SetPrototypeMethod (v8::Local< v8::FunctionTemplate > recv, const char *name, FunctionCallback callback)
void SetPrototypeTemplate (v8::Local< v8::FunctionTemplate > templ, const char *name, v8::Local< v8::Data > value)
void SetPrototypeTemplate (v8::Local< v8::FunctionTemplate > templ, v8::Local< v8::String > name, v8::Local< v8::Data > value, v8::PropertyAttribute attributes)
void SetTemplate (v8::Local< v8::Template > templ, const char *name, v8::Local< v8::Data > value)
void SetTemplate (v8::Local< v8::Template > templ, v8::Local< v8::String > name, v8::Local< v8::Data > value, v8::PropertyAttribute attributes)
void ThrowError (v8::Local< v8::Value > error)
template<typename T >
imp::ToFactory< T >::return_t To (v8::Local< v8::Value > val)
MaybeLocal< v8::Uint32 > ToArrayIndex (v8::Handle< v8::Value > val)
MaybeLocal< v8::String > ToDetailString (v8::Handle< v8::Value > val)
v8::Local< v8::Boolean > True ()
v8::Local< v8::Primitive > Undefined ()

Variables

static const int kInternalFieldsInWeakCallback = 2
static const int kNoInternalFieldIndex = -1

Typedef Documentation

typedef v8::Handle<v8::Object> Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE

Definition at line 136 of file nan.h.

Definition at line 1686 of file nan.h.

typedef v8::Script Nan::BoundScript

Definition at line 152 of file nan.h.

typedef v8::String::ExternalAsciiStringResource Nan::ExternalOneByteStringResource

Definition at line 160 of file nan.h.

typedef void(* Nan::FreeCallback)(char *data, void *hint)

Definition at line 1248 of file nan.h.

typedef void(* Nan::FunctionCallback)(const FunctionCallbackInfo< v8::Value > &)

Definition at line 17 of file nan.h.

typedef void(* Nan::GetterCallback)(v8::Local< v8::String >, const PropertyCallbackInfo< v8::Value > &)

Definition at line 19 of file nan.h.

typedef void(* Nan::IndexDeleterCallback)(uint32_t, const PropertyCallbackInfo< v8::Boolean > &)

Definition at line 48 of file nan.h.

typedef void(* Nan::IndexEnumeratorCallback)(const PropertyCallbackInfo< v8::Array > &)

Definition at line 47 of file nan.h.

typedef void(* Nan::IndexGetterCallback)(uint32_t, const PropertyCallbackInfo< v8::Value > &)

Definition at line 39 of file nan.h.

typedef void(* Nan::IndexQueryCallback)(uint32_t, const PropertyCallbackInfo< v8::Integer > &)

Definition at line 51 of file nan.h.

typedef void(* Nan::IndexSetterCallback)(uint32_t, v8::Local< v8::Value >, const PropertyCallbackInfo< v8::Value > &)

Definition at line 42 of file nan.h.

Definition at line 1253 of file nan.h.

Definition at line 1254 of file nan.h.

Definition at line 1290 of file nan.h.

Definition at line 1291 of file nan.h.

Definition at line 1286 of file nan.h.

Definition at line 1287 of file nan.h.

Definition at line 1279 of file nan.h.

Definition at line 1280 of file nan.h.

Definition at line 1294 of file nan.h.

Definition at line 1295 of file nan.h.

Definition at line 1282 of file nan.h.

Definition at line 1283 of file nan.h.

Definition at line 1250 of file nan.h.

Definition at line 1251 of file nan.h.

Definition at line 1272 of file nan.h.

Definition at line 1273 of file nan.h.

Definition at line 1268 of file nan.h.

Definition at line 1269 of file nan.h.

Definition at line 1260 of file nan.h.

Definition at line 1261 of file nan.h.

Definition at line 1276 of file nan.h.

Definition at line 1277 of file nan.h.

Definition at line 1264 of file nan.h.

Definition at line 1265 of file nan.h.

Definition at line 1256 of file nan.h.

Definition at line 1257 of file nan.h.

typedef pthread_key_t Nan::nauv_key_t

Definition at line 235 of file nan.h.

typedef void(* Nan::PropertyDeleterCallback)(v8::Local< v8::String >, const PropertyCallbackInfo< v8::Boolean > &)

Definition at line 33 of file nan.h.

typedef void(* Nan::PropertyEnumeratorCallback)(const PropertyCallbackInfo< v8::Array > &)

Definition at line 32 of file nan.h.

typedef void(* Nan::PropertyGetterCallback)(v8::Local< v8::String >, const PropertyCallbackInfo< v8::Value > &)

Definition at line 24 of file nan.h.

typedef void(* Nan::PropertyQueryCallback)(v8::Local< v8::String >, const PropertyCallbackInfo< v8::Integer > &)

Definition at line 36 of file nan.h.

typedef void(* Nan::PropertySetterCallback)(v8::Local< v8::String >, v8::Local< v8::Value >, const PropertyCallbackInfo< v8::Value > &)

Definition at line 27 of file nan.h.

typedef void(* Nan::SetterCallback)(v8::Local< v8::String >, v8::Local< v8::Value >, const PropertyCallbackInfo< void > &)

Definition at line 20 of file nan.h.

typedef v8::Script Nan::UnboundScript

Definition at line 151 of file nan.h.


Enumeration Type Documentation

Enumerator:
ASCII 
UTF8 
BASE64 
UCS2 
BINARY 
HEX 
BUFFER 

Definition at line 1732 of file nan.h.


Function Documentation

void Nan::AddGCEpilogueCallback ( v8::GCEpilogueCallback  callback,
v8::GCType  gc_type_filter = v8::kGCTypeAll 
) [inline]

Definition at line 991 of file nan.h.

void Nan::AddGCPrologueCallback ( v8::GCPrologueCallback  callback,
v8::GCType  gc_type_filter = v8::kGCTypeAll 
) [inline]

Definition at line 1000 of file nan.h.

int Nan::AdjustExternalMemory ( int  bc) [inline]

Definition at line 952 of file nan.h.

void Nan::AsyncExecute ( uv_work_t *  req) [inline]

Definition at line 1688 of file nan.h.

void Nan::AsyncExecuteComplete ( uv_work_t *  req) [inline]

Definition at line 1693 of file nan.h.

void Nan::AsyncQueueWorker ( AsyncWorker *  worker) [inline]

Definition at line 1699 of file nan.h.

MaybeLocal<v8::Value> Nan::Call ( v8::Local< v8::Function >  fun,
v8::Local< v8::Object >  recv,
int  argc,
v8::Local< v8::Value >  argv[] 
) [inline]

Definition at line 296 of file nan.h.

MaybeLocal<v8::Value> Nan::CallAsConstructor ( v8::Handle< v8::Object >  obj,
int  argc,
v8::Local< v8::Value >  argv[] 
) [inline]

Definition at line 266 of file nan.h.

MaybeLocal<v8::Value> Nan::CallAsFunction ( v8::Handle< v8::Object >  obj,
v8::Handle< v8::Object >  recv,
int  argc,
v8::Handle< v8::Value >  argv[] 
) [inline]

Definition at line 258 of file nan.h.

MaybeLocal<v8::Object> Nan::CloneElementAt ( v8::Handle< v8::Array >  array,
uint32_t  index 
) [inline]

Definition at line 290 of file nan.h.

MaybeLocal<BoundScript> Nan::CompileScript ( v8::Local< v8::String >  s,
const v8::ScriptOrigin &  origin 
) [inline]

Definition at line 1125 of file nan.h.

MaybeLocal<BoundScript> Nan::CompileScript ( v8::Local< v8::String >  s) [inline]

Definition at line 1133 of file nan.h.

Definition at line 511 of file nan.h.

MaybeLocal<v8::Object> Nan::CopyBuffer ( const char *  data,
uint32_t  size 
) [inline]

Definition at line 1061 of file nan.h.

ssize_t Nan::DecodeBytes ( v8::Local< v8::Value >  val,
enum Encoding  encoding = BINARY 
) [inline]

Definition at line 1770 of file nan.h.

ssize_t Nan::DecodeWrite ( char *  buf,
size_t  len,
v8::Local< v8::Value >  val,
enum Encoding  encoding = BINARY 
) [inline]

Definition at line 1787 of file nan.h.

Maybe<bool> Nan::Delete ( v8::Handle< v8::Object >  obj,
v8::Handle< v8::String >  key 
) [inline]

Definition at line 188 of file nan.h.

Maybe<bool> Nan::Delete ( v8::Handle< v8::Object >  obj,
uint32_t  index 
) [inline]

Definition at line 194 of file nan.h.

v8::Local<v8::String> Nan::EmptyString ( ) [inline]

Definition at line 948 of file nan.h.

v8::Local<v8::Value> Nan::Encode ( const void *  buf,
size_t  len,
enum Encoding  encoding = BINARY 
) [inline]

Definition at line 1738 of file nan.h.

Maybe<bool> Nan::Equals ( v8::Handle< v8::Value >  a,
v8::Handle< v8::Value > 
) [inline]

Definition at line 109 of file nan.h.

v8::Local<v8::Value> Nan::ErrnoException ( int  errorno,
const char *  syscall = NULL,
const char *  message = NULL,
const char *  path = NULL 
) [inline]

Definition at line 1172 of file nan.h.

void Nan::Export ( ADDON_REGISTER_FUNCTION_ARGS_TYPE  target,
const char *  name,
FunctionCallback  f 
) [inline]

Definition at line 2196 of file nan.h.

v8::Local<v8::Boolean> Nan::False ( ) [inline]

Definition at line 943 of file nan.h.

void Nan::FatalException ( const TryCatch &  try_catch) [inline]

Definition at line 1168 of file nan.h.

Maybe<bool> Nan::ForceSet ( v8::Handle< v8::Object >  obj,
v8::Handle< v8::Value >  key,
v8::Handle< v8::Value >  value,
v8::PropertyAttribute  attribs = v8::None 
) [inline]

Definition at line 150 of file nan.h.

void Nan::FreeData ( char *  data,
void *  hint 
) [inline]

Definition at line 1087 of file nan.h.

MaybeLocal<v8::Value> Nan::Get ( v8::Handle< v8::Object >  obj,
v8::Handle< v8::Value >  key 
) [inline]

Definition at line 158 of file nan.h.

MaybeLocal<v8::Value> Nan::Get ( v8::Handle< v8::Object >  obj,
uint32_t  index 
) [inline]

Definition at line 164 of file nan.h.

v8::Local<v8::Context> Nan::GetCurrentContext ( ) [inline]

Definition at line 971 of file nan.h.

Maybe<int> Nan::GetEndColumn ( v8::Handle< v8::Message >  msg) [inline]

Definition at line 286 of file nan.h.

MaybeLocal<v8::Function> Nan::GetFunction ( v8::Handle< v8::FunctionTemplate >  t) [inline]

Definition at line 132 of file nan.h.

void Nan::GetHeapStatistics ( v8::HeapStatistics *  heap_statistics) [inline]

Definition at line 1009 of file nan.h.

void* Nan::GetInternalFieldPointer ( v8::Local< v8::Object >  object,
int  index 
) [inline]

Definition at line 975 of file nan.h.

template<typename T >
T* Nan::GetIsolateData ( v8::Isolate *  isolate) [inline]

Definition at line 1198 of file nan.h.

Maybe<int> Nan::GetLineNumber ( v8::Handle< v8::Message >  msg) [inline]

Definition at line 278 of file nan.h.

MaybeLocal<v8::Array> Nan::GetOwnPropertyNames ( v8::Handle< v8::Object >  obj) [inline]

Definition at line 206 of file nan.h.

Maybe<v8::PropertyAttribute> Nan::GetPropertyAttributes ( v8::Handle< v8::Object >  obj,
v8::Handle< v8::Value >  key 
) [inline]

Definition at line 170 of file nan.h.

MaybeLocal<v8::Array> Nan::GetPropertyNames ( v8::Handle< v8::Object >  obj) [inline]

Definition at line 201 of file nan.h.

MaybeLocal<v8::Value> Nan::GetRealNamedProperty ( v8::Handle< v8::Object >  obj,
v8::Handle< v8::String >  key 
) [inline]

Definition at line 252 of file nan.h.

MaybeLocal<v8::Value> Nan::GetRealNamedPropertyInPrototypeChain ( v8::Handle< v8::Object >  obj,
v8::Handle< v8::String >  key 
) [inline]

Definition at line 245 of file nan.h.

MaybeLocal<v8::String> Nan::GetSourceLine ( v8::Handle< v8::Message >  msg) [inline]

Definition at line 274 of file nan.h.

Maybe<int> Nan::GetStartColumn ( v8::Handle< v8::Message >  msg) [inline]

Definition at line 282 of file nan.h.

Maybe<bool> Nan::Has ( v8::Handle< v8::Object >  obj,
v8::Handle< v8::String >  key 
) [inline]

Definition at line 176 of file nan.h.

Maybe<bool> Nan::Has ( v8::Handle< v8::Object >  obj,
uint32_t  index 
) [inline]

Definition at line 182 of file nan.h.

Maybe<bool> Nan::HasOwnProperty ( v8::Handle< v8::Object >  obj,
v8::Handle< v8::String >  key 
) [inline]

Definition at line 221 of file nan.h.

Maybe<bool> Nan::HasRealIndexedProperty ( v8::Handle< v8::Object >  obj,
uint32_t  index 
) [inline]

Definition at line 233 of file nan.h.

Maybe<bool> Nan::HasRealNamedCallbackProperty ( v8::Handle< v8::Object >  obj,
v8::Handle< v8::String >  key 
) [inline]

Definition at line 239 of file nan.h.

Maybe<bool> Nan::HasRealNamedProperty ( v8::Handle< v8::Object >  obj,
v8::Handle< v8::String >  key 
) [inline]

Definition at line 227 of file nan.h.

bool Nan::IdleNotification ( int  idle_time_in_ms) [inline]

Definition at line 503 of file nan.h.

template<typename T >
Maybe<T> Nan::Just ( const T &  t) [inline]

Definition at line 94 of file nan.h.

void Nan::LowMemoryNotification ( ) [inline]

Definition at line 507 of file nan.h.

v8::Local<v8::Value> Nan::MakeCallback ( v8::Local< v8::Object >  target,
v8::Local< v8::Function >  func,
int  argc,
v8::Local< v8::Value > *  argv 
) [inline]

Definition at line 1144 of file nan.h.

v8::Local<v8::Value> Nan::MakeCallback ( v8::Local< v8::Object >  target,
v8::Local< v8::String >  symbol,
int  argc,
v8::Local< v8::Value > *  argv 
) [inline]

Definition at line 1152 of file nan.h.

v8::Local<v8::Value> Nan::MakeCallback ( v8::Local< v8::Object >  target,
const char *  method,
int  argc,
v8::Local< v8::Value > *  argv 
) [inline]

Definition at line 1160 of file nan.h.

template<typename T , template< typename > class MaybeMaybe>
MaybeLocal<T> Nan::MakeMaybe ( MaybeMaybe< T >  v)

Definition at line 2264 of file nan.h.

NAN_DEPRECATED v8::Local<v8::Value> Nan::NanErrnoException ( int  errorno,
const char *  syscall = NULL,
const char *  message = NULL,
const char *  path = NULL 
) [inline]

Definition at line 1180 of file nan.h.

int Nan::nauv_key_create ( nauv_key_t *  key) [inline]

Definition at line 237 of file nan.h.

void Nan::nauv_key_delete ( nauv_key_t *  key) [inline]

Definition at line 241 of file nan.h.

void* Nan::nauv_key_get ( nauv_key_t *  key) [inline]

Definition at line 246 of file nan.h.

void Nan::nauv_key_set ( nauv_key_t *  key,
void *  value 
) [inline]

Definition at line 250 of file nan.h.

template<typename T >
imp::Factory<T>::return_t Nan::New ( )

Definition at line 201 of file nan.h.

template<typename T , typename A0 >
imp::Factory<T>::return_t Nan::New ( A0  arg0)

Definition at line 207 of file nan.h.

template<typename T , typename A0 , typename A1 >
imp::Factory<T>::return_t Nan::New ( A0  arg0,
A1  arg1 
)

Definition at line 213 of file nan.h.

template<typename T , typename A0 , typename A1 , typename A2 >
imp::Factory<T>::return_t Nan::New ( A0  arg0,
A1  arg1,
A2  arg2 
)

Definition at line 219 of file nan.h.

template<typename T , typename A0 , typename A1 , typename A2 , typename A3 >
imp::Factory<T>::return_t Nan::New ( A0  arg0,
A1  arg1,
A2  arg2,
A3  arg3 
)

Definition at line 225 of file nan.h.

template<typename T >
imp::Factory<T>::return_t Nan::New ( FunctionCallback  callback,
v8::Local< v8::Value >  data = v8::Local<v8::Value>() 
)

Definition at line 237 of file nan.h.

template<typename T >
v8::Local< T > Nan::New ( v8::Handle< T >  h) [inline]

Definition at line 246 of file nan.h.

template<typename T , typename A2 >
imp::Factory<T>::return_t Nan::New ( FunctionCallback  callback,
v8::Local< v8::Value >  data = v8::Local<v8::Value>(),
A2  a2 = A2() 
)

Definition at line 245 of file nan.h.

template<typename T >
v8::Local< T > Nan::New ( v8::Persistent< T > const &  p) [inline]

Definition at line 251 of file nan.h.

template<typename T , typename M >
v8::Local< T > Nan::New ( Persistent< T, M > const &  p) [inline]

Definition at line 256 of file nan.h.

template<typename T >
v8::Local< T > Nan::New ( Global< T > const &  p) [inline]

Definition at line 261 of file nan.h.

imp::Factory<v8::Boolean>::return_t Nan::New ( bool  value) [inline]

Definition at line 270 of file nan.h.

imp::Factory<v8::Int32>::return_t Nan::New ( int32_t  value) [inline]

Definition at line 276 of file nan.h.

imp::Factory<v8::Uint32>::return_t Nan::New ( uint32_t  value) [inline]

Definition at line 282 of file nan.h.

imp::Factory<v8::Number>::return_t Nan::New ( double  value) [inline]

Definition at line 288 of file nan.h.

imp::Factory<v8::String>::return_t Nan::New ( std::string const &  value) [inline]

Definition at line 294 of file nan.h.

imp::Factory<v8::String>::return_t Nan::New ( const char *  value,
int  length 
) [inline]

Definition at line 300 of file nan.h.

imp::Factory<v8::String>::return_t Nan::New ( const uint16_t *  value,
int  length 
) [inline]

Definition at line 306 of file nan.h.

imp::Factory<v8::String>::return_t Nan::New ( const char *  value) [inline]

Definition at line 312 of file nan.h.

imp::Factory<v8::String>::return_t Nan::New ( const uint16_t *  value) [inline]

Definition at line 318 of file nan.h.

imp::Factory<v8::String>::return_t Nan::New ( v8::String::ExternalStringResource *  value) [inline]

Definition at line 324 of file nan.h.

imp::Factory<v8::String>::return_t Nan::New ( ExternalOneByteStringResource *  value) [inline]

Definition at line 330 of file nan.h.

imp::Factory<v8::RegExp>::return_t Nan::New ( v8::Local< v8::String >  pattern,
v8::RegExp::Flags  flags 
) [inline]

Definition at line 336 of file nan.h.

MaybeLocal<v8::Object> Nan::NewBuffer ( char *  data,
size_t  length,
node::Buffer::free_callback  callback,
void *  hint 
) [inline]

Definition at line 1047 of file nan.h.

MaybeLocal<v8::Object> Nan::NewBuffer ( uint32_t  size) [inline]

Definition at line 1078 of file nan.h.

MaybeLocal<v8::Object> Nan::NewBuffer ( char *  data,
uint32_t  size 
) [inline]

Definition at line 1092 of file nan.h.

MaybeLocal<v8::Object> Nan::NewInstance ( v8::Handle< v8::Function >  h) [inline]

Definition at line 114 of file nan.h.

MaybeLocal<v8::Object> Nan::NewInstance ( v8::Local< v8::Function >  h,
int  argc,
v8::Local< v8::Value >  argv[] 
) [inline]

Definition at line 119 of file nan.h.

MaybeLocal<v8::Object> Nan::NewInstance ( v8::Handle< v8::ObjectTemplate >  h) [inline]

Definition at line 127 of file nan.h.

MaybeLocal<v8::String> Nan::NewOneByteString ( const uint8_t *  value,
int  length = -1 
) [inline]

Definition at line 1118 of file nan.h.

template<typename T >
Maybe<T> Nan::Nothing ( ) [inline]

Definition at line 89 of file nan.h.

v8::Local<v8::Primitive> Nan::Null ( ) [inline]

Definition at line 933 of file nan.h.

MaybeLocal<v8::String> Nan::ObjectProtoToString ( v8::Handle< v8::Object >  obj) [inline]

Definition at line 216 of file nan.h.

void Nan::RemoveGCEpilogueCallback ( v8::GCEpilogueCallback  callback) [inline]

Definition at line 996 of file nan.h.

void Nan::RemoveGCPrologueCallback ( v8::GCPrologueCallback  callback) [inline]

Definition at line 1005 of file nan.h.

MaybeLocal<v8::Value> Nan::RunScript ( v8::Local< v8::Script >  script) [inline]

Definition at line 1140 of file nan.h.

Maybe<bool> Nan::Set ( v8::Handle< v8::Object >  obj,
v8::Handle< v8::Value >  key,
v8::Handle< v8::Value >  value 
) [inline]

Definition at line 136 of file nan.h.

Maybe<bool> Nan::Set ( v8::Handle< v8::Object >  obj,
uint32_t  index,
v8::Handle< v8::Value >  value 
) [inline]

Definition at line 143 of file nan.h.

void Nan::SetAccessor ( v8::Local< v8::ObjectTemplate >  tpl,
v8::Local< v8::String >  name,
GetterCallback  getter,
SetterCallback  setter = 0,
v8::Local< v8::Value >  data = v8::Local<v8::Value>(),
v8::AccessControl  settings = v8::DEFAULT,
v8::PropertyAttribute  attribute = v8::None,
imp::Sig  signature = imp::Sig() 
) [inline]

Definition at line 1904 of file nan.h.

bool Nan::SetAccessor ( v8::Local< v8::Object >  obj,
v8::Local< v8::String >  name,
GetterCallback  getter,
SetterCallback  setter = 0,
v8::Local< v8::Value >  data = v8::Local<v8::Value>(),
v8::AccessControl  settings = v8::DEFAULT,
v8::PropertyAttribute  attribute = v8::None 
) [inline]

Definition at line 1948 of file nan.h.

void Nan::SetAddHistogramSampleFunction ( v8::AddHistogramSampleCallback  cb) [inline]

Definition at line 499 of file nan.h.

void Nan::SetCallAsFunctionHandler ( v8::Local< v8::ObjectTemplate >  tpl,
FunctionCallback  callback,
v8::Local< v8::Value >  data = v8::Local<v8::Value>() 
) [inline]

Definition at line 2163 of file nan.h.

void Nan::SetCallHandler ( v8::Local< v8::FunctionTemplate >  tpl,
FunctionCallback  callback,
v8::Local< v8::Value >  data = v8::Local<v8::Value>() 
) [inline]

Definition at line 2141 of file nan.h.

void Nan::SetCounterFunction ( v8::CounterLookupCallback  cb) [inline]

Definition at line 489 of file nan.h.

void Nan::SetCreateHistogramFunction ( v8::CreateHistogramCallback  cb) [inline]

Definition at line 494 of file nan.h.

void Nan::SetIndexedPropertyHandler ( v8::Local< v8::ObjectTemplate >  tpl,
IndexGetterCallback  getter,
IndexSetterCallback  setter = 0,
IndexQueryCallback  query = 0,
IndexDeleterCallback  deleter = 0,
IndexEnumeratorCallback  enumerator = 0,
v8::Local< v8::Value >  data = v8::Local<v8::Value>() 
) [inline]

Definition at line 2071 of file nan.h.

void Nan::SetInstanceTemplate ( v8::Local< v8::FunctionTemplate >  templ,
const char *  name,
v8::Local< v8::Data >  value 
) [inline]

Definition at line 1830 of file nan.h.

void Nan::SetInstanceTemplate ( v8::Local< v8::FunctionTemplate >  templ,
v8::Local< v8::String >  name,
v8::Local< v8::Data >  value,
v8::PropertyAttribute  attributes 
) [inline]

Definition at line 1838 of file nan.h.

void Nan::SetInternalFieldPointer ( v8::Local< v8::Object >  object,
int  index,
void *  value 
) [inline]

Definition at line 981 of file nan.h.

template<typename T >
void Nan::SetIsolateData ( v8::Isolate *  isolate,
T *  data 
) [inline]

Definition at line 1190 of file nan.h.

template<typename T , template< typename > class HandleType>
void Nan::SetMethod ( HandleType< T >  recv,
const char *  name,
FunctionCallback  callback 
) [inline]

Definition at line 1876 of file nan.h.

void Nan::SetNamedPropertyHandler ( v8::Local< v8::ObjectTemplate >  tpl,
PropertyGetterCallback  getter,
PropertySetterCallback  setter = 0,
PropertyQueryCallback  query = 0,
PropertyDeleterCallback  deleter = 0,
PropertyEnumeratorCallback  enumerator = 0,
v8::Local< v8::Value >  data = v8::Local<v8::Value>() 
) [inline]

Definition at line 2001 of file nan.h.

Maybe<bool> Nan::SetPrototype ( v8::Handle< v8::Object >  obj,
v8::Handle< v8::Value >  prototype 
) [inline]

Definition at line 210 of file nan.h.

void Nan::SetPrototypeMethod ( v8::Local< v8::FunctionTemplate >  recv,
const char *  name,
FunctionCallback  callback 
) [inline]

Definition at line 1889 of file nan.h.

void Nan::SetPrototypeTemplate ( v8::Local< v8::FunctionTemplate >  templ,
const char *  name,
v8::Local< v8::Data >  value 
) [inline]

Definition at line 1813 of file nan.h.

void Nan::SetPrototypeTemplate ( v8::Local< v8::FunctionTemplate >  templ,
v8::Local< v8::String >  name,
v8::Local< v8::Data >  value,
v8::PropertyAttribute  attributes 
) [inline]

Definition at line 1821 of file nan.h.

void Nan::SetTemplate ( v8::Local< v8::Template >  templ,
const char *  name,
v8::Local< v8::Data >  value 
) [inline]

Definition at line 956 of file nan.h.

void Nan::SetTemplate ( v8::Local< v8::Template >  templ,
v8::Local< v8::String >  name,
v8::Local< v8::Data >  value,
v8::PropertyAttribute  attributes 
) [inline]

Definition at line 963 of file nan.h.

void Nan::ThrowError ( v8::Local< v8::Value >  error) [inline]

Definition at line 1043 of file nan.h.

template<typename T >
imp::ToFactory<T>::return_t Nan::To ( v8::Local< v8::Value >  val) [inline]

Definition at line 54 of file nan.h.

MaybeLocal<v8::Uint32> Nan::ToArrayIndex ( v8::Handle< v8::Value >  val) [inline]

Definition at line 104 of file nan.h.

MaybeLocal<v8::String> Nan::ToDetailString ( v8::Handle< v8::Value >  val) [inline]

Definition at line 99 of file nan.h.

v8::Local<v8::Boolean> Nan::True ( ) [inline]

Definition at line 938 of file nan.h.

v8::Local<v8::Primitive> Nan::Undefined ( ) [inline]

Definition at line 928 of file nan.h.


Variable Documentation

const int Nan::kInternalFieldsInWeakCallback = 2 [static]

Definition at line 13 of file nan.h.

const int Nan::kNoInternalFieldIndex = -1 [static]

Definition at line 14 of file nan.h.



dji_ronin
Author(s):
autogenerated on Sat Jun 8 2019 20:15:32