makeToken

fun <T> LexerContext<Token<T>>.makeToken(type: T, offset: Int = 1): Token<T>
fun <T> LexerContext<Token<T>>.makeToken(type: T, string: String, offset: Int = 0): Token<T>

Creates a token.

This function is deprecated and will be replaced by the token function.