Parle\RParser
PHP Manual

Parle\RParser::consume

(PECL parle >= 0.7.0)

Parle\RParser::consumeConsume the data for processing

Description

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

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.


Parle\RParser
PHP Manual