8#ifndef hubbub_treebuilder_treebuilder_h_
9#define hubbub_treebuilder_treebuilder_h_
hubbub_error
Definition: errors.h:18
void(* hubbub_error_handler)(uint32_t line, uint32_t col, const char *message, void *pw)
Type of parse error handling function.
Definition: functypes.h:40
Tokeniser data structure.
Definition: tokeniser.c:165
Hubbub tree handler.
Definition: tree.h:273
Treebuilder object.
Definition: internal.h:92
hubbub_treebuilder_opttype
Hubbub treebuilder option types.
Definition: treebuilder.h:26
@ HUBBUB_TREEBUILDER_DOCUMENT_NODE
Definition: treebuilder.h:29
@ HUBBUB_TREEBUILDER_ENABLE_SCRIPTING
Definition: treebuilder.h:30
@ HUBBUB_TREEBUILDER_TREE_HANDLER
Definition: treebuilder.h:28
@ HUBBUB_TREEBUILDER_ERROR_HANDLER
Definition: treebuilder.h:27
hubbub_error hubbub_treebuilder_create(hubbub_tokeniser *tokeniser, hubbub_treebuilder **treebuilder)
Create a hubbub treebuilder.
Definition: treebuilder.c:31
hubbub_error hubbub_treebuilder_setopt(hubbub_treebuilder *treebuilder, hubbub_treebuilder_opttype type, hubbub_treebuilder_optparams *params)
Configure a hubbub treebuilder.
Definition: treebuilder.c:169
union hubbub_treebuilder_optparams hubbub_treebuilder_optparams
Hubbub treebuilder option parameters.
hubbub_error hubbub_treebuilder_destroy(hubbub_treebuilder *treebuilder)
Destroy a hubbub treebuilder.
Definition: treebuilder.c:92
Hubbub treebuilder option parameters.
Definition: treebuilder.h:36
bool enable_scripting
Enable scripting.
Definition: treebuilder.h:46
hubbub_tree_handler * tree_handler
Tree handling callbacks.
Definition: treebuilder.h:42
void * document_node
The document node.
Definition: treebuilder.h:44
struct hubbub_treebuilder_optparams::@10 error_handler
Error handling callback.
void * pw
Definition: treebuilder.h:39
hubbub_error_handler handler
Definition: treebuilder.h:38