package ast

type TypeKind int

const (
	TypeRef TypeKind = iota
	String
	Int64
	Float64
	Bool
	Struct
	Map
	Array
	FuncType
	Enum
)

type Type struct {
	Kind      TypeKind
	Ref       *Ref
	Fields    []Field
	Results   []Field
	KeyType   *Type
	ValueType *Type
	Options   []string
}
