html5ever - Rust (original) (raw)

html5ever0.31.0

Crate Items

Crate html5ever

Source

Re-exports§

pub use driver::[parse_document](driver/fn.parse%5Fdocument.html "fn html5ever::driver::parse_document");

pub use driver::[parse_fragment](driver/fn.parse%5Ffragment.html "fn html5ever::driver::parse_fragment");

pub use driver::[ParseOpts](driver/struct.ParseOpts.html "struct html5ever::driver::ParseOpts");

pub use driver::[Parser](driver/struct.Parser.html "struct html5ever::driver::Parser");

pub use serialize::[serialize](serialize/fn.serialize.html "fn html5ever::serialize::serialize");

Modules§

buffer_queue

The BufferQueue struct and helper types.

data

driver

High-level interface to the parser.

interface

Types for tag and attribute names, and tree-builder functionality.

serialize

smallcharset

This module contains a single struct SmallCharSet. See its documentation for details.

tendril

tokenizer

The HTML5 tokenizer.

tree_builder

The HTML5 tree builder.

Macros§

expanded_name

Helper to quickly create an expanded name.

local_name

Takes a local name as a string and returns its key in the string cache.

namespace_prefix

Takes a namespace prefix string and returns its key in a string cache.

namespace_url

Takes a namespace url string and returns its key in a string cache.

ns

Maps the input of namespace_prefix! to the output of namespace_url!.

small_char_set

Create a SmallCharSet, with each space-separated number stored in the set.

Structs§

Attribute

A tag attribute, e.g. class="test" in <div class="test" ...>.

ExpandedName

An expanded name, containing the tag and the namespace.

LocalNameStaticSet

NamespaceStaticSet

PrefixStaticSet

QualName

A fully qualified name (with a namespace), used to depict names of tags and attributes.

SmallCharSet

Represents a set of “small characters”, those with Unicode scalar values less than 64.

Enums§

TokenizerResult

Type Aliases§

LocalName

Namespace

Prefix