Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTestFile ¶
IsTestFile reports whether the given C++ path is a test file.
func ResolveCppIncludePath ¶
ResolveCppIncludePath resolves a C++ include path to possible file paths.
Types ¶
type Include ¶
type Include struct {
Path string
Kind IncludeKind
}
Include represents a C++ include directive.
func CppIncludes ¶
CppIncludes parses a C++ file and returns its includes.
func ParseCppIncludes ¶
ParseCppIncludes parses C++ source code and extracts includes.
type IncludeKind ¶
type IncludeKind int
IncludeKind distinguishes between system and local includes.
const ( IncludeLocal IncludeKind = iota IncludeSystem )
type Module ¶
type Module struct{}
func (Module) Extensions ¶
func (Module) IsTestFile ¶
func (Module) IsTestFile(filePath string, _ vcs.ContentReader) bool
func (Module) Maturity ¶
func (Module) Maturity() moduleapi.MaturityLevel
func (Module) NewResolver ¶
Click to show internal directories.
Click to hide internal directories.