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

Side by Side Diff: class-dump/src/CDTypeParser.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/CDTypeName.m ('k') | class-dump/src/CDTypeParser.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 @class CDMethodType, CDType, CDTypeLexer, CDTypeName;
9
10 extern NSString *CDSyntaxError;
11 extern NSString *CDTypeParserErrorDomain;
12
13 #define CDTypeParserCodeDefault 0
14 #define CDTypeParserCodeSyntaxError 1
15
16 @interface CDTypeParser : NSObject
17 {
18 CDTypeLexer *lexer;
19 int lookahead;
20 }
21
22 - (id)initWithType:(NSString *)aType;
23 - (void)dealloc;
24
25 - (CDTypeLexer *)lexer;
26
27 - (NSArray *)parseMethodType:(NSError **)error;
28 - (CDType *)parseType:(NSError **)error;
29
30 @end
31
32 @interface CDTypeParser (Private)
33
34 - (void)match:(int)token;
35 - (void)match:(int)token enterState:(int)newState;
36 - (void)error:(NSString *)errorString;
37
38 - (NSArray *)_parseMethodType;
39 - (CDType *)_parseType;
40 - (CDType *)_parseTypeInStruct:(BOOL)isInStruct;
41
42 - (NSArray *)parseUnionTypes;
43 - (NSArray *)parseOptionalMembers;
44 - (NSArray *)parseMemberList;
45 - (CDType *)parseMember;
46
47 - (CDTypeName *)parseTypeName;
48 - (NSString *)parseIdentifier;
49 - (NSString *)parseNumber;
50
51 - (BOOL)isTokenInModifierSet:(int)aToken;
52 - (BOOL)isTokenInSimpleTypeSet:(int)aToken;
53 - (BOOL)isTokenInTypeSet:(int)aToken;
54 - (BOOL)isTokenInTypeStartSet:(int)aToken;
55
56 @end
OLDNEW
« no previous file with comments | « class-dump/src/CDTypeName.m ('k') | class-dump/src/CDTypeParser.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698