Hide the "adjusted current node" property from the parser interface

This commit is contained in:
iska
2015-03-15 22:41:37 +01:00
parent 7f52c80ff7
commit c90e13481c
2 changed files with 4 additions and 4 deletions
-1
View File
@@ -11,6 +11,5 @@
@interface HTMLParser : NSObject
- (HTMLElement *)adjustedCurrentNode;
@end
+4 -3
View File
@@ -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;