|
Gumbo 0.9.2
A C library for parsing HTML.
|
#include <gumbo.h>
Data Structures | |
| union | [union].v |
Data Fields | |
| GumboNodeType | type |
| GumboNode * | parent |
| size_t | index_within_parent |
| GumboParseFlags | parse_flags |
| union | v |
A supertype for GumboElement and GumboText, so that we can include one generic type in lists of children and cast as necessary to subtypes.
Forward declaration of GumboNode so it can be used recursively in GumboNode.parent.
| GumboNodeType GumboNode::type |
The type of node that this is.
| GumboNode* GumboNode::parent |
Pointer back to parent node. Not owned.
| size_t GumboNode::index_within_parent |
The index within the parent's children vector of this node.
| GumboParseFlags GumboNode::parse_flags |
A bitvector of flags containing information about why this element was inserted into the parse tree, including a variety of special parse situations.