Ruby: pm_heredoc_lex_mode_t Struct Reference

Ruby 3.4.3p32 (2025-04-14 revision d0b7e5b6a04bde21ca483d20a1546b28b401c2d4)

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 88 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 93 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 90 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 99 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 96 of file parser.h.

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

- prism/parser.h