|
Classes |
| struct | JSErrorFormatString |
Defines |
| #define | JSVERSION_IS_ECMA(version) ((version) == JSVERSION_DEFAULT || (version) >= JSVERSION_1_3) |
| #define | JS_PROTO(name, code, init) JSProto_##name = code, |
| #define | JSACC_TYPEMASK (JSACC_WRITE - 1) |
Typedefs |
| typedef int32 | jsint |
| typedef uint32 | jsuint |
| typedef float64 | jsdouble |
| typedef jsword | jsval |
| typedef jsword | jsid |
| typedef int32 | jsrefcount |
| typedef JSClass | JSClass |
| typedef JSExtendedClass | JSExtendedClass |
| typedef JSConstDoubleSpec | JSConstDoubleSpec |
| typedef JSContext | JSContext |
| typedef JSErrorReport | JSErrorReport |
| typedef JSFunction | JSFunction |
| typedef JSFunctionSpec | JSFunctionSpec |
| typedef JSIdArray | JSIdArray |
| typedef JSProperty | JSProperty |
| typedef JSPropertySpec | JSPropertySpec |
| typedef JSObject | JSObject |
| typedef JSObjectMap | JSObjectMap |
| typedef JSObjectOps | JSObjectOps |
| typedef JSXMLObjectOps | JSXMLObjectOps |
| typedef JSRuntime | JSRuntime |
| typedef JSRuntime | JSTaskState |
| typedef JSScript | JSScript |
| typedef JSString | JSString |
| typedef JSXDRState | JSXDRState |
| typedef JSExceptionState | JSExceptionState |
| typedef JSLocaleCallbacks | JSLocaleCallbacks |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, jsval id, jsval *vp) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, JSIterateOp enum_op, jsval *statep, jsid *idp) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, jsval id) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, jsval id, uintN flags, JSObject **objp) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, JSType type, jsval *vp) |
| typedef void(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj) |
| typedef void(* | JS_DLL_CALLBACK )(JSContext *cx, JSString *str) |
| typedef JSObjectOps *(* | JS_DLL_CALLBACK )(JSContext *cx, JSClass *clasp) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, jsval id, JSAccessMode mode, jsval *vp) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSXDRState *xdr, JSObject **objp) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, jsval v, JSBool *bp) |
| typedef uint32(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, void *arg) |
| typedef uint32(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj) |
| typedef JSObjectMap *(* | JS_DLL_CALLBACK )(JSContext *cx, jsrefcount nrefs, JSObjectOps *ops, JSClass *clasp, JSObject *obj) |
| typedef void(* | JS_DLL_CALLBACK )(JSContext *cx, JSObjectMap *map) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, jsid id, JSObject **objp, JSProperty **propp) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, jsid id, jsval value, JSPropertyOp getter, JSPropertyOp setter, uintN attrs, JSProperty **propp) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, jsid id, jsval *vp) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, jsid id, JSProperty *prop, uintN *attrsp) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, jsid id, JSAccessMode mode, jsval *vp, uintN *attrsp) |
| typedef JSObject *(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj) |
| typedef void(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, JSProperty *prop) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, uint32 slot, JSObject *pobj) |
| typedef jsval(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, uint32 slot) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, uint32 slot, jsval v) |
| typedef JSObject *(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, jsid id, jsval *vp) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, jsid id, jsval *vp) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, JSIterateOp enum_op, jsval *statep, jsid *idp, jsval *vp) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, jsval v, JSBool *bp) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, jsval v, jsval *vp) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, uintN contextOp) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSGCStatus status) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSScript *script) |
| typedef void(* | JS_DLL_CALLBACK )(JSContext *cx, const char *message, JSErrorReport *report) |
| typedef const JSErrorFormatString *(* | JS_DLL_CALLBACK )(void *userRef, const char *locale, const uintN errorNumber) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSString *src, jsval *rval) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSString *src, jsval *rval) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, JSString *src1, JSString *src2, jsval *rval) |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSContext *cx, char *src, jsval *rval) |
| typedef JSPrincipals | JSPrincipals |
| typedef JSBool(* | JS_DLL_CALLBACK )(JSXDRState *xdr, JSPrincipals **principalsp) |
| typedef JSPrincipals *(* | JS_DLL_CALLBACK )(JSContext *cx, JSObject *obj) |
Enumerations |
| enum | JSVersion {
JSVERSION_1_0 = 100,
JSVERSION_1_1 = 110,
JSVERSION_1_2 = 120,
JSVERSION_1_3 = 130,
JSVERSION_1_4 = 140,
JSVERSION_ECMA_3 = 148,
JSVERSION_1_5 = 150,
JSVERSION_1_6 = 160,
JSVERSION_1_7 = 170,
JSVERSION_DEFAULT = 0,
JSVERSION_UNKNOWN = -1
} |
| enum | JSType {
JSTYPE_VOID,
JSTYPE_OBJECT,
JSTYPE_FUNCTION,
JSTYPE_STRING,
JSTYPE_NUMBER,
JSTYPE_BOOLEAN,
JSTYPE_NULL,
JSTYPE_XML,
JSTYPE_LIMIT
} |
| enum | JSProtoKey { name,
code,
JSProto_LIMIT
} |
| enum | JSAccessMode {
JSACC_PROTO = 0,
JSACC_PARENT = 1,
JSACC_IMPORT = 2,
JSACC_WATCH = 3,
JSACC_READ = 4,
JSACC_WRITE = 8,
JSACC_LIMIT
} |
| enum | JSIterateOp { JSENUMERATE_INIT,
JSENUMERATE_NEXT,
JSENUMERATE_DESTROY
} |
| enum | JSContextOp { JSCONTEXT_NEW,
JSCONTEXT_DESTROY
} |
| enum | JSGCStatus { JSGC_BEGIN,
JSGC_END,
JSGC_MARK_END,
JSGC_FINALIZE_END
} |
| enum | JSExnType {
JSEXN_NONE = -1,
JSEXN_ERR,
JSEXN_INTERNALERR,
JSEXN_EVALERR,
JSEXN_RANGEERR,
JSEXN_REFERENCEERR,
JSEXN_SYNTAXERR,
JSEXN_TYPEERR,
JSEXN_URIERR,
JSEXN_LIMIT
} |
Variables |
JS_BEGIN_EXTERN_C typedef
uint16 | jschar |