librariesresolver

package
v0.0.0-...-0031c6d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2018 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cpp

type Cpp struct {
	// contains filtered or unexported fields
}

Cpp finds libraries made for the C++ language

func NewCppResolver

func NewCppResolver() *Cpp

NewCppResolver creates a new Cpp resolver

func (*Cpp) AlternativesFor

func (resolver *Cpp) AlternativesFor(header string) libraries.List

AlternativesFor returns all the libraries that provides the specified header

func (*Cpp) ResolveFor

func (resolver *Cpp) ResolveFor(header, architecture string) *libraries.Library

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) ScanFromLibrariesManager

func (resolver *Cpp) ScanFromLibrariesManager(lm *librariesmanager.LibrariesManager) error

ScanFromLibrariesManager reads all librariers loaded in the LibrariesManager to find and cache all C++ headers for later retrieval

func (*Cpp) ScanLibrary

func (resolver *Cpp) ScanLibrary(lib *libraries.Library) error

ScanLibrary reads a library to find and cache C++ headers for later retrieval

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL