A lazyObject represents an imported Object that has not been fully resolved yet by its importer.
| 241 | // A lazyObject represents an imported Object that has not been fully |
| 242 | // resolved yet by its importer. |
| 243 | type lazyObject struct { |
| 244 | parent *Scope |
| 245 | resolve func() Object |
| 246 | obj Object |
| 247 | once sync.Once |
| 248 | } |
| 249 | |
| 250 | // resolve returns the Object represented by obj, resolving lazy |
| 251 | // objects as appropriate. |
nothing calls this directly
no outgoing calls
no test coverage detected