edge.go 968 B

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