Public Member Functions | Public Attributes

JSFunction Struct Reference

#include <jsfun.h>

Inheritance diagram for JSFunction:
Collaboration diagram for JSFunction:

List of all members.

Public Member Functions

bool optimizedClosure () const
bool needsWrapper () const
uintN countArgsAndVars () const
uintN countLocalNames () const
bool hasLocalNames () const
int sharpSlotBase (JSContext *cx)
JSAtomfindDuplicateFormal () const
uint32 countInterpretedReservedSlots () const

Public Attributes

uint16 nargs
uint16 flags
union {
   struct {
      uint16   extra
      uint16   spare
      JSNative   native
      JSClass *   clasp
      JSNativeTraceInfo *   trcinfo
   }   n
   struct {
      uint16   nvars
      uint16   nupvars
      uint16   skipmin
      JSPackedBool   wrapper
      JSScript *   script
      JSLocalNames   names
   }   i
u
JSAtomatom

Member Function Documentation

uintN JSFunction::countArgsAndVars (  )  const [inline]
uint32 JSFunction::countInterpretedReservedSlots (  )  const
uintN JSFunction::countLocalNames (  )  const [inline]
JSAtom* JSFunction::findDuplicateFormal (  )  const
bool JSFunction::hasLocalNames (  )  const [inline]
bool JSFunction::needsWrapper (  )  const [inline]
bool JSFunction::optimizedClosure (  )  const [inline]
int JSFunction::sharpSlotBase ( JSContext cx  ) 

Member Data Documentation

struct { ... } JSFunction::i
struct { ... } JSFunction::n
union { ... } JSFunction::u

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