Public Member Functions | Static Public Member Functions | Public Attributes

JSScript Struct Reference

#include <jsscript.h>

Collaboration diagram for JSScript:

List of all members.

Public Member Functions

jssrcnotenotes ()
JSObjectArrayobjects ()
JSUpvarArrayupvars ()
JSObjectArrayregexps ()
JSTryNoteArraytrynotes ()
JSAtomgetAtom (size_t index)
JSObjectgetObject (size_t index)
JSFunctiongetFunction (size_t index)
JSObjectgetRegExp (size_t index)
bool isEmpty () const

Static Public Member Functions

static JSScriptemptyScript ()

Public Attributes

jsbytecodecode
uint32 length
uint16 version
uint16 nfixed
uint8 objectsOffset
uint8 upvarsOffset
uint8 regexpsOffset
uint8 trynotesOffset
bool noScriptRval:1
bool savedCallerFun:1
bool hasSharps:1
bool strictModeCode:1
jsbytecodemain
JSAtomMap atomMap
const char * filename
uint32 lineno
uint16 nslots
uint16 staticLevel
JSPrincipalsprincipals
union {
   JSObject *   object
   JSScript *   nextToGC
u

Member Function Documentation

static JSScript* JSScript::emptyScript (  )  [inline, static]
JSAtom* JSScript::getAtom ( size_t  index  )  [inline]
JSFunction * JSScript::getFunction ( size_t  index  )  [inline]
JSObject* JSScript::getObject ( size_t  index  )  [inline]
JSObject * JSScript::getRegExp ( size_t  index  )  [inline]
bool JSScript::isEmpty (  )  const [inline]
jssrcnote* JSScript::notes (  )  [inline]
JSObjectArray* JSScript::objects (  )  [inline]
JSObjectArray* JSScript::regexps (  )  [inline]
JSTryNoteArray* JSScript::trynotes (  )  [inline]
JSUpvarArray* JSScript::upvars (  )  [inline]

Member Data Documentation

const char* JSScript::filename
union { ... } JSScript::u

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