tree-sitter-0.9.0.3: Unstable bindings for the tree-sitter parsing library.
Safe HaskellSafe-Inferred
LanguageHaskell2010

TreeSitter.Language

Synopsis

Documentation

data Language Source #

A tree-sitter language.

This type is uninhabited and used only for type safety within Ptr values.

ts_language_symbol_for_name :: Ptr Language -> CString -> Int -> Bool -> IO TSSymbol Source #

mkSymbolDatatype :: Name -> Ptr Language -> Q [Dec] Source #

TemplateHaskell construction of a datatype for the referenced Language.

renameDups :: [(a, String)] -> [(a, String)] Source #

addDependentFileRelative :: FilePath -> Q [Dec] Source #

languageSymbols :: Ptr Language -> IO [(SymbolType, String)] Source #