mirror of
https://github.com/servo/servo
synced 2026-04-29 10:57:43 +02:00
8 lines
180 B
Plaintext
8 lines
180 B
Plaintext
enum MealType { "rice", "noodles", "other" };
|
|
|
|
interface Meal {
|
|
attribute MealType type;
|
|
attribute float size; // in grams
|
|
|
|
void initialize(MealType type, float size);
|
|
}; |