Photon 1.0.0
|
#include <gumbo.h>
Public Attributes | ||
GumboNodeType | type | |
GumboNode * | parent | |
size_t | index_within_parent | |
GumboParseFlags | parse_flags | |
union { | ||
GumboDocument document | ||
GumboElement element | ||
GumboText text | ||
} | 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.
GumboDocument GumboInternalNode::document |
GumboElement GumboInternalNode::element |
size_t GumboInternalNode::index_within_parent |
The index within the parent's children vector of this node.
GumboNode* GumboInternalNode::parent |
Pointer back to parent node. Not owned.
GumboParseFlags GumboInternalNode::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.
GumboText GumboInternalNode::text |
GumboNodeType GumboInternalNode::type |
The type of node that this is.
union { ... } GumboInternalNode::v |
The actual node data.