GumboOutput(3)
β¨ 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 * documentGumboNode * rootGumboVector 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
- fedora 43: gumbo-parser-devel 1:0.12.1-7.fc43 Β· Apache-2.0
- fedora 43: gumbo-parser-devel 1:0.12.1-7.fc43 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms