Reorganized File Structure
Added Documentation
This commit is contained in:
26
MathKit/MPParsedExpression.m
Normal file
26
MathKit/MPParsedExpression.m
Normal file
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// MPParsedExpression.m
|
||||
// MathPad
|
||||
//
|
||||
// Created by Kim Wittenburg on 14.11.14.
|
||||
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MPParsedExpression.h"
|
||||
|
||||
#import "MPToken.h"
|
||||
|
||||
#import "MPTerm.h"
|
||||
|
||||
NSString *const MPMathKitErrorDomain = @"MPMathKitErrorDomain";
|
||||
NSString *const MPPathToExpressionKey = @"MPPathToExpressionKey";
|
||||
NSString *const MPErrorRangeKey = @"MPErrorRangeKey";
|
||||
|
||||
@implementation MPParsedExpression
|
||||
|
||||
- (NSDecimalNumber *)evaluate:(NSError *__autoreleasing *)error
|
||||
{
|
||||
return [self.term evaluate:error];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user