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