236 uint32_t n_attributes);
259 const char *encname);
hubbub_error(* hubbub_tree_has_children)(void *ctx, void *node, bool *result)
Determine if a node has children.
hubbub_tree_create_doctype create_doctype
Create doctype.
void * ctx
Context pointer.
hubbub_error(* hubbub_tree_form_associate)(void *ctx, void *form, void *node)
Associate a node with a form.
hubbub_tree_form_associate form_associate
Form associate.
hubbub_error(* hubbub_tree_get_parent)(void *ctx, void *node, bool element_only, void **result)
Retrieve the parent of a node.
hubbub_error(* hubbub_tree_append_child)(void *ctx, void *parent, void *child, void **result)
Append a node to the end of another's child list.
hubbub_error(* hubbub_tree_clone_node)(void *ctx, void *node, bool deep, void **result)
Clone a node.
hubbub_error(* hubbub_tree_set_quirks_mode)(void *ctx, hubbub_quirks_mode mode)
Notification of the quirks mode of a document.
hubbub_error(* hubbub_tree_create_text)(void *ctx, const hubbub_string *data, void **result)
Create a text node.
hubbub_error(* hubbub_tree_encoding_change)(void *ctx, const char *encname)
Notification that a potential encoding change is required.
hubbub_error(* hubbub_tree_add_attributes)(void *ctx, void *node, const hubbub_attribute *attributes, uint32_t n_attributes)
Add attributes to a node.
hubbub_error(* hubbub_tree_ref_node)(void *ctx, void *node)
Increase a node's reference count.
hubbub_error(* hubbub_tree_complete_script)(void *ctx, void *script)
Complete script processing.
hubbub_error(* hubbub_tree_reparent_children)(void *ctx, void *node, void *new_parent)
Move all the children of one node to another.
hubbub_tree_encoding_change encoding_change
Change encoding.
hubbub_tree_clone_node clone_node
Clone node.
hubbub_error(* hubbub_tree_create_comment)(void *ctx, const hubbub_string *data, void **result)
Create a comment node.
hubbub_quirks_mode
Quirks mode flag.
hubbub_tree_create_comment create_comment
Create comment.
hubbub_error(* hubbub_tree_remove_child)(void *ctx, void *parent, void *child, void **result)
Remove a node from another's child list.
hubbub_tree_remove_child remove_child
Remove child.
hubbub_tree_reparent_children reparent_children
Reparent children.
hubbub_error(* hubbub_tree_unref_node)(void *ctx, void *node)
Decrease a node's reference count.
hubbub_tree_ref_node ref_node
Reference node.
hubbub_error(* hubbub_tree_create_element)(void *ctx, const hubbub_tag *tag, void **result)
Create an element node.
hubbub_tree_get_parent get_parent
Get parent.
hubbub_tree_unref_node unref_node
Unreference node.
hubbub_tree_set_quirks_mode set_quirks_mode
Set quirks mode.
hubbub_tree_create_element create_element
Create element.
hubbub_tree_insert_before insert_before
Insert before.
hubbub_tree_add_attributes add_attributes
Add attributes.
hubbub_tree_create_text create_text
Create text.
hubbub_tree_complete_script complete_script
Script Complete.
hubbub_error(* hubbub_tree_insert_before)(void *ctx, void *parent, void *child, void *ref_child, void **result)
Insert a node into another's child list.
struct hubbub_tree_handler hubbub_tree_handler
Hubbub tree handler.
hubbub_tree_append_child append_child
Append child.
hubbub_tree_has_children has_children
Has children?
hubbub_error(* hubbub_tree_create_doctype)(void *ctx, const hubbub_doctype *doctype, void **result)
Create a doctype node.