GumboOutput

The output struct containing the results of the parse.

Members

Variables

document
GumboNode* document;

Pointer to the document node. This is a GumboNode of type NODE_DOCUMENT that contains the entire document as its child.

errors
GumboVector errors;

A list of errors that occurred during the parse. 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.

root
GumboNode* root;

Pointer to the root node. This the <html> tag that forms the root of the document.

Meta