logo

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

ctorArgs

Expr[] ctorArgs

Source

doc

Str[] doc

Source

make

new make(Location location)

Source

name

Str name

Source

ordinal

Int ordinal

Source

print

override Void print(AstWriter out)

Pretty print this node and it's descendants.

Source

toStr

override Str toStr()

Return a string representation of this object.

Source