Type Alias erg_compiler::hir::Decorator
source · pub type Decorator = Expr;
Aliased Type§
enum Decorator {
Show 20 variants
Literal(Literal),
Accessor(Accessor),
Array(Array),
Tuple(Tuple),
Set(Set),
Dict(Dict),
Record(Record),
BinOp(BinOp),
UnaryOp(UnaryOp),
Call(Call),
Lambda(Lambda),
Def(Def),
ClassDef(ClassDef),
PatchDef(PatchDef),
ReDef(ReDef),
TypeAsc(TypeAscription),
Code(Block),
Compound(Block),
Import(Accessor),
Dummy(Dummy),
}