// // MPElementParser.h // MathPad // // Created by Kim Wittenburg on 10.09.14. // Copyright (c) 2014 Kim Wittenburg. All rights reserved. // #import #import "MPParsedProduct.h" #import "MPParseError.h" #define MPMaximumOperatorChainLength NSUIntegerMax @interface MPElementParser : NSObject - (NSArray *)parseElement:(NSString *)string previousProduct:(MPParsedProduct *)previousProduct nextFactor:(id)nextFactor definesVariable:(BOOL)flag definedVariable:(NSString *__autoreleasing *)variableName error:(out MPParseError *__autoreleasing *)error; - (NSArray *)parseElement:(NSString *)string previousProduct:(MPParsedProduct *)previousProduct nextFactor:(id)nextFactor error:(out MPParseError *__autoreleasing *)error; @end