Enum moore_vhdl_syntax::ast::ExprData[][src]

pub enum ExprData {
Show 14 variants NullExpr, OpenExpr, OthersExpr, DefaultExpr, BoxExpr, NewExpr(Box<Expr>), LitExpr(LiteralOption<Spanned<Name>>), ResolExpr(ParenElemsCompoundName), ParenExpr(ParenElems), DoubleNameExpr(CompoundNameCompoundName), QualExpr(CompoundNameParenElems), NameExpr(CompoundName), UnaryExpr(Spanned<UnaryOp>, Box<Expr>), BinaryExpr(Spanned<BinaryOp>, Box<Expr>, Box<Expr>),
}
Expand description

The data associated with a specific expression.

Variants

NullExpr
OpenExpr
OthersExpr
DefaultExpr
BoxExpr
NewExpr(Box<Expr>)

Tuple Fields of NewExpr

0: Box<Expr>
LitExpr(LiteralOption<Spanned<Name>>)

Tuple Fields of LitExpr

0: Literal1: Option<Spanned<Name>>

Tuple Fields of ResolExpr

0: ParenElems1: CompoundName
ParenExpr(ParenElems)

Tuple Fields of ParenExpr

0: ParenElems
DoubleNameExpr(CompoundNameCompoundName)

Tuple Fields of DoubleNameExpr

0: CompoundName1: CompoundName

Tuple Fields of QualExpr

0: CompoundName1: ParenElems
NameExpr(CompoundName)

Tuple Fields of NameExpr

0: CompoundName
UnaryExpr(Spanned<UnaryOp>, Box<Expr>)

Tuple Fields of UnaryExpr

0: Spanned<UnaryOp>1: Box<Expr>
BinaryExpr(Spanned<BinaryOp>, Box<Expr>, Box<Expr>)

Tuple Fields of BinaryExpr

0: Spanned<BinaryOp>1: Box<Expr>2: Box<Expr>

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

Obtain a human-readable descriptive name for this node.

Obtain a human-readable description for this node, possibly containing the node’s name. 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

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

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.