编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Parle\RParser::tokenId
  • Parle\RParser::validate »
  • PHP Manual
  • Parle\RParser
  • Trace the parser operation

Parle\RParser::trace

(PECL parle >= 0.7.0)

Parle\RParser::trace — Trace the parser operation

说明

public Parle\RParser::trace ( void ) : string

Retrieve the current parser operation description. This can be especially useful to study the parser and to optimize the grammar.

参数

此函数没有参数。

返回值

Returns a string with the trace information.

相关文章
php 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 tokenphp parle parser get token idphp parle parser trace the parser operationphp parle parser validate inputphp parle rparser process next parser rulephp parle rparser consume the data for processingphp parle rparser dump the grammarphp parle rparser retrieve the error informationphp parle rparser declare a token with left associativityphp parle rparser declare a token with no associativityphp parle rparser declare a precedence rulephp parle rparser add a grammar rulephp parle rparser reset parser statephp parle rparser declare a token with right associativityphp parle rparser trace the parser operation
关注编程学问公众号
编程学问网 湘ICP备20001732号