Enum syntax::ast::Expr_[src]
pub enum Expr_ {
ExprVstore(Gc<Expr>, ExprVstore),
ExprBox(Gc<Expr>, Gc<Expr>),
ExprVec(Vec<Gc<Expr>>),
ExprCall(Gc<Expr>, Vec<Gc<Expr>>),
ExprMethodCall(SpannedIdent, Vec<P<Ty>>, Vec<Gc<Expr>>),
ExprTup(Vec<Gc<Expr>>),
ExprBinary(BinOp, Gc<Expr>, Gc<Expr>),
ExprUnary(UnOp, Gc<Expr>),
ExprLit(Gc<Lit>),
ExprCast(Gc<Expr>, P<Ty>),
ExprIf(Gc<Expr>, P<Block>, Option<Gc<Expr>>),
ExprWhile(Gc<Expr>, P<Block>),
ExprForLoop(Gc<Pat>, Gc<Expr>, P<Block>, Option<Ident>),
ExprLoop(P<Block>, Option<Ident>),
ExprMatch(Gc<Expr>, Vec<Arm>),
ExprFnBlock(P<FnDecl>, P<Block>),
ExprProc(P<FnDecl>, P<Block>),
ExprBlock(P<Block>),
ExprAssign(Gc<Expr>, Gc<Expr>),
ExprAssignOp(BinOp, Gc<Expr>, Gc<Expr>),
ExprField(Gc<Expr>, SpannedIdent, Vec<P<Ty>>),
ExprIndex(Gc<Expr>, Gc<Expr>),
ExprPath(Path),
ExprAddrOf(Mutability, Gc<Expr>),
ExprBreak(Option<Ident>),
ExprAgain(Option<Ident>),
ExprRet(Option<Gc<Expr>>),
ExprInlineAsm(InlineAsm),
ExprMac(Mac),
ExprStruct(Path, Vec<Field>, Option<Gc<Expr>>),
ExprRepeat(Gc<Expr>, Gc<Expr>),
ExprParen(Gc<Expr>),
}Variants
ExprVstore | |
ExprBox | |
ExprVec | |
ExprCall | |
ExprMethodCall | |
ExprTup | |
ExprBinary | |
ExprUnary | |
ExprLit | |
ExprCast | |
ExprIf | |
ExprWhile | |
ExprForLoop | |
ExprLoop | |
ExprMatch | |
ExprFnBlock | |
ExprProc | |
ExprBlock | |
ExprAssign | |
ExprAssignOp | |
ExprField | |
ExprIndex | |
ExprPath | Expression that looks like a "name". For example,
|
ExprAddrOf | |
ExprBreak | |
ExprAgain | |
ExprRet | |
ExprInlineAsm | |
ExprMac | |
ExprStruct | |
ExprRepeat | |
ExprParen |