scm

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2025 License: MIT Imports: 2 Imported by: 0

README

Credits

Aider uses modified versions of the tags.scm files from these open source tree-sitter language implementations:

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSitterQuery

func GetSitterQuery(language SitterLanguage) ([]byte, error)

GetSitterQuery returns the sitter query for the given language

Types

type SitterLanguage

type SitterLanguage string

SitterLanguage is the language for the sitter queries

const (
	// CSharp is the language for C#
	CSharp SitterLanguage = "csharp"
	// C is the language for C
	C SitterLanguage = "c"
	// Cpp is the language for C++
	Cpp SitterLanguage = "cpp"
	// Dart is the language for Dart
	Dart SitterLanguage = "dart"
	// Elisp is the language for Elisp
	Elisp SitterLanguage = "elisp"
	// Elixir is the language for Elixir
	Elixir SitterLanguage = "elixir"
	// Elm is the language for Elm
	Elm SitterLanguage = "elm"
	// Go is the language for Go
	Go SitterLanguage = "go"
	// Java is the language for Java
	Java SitterLanguage = "java"
	// Javascript is the language for Javascript
	Javascript SitterLanguage = "javascript"
	// Ocaml is the language for Ocaml
	Ocaml SitterLanguage = "ocaml"
	// PHP is the language for PHP
	PHP SitterLanguage = "php"
	// Python is the language for Python
	Python SitterLanguage = "python"
	// Ruby is the language for Ruby
	Ruby SitterLanguage = "ruby"
	// Rust is the language for Rust
	Rust SitterLanguage = "rust"
	// Typescript is the language for Typescript
	Typescript SitterLanguage = "typescript"
)

Jump to

Keyboard shortcuts

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