Versions in this module Expand all Collapse all v1 v1.0.1 Dec 2, 2020 Changes in this version + func EmitReplacementMethods(vd *VisitorPlan) string + func EmitTypeSwitches(vd *VisitorPlan) string + type Array struct + type ArrayFieldItem struct + FieldName string + ItemType Type + StructType Type + type ArrayItem struct + ItemType Type + StructType Type + type Field struct + func (f *Field) String() string + type FuncDeclaration struct + type InterfaceDeclaration struct + type Ref struct + type Sast interface + type SingleFieldItem struct + FieldName string + FieldType Type + StructType Type + type SourceFile struct + func Walk(node ast.Node) *SourceFile + func (t *SourceFile) String() string + type SourceInformation struct + func Transform(input *SourceFile) *SourceInformation + func (v *SourceInformation) String() string + type StructDeclaration struct + type SwitchCase struct + Fields []VisitorItem + Type Type + func (s *SwitchCase) Len() int + func (s *SwitchCase) Less(i, j int) bool + func (s *SwitchCase) Swap(i, j int) + type Type interface + type TypeAlias struct + type TypeString struct + type VisitorItem interface + type VisitorPlan struct + Switches []*SwitchCase + func ToVisitorPlan(input *SourceInformation) *VisitorPlan + func (v *VisitorPlan) Len() int + func (v *VisitorPlan) Less(i, j int) bool + func (v *VisitorPlan) String() string + func (v *VisitorPlan) Swap(i, j int)