Creates a token spanning text with syntactic kind kind.
text
kind
const CodeToken(this.text, this.kind);