mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Added a RefType colorization type
This commit is contained in:
parent
09e6564b3e
commit
9bbcb8eb5e
9 changed files with 130 additions and 68 deletions
|
@ -12,11 +12,11 @@ enum BfSourceElementType
|
|||
BfSourceElementType_Normal,
|
||||
BfSourceElementType_Keyword,
|
||||
BfSourceElementType_Literal,
|
||||
BfSourceElementType_Identifier,
|
||||
BfSourceElementType_Type,
|
||||
BfSourceElementType_Identifier,
|
||||
BfSourceElementType_Comment,
|
||||
BfSourceElementType_Method,
|
||||
BfSourceElementType_TypeRef,
|
||||
BfSourceElementType_Type,
|
||||
BfSourceElementType_RefType,
|
||||
BfSourceElementType_Namespace
|
||||
};
|
||||
|
||||
|
@ -73,6 +73,8 @@ public:
|
|||
void ModifyFlags(int startPos, int endPos, uint8 andFlags, uint8 orFlags);
|
||||
void SetElementType(BfAstNode* node, BfSourceElementType elementType);
|
||||
void SetElementType(int startPos, int endPos, BfSourceElementType elementType);
|
||||
void SetHighestElementType(BfAstNode* node, BfSourceElementType elementType);
|
||||
void SetHighestElementType(int startPos, int endPos, BfSourceElementType elementType);
|
||||
bool IsInterestedInMember(BfAstNode* node, bool forceSkip = false);
|
||||
bool WantsSkipParentMethod(BfAstNode* node);
|
||||
void Handle(BfTypeDeclaration* typeDeclaration);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue