#include <jscntxt.h>
List of all members.
Public Member Functions |
| | JSContext (JSRuntime *rt) |
| JSStackFrame * | fp () |
| JSStackFrame * | maybefp () |
| bool | hasfp () |
| void | resetCompartment () |
| void | wrapPendingException () |
| void | setCurrentRegs (JSFrameRegs *regs) |
| void | assertSegmentsInSync () const |
| bool | hasActiveSegment () const |
| js::StackSegment * | activeSegment () const |
| js::StackSegment * | getCurrentSegment () const |
| js::RegExpStatics * | regExpStatics () |
| void | pushSegmentAndFrame (js::StackSegment *newseg, JSFrameRegs ®s) |
| void | popSegmentAndFrame () |
| void | saveActiveSegment () |
| void | restoreSegment () |
| JSStackFrame * | computeNextFrame (JSStackFrame *fp) |
| js::StackSegment * | containingSegment (const JSStackFrame *target) |
| JSStackFrame * | findFrameAtLevel (uintN targetLevel) const |
| void | clearVersionOverride () |
| bool | isVersionOverridden () const |
| void | setDefaultVersion (JSVersion version) |
| bool | maybeOverrideVersion (JSVersion newVersion) |
| JSVersion | findVersion () const |
| void | optionFlagsToVersion (JSVersion *version) const |
| void | checkOptionVersionSync () const |
| void | syncOptionsToVersion () |
| void | updateJITEnabled () |
| js::mjit::JaegerCompartment * | jaegerCompartment () |
| JSGenerator * | generatorFor (JSStackFrame *fp) const |
| bool | ensureGeneratorStackSpace () |
| bool | enterGenerator (JSGenerator *gen) |
| void | leaveGenerator (JSGenerator *gen) |
| void * | malloc (size_t bytes) |
| void * | mallocNoReport (size_t bytes) |
| void * | calloc (size_t bytes) |
| void * | realloc (void *p, size_t bytes) |
| void * | realloc (void *p, size_t oldBytes, size_t newBytes) |
| 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) |
| void | purge () |
| js::StackSpace & | stack () const |
| void | assertValidStackDepth (uintN) |
| bool | isExceptionPending () |
| js::Value | getPendingException () |
| void | setPendingException (js::Value v) |
| void | clearPendingException () |
Public Attributes |
| JSCList | link |
| uint32 | options |
| JSLocaleCallbacks * | localeCallbacks |
| JSDHashTable * | resolvingTable |
| JSPackedBool | generatingError |
| jsuword | stackLimit |
| size_t | scriptStackQuota |
| JSRuntime *const | runtime |
| JSCompartment * | compartment |
| JSFrameRegs * | regs |
| JSArenaPool | tempPool |
| JSArenaPool | regExpPool |
| JSObject * | globalObject |
| JSSharpObjectMap | sharpObjectMap |
| js::BusyArraysMap | busyArrays |
| JSArgumentFormatMap * | argumentFormatMap |
| char * | lastMessage |
| JSErrorReporter | errorReporter |
| JSOperationCallback | operationCallback |
| uintN | interpLevel |
| void * | data |
| void * | data2 |
| JSThread * | thread |
| unsigned | outstandingRequests |
| JSCList | threadLinks |
| js::AutoGCRooter * | autoGCRooters |
| const JSDebugHooks * | debugHooks |
| JSSecurityCallbacks * | securityCallbacks |
| uintN | resolveFlags |
| int64 | rngSeed |
| js::Value | iterValue |
| bool | traceJitEnabled |
| bool | methodJitEnabled |
| bool | profilingEnabled |
| DSTOffsetCache | dstOffsetCache |
| JSObject * | enumerators |
| js::GCHelperThread * | gcBackgroundFree |
Friends |
| class | js::StackSpace |
| bool | js::Interpret (JSContext *, JSStackFrame *, uintN, JSInterpMode) |
Constructor & Destructor Documentation
| JSContext::JSContext |
( |
JSRuntime * |
rt |
) |
[explicit] |
Member Function Documentation
| void JSContext::assertSegmentsInSync |
( |
|
) |
const [inline] |
| void JSContext::assertValidStackDepth |
( |
uintN |
|
) |
[inline] |
| void* JSContext::calloc |
( |
size_t |
bytes |
) |
[inline] |
| void JSContext::checkOptionVersionSync |
( |
|
) |
const [inline] |
| void JSContext::clearPendingException |
( |
|
) |
[inline] |
| void JSContext::clearVersionOverride |
( |
|
) |
[inline] |
template<class T >
| T* JSContext::create |
( |
|
) |
[inline] |
template<class T , class P1 , class P2 >
| T* JSContext::create |
( |
const P1 & |
p1, |
|
|
const P2 & |
p2 | |
|
) |
| | [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 >
| void JSContext::destroy |
( |
T * |
p |
) |
[inline] |
| bool JSContext::ensureGeneratorStackSpace |
( |
|
) |
[inline] |
| JSVersion JSContext::findVersion |
( |
|
) |
const [inline] |
| void JSContext::free |
( |
void * |
p |
) |
[inline] |
| js::Value JSContext::getPendingException |
( |
|
) |
[inline] |
| bool JSContext::hasActiveSegment |
( |
|
) |
const [inline] |
| bool JSContext::hasfp |
( |
|
) |
[inline] |
| bool JSContext::isExceptionPending |
( |
|
) |
[inline] |
| bool JSContext::isVersionOverridden |
( |
|
) |
const [inline] |
| js::mjit::JaegerCompartment* JSContext::jaegerCompartment |
( |
|
) |
[inline] |
| void JSContext::leaveGenerator |
( |
JSGenerator * |
gen |
) |
[inline] |
| void* JSContext::malloc |
( |
size_t |
bytes |
) |
[inline] |
| void* JSContext::mallocNoReport |
( |
size_t |
bytes |
) |
[inline] |
| bool JSContext::maybeOverrideVersion |
( |
JSVersion |
newVersion |
) |
[inline] |
| void JSContext::optionFlagsToVersion |
( |
JSVersion * |
version |
) |
const [inline] |
| void JSContext::popSegmentAndFrame |
( |
|
) |
|
| void JSContext::purge |
( |
|
) |
|
| void* JSContext::realloc |
( |
void * |
p, |
|
|
size_t |
bytes | |
|
) |
| | [inline] |
| void* JSContext::realloc |
( |
void * |
p, |
|
|
size_t |
oldBytes, |
|
|
size_t |
newBytes | |
|
) |
| | [inline] |
| void JSContext::resetCompartment |
( |
|
) |
|
| void JSContext::restoreSegment |
( |
|
) |
|
| void JSContext::saveActiveSegment |
( |
|
) |
|
| void JSContext::setCurrentRegs |
( |
JSFrameRegs * |
regs |
) |
[inline] |
| void JSContext::setDefaultVersion |
( |
JSVersion |
version |
) |
[inline] |
| void JSContext::setPendingException |
( |
js::Value |
v |
) |
|
| void JSContext::syncOptionsToVersion |
( |
|
) |
[inline] |
| void JSContext::updateJITEnabled |
( |
|
) |
|
| void JSContext::wrapPendingException |
( |
|
) |
|
Friends And Related Function Documentation
Member Data Documentation
The documentation for this struct was generated from the following file: