Php/docs/parle-parser.precedence

来自菜鸟教程
跳转至:导航、​搜索

Parle\Parser::precedence

(PECL parle >= 0.5.1)

Parle\Parser::precedenceDeclare a precedence rule


说明

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

Declares a precedence rule for a fictitious terminal symbol. This rule can be later used in the specific grammar rules.


参数

tok
Token name.


返回值

没有返回值。