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