23 lines
530 B
Objective-C
23 lines
530 B
Objective-C
//
|
|
// 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
|