Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Language
- ts_language_symbol_for_name :: Ptr Language -> CString -> IO TSSymbol
- ts_language_symbol_type :: Ptr Language -> TSSymbol -> IO Int
- ts_language_symbol_name :: Ptr Language -> TSSymbol -> IO CString
- ts_language_symbol_count :: Ptr Language -> IO Word32
- mkSymbolDatatype :: Name -> Ptr Language -> Q [Dec]
- renameDups :: [(a, String)] -> [(a, String)]
- addDependentFileRelative :: FilePath -> Q [Dec]
- languageSymbols :: Ptr Language -> IO [(SymbolType, String)]
- module TreeSitter.Symbol
Documentation
A tree-sitter language.
This type is uninhabited and used only for type safety within Ptr
values.
mkSymbolDatatype :: Name -> Ptr Language -> Q [Dec] Source #
TemplateHaskell construction of a datatype for the referenced Language.
renameDups :: [(a, String)] -> [(a, String)] Source #
languageSymbols :: Ptr Language -> IO [(SymbolType, String)] Source #
module TreeSitter.Symbol