Enum lib_ruby_parser::source::MagicCommentKind [−][src]
#[repr(C)]
pub enum MagicCommentKind {
Encoding,
FrozenStringLiteral,
WarnIndent,
ShareableConstantValue,
}
Expand description
An enum of all magic comment kinds
Variants
Encoding
# encoding: ... comment
FrozenStringLiteral
# frozen_string_literal: true/false
comment
WarnIndent
# warn_indent: true/false
comment
ShareableConstantValue
# shareable_constant_value: ...
comment
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MagicCommentKind
impl Send for MagicCommentKind
impl Sync for MagicCommentKind
impl Unpin for MagicCommentKind
impl UnwindSafe for MagicCommentKind
Blanket Implementations
Mutably borrows from an owned value. Read more