PHP 8.1.0 RC 4 available for testing

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.

返回值

没有返回值。

add a note add a note

User Contributed Notes

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