Photon 1.0.0
Loading...
Searching...
No Matches
GumboInternalNode Struct Reference

#include <gumbo.h>

Public Attributes

GumboNodeType type
 
GumboNodeparent
 
size_t index_within_parent
 
GumboParseFlags parse_flags
 
union { 
 
   GumboDocument   document 
 
   GumboElement   element 
 
   GumboText   text 
 
v 
 

Detailed Description

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

Member Data Documentation

◆ document

GumboDocument GumboInternalNode::document

◆ element

GumboElement GumboInternalNode::element

◆ index_within_parent

size_t GumboInternalNode::index_within_parent

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

◆ parent

GumboNode* GumboInternalNode::parent

Pointer back to parent node. Not owned.

◆ parse_flags

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.

◆ text

GumboText GumboInternalNode::text

◆ type

GumboNodeType GumboInternalNode::type

The type of node that this is.

◆ [union]

union { ... } GumboInternalNode::v

The actual node data.


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