Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: ae7688a264
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (25 sloc) 0.863 kB
//
// _DDOperatorInfo.h
// DDMathParser
//
// Created by Dave DeLong on 10/1/11.
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "DDMathParser.h"
@interface _DDOperatorInfo : NSObject {
DDOperatorArity _arity;
DDOperatorAssociativity _defaultAssociativity;
NSInteger _precedence;
NSString *_token;
NSString *_function;
}
@property (nonatomic, readonly, DD_STRONG) NSString *function;
@property (nonatomic, readonly, DD_STRONG) NSString *token;
@property (nonatomic, readonly) DDOperatorArity arity;
@property (nonatomic, assign) DDOperatorAssociativity defaultAssociativity;
@property (nonatomic, readonly) NSInteger precedence;
+ (NSArray *)allOperators;
+ (NSArray *)infosForOperatorFunction:(NSString *)operator;
+ (NSArray *)infosForOperatorToken:(NSString *)token;
@end
Jump to Line
Something went wrong with that request. Please try again.