//
//  NIMInputEmoticonParser.h
//  NIMKit
//
//  Created by chris.
//  Copyright (c) 2015 Netease. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum : NSUInteger
{
    NIMInputTokenTypeText,
    NIMInputTokenTypeEmoticon,
    NIMInputTokenTypeUrl,
    NIMInputTokenTypeNumber,
    
} NIMInputTokenType;

@interface NIMInputTextToken : NSObject
@property (nonatomic,copy)      NSString    *text;
@property (nonatomic,assign)    NIMInputTokenType   type;
@end


@interface NIMInputEmoticonParser : NSObject
+ (instancetype)currentParser;
- (NSArray *)tokens:(NSString *)text;
@end
