Enum lib_ruby_parser::source::CommentType [−][src]
#[repr(C)]
pub enum CommentType {
Inline,
Document,
Unknown,
}Expand description
Enum of all possible comment types
Variants
Inline comment like
# comment
Document comment like
=begin
comment
=end
Uknknown comment type,
most probably means that either Loc or given Input is invalid
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CommentTypeimpl Send for CommentTypeimpl Sync for CommentTypeimpl Unpin for CommentTypeimpl UnwindSafe for CommentTypeBlanket Implementations
Mutably borrows from an owned value. Read more