languages

package
v0.0.0-...-dab3773 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2026 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

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 Bash

func Bash() Language

func C

func C() Language

func Cpp

func Cpp() Language

func Docker

func Docker() Language

func Go

func Go() Language

func HCL

func HCL() Language

func JSON

func JSON() Language

func Java

func Java() Language

func JavaScript

func JavaScript() Language

func Kotlin

func Kotlin() Language

func Lua

func Lua() Language

func Python

func Python() Language

func Rust

func Rust() Language

func TOML

func TOML() Language

func TypeScript

func TypeScript() Language

func XML

func XML() Language

func YAML

func YAML() Language

func Zig

func Zig() Language

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL