(PECL parle >= 0.5.1)
Parle\Parser::tokenId — 取得 token ID
$tok
擷取指定名稱 token 的 ID。
tok
在 Parle\Parser::token() 中使用的 token 名稱。
傳回代表 token ID 的 整數。