Archived
1

Some small corrections to the MPExpression and MPFunction interfaces

This commit is contained in:
Kim Wittenburg
2014-04-20 01:22:01 +02:00
parent 6874324d00
commit 8244cdab4e
2 changed files with 10 additions and 6 deletions

View File

@@ -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