Parle\Parser
PHP Manual

Parle\Parser::tokenId

(PECL parle >= 0.5.1)

Parle\Parser::tokenIdGet token id

Description

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

Retrieve the id of the named token.

Parameters

tok

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

Return Values

Returns integer representing the token id.


Parle\Parser
PHP Manual