25 lines
419 B
Objective-C
25 lines
419 B
Objective-C
//
|
|
// MPExpressionElement.h
|
|
// MathPad
|
|
//
|
|
// Created by Kim Wittenburg on 10.08.14.
|
|
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
|
|
//
|
|
|
|
@import Foundation;
|
|
|
|
@protocol MPExpressionElement <NSObject, NSCopying, NSCoding>
|
|
|
|
- (BOOL)isString;
|
|
- (BOOL)isFunction;
|
|
|
|
- (NSUInteger)length;
|
|
|
|
- (double)doubleValue;
|
|
- (float)floatValue;
|
|
- (int)intValue;
|
|
- (NSInteger)integerValue;
|
|
- (long long)longLongValue;
|
|
|
|
@end
|