------------------------------------------------------------------------- auto_complete_context Context that holds cache structures for autocompletion needs. It includes cache for packages and for main package files. -------------------------------------------------------------------------
| 147 | //------------------------------------------------------------------------- |
| 148 | |
| 149 | type auto_complete_context struct { |
| 150 | current *auto_complete_file // currently edited file |
| 151 | others []*decl_file_cache // other files of the current package |
| 152 | pkg *scope |
| 153 | |
| 154 | pcache package_cache // packages cache |
| 155 | declcache *decl_cache // top-level declarations cache |
| 156 | } |
| 157 | |
| 158 | func new_auto_complete_context(pcache package_cache, declcache *decl_cache) *auto_complete_context { |
| 159 | c := new(auto_complete_context) |
nothing calls this directly
no outgoing calls
no test coverage detected