language_field_name_for_id | R Documentation |
Get the field name for a field identifier.
language_field_name_for_id(x, id)
x |
A tree-sitter language object. |
id |
The language field identifiers to look up field names for. |
A character vector the same length as id
containing:
The field name for the field identifier, if known.
NA
, if the field identifier was not known.
language_field_id_for_name()
language <- treesitter.r::language()
language_field_name_for_id(language, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.