Enum rslint_parser::ast::Expr[][src]

pub enum Expr {
Show 29 variants ArrowExpr(ArrowExpr), Literal(Literal), Template(Template), NameRef(NameRef), ThisExpr(ThisExpr), ArrayExpr(ArrayExpr), ObjectExpr(ObjectExpr), GroupingExpr(GroupingExpr), BracketExpr(BracketExpr), DotExpr(DotExpr), NewExpr(NewExpr), CallExpr(CallExpr), UnaryExpr(UnaryExpr), BinExpr(BinExpr), CondExpr(CondExpr), AssignExpr(AssignExpr), SequenceExpr(SequenceExpr), FnExpr(FnExpr), ClassExpr(ClassExpr), NewTarget(NewTarget), ImportMeta(ImportMeta), SuperCall(SuperCall), ImportCall(ImportCall), YieldExpr(YieldExpr), AwaitExpr(AwaitExpr), PrivatePropAccess(PrivatePropAccess), TsNonNull(TsNonNull), TsAssertion(TsAssertion), TsConstAssertion(TsConstAssertion),
}
Expand description

Variants

ArrowExpr(ArrowExpr)

Tuple Fields of ArrowExpr

0: ArrowExpr
Literal(Literal)

Tuple Fields of Literal

0: Literal
Template(Template)

Tuple Fields of Template

0: Template
NameRef(NameRef)

Tuple Fields of NameRef

0: NameRef
ThisExpr(ThisExpr)

Tuple Fields of ThisExpr

0: ThisExpr
ArrayExpr(ArrayExpr)

Tuple Fields of ArrayExpr

0: ArrayExpr
ObjectExpr(ObjectExpr)

Tuple Fields of ObjectExpr

0: ObjectExpr
GroupingExpr(GroupingExpr)

Tuple Fields of GroupingExpr

0: GroupingExpr
BracketExpr(BracketExpr)

Tuple Fields of BracketExpr

0: BracketExpr
DotExpr(DotExpr)

Tuple Fields of DotExpr

0: DotExpr
NewExpr(NewExpr)

Tuple Fields of NewExpr

0: NewExpr
CallExpr(CallExpr)

Tuple Fields of CallExpr

0: CallExpr
UnaryExpr(UnaryExpr)

Tuple Fields of UnaryExpr

0: UnaryExpr
BinExpr(BinExpr)

Tuple Fields of BinExpr

0: BinExpr
CondExpr(CondExpr)

Tuple Fields of CondExpr

0: CondExpr
AssignExpr(AssignExpr)

Tuple Fields of AssignExpr

0: AssignExpr
SequenceExpr(SequenceExpr)

Tuple Fields of SequenceExpr

0: SequenceExpr
FnExpr(FnExpr)

Tuple Fields of FnExpr

0: FnExpr
ClassExpr(ClassExpr)

Tuple Fields of ClassExpr

0: ClassExpr
NewTarget(NewTarget)

Tuple Fields of NewTarget

0: NewTarget
ImportMeta(ImportMeta)

Tuple Fields of ImportMeta

0: ImportMeta
SuperCall(SuperCall)

Tuple Fields of SuperCall

0: SuperCall
ImportCall(ImportCall)

Tuple Fields of ImportCall

0: ImportCall
YieldExpr(YieldExpr)

Tuple Fields of YieldExpr

0: YieldExpr
AwaitExpr(AwaitExpr)

Tuple Fields of AwaitExpr

0: AwaitExpr
PrivatePropAccess(PrivatePropAccess)

Tuple Fields of PrivatePropAccess

0: PrivatePropAccess
TsNonNull(TsNonNull)

Tuple Fields of TsNonNull

0: TsNonNull
TsAssertion(TsAssertion)

Tuple Fields of TsAssertion

0: TsAssertion
TsConstAssertion(TsConstAssertion)

Tuple Fields of TsConstAssertion

0: TsConstAssertion

Implementations

Whether this is an optional chain expression.

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.

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.