Add class stub for HTML Element

This commit is contained in:
iska
2014-10-05 15:35:41 +02:00
parent 1043b5dabd
commit 22131d5ef1
3 changed files with 40 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
//
// HTMLElement.h
// HTMLKit
//
// Created by Iska on 05/10/14.
// Copyright (c) 2014 BrainCookie. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface HTMLElement : NSObject
@end
+13
View File
@@ -0,0 +1,13 @@
//
// HTMLElement.m
// HTMLKit
//
// Created by Iska on 05/10/14.
// Copyright (c) 2014 BrainCookie. All rights reserved.
//
#import "HTMLElement.h"
@implementation HTMLElement
@end
+14
View File
@@ -7,6 +7,20 @@
//
#import "HTMLParser.h"
#import "HTMLParserInsertionModes.h"
#import "HTMLElement.h"
@interface HTMLParser ()
{
HTMLInsertionMode _insertionMode;
HTMLInsertionMode _originalInsertionMode;
NSMutableArray *_stackOfOpenElements;
HTMLElement *_context;
HTMLElement *_currentElement;
}
@end
@implementation HTMLParser