Parle\Parser::tokenId

(PECL parle >= 0.5.1)

Parle\Parser::tokenIdGet token id

Beschreibung

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

Retrieve the id of the named token.

Parameter-Liste

tok

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

Rückgabewerte

Returns integer representing the token id.