ast_generator/ast

21 lines
263 B
Plaintext
Raw Normal View History

2024-07-21 20:56:42 +01:00
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)