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.

锟斤拷锟斤拷值

没锟叫凤拷锟斤拷值锟斤拷