Fan

 

class

compiler::EnumDef

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

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

Slots

ctorArgsSource

Expr[] ctorArgs

docSource

Str[]? doc

makeSource

new make(Location location)

nameSource

Str name

ordinalSource

Int ordinal

printSource

override Void print(AstWriter out)

Overrides compiler::Node.print

Doc inherited from compiler::Node.print

Pretty print this node and it's descendants.

toStrSource

override Str toStr()

Overrides sys::Obj.toStr

Doc inherited from sys::Obj.toStr

Return a string representation of this object.