Archived
1

Added the MPExpressionTree Classes

This commit is contained in:
Kim Wittenburg
2014-10-13 23:53:04 +02:00
parent 82259f87e2
commit 5592128926
60 changed files with 1981 additions and 725 deletions

View File

@@ -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