Archived
1

Added the MPExpressionTree Classes

This commit is contained in:
Kim Wittenburg
2014-10-13 23:53:04 +02:00
parent 82259f87e2
commit 5592128926
60 changed files with 1981 additions and 725 deletions

22
MathPad/MPFactor.h Normal file
View File

@@ -0,0 +1,22 @@
//
// MPFactor.h
// MathPad
//
// Created by Kim Wittenburg on 09.10.14.
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "MPExpressionTreeElement.h"
#import "MPValueGroup.h"
#import "MPOperatorChain.h"
@interface MPFactor : NSObject <MPExpressionTreeElement>
@property (nonatomic) BOOL hasMultiplicationSymbol;
@property (nonatomic, strong) MPOperatorChain *operatorChain;
@property (nonatomic, strong) id<MPValue> value;
- (NSRange)multiplicationSymbolRange;
@end