Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 35 lines (29 sloc) 1.057 kb
ee99867 @ccgus oh geeze
authored
1 //
2 // TDSymbol.h
3 // TDParseKit
4 //
5 // Created by Todd Ditchendorf on 7/13/08.
6 // Copyright 2008 Todd Ditchendorf. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10 #import "TDTerminal.h"
11
12 @class TDToken;
13
14 /*!
15 @class TDSymbol
16 @brief A <tt>TDSymbol</tt> matches a specific sequence, such as <tt>&lt;</tt>, or <tt>&lt;=</tt> that a tokenizer returns as a symbol.
17 */
18 @interface TDSymbol : TDTerminal {
19 TDToken *symbol;
20 }
21
22 /*!
23 @brief Convenience factory method for initializing an autoreleased <tt>TDSymbol</tt> object with a <tt>nil</tt> string value.
24 @result an initialized autoreleased <tt>TDSymbol</tt> object with a <tt>nil</tt> string value
25 */
26 + (id)symbol;
27
28 /*!
29 @brief Convenience factory method for initializing an autoreleased <tt>TDSymbol</tt> object with <tt>s</tt> as a string value.
30 @param s the string represented by this symbol
31 @result an initialized autoreleased <tt>TDSymbol</tt> object with <tt>s</tt> as a string value
32 */
33 + (id)symbolWithString:(NSString *)s;
34 @end
Something went wrong with that request. Please try again.