Added the MPExpressionTree Classes
This commit is contained in:
@@ -14,14 +14,15 @@
|
||||
- (instancetype)initWithTokens:(NSArray *)tokens;
|
||||
|
||||
@property (nonatomic, copy) NSArray *tokens;
|
||||
@property (nonatomic, getter=isIgnoringWhitespaceTokens) BOOL ignoringWhitespaceTokens; // Default: YES
|
||||
|
||||
@property (nonatomic) NSUInteger currentTokenIndex;
|
||||
- (void)beginIgnoringWhitespaceTokens;
|
||||
- (void)beginAcceptingWhitespaceTokens;
|
||||
- (void)endIgnoringOrAcceptingWhitespaceTokens;
|
||||
|
||||
- (void)reset;
|
||||
- (BOOL)hasMoreTokens;
|
||||
|
||||
- (MPToken *)nextToken;
|
||||
- (MPToken *)nextTokenOfType:(MPTokenType)type;
|
||||
- (MPToken *)currentToken;
|
||||
- (MPToken *)peekNextToken;
|
||||
- (void)currentTokenConsumed;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user