Versions in this module Expand all Collapse all v1 v1.18.4 Apr 2, 2024 Changes in this version + func Fixup(cfg FixupConfig, structs []*ast.Struct, processNameFunc func(string) string) []*ast.Struct + func Parse(raw []byte, name string) (*ast.Contract, []*ast.Struct, error) + type Cache struct + func NewCache() *Cache + func (c *Cache) CacheStruct(newStruct *ast.Struct) error + func (c *Cache) IsCached(newStruct *ast.Struct) (*ast.Struct, bool) + type FixupConfig map[string]FixupStruct + type FixupStruct struct + Equals string + Fields map[string]string + Name string