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

pub enum Keyword {
    KBreak,
    KCase,
    KCatch,
    KClass,
    KContinue,
    KDebugger,
    KDefault,
    KDelete,
    KDo,
    KElse,
    KEnum,
    KExtends,
    KFinally,
    KFor,
    KFunction,
    KIf,
    KIn,
    KInstanceOf,
    KImport,
    KNew,
    KReturn,
    KSuper,
    KSwitch,
    KThis,
    KThrow,
    KTry,
    KTypeOf,
    KVar,
    KVoid,
    KWhile,
    KWith,
}

A Javascript Keyword

Variants

KBreak

The break keyword

KCase

The case keyword

KCatch

The catch keyword

KClass

The class keyword, which is reserved for future use

KContinue

The continue keyword

KDebugger

The debugger keyword

KDefault

The default keyword

KDelete

The delete keyword

KDo

The do keyword

KElse

The else keyword

KEnum

The enum keyword

KExtends

The extends keyword

KFinally

The finally keyword

KFor

The for keyword

KFunction

The function keyword

KIf

The if keyword

KIn

The in keyword

KInstanceOf

The instanceof keyword

KImport

The import keyword

KNew

The new keyword

KReturn

The return keyword

KSuper

The super keyword

KSwitch

The switch keyword

KThis

The this keyword

KThrow

The throw keyword

KTry

The try keyword

KTypeOf

The typeof keyword

KVar

The var keyword

KVoid

The void keyword

KWhile

The while keyword

KWith

The with keyword

Trait Implementations

impl FromStr for Keyword

fn from_str(s: &str) -> Option<Keyword>

impl Show for Keyword

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl PartialEq for Keyword

fn eq(&self, __arg_0: &Keyword) -> bool

fn ne(&self, __arg_0: &Keyword) -> bool

impl Clone for Keyword

fn clone(&self) -> Keyword

fn clone_from(&mut self, source: &Self)