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" )
Click to show internal directories.
Click to hide internal directories.