ast_generator/ast
SimonFJ20 edb79a10bc init
2024-07-21 21:56:42 +02:00

21 lines
263 B
Plaintext

Statement {
Enum(enum_: Enum)
Node(node: Node)
}
Enum(name: Name, nodes: Node[])
Node(name: Name, params: Param[])
Param(name: Name, type_: Type)
Type {
Name(name: Name)
Optional(type_: Type)
Multiple(type_: Type)
}
Name(value: string)