Some small corrections to the MPExpression and MPFunction interfaces
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#pragma mark Primitive Methods
|
||||
|
||||
- (NSUInteger)numberOfSymbols;
|
||||
- (id)symbolAtIndex:(NSUInteger)index; // Either an NSString or a MPFunction
|
||||
- (id)symbolAtIndex:(NSUInteger)index; // Either an NSString or a MPFunction (which can be mutated)
|
||||
|
||||
- (double)doubleValue; // Evaluates Expression
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
|
||||
@interface MPMutableExpression : MPExpression
|
||||
|
||||
- (void)replaceSymbolsInRange:(NSRange)range withExpression:(MPExpression *)anExpression;
|
||||
- (void)replaceSymbolsInRange:(NSRange)range withSymbols:(NSArray *)symbols;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user