createToken method
Creates the token.
Implementation
@override
Token<TokenType> createToken(
ComputeContext ctx, String rawValue, int globalOffset) {
return ConstantToken(
ctx.registeredConstants
.firstWhere((element) => element.name == rawValue),
type: this,
rawValue: rawValue,
globalOffset: globalOffset);
}