抽象语法树
pub struct Expr<'a> {
pub loc: Loc,
pub ty: Cell<Ty<'a>>,
pub kind: ExprKind<'a>,
}
pub enum ExprKind<'a> {
VarSel(VarSel<'a>),
IndexSel(IndexSel<'a>),
...
}Last updated
Was this helpful?
pub struct Expr<'a> {
pub loc: Loc,
pub ty: Cell<Ty<'a>>,
pub kind: ExprKind<'a>,
}
pub enum ExprKind<'a> {
VarSel(VarSel<'a>),
IndexSel(IndexSel<'a>),
...
}Last updated
Was this helpful?
Was this helpful?