Public Member Functions | Public Attributes | Friends

js::analyze::Script Class Reference

#include <jsanalyze.h>

Collaboration diagram for js::analyze::Script:

List of all members.

Public Member Functions

void analyze (JSContext *cx, JSScript *script)
void destroy ()
 ~Script ()
bool OOM ()
bool failed ()
bool usesReturnValue () const
bool usesScopeChain () const
BytecodegetCode (uint32 offset)
BytecodegetCode (jsbytecode *pc)
BytecodemaybeCode (uint32 offset)
BytecodemaybeCode (jsbytecode *pc)
bool jumpTarget (uint32 offset)
bool jumpTarget (jsbytecode *pc)
unsigned localCount ()
bool localHasUseBeforeDef (uint32 local)
bool localDefined (uint32 local, uint32 offset)
bool localDefined (uint32 local, jsbytecode *pc)

Public Attributes

JSArenaPool pool


struct Bytecode

Constructor & Destructor Documentation

js::analyze::Script::~Script (  )  [inline]

Member Function Documentation

void js::analyze::Script::analyze ( JSContext cx,
JSScript script 
void js::analyze::Script::destroy (  ) 
bool js::analyze::Script::failed (  )  [inline]
Bytecode& js::analyze::Script::getCode ( jsbytecode pc  )  [inline]
Bytecode& js::analyze::Script::getCode ( uint32  offset  )  [inline]
bool js::analyze::Script::jumpTarget ( uint32  offset  )  [inline]
bool js::analyze::Script::jumpTarget ( jsbytecode pc  )  [inline]
unsigned js::analyze::Script::localCount (  )  [inline]
bool js::analyze::Script::localDefined ( uint32  local,
jsbytecode pc 
) [inline]
bool js::analyze::Script::localDefined ( uint32  local,
uint32  offset 
) [inline]
bool js::analyze::Script::localHasUseBeforeDef ( uint32  local  )  [inline]
Bytecode* js::analyze::Script::maybeCode ( uint32  offset  )  [inline]
Bytecode* js::analyze::Script::maybeCode ( jsbytecode pc  )  [inline]
bool js::analyze::Script::OOM (  )  [inline]
bool js::analyze::Script::usesReturnValue (  )  const [inline]
bool js::analyze::Script::usesScopeChain (  )  const [inline]

Friends And Related Function Documentation

friend struct Bytecode [friend]

Member Data Documentation

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