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 ResolveCIncludePath ¶
ResolveCIncludePath resolves a C include path to possible file paths.
func ResolveCProjectIncludes ¶
Types ¶
type Include ¶
type Include struct {
Path string
Kind IncludeKind
}
Include represents a C include directive.
func ParseCIncludes ¶
ParseCIncludes 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() langsupport.MaturityLevel
func (Module) NewResolver ¶
func (Module) NewResolver(ctx *langsupport.Context, contentReader vcs.ContentReader) langsupport.Resolver
Click to show internal directories.
Click to hide internal directories.