Documentation
¶
Index ¶
Constants ¶
View Source
const ( EdgeCalls = "CALLS" EdgeExports = "EXPORTS" EdgeImports = "IMPORTS" EdgeContains = "CONTAINS" EdgeImplements = "IMPLEMENTS" EdgeExtends = "EXTENDS" EdgeDefinedIn = "DEFINED_IN" )
View Source
const ( KindFunction = "function" KindMethod = "method" KindClass = "class" KindStruct = "struct" KindInterface = "interface" KindTrait = "trait" KindEnum = "enum" KindImpl = "impl" KindModule = "module" )
View Source
const ( LangPython = "python" LangGo = "go" LangRust = "rust" )
View Source
const ( VisPublic = "public" VisPrivate = "private" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Element ¶
type Element struct {
ID string `json:"id"`
Language string `json:"language"`
Kind string `json:"kind"`
Name string `json:"name"`
FQName string `json:"fq_name"`
Path string `json:"path"`
StartLine int `json:"start_line"`
EndLine int `json:"end_line"`
LOC int `json:"loc"`
Signature string `json:"signature"`
Visibility string `json:"visibility"`
Docstring string `json:"docstring"`
Body string `json:"body"`
}
Element represents a code construct such as a function, class, or struct.
Click to show internal directories.
Click to hide internal directories.