Get token id
$tok
Retrieve the id of the named token.
tok
Name of the token as used in Parle\Parser::token.
Returns int representing the token id.