Parle\Lexer::getToken
PHP Manual
PHP Manual»Parle\Lexer»Parle\Lexer::getToken

Parle\Lexer::getToken

(PECL parle >= 0.5.1)

Parle\Lexer::getTokenRetrieve the current token

Description

public function Parle\Lexer::getToken(): Parle\Token

Retrieve the current token.

Parameters

This function has no parameters.

Return Values

Returns an instance of Parle\Token.

To Top