编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Parle\Lexer::advance
  • Parle\Lexer::callout »
  • PHP Manual
  • Parle\Lexer
  • Finalize the lexer rule set

Parle\Lexer::build

(PECL parle >= 0.5.1)

Parle\Lexer::build — Finalize the lexer rule set

说明

public Parle\Lexer::build ( void ) : 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.

参数

此函数没有参数。

返回值

没有返回值。

相关文章
php bbcode 函数 parse a string following a given rule setphp bbcode 函数 attach another parser in order to use another rule set for argument parsingphp imagickdraw set the polygon fill rule to be used by the clipping pathphp intlrulebasedbreakiterator get the rule set used to create this objectphp parle lexer process next lexer rulephp parle lexer finalize the lexer rule setphp parle lexer define token callbackphp parle lexer pass the data for processingphp parle lexer dump the state machinephp parle lexer retrieve the current tokenphp parle lexer add a lexer rulephp parle parser declare a precedence rulephp parle parser add a grammar rulephp parle parser retrieve a matching part of a rulephp parle rlexer process next lexer rulephp parle rlexer finalize the lexer rule setphp parle rlexer add a lexer rulephp parle rlexer reset lexerphp parle rparser process next parser rulephp parle rparser finalize the grammar rules
关注编程学问公众号
编程学问网 湘ICP备20001732号