23 lines
613 B
Objective-C
23 lines
613 B
Objective-C
//
|
|
// MPExpressionParser.h
|
|
// MathPad
|
|
//
|
|
// Created by Kim Wittenburg on 16.11.14.
|
|
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
|
|
//
|
|
|
|
#import "MPExpression.h"
|
|
#import "MPParsedExpression.h"
|
|
|
|
@interface MPExpressionParser : NSObject
|
|
|
|
@property (readonly, nonatomic, strong) MPExpression *expression;
|
|
|
|
- (instancetype)initWithExpression:(MPExpression *)expression;
|
|
|
|
- (MPParsedExpression *)parse:(NSArray *__autoreleasing *)errors;
|
|
- (MPParsedExpression *)parseExpectingVariableDefinition:(BOOL)flag
|
|
errors:(NSArray *__autoreleasing *)errors;
|
|
|
|
@end
|