Sign in
cobalt
/
cobalt
/
08336faa599332e3e3bf29b7ad38ef023018b55e
/
.
/
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"
,
};