Enum ra_ap_syntax::ast::Expr [−][src]
pub enum Expr {
Show 31 variants
ArrayExpr(ArrayExpr),
AwaitExpr(AwaitExpr),
BinExpr(BinExpr),
BlockExpr(BlockExpr),
BoxExpr(BoxExpr),
BreakExpr(BreakExpr),
CallExpr(CallExpr),
CastExpr(CastExpr),
ClosureExpr(ClosureExpr),
ContinueExpr(ContinueExpr),
FieldExpr(FieldExpr),
ForExpr(ForExpr),
IfExpr(IfExpr),
IndexExpr(IndexExpr),
Literal(Literal),
LoopExpr(LoopExpr),
MacroCall(MacroCall),
MacroStmts(MacroStmts),
MatchExpr(MatchExpr),
MethodCallExpr(MethodCallExpr),
ParenExpr(ParenExpr),
PathExpr(PathExpr),
PrefixExpr(PrefixExpr),
RangeExpr(RangeExpr),
RecordExpr(RecordExpr),
RefExpr(RefExpr),
ReturnExpr(ReturnExpr),
TryExpr(TryExpr),
TupleExpr(TupleExpr),
WhileExpr(WhileExpr),
YieldExpr(YieldExpr),
}
Variants
ArrayExpr(ArrayExpr)
Tuple Fields of ArrayExpr
0: ArrayExpr
AwaitExpr(AwaitExpr)
Tuple Fields of AwaitExpr
0: AwaitExpr
BinExpr(BinExpr)
Tuple Fields of BinExpr
0: BinExpr
BlockExpr(BlockExpr)
Tuple Fields of BlockExpr
0: BlockExpr
BoxExpr(BoxExpr)
Tuple Fields of BoxExpr
0: BoxExpr
BreakExpr(BreakExpr)
Tuple Fields of BreakExpr
0: BreakExpr
CallExpr(CallExpr)
Tuple Fields of CallExpr
0: CallExpr
CastExpr(CastExpr)
Tuple Fields of CastExpr
0: CastExpr
ClosureExpr(ClosureExpr)
Tuple Fields of ClosureExpr
0: ClosureExpr
ContinueExpr(ContinueExpr)
Tuple Fields of ContinueExpr
0: ContinueExpr
FieldExpr(FieldExpr)
Tuple Fields of FieldExpr
0: FieldExpr
ForExpr(ForExpr)
Tuple Fields of ForExpr
0: ForExpr
IfExpr(IfExpr)
Tuple Fields of IfExpr
0: IfExpr
IndexExpr(IndexExpr)
Tuple Fields of IndexExpr
0: IndexExpr
Literal(Literal)
Tuple Fields of Literal
0: Literal
LoopExpr(LoopExpr)
Tuple Fields of LoopExpr
0: LoopExpr
MacroCall(MacroCall)
Tuple Fields of MacroCall
0: MacroCall
MacroStmts(MacroStmts)
Tuple Fields of MacroStmts
0: MacroStmts
MatchExpr(MatchExpr)
Tuple Fields of MatchExpr
0: MatchExpr
MethodCallExpr(MethodCallExpr)
Tuple Fields of MethodCallExpr
ParenExpr(ParenExpr)
Tuple Fields of ParenExpr
0: ParenExpr
PathExpr(PathExpr)
Tuple Fields of PathExpr
0: PathExpr
PrefixExpr(PrefixExpr)
Tuple Fields of PrefixExpr
0: PrefixExpr
RangeExpr(RangeExpr)
Tuple Fields of RangeExpr
0: RangeExpr
RecordExpr(RecordExpr)
Tuple Fields of RecordExpr
0: RecordExpr
RefExpr(RefExpr)
Tuple Fields of RefExpr
0: RefExpr
ReturnExpr(ReturnExpr)
Tuple Fields of ReturnExpr
0: ReturnExpr
TryExpr(TryExpr)
Tuple Fields of TryExpr
0: TryExpr
TupleExpr(TupleExpr)
Tuple Fields of TupleExpr
0: TupleExpr
WhileExpr(WhileExpr)
Tuple Fields of WhileExpr
0: WhileExpr
YieldExpr(YieldExpr)
Tuple Fields of YieldExpr
0: YieldExpr
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
fn attrs(&self) -> AstChildren<Attr>ⓘNotable traits for AstChildren<N>impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
Notable traits for AstChildren<N>
impl<N: AstNode> Iterator for AstChildren<N> type Item = N;
Auto Trait Implementations
impl !RefUnwindSafe for Expr
impl !UnwindSafe for Expr
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.