phpday 2027 - Call for Papers

Parle\Parser::consume

(PECL parle >= 0.5.1)

Parle\Parser::consume — Consume the data for processing

Description

public function Parle\Parser::consume(string $data, Parle\Lexer $lexer): 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

No value is returned.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top