Skip to content
This repository
tree: 29073d7b4e
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 31 lines (25 sloc) 0.863 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
//
// _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
Something went wrong with that request. Please try again.