8 #ifndef hubbub_types_h_ 9 #define hubbub_types_h_ Charset may be changed with further data.
hubbub_token_type type
The token type.
hubbub_ns ns
Tag namespace.
hubbub_string name
Tag name.
const uint8_t * ptr
Pointer to data.
hubbub_string value
Attribute value.
hubbub_string public_id
Doctype public identifier.
hubbub_string name
Attribute name.
hubbub_charset_source
Source of charset information, in order of importance A client-dictated charset will override all oth...
bool system_missing
Whether the system id is missing.
size_t len
Byte length of string.
bool self_closing
Whether the tag can have children.
struct hubbub_token hubbub_token
Token data.
hubbub_quirks_mode
Quirks mode flag.
hubbub_token_type
Type of an emitted token.
hubbub_attribute * attributes
Array of attribute data.
hubbub_string system_id
Doctype system identifier.
struct hubbub_string hubbub_string
Tokeniser string type.
hubbub_string name
Doctype name.
struct hubbub_doctype hubbub_doctype
Data for doctype token.
hubbub_content_model
Content model flag.
hubbub_ns
Possible namespaces.
union hubbub_token::@3 data
Type-specific data.
hubbub_ns ns
Attribute namespace.
struct hubbub_tag hubbub_tag
Data for a tag.
bool force_quirks
Doctype force-quirks flag.
struct hubbub_attribute hubbub_attribute
Tag attribute data.
uint32_t n_attributes
Count of attributes.
bool public_missing
Whether the public id is missing.