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