Parle\Parser
PHP Manual

Parle\Parser::precedence

(PECL parle >= 0.5.1)

Parle\Parser::precedenceDeclare a precedence rule

Description

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.

Parameters

tok

Token name.

Return Values

No value is returned.


Parle\Parser
PHP Manual