Type Alias erg_compiler::hir::Decorator

source ·
pub type Decorator = Expr;

Aliased Type§

enum Decorator {
Show 20 variants Literal(Literal), Accessor(Accessor), List(List), 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),
}

Variants§

§

Literal(Literal)

§

Accessor(Accessor)

§

List(List)

§

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)