Parle\RParser::tokenId

(PECL parle >= 0.7.0)

Parle\RParser::tokenIdGet token id

Описание

public 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 integer representing the token id.