Hide the "adjusted current node" property from the parser interface
This commit is contained in:
@@ -11,6 +11,5 @@
|
||||
|
||||
@interface HTMLParser : NSObject
|
||||
|
||||
- (HTMLElement *)adjustedCurrentNode;
|
||||
|
||||
@end
|
||||
|
||||
@@ -14,14 +14,15 @@
|
||||
#import "HTMLTokenizerCharacters.h"
|
||||
#import "HTMLTokenizerEntities.h"
|
||||
|
||||
@interface HTMLParser (Private)
|
||||
@property (nonatomic, strong, readonly) HTMLElement *adjustedCurrentNode;
|
||||
@end
|
||||
|
||||
@interface HTMLTokenizer ()
|
||||
{
|
||||
NSMutableDictionary *_states;
|
||||
HTMLTokenizerState _currentState;
|
||||
|
||||
/* Parser */
|
||||
HTMLParser *_parser;
|
||||
|
||||
/* Input Stream & Tokens Queue */
|
||||
HTMLInputStreamReader *_inputStreamReader;
|
||||
NSMutableArray *_tokens;
|
||||
|
||||
Reference in New Issue
Block a user