GoLang Parle\Parser::consume

request it (281)
GoLang replacement for PHP's Parle\Parser::consume [edit | history]



Do you know a GoLang replacement for PHP's Parle\Parser::consume? Write it!

PHP Parle\Parser::consume

PHP original manual for Parle\Parser::consume [ show | php.net ]

Parle\Parser::consume

(PECL parle >= 0.5.1)

Parle\Parser::consumeConsume the data for processing

Description

public void Parle\Parser::consume ( string $data , Parle\Lexer $lexer )

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.