forked from nolanw/HTMLReader
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHTMLTreeEnumerator.h
More file actions
Latest commit
18 lines (12 loc) · 564 Bytes
/
Copy pathHTMLTreeEnumerator.h
File metadata and controls
18 lines (12 loc) · 564 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// HTMLTreeEnumerator.h
//
// Public domain. https://github.com/nolanw/HTMLReader
#import"HTMLSupport.h"
@class HTMLNode;
NS_ASSUME_NONNULL_BEGIN
/// An HTMLTreeEnumerator emits HTMLNode instances in tree order (preorder, depth-first) or reverse tree order (preorder, depth-first starting with the last child).
@interfaceHTMLTreeEnumerator : HTMLEnumeratorOf(HTMLNode *)
/// Initializes an enumerator rooted at a particular node.
- (instancetype)initWithNode:(HTMLNode *)nodereversed:(BOOL)reversed NS_DESIGNATED_INITIALIZER;
@end
NS_ASSUME_NONNULL_END