Copyright ©1998 by AAA+ Software Forschungs- und Entwicklungs Ges.m.b.H. All Rights Reserved. Revision 2.00 - August 13, 1998. |
Joy's JavaScript Extensions |
Table of Contents |
Introduction | ||
Expressions | ||
Statements | ||
Object Types | ||
Global Functions | ||
Global Variables |
Introduction |
Objective-C Literals - Objective C-style literal constants Preprocessor Features - Macros, header files, and conditional compilation Additional Operators - JavaScript operators added by Joy Data Types - Mapping between Objective-C and JavaScript data types Exception Handling - Handling of Objective-C exceptions and JavaScript errors Differences between Joy and ECMA JavaScript Differences between Joy and Objective-C |
Expressions |
Objective-C Message Expression @selector - Objective-C selector expression @protocol - Objective-C protocol expression @encode - Objective-C type encoding expression |
Statements |
Objective C-Style Declarations - Declaring variables, functions, and types try...catch - Handle JavaScript errors throw - Raise a JavaScript error @class - Create a new Objective-C class @teach - Teach new methods to an existing Objective-C class or object @protocol - Create a new Objective-C protocol @interface - Declare the interface for an Objective-C class or category @implementation - Implement an Objective-C class or category |
Object Types |
ObjC - Provides some functions to interface with the Objective-C runtime Id - Represents an Objective-C id Pointer - Represents a pointer Struct - Represents a C struct Union - Represents a C union LongLong - Represents a C long long UnsignedLongLong - Represents a C unsigned long long |
Global Functions |
gc- Run the garbage collector help - Joy online manual source - Load files named by string arguments precompile - Precompile an Objective-C header file for faster #import into Joy print - Print to standard output version - Get or set JavaScript version number |
Global Variables |
self - Current interpreter mainInterp - Main interpreter |
Back to Main Index |