php8.5
Home/ Manual/ parle / rparser/ Parle\RParser::consume

Parle\RParser::consume

PHP function Edit on GitHub ✎

(PECL parle >= 0.7.0)

Consume the data for processing

Description

Parle\RParser::consume(string $data, Parle\RLexer $rlexer): void

Consume the data for parsing.

Parameters

data

Data to be parsed.

lexer

A lexer object containing the lexing rules prepared for the particular grammar.

Return Values

Void

Source: reference/parle/parle/rparser/consume.xml · from the official PHP manual (php/doc-en)