Added some methods to „Working With the Expression Tree“ section
This commit is contained in:
@@ -44,13 +44,17 @@ extern NSString *MPDivisionOperator;
|
||||
- (instancetype)initWithString:(NSString *)aString;
|
||||
- (instancetype)initWithFunction:(MPFunction *)aFunction;
|
||||
|
||||
|
||||
+ (instancetype)expression;
|
||||
+ (instancetype)expressionWithString:(NSString *)aString;
|
||||
+ (instancetype)expressionWithFunction:(MPFunction *)aFunction;
|
||||
+ (instancetype)expressionWithSymbols:(NSArray *)symbols;
|
||||
|
||||
#pragma mark Working with Expressions
|
||||
#pragma mark Working With the Expression Tree
|
||||
|
||||
- (NSUInteger)indexOfSymbol:(id)symbol;
|
||||
- (id)symbolAtIndexPath:(NSIndexPath *)indexPath; // May also return MPExpression
|
||||
|
||||
#pragma mark Working With Expressions
|
||||
|
||||
- (NSUInteger)length;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user