[][src]Enum boa::syntax::ast::keyword::Keyword

pub enum Keyword {
    Await,
    Break,
    Case,
    Catch,
    Class,
    Continue,
    Const,
    Debugger,
    Default,
    Delete,
    Do,
    Else,
    Enum,
    Export,
    Extends,
    Finally,
    For,
    Function,
    If,
    In,
    InstanceOf,
    Import,
    Let,
    New,
    Return,
    Super,
    Switch,
    This,
    Throw,
    Try,
    TypeOf,
    Var,
    Void,
    While,
    With,
    Yield,
}

A Javascript Keyword As specificed by https://www.ecma-international.org/ecma-262/#sec-keywords

Variants

Await

The await keyword

Break

The break keyword

Case

The case keyword

Catch

The catch keyword

Class

The class keyword, which is reserved for future use

Continue

The continue keyword

Const

The const keyword

Debugger

The debugger keyword

Default

The default keyword

Delete

The delete keyword

Do

The do keyword

Else

The else keyword

Enum

The enum keyword

Export

The export keyword

Extends

The extends keyword

Finally

The finally keyword

For

The for keyword

Function

The function keyword

If

The if keyword

In

The in keyword

InstanceOf

The instanceof keyword

Import

The import keyword

Let

The let keyword

New

The new keyword

Return

The return keyword

Super

The super keyword

Switch

The switch keyword

This

The this keyword

Throw

The throw keyword

Try

The try keyword

TypeOf

The typeof keyword

Var

The var keyword

Void

The void keyword

While

The while keyword

With

The with keyword

Yield

The 'yield' keyword

Trait Implementations

impl PartialEq<Keyword> for Keyword[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Clone for Keyword[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Keyword[src]

impl Display for Keyword[src]

impl FromStr for Keyword[src]

type Err = KeywordError

The associated error which can be returned from parsing.

Auto Trait Implementations

impl Send for Keyword

impl Unpin for Keyword

impl Sync for Keyword

impl UnwindSafe for Keyword

impl RefUnwindSafe for Keyword

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]