GoLang Parle\Lexer::build

request it (280)
GoLang replacement for PHP's Parle\Lexer::build [edit | history]



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

PHP Parle\Lexer::build

PHP original manual for Parle\Lexer::build [ show | php.net ]

Parle\Lexer::build

(PECL parle >= 0.5.1)

Parle\Lexer::buildFinalize the lexer rule set

Description

public void Parle\Lexer::build ( void )

Rules, previously added with Parle\Lexer::push() are finalized. This method call has to be done after all the necessary rules was pushed. The rule set becomes read only. The lexing can begin.

Parameters

This function has no parameters.

Return Values

No value is returned.