Module libdiffsitter::parse
source · Expand description
Utilities for reading and parsing files with the diffsitter parser
Structs§
- Configuration options pertaining to loading grammars and parsing files.
- All of the languages diffsitter was compiled with support for.
Enums§
- Possible errors that can arise when loading grammars
Functions§
- Create a tree sitter Language from a shared library object.
- Generate a tree-sitter language from a language string.
- Load a language name from a file extension.
- language_from_extDeprecatedCreate an instance of a language from a file extension
- Parse a file to an AST
- Get the language string that corresponds to an extension.
- Generate the method name to load a parser given the name of the language.
- A convenience function to check of a tree-sitter language has a compatible ABI version for
diffsitter.