Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: class-dump/src/CDTypeLexer.h

Issue 7793008: Add the 3.3.3 sources for class-dump. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « class-dump/src/CDTypeFormatter.m ('k') | class-dump/src/CDTypeLexer.m » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // -*- mode: ObjC -*-
2
3 // This file is part of class-dump, a utility for examining the Objective-C seg ment of Mach-O files.
4 // Copyright (C) 1997-1998, 2000-2001, 2004-2010 Steve Nygard.
5
6 #import <Foundation/Foundation.h>
7
8 #define TK_EOS 0
9 #define TK_NUMBER 257
10 #define TK_IDENTIFIER 258
11 #define T_NAMED_OBJECT 259
12 #define TK_QUOTED_STRING 260
13 #define TK_TEMPLATE_TYPE TK_IDENTIFIER
14
15 typedef enum {
16 CDTypeLexerStateNormal = 0,
17 CDTypeLexerStateIdentifier = 1,
18 CDTypeLexerStateTemplateTypes = 2,
19 } CDTypeLexerState;
20
21 @interface CDTypeLexer : NSObject
22 {
23 NSScanner *scanner;
24 CDTypeLexerState state;
25 NSString *lexText;
26
27 BOOL shouldShowLexing;
28 }
29
30 - (id)initWithString:(NSString *)aString;
31 - (void)dealloc;
32
33 - (NSScanner *)scanner;
34
35 - (CDTypeLexerState)state;
36 - (void)setState:(CDTypeLexerState)newState;
37
38 - (BOOL)shouldShowLexing;
39 - (void)setShouldShowLexing:(BOOL)newFlag;
40
41 - (NSString *)string;
42 - (int)scanNextToken;
43
44 - (NSString *)lexText;
45 - (void)_setLexText:(NSString *)newString;
46
47 - (unichar)peekChar;
48 - (NSString *)remainingString;
49 - (NSString *)peekIdentifier;
50
51 @end
OLDNEW
« no previous file with comments | « class-dump/src/CDTypeFormatter.m ('k') | class-dump/src/CDTypeLexer.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698