forked from pmougin/F-Script
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathFSPattern.h
32 lines (25 loc) · 857 Bytes
/
FSPattern.h
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;
}
+ (id)patternWithDeep:(int)theDeep level:(FSArray *)theLevel nextPattern:(FSPattern*)theNextPattern;
+ (id)patternFromIntermediateRepresentation:(NSArray *)ap;
- (id)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