Class TreeSitter
- java.lang.Object
-
- ch.usi.si.seart.treesitter.version.TreeSitter
-
public final class TreeSitter extends Object
Utility used for obtaining the current version of thetree-sitterAPI.- Since:
- 1.11.0
- Author:
- Ozren Dabić
-
-
Constructor Summary
Constructors Constructor Description TreeSitter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetVersion()Get the current version oftree-sitter.
-
-
-
Field Detail
-
SHA
public static final String SHA
- See Also:
- Constant Field Values
-
TAG
public static final String TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
getVersion
public static String getVersion()
Get the current version oftree-sitter.- Returns:
- the semantic version string, along with a commit SHA
-
-