class

Gen

@Js
@Serializable
const class Gen : Obj, Facet

Gen facet marks a type or slot as generated from xeto specs by the 'xeto gen-fan' command line tool. The type level facet opts a class into generation and the slot level facet marks each machine-owned slot: generation updates them in place, inserts slots missing from the spec, and removes slots no longer declared by the spec.

fields meta

Customization hooks for code generation encoded as a xeto dict string without the enclosing braces such as "skip:"foo,bar""

meta const Str? : meta

Customization hooks for code generation encoded as a xeto dict string without the enclosing braces such as "skip:"foo,bar"". Pairs may be separated by commas or newlines. Every tag supported by the generation tools is documented here:

  • 'skip': comma separated list of spec slot names (type level)
  • 'omitDocs': do not sync spec docs into Fantom docs; the docs are mastered in the xeto source only (funcs mode)

Haxall 4.0.7 ∙ 27-Oct-2026 09:10 EDT