W3cubDocs

/PHP

Parle\RLexer::build

(PECL parle >= 0.5.1)

Parle\RLexer::buildFinalize the lexer rule set

Description

public Parle\RLexer::build ( ) : void

Rules, previously added with Parle\RLexer::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.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/parle-rlexer.build.php