(PECL parle >= 0.5.1)
Parle\Parser::consume — Consume the data for processing
public Parle\Parser::consume ( string $data , Parle\Lexer $lexer ) : void
Consume the data for parsing.
data
Data to be parsed.
lexer
A lexer object containing the lexing rules prepared for the particular grammar.
No value is returned.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/parle-parser.consume.php