home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / Apps / DevTools / ManPagesFromHeaders / Source / Translator.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-05-09  |  1.3 KB  |  45 lines

  1. /*
  2.  * Written by Guy Roberts of Object Skills Ltd, drifting
  3.  * in cyberspace without a domain or email address right 
  4.  * now. 
  5.  * May 7 1993. You can use this as a base for a better application
  6.  * as long as it is made publically available.
  7.  */
  8.  
  9. #import "RTF.h"
  10. #import "Preferences.h"
  11. #import <appkit/appkit.h>
  12. #import <streams/streams.h>
  13. #include <ctype.h>
  14. #import <sys/stat.h>
  15.  
  16. @interface Translator:Object
  17. {
  18.     char        *name;
  19.     id            objectSummary;
  20.     NXStream    *fileStream;
  21.     id            rtfInstance;
  22.     int            numClassMethods;
  23.     int            numInstanceMethods;
  24. }
  25.  
  26. - initForHeaderFile: (char *) name withTable: table;
  27. - (BOOL) parseBuffer: (char *) buffer withKeyWordTable: table;
  28. - (BOOL) getClass: (char **) className 
  29.        andParentName: (char **) parentClassName
  30.        fromBuffer: (char **) buffer;
  31. - insertOrdinaryText: (const char *) text;
  32. - listInstanceVariables: (char **) buffer;
  33. - (BOOL) getNextType: (char *) type andVariableName: (char *) name 
  34.     fromBuffer: (char **) buffer;
  35. - (BOOL) getInstanceMethods: (id *) instanceMethodStorage
  36.     andClassMethods: (id *) classMethodStorage
  37.     fromBuffer: (char **) buffer;
  38. - (BOOL) getNamePart: (char **) name typePart: (char **) type
  39.     argPart: (char **) arg fromString: (char **) string;
  40. - writeMessageNames: instanceMethodStorage;
  41. - writeMethods: table  stringTable: table;
  42. - free;
  43.  
  44. @end
  45.