Add class stub for HTML Element
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user