Exemple #1
0
 public SerializedType VisitEnumType(Core.Pascal.EnumType enumType)
 {
     return(new SerializedEnumType
     {
         Values = enumType.Names
                  .Select((n, i) => new SerializedEnumValue {
             Name = n, Value = i
         })
                  .ToArray()
     });
 }
Exemple #2
0
 public Constant VisitEnumType(Core.Pascal.EnumType enumType)
 {
     throw new NotImplementedException();
 }