Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedLanguages = map[string]*sitter.Language{ ".go": golang.GetLanguage(), ".js": javascript.GetLanguage(), ".ts": typescript.GetLanguage(), ".py": python.GetLanguage(), ".jsx": javascript.GetLanguage(), ".tsx": typescript.GetLanguage(), ".mjs": javascript.GetLanguage(), }
SupportedLanguages は対応言語のマップ
Functions ¶
func IsSupportedFile ¶
IsSupportedFile はサポートされているファイルかどうか
Types ¶
type FileSymbols ¶
FileSymbols はファイル内のシンボル一覧
func ExtractSymbols ¶
func ExtractSymbols(filePath string) (*FileSymbols, error)
ExtractSymbols はファイルからシンボルを抽出
type RepoMap ¶
type RepoMap struct {
RootPath string
Files []*FileSymbols
MaxTokens int // トークン制限
}
RepoMap はリポジトリのコード構造マップ
func NewRepoMap ¶
NewRepoMap は新しいRepoMapを作成
Click to show internal directories.
Click to hide internal directories.