Parle\Lexer::build

(PECL parle >= 0.5.1)

Parle\Lexer::buildFinalize the lexer rule set

說明

public 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.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

沒有返回值。