CfParser.matchAny

bool matchAny(TokenType[] types...) @safe pure

Checks if the current token matches any of the expected types.

Parameters

typesThe token types to check for

Returns

true if the current token matches any of the types.