PHP 8.4.0 RC4 available for testing

Parle\RParser::precedence

(PECL parle >= 0.7.0)

Parle\RParser::precedenceDeclare a precedence rule

Description

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.

Parameters

tok

Token name.

Return Values

No value is returned.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top