Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Chunk ¶
type Chunk struct {
Id string `json:"id"`
Content string `json:"content"`
Metadata ChunkMetadata `json:"metadata"`
}
type ChunkMetadata ¶
type ChunkMetadata struct {
FilePath string `json:"file_path"`
FunctionName string `json:"function_name,omitempty"`
ClassName string `json:"class_name,omitempty"`
StartLine int `json:"start_line"`
EndLine int `json:"end_line"`
Language string `json:"language"`
ChunkType string `json:"chunk_type"` // "function", "class", "variable", "import", etc.
}
type GenericParser ¶
type GenericParser struct {
// contains filtered or unexported fields
}
GenericParser handles parsing of multiple languages
func NewGenericParser ¶
func NewGenericParser() *GenericParser
NewGenericParser creates a new parser with language configurations
Click to show internal directories.
Click to hide internal directories.