Module tokenizer

Source
Expand description

XML5 tokenizer - converts input into tokens

Re-exportsยง

pub use self::interface::EmptyTag;
pub use self::interface::EndTag;
pub use self::interface::ShortTag;
pub use self::interface::StartTag;

Modulesยง

char_ref ๐Ÿ”’
interface ๐Ÿ”’
qname ๐Ÿ”’
states
Tokenizer states.

Macrosยง

eat ๐Ÿ”’
get_char ๐Ÿ”’
go ๐Ÿ”’
pop_except_from ๐Ÿ”’
sh_trace ๐Ÿ”’
shorthand ๐Ÿ”’

Structsยง

Doctype
A DOCTYPE token. Doctype token in XML5 is rather limited for reasons, such as: security and simplicity. XML5 only supports declaring DTD with name, public identifier and system identifier
Pi
A ProcessingInstruction token.
Tag
XML 5 Tag Token
XmlTokenizer
The Xml tokenizer.
XmlTokenizerOpts
Copy of Tokenizer options, with an impl for Default.

Enumsยง

ProcessResult
The result of a single tokenization operation
TagKind
Tag kind denotes which kind of tag did we encounter.
Token
Describes tokens encountered during parsing of input.

Traitsยง

TokenSink
Types which can receive tokens from the tokenizer.

Functionsยง

option_push ๐Ÿ”’
process_qname ๐Ÿ”’

Type Aliasesยง

LocalName
Namespace
Prefix