Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (35 sloc) 0.895 kB
//
// GBCommentArgument.m
// appledoc
//
// Created by Tomaz Kragelj on 16.2.11.
// Copyright 2011 Gentle Bytes. All rights reserved.
//
#import "GBSourceInfo.h"
#import "GBCommentComponentsList.h"
#import "GBCommentArgument.h"
@implementation GBCommentArgument
#pragma mark Initialization & disposal
+ (id)argumentWithName:(NSString *)name {
return [self argumentWithName:name sourceInfo:nil];
}
+ (id)argumentWithName:(NSString *)name sourceInfo:(GBSourceInfo *)info {
GBCommentArgument *result = [[self alloc] init];
if (result) {
result.argumentName = name;
result.sourceInfo = info;
}
return result;
}
- (id)init {
self = [super init];
if (self) {
self.argumentDescription = [GBCommentComponentsList componentsList];
}
return self;
}
#pragma mark Properties
@synthesize argumentName;
@synthesize argumentDescription;
@synthesize sourceInfo;
@end
Jump to Line
Something went wrong with that request. Please try again.