LLScriptJumpTable Class Reference

#include <lscript_bytecode.h>

List of all members.

Public Member Functions

 LLScriptJumpTable ()
 ~LLScriptJumpTable ()
void addLabel (char *name, S32 offset)
void addJump (char *name, S32 offset)

Public Attributes

LLMap< char *, S32 * > mLabelMap
LLMap< char *, S32 * > mJumpMap


Detailed Description

Definition at line 38 of file lscript_bytecode.h.


Constructor & Destructor Documentation

LLScriptJumpTable::LLScriptJumpTable (  ) 

Definition at line 42 of file lscript_bytecode.cpp.

LLScriptJumpTable::~LLScriptJumpTable (  ) 

Definition at line 46 of file lscript_bytecode.cpp.

References mJumpMap, and mLabelMap.


Member Function Documentation

void LLScriptJumpTable::addJump ( char *  name,
S32  offset 
)

Definition at line 58 of file lscript_bytecode.cpp.

References LLStringTable::addString(), gScopeStringTable, mJumpMap, and S32.

Referenced by LLScriptByteCodeChunk::addJump().

void LLScriptJumpTable::addLabel ( char *  name,
S32  offset 
)

Definition at line 52 of file lscript_bytecode.cpp.

References LLStringTable::addString(), gScopeStringTable, mLabelMap, and S32.

Referenced by LLScriptByteCodeChunk::addLabel().


Member Data Documentation

LLMap<char *, S32 *> LLScriptJumpTable::mJumpMap

Definition at line 48 of file lscript_bytecode.h.

Referenced by addJump(), LLScriptByteCodeChunk::connectJumps(), and ~LLScriptJumpTable().

LLMap<char *, S32 *> LLScriptJumpTable::mLabelMap

Definition at line 47 of file lscript_bytecode.h.

Referenced by addLabel(), LLScriptByteCodeChunk::connectJumps(), and ~LLScriptJumpTable().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:43 2010 for Second Life Viewer by  doxygen 1.4.7