8 #ifndef hubbub_types_h_ 9 #define hubbub_types_h_ Charset may be changed with further data.
Definition: types.h:24
hubbub_token_type type
The token type.
Definition: types.h:120
hubbub_ns ns
Tag namespace.
Definition: types.h:109
Data for a tag.
Definition: types.h:108
Token data.
Definition: types.h:119
hubbub_string name
Tag name.
Definition: types.h:110
const uint8_t * ptr
Pointer to data.
Definition: types.h:77
Tokeniser string type.
Definition: types.h:76
Data for doctype token.
Definition: types.h:93
hubbub_string value
Attribute value.
Definition: types.h:87
hubbub_string public_id
Doctype public identifier.
Definition: types.h:97
hubbub_string name
Attribute name.
Definition: types.h:86
hubbub_charset_source
Source of charset information, in order of importance A client-dictated charset will override all oth...
Definition: types.h:22
Charset definite.
Definition: types.h:26
bool system_missing
Whether the system id is missing.
Definition: types.h:99
Unknown.
Definition: types.h:23
hubbub_doctype doctype
Definition: types.h:123
size_t len
Byte length of string.
Definition: types.h:78
bool self_closing
Whether the tag can have children.
Definition: types.h:113
struct hubbub_token hubbub_token
Token data.
hubbub_quirks_mode
Quirks mode flag.
Definition: types.h:42
hubbub_token_type
Type of an emitted token.
Definition: types.h:51
hubbub_attribute * attributes
Array of attribute data.
Definition: types.h:112
hubbub_string system_id
Doctype system identifier.
Definition: types.h:100
struct hubbub_string hubbub_string
Tokeniser string type.
hubbub_string comment
Definition: types.h:127
hubbub_string name
Doctype name.
Definition: types.h:94
hubbub_string character
Definition: types.h:129
struct hubbub_doctype hubbub_doctype
Data for doctype token.
hubbub_content_model
Content model flag.
Definition: types.h:32
hubbub_tag tag
Definition: types.h:125
Tag attribute data.
Definition: types.h:84
hubbub_ns
Possible namespaces.
Definition: types.h:63
hubbub_ns ns
Attribute namespace.
Definition: types.h:85
struct hubbub_tag hubbub_tag
Data for a tag.
bool force_quirks
Doctype force-quirks flag.
Definition: types.h:102
struct hubbub_attribute hubbub_attribute
Tag attribute data.
uint32_t n_attributes
Count of attributes.
Definition: types.h:111
bool public_missing
Whether the public id is missing.
Definition: types.h:96