Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Enumerations
jsprvtd.h File Reference
#include "jspubtd.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  JSTempValueUnion
struct  JSTempValueRooter

Defines

#define JSID_ATOM   0x0
#define JSID_INT   0x1
#define JSID_OBJECT   0x2
#define JSID_TAGMASK   0x3
#define JSID_TAG(id)   ((id) & JSID_TAGMASK)
#define JSID_SETTAG(id, t)   ((id) | (t))
#define JSID_CLRTAG(id)   ((id) & ~(jsid)JSID_TAGMASK)
#define JSID_IS_ATOM(id)   (JSID_TAG(id) == JSID_ATOM)
#define JSID_TO_ATOM(id)   ((JSAtom *)(id))
#define ATOM_TO_JSID(atom)   ((jsid)(atom))
#define ATOM_JSID_TO_JSVAL(id)   ATOM_KEY(JSID_TO_ATOM(id))
#define JSID_IS_INT(id)   ((id) & JSID_INT)
#define JSID_TO_INT(id)   ((jsint)(id) >> 1)
#define INT_TO_JSID(i)   (((jsint)(i) << 1) | JSID_INT)
#define INT_JSID_TO_JSVAL(id)   (id)
#define INT_JSVAL_TO_JSID(v)   (v)
#define JSID_IS_OBJECT(id)   (JSID_TAG(id) == JSID_OBJECT)
#define JSID_TO_OBJECT(id)   ((JSObject *) JSID_CLRTAG(id))
#define OBJECT_TO_JSID(obj)   ((jsid)(obj) | JSID_OBJECT)
#define OBJECT_JSID_TO_JSVAL(id)   OBJECT_TO_JSVAL(JSID_CLRTAG(id))
#define OBJECT_JSVAL_TO_JSID(v)   OBJECT_TO_JSID(JSVAL_TO_OBJECT(v))

Typedefs

typedef uint8 jsbytecode
typedef uint8 jssrcnote
typedef uint32 jsatomid
typedef struct JSArgumentFormatMap
typedef struct JSCodeGenerator
typedef struct JSDependentString
typedef struct JSGCThing
typedef struct JSGenerator
typedef struct JSParseNode
typedef struct JSSharpObjectMap
typedef struct JSTempValueRooter
typedef struct JSThread
typedef struct JSToken
typedef struct JSTokenPos
typedef struct JSTokenPtr
typedef struct JSTokenStream
typedef struct JSTreeContext
typedef struct JSTryNote
typedef struct JSWeakRoots
typedef struct JSAtom
typedef struct JSAtomList
typedef struct JSAtomListElement
typedef struct JSAtomMap
typedef struct JSAtomState
typedef struct JSCodeSpec
typedef struct JSPrinter
typedef struct JSRegExp
typedef struct JSRegExpStatics
typedef struct JSScope
typedef struct JSScopeOps
typedef struct JSScopeProperty
typedef struct JSStackHeader
typedef struct JSStringBuffer
typedef struct JSSubString
typedef struct JSXML
typedef struct JSXMLNamespace
typedef struct JSXMLQName
typedef struct JSXMLArray
typedef struct JSXMLArrayCursor
typedef enum JSTrapStatus JSTrapStatus
typedef JSTrapStatus(* JS_DLL_CALLBACK )(JSContext *cx, JSScript *script, jsbytecode *pc, jsval *rval, void *closure)
typedef union JSTempValueUnion JSTempValueUnion

Enumerations

enum  JSTrapStatus {
  JSTRAP_ERROR, JSTRAP_CONTINUE, JSTRAP_RETURN, JSTRAP_THROW,
  JSTRAP_LIMIT
}

Class Documentation

union JSTempValueUnion

Definition at line 211 of file jsprvtd.h.

Collaboration diagram for JSTempValueUnion:
Class Members
jsval * array
JSTempValueMarker marker
JSXMLNamespace * nspace
JSObject * object
JSXMLQName * qname
JSScript * script
JSScopeProperty * sprop
JSString * string
jsval value
JSWeakRoots * weakRoots
JSXML * xml
struct JSTempValueRooter

Definition at line 225 of file jsprvtd.h.

Collaboration diagram for JSTempValueRooter:
Class Members
ptrdiff_t count
JSTempValueRooter * down
JSTempValueUnion u

Define Documentation

Definition at line 71 of file jsprvtd.h.

#define ATOM_TO_JSID (   atom)    ((jsid)(atom))

Definition at line 70 of file jsprvtd.h.

#define INT_JSID_TO_JSVAL (   id)    (id)

Definition at line 76 of file jsprvtd.h.

#define INT_JSVAL_TO_JSID (   v)    (v)

Definition at line 77 of file jsprvtd.h.

#define INT_TO_JSID (   i)    (((jsint)(i) << 1) | JSID_INT)

Definition at line 75 of file jsprvtd.h.

#define JSID_ATOM   0x0

Definition at line 60 of file jsprvtd.h.

#define JSID_CLRTAG (   id)    ((id) & ~(jsid)JSID_TAGMASK)

