Enum rslint_parser::ast::Stmt[][src]

pub enum Stmt {
Show 18 variants BlockStmt(BlockStmt), EmptyStmt(EmptyStmt), ExprStmt(ExprStmt), IfStmt(IfStmt), DoWhileStmt(DoWhileStmt), WhileStmt(WhileStmt), ForStmt(ForStmt), ForInStmt(ForInStmt), ContinueStmt(ContinueStmt), BreakStmt(BreakStmt), ReturnStmt(ReturnStmt), WithStmt(WithStmt), LabelledStmt(LabelledStmt), SwitchStmt(SwitchStmt), ThrowStmt(ThrowStmt), TryStmt(TryStmt), DebuggerStmt(DebuggerStmt), Decl(Decl),
}

Variants

BlockStmt(BlockStmt)

Tuple Fields of BlockStmt

0: BlockStmt
EmptyStmt(EmptyStmt)

Tuple Fields of EmptyStmt

0: EmptyStmt
ExprStmt(ExprStmt)

Tuple Fields of ExprStmt

0: ExprStmt
IfStmt(IfStmt)

Tuple Fields of IfStmt

0: IfStmt
DoWhileStmt(DoWhileStmt)

Tuple Fields of DoWhileStmt

0: DoWhileStmt
WhileStmt(WhileStmt)

Tuple Fields of WhileStmt

0: WhileStmt
ForStmt(ForStmt)

Tuple Fields of ForStmt

0: ForStmt
ForInStmt(ForInStmt)

Tuple Fields of ForInStmt

0: ForInStmt
ContinueStmt(ContinueStmt)

Tuple Fields of ContinueStmt

0: ContinueStmt
BreakStmt(BreakStmt)

Tuple Fields of BreakStmt

0: BreakStmt
ReturnStmt(ReturnStmt)

Tuple Fields of ReturnStmt

0: ReturnStmt
WithStmt(WithStmt)

Tuple Fields of WithStmt

0: WithStmt
LabelledStmt(LabelledStmt)

Tuple Fields of LabelledStmt

0: LabelledStmt
SwitchStmt(SwitchStmt)

Tuple Fields of SwitchStmt

0: SwitchStmt
ThrowStmt(ThrowStmt)

Tuple Fields of ThrowStmt

0: ThrowStmt
TryStmt(TryStmt)

Tuple Fields of TryStmt

0: TryStmt
DebuggerStmt(DebuggerStmt)

Tuple Fields of DebuggerStmt

0: DebuggerStmt
Decl(Decl)

Tuple Fields of Decl

0: Decl

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Unerase this erased pointer. Read more

Whether this implementor has acknowledged the 1.1.0 update to unerase’s documented implementation requirements. Read more

Turn this erasable pointer into an erased pointer. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.