commonMain.moe.tlaster.ktml.parser.error.Error.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ktml-jvm Show documentation
Show all versions of ktml-jvm Show documentation
Html parser for Kotlin Multiplatform
package moe.tlaster.ktml.parser.error
internal sealed interface Error {
val position: Int
}
internal sealed interface ParserError : Error
internal data class UnexpectedNullCharacterError(override val position: Int) : ParserError
internal data class UnexpectedQuestionMarkInsteadOfTagName(override val position: Int) : ParserError
internal data class InvalidFirstCharacterOfTagName(override val position: Int) : ParserError
internal data class MissingEndTagName(override val position: Int) : ParserError
internal data class EndBeforeTagName(override val position: Int) : ParserError
internal data class EofInTag(override val position: Int) : ParserError
internal data class EofInScriptHtmlCommentLikeText(override val position: Int) : ParserError
internal data class UnexpectedEqualsSignBeforeAttributeName(override val position: Int) : ParserError
internal data class UnexpectedCharacterInAttributeName(override val position: Int) : ParserError
internal data class MissingAttributeValue(override val position: Int) : ParserError
internal data class UnexpectedCharacterInUnquotedAttributeValue(override val position: Int) : ParserError
internal data class MissingWhitespaceBetweenAttributes(override val position: Int) : ParserError
internal data class UnexpectedSolidusInTag(override val position: Int) : ParserError
internal data class IncorrectlyOpenedComment(override val position: Int) : ParserError
internal data class IncorrectlyClosedComment(override val position: Int) : ParserError
internal data class AbruptClosingOfEmptyComment(override val position: Int) : ParserError
internal data class EofInComment(override val position: Int) : ParserError
internal data class NestedComment(override val position: Int) : ParserError
internal data class EofInDoctype(override val position: Int) : ParserError
internal data class MissingWhitespaceBeforeDoctypeName(override val position: Int) : ParserError
internal data class MissingDoctypeName(override val position: Int) : ParserError
internal data class InvalidCharacterSequenceAfterDoctypeName(override val position: Int) : ParserError
internal data class MissingWhitespaceAfterDoctypePublicKeyword(override val position: Int) : ParserError
internal data class MissingWhitespaceAfterDoctypeSystemKeyword(override val position: Int) : ParserError
internal data class MissingDoctypePublicIdentifier(override val position: Int) : ParserError
internal data class MissingDoctypeSystemIdentifier(override val position: Int) : ParserError
internal data class MissingQuoteBeforeDoctypePublicIdentifier(override val position: Int) : ParserError
internal data class MissingQuoteBeforeDoctypeSystemIdentifier(override val position: Int) : ParserError
internal data class AbruptDoctypePublicIdentifier(override val position: Int) : ParserError
internal data class AbruptDoctypeSystemIdentifier(override val position: Int) : ParserError
internal data class MissingWhitespaceBetweenDoctypePublicAndSystemIdentifiers(override val position: Int) : ParserError
internal data class UnexpectedCharacterAfterDoctypeSystemIdentifier(override val position: Int) : ParserError
internal data class EofInCdata(override val position: Int) : ParserError
internal data class MissingSemicolonAfterCharacterReference(override val position: Int) : ParserError
internal data class UnkonwnNamedCharacterReference(override val position: Int) : ParserError
internal data class AbsenceOfDigitInNumericCharacterReference(override val position: Int) : ParserError
internal data class NullCharacterReference(override val position: Int) : ParserError
internal data class CharacterReferenceOutOfRange(override val position: Int) : ParserError
internal data class CharacterReferenceSurrogate(override val position: Int) : ParserError
internal data class NonCharacterCharacterReference(override val position: Int) : ParserError
internal data class ControlCharacterReference(override val position: Int) : ParserError
© 2015 - 2025 Weber Informatics LLC | Privacy Policy