/// Get the kind as a descriptive string.
Get the kind as a descriptive string.
Get the kind as a descriptive string .
fn as_str(self) -> &'static str {
        match self {
            Self::Eof => "eof",
            Self::Error => "error",
            Self::Close(delimiter) => delimiter.close(),
            Self::Open(delimiter) => delimiter.open(),
            Self::Ident(..) => "ident",
            Self::Label(..) => "label",
            Self::Byte { .. } => "byte",
            Self::ByteStr { .. } => "byte string",
            Self::Char { .. } => "char",
            Self::Number { .. } => "number",
            Self::Str { .. } => "string",
            Self::Abstract => "abstract",
            Self::AlignOf => "alignof",
            Self::Amp => "&",
            Self::AmpAmp => "&&",
            Self::AmpEq => "&=",
            Self::Arrow => "->",
            Self::As => "as",
            Self::Async => "async",
            Self::At => "@",
            Self::Await => "await",
            Self::Bang => "!",
            Self::BangEq => "!=",
            Self::Become => "become",
            Self::Break => "break",
            Self::Caret => "^",
            Self::CaretEq => "^=",
            Self::Colon => ":",
            Self::ColonColon => "::",
            Self::Comma => ",",
            Self::Const => "const",
            Self::Continue => "continue",
            Self::Crate => "crate",
            Self::Dash => "-",
            Self::DashEq => "-=",
            Self::Default => "default",
            Self::Div => "/",
            Self::Do => "do",
            Self::Dollar => "$",
            Self::Dot => ".",
            Self::DotDot => "..",
            Self::DotDotEq => "..=",
            Self::Else => "else",
            Self::Enum => "enum",
            Self::Eq => "=",
            Self::EqEq => "==",
            Self::Extern => "extern",
            Self::False => "false",
            Self::Final => "final",
            Self::Fn => "fn",
            Self::For => "for",
            Self::Gt => ">",
            Self::GtEq => ">=",
            Self::GtGt => ">>",
            Self::GtGtEq => ">>=",
            Self::If => "if",
            Self::Impl => "impl",
            Self::In => "in",
            Self::Is => "is",
            Self::Let => "let",
            Self::Loop => "loop",
            Self::Lt => "<",
            Self::LtEq => "<=",
            Self::LtLt => "<<",
            Self::LtLtEq => "<<=",
            Self::Macro => "macro",
            Self::Match => "match",
            Self::Mod => "mod",
            Self::Move => "move",
            Self::Not => "not",
            Self::OffsetOf => "offsetof",
            Self::Override => "override",
            Self::Perc => "%",
            Self::PercEq => "%=",
            Self::Pipe => "|",
            Self::PipeEq => "|=",
            Self::PipePipe => "||",
            Self::Plus => "+",
            Self::PlusEq => "+=",
            Self::Pound => "#",
            Self::Priv => "priv",
            Self::Proc => "proc",
            Self::Pub => "pub",
            Self::Pure => "pure",
            Self::QuestionMark => "?",
            Self::Ref => "ref",
            Self::Return => "return",
            Self::Rocket => "=>",
            Self::Select => "select",
            Self::SelfType => "Self",
            Self::SelfValue => "self",
            Self::SemiColon => ";",
            Self::SizeOf => "sizeof",
            Self::SlashEq => "/=",
            Self::Star => "*",
            Self::StarEq => "*=",
            Self::Static => "static",
            Self::Struct => "struct",
            Self::Super => "super",
            Self::Tilde => "~",
            Self::True => "true",
            Self::TypeOf => "typeof",
            Self::Underscore => "_",
            Self::Unsafe => "unsafe",
            Self::Use => "use",
            Self::Virtual => "virtual",
            Self::While => "while",
            Self::Yield => "yield",
        }
    }
fn as_str ( self ) -> & ' static str { match self { Self :: Eof => " " , Self :: Error => " " , Self :: Close ( delimiter ) => delimiter . close ( ) , Self :: Open ( delimiter ) => delimiter . open ( ) , Self :: Ident ( .. ) => " " , Self :: Label ( .. ) => " " , Self :: Byte { .. } => " " , Self :: ByteStr { .. } => " " , Self :: Char { .. } => " " , Self :: Number { .. } => " " , Self :: Str { .. } => " " , Self :: Abstract => " " , Self :: AlignOf => " " , Self :: Amp => " " , Self :: AmpAmp => " " , Self :: AmpEq => " " , Self :: Arrow => " " , Self :: As => " " , Self :: Async => " " , Self :: At => " " , Self :: Await => " " , Self :: Bang => " " , Self :: BangEq => " " , Self :: Become => " " , Self :: Break => " " , Self :: Caret => " " , Self :: CaretEq => " " , Self :: Colon => " " , Self :: ColonColon => " " , Self :: Comma => " " , Self :: Const => " " , Self :: Continue => " " , Self :: Crate => " " , Self :: Dash => " " , Self :: DashEq => " " , Self :: Default => " " , Self :: Div => " " , Self :: Do => " " , Self :: Dollar => " " , Self :: Dot => " " , Self :: DotDot => " " , Self :: DotDotEq => " " , Self :: Else => " " , Self :: Enum => " " , Self :: Eq => " " , Self :: EqEq => " " , Self :: Extern => " " , Self :: False => " " , Self :: Final => " " , Self :: Fn => " " , Self :: For => " " , Self :: Gt => " " , Self :: GtEq => " " , Self :: GtGt => " " , Self :: GtGtEq => " " , Self :: If => " " , Self :: Impl => " " , Self :: In => " " , Self :: Is => " " , Self :: Let => " " , Self :: Loop => " " , Self :: Lt => " " , Self :: LtEq => " " , Self :: LtLt => " " , Self :: LtLtEq => " " , Self :: Macro => " " , Self :: Match => " " , Self :: Mod => " " , Self :: Move => " " , Self :: Not => " " , Self :: OffsetOf => " " , Self :: Override => " " , Self :: Perc => " " , Self :: PercEq => " " , Self :: Pipe => " " , Self :: PipeEq => " " , Self :: PipePipe => " " , Self :: Plus => " " , Self :: PlusEq => " " , Self :: Pound => " " , Self :: Priv => " " , Self :: Proc => " " , Self :: Pub => " " , Self :: Pure => " " , Self :: QuestionMark => " " , Self :: Ref => " " , Self :: Return => " " , Self :: Rocket => " " , Self :: Select => " " , Self :: SelfType => " " , Self :: SelfValue => " " , Self :: SemiColon => " " , Self :: SizeOf => " " , Self :: SlashEq => " " , Self :: Star => " " , Self :: StarEq => " " , Self :: Static => " " , Self :: Struct => " " , Self :: Super => " " , Self :: Tilde => " " , Self :: True => " " , Self :: TypeOf => " " , Self :: Underscore => " " , Self :: Unsafe => " " , Self :: Use => " " , Self :: Virtual => " " , Self :: While => " " , Self :: Yield => " " , } }
Get the kind as a descriptive string.
Get the kind as a descriptive string .
self