mirror of
https://github.com/VibeDarling/class-dump.git
synced 2026-11-15 09:48:10 -10:00
29 lines
761 B
Objective-C
29 lines
761 B
Objective-C
// -*- mode: ObjC -*-
|
|
|
|
// This file is part of class-dump, a utility for examining the Objective-C segment of Mach-O files.
|
|
// Copyright (C) 1997-2019 Steve Nygard.
|
|
|
|
@class CDType, CDTypeLexer;
|
|
|
|
extern NSString *CDExceptionName_SyntaxError;
|
|
extern NSString *CDErrorDomain_TypeParser;
|
|
|
|
extern NSString *CDErrorKey_Type;
|
|
extern NSString *CDErrorKey_RemainingString;
|
|
extern NSString *CDErrorKey_MethodOrVariable;
|
|
extern NSString *CDErrorKey_LocalizedLongDescription;
|
|
|
|
#define CDTypeParserCode_Default 0
|
|
#define CDTypeParserCode_SyntaxError 1
|
|
|
|
@interface CDTypeParser : NSObject
|
|
|
|
- (id)initWithString:(NSString *)string;
|
|
|
|
@property (readonly) CDTypeLexer *lexer;
|
|
|
|
- (NSArray *)parseMethodType:(NSError **)error;
|
|
- (CDType *)parseType:(NSError **)error;
|
|
|
|
@end
|