feat(api): expose function to check if symbol represents a supertype

This commit is contained in:
Riley Bruins 2024-09-15 20:10:08 -07:00 committed by Amaan Qureshi
parent 939e61c58d
commit 0683136ca0
4 changed files with 79 additions and 2 deletions

View file

@ -40,7 +40,8 @@ pub const TSInputEncodingUTF16: TSInputEncoding = 1;
pub type TSInputEncoding = ::core::ffi::c_uint;
pub const TSSymbolTypeRegular: TSSymbolType = 0;
pub const TSSymbolTypeAnonymous: TSSymbolType = 1;
pub const TSSymbolTypeAuxiliary: TSSymbolType = 2;
pub const TSSymbolTypeSupertype: TSSymbolType = 2;
pub const TSSymbolTypeAuxiliary: TSSymbolType = 3;
pub type TSSymbolType = ::core::ffi::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]