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 (
6262const (
6363 Name TokenType = 2000 + iota
6464 NameAttribute
65- NameBuiltin
66- NameBuiltinPseudo
6765 NameClass
6866 NameConstant
6967 NameDecorator
7068 NameEntity
7169 NameException
72- NameFunction
73- NameFunctionMagic
7470 NameKeyword
7571 NameLabel
7672 NameNamespace
@@ -79,14 +75,30 @@ const (
7975 NamePseudo
8076 NameProperty
8177 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
8389 NameVariableAnonymous
8490 NameVariableClass
8591 NameVariableGlobal
8692 NameVariableInstance
8793 NameVariableMagic
8894)
8995
96+ // Function names.
97+ const (
98+ NameFunction TokenType = 2300 + iota
99+ NameFunctionMagic
100+ )
101+
90102// Literals.
91103const (
92104 Literal TokenType = 3000 + iota
You can’t perform that action at this time.
0 commit comments