Ruby 3.3.7p123 (2025-01-15 revision be31f993d7fa0219d85f7b3c694d454da4ecc10b)
pm_comment Struct Reference

This is a node in the linked list of comments that we've found while parsing. More...

#include <parser.h>

Data Fields

pm_list_node_t node
 The embedded base node.
 
pm_location_t location
 The location of the comment in the source.
 
pm_comment_type_t type
 The type of comment that we've found.
 
- Data Fields inherited from pm_list_node
struct pm_list_nodenext
 A pointer to the next node in the list.
 

Detailed Description

This is a node in the linked list of comments that we've found while parsing.

Definition at line 387 of file parser.h.

Field Documentation

◆ location

pm_location_t pm_comment::location

The location of the comment in the source.

Definition at line 392 of file parser.h.

◆ node

pm_list_node_t pm_comment::node

The embedded base node.

Definition at line 389 of file parser.h.

Referenced by pm_serialize_comment_list().

◆ type

pm_comment_type_t pm_comment::type

The type of comment that we've found.

Definition at line 395 of file parser.h.


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