------------------------------------------------------------------------- scope -------------------------------------------------------------------------
| 5 | //------------------------------------------------------------------------- |
| 6 | |
| 7 | type scope struct { |
| 8 | // the package name that this scope resides in |
| 9 | pkgname string |
| 10 | parent *scope // nil for universe scope |
| 11 | entities map[string]*decl |
| 12 | } |
| 13 | |
| 14 | func new_named_scope(outer *scope, name string) *scope { |
| 15 | s := new_scope(outer) |
nothing calls this directly
no outgoing calls
no test coverage detected