编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Parle\RLexer::dump
  • Parle\RLexer::insertMacro »
  • PHP Manual
  • Parle\RLexer
  • Retrieve the current token

Parle\RLexer::getToken

(PECL parle >= 0.5.1)

Parle\RLexer::getToken — Retrieve the current token

说明

public Parle\RLexer::getToken ( void ) : Parle\Token

Retrive the current token.

参数

此函数没有参数。

返回值

Returns an instance of Parle\Token.

相关文章
php parle the parle rlexer classphp parle lexer define token callbackphp parle lexer retrieve the current tokenphp parle parser retrieve the error informationphp parle parser declare a token with left associativityphp parle parser declare a token with no associativityphp parle rlexer define token callbackphp parle rlexer pass the data for processingphp parle rlexer dump the state machinephp parle rlexer retrieve the current tokenphp parle rlexer insert regex macrophp parle rlexer add a lexer rulephp parle rlexer push a new start statephp parle rparser declare a token with right associativityphp parle rparser retrieve a matching part of a rulephp parle rparser declare a tokenphp parle rparser get token idphp splfileobject retrieve current line of filephp streamwrapper retrieve the current position of a streamphp xmlreader retrieve xml from current node including itself
关注编程学问公众号
编程学问网 湘ICP备20001732号