7#ifndef LEXBOR_HTML_TOKEN_H
8#define LEXBOR_HTML_TOKEN_H
void * lexbor_dobject_calloc(lexbor_dobject_t *dobject)
struct lxb_dom_document_type lxb_dom_document_type_t
memset(ptr, 0, type->size)
struct lxb_html_tokenizer lxb_html_tokenizer_t
LXB_API lxb_status_t lxb_html_token_data_skip_one_newline_begin(lxb_html_token_t *token)
LXB_API lxb_status_t lxb_html_token_make_text(lxb_html_token_t *token, lexbor_str_t *str, lexbor_mraw_t *mraw)
LXB_API lxb_html_token_t * lxb_html_token_create_eof_noi(lexbor_dobject_t *dobj)
LXB_API lxb_html_token_t * lxb_html_token_destroy(lxb_html_token_t *token, lexbor_dobject_t *dobj)
int lxb_html_token_type_t
LXB_API lxb_status_t lxb_html_token_doctype_parse(lxb_html_token_t *token, lxb_dom_document_type_t *doc_type)
LXB_API lxb_status_t lxb_html_token_data_split_ws_begin(lxb_html_token_t *token, lxb_html_token_t *ws_token)
LXB_API lxb_html_token_attr_t * lxb_html_token_attr_append(lxb_html_token_t *token, lexbor_dobject_t *dobj)
LXB_API void lxb_html_token_clean_noi(lxb_html_token_t *token)
lxb_inline lxb_html_token_t * lxb_html_token_create_eof(lexbor_dobject_t *dobj)
LXB_API lxb_html_token_attr_t * lxb_html_token_find_attr(lxb_html_tokenizer_t *tkz, lxb_html_token_t *token, const lxb_char_t *name, size_t name_len)
@ LXB_HTML_TOKEN_TYPE_DONE
@ LXB_HTML_TOKEN_TYPE_CLOSE
@ LXB_HTML_TOKEN_TYPE_OPEN
@ LXB_HTML_TOKEN_TYPE_FORCE_QUIRKS
@ LXB_HTML_TOKEN_TYPE_CLOSE_SELF
LXB_API lxb_status_t lxb_html_token_data_skip_ws_begin(lxb_html_token_t *token)
lxb_inline void lxb_html_token_clean(lxb_html_token_t *token)
LXB_API void lxb_html_token_attr_remove(lxb_html_token_t *token, lxb_html_token_attr_t *attr)
LXB_API lxb_status_t lxb_html_token_make_text_replace_null(lxb_html_token_t *token, lexbor_str_t *str, lexbor_mraw_t *mraw)
LXB_API lxb_status_t lxb_html_token_make_text_drop_null(lxb_html_token_t *token, lexbor_str_t *str, lexbor_mraw_t *mraw)
LXB_API lxb_html_token_t * lxb_html_token_create(lexbor_dobject_t *dobj)
LXB_API void lxb_html_token_attr_delete(lxb_html_token_t *token, lxb_html_token_attr_t *attr, lexbor_dobject_t *dobj)
lxb_html_token_type_t type
const lxb_char_t * text_end
const lxb_char_t * text_start
lxb_html_token_attr_t * attr_first
lxb_html_token_attr_t * attr_last
struct lxb_html_token_attr lxb_html_token_attr_t
unsigned int lxb_status_t