This repository has been archived on 2024-02-27. You can view files and clone it, but cannot push or open issues or pull requests.
arf/tests/parser/enum/main.arf

37 lines
408 B
Plaintext
Raw Normal View History

2022-08-21 00:48:36 -06:00
:arf
---
enum ro Weekday:Int
2022-09-16 22:58:08 -06:00
- sunday
- monday
- tuesday
- wednesday
- thursday
- friday
- saturday
2022-08-21 00:48:36 -06:00
enum ro NamedColor:U32
2022-09-27 12:17:15 -06:00
- red 0xFF0000
- green 0x00FF00
- blue 0x0000FF
2022-08-21 00:48:36 -06:00
enum ro AffrontToGod:Int:4
2022-09-27 12:17:15 -06:00
- bird0
(28394 9328
398 9)
- bird1
(23 932832
2022-08-21 00:48:36 -06:00
398
2022-09-27 12:17:15 -06:00
2349)
- bird2
(1
2022-08-21 00:48:36 -06:00
2
3
2022-09-27 12:17:15 -06:00
4)
2022-09-16 22:58:08 -06:00
2022-09-27 12:17:15 -06:00
enum ro ThisIsTerrible:Vector
- up ( 0 -1)
- down ( 0 1)
- left (-1 0)
- right ( 1 0)