forked from pmougin/F-Script
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathBlockStackElem.h
28 lines (21 loc) · 847 Bytes
/
BlockStackElem.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
/* BlockStackElem.h Copyright (c) 2001-2009 Philippe Mougin. */
/* This software is open source. See the license. */
#import <Foundation/Foundation.h>
@class FSBlock;
@interface BlockStackElem : NSObject <NSCoding>
{
NSInteger firstCharIndex;
NSInteger lastCharIndex;
NSString *errorStr;
FSBlock *block;
}
+ (BlockStackElem *)blockStackElemWithBlock:(FSBlock *)theBlock errorStr:(NSString *)theErrorStr firstCharIndex:(NSInteger)first lastCharIndex:(NSInteger)last;
- (FSBlock *)block;
- (void)dealloc;
- (void)encodeWithCoder:(NSCoder *)aCoder;
- (NSString *)errorStr;
- (NSInteger) firstCharIndex;
- (BlockStackElem *)initWithBlock:(FSBlock *)theBlock errorStr:(NSString *)theErrorStr firstCharIndex:(NSInteger)first lastCharIndex:(NSInteger)last;
- (id)initWithCoder:(NSCoder *)aDecoder;
- (NSInteger) lastCharIndex;
@end