Ruby: Data Fields

Ruby 3.4.5p51 (2025-07-16 revision 20cda200d3ce092571d0b5d342dadca69636cb0f)

Here is a list of all documented struct and union fields with links to the struct/union documentation for each field:

### - s -

- scopes : pm_options
- scopes_count : pm_options
- script_lines : pm_scope_node
- seed : rb_random_struct
- segments : iseq_inline_constant_cache
- self : rb_io
- semantic_token_seen : pm_parser
- shape : rb_memory_view_t
- shareable_constant : pm_scope
- shared : parse_regular_expression_error_data_t, parse_regular_expression_named_capture_data_t, RString
- shared_root : RArray
- shebang_callback : pm_options
- shebang_callback_data : pm_options
- size : pm_constant_id_list_t, pm_constant_pool_t, pm_list_t, pm_locals, pm_newline_list_t, pm_node_hash_t, pm_node_list, rb_memory_view_item_component_t
- source : pm_string_t
- source_encoding_node : pm_static_literals_t
- src : RRegexp
- stack : pm_parser
- start : parse_regular_expression_error_data_t, pm_constant_t, pm_location_t, pm_newline_list_t, pm_parser, pm_regexp_parser_t, pm_token_t
- start_line : pm_parser, pm_static_literals_metadata_t
- statements : pm_begin_node, pm_else_node, pm_embedded_statements_node, pm_ensure_node, pm_for_node, pm_if_node, pm_in_node, pm_post_execution_node, pm_pre_execution_node, pm_program_node, pm_rescue_node, pm_unless_node, pm_until_node, pm_when_node, pm_while_node
- stdio_file : rb_io
- step : rb_arithmetic_sequence_components_t
- str : RMatch
- strides : rb_memory_view_t
- string_nodes : pm_static_literals_t
- sub_offsets : rb_memory_view_t
- subsequent : pm_if_node, pm_rescue_node
- superclass : pm_class_node
- symbol_nodes : pm_static_literals_t