bobzhang/html_parser/tokenizer does not have a README file
pub(all) struct CommentScanError {
code : String
offset : Int
}pub(all) struct DoctypeExternalError {
code : String
offset : Int
}pub(all) struct DoctypeExternalParse {
public_id : String?
system_id : String?
errors : Array[DoctypeExternalError]
force_quirks : Bool
}pub(all) struct EntityDecodeError {
code : String
offset : Int
}pub(all) enum HtmlToken {
Tag(TagToken)
Characters(String)
CommentToken(String)
DoctypeToken(DoctypeInfo)
Eof
} derive(Eq, Debug)pub(all) struct SpecialTextError {
code : String
offset : Int
}fn consume_named_entity_with_errors(input : StringView, start : Int, in_attribute~ : Bool) -> EntityConsumeResult?fn decode_entities(input : StringView, in_attribute~ : Bool) -> Stringfn doctype_eof_error_offset(input : StringView) -> Intfn find_matching_end_tag(input : StringView, start : Int, name : StringView) -> Int?fn html_numeric_entity_replacement(value : Int) -> Intfn is_tag_name_end(ch : Char) -> Boolfn is_tag_name_start(ch : Char) -> Boolfn legacy_entity_blocked_in_attribute(input : StringView, next : Int, in_attribute~ : Bool) -> Boolfn matching_end_tag_error_pos(input : StringView, start : Int) -> Intfn normalize_doctype_value(input : StringView, start : Int, end : Int, errors : Array[DoctypeExternalError]) -> Stringfn parse_lower_name_value_replacing_nulls(input : StringView, start : Int, end : Int) -> (String, Array[DoctypeExternalError])fn parse_quoted_doctype_value_at(input : StringView, start : Int, errors : Array[DoctypeExternalError]) -> (String?, Int, Bool)fn special_text_decodes_entities(name : StringView) -> BoolMoonBit HTML parser and sanitizer ported from JustHTML.
Dependencies