Ruby 4.1.0dev (2026-11-10 revision 09658e85dc51184db6df11e142dc3eeabfdbdcd0)
Data Fields
pm_serialize_entry_t Struct Reference

An entry on the serialization stack. More...

Data Fields

const pm_node_t * node
 The node to serialize, for NODE entries.
 
size_t offset
 For NODE entries, the offset of the placeholders that follow the node's lazy marker.
 
pm_serialize_entry_kind_t kind
 The kind of this entry.
 
bool visited
 Whether the children of this node have already been pushed.
 

Detailed Description

An entry on the serialization stack.

Definition at line 103 of file serialize.c.

Field Documentation

◆ kind

pm_serialize_entry_kind_t pm_serialize_entry_t::kind

The kind of this entry.

Definition at line 115 of file serialize.c.

◆ node

const pm_node_t* pm_serialize_entry_t::node

The node to serialize, for NODE entries.

Definition at line 105 of file serialize.c.

◆ offset

size_t pm_serialize_entry_t::offset

For NODE entries, the offset of the placeholders that follow the node's lazy marker.

For LAZY_* entries, the index of the NODE entry that owns them, which stays valid because that entry is beneath them.

Definition at line 112 of file serialize.c.

◆ visited

bool pm_serialize_entry_t::visited

Whether the children of this node have already been pushed.

Definition at line 118 of file serialize.c.


The documentation for this struct was generated from the following file: