feat(api): expose function to check if symbol represents a supertype
This commit is contained in:
parent
939e61c58d
commit
0683136ca0
4 changed files with 79 additions and 2 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue