Lines Matching defs:Enum
1285 # type as Enum(foo) where foo is either a list or dictionary of
1292 # What Enum() must do is generate a new type encapsulating the
1299 # Metaclass for Enum types
1311 raise TypeError("Enum-derived class attribute 'map' " \
1318 raise TypeError("Enum-derived class attribute 'vals' " \
1325 raise TypeError("Enum-derived class must define "\
1452 class Enum(ParamValue):
1470 raise TypeError("Enum param got bad value '%s' (not in %s)" \
1506 class ScopedEnum(Enum):
2178 'Enum', 'ScopedEnum', 'Bool', 'String', 'Float',