Archived
1
This repository has been archived on 2022-08-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
mathpad/MathPad/MPParsedProduct.h
2014-09-13 23:16:44 +02:00

23 lines
573 B
Objective-C

//
// 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
- (instancetype)init; // designated initializer
- (instancetype)initWithFactor:(id<MPParsedFactor>)factor; // designated initializer.
@property (readonly, nonatomic, strong) NSArray *factors;
- (void)addFactor:(id<MPParsedFactor>)factor;
- (NSDecimalNumber *)evaluateWithError:(MPParseError *__autoreleasing *)error;
@end