MCPcopy
hub / github.com/uber-go/nilaway / Prestring

Interface Prestring

annotation/consume_trigger.go:76–78  ·  view source on GitHub ↗

Prestring is an interface used to encode objects that have compact on-the-wire encodings (via gob) but can still be expanded into verbose string representations on demand using type information. These are key for compact encoding of InferredAnnotationMaps

Source from the content-addressed store, hash-verified

74// (via gob) but can still be expanded into verbose string representations on demand using
75// type information. These are key for compact encoding of InferredAnnotationMaps
76type Prestring interface {
77 String() string
78}
79
80// Assignment is a struct that represents an assignment to an expression
81type Assignment struct {

Callers 8

StringMethod · 0.65
PrestringMethod · 0.65
StringMethod · 0.65
PrestringMethod · 0.65
StringMethod · 0.65
PrestringMethod · 0.65
StringMethod · 0.65
PrestringMethod · 0.65

Implementers 15

addrImpltestdata/src/go.uber.org/methodimpleme
TriggerIfNilablePrestringannotation/produce_trigger.go
TriggerIfDeepNilablePrestringannotation/produce_trigger.go
ProduceTriggerTautologyPrestringannotation/produce_trigger.go
ProduceTriggerNeverPrestringannotation/produce_trigger.go
PositiveNilCheckPrestringannotation/produce_trigger.go
NegativeNilCheckPrestringannotation/produce_trigger.go
ConstNilPrestringannotation/produce_trigger.go
UnassignedFldPrestringannotation/produce_trigger.go
NoVarAssignPrestringannotation/produce_trigger.go
BlankVarReturnPrestringannotation/produce_trigger.go
FuncParamPrestringannotation/produce_trigger.go

Calls

no outgoing calls

Tested by

no test coverage detected