Documentation
¶
Index ¶
- type Language
- func Bash() Language
- func C() Language
- func Cpp() Language
- func Docker() Language
- func Go() Language
- func HCL() Language
- func JSON() Language
- func Java() Language
- func JavaScript() Language
- func Kotlin() Language
- func Lua() Language
- func Python() Language
- func Rust() Language
- func TOML() Language
- func TypeScript() Language
- func XML() Language
- func YAML() Language
- func Zig() Language
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Language ¶
type Language struct {
Name string
Extensions []string
FilenamePatterns []string // Optional: regex patterns for matching filenames (e.g., `^\.env(\.|$)`)
Parser *sitter.Language
Query string
}
Language represents a programming language with its tree-sitter parser
func JavaScript ¶
func JavaScript() Language
func TypeScript ¶
func TypeScript() Language
Click to show internal directories.
Click to hide internal directories.