22 lines
562 B
Objective-C
22 lines
562 B
Objective-C
//
|
|
// MPExpressionTree.h
|
|
// MathPad
|
|
//
|
|
// Created by Kim Wittenburg on 09.10.14.
|
|
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "MPSummand.h"
|
|
#import "MPExpressionTreeElement.h"
|
|
|
|
@interface MPExpressionTree : NSObject <MPExpressionTreeElement>
|
|
|
|
@property (nonatomic, copy) NSString *definedVariable;
|
|
@property (readonly, nonatomic, strong) NSArray *summands;
|
|
|
|
- (BOOL)validateExpectingVariableDefinition:(BOOL)flag
|
|
error:(NSError *__autoreleasing *)error;
|
|
|
|
@end
|