class compiler::EnumDef

sys::Obj
  compiler::Node
    compiler::EnumDef

Source

EnumDef is used to define one ordinal/named enum value in an enum TypeDef. If using a custom constructor, it includes the constructor arguments.

ctorArgs

Expr[] ctorArgs

Source

doc

DocDef? doc

Source

facets

FacetDef[]? facets

Source

make

new make(Loc loc, DocDef? doc, FacetDef[]? facets, Str name, Int ordinal)

Source

name

Str name

Source

ordinal

Int ordinal

Source

print

virtual override Void print(AstWriter out)

Source

toStr

virtual override Str toStr()

Source