Files
llgo/chore/llcppg/token/token.go
2024-08-19 11:25:18 +08:00

28 lines
362 B
Go

package token
type Token uint
const (
/**
* A token that contains some kind of punctuation.
*/
PunctuationToken Token = iota
/**
* A language keyword.
*/
KeywordToken
/**
* An identifier (that is not a keyword).
*/
IdentifierToken
/**
* A numeric, string, or character literal.
*/
LiteralToken
/**
* A comment.
*/
CommentToken
)