Function ts_language_metadata

Source
pub unsafe extern "C" fn ts_language_metadata(
    self_: *const TSLanguage,
) -> *const TSLanguageMetadata
Expand description

Get the metadata for this language. This information is generated by the CLI, and relies on the language author providing the correct metadata in the language’s tree-sitter.json file.

See also [TSMetadata].