Bring tags.h inline
This commit is contained in:
parent
3e8bf9dace
commit
30132c682b
1 changed files with 11 additions and 7 deletions
|
|
@ -19,15 +19,17 @@ typedef enum {
|
|||
} TSTagsError;
|
||||
|
||||
typedef enum {
|
||||
TSTagKindFunction,
|
||||
TSTagKindMethod,
|
||||
TSTagKindClass,
|
||||
TSTagKindModule,
|
||||
TSTagKindCall,
|
||||
} TSTagKind;
|
||||
TSSyntaxTypeFunction,
|
||||
TSSyntaxTypeMethod,
|
||||
TSSyntaxTypeClass,
|
||||
TSSyntaxTypeModule,
|
||||
TSSyntaxTypeCall,
|
||||
TSSyntaxTypeType,
|
||||
TSSyntaxTypeInterface,
|
||||
TSSyntaxTypeImplementation,
|
||||
} TSTagSyntaxType;
|
||||
|
||||
typedef struct {
|
||||
TSTagKind kind;
|
||||
uint32_t start_byte;
|
||||
uint32_t end_byte;
|
||||
uint32_t name_start_byte;
|
||||
|
|
@ -38,6 +40,8 @@ typedef struct {
|
|||
TSPoint end_point;
|
||||
uint32_t docs_start_byte;
|
||||
uint32_t docs_end_byte;
|
||||
TSTagSyntaxType syntax_type;
|
||||
bool is_definition;
|
||||
} TSTag;
|
||||
|
||||
typedef struct TSTagger TSTagger;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue