Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser handles parsing files for BARK comments
func (*Parser) GetRegistry ¶
GetRegistry returns the language registry
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry holds all supported languages
func NewRegistry ¶
func NewRegistry() *Registry
NewRegistry creates a new language registry with all supported languages
func (*Registry) GetLanguageByExtension ¶
GetLanguageByExtension returns the language for a given file extension
func (*Registry) GetLanguageByFilename ¶
GetLanguageByFilename returns the language for a given file path It first tries extension lookup (fast), then falls back to filename pattern matching
func (*Registry) GetLanguages ¶
GetLanguages returns all supported languages
func (*Registry) GetSupportedExtensions ¶
GetSupportedExtensions returns all supported file extensions
Click to show internal directories.
Click to hide internal directories.