module TreeSitter.CSharp
( tree_sitter_c_sharp
, getNodeTypesPath
, getTestCorpusDir
) where

import Foreign.Ptr
import TreeSitter.Language
import Paths_tree_sitter_c_sharp

foreign import ccall unsafe "vendor/tree-sitter-c-sharp/src/parser.c tree_sitter_c_sharp" tree_sitter_c_sharp :: Ptr Language

getNodeTypesPath :: IO FilePath
getNodeTypesPath :: IO FilePath
getNodeTypesPath = FilePath -> IO FilePath
getDataFileName FilePath
"vendor/tree-sitter-c-sharp/src/node-types.json"

getTestCorpusDir :: IO FilePath
getTestCorpusDir :: IO FilePath
getTestCorpusDir = FilePath -> IO FilePath
getDataFileName FilePath
"vendor/tree-sitter-c-sharp/corpus"