SdlCdmParser.isCommentToken

bool isCommentToken(SdlTokenKind kind) pure nothrow @nogc @safe

Checks whether a token kind is one of the four comment kinds.

Parameters

kindThe token kind to check

Returns

true for comment tokens.