#ifndef JSBase_h
#define JSBase_h
-/* JS runtime interface types */
+/* JavaScript engine interface */
+
+/*! @typedef JSContextRef A JavaScript execution context. Holds the global object and other execution state. */
typedef struct __JSContext* JSContextRef;
+/*! @typedef JSStringBuffer A UTF16 character buffer. The fundamental string representation in JavaScript. */
typedef struct __JSStringBuffer* JSStringBufferRef;
+/*! @typedef JSClassRef A JavaScript class. Used with JSObjectMake to construct objects with custom behavior. */
typedef struct __JSClass* JSClassRef;
+/*! @typedef JSPropertyListRef A JavaScript property list. Used for listing the properties in an object so they can be enumerated. */
typedef struct __JSPropertyList* JSPropertyListRef;
+/*! @typedef JSPropertyEnumeratorRef A JavaScript property enumerator. Used for enumerating the properties in an object. */
typedef struct __JSPropertyEnumerator* JSPropertyEnumeratorRef;
-/* Base type of all JS values, and polymorphic functions on them */
+
+/* JavaScript data types */
+
+/*! @typedef JSValueRef A JavaScript value. The base type for all JavaScript values, and polymorphic functions on them. */
typedef void* JSValueRef;
+/*! @typedef JSObjectRef A JavaScript object. A JSObject is a JSValue. */
typedef struct __JSObject* JSObjectRef;
#endif // JSBase_h
E195679909E7CF1200B89D13 /* UnicodeCategory.h in Headers */ = {isa = PBXBuildFile; fileRef = E195679509E7CF1200B89D13 /* UnicodeCategory.h */; };
/* End PBXBuildFile section */
-/* Begin PBXBuildStyle section */
- 147FA0270A5C2444002E7E85 /* Development */ = {
- isa = PBXBuildStyle;
- buildSettings = {
- COPY_PHASE_STRIP = NO;
- };
- name = Development;
- };
- 147FA0280A5C2444002E7E85 /* Deployment */ = {
- isa = PBXBuildStyle;
- buildSettings = {
- COPY_PHASE_STRIP = YES;
- };
- name = Deployment;
- };
-/* End PBXBuildStyle section */
-
/* Begin PBXContainerItemProxy section */
141211350A48796100480255 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
0867D690FE84028FC02AAC07 /* Project object */ = {
isa = PBXProject;
buildConfigurationList = 149C277108902AFE008A9EFC /* Build configuration list for PBXProject "JavaScriptCore" */;
- buildSettings = {
- };
- buildStyles = (
- 147FA0270A5C2444002E7E85 /* Development */,
- 147FA0280A5C2444002E7E85 /* Deployment */,
- );
hasScannedForEncodings = 1;
mainGroup = 0867D691FE84028FC02AAC07 /* JavaScriptCore */;
productRefGroup = 034768DFFF38A50411DB9C8B /* Products */;