cache_dir |
Cache Directory |
|
Return the effective parser cache directory path. |
clean_cache |
Clean Cache |
|
Delete all cached parser libraries from the cache directory. |
detect_language |
Detect Language |
Parameters<DetectLanguageParams> |
Detect the language for a file path or source content. Returns the detected language name. |
download |
Download |
Parameters<DownloadParams> |
Download parser libraries from the remote registry. Pass languages list, groups, or all=true. <br> Set fresh=true to clean the cache first. |
info |
Language Info |
Parameters<InfoParams> |
Show whether a language is known, downloaded, and its cache path. |
list_languages |
List Languages |
Parameters<ListLanguagesParams> |
List languages. source: ‘available’ (default), ‘downloaded’, or ‘manifest’. Optional substring filter. |
parse |
Parse |
Parameters<ParseParams> |
Parse source code with a tree-sitter grammar. Returns the syntax tree as sexp or JSON. |
process |
Process |
Parameters<ProcessParams> |
Run the code-intelligence pipeline on source code. Extracts structure, imports, exports, symbols, and more. |