Enum
| 494 | // Enum |
| 495 | |
| 496 | type Enum struct { |
| 497 | pkg *Package |
| 498 | sym *symbol |
| 499 | obj *types.Const // first one -- random.. |
| 500 | typ *types.Named |
| 501 | id string |
| 502 | doc string |
| 503 | items []*Const |
| 504 | } |
| 505 | |
| 506 | func newEnum(p *Package, o *types.Const) (*Enum, error) { |
| 507 | pkg := o.Pkg() |
nothing calls this directly
no outgoing calls
no test coverage detected