Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: Mocha
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (29 sloc) 1.057 kb
//
// TDSymbol.h
// TDParseKit
//
// Created by Todd Ditchendorf on 7/13/08.
// Copyright 2008 Todd Ditchendorf. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "TDTerminal.h"
@class TDToken;
/*!
@class TDSymbol
@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.
*/
@interface TDSymbol : TDTerminal {
TDToken *symbol;
}
/*!
@brief Convenience factory method for initializing an autoreleased <tt>TDSymbol</tt> object with a <tt>nil</tt> string value.
@result an initialized autoreleased <tt>TDSymbol</tt> object with a <tt>nil</tt> string value
*/
+ (id)symbol;
/*!
@brief Convenience factory method for initializing an autoreleased <tt>TDSymbol</tt> object with <tt>s</tt> as a string value.
@param s the string represented by this symbol
@result an initialized autoreleased <tt>TDSymbol</tt> object with <tt>s</tt> as a string value
*/
+ (id)symbolWithString:(NSString *)s;
@end
Jump to Line
Something went wrong with that request. Please try again.