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

Parle\Lexer::getToken

(PECL parle >= 0.5.1)

Parle\Lexer::getToken — Retrieve the current token

说明

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

Retrieve the current token.

参数

此函数没有参数。

返回值

Returns an instance of Parle\Token.

相关文章
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 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 retrieve the current tokenphp parle rlexer add a lexer rulephp parle rlexer reset lexerphp 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号