pub enum Tok<'input> {
Show 83 variants
Nat(&'input str),
Id(&'input str),
String(&'input str),
Hex(&'input str),
Bin(&'input str),
OpNot,
OpOr,
OpAnd,
OpEq,
OpNeq,
OpSlice,
OpSetSlice,
OpConcat,
OpSigned,
OpUnsigned,
OpBvnot,
OpBvor,
OpBvxor,
OpBvand,
OpBvadd,
OpBvsub,
OpBvaccess,
OpAdd,
OpSub,
OpLteq,
OpLt,
OpGteq,
OpGt,
OpHead,
OpTail,
OpZeroExtend,
TyI,
TyBv,
TyUnit,
TyBool,
TyBit,
TyString,
TyReal,
TyEnum,
TyStruct,
TyUnion,
TyVec,
TyFVec,
TyList,
TurboFish,
Backtick,
Gt,
Amp,
Lparen,
Rparen,
Lbrace,
Rbrace,
Dot,
Star,
Colon,
Eq,
Comma,
Semi,
Dollar,
Bitzero,
Bitone,
Unit,
Arrow,
Minus,
Struct,
Is,
As,
Jump,
Goto,
Mono,
Failure,
Arbitrary,
Undefined,
End,
Register,
Fn,
Let,
Enum,
Union,
Val,
True,
False,
EmptyBitvec,
}Variants§
Nat(&'input str)
Id(&'input str)
String(&'input str)
Hex(&'input str)
Bin(&'input str)
OpNot
OpOr
OpAnd
OpEq
OpNeq
OpSlice
OpSetSlice
OpConcat
OpSigned
OpUnsigned
OpBvnot
OpBvor
OpBvxor
OpBvand
OpBvadd
OpBvsub
OpBvaccess
OpAdd
OpSub
OpLteq
OpLt
OpGteq
OpGt
OpHead
OpTail
OpZeroExtend
TyI
TyBv
TyUnit
TyBool
TyBit
TyString
TyReal
TyEnum
TyStruct
TyUnion
TyVec
TyFVec
TyList
TurboFish
Backtick
Gt
Amp
Lparen
Rparen
Lbrace
Rbrace
Dot
Star
Colon
Eq
Comma
Semi
Dollar
Bitzero
Bitone
Unit
Arrow
Minus
Struct
Is
As
Jump
Goto
Mono
Failure
Arbitrary
Undefined
End
Register
Fn
Let
Enum
Union
Val
True
False
EmptyBitvec
Trait Implementations§
Auto Trait Implementations§
impl<'input> Freeze for Tok<'input>
impl<'input> RefUnwindSafe for Tok<'input>
impl<'input> Send for Tok<'input>
impl<'input> Sync for Tok<'input>
impl<'input> Unpin for Tok<'input>
impl<'input> UnwindSafe for Tok<'input>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more