编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Parle\Parser::advance
  • Parle\Parser::consume »
  • PHP Manual
  • Parle\Parser
  • Finalize the grammar rules

Parle\Parser::build

(PECL parle >= 0.5.1)

Parle\Parser::build — Finalize the grammar rules

说明

public Parle\Parser::build ( void ) : void

Any tokens and grammar rules previously added are finalized. The rule set becomes readonly and the parser is ready to start.

参数

此函数没有参数。

返回值

没有返回值。

相关文章
php parle the parle parser classphp parle lexer finalize the lexer rule setphp parle parser process next parser rulephp parle parser finalize the grammar rulesphp parle parser consume the data for processingphp parle parser dump the grammarphp parle parser retrieve the error informationphp parle parser declare a token with left associativityphp parle parser declare a token with no associativityphp parle parser declare a precedence rulephp parle parser add a grammar rulephp parle parser declare a tokenphp parle parser get token idphp parle parser trace the parser operationphp parle parser validate inputphp parle rlexer finalize the lexer rule setphp parle rparser finalize the grammar rulesphp parle rparser dump the grammarphp parle rparser add a grammar rulephp parle rparser reset parser state
关注编程学问公众号
编程学问网 湘ICP备20001732号