|
ELinks 0.19.1
|
The DOM stack. More...
#include <stack.h>

Data Fields | |
| struct dom_stack_state * | states |
| The states currently on the stack. | |
| size_t | depth |
| The depth of the stack. | |
| unsigned int | flags |
| Flags given to ref:[init_dom_stack]. | |
| struct dom_stack_context ** | contexts |
| Contexts for the pushed and popped nodes. | |
| size_t | contexts_size |
| The number of active contexts. | |
| struct dom_stack_context * | current |
| The current context. | |
The DOM stack.
The DOM stack is a convenient way to traverse DOM trees. Also it maintains needed state info and is therefore also a holder of the current context since the stack is used to when the DOM tree is manipulated.
| struct dom_stack_context** dom_stack::contexts |
Contexts for the pushed and popped nodes.
| size_t dom_stack::contexts_size |
The number of active contexts.
| struct dom_stack_context* dom_stack::current |
The current context.
Only meaningful within dom_stack_callback_T functions.
| size_t dom_stack::depth |
The depth of the stack.
| unsigned int dom_stack::flags |
Flags given to ref:[init_dom_stack].
| struct dom_stack_state* dom_stack::states |
The states currently on the stack.