def

enum

Defines an eumeration of string key names. The range may also be applied to format a Bool ordered as "false,true". The value of this tag may be formatted in one of five ways:

  • dict of dicts keyed by name and Dict values for meta such as doc tag
  • comma separated names on one line
  • names separated by a "\n" newline character
  • markdown unordered list formatted as a series of "- name: description\n"
  • ref to a Xeto sys::Enum spec

Enum names should follow valid tag naming rules (start with lowercase ASCII letter and contain only ASCII letters and numbers). However in cases where mapping directly to external enumerations enum names can contain arbitrary characters such as space.

meta

supertypes

val

Data value type