5 // Created by Sam McCall on 5/05/09.
8 // TODO(jfw): This class is useless and can just be replaced w/ JSAction probably.
12 @implementation SubAction
14 - (id)initWithIndex:(int)newIndex name:(NSString *)newName base:(JSAction *)newBase {
15 if ((self = [super init])) {
18 self.index = newIndex;
23 -(NSString*) stringify {
24 return [[NSString alloc] initWithFormat: @"%@~%d", [base stringify], self.index];