php8.5
Home/ Manual/ parle / lexer/ Parle\Lexer::build

Parle\Lexer::build

PHP function Edit on GitHub ✎

(PECL parle >= 0.5.1)

Finalize the lexer rule set

Description

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 Parameters

Return Values

Void

Source: reference/parle/parle/lexer/build.xml · from the official PHP manual (php/doc-en)