Public Member Functions | Static Public Member Functions | Static Public Attributes

js::UpvarCookie Class Reference

#include <jsscript.h>

List of all members.

Public Member Functions

bool isFree () const
uint32 asInteger () const
uint16 level () const
uint16 slot () const
void set (const UpvarCookie &other)
void set (uint16 newLevel, uint16 newSlot)
void makeFree ()
void fromInteger (uint32 u32)

Static Public Member Functions

static bool isLevelReserved (uint16 level)

Static Public Attributes

static const uint16 FREE_LEVEL = 0x3fff
static const uint16 UPVAR_LEVEL_LIMIT = 16
static const uint16 CALLEE_SLOT = 0xffff

Member Function Documentation

uint32 js::UpvarCookie::asInteger (  )  const [inline]
void js::UpvarCookie::fromInteger ( uint32  u32  )  [inline]
bool js::UpvarCookie::isFree (  )  const [inline]
static bool js::UpvarCookie::isLevelReserved ( uint16  level  )  [inline, static]
uint16 js::UpvarCookie::level (  )  const [inline]
void js::UpvarCookie::makeFree (  )  [inline]
void js::UpvarCookie::set ( uint16  newLevel,
uint16  newSlot 
) [inline]
void js::UpvarCookie::set ( const UpvarCookie other  )  [inline]
uint16 js::UpvarCookie::slot (  )  const [inline]

Member Data Documentation

const uint16 js::UpvarCookie::CALLEE_SLOT = 0xffff [static]
const uint16 js::UpvarCookie::FREE_LEVEL = 0x3fff [static]

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