Struct lib_ruby_parser::source::Comment [−][src]
#[repr(C)]pub struct Comment {
pub location: Loc,
pub kind: CommentType,
}Expand description
A struct that represents a comment in Ruby
Fields
location: LocLocation of the comment (starts with # and ends with the last char)
kind: CommentTypeKind of the comment
Implementations
Constructs a new comment by Loc and Input
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Comment
impl UnwindSafe for Comment
Blanket Implementations
Mutably borrows from an owned value. Read more