Parle\RParser
PHP Manual

Parle\RParser::tokenId

(PECL parle >= 0.7.0)

Parle\RParser::tokenIdGet token id

说明

public int Parle\RParser::tokenId ( string $tok )

Retrieve the id of the named token.

参数

tok

Name of the token as used in Parle\RParser::token().

返回值

Returns integer representing the token id.


Parle\RParser
PHP Manual