add: SemanticToken
This commit is contained in:
42
Canon.Core/Enums/SemanticEnums.cs
Normal file
42
Canon.Core/Enums/SemanticEnums.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
namespace Canon.Core.Enums;
|
||||
|
||||
public enum SemanticTokenType
|
||||
{
|
||||
Keyword,
|
||||
Number,
|
||||
Operator,
|
||||
Delimiter,
|
||||
Identifier,
|
||||
Character,
|
||||
}
|
||||
|
||||
public enum DelimiterType
|
||||
{
|
||||
Comma,
|
||||
Period,
|
||||
Colon,
|
||||
Semicolon,
|
||||
LeftParenthesis,
|
||||
RightParenthesis,
|
||||
LeftSquareBracket,
|
||||
RightBracket
|
||||
}
|
||||
|
||||
public enum KeywordType
|
||||
{
|
||||
Program,
|
||||
Const,
|
||||
Var,
|
||||
Procedure,
|
||||
Function,
|
||||
Begin,
|
||||
End,
|
||||
Array,
|
||||
Of,
|
||||
If,
|
||||
Then,
|
||||
Else,
|
||||
For,
|
||||
To,
|
||||
Do,
|
||||
}
|
Reference in New Issue
Block a user