forked from nolanw/HTMLReader
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHTMLComment.h
More file actions
Latest commit
24 lines (16 loc) · 533 Bytes
/
Copy pathHTMLComment.h
File metadata and controls
24 lines (16 loc) · 533 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// HTMLComment.h
//
// Public domain. https://github.com/nolanw/HTMLReader
#import"HTMLNode.h"
NS_ASSUME_NONNULL_BEGIN
/**
An HTMLComment represents a comment.
For more information, see http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#comments
*/
@interfaceHTMLComment : HTMLNode
/// Initializes a comment with some text.
- (instancetype)initWithData:(NSString *)data NS_DESIGNATED_INITIALIZER;
/// The comment text.
@property (copy, nonatomic) NSString *data;
@end
NS_ASSUME_NONNULL_END