GumboNode

A supertype for GumboElement and GumboText, so that we can include one generic type in lists of children and cast as necessary to subtypes.

Members

Variables

index_within_parent
size_t index_within_parent;

The index within the parent's children vector of this node.

parent
GumboNode* parent;

Pointer back to parent node. Not owned.

parse_flags
GumboParseFlags 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.

type
GumboNodeType type;

The type of node that this is.

v
NodeData v;
Undocumented in source.

Meta