编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Parle\Parser::errorInfo
  • Parle\Parser::nonassoc »
  • PHP Manual
  • Parle\Parser
  • Declare a token with left-associativity

Parle\Parser::left

(PECL parle >= 0.5.1)

Parle\Parser::left — Declare a token with left-associativity

说明

public Parle\Parser::left ( string $tok ) : void

Declare a terminal with left associativity.

参数

tok

Token name.

返回值

没有返回值。

相关文章
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 token with left associativityphp parle parser declare a token with no associativityphp parle parser declare a precedence rulephp parle parser declare a token with right associativityphp parle parser declare a tokenphp parle parser get token idphp parle parser validate inputphp parle rlexer define token callbackphp parle rlexer retrieve the current tokenphp parle rparser declare a token with left associativityphp parle rparser declare a token with no associativityphp parle rparser declare a precedence rulephp parle rparser reset parser statephp parle rparser declare a token with right associativityphp parle rparser declare a token
关注编程学问公众号
编程学问网 湘ICP备20001732号