Ruby 4.1.0dev (2026-10-21 revision 536dc6f98b72e6999a84bb6373562c43cb1ddf8a)
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 104 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 116 of file serialize.c.

◆ node

const pm_node_t* pm_serialize_entry_t::node

The node to serialize, for NODE entries.

Definition at line 106 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 113 of file serialize.c.

◆ visited

bool pm_serialize_entry_t::visited

Whether the children of this node have already been pushed.

Definition at line 119 of file serialize.c.


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