Parle\RLexer::pushState
(PECL parle >= 0.5.1)
Parle\RLexer::pushState — Push a new start state
说明
This lexer type can have more than one state machine. This allows you to lex different tokens depending on context, thus allowing simple parsing to take place. Once a state pushed, it can be used with a suitable Parle\RLexer::push() signature variant.
参数
state
-
Name of the state.
返回值
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/parle-rlexer.pushstate.php