//
//  MustacheToken.h
//  OCMustache
//
//  Created by Wesley Moore on 31/10/10.
//  Copyright 2010 Wesley Moore. All rights reserved.
//

#import <Foundation/Foundation.h>

enum mustache_token_type {
	mustache_token_type_etag = 1, // Escaped tag
	mustache_token_type_utag, // Unescaped tag
	mustache_token_type_section,
	mustache_token_type_inverted,
	mustache_token_type_static, // Static text
	mustache_token_type_partial
};

@interface MustacheToken : NSObject {
	enum mustache_token_type type;
	const char *content;
	NSUInteger content_length;
}

@property(nonatomic, assign) enum mustache_token_type type;
@property(nonatomic, assign) const char *content;
@property(nonatomic, assign) NSUInteger contentLength;

- (id)initWithType:(enum mustache_token_type)token_type content:(const char *)content contentLength:(NSUInteger)length;
- (NSString *)contentString;

@end

//
//  MustacheToken.h
//  OCMustache
//
//  Created by Wesley Moore on 31/10/10.
//  Copyright 2010 Wesley Moore. All rights reserved.
//

#import <Foundation/Foundation.h>

enum mustache_token_type {
	mustache_token_type_etag = 1, // Escaped tag
	mustache_token_type_utag, // Unescaped tag
	mustache_token_type_section,
	mustache_token_type_inverted,
	mustache_token_type_static, // Static text
	mustache_token_type_partial
};

@interface MustacheToken : NSObject {
	enum mustache_token_type type;
	const char *content;
	NSUInteger content_length;
}

@property(nonatomic, assign) enum mustache_token_type type;
@property(nonatomic, assign) const char *content;
@property(nonatomic, assign) size_t contentLength;

- (id)initWithType:(enum mustache_token_type)token_type content:(const char *)content contentLength:(NSUInteger)length;
- (NSString *)contentString;

@end

--- 
+++ 
@@ -25,7 +25,7 @@
 
 @property(nonatomic, assign) enum mustache_token_type type;
 @property(nonatomic, assign) const char *content;
-@property(nonatomic, assign) size_t contentLength;
+@property(nonatomic, assign) NSUInteger contentLength;
 
 - (id)initWithType:(enum mustache_token_type)token_type content:(const char *)content contentLength:(NSUInteger)length;
 - (NSString *)contentString;
Fix type mismatch between property and ivar