Type Alias ruby_prism_sys::pm_comment_t

source ·
pub type pm_comment_t = pm_comment;
Expand description

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

@extends pm_list_node_t

Aliased Type§

struct pm_comment_t {
    pub node: pm_list_node,
    pub location: pm_location_t,
    pub type_: pm_comment_type_t,
}

Fields§

§node: pm_list_node

The embedded base node.

§location: pm_location_t

The location of the comment in the source.

§type_: pm_comment_type_t

The type of comment that we’ve found.