Files
HTMLKit/HTMLKit/HTMLParseErrorToken.h
T
iska 4592037aba Fix "return" attribute in source code documentation
@returns is ignored by jazzy
2016-01-18 21:48:00 +01:00

37 lines
900 B
Objective-C

//
// HTMLParseErrorToken.h
// HTMLKit
//
// Created by Iska on 23/10/14.
// Copyright (c) 2014 BrainCookie. All rights reserved.
//
///------------------------------------------------------
/// HTMLKit private header
///------------------------------------------------------
#import <Foundation/Foundation.h>
#import "HTMLToken.h"
/**
HTML Parse Error Token
*/
@interface HTMLParseErrorToken : HTMLToken
/** @brief The error's reason message. */
@property (nonatomic, copy) NSString *reason;
/** @brief The error's location in the stream. */
@property (nonatomic, assign) NSUInteger location;
/**
Initializes a new Parse Error token.
@param reason The error's reason message.
@param location The error's location in the stream.
@return A new instance of a parse error token.
*/
- (instancetype)initWithReasonMessage:(NSString *)reason andStreamLocation:(NSUInteger)location;
@end