Hubbub $Id$
Public Attributes | List of all members
hubbub_treebuilder_context Struct Reference

Context for a tree builder. More...

#include <internal.h>

Public Attributes

insertion_mode mode
 The current insertion mode.
 
insertion_mode second_mode
 The secondary insertion mode.
 
element_contextelement_stack
 Stack of open elements.
 
uint32_t stack_alloc
 Number of stack slots allocated.
 
uint32_t current_node
 Index of current node in stack.
 
formatting_list_entryformatting_list
 List of active formatting elements.
 
formatting_list_entryformatting_list_end
 End of active formatting list.
 
void * head_element
 Pointer to HEAD element.
 
void * form_element
 Pointer to most recently opened FORM element.
 
void * document
 Pointer to the document node.
 
bool enable_scripting
 Whether scripting is enabled.
 
struct { 
 
   insertion_mode   mode 
 Insertion mode to return to. More...
 
   element_type   type 
 Type of node. More...
 
collect 
 Context for character collecting.
 
bool strip_leading_lr
 Whether to strip a LR from the start of the next character sequence received.
 
bool in_table_foster
 Whether nodes that would be inserted into the current node should be foster parented.
 
bool frameset_ok
 Whether to process a frameset.
 

Detailed Description

Context for a tree builder.

Member Data Documentation

◆ [struct]

struct { ... } hubbub_treebuilder_context::collect

Context for character collecting.

◆ current_node

uint32_t hubbub_treebuilder_context::current_node

Index of current node in stack.

◆ document

void* hubbub_treebuilder_context::document

Pointer to the document node.

◆ element_stack

element_context* hubbub_treebuilder_context::element_stack

Stack of open elements.

◆ enable_scripting

bool hubbub_treebuilder_context::enable_scripting

Whether scripting is enabled.

◆ form_element

void* hubbub_treebuilder_context::form_element

Pointer to most recently opened FORM element.

◆ formatting_list

formatting_list_entry* hubbub_treebuilder_context::formatting_list

List of active formatting elements.

◆ formatting_list_end

formatting_list_entry* hubbub_treebuilder_context::formatting_list_end

End of active formatting list.

◆ frameset_ok

bool hubbub_treebuilder_context::frameset_ok

Whether to process a frameset.

◆ head_element

void* hubbub_treebuilder_context::head_element

Pointer to HEAD element.

◆ in_table_foster

bool hubbub_treebuilder_context::in_table_foster

Whether nodes that would be inserted into the current node should be foster parented.

◆ mode

insertion_mode hubbub_treebuilder_context::mode

The current insertion mode.

Insertion mode to return to.

◆ second_mode

insertion_mode hubbub_treebuilder_context::second_mode

The secondary insertion mode.

◆ stack_alloc

uint32_t hubbub_treebuilder_context::stack_alloc

Number of stack slots allocated.

◆ strip_leading_lr

bool hubbub_treebuilder_context::strip_leading_lr

Whether to strip a LR from the start of the next character sequence received.

◆ type

element_type hubbub_treebuilder_context::type

Type of node.


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