Definition at line 66 of file jsprvtd.h.

#define JSID_INT   0x1

Definition at line 61 of file jsprvtd.h.

#define JSID_IS_ATOM (   id)    (JSID_TAG(id) == JSID_ATOM)

Definition at line 68 of file jsprvtd.h.

#define JSID_IS_INT (   id)    ((id) & JSID_INT)

Definition at line 73 of file jsprvtd.h.

Definition at line 79 of file jsprvtd.h.

#define JSID_OBJECT   0x2

Definition at line 62 of file jsprvtd.h.

#define JSID_SETTAG (   id,
  t 
)    ((id) | (t))

Definition at line 65 of file jsprvtd.h.

#define JSID_TAG (   id)    ((id) & JSID_TAGMASK)

Definition at line 64 of file jsprvtd.h.

#define JSID_TAGMASK   0x3

Definition at line 63 of file jsprvtd.h.

#define JSID_TO_ATOM (   id)    ((JSAtom *)(id))

Definition at line 69 of file jsprvtd.h.

#define JSID_TO_INT (   id)    ((jsint)(id) >> 1)

Definition at line 74 of file jsprvtd.h.

Definition at line 80 of file jsprvtd.h.

Definition at line 82 of file jsprvtd.h.

Definition at line 83 of file jsprvtd.h.

Definition at line 81 of file jsprvtd.h.


Typedef Documentation

Definition at line 140 of file jsprvtd.h.

typedef struct JSArgumentFormatMap

Definition at line 91 of file jsprvtd.h.

typedef struct JSAtom

Definition at line 109 of file jsprvtd.h.

typedef uint32 jsatomid

Definition at line 88 of file jsprvtd.h.

typedef struct JSAtomList

Definition at line 110 of file jsprvtd.h.

typedef struct JSAtomListElement

Definition at line 111 of file jsprvtd.h.

typedef struct JSAtomMap

Definition at line 112 of file jsprvtd.h.

typedef struct JSAtomState

Definition at line 113 of file jsprvtd.h.

typedef uint8 jsbytecode

Definition at line 86 of file jsprvtd.h.

typedef struct JSCodeGenerator

Definition at line 92 of file jsprvtd.h.

typedef struct JSCodeSpec

Definition at line 114 of file jsprvtd.h.

typedef struct JSDependentString

Definition at line 93 of file jsprvtd.h.

typedef struct JSGCThing

Definition at line 94 of file jsprvtd.h.

typedef struct JSGenerator

Definition at line 95 of file jsprvtd.h.

typedef struct JSParseNode

Definition at line 96 of file jsprvtd.h.

typedef struct JSPrinter

Definition at line 115 of file jsprvtd.h.

typedef struct JSRegExp

Definition at line 116 of file jsprvtd.h.

typedef struct JSRegExpStatics

Definition at line 117 of file jsprvtd.h.

typedef struct JSScope

Definition at line 118 of file jsprvtd.h.

typedef struct JSScopeOps

Definition at line 119 of file jsprvtd.h.

typedef struct JSScopeProperty

Definition at line 120 of file jsprvtd.h.

typedef struct JSSharpObjectMap

Definition at line 97 of file jsprvtd.h.

typedef uint8 jssrcnote

Definition at line 87 of file jsprvtd.h.

typedef struct JSStackHeader

Definition at line 121 of file jsprvtd.h.

typedef struct JSStringBuffer

Definition at line 122 of file jsprvtd.h.

typedef struct JSSubString

Definition at line 123 of file jsprvtd.h.

typedef struct JSTempValueRooter

Definition at line 98 of file jsprvtd.h.

typedef struct JSThread

Definition at line 99 of file jsprvtd.h.

typedef struct JSToken

Definition at line 100 of file jsprvtd.h.

typedef struct JSTokenPos

Definition at line 101 of file jsprvtd.h.

typedef struct JSTokenPtr

Definition at line 102 of file jsprvtd.h.

typedef struct JSTokenStream

Definition at line 103 of file jsprvtd.h.

typedef enum JSTrapStatus JSTrapStatus
typedef struct JSTreeContext

Definition at line 104 of file jsprvtd.h.

typedef struct JSTryNote

Definition at line 105 of file jsprvtd.h.

typedef struct JSWeakRoots

Definition at line 106 of file jsprvtd.h.

typedef struct JSXML

Definition at line 124 of file jsprvtd.h.

typedef struct JSXMLArray

Definition at line 127 of file jsprvtd.h.

typedef struct JSXMLArrayCursor

Definition at line 128 of file jsprvtd.h.

typedef struct JSXMLNamespace

Definition at line 125 of file jsprvtd.h.

typedef struct JSXMLQName

Definition at line 126 of file jsprvtd.h.


Enumeration Type Documentation

Enumerator:
JSTRAP_ERROR 
JSTRAP_CONTINUE 
JSTRAP_RETURN 
JSTRAP_THROW 
JSTRAP_LIMIT 

Definition at line 131 of file jsprvtd.h.