Up

GSWeb: Class GSWDeclarationParser

Authors

Manuel Guesdon (mguesdon@orange-concept.com)

Version: 1.2

Date: 2004/09/01 13:52:44

Copyright: (C) 2004 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the GSWDeclarationFormatException class
  2. Software documentation for the GSWDeclarationParser class

Software documentation for the GSWDeclarationFormatException class

GSWDeclarationFormatException : NSException

Declared in:
Foundation/GSWDeclarationParser.h
Standards:

Description forthcoming.

Method summary

canDelay 

- (BOOL) canDelay;

Returns YES if we can delay exception reporting (so all errors are accumulated instead of blocking on first error)


Software documentation for the GSWDeclarationParser class

GSWDeclarationParser : GSWBaseParser

Declared in:
Foundation/GSWDeclarationParser.h

Description forthcoming.


Instance Variables

Method summary

declarationParserWithPragmaDelegate: 

+ (GSWDeclarationParser*) declarationParserWithPragmaDelegate: (id<GSWDeclarationParserPragmaDelegate>)pragmaDelegate;

Description forthcoming.


initWithPragmaDelegate: 

- (id) initWithPragmaDelegate: (id<GSWDeclarationParserPragmaDelegate>)pragmaDelegate;

Description forthcoming.


parseArray 

- (NSArray*) parseArray;

Parse an array. Index should be on the value first character ('(') Returns a NSString


parseDeclaration 

- (GSWDeclaration*) parseDeclaration;

Parse a declaration. Index should be on the identifier first character Returns a GSWDeclaration.


parseDeclarationString: 

- (NSDictionary*) parseDeclarationString: (NSString*)declarationString;

Description forthcoming.


parseDeclarationString: named: inFrameworkNamed: 

- (NSDictionary*) parseDeclarationString: (NSString*)declarationString named: (NSString*)declarationFileName inFrameworkNamed: (NSString*)declarationFrameworkName;

Description forthcoming.


parseDictionaryWithValuesAsAssociations: 

- (NSDictionary*) parseDictionaryWithValuesAsAssociations: (BOOL)valuesAsAssociations;

Parse a dictionary. Index should be on the value first character ('{') Returns a NSString


parseHexData 

- (NSData*) parseHexData;

Parse a data




Instance Variables for GSWDeclarationParser Class

_declarations

@protected NSMutableDictionary* _declarations;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_fileName

@protected NSString* _fileName;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_frameworkName

@protected NSString* _frameworkName;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.


_pragmaDelegate

@protected id<GSWDeclarationParserPragmaDelegate> _pragmaDelegate;

Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.






Up