Automattic\WooCommerce\Vendor\GraphQL\Language

Lexer::advancepublicWC 1.0

Method of the class: Lexer{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Lexer = new Lexer();
$Lexer->advance(): Token;

Lexer::advance() code WC 10.9.1

public function advance(): Token
{
    $this->lastToken = $this->token;

    return $this->token = $this->lookahead();
}