GoLang Parle\RParser::precedence

request it (278)
GoLang replacement for PHP's Parle\RParser::precedence [edit | history]



Do you know a GoLang replacement for PHP's Parle\RParser::precedence? Write it!

PHP Parle\RParser::precedence

PHP original manual for Parle\RParser::precedence [ show | php.net ]

Parle\RParser::precedence

(PECL parle >= 0.7.0)

Parle\RParser::precedenceDeclare a precedence rule

Description

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

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.