array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'parle-lexer.build.php', 1 => 'Parle\\Lexer::build', 2 => 'Finalize the lexer rule set', ), 'up' => array ( 0 => 'class.parle-lexer.php', 1 => 'Parle\\Lexer', ), 'prev' => array ( 0 => 'parle-lexer.advance.php', 1 => 'Parle\\Lexer::advance', ), 'next' => array ( 0 => 'parle-lexer.callout.php', 1 => 'Parle\\Lexer::callout', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/parle/parle/lexer/build.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

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.

参数

此函数没有参数。

返回值

没有返回值。