File tree Expand file tree Collapse file tree 2 files changed +134
-122
lines changed Expand file tree Collapse file tree 2 files changed +134
-122
lines changed Original file line number Diff line number Diff line change @@ -62,15 +62,11 @@ const (
62
62
const (
63
63
Name TokenType = 2000 + iota
64
64
NameAttribute
65
- NameBuiltin
66
- NameBuiltinPseudo
67
65
NameClass
68
66
NameConstant
69
67
NameDecorator
70
68
NameEntity
71
69
NameException
72
- NameFunction
73
- NameFunctionMagic
74
70
NameKeyword
75
71
NameLabel
76
72
NameNamespace
@@ -79,14 +75,30 @@ const (
79
75
NamePseudo
80
76
NameProperty
81
77
NameTag
82
- NameVariable
78
+ )
79
+
80
+ // Builtin names.
81
+ const (
82
+ NameBuiltin TokenType = 2100 + iota
83
+ NameBuiltinPseudo
84
+ )
85
+
86
+ // Variable names.
87
+ const (
88
+ NameVariable TokenType = 2200 + iota
83
89
NameVariableAnonymous
84
90
NameVariableClass
85
91
NameVariableGlobal
86
92
NameVariableInstance
87
93
NameVariableMagic
88
94
)
89
95
96
+ // Function names.
97
+ const (
98
+ NameFunction TokenType = 2300 + iota
99
+ NameFunctionMagic
100
+ )
101
+
90
102
// Literals.
91
103
const (
92
104
Literal TokenType = 3000 + iota
You can’t perform that action at this time.
0 commit comments