Ruby 3.3.6p108 (2024-11-05 revision 75015d4c1f6965b5e85e96fb309f1f2129f933c0)
|
This struct represents a diagnostic generated during parsing. More...
#include <diagnostic.h>
Data Fields | |
pm_list_node_t | node |
The embedded base node. | |
pm_location_t | location |
The location of the diagnostic in the source. | |
const char * | message |
The message associated with the diagnostic. | |
bool | owned |
Whether or not the memory related to the message of this diagnostic is owned by this diagnostic. | |
![]() | |
struct pm_list_node * | next |
A pointer to the next node in the list. | |
This struct represents a diagnostic generated during parsing.
Definition at line 22 of file diagnostic.h.
pm_location_t pm_diagnostic_t::location |
The location of the diagnostic in the source.
Definition at line 27 of file diagnostic.h.
const char* pm_diagnostic_t::message |
The message associated with the diagnostic.
Definition at line 30 of file diagnostic.h.
Referenced by pm_diagnostic_list_free().
pm_list_node_t pm_diagnostic_t::node |
The embedded base node.
Definition at line 24 of file diagnostic.h.
bool pm_diagnostic_t::owned |
Whether or not the memory related to the message of this diagnostic is owned by this diagnostic.
If it is, it needs to be freed when the diagnostic is freed.
Definition at line 37 of file diagnostic.h.
Referenced by pm_diagnostic_list_free().