Permalink
Browse files

Manually removed property synthesize and extension method declaration.

  • Loading branch information...
tomaz committed Jun 25, 2012
1 parent 159366c commit 18f5e19781a1efd286c47b1b6aaf2b724dada92b
Showing with 0 additions and 226 deletions.
  1. +0 −10 appledoc/Application/Appledoc.m
  2. +0 −4 appledoc/Application/AppledocTask.m
  3. +0 −3 appledoc/Common/StateBase.m
  4. +0 −7 appledoc/Parsing/CommentParser.m
  5. +0 −7 appledoc/Parsing/ObjectiveC/ObjectiveCConstantState.m
  6. +0 −12 appledoc/Parsing/ObjectiveC/ObjectiveCEnumState.m
  7. +0 −13 appledoc/Parsing/ObjectiveC/ObjectiveCFileState.m
  8. +0 −7 appledoc/Parsing/ObjectiveC/ObjectiveCInterfaceState.m
  9. +0 −13 appledoc/Parsing/ObjectiveC/ObjectiveCMethodState.m
  10. +0 −9 appledoc/Parsing/ObjectiveC/ObjectiveCParseData.m
  11. +0 −20 appledoc/Parsing/ObjectiveC/ObjectiveCParser.m
  12. +0 −7 appledoc/Parsing/ObjectiveC/ObjectiveCPragmaMarkState.m
  13. +0 −8 appledoc/Parsing/ObjectiveC/ObjectiveCPropertyState.m
  14. +0 −3 appledoc/Parsing/ObjectiveC/ObjectiveCStructState.m
  15. +0 −14 appledoc/Parsing/Parser.m
  16. +0 −4 appledoc/Parsing/ParserTask.m
  17. +0 −5 appledoc/Parsing/TokensStream.m
  18. +0 −2 appledoc/Store/AttributesInfo.m
  19. +0 −3 appledoc/Store/CategoryInfo.m
  20. +0 −4 appledoc/Store/ClassInfo.m
  21. +0 −4 appledoc/Store/CommentInfo.m
  22. +0 −4 appledoc/Store/ConstantInfo.m
  23. +0 −2 appledoc/Store/DescriptorsInfo.m
  24. +0 −3 appledoc/Store/EnumInfo.m
  25. +0 −4 appledoc/Store/EnumItemInfo.m
  26. +0 −8 appledoc/Store/InterfaceInfoBase.m
  27. +0 −4 appledoc/Store/MethodArgumentInfo.m
  28. +0 −3 appledoc/Store/MethodGroupInfo.m
  29. +0 −5 appledoc/Store/MethodInfo.m
  30. +0 −5 appledoc/Store/ObjectInfoBase.m
  31. +0 −3 appledoc/Store/ObjectLinkData.m
  32. +0 −5 appledoc/Store/PropertyInfo.m
  33. +0 −3 appledoc/Store/ProtocolInfo.m
  34. +0 −13 appledoc/Store/Store.m
  35. +0 −3 appledoc/Store/StructInfo.m
  36. +0 −2 appledoc/Store/TypeInfo.m
