Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (22 sloc) 622 Bytes
//
// TDWordOrReservedState.h
// TDParseKit
//
// Created by Todd Ditchendorf on 8/14/08.
// Copyright 2008 Todd Ditchendorf. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "TDWordState.h"
/*!
@class TDWordOrReservedState
@brief Override <tt>TDWordState</tt> to return known reserved words as tokens of type <tt>TDTT_RESERVED</tt>.
*/
@interface TDWordOrReservedState : TDWordState {
NSMutableSet *reservedWords;
}
/*!
@brief Adds the specified string as a known reserved word.
@param s reserved word to add
*/
- (void)addReservedWord:(NSString *)s;
@end
Something went wrong with that request. Please try again.