#include <jsscript.h>
List of all members.
Public Member Functions |
| bool | hasJITCode () |
| void ** | nativeMap (bool constructing) |
| void * | maybeNativeCodeForPC (bool constructing, jsbytecode *pc) |
| void * | nativeCodeForPC (bool constructing, jsbytecode *pc) |
| js::mjit::JITScript * | getJIT (bool constructing) |
| JITScriptStatus | getJITStatus (bool constructing) |
| jssrcnote * | notes () |
| JSObjectArray * | objects () |
| JSUpvarArray * | upvars () |
| JSObjectArray * | regexps () |
| JSTryNoteArray * | trynotes () |
| js::GlobalSlotArray * | globals () |
| JSConstArray * | consts () |
| JSAtom * | getAtom (size_t index) |
| JSObject * | getObject (size_t index) |
| uint32 | getGlobalSlot (size_t index) |
| JSAtom * | getGlobalAtom (size_t index) |
| JSVersion | getVersion () const |
| void | setVersion (JSVersion newVersion) |
| JSFunction * | getFunction (size_t index) |
| JSObject * | getRegExp (size_t index) |
| const js::Value & | getConst (size_t index) |
| bool | isEmpty () const |
| uint32 | getClosedArg (uint32 index) |
| uint32 | getClosedVar (uint32 index) |
| void | copyClosedSlotsTo (JSScript *other) |
Static Public Member Functions |
| static JSScript * | NewScript (JSContext *cx, uint32 length, uint32 nsrcnotes, uint32 natoms, uint32 nobjects, uint32 nupvars, uint32 nregexps, uint32 ntrynotes, uint32 nconsts, uint32 nglobals, uint16 nClosedArgs, uint16 nClosedVars) |
| static JSScript * | NewScriptFromCG (JSContext *cx, JSCodeGenerator *cg) |
| static bool | isValidOffset (uint8 offset) |
Public Attributes |
| JSCList | links |
| jsbytecode * | code |
| uint32 | length |
| uint16 | version |
| uint16 | nfixed |
| uint8 | objectsOffset |
| uint8 | upvarsOffset |
| uint8 | regexpsOffset |
| uint8 | trynotesOffset |
| uint8 | globalsOffset |
| uint8 | constOffset |
| bool | noScriptRval:1 |
| bool | savedCallerFun:1 |
| bool | hasSharps:1 |
| bool | strictModeCode:1 |
| bool | compileAndGo:1 |
| bool | usesEval:1 |
| bool | usesArguments:1 |
| bool | warnedAboutTwoArgumentEval:1 |
| bool | hasSingletons:1 |
| bool | debugMode:1 |
| bool | singleStepMode:1 |
| jsbytecode * | main |
| JSAtomMap | atomMap |
| JSCompartment * | compartment |
| const char * | filename |
| uint32 | lineno |
| uint16 | nslots |
| uint16 | staticLevel |
| uint16 | nClosedArgs |
| uint16 | nClosedVars |
| js::Bindings | bindings |
| JSPrincipals * | principals |
| union { |
| JSObject * object |
| JSScript * nextToGC |
| } | u |
| uint32 * | closedSlots |
| void * | jitArityCheckNormal |
| void * | jitArityCheckCtor |
| js::mjit::JITScript * | jitNormal |
| js::mjit::JITScript * | jitCtor |
Static Public Attributes |
| static const uint8 | INVALID_OFFSET = 0xFF |
Member Function Documentation
| void JSScript::copyClosedSlotsTo |
( |
JSScript * |
other |
) |
|
| JSAtom* JSScript::getAtom |
( |
size_t |
index |
) |
[inline] |
| const js::Value& JSScript::getConst |
( |
size_t |
index |
) |
[inline] |
| JSFunction * JSScript::getFunction |
( |
size_t |
index |
) |
[inline] |
| JSAtom* JSScript::getGlobalAtom |
( |
size_t |
index |
) |
[inline] |
| uint32 JSScript::getGlobalSlot |
( |
size_t |
index |
) |
[inline] |
| js::mjit::JITScript* JSScript::getJIT |
( |
bool |
constructing |
) |
[inline] |
| JSObject* JSScript::getObject |
( |
size_t |
index |
) |
[inline] |
| JSObject * JSScript::getRegExp |
( |
size_t |
index |
) |
[inline] |
| JSVersion JSScript::getVersion |
( |
|
) |
const [inline] |
| bool JSScript::hasJITCode |
( |
|
) |
[inline] |
| bool JSScript::isEmpty |
( |
|
) |
const [inline] |
| static bool JSScript::isValidOffset |
( |
uint8 |
offset |
) |
[inline, static] |
| void* JSScript::maybeNativeCodeForPC |
( |
bool |
constructing, |
|
|
jsbytecode * |
pc | |
|
) |
| | [inline] |
| void* JSScript::nativeCodeForPC |
( |
bool |
constructing, |
|
|
jsbytecode * |
pc | |
|
) |
| | [inline] |
| void** JSScript::nativeMap |
( |
bool |
constructing |
) |
[inline] |
| static JSScript* JSScript::NewScript |
( |
JSContext * |
cx, |
|
|
uint32 |
length, |
|
|
uint32 |
nsrcnotes, |
|
|
uint32 |
natoms, |
|
|
uint32 |
nobjects, |
|
|
uint32 |
nupvars, |
|
|
uint32 |
nregexps, |
|
|
uint32 |
ntrynotes, |
|
|
uint32 |
nconsts, |
|
|
uint32 |
nglobals, |
|
|
uint16 |
nClosedArgs, |
|
|
uint16 |
nClosedVars | |
|
) |
| | [static] |
| void JSScript::setVersion |
( |
JSVersion |
newVersion |
) |
[inline] |
Member Data Documentation
The documentation for this struct was generated from the following files: