@@ -177,10 +177,20 @@ * The delegate that is used by the XML parser. */ @property OF_NULLABLE_PROPERTY (assign, nonatomic) id delegate; +/*! + * The current line number. + */ +@property (readonly, nonatomic) size_t lineNumber; + +/*! + * @return Whether the XML parser has finished parsing. + */ +@property (readonly, nonatomic) bool hasFinishedParsing; + /*! * The depth limit for the XML parser. * * If the depth limit is exceeded, an OFMalformedXMLException is thrown. * @@ -224,22 +234,8 @@ * * @param path The path to the file to parse */ - (void)parseFile: (OFString *)path; #endif - -/*! - * @brief Returns the current line number. - * - * @return The current line number - */ -- (size_t)lineNumber; - -/*! - * @brief Returns whether the XML parser has finished parsing. - * - * @return Whether the XML parser has finished parsing - */ -- (bool)hasFinishedParsing; @end OF_ASSUME_NONNULL_END