CfParser.match

bool match(TokenType type) @safe pure

Checks if the current token matches the expected type.

Parameters

typeThe token type to check for

Returns

true if the current token matches.