#[repr(u8)]pub enum ReswdToken {
Show 25 variants
Bang = 0,
DinBrack = 1,
InBrace = 2,
OutBrace = 3,
Case = 4,
Coproc = 5,
Typeset = 6,
DoLoop = 7,
Done = 8,
Elif = 9,
Else = 10,
Zend = 11,
Esac = 12,
Fi = 13,
For = 14,
Foreach = 15,
Func = 16,
If = 17,
Nocorrect = 18,
Repeat = 19,
Select = 20,
Then = 21,
Time = 22,
Until = 23,
While = 24,
}Expand description
Reserved word token types
Variants§
Bang = 0
DinBrack = 1
InBrace = 2
OutBrace = 3
Case = 4
Coproc = 5
Typeset = 6
DoLoop = 7
Done = 8
Elif = 9
Else = 10
Zend = 11
Esac = 12
Fi = 13
For = 14
Foreach = 15
Func = 16
If = 17
Nocorrect = 18
Repeat = 19
Select = 20
Then = 21
Time = 22
Until = 23
While = 24
Trait Implementations§
Source§impl Clone for ReswdToken
impl Clone for ReswdToken
Source§fn clone(&self) -> ReswdToken
fn clone(&self) -> ReswdToken
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReswdToken
impl Debug for ReswdToken
Source§impl PartialEq for ReswdToken
impl PartialEq for ReswdToken
impl Copy for ReswdToken
impl Eq for ReswdToken
impl StructuralPartialEq for ReswdToken
Auto Trait Implementations§
impl Freeze for ReswdToken
impl RefUnwindSafe for ReswdToken
impl Send for ReswdToken
impl Sync for ReswdToken
impl Unpin for ReswdToken
impl UnsafeUnpin for ReswdToken
impl UnwindSafe for ReswdToken
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more