PHP 8.4.0 RC4 available for testing

Parle\Parser::consume

(PECL parle >= 0.5.1)

Parle\Parser::consumeConsume 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.

返回值

没有返回值。

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top