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.

返回值

没有返回值。