Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 94e84d94e4
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (17 sloc) 0.425 kb
@import "TDCollectionParser.j"
@import "TDAssembly.j"
@implementation TDAlternation : TDCollectionParser
+ (id)alternation
return [[self alloc] init];
- (CPSet)allMatchesFor:(CPSet)inAssemblies
var outAssemblies = [CPSet set];
for (var i=0, count=[subparsers count]; i<count; i++)
[outAssemblies unionSet:[subparsers[i] matchAndAssemble:inAssemblies]];
return outAssemblies;
Jump to Line
Something went wrong with that request. Please try again.