Parle\RParser::tokenId
PHP Manual
PHP Manual»Parle\RParser»Parle\RParser::tokenId

Parle\RParser::tokenId

(PECL parle >= 0.7.0)

Parle\RParser::tokenIdGet token id

Опис

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

Retrieve the id of the named token.

Параметри

tok

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

Значення, що повертаються

Returns int representing the token id.

To Top