Ruby 4.1.0dev (2026-03-06 revision 407dd02c1b52b05ba55a179554b29a14e44a4b82)
Data Fields
pm_heredoc_lex_mode_t Struct Reference

All of the information necessary to store to lexing a heredoc. More...

#include <parser.h>

Data Fields

const uint8_t * ident_start
 A pointer to the start of the heredoc identifier.
 
size_t ident_length
 The length of the heredoc identifier.
 
pm_heredoc_quote_t quote
 The type of quote that the heredoc uses.
 
pm_heredoc_indent_t indent
 The type of indentation that the heredoc uses.
 

Detailed Description

All of the information necessary to store to lexing a heredoc.

Definition at line 89 of file parser.h.

Field Documentation

◆ ident_length

size_t pm_heredoc_lex_mode_t::ident_length

The length of the heredoc identifier.

Definition at line 94 of file parser.h.

◆ ident_start

const uint8_t* pm_heredoc_lex_mode_t::ident_start

A pointer to the start of the heredoc identifier.

Definition at line 91 of file parser.h.

◆ indent

pm_heredoc_indent_t pm_heredoc_lex_mode_t::indent

The type of indentation that the heredoc uses.

Definition at line 100 of file parser.h.

◆ quote

pm_heredoc_quote_t pm_heredoc_lex_mode_t::quote

The type of quote that the heredoc uses.

Definition at line 97 of file parser.h.


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