Release 5. Copyright ©1994-1998 by TipTop Software, Inc. All Rights Reserved.
TTInterp |
Inherits From: | NSObject | |
Declared In: | <ObjCore/TTInterp.h> |
Class Description
Each language interpreter (Python, Tcl, Perl, ...) inherits from this class. The TTInterp class keeps track of currently loaded languages. It can also dynamically load a language-specific framework. |
Method Types
+ allLoadedLanguages + getClassForLanguageName: + loadLanguageName: |
Class Methods
allLoadedLanguages |
+ (NSDictionary*)allLoadedLanguages |
Returns a dictionary of language names and corresponding interpreter classes for all languages that are loaded into the application.
getClassForLanguageName: |
+ (Class)getClassForLanguageName:(NSString *)name |
Returns the interpreter class for language name, Nil if the language is not loaded. The class (e.g., TTObjTclInterp, TTObjPerlInterp, ...) is (usually) a subclass of this class, and it implements the TTInterpProtocol
loadLanguageName: |
+ (BOOL)loadLanguageName:(NSString*)name |
Dynamically loads the language name into the application.
See also: +allLoadedLanguages |
###