Ruby: Data Fields

Ruby 4.0.6p0 (2026-07-14 revision 03b6d3f8898a28604fe6cb00eae3226b821168f4)

Here is a list of all documented struct and union fields with links to the struct/union documentation for each field:
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
_

### - l -

- label_allowed : pm_lex_mode
- lambda_enclosure_nesting : pm_parser
- left : pm_alternation_pattern_node, pm_and_node, pm_binding_powers_t, pm_find_pattern_node, pm_flip_flop_node, pm_or_node, pm_range_node
- lefts : pm_multi_target_node, pm_multi_write_node
- len : RArray, rb_io_internal_buffer, RString
- length : pm_buffer_t, pm_constant_t, pm_integer_t, pm_string_t, rb_memory_view_t
- level : pm_diagnostic_data_t, pm_diagnostic_t
- lex_callback : pm_parser
- lex_modes : pm_parser
- lex_state : pm_parser
- line : pm_line_column_t, pm_node_location_t, pm_options, pm_parse_error_t
- line_continuation : pm_lex_mode
- lineno : rb_io
- little_endian_p : rb_memory_view_item_component_t
- locals : pm_block_node, pm_block_parameters_node, pm_class_node, pm_def_node, pm_lambda_node, pm_locals, pm_module_node, pm_options_scope, pm_program_node, pm_scope, pm_singleton_class_node
- locals_count : pm_options_scope
- location : pm_comment, pm_diagnostic_t, pm_local_t, pm_node
- lparen_loc : pm_def_node, pm_defined_node, pm_multi_target_node, pm_multi_write_node, pm_pinned_expression_node, pm_super_node, pm_yield_node