Implemented Expression Evaluation/Parsing with Proper Error Handling
This commit is contained in:
20
MathPad/MPParsedProduct.h
Normal file
20
MathPad/MPParsedProduct.h
Normal file
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// MPParsedSummand.h
|
||||
// MathPad
|
||||
//
|
||||
// Created by Kim Wittenburg on 10.09.14.
|
||||
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "MPParsedFactor.h"
|
||||
|
||||
@interface MPParsedProduct : NSObject
|
||||
|
||||
@property (readonly, nonatomic, strong) NSArray *factors;
|
||||
|
||||
- (void)addFactor:(MPParsedFactor *)factor;
|
||||
|
||||
- (NSDecimalNumber *)value;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user