编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Parle\Lexer::push
  • Parle\RLexer »
  • PHP Manual
  • Parle\Lexer
  • Reset lexer

Parle\Lexer::reset

(PECL parle >= 0.7.1)

Parle\Lexer::reset — Reset lexer

说明

public Parle\Lexer::reset ( int $pos ) : void

Reset lexing optionally supplying the desired offset.

参数

pos

Reset position.

返回值

没有返回值。

相关文章
php parle the parle lexer classphp 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 insert regex macrophp parle lexer add a lexer rulephp parle lexer reset lexerphp parle parser process next parser rulephp parle parser finalize the grammar rulesphp parle parser reset parser statephp 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 declare a token with no associativityphp parle rparser declare a precedence rulephp parle rparser reset parser state
关注编程学问公众号
编程学问网 湘ICP备20001732号