Parle\Parser
PHP Manual

Parle\Parser::precedence

(PECL parle >= 0.5.1)

Parle\Parser::precedenceDeclare a precedence rule

说明

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

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

参数

tok

Token name.

返回值

没有返回值。


Parle\Parser
PHP Manual