CfLexer.makeToken

private Token makeToken(TokenType type, string value) @safe pure

Creates a token at the current location.

Parameters

typeThe token type
valueThe token value

Returns

A new Token.