Sign in
cobalt
/
cobalt
/
308ed6b84664d59944cd65f4b4359c28a2443be6
/
.
/
src
/
third_party
/
web_platform_tests
/
resources
/
webidl2
/
test
/
syntax
/
idl
/
enum.widl
blob: 37c4ffddee31b6387636d04ca826a0f263fa989a [
file
] [
log
] [
blame
]
enum
MealType
{
"rice"
,
"noodles"
,
"other"
};
interface
Meal
{
attribute
MealType
type
;
attribute
float
size
;
// in grams
void
initialize
(
MealType
type
,
float
size
);
};
enum
AltMealType
{
"rice"
,
"noodles"
,
"other"
,
};