Hubbub
Data Fields
hubbub_token Struct Reference

Token data. More...

#include <types.h>

Data Fields

hubbub_token_type type
 The token type. More...
 
union {
   hubbub_doctype   doctype
 
   hubbub_tag   tag
 
   hubbub_string   comment
 
   hubbub_string   character
 
data
 Type-specific data. More...
 

Detailed Description

Token data.

Definition at line 119 of file types.h.

Field Documentation

◆ character

hubbub_string hubbub_token::character

◆ comment

hubbub_string hubbub_token::comment

◆ data

union { ... } hubbub_token::data

◆ doctype

hubbub_doctype hubbub_token::doctype

Definition at line 123 of file types.h.

Referenced by emit_current_doctype(), handle_initial(), and hubbub_tokeniser_emit_token().

◆ tag

hubbub_tag hubbub_token::tag

◆ type

hubbub_token_type hubbub_token::type

The documentation for this struct was generated from the following file: