DrawKit
Vector and illustration framework for Mac OS X
Instance Methods | Protected Attributes | List of all members
DKParser Class Reference
Inheritance diagram for DKParser:
Inheritance graph
[legend]

Instance Methods

(void) - addNode:
 
(id- currentToken
 
(id- delegate
 
(id- instantiate:
 
(id- parseContentsOfFile:
 
(NSArray *) - parseStack
 
(id- parseString:
 
(id- pop
 
(void) - push:
 
(void) - registerFactoryClass:forKey:
 
(void) - setDelegate:
 
(void) - setGrammarDebug:
 
(void) - setNodeValue:forKey:
 
(void) - setThrowErrorIfMissingFactory:
 
(BOOL- willThrowErrorIfMissingFactory
 
- Instance Methods inherited from NSObject
(NSString *) - address
 
(DKStyleRegistry *) - applicationWillReturnStyleRegistry
 
(BOOL- canBeUsedWithSelectionTool
 
(id- categoryManager:shouldReplaceObject:withObject:
 
(Class- classForCoder
 
(NSColor *) - colorValue
 
(NSColor *) - colourValue
 
(id- copy
 
(void) - dealloc
 
(id- deepCopy
 
(NSDictionary *) - dimensionValuesForArrowStroke:
 
(CGFloat- drawing:convertDistanceToExternalCoordinates:
 
(NSPoint) - drawing:convertLocationToExternalCoordinates:
 
(void) - drawing:didDrawRect:inView:
 
(void) - drawing:willDrawRect:inView:
 
(NSString *) - drawing:willReturnAbbreviationForUnit:
 
(NSString *) - drawing:willReturnFormattedCoordinateForDistance:
 
(CGFloat- drawingWillReturnUnitToPointsConversonFactor:
 
(void) - finalize
 
(NSString *) - hexString
 
(void) - hotspot:didEndTrackingWithEvent:inView:
 
(void) - hotspot:isTrackingWithEvent:inView:
 
(void) - hotspot:willBeginTrackingWithEvent:inView:
 
(NSData *) - imageData
 
(NSImage *) - imageResourceNamed:
 
(id- init
 
(id- initWithExpression:
 
(id- instantiateObjectWithShortName:parameters:
 
(BOOL- isLiteralValue
 
(void) - layoutManager:willPlaceGlyphAtIndex:atLocation:pathAngle:yOffset:
 
(void) - menuItem:wasAddedForObject:inCategory:
 
(BOOL- moveObjectTo:position:slope:userInfo:
 
(id- mutableCopy
 
(void) - oneShotComplete
 
(void) - oneShotHasReached:
 
(void) - oneShotWillBegin
 
(void) - path:elementIndex:type:points:subPathIndex:subPathClosed:contextInfo:
 
(id- placeLinkFromPoint:toPoint:onPath:linkNumber:userInfo:
 
(id- placeObjectAtPoint:onPath:position:slope:userInfo:
 
(NSPoint) - point
 
(NSPoint) - pointForTextLayout
 
(DKStyle *) - registry:shouldReplaceStyle:withStyle:
 
(NSBezierPath *) - renderer:willRenderPath:
 
(void) - routeFinder:progressHasReached:
 
(void) - setValue:forNumericParameter:
 
(NSString *) - stringValue
 
(CGFloat- taperFactorAtDistance:onPath:ofLength:
 
(void) - toolDidPerformUndoableAction:
 
(void) - toolWillPerformUndoableAction:
 
(NSURL *) - url
 
- Instance Methods inherited from <NSObject>
(NSString *) - description
 
(NSUInteger- hash
 
(BOOL- isEqual:
 
- Instance Methods inherited from <NSKeyValueBindingCreation>
(void) - bind:toObject:withKeyPath:options:
 
(NSArray *) - exposedBindings
 
(NSDictionary *) - infoForBinding:
 
(NSArray *) - optionDescriptionsForBinding:
 
(void) - unbind:
 
(Class- valueClassForBinding:
 

Protected Attributes

id mDelegate
 
NSMutableDictionary * mFactories
 
NSMutableArraymParseStack
 
NSNumberFormatternumberFormatter
 
Scanner scanr
 
BOOL throwErrorIfMissingFactory
 

Additional Inherited Members

- Class Methods inherited from NSObject
(id+ alloc
 
(Class+ class
 
(void) + initialize
 
(void) + load
 
(id+ new
 
- Class Methods inherited from <NSKeyValueBindingCreation>
(void) + exposeBinding:
 

Method Documentation

- (void) addNode: (id node
- (id) currentToken
- (id) delegate
- (id) instantiate: (NSString *)  type
- (id) parseContentsOfFile: (NSString *)  filename
- (NSArray*) parseStack
- (id) parseString: (NSString *)  inString
- (id) pop
- (void) push: (id value
- (void) registerFactoryClass: (id fClass
forKey: (NSString *)  key 
- (void) setDelegate: (id anObject
- (void) setGrammarDebug: (BOOL flag

Provided by category DKParser(ParserDebugging).

- (void) setNodeValue: (id value
forKey: (NSString *)  key 
- (void) setThrowErrorIfMissingFactory: (BOOL flag
- (BOOL) willThrowErrorIfMissingFactory

Member Data Documentation

- (id) mDelegate
protected
- (NSMutableDictionary*) mFactories
protected
- (NSMutableArray*) mParseStack
protected
- (NSNumberFormatter*) numberFormatter
protected
- (Scanner) scanr
protected
- (BOOL) throwErrorIfMissingFactory
protected