Documentation
¶
Index ¶
- func ComputePriority(lib *libraries.Library, header, arch string) int
- type Cpp
- func (resolver *Cpp) AlternativesFor(header string) libraries.List
- func (resolver *Cpp) ResolveFor(header, architecture string) *libraries.Library
- func (resolver *Cpp) ScanIDEBuiltinLibraries(allLibs []*libraries.Library)
- func (resolver *Cpp) ScanLibrary(lib *libraries.Library) error
- func (resolver *Cpp) ScanPlatformLibraries(allLibs []*libraries.Library, platform *cores.PlatformRelease)
- func (resolver *Cpp) ScanUserAndUnmanagedLibraries(allLibs []*libraries.Library)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cpp ¶
type Cpp struct {
// contains filtered or unexported fields
}
Cpp finds libraries made for the C++ language
func NewCppResolver ¶
func NewCppResolver(allLibs []*libraries.Library, targetPlatform, actualPlatform *cores.PlatformRelease) *Cpp
NewCppResolver creates a new Cpp resolver
func (*Cpp) AlternativesFor ¶
AlternativesFor returns all the libraries that provides the specified header
func (*Cpp) ResolveFor ¶
ResolveFor finds the most suitable library for the specified combination of header and architecture. If no libraries provides the requested header, nil is returned
func (*Cpp) ScanIDEBuiltinLibraries ¶
ScanIDEBuiltinLibraries reads ide-builtin librariers loaded in the LibrariesManager to find and cache all C++ headers for later retrieval.
func (*Cpp) ScanLibrary ¶
ScanLibrary reads a library to find and cache C++ headers for later retrieval
func (*Cpp) ScanPlatformLibraries ¶
func (resolver *Cpp) ScanPlatformLibraries(allLibs []*libraries.Library, platform *cores.PlatformRelease)
ScanPlatformLibraries reads platform-bundled libraries for a specific platform loaded in the LibrariesManager to find and cache all C++ headers for later retrieval.
func (*Cpp) ScanUserAndUnmanagedLibraries ¶
ScanUserAndUnmanagedLibraries reads user/unmanaged librariers loaded in the LibrariesManager to find and cache all C++ headers for later retrieval.