Enum swc_ecma_parser::token::Keyword [−][src]
pub enum Keyword {}Show variants
Await, Break, Case, Catch, Continue, Debugger, Default_, Do, Else, Finally, For, Function, If, Return, Switch, Throw, Try, Var, Let, Const, While, With, New, This, Super, Class, Extends, Export, Import, Yield, In, InstanceOf, TypeOf, Void, Delete,
Expand description
Keywords
Variants
Spec says this might be identifier.
Spec says this might be identifier.
Implementations
impl Keyword
[src]
impl Keyword
[src]pub fn before_expr(&self) -> bool
[src]
pub fn starts_expr(&self) -> bool
[src]
Trait Implementations
impl Copy for Keyword
[src]
impl Eq for Keyword
[src]
impl StructuralEq for Keyword
[src]
impl StructuralPartialEq for Keyword
[src]
Auto Trait Implementations
impl RefUnwindSafe for Keyword
impl Send for Keyword
impl Sync for Keyword
impl Unpin for Keyword
impl UnwindSafe for Keyword
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> Node for T where
T: Any + ?Sized,
[src]
T: Any + ?Sized,
impl<T> Send for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
T: ?Sized,