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 {
18 - (id)initWithIndex:(int)newIndex name:(NSString *)newName base:(JSAction *)newBase {
19 if ((self = [super init])) {
22 self.index = newIndex;
27 -(NSString*) stringify {
28 return [[NSString alloc] initWithFormat: @"%@~%d", [base stringify], self.index];