Documentation
¶
Overview ¶
Package swift provides Swift extraction for knowledge graphs.
Index ¶
Constants ¶
View Source
const ( // Language is the canonical name for Swift. Language = "swift" // NodePrefix is the prefix for all Swift node IDs. NodePrefix = "swift_" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extractor ¶
type Extractor struct {
// contains filtered or unexported fields
}
Extractor implements extract.LanguageExtractor for Swift source code.
func (*Extractor) CanExtract ¶
CanExtract returns true for .swift files.
func (*Extractor) DetectFramework ¶
func (e *Extractor) DetectFramework(path string) *provider.FrameworkInfo
DetectFramework returns nil for Swift (no framework detection yet).
func (*Extractor) Extensions ¶
Extensions returns Swift file extensions.
func (*Extractor) ExtractFile ¶
ExtractFile extracts nodes and edges from a single Swift file.
Click to show internal directories.
Click to hide internal directories.