Documentation
¶
Index ¶
- func BuildCSharpIndices(suppliedFiles map[string]bool, contentReader vcs.ContentReader) (map[string][]string, map[string]map[string][]string, map[string]string, ...)
- func ExtractCSharpTypeIdentifiers(source string) []string
- func IsTestFile(filePath string) bool
- func ParseCSharpNamespace(source string) string
- func ParseTopLevelCSharpTypeNames(source string) []string
- func ResolveCSharpProjectImports(absPath string, _ string, namespaceToFiles map[string][]string, ...) ([]string, error)
- type CSharpImport
- type Module
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCSharpIndices ¶
func ExtractCSharpTypeIdentifiers ¶
ExtractCSharpTypeIdentifiers extracts likely type identifiers from code references.
func IsTestFile ¶
IsTestFile reports whether the given C# path is a test file.
func ParseCSharpNamespace ¶
ParseCSharpNamespace extracts the file namespace declaration.
func ParseTopLevelCSharpTypeNames ¶
ParseTopLevelCSharpTypeNames extracts top-level type names declared in a file.
Types ¶
type CSharpImport ¶
type CSharpImport struct {
Path string
}
CSharpImport represents a using directive.
func CSharpImports ¶
func CSharpImports(filePath string) ([]CSharpImport, error)
CSharpImports parses a C# file and returns its imports.
func ParseCSharpImports ¶
func ParseCSharpImports(source string) []CSharpImport
ParseCSharpImports parses C# source code and extracts using directives.
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.