Parle\RParser::precedence

(PECL parle >= 0.7.0)

Parle\RParser::precedenceDeclare a precedence rule

説明

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

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

パラメータ

tok

Token name.

戻り値

値を返しません。

関連キーワード:  precedence, rule, Declare, Parle, RParser, a, tok, parle, public, string