Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: dbe71da0fd
Fetching contributors…

Cannot retrieve contributors at this time

file 32 lines (25 sloc) 0.845 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
/* FSPattern.h Copyright (c) 1998-2009 Philippe Mougin. */
/* This software is open source. See the license. */

#import <Foundation/Foundation.h>

@class FSArray;

@interface FSPattern:NSObject <NSCoding>
{
  int deep;
  __strong int *level;
  unsigned levelCount;
  FSPattern *nextPattern;
}

+ patternWithDeep:(int)theDeep level:(FSArray *)theLevel nextPattern:(FSPattern*)theNextPattern;
+ patternFromIntermediateRepresentation:(NSArray *)ap;

- initWithDeep:(int)theDeep level:(FSArray *)theLevel nextPattern:(FSPattern*)theNextPatter;
- (int)deep;
- (BOOL)isDoubleLoop;
- (BOOL)isSimpleLoopOnReceiver;
- (int *)level;
- (unsigned int)levelCount;
- (FSPattern *)nextPattern;
- (void) setNextPattern:(FSPattern *)theNextPattern;

- (void)dealloc;
- (void)encodeWithCoder:(NSCoder *)coder;
- (id)initWithCoder:(NSCoder *)coder;

@end
Something went wrong with that request. Please try again.