Redesign of the Evaluation System
This commit is contained in:
23
MathPad/MPEvaluationContext.h
Normal file
23
MathPad/MPEvaluationContext.h
Normal file
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// MPEvaluationContext.h
|
||||
// MathPad
|
||||
//
|
||||
// Created by Kim Wittenburg on 12.09.14.
|
||||
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface MPEvaluationContext : NSObject
|
||||
|
||||
+ (MPEvaluationContext *)sharedContext;
|
||||
|
||||
- (void)push;
|
||||
- (void)pop;
|
||||
|
||||
- (void)bindValue:(NSDecimalNumber *)value toName:(NSString *)variableName;
|
||||
- (void)unbindVariableName:(NSString *)variableName;
|
||||
|
||||
- (NSDecimalNumber *)valueForVariableName:(NSString *)variableName;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user