Parle\Parser::tokenId
(PECL parle >= 0.5.1)
Parle\Parser::tokenId — Get token id
説明
public Parle\Parser::tokenId
( string
$tok
) : intRetrieve the id of the named token.
パラメータ
-
tok -
Name of the token as used in Parle\Parser::token().
返り値
Returns integer representing the token id.