struct ParsedNode

Defined at line 96 of file ../../zircon/system/ulib/inspect/reader.cc

A ParsedNode contains parsed information for a node. It is built iteratively as children and values are discovered.

A ParsedNode is valid only if it has been initialized with a name and parent index (which happens when its OBJECT_VALUE block is read).

A ParsedNode is "complete" when the number of children in the parsed hierarchy matches an expected count. At this point the Hierarchy may be removed and the ParsedNode discarded.

Members

Functions

InitializeNode

public void InitializeNode( basic_string name, BlockIndex new_parent)

Defined at line 110 of file ../../zircon/system/ulib/inspect/reader.cc

Initializes the stored node with the given name and parent.

operator bool

public bool operator bool()

Defined at line 116 of file ../../zircon/system/ulib/inspect/reader.cc

is_complete

public bool is_complete()

Defined at line 118 of file ../../zircon/system/ulib/inspect/reader.cc