GoLang Parle\Parser::precedence

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



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

PHP Parle\Parser::precedence

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

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.