Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / honnef.co / go / tools@v0.0.1-2020.1.5 / unused / edge.go
1 package unused
2
3 //go:generate stringer -type edgeKind
4 type edgeKind uint64
5
6 func (e edgeKind) is(o edgeKind) bool {
7         return e&o != 0
8 }
9
10 const (
11         edgeAlias edgeKind = 1 << iota
12         edgeBlankField
13         edgeAnonymousStruct
14         edgeCgoExported
15         edgeConstGroup
16         edgeElementType
17         edgeEmbeddedInterface
18         edgeExportedConstant
19         edgeExportedField
20         edgeExportedFunction
21         edgeExportedMethod
22         edgeExportedType
23         edgeExportedVariable
24         edgeExtendsExportedFields
25         edgeExtendsExportedMethodSet
26         edgeFieldAccess
27         edgeFunctionArgument
28         edgeFunctionResult
29         edgeFunctionSignature
30         edgeImplements
31         edgeInstructionOperand
32         edgeInterfaceCall
33         edgeInterfaceMethod
34         edgeKeyType
35         edgeLinkname
36         edgeMainFunction
37         edgeNamedType
38         edgeNetRPCRegister
39         edgeNoCopySentinel
40         edgeProvidesMethod
41         edgeReceiver
42         edgeRuntimeFunction
43         edgeSignature
44         edgeStructConversion
45         edgeTestSink
46         edgeTupleElement
47         edgeType
48         edgeTypeName
49         edgeUnderlyingType
50         edgePointerType
51         edgeUnsafeConversion
52         edgeUsedConstant
53         edgeVarDecl
54 )