Parle\Parser::tokenId

(PECL parle >= 0.5.1)

Parle\Parser::tokenIdGet token id

Описание

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

Retrieve the id of the named token.

Список параметров

tok

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

Возвращаемые значения

Returns int representing the token id.