Ruby  3.4.0dev (2024-11-22 revision 0989400a925cd201defdca9eb28eb87200b30785)
Data Fields
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. More...
 
pm_location_t location
 The location of the comment in the source. More...
 
pm_comment_type_t type
 The type of comment that we've found. More...
 
- Data Fields inherited from pm_list_node
struct pm_list_nodenext
 A pointer to the next node in the list. More...
 

Detailed Description

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

Definition at line 458 of file parser.h.

Field Documentation

◆ location

pm_location_t pm_comment::location

The location of the comment in the source.

Definition at line 463 of file parser.h.

◆ node

pm_list_node_t pm_comment::node

The embedded base node.

Definition at line 460 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 466 of file parser.h.


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