Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

vcf/JavaScriptKit/js-impl/jspubtd.h File Reference


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

Define Documentation

#define JS_PROTO name,
code,
init   )     JSProto_##name = code,
 

#define JSACC_TYPEMASK   (JSACC_WRITE - 1)
 

#define JSVERSION_IS_ECMA version   )     ((version) == JSVERSION_DEFAULT || (version) >= JSVERSION_1_3)
 


Typedef Documentation

typedef JSPrincipals*(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSXDRState *xdr, JSPrincipals **principalsp)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSContext *cx, char *src, jsval *rval)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSContext *cx, JSString *src1, JSString *src2, jsval *rval)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSContext *cx, JSString *src, jsval *rval)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSContext *cx, JSString *src, jsval *rval)
 

typedef const JSErrorFormatString*(* JS_DLL_CALLBACK)(void *userRef, const char *locale, const uintN errorNumber)
 

typedef void(* JS_DLL_CALLBACK)(JSContext *cx, const char *message, JSErrorReport *report)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSContext *cx, JSScript *script)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSContext *cx, JSGCStatus status)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSContext *cx, uintN contextOp)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj, jsval v, jsval *vp)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj, jsval v, JSBool *bp)
 

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, jsid id, jsval *vp)
 

typedef JSObject*(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj, uint32 slot, jsval v)
 

typedef jsval(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj, uint32 slot)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj, uint32 slot, JSObject *pobj)
 

typedef void(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj, JSProperty *prop)
 

typedef JSObject*(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj, jsid id, JSAccessMode mode, jsval *vp, uintN *attrsp)
 

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, jsval *vp)
 

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, JSObject **objp, JSProperty **propp)
 

typedef void(* JS_DLL_CALLBACK)(JSContext *cx, JSObjectMap *map)
 

typedef JSObjectMap*(* JS_DLL_CALLBACK)(JSContext *cx, jsrefcount nrefs, JSObjectOps *ops, JSClass *clasp, JSObject *obj)
 

typedef uint32(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj)
 

typedef uint32(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj, void *arg)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj, jsval v, JSBool *bp)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSXDRState *xdr, JSObject **objp)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj, jsval id, JSAccessMode mode, jsval *vp)
 

typedef JSObjectOps*(* JS_DLL_CALLBACK)(JSContext *cx, JSClass *clasp)
 

typedef void(* JS_DLL_CALLBACK)(JSContext *cx, JSString *str)
 

typedef void(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj, JSType type, jsval *vp)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj, jsval id, uintN flags, JSObject **objp)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj, jsval id)
 

typedef JSBool(* JS_DLL_CALLBACK)(JSContext *cx, JSObject *obj)
 

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, jsval id, jsval *vp)
 

typedef struct JSClass JSClass
 

typedef struct JSConstDoubleSpec JSConstDoubleSpec
 

typedef struct JSContext JSContext
 

typedef float64 jsdouble
 

typedef struct JSErrorReport JSErrorReport
 

typedef struct JSExceptionState JSExceptionState
 

typedef struct JSExtendedClass JSExtendedClass
 

typedef struct JSFunction JSFunction
 

typedef struct JSFunctionSpec JSFunctionSpec
 

typedef jsword jsid
 

typedef struct JSIdArray JSIdArray
 

typedef int32 jsint
 

typedef struct JSLocaleCallbacks JSLocaleCallbacks
 

typedef struct JSObject JSObject
 

typedef struct JSObjectMap JSObjectMap
 

typedef struct JSObjectOps JSObjectOps
 

typedef struct JSPrincipals JSPrincipals
 

typedef struct JSProperty JSProperty
 

typedef struct JSPropertySpec JSPropertySpec
 

typedef int32 jsrefcount
 

typedef struct JSRuntime JSRuntime
 

typedef struct JSScript JSScript
 

typedef struct JSString JSString
 

typedef struct JSRuntime JSTaskState
 

typedef uint32 jsuint
 

typedef jsword jsval
 

typedef struct JSXDRState JSXDRState
 

typedef struct JSXMLObjectOps JSXMLObjectOps
 


Enumeration Type Documentation

enum JSAccessMode
 

Enumerator:
JSACC_PROTO 
JSACC_PARENT 
JSACC_IMPORT 
JSACC_WATCH 
JSACC_READ 
JSACC_WRITE 
JSACC_LIMIT 

enum JSContextOp
 

Enumerator:
JSCONTEXT_NEW 
JSCONTEXT_DESTROY 

enum JSExnType
 

Enumerator:
JSEXN_NONE 
JSEXN_ERR 
JSEXN_INTERNALERR 
JSEXN_EVALERR 
JSEXN_RANGEERR 
JSEXN_REFERENCEERR 
JSEXN_SYNTAXERR 
JSEXN_TYPEERR 
JSEXN_URIERR 
JSEXN_LIMIT 

enum JSGCStatus
 

Enumerator:
JSGC_BEGIN 
JSGC_END 
JSGC_MARK_END 
JSGC_FINALIZE_END 

enum JSIterateOp
 

Enumerator:
JSENUMERATE_INIT 
JSENUMERATE_NEXT 
JSENUMERATE_DESTROY 

enum JSProtoKey
 

Enumerator:
name 
code 
JSProto_LIMIT 

enum JSType
 

Enumerator:
JSTYPE_VOID 
JSTYPE_OBJECT 
JSTYPE_FUNCTION 
JSTYPE_STRING 
JSTYPE_NUMBER 
JSTYPE_BOOLEAN 
JSTYPE_NULL 
JSTYPE_XML 
JSTYPE_LIMIT 

enum JSVersion
 

Enumerator:
JSVERSION_1_0 
JSVERSION_1_1 
JSVERSION_1_2 
JSVERSION_1_3 
JSVERSION_1_4 
JSVERSION_ECMA_3 
JSVERSION_1_5 
JSVERSION_1_6 
JSVERSION_1_7 
JSVERSION_DEFAULT 
JSVERSION_UNKNOWN 


Variable Documentation

JS_BEGIN_EXTERN_C typedef uint16 jschar
 

   Comments or Suggestions?    License Information