Cogs.Core
Public Attributes | List of all members
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.

Definition at line 519 of file gumbo.h.

Member Data Documentation

◆ document

GumboDocument GumboInternalNode::document

Definition at line 538 of file gumbo.h.

◆ element

GumboElement GumboInternalNode::element

Definition at line 539 of file gumbo.h.

◆ index_within_parent

size_t GumboInternalNode::index_within_parent

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

Definition at line 527 of file gumbo.h.

◆ parent

GumboNode* GumboInternalNode::parent

Pointer back to parent node. Not owned.

Definition at line 524 of file gumbo.h.

◆ 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.

Definition at line 534 of file gumbo.h.

◆ text

GumboText GumboInternalNode::text

Definition at line 540 of file gumbo.h.

◆ type

GumboNodeType GumboInternalNode::type

The type of node that this is.

Definition at line 521 of file gumbo.h.

◆ 

union { ... } GumboInternalNode::v

The actual node data.


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