php / 8.1.5 / parle-rlexer.gettoken.html /

Parle\RLexer::getToken

(PECL parle >= 0.5.1)

Parle\RLexer::getTokenRetrieve the current token

Description

public Parle\RLexer::getToken(): Parle\Token

Retrive the current token.

Parameters

This function has no parameters.

Return Values

Returns an instance of Parle\Token.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/parle-rlexer.gettoken.php