Public Member Functions | Public Attributes

JSContext Struct Reference

#include <jscntxt.h>

Collaboration diagram for JSContext:

List of all members.

Public Member Functions

 JSContext (JSRuntime *rt)
void updateJITEnabled ()
void createDeallocatorTask ()
void submitDeallocatorTask ()
ptrdiff_t & getMallocCounter ()
void updateMallocCounter (void *p, size_t nbytes)
void updateMallocCounter (size_t nbytes)
void * malloc (size_t bytes)
void * mallocNoReport (size_t bytes)
void * calloc (size_t bytes)
void * realloc (void *p, size_t bytes)
void free (void *p)
template<class T >
T * create ()
template<class T , class P1 >
T * create (const P1 &p1)
template<class T , class P1 , class P2 >
T * create (const P1 &p1, const P2 &p2)
template<class T , class P1 , class P2 , class P3 >
T * create (const P1 &p1, const P2 &p2, const P3 &p3)
template<class T >
void destroy (T *p)

Public Attributes

volatile jsint operationCallbackFlag
JSCList link
uint16 padding
JSStackFramedisplay [16U]
uint16 version
uint32 options
JSLocaleCallbackslocaleCallbacks
JSDHashTableresolvingTable
JSPackedBool generatingError
JSPackedBool insideGCMarkCallback
JSPackedBool throwing
jsval exception
jsuword stackLimit
size_t scriptStackQuota
JSRuntime *const runtime
JSArenaPool stackPool
JSStackFramefp
JSArenaPool tempPool
JSObjectglobalObject
JSWeakRoots weakRoots
JSRegExpStatics regExpStatics
JSSharpObjectMap sharpObjectMap
JSHashTablebusyArrayTable
JSArgumentFormatMapargumentFormatMap
char * lastMessage
JSErrorReporter errorReporter
JSOperationCallback operationCallback
uintN interpLevel
void * data
void * data2
JSStackFramedormantFrameChain
JSThreadthread
jsrefcount requestDepth
jsrefcount outstandingRequests
JSTitlelockedSealedTitle
JSCList threadLinks
JSStackHeaderstackHeaders
JSTempValueRootertempValueRooters
const JSDebugHooksdebugHooks
JSSecurityCallbackssecurityCallbacks
JSArenaPool regexpPool
uintN resolveFlags
InterpStateinterpState
VMSideExit * bailExit
bool jitEnabled

Constructor & Destructor Documentation

JSContext::JSContext ( JSRuntime rt  )  [inline, explicit]

Member Function Documentation

void* JSContext::calloc ( size_t  bytes  )  [inline]
template<class T >
T* JSContext::create (  )  [inline]
template<class T , class P1 , class P2 , class P3 >
T* JSContext::create ( const P1 &  p1,
const P2 &  p2,
const P3 &  p3 
) [inline]
template<class T , class P1 >
T* JSContext::create ( const P1 &  p1  )  [inline]
template<class T , class P1 , class P2 >
T* JSContext::create ( const P1 &  p1,
const P2 &  p2 
) [inline]
void JSContext::createDeallocatorTask (  )  [inline]
template<class T >
void JSContext::destroy ( T *  p  )  [inline]
void JSContext::free ( void *  p  )  [inline]
ptrdiff_t& JSContext::getMallocCounter (  )  [inline]
void* JSContext::malloc ( size_t  bytes  )  [inline]
void* JSContext::mallocNoReport ( size_t  bytes  )  [inline]
void* JSContext::realloc ( void *  p,
size_t  bytes 
) [inline]
void JSContext::submitDeallocatorTask (  )  [inline]
void JSContext::updateJITEnabled (  )  [inline]
void JSContext::updateMallocCounter ( size_t  nbytes  )  [inline]
void JSContext::updateMallocCounter ( void *  p,
size_t  nbytes 
) [inline]

Member Data Documentation

VMSideExit* JSContext::bailExit

The documentation for this struct was generated from the following file: