Parle\RParser::consume

(PECL parle >= 0.7.0)

Parle\RParser::consumeConsume the data for processing

说明

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

Consume the data for parsing.

参数

data

Data to be parsed.

lexer

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

返回值

没有返回值。