@@ -13,16 +13,6 @@
@implementation Appledoc
-@synthesize store = _store;
-@synthesize parser = _parser;
-
-#pragma mark - Initialization & disposal
-
-- (id)init {
- self = [super init];
- return self;
-}
-
#pragma mark - Running
- (NSInteger)runWithSettings:(GBSettings *)settings {
@@ -20,10 +20,6 @@ @interface AppledocTask ()
@implementation AppledocTask
-@synthesize store = _store;
-@synthesize settings = _settings;
-@synthesize fileManager = _fileManager;
-
#pragma mark - Running the task
- (GBResult)runWithSettings:(GBSettings *)settings store:(Store *)store {
@@ -26,9 +26,6 @@ - (void)willResignCurrentStateForContext:(id)context {
@implementation BlockStateBase
-@synthesize didBecomeCurrentStateBlock;
-@synthesize willResignCurrentStateBlock;
-
- (void)didBecomeCurrentStateForContext:(id)context {
[super didBecomeCurrentStateForContext:context];
if (self.didBecomeCurrentStateBlock) self.didBecomeCurrentStateBlock(self, context);
@@ -43,13 +43,6 @@ - (BOOL)isMethodGroup:(NSString *)string;
@implementation CommentParser
-@synthesize groupRegistrator = _groupRegistrator;
-@synthesize commentRegistrator = _commentRegistrator;
-@synthesize groupComment = _groupComment;
-@synthesize comment = _comment;
-@synthesize isCommentInline = _isCommentInline;
-@synthesize lastSingleLinerLine = _lastSingleLinerLine;
-
#pragma mark - Parsing
- (BOOL)isAppledocComment:(NSString *)comment {
@@ -9,20 +9,13 @@
#import "ObjectiveCConstantState.h"
@interface ObjectiveCConstantState ()
-- (BOOL)consumeConstantStartTokens:(ObjectiveCParseData *)data;
-- (BOOL)parseConstantDefinition:(ObjectiveCParseData *)data;
-- (BOOL)finalizeConstant:(ObjectiveCParseData *)data;
-- (NSUInteger)lookaheadIndexOfFirstPotentialDescriptorToken:(ObjectiveCParseData *)data;
-- (NSUInteger)lookaheadIndexOfConstantEndToken:(ObjectiveCParseData *)data;
@property (nonatomic, strong) NSArray *constantInvalidTokens;
@end
#pragma mark -
@implementation ObjectiveCConstantState
-@synthesize constantInvalidTokens = _constantInvalidTokens;
-
#pragma mark - Parsing constant
- (NSUInteger)parseWithData:(ObjectiveCParseData *)data {
@@ -19,12 +19,6 @@ - (void)parseToken:(PKToken *)token;
#pragma mark -
@interface ObjectiveCEnumState ()
-- (BOOL)consumeEnumStartTokens:(ObjectiveCParseData *)data;
-- (BOOL)parseEnumNameBeforeBody:(ObjectiveCParseData *)data;
-- (BOOL)parseEnumBody:(ObjectiveCParseData *)data;
-- (BOOL)parseEnumBodyEnd:(ObjectiveCParseData *)data;
-- (BOOL)parseEnumNameAfterBody:(ObjectiveCParseData *)data;
-- (BOOL)finalizeEnum:(ObjectiveCParseData *)data;
@property (nonatomic, strong) ObjectiveCEnumItemState *enumItemState;
@property (nonatomic, strong) ObjectiveCEnumItemState *enumValueState;
@property (nonatomic, strong) ContextBase *enumItemContext;
@@ -36,12 +30,6 @@ - (BOOL)finalizeEnum:(ObjectiveCParseData *)data;
@implementation ObjectiveCEnumState
-@synthesize enumItemState = _enumItemState;
-@synthesize enumValueState = _enumValueState;
-@synthesize enumItemContext = _enumItemContext;
-@synthesize enumItemDelimiters = _enumItemDelimiters;
-@synthesize wasEnumNameParsed = _wasEnumNameParsed;
-
#pragma mark - Parsing
- (NSUInteger)parseWithData:(ObjectiveCParseData *)data {
@@ -9,19 +9,6 @@
#import "ObjectiveCConstantState.h"
#import "ObjectiveCFileState.h"
-@interface ObjectiveCFileState ()
-- (BOOL)parseClassExtension:(ObjectiveCParseData *)data;
-- (BOOL)parseClassCategory:(ObjectiveCParseData *)data;
-- (BOOL)parseDerivedClass:(ObjectiveCParseData *)data;
-- (BOOL)parseRootClass:(ObjectiveCParseData *)data;
-- (BOOL)parseProtocol:(ObjectiveCParseData *)data;
-- (BOOL)parseEnum:(ObjectiveCParseData *)data;
-- (BOOL)parseStruct:(ObjectiveCParseData *)data;
-- (BOOL)parseConstant:(ObjectiveCParseData *)data;
-@end
-
-#pragma mark -
-
@implementation ObjectiveCFileState
- (NSUInteger)parseWithData:(ObjectiveCParseData *)data {
@@ -9,20 +9,13 @@
#import "ObjectiveCInterfaceState.h"
@interface ObjectiveCInterfaceState ()
-- (BOOL)parseAdoptedProtocols:(ObjectiveCParseData *)data;
-- (BOOL)parseMethod:(ObjectiveCParseData *)data;
-- (BOOL)parseProperty:(ObjectiveCParseData *)data;
-- (BOOL)parsePragmaMark:(ObjectiveCParseData *)data;
-- (BOOL)parseEndOfInterface:(ObjectiveCParseData *)data;
@property (nonatomic, strong) NSArray *interfaceAdoptedProtocolDelimiters;
@end
#pragma mark -
@implementation ObjectiveCInterfaceState
-@synthesize interfaceAdoptedProtocolDelimiters = _interfaceAdoptedProtocolDelimiters;
-
#pragma mark - Stream parsing
- (NSUInteger)parseWithData:(ObjectiveCParseData *)data {
@@ -9,16 +9,6 @@
#import "ObjectiveCMethodState.h"
@interface ObjectiveCMethodState ()
-- (BOOL)consumeMethodStartTokens:(ObjectiveCParseData *)data;
-- (BOOL)parseMethodReturnTypes:(ObjectiveCParseData *)data;
-- (BOOL)parseMethodArguments:(ObjectiveCParseData *)data;
-- (BOOL)parseMethodArgumentSelector:(ObjectiveCParseData *)data;
-- (BOOL)parseMethodArgumentTypes:(ObjectiveCParseData *)data;
-- (BOOL)parseMethodArgumentVariable:(ObjectiveCParseData *)data;
-- (BOOL)parseMethodDescriptors:(ObjectiveCParseData *)data;
-- (BOOL)skipMethodBody:(ObjectiveCParseData *)data;
-- (BOOL)finalizeMethod:(ObjectiveCParseData *)data;
-- (BOOL)isMethodDefinitionFinished:(ObjectiveCParseData *)data;
@property (nonatomic, strong) NSArray *methodTypeDelimiters;
@property (nonatomic, strong) NSArray *methodEndDelimiters;
@end
@@ -27,9 +17,6 @@ - (BOOL)isMethodDefinitionFinished:(ObjectiveCParseData *)data;
@implementation ObjectiveCMethodState
-@synthesize methodTypeDelimiters = _methodTypeDelimiters;
-@synthesize methodEndDelimiters = _methodEndDelimiters;
-
#pragma mark - Parsing
- (NSUInteger)parseWithData:(ObjectiveCParseData *)data {
@@ -14,10 +14,6 @@
#import "ObjectiveCParseData.h"
@interface ObjectiveCParseData ()
-- (BOOL)isStringPrefixedWithDoubleUnderscore:(NSString *)string;
-- (BOOL)isStringPrefixedWithUnderscore:(NSString *)string;
-- (BOOL)isStringPrefixedWithDigit:(NSString *)string;
-- (BOOL)isStringComposedOfUppercaseLetters:(NSString *)string;
@property (nonatomic, readwrite, strong) Store *store;
@property (nonatomic, readwrite, strong) TokensStream *stream;
@property (nonatomic, readwrite, strong) ObjectiveCParser *parser;
@@ -28,11 +24,6 @@ - (BOOL)isStringComposedOfUppercaseLetters:(NSString *)string;
@implementation ObjectiveCParseData
-@synthesize store = _store;
-@synthesize stream = _stream;
-@synthesize parser = _parser;
-@synthesize uppercaseLettersSet = _uppercaseLettersSet;
-
#pragma mark - Initialization & disposal
+ (id)dataWithStream:(TokensStream *)stream parser:(ObjectiveCParser *)parser store:(Store *)store {
@@ -23,12 +23,6 @@
#pragma mark -
@interface ObjectiveCParser ()
-- (GBResult)parseTokens;
-- (void)prepareParserForParsingString:(NSString *)string;
-- (BOOL)parseTokensWithData:(ObjectiveCParseData *)data result:(GBResult *)result;
-- (BOOL)parseCommentToken:(PKToken *)token;
-- (BOOL)registerComments;
-- (BOOL)isParseResultFailure:(GBResult)result;
@property (nonatomic, strong) TokensStream *tokensStream;
@property (nonatomic, strong) PKToken *commentStartToken;
@property (nonatomic, strong) CommentParser *commentParser;
@@ -48,20 +42,6 @@ - (BOOL)isParseResultFailure:(GBResult)result;
@implementation ObjectiveCParser
-@synthesize tokenizer = _tokenizer;
-@synthesize tokensStream = _tokensStream;
-@synthesize commentStartToken = _commentStartToken;
-@synthesize statesStack = _statesStack;
-@synthesize currentState = _currentState;
-@synthesize fileState = _fileState;
-@synthesize interfaceState = _interfaceState;
-@synthesize propertyState = _propertyState;
-@synthesize methodState = _methodState;
-@synthesize pragmaMarkState = _pragmaMarkState;
-@synthesize enumState = _enumState;
-@synthesize structState = _structState;
-@synthesize constantState = _constantState;
-
#pragma mark - Initialization & disposal
- (id)init {
@@ -9,18 +9,11 @@
#import "ObjectiveCPragmaMarkState.h"
@interface ObjectiveCPragmaMarkState ()
-- (BOOL)consumePragmaStartTokens:(ObjectiveCParseData *)data;
-- (BOOL)parsePragmaDescription:(ObjectiveCParseData *)data;
-- (BOOL)isCurrentTokenOnStartingLine:(ObjectiveCParseData *)data;
-- (PKToken *)consumeUntilLastPragmaDescriptionToken:(ObjectiveCParseData *)data;
-- (NSString *)pragmaDescriptionFromStartToken:(PKToken *)start endToken:(PKToken *)end data:(ObjectiveCParseData *)data;
@property (nonatomic, assign) NSUInteger startingLine;
@end
@implementation ObjectiveCPragmaMarkState
-@synthesize startingLine = _startingLine;
-
#pragma mark - Parsing
- (NSUInteger)parseWithData:(ObjectiveCParseData *)data {
@@ -10,21 +10,13 @@
#import "ObjectiveCPropertyState.h"
@interface ObjectiveCPropertyState ()
-- (BOOL)consumePropertyStartTokens:(ObjectiveCParseData *)data;
-- (BOOL)parsePropertyAttributes:(ObjectiveCParseData *)data;
-- (BOOL)parsePropertyTypesNameAndDescriptors:(ObjectiveCParseData *)data;
-- (BOOL)finalizeProperty:(ObjectiveCParseData *)data;
-- (NSUInteger)lookaheadIndexOfFirstPotentialDescriptor:(ObjectiveCParseData *)data;
-- (NSUInteger)lookaheadIndexOfPropertyEndToken:(ObjectiveCParseData *)data;
@property (nonatomic, strong) NSArray *propertyAttributeDelimiters;
@end
#pragma mark -
@implementation ObjectiveCPropertyState
-@synthesize propertyAttributeDelimiters = _propertyAttributeDelimiters;
-
#pragma mark - Parsing
- (NSUInteger)parseWithData:(ObjectiveCParseData *)data {
@@ -31,9 +31,6 @@ - (BOOL)parseStructName:(ObjectiveCParseData *)data endDelimiters:(id)delimiters
@implementation ObjectiveCStructState
-@synthesize wasStructNameParsed = _wasStructNameParsed;
-@synthesize structItemDelimiters = _structItemDelimiters;
-
#pragma mark - Parsing
- (NSUInteger)parseWithData:(ObjectiveCParseData *)data {
View
@@ -15,22 +15,8 @@
#pragma mark -
-@interface Parser ()
-- (NSInteger)parsePath:(NSString *)path withBlock:(ParserPathBlock)handler;
-- (NSInteger)parseDirectory:(NSString *)path withBlock:(ParserPathBlock)handler;
-- (NSInteger)parseFile:(NSString *)path withBlock:(ParserPathBlock)handler;
-- (BOOL)isPathIgnored:(NSString *)path;
-- (BOOL)isFileIgnored:(NSString *)filename;
-- (BOOL)isDirectoryIgnored:(NSString *)filename;
-- (BOOL)isSourceCodeFile:(NSString *)path;
-@end
-
-#pragma mark -
-
@implementation Parser
-@synthesize objectiveCParser = _objectiveCParser;
-
#pragma mark - Task invocation
- (NSInteger)runTask {
@@ -19,10 +19,6 @@ @interface ParserTask ()
@implementation ParserTask
-@synthesize store = _store;
-@synthesize settings = _settings;
-@synthesize filename = _filename;
-
#pragma mark - Running the task
- (NSInteger)parseFile:(NSString *)filename withSettings:(GBSettings *)settings store:(Store *)store {
@@ -10,7 +10,6 @@
#import "TokensStream.h"
@interface TokensStream ()
-- (void)assignLocationInformationToTokens:(NSArray *)tokens fromString:(NSString *)string;
@property (nonatomic, strong, readwrite) NSString *string;
@property (nonatomic, strong, readwrite) NSArray *tokens;
@property (nonatomic, assign, readwrite) NSUInteger position;
@@ -20,10 +19,6 @@ - (void)assignLocationInformationToTokens:(NSArray *)tokens fromString:(NSString
@implementation TokensStream
-@synthesize string = _string;
-@synthesize tokens = _tokens;
-@synthesize position = _position;
-
#pragma mark - Initialization & disposal
+ (id)tokensStreamWithTokenizer:(PKTokenizer *)tokenizer {
@@ -12,8 +12,6 @@
@implementation AttributesInfo
-@synthesize attributeItems = _attributeItems;
-
#pragma mark - Helper methods
- (NSString *)valueForAttribute:(NSString *)attribute {
@@ -10,9 +10,6 @@
@implementation CategoryInfo
-@synthesize nameOfClass;
-@synthesize nameOfCategory;
-
#pragma mark - Properties
- (BOOL)isCategory {
@@ -9,10 +9,6 @@
#import "ClassInfo.h"
@implementation ClassInfo
-
-@synthesize nameOfClass;
-@synthesize nameOfSuperClass;
-
@end
#pragma mark -
@@ -10,8 +10,4 @@
#import "CommentInfo.h"
@implementation CommentInfo
-
-@synthesize sourceToken = _sourceToken;
-@synthesize sourceString = _sourceString;
-
@end
@@ -14,10 +14,6 @@
@implementation ConstantInfo
-@synthesize constantTypes = _constantTypes;
-@synthesize constantDescriptors = _constantDescriptors;
-@synthesize constantName = _constantName;
-
#pragma mark - Properties
- (TypeInfo *)constantTypes {
@@ -12,8 +12,6 @@
@implementation DescriptorsInfo
-@synthesize descriptorItems = _descriptorItems;
-
#pragma mark - Properties
- (NSMutableArray *)descriptorItems {
@@ -12,9 +12,6 @@
@implementation EnumInfo
-@synthesize nameOfEnum = _nameOfEnum;
-@synthesize enumItems = _enumItems;
-
#pragma mark - Properties
- (NSMutableArray *)enumItems {
Oops, something went wrong.

0 comments on commit 18f5e19

Please sign in to comment.