GumboOutput(3)

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

✨ NAME ✨

GumboOutput β€” bestie, it's the output struct πŸ’– the one that holds all the results of the parse. Like, the whole vibe of your parsing sesh lives in here.


🌸 SYNOPSIS 🌸

#include <gumbo.h>

πŸŽ€ Data Fields

  • GumboNode * document
  • GumboNode * root
  • GumboVector errors

πŸ’… Detailed Description

So basically? This is the output struct that contains the results of the parse. It's giving "here's everything that came out of your HTML, wrapped up cute." 🫢


πŸ‘‘ Field Documentation πŸ‘‘

GumboNode* GumboOutput::document

Pointer to the document node. This is a GumboNode of type NODE_DOCUMENT that contains the entire document as its child. Like, the whole thing, nested inside. It's the mother of all nodes, fr fr πŸ’–

GumboNode* GumboOutput::root

Pointer to the root node. This is the <html> tag that forms the root of the document. The main character of your markup πŸŽ€

GumboVector GumboOutput::errors

A list of errors that occurred during the parse. Iconic in theory, a little underbaked in practice.

NOTE: In version 1.0 of this library, the API for errors hasn't been fully fleshed out and may change in the future. For this reason, the GumboError header isn't part of the public API. Contact us if you need errors reported so we can work out something appropriate for your use-case.

Translation bestie: do NOT build your whole app around this errors API yet, it might shift under you 😭. If you need real error reporting, hmu and we'll figure out a use-case that slaps.


🌈 Author 🌈

Generated automatically by Doxygen for Gumbo from the source code. Not a human, just a robot doing its lil thing πŸ€–βœ¨


Okay that's the whole page, mwah πŸ’‹ this was Version 0.12.1, dated Fri Sep 19 2025 00:00:00, from the Gumbo manual. Go parse something iconic, GumboOutput(3) out πŸ¦‹

πŸ“¦ where this page comes from