GumboDocument(3)

πŸ“¦
version 0.12.1 Β· 4 versions
, in fedora 43

πŸ’– GumboDocument πŸ’–

okay bestie, gather round, because we're talking about GumboDocument(3) from the Gumbo manual and honestly? it's giving main character energy for your whole parse tree. πŸŽ€


✨ NAME ✨

GumboDocument β€” the struct that holds all the deets that are specific to a document node. like, the actual top-level vibe of your whole HTML situation. πŸ‘‘


🌸 SYNOPSIS 🌸

#include <gumbo.h>

πŸ¦‹ Data Fields πŸ¦‹

  • GumboVector children
  • bool has_doctype
  • const char * name
  • const char * public_identifier
  • const char * system_identifier
  • GumboQuirksModeEnum doc_type_quirks_mode

πŸ’… Detailed Description πŸ’…

Information specific to document nodes. that's it, that's the whole vibe β€” this is the lil container that carries the info that only makes sense for a document node and not, like, every other node in the tree. no cap. ✨


πŸ”₯ Field Documentation πŸ”₯

🌈 GumboVector GumboDocument::children

An array of GumboNodes, containing the children of this element. πŸ’ž

This will normally consist of the <html> element and any comment nodes found. πŸ“

Pointers are owned. 🫢 so like, bestie, don't go freeing them yourself, okay? they're spoken for.

⭐ GumboQuirksModeEnum GumboDocument::doc_type_quirks_mode

Whether or not the document is in QuirksMode, as determined by the values in the GumboTokenDocType template. πŸ‘€βœ¨

it's literally the vibe check on your doctype. iconic behaviour honestly. πŸ’…


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Gumbo from the source code. so nobody hand-wrote this, it's just Doxygen doing its lil automatic thing. πŸ€–πŸ’–


and that's the whole page, bestie!! πŸ¦‹ this was Version 0.12.1, dated Fri Sep 19 2025 00:00:00, and yeah the manpage itself is literally titled GumboDocument(3) from the Gumbo manual. slay, go build your parse tree, periodt. πŸ’œπŸŒΈ

πŸ“¦ where this page comes from