(PECL parle >= 0.7.0)
Parle\RParser::tokenId — Get token id
$tok
Retrieve the id of the named token.
tok
Name of the token as used in Parle\RParser::token().
Returns int representing the token id.