code: function enumFill(path, t, id) {
    const x = translateEnumValues(path, t);
    const assignments = x.map(([memberName, memberValue]) =>
      buildEnumMember(t.isStringLiteral(memberValue), {
        ENUM: t.cloneNode(id),
        NAME: memberName,
        VALUE: memberValue,
      }),
    );
  
    return buildEnumWrapper({
      ID: t.cloneNode(id),
      ASSIGNMENTS: assignments,
    });
  }
docs: Generates the statement that fills in the variable declared by the enum.
  `(function (E) { ... assignments ... })(E || (E = {}));`