GoLang Parle\Parser::tokenId

request it (379)
GoLang replacement for PHP's Parle\Parser::tokenId [edit | history]



Do you know a GoLang replacement for PHP's Parle\Parser::tokenId? Write it!

PHP Parle\Parser::tokenId

PHP original manual for Parle\Parser::tokenId [ show | php.net ]

